You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

intro.rst 6.0 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .. _intro:
  2. ================
  3. Introduction
  4. ================
  5. The learnware paradigm attempts to help the user reuse existed well-trained models to solve their problems instead of starting from scratch. The ``Learnware`` package provides the basic implementation of the central concepts and procedures for the learnware paradigm.
  6. The ``Learnware`` packag is designed to be easy to use and extend, it elegantly organizes related concepts and core functionalities together and is highly scalable, allowing for the easy integration of various new features and techniques in the future.
  7. The ``Learnware`` package serves as the engine for the Beimingwu System, it also can be used for experiements related to the learnware.
  8. ================
  9. What is Learnware ?
  10. ================
  11. A learnware consists of high-performance machine learning models and specifications that characterize the models, i.e., "Learnware = Model + Specification."
  12. The learnware specification consists of "semantic specification" and "statistical specification":
  13. - semantic specification describes the type and functionality of the model through text.
  14. - statistical specification characterizes the statistical information contained in the model using various machine learning techniques.
  15. Learnware specifications describe the model's capabilities, enabling the model to be identified and reused by future users who may know nothing about the learnware in advance.
  16. .. image:: ../_static/img/learnware_paradigm.jpg
  17. :align: center
  18. Instead of building a model from scratch, users can submit their requirements to the learnware market, which then identifies and deploys helpful learnware(s) based on the specifications. Users can apply the learnware directly, adapt it using their data, or exploit it in other ways to improve their model. This process is more efficient and less expensive than building a model from scratch.
  19. ================
  20. Why do we need Learnware ?
  21. ================
  22. Machine learning has achieved great success in many fields but still faces various challenges, such as the need for extensive training data and advanced training techniques, the difficulty of continuous learning, the risk of catastrophic forgetting, and the leakage of data privacy.
  23. Although there are many efforts focusing on one of these issues separately, they are entangled, and solving one problem may exacerbate others. The learnware paradigm aimss to address many of these challenges through a unified framework.
  24. +-----------------------+-----------------------------------------------------------------------------------------------+
  25. | Benefit | Description |
  26. +=======================+===============================================================================================+
  27. | Lack of training data | Strong models can be built with small data by adapting well-performed learnwares. |
  28. +-----------------------+-----------------------------------------------------------------------------------------------+
  29. | Lack of training | Ordinary users can obtain strong models by leveraging well-performed learnwares instead of |
  30. | skills | building models from scratch. |
  31. +-----------------------+-----------------------------------------------------------------------------------------------+
  32. | Catastrophic | Accepted learnwares are always stored in the learnware market, retaining old knowledge. |
  33. | forgetting | |
  34. +-----------------------+-----------------------------------------------------------------------------------------------+
  35. | Continual learning | The learnware market continually enriches its knowledge with constant submissions of |
  36. | | well-performed learnwares. |
  37. +-----------------------+-----------------------------------------------------------------------------------------------+
  38. | Data privacy/ | Developers only submit models, not data, preserving data privacy/proprietary. |
  39. | proprietary | |
  40. +-----------------------+-----------------------------------------------------------------------------------------------+
  41. | Unplanned tasks | Open to all legal developers, the learnware market can accommodate helpful learnwares for |
  42. | | various tasks. |
  43. +-----------------------+-----------------------------------------------------------------------------------------------+
  44. | Carbon emission | Assembling small models may offer good-enough performance, reducing interest in training |
  45. | | large models and the carbon footprint. |
  46. +-----------------------+-----------------------------------------------------------------------------------------------+
  47. ================
  48. Procedure of Learnware Paradigm
  49. ================
  50. - **Submitting Stage**: Developers voluntarily submit various learnwares to the learnware dock system, and the system conducts quality checks and further organization of these learnwares.
  51. - **Deploying Stage**: When users submit task requirements, the learnware dock system automatically selects whether to recommend a single learnware or a combination of multiple learnwares and provides efficient deployment methods. Whether it's a single learnware or a combination of multiple learnwares, the system offers convenient learnware reuse interfaces.
  52. .. image:: ../_static/img/learnware_market.jpg
  53. :align: center
  54. ================
  55. Learnware Package Design
  56. ================
  57. TBD by xiaodong.