PyGlove: Symbolic Programming for Automated Machine Learning

被引:0
|
作者
Peng, Daiyi [1 ]
Dong, Xuanyi [1 ]
Real, Esteban [1 ]
Tan, Mingxing [1 ]
Lu, Yifeng [1 ]
Liu, Hanxiao [1 ]
Bender, Gabriel [1 ]
Kraft, Adam [1 ]
Liang, Chen [1 ]
Quoc V. Le [1 ]
机构
[1] Google Res, Brain Team, Atlanta, GA 30332 USA
关键词
EFFICIENT; SEARCH;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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, efficient NAS algorithms, such as ENAS [1] and DARTS [2], 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.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Universal Learning Machine with Genetic Programming
    Re, Alessandro
    Vanneschi, Leonardo
    Castelli, Mauro
    [J]. IJCCI: PROCEEDINGS OF THE 11TH INTERNATIONAL JOINT CONFERENCE ON COMPUTATIONAL INTELLIGENCE, 2019, : 115 - 122
  • [22] Applying machine learning to programming by demonstration
    Paynter, GW
    Witten, IH
    [J]. JOURNAL OF EXPERIMENTAL & THEORETICAL ARTIFICIAL INTELLIGENCE, 2004, 16 (03) : 161 - 188
  • [23] Evolving a learning machine by genetic programming
    Alfaro-Cid, Eva
    Sharman, Ken
    Esparcia-Alcazar, Anna I.
    [J]. 2006 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-6, 2006, : 254 - +
  • [24] Bridging expertise with machine learning and automated machine learning in clinical medicine
    Lee, Chien-Chang
    Park, James Yeongjun
    Hsu, Wan-Ting
    [J]. ANNALS ACADEMY OF MEDICINE SINGAPORE, 2024, 53 (03) : 129 - 131
  • [25] Predicting Machine Learning Pipeline Runtimes in the Context of Automated Machine Learning
    Mohr, Felix
    Wever, Marcel
    Tornede, Alexander
    Huellermeier, Eyke
    [J]. IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2021, 43 (09) : 3055 - 3066
  • [26] Machine Learning Model for Analyzing Learning Situations in Programming Learning
    Kawaguchi, Shota
    Sato, Yoshiki
    Nakayama, Hiroki
    Onuma, Ryo
    Nakamura, Shoichi
    Miyadera, Youzou
    [J]. 2018 IEEE CONFERENCE ON BIG DATA AND ANALYTICS (ICBDA), 2018, : 74 - 79
  • [27] Performance Prediction of Learning Programming - Machine Learning Approach
    Au, Thien-Wan
    Salihin, Rahim
    Saiful, Omar
    [J]. 30TH INTERNATIONAL CONFERENCE ON COMPUTERS IN EDUCATION, ICCE 2022, VOL 2, 2022, : 96 - 105
  • [28] Further Investigation on Genetic Programming with Transfer Learning for Symbolic Regression
    Haslam, Edward
    Xue, Bing
    Zhang, Mengjie
    [J]. 2016 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2016, : 3598 - 3605
  • [29] Symbolic Learning using Brain Programming for the Recognition of Leukemia Images
    Ochoa-Montiel, Rocio
    Sossa, Humberto
    Olague, Gustavo
    Chan-Ley, Mariana
    Menendez, Jose
    [J]. COMPUTACION Y SISTEMAS, 2021, 25 (04): : 707 - 718
  • [30] An automated learning system for Java']Java programming
    Daly, C
    Horgan, JM
    [J]. IEEE TRANSACTIONS ON EDUCATION, 2004, 47 (01) : 10 - 17