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 条
  • [1] Automated programming, symbolic computation, machine learning: my personal view
    Bruno Buchberger
    [J]. Annals of Mathematics and Artificial Intelligence, 2023, 91 : 569 - 589
  • [3] Improving Genetic Programming Based Symbolic Regression Using Deterministic Machine Learning
    Icke, Ilknur
    Bongard, Joshua C.
    [J]. 2013 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2013, : 1763 - 1770
  • [4] Machine learning of symbolic compositional rules with genetic programming: dissonance treatment in Palestrina
    Anders, Torsten
    Inden, Benjamin
    [J]. PEERJ COMPUTER SCIENCE, 2019, : 1 - 19
  • [5] Genetic Programming Based Automated Machine Learning in Classifying ESG Performances
    Abd Rahman, Abdullah Sani
    Masrom, Suraya
    Rahman, Rahayu Abdul
    Ibrahim, Roslina
    Gilal, Abdul Rehman
    [J]. IEEE ACCESS, 2024, 12 : 59612 - 59629
  • [6] Symbolic AI for XAI: Evaluating LFIT Inductive Programming for Explaining Biases in Machine Learning
    Ortega, Alfonso
    Fierrez, Julian
    Morales, Aythami
    Wang, Zilong
    de la Cruz, Marina
    Alonso, Cesar Luis
    Ribeiro, Tony
    [J]. COMPUTERS, 2021, 10 (11)
  • [7] THE SHARE 709 SYSTEM - MACHINE IMPLEMENTATION OF SYMBOLIC PROGRAMMING
    BOEHM, EM
    STEEL, TB
    [J]. JOURNAL OF THE ACM, 1959, 6 (02) : 134 - 140
  • [8] EXPERIENCES WITH SYMBOLIC PROGRAMMING IN THE AUTOMATED ESTIMATION OF RETENTION INDEX DATA
    GAUTZSCH, R
    ZINN, P
    HAFFER, CM
    [J]. CHEMOMETRICS AND INTELLIGENT LABORATORY SYSTEMS, 1991, 12 (01) : 81 - 90
  • [9] Mathematical programming in machine learning
    Mangasarian, OL
    [J]. NONLINEAR OPTIMIZATION AND APPLICATIONS, 1996, : 283 - 295
  • [10] Naive automated machine learning
    Felix Mohr
    Marcel Wever
    [J]. Machine Learning, 2023, 112 : 1131 - 1170