Manas: Mining Software Repositories to Assist AutoML
Giang Nguyen, Md Johirul Islam, Rangeet Pan, Hridesh Rajan
摘要
Today deep learning is widely used for building software. A software engineering problem with deep learning is that finding an appropriate convolutional neural network (CNN) model for the task can be a challenge for developers. Recent work on AutoML, more precisely neural architecture search (NAS), embodied by tools like Auto-Keras aims to solve this problem by essentially viewing it as a search problem where the starting point is a default CNN model, and mutation of this CNN model allows exploration of the space of CNN models to find a CNN model that will work best for the problem. These works have had significant success in producing high-accuracy CNN models. There are two problems, however. First, NAS can be very costly, often taking several hours to complete. Second, CNN models produced by NAS can be very complex that makes it harder to understand them and costlier to train them. We propose a novel approach for NAS, where instead of starting from a default CNN model, the initial model is selected from a repository of models extracted from GitHub. The intuition being that developers solving a similar problem may have developed a better starting point compared to the default model. We also analyze common layer patterns of CNN models in the wild to understand changes that the developers make to improve their models. Our approach uses commonly occurring changes as mutation operators in NAS. We have extended Auto-Keras to implement our approach. Our evaluation using 8 top voted problems from Kaggle for tasks including image classification and image regression shows that given the same search time, without loss of accuracy, Manas produces models with 42.9% to 99.6% fewer number of parameters than Auto-Keras' models. Benchmarked on GPU, Manas' models train 30.3% to 641.6% faster than Auto-Keras' models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Design by Contract for Deep Learning APIs 引用了 Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
- Design by Contract for Deep Learning APIs 引用了 Repairing deep neural networks: fix patterns and challenges
- Design by Contract for Deep Learning APIs 引用了 DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programs
- Design by Contract for Deep Learning APIs 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
- Discovering Repetitive Code Changes in Python ML Systems 引用了 Repairing deep neural networks: fix patterns and challenges
- Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in Deployment 引用了 Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
- Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in Deployment 引用了 Design by Contract for Deep Learning APIs
- Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in Deployment 引用了 Repairing deep neural networks: fix patterns and challenges
- DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programs 引用了 Repairing deep neural networks: fix patterns and challenges
- DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning Programs 引用了 DeepLocalize: Fault Localization for Deep Neural Networks
- DeepLocalize: Fault Localization for Deep Neural Networks 引用了 Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
- DeepLocalize: Fault Localization for Deep Neural Networks 引用了 Repairing deep neural networks: fix patterns and challenges
引用它的顶会 Paper4
- Discovering Repetitive Code Changes in Python ML SystemsMalinda Dilhara, Ameya Ketkar, Nikhith Sannidhi, Danny DigICSE 2022 · 30 次引用
- Design by Contract for Deep Learning APIsShibbir Ahmed, Sayem Mohammad Imtiaz, Syeda Khairunnesa Samantha, Breno Dantas Cruz 等FSE 2023 · 10 次引用
- Inferring Data Preconditions from Deep Learning Models for Trustworthy Prediction in DeploymentShibbir Ahmed, Hongyang Gao, Hridesh RajanICSE 2024 · 3 次引用
- Statistical Type Inference for Incomplete ProgramsYaohui Peng, Jing Xie, Qiongling Yang, Hanwen Guo 等FSE 2023 · 2 次引用
它引用的 Paper8
- Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 次引用
- Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairnessSumon Biswas, Hridesh RajanFSE 2020 · 96 次引用
- DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 次引用
- Fast and Practical Neural Architecture SearchJiequan Cui, Pengguang Chen, Ruiyu Li, Shu Liu 等ICCV 2019 · 69 次引用
- DeepDiagnosis: Automatically Diagnosing Faults and Recommending Actionable Fixes in Deep Learning ProgramsMohammad Wardat, Breno Dantas Cruz, Wei Le, Hridesh RajanICSE 2022 · 46 次引用
相关 Paper
- Efficient Architecture Search for Diverse TasksJunhong Shen, Mikhail Khodak, Ameet TalwalkarNeurIPS 2022 · 42 次引用
- A Semi-Supervised Assessor of Neural ArchitecturesYehui Tang, Yunhe Wang, Yixing Xu, Hanting Chen 等CVPR 2020
- AutoML-Zero: Evolving Machine Learning Algorithms From ScratchEsteban Real, Chen Liang, David R. So, Quoc V. LeICML 2020 · 265 次引用
- Task-Adaptive Neural Network Search with Meta-Contrastive LearningWonyong Jeong, Hayeon Lee, Geon Park, Eunyoung Hyung 等NeurIPS 2021 · 17 次引用
- AutoShrink: A Topology-Aware NAS for Discovering Efficient Neural ArchitectureTunhou Zhang, Hsin-Pai Cheng, Zhenwen Li, Feng Yan 等AAAI 2020 · 9 次引用
