PyGlove: Efficiently Exchanging ML Ideas as Code
Daiyi Peng, Xuanyi Dong, Esteban Real, Yifeng Lu, Quoc V. Le

TL;DR
PyGlove introduces a symbolic, patch-based approach for sharing machine learning ideas efficiently across teams, significantly reducing code complexity and fostering rapid adoption of innovations.
Contribution
The paper extends PyGlove to enable scalable, rule-based sharing of ML ideas, facilitating network effects and reducing development effort.
Findings
Achieved 80% reduction in code size in a large codebase
Enabled quick sharing and adoption of ML ideas among teams
Demonstrated effectiveness of symbolic patches in organizing ML development
Abstract
The increasing complexity and scale of machine learning (ML) has led to the need for more efficient collaboration among multiple teams. For example, when a research team invents a new architecture like "ResNet," it is desirable for multiple engineering teams to adopt it. However, the effort required for each team to study and understand the invention does not scale well with the number of teams or inventions. In this paper, we present an extension of our PyGlove library to easily and scalably share ML ideas. PyGlove represents ideas as symbolic rule-based patches, enabling researchers to write down the rules for models they have not seen. For example, an inventor can write rules that will "add skip-connections." This permits a network effect among teams: at once, any team can issue patches to all other teams. Such a network effect allows users to quickly surmount the cost of adopting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Machine Learning and Data Classification · Data Visualization and Analytics
MethodsLib
