PyGlove: Symbolic Programming for Automated Machine Learning
Not on the map. Why?
Abstract (arXiv)
Neural networks are sensitive to hyper-parameter and architecture choices. Automated Machine Learning (AutoML) is a promising paradigm for automating these choices. Current ML software libraries, however, are quite limited in handling the dynamic interactions among the components of AutoML. For example, efficientNAS algorithms, such as ENAS and DARTS, typically require an implementation coupling between the search space and search algorithm, the two key components in AutoML. Furthermore, implementing a complex search flow, such as searching architectures within a loop of searching hardware configurations, is difficult. To summarize, changing the search space, search algorithm, or search flow in current ML libraries usually requires a significant change in the program logic. In this paper, we introduce a new way of programming AutoML based on symbolic programming. Under this paradigm, ML programs are mutable, thus can be manipulated easily by another program. As a result, AutoML can be reformulated as an automated process of symbolic manipulation. With this formulation, we decouple the triangle of the search algorithm, the search space and the child program. This decoupling makes it easy to change the search space and search algorithm (without and with weight sharing), as well as to add search capabilities to existing code and implement complex search flows. We then introduce PyGlove, a new Python library that implements this paradigm. Through case studies on ImageNet and NAS-Bench-101, we show that with PyGlove users can easily convert a static program into a search space, quickly iterate on the search spaces and search algorithms, and craft complex search flows to achieve better results.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 36 of its 70 references that are in the map. First posted on arXiv 21 Jan 2021.
Builds on
36 of 70 references.
References · 36
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
- 2018DARTS: Differentiable Architecture Searchcited by 1,782
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,097
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 831
- 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 666
- 2018FBNet: Hardware-Aware Efficient ConvNet Design via Differentiable Neural Architecture Searchcited by 480
24 more
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 368
- 2017Population Based Training of Neural Networkscited by 351
- 2017Large-Scale Evolution of Image Classifierscited by 348
- 2019NAS-Bench-101: Towards Reproducible Neural Architecture Searchcited by 340
- 2019NAS-FPN: Learning Scalable Feature Pyramid Architecture for Object Detectioncited by 289
- 2018SNAS: Stochastic Neural Architecture Searchcited by 288
- 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 287
- 2018Auto-Keras: An Efficient Neural Architecture Search Systemcited by 169
- 2016DeepCoder: Learning to Write Programscited by 145
- 2020AutoML-Zero: Evolving Machine Learning Algorithms From Scratchcited by 137
- 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
- 2019Neural Predictor for Neural Architecture Searchcited by 116
- 2016An Analysis of Deep Neural Network Models for Practical Applicationscited by 114
- 2017On the State of the Art of Evaluation in Neural Language Modelscited by 103
- 2020NATS-Bench: Benchmarking NAS Algorithms for Architecture Topology and Sizecited by 98
- 2019Lingvo: a Modular and Scalable Framework for Sequence-to-Sequence Modelingcited by 86
- 2016Neuro-Symbolic Program Synthesiscited by 84
- 2018ChamNet: Towards Efficient Network Design through Platform-Aware Model Adaptationcited by 76
- 2020Can weight sharing outperform random architecture search? An investigation with TuNAScited by 68
- 2018Memory Augmented Policy Optimization for Program Synthesis and Semantic Parsingcited by 57
- 2018HOUDINI: Lifelong Learning as Program Synthesiscited by 38
- 2018Towards Automated Deep Learning: Efficient Joint Neural Architecture and Hyperparameter Searchcited by 38
- 2015Neural Programmer: Inducing Latent Programs with Gradient Descentcited by 32
- 2019Towards modular and programmable architecture searchcited by 11
Built on by
Citing papers per year: 2021: 4; 2022: 5; 2023: 6; 2024: 3; 2025: 1.
19 papers.
Sort:
By area:
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2023Neural Architecture Search: Insights from 1000 Paperscited by 136
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformerscited by 81
- 2023Lion Secretly Solves Constrained Optimization: As Lyapunov Predictscited by 50
- 2022NAS-Bench-Suite: NAS Evaluation is (Now) Surprisingly Easycited by 36
- 2024Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimizationcited by 29
- 2022Open Source Vizier: Distributed Infrastructure and API for Reliable and Flexible Blackbox Optimizationcited by 17
- 2021Improving exploration in policy gradient search: Application to symbolic optimizationcited by 14
- 2021Automated Deep Learning: Neural Architecture Search Is Not the Endcited by 13
- 2021Rethinking Co-design of Neural Architectures and Hardware Acceleratorscited by 12
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERTcited by 12
- 2024Language Model Embeddings Can Be Sufficient for Bayesian Optimizationcited by 8
7 more
- 2022Toward Edge-Efficient Dense Predictions with Synergistic Multi-Task Neural Architecture Searchcited by 5
- 2023Unified Functional Hashing in Automatic Machine Learningcited by 2
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Datacited by 1
- 2021The UniNAS framework: combining modules in arbitrarily complex configurations with argument treescited by 0
- 2023PyGlove: Efficiently Exchanging ML Ideas as Codecited by 0
- 2023A knowledge-driven AutoML architecturecited by 0
- 2024When do Convolutional Neural Networks Stop Learning?cited by 0
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data25 Aug 2025
- 2024Language Model Embeddings Can Be Sufficient for Bayesian Optimization14 Oct 2024
- 2024Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization2 Apr 2024
- 2024When do Convolutional Neural Networks Stop Learning?4 Mar 2024
- 2023A knowledge-driven AutoML architecture28 Nov 2023
- 2023Lion Secretly Solves Constrained Optimization: As Lyapunov Predicts9 Oct 2023
- 2023Symbolic Discovery of Optimization Algorithms13 Feb 2023
- 2023Unified Functional Hashing in Automatic Machine Learning10 Feb 2023
- 2023PyGlove: Efficiently Exchanging ML Ideas as Code3 Feb 2023
- 2023Neural Architecture Search: Insights from 1000 Papers20 Jan 2023
- 2022Toward Edge-Efficient Dense Predictions with Synergistic Multi-Task Neural Architecture Search4 Oct 2022
- 2022Open Source Vizier: Distributed Infrastructure and API for Reliable and Flexible Blackbox Optimization27 Jul 2022
7 more
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformers26 May 2022
- 2022Sparse Mixers: Combining MoE and Mixing to build a more efficient BERT24 May 2022
- 2022NAS-Bench-Suite: NAS Evaluation is (Now) Surprisingly Easy31 Jan 2022
- 2021Automated Deep Learning: Neural Architecture Search Is Not the End16 Dec 2021
- 2021The UniNAS framework: combining modules in arbitrarily complex configurations with argument trees3 Dec 2021
- 2021Improving exploration in policy gradient search: Application to symbolic optimization19 Jul 2021
- 2021Rethinking Co-design of Neural Architectures and Hardware Accelerators17 Feb 2021
- 2023Symbolic Discovery of Optimization Algorithmscited by 423
- 2023Neural Architecture Search: Insights from 1000 Paperscited by 136
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformerscited by 81
- 2023Lion Secretly Solves Constrained Optimization: As Lyapunov Predictscited by 50
- 2022NAS-Bench-Suite: NAS Evaluation is (Now) Surprisingly Easycited by 36
- 2022Open Source Vizier: Distributed Infrastructure and API for Reliable and Flexible Blackbox Optimizationcited by 17
- 2021Improving exploration in policy gradient search: Application to symbolic optimizationcited by 14
- 2021Automated Deep Learning: Neural Architecture Search Is Not the Endcited by 13
- 2021Rethinking Co-design of Neural Architectures and Hardware Acceleratorscited by 12
- 2024Language Model Embeddings Can Be Sufficient for Bayesian Optimizationcited by 8
- 2022Toward Edge-Efficient Dense Predictions with Synergistic Multi-Task Neural Architecture Searchcited by 5
- 2023Unified Functional Hashing in Automatic Machine Learningcited by 2
12 most cited of 17 All 17 (JSON)
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data25 Aug 2025
- 2024Language Model Embeddings Can Be Sufficient for Bayesian Optimization14 Oct 2024
- 2024When do Convolutional Neural Networks Stop Learning?4 Mar 2024
- 2023A knowledge-driven AutoML architecture28 Nov 2023
- 2023Lion Secretly Solves Constrained Optimization: As Lyapunov Predicts9 Oct 2023
- 2023Symbolic Discovery of Optimization Algorithms13 Feb 2023
- 2023Unified Functional Hashing in Automatic Machine Learning10 Feb 2023
- 2023PyGlove: Efficiently Exchanging ML Ideas as Code3 Feb 2023
- 2023Neural Architecture Search: Insights from 1000 Papers20 Jan 2023
- 2022Toward Edge-Efficient Dense Predictions with Synergistic Multi-Task Neural Architecture Search4 Oct 2022
- 2022Open Source Vizier: Distributed Infrastructure and API for Reliable and Flexible Blackbox Optimization27 Jul 2022
- 2022Towards Learning Universal Hyperparameter Optimizers with Transformers26 May 2022
12 newest of 17 All 17 (JSON)