AutoLoss-Zero: Searching Loss Functions from Scratch for Generic Tasks
Hao Li, Tianwen Fu, Jifeng Dai, Hongsheng Li, Gao Huang, Xizhou Zhu
Abstract
Significant progress has been achieved in automating the design of various components in deep networks. However, the automatic design of loss functions for generic tasks with various evaluation metrics remains under-investigated. Previous works on handcrafting loss functions heavily rely on human expertise, which limits their extensibility. Meanwhile, searching for loss functions is nontrivial due to the vast search space. Existing efforts mainly tackle the issue by employing task-specific heuristics on specific tasks and particular metrics. Such work cannot be extended to other tasks without arduous human effort. In this paper, we propose AutoLoss-Zero, which is a general framework for searching loss functions from scratch for generic tasks. Specifically, we design an elementary search space composed only of primitive mathematical operators to accommodate the heterogeneous tasks and evaluation metrics. A variant of the evolutionary algorithm is employed to discover loss functions in the elementary search space. A loss-rejection protocol and a gradient-equivalence-check strategy are developed so as to improve the search efficiency, which are applicable to generic tasks. Extensive experiments on various computer vision tasks demonstrate that our searched loss functions are on par with or superior to existing loss functions, which generalize well to different datasets and networks. Code shall be released.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Automated Knowledge Distillation via Monte Carlo Tree Search cites AutoML-Zero: Evolving Machine Learning Algorithms From Scratch
- \alpha-IoU: A Family of Power Intersection over Union Losses for Bounding Box Regression cites Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs cites Automated Knowledge Distillation via Monte Carlo Tree Search
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs cites AutoML-Zero: Evolving Machine Learning Algorithms From Scratch
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student Pairs cites EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization
- EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization cites Automated Knowledge Distillation via Monte Carlo Tree Search
- EMQ: Evolving Training-free Proxies for Automated Mixed Precision Quantization cites AutoML-Zero: Evolving Machine Learning Algorithms From Scratch
Cited by top-tier papers13
- -IoU: A Family of Power Intersection over Union Losses for Bounding Box RegressionJiabo He, Sarah M. Erfani, Xingjun Ma, James Bailey et al.NeurIPS 2021 · 334 citations
- Automated Knowledge Distillation via Monte Carlo Tree SearchLujun Li, Peijie Dong, Zimian Wei, Ya YangICCV 2023 · 54 citations
- EMQ: Evolving Training-free Proxies for Automated Mixed Precision QuantizationPeijie Dong, Lujun Li, Zimian Wei, Xin Niu et al.ICCV 2023 · 51 citations
- KD-Zero: Evolving Knowledge Distiller for Any Teacher-Student PairsLujun Li, Peijie Dong, Anggeng Li, Zimian Wei et al.NeurIPS 2023 · 49 citations
- Jaccard Metric Losses: Optimizing the Jaccard Index with Soft LabelsZifu Wang, Xuefei Ning, Matthew B. BlaschkoNeurIPS 2023 · 39 citations
Builds on10
- Distance-IoU Loss: Faster and Better Learning for Bounding Box RegressionZhaohui Zheng, Ping Wang, Wei Liu, Jinze Li et al.AAAI 2020 · 4,823 citations
- AutoML-Zero: Evolving Machine Learning Algorithms From ScratchEsteban Real, Chen Liang, David R. So, Quoc V. LeICML 2020 · 265 citations
- Evolving Normalization-Activation LayersHanxiao Liu, Andy Brock, Karen Simonyan, Quoc LeNeurIPS 2020 · 94 citations
- AM-LFS: AutoML for Loss Function SearchChuming Li, Xin Yuan, Chen Lin, Minghao Guo et al.ICCV 2019 · 75 citations
- AutoDropout: Learning Dropout Patterns to Regularize Deep NetworksHieu Pham, Quoc V. LeAAAI 2021 · 63 citations
Related papers
- Loss Function Discovery for Object Detection via Convergence-Simulation Driven SearchPeidong Liu, Gengwei Zhang, Bochao Wang, Hang Xu et al.ICLR 2021 · 30 citations
- Auto Seg-Loss: Searching Metric Surrogates for Semantic SegmentationHao Li, Chenxin Tao, Xizhou Zhu, Xiaogang Wang et al.ICLR 2021 · 26 citations
- AutoLoss-GMS: Searching Generalized Margin-based Softmax Loss Function for Person Re-identificationHongyang Gu, Jianmin Li, Guangyuan Fu, Chifong Wong et al.CVPR 2022 · 33 citations
- AutoSpace: Neural Architecture Search with Less Human InterferenceDaquan Zhou, Xiaojie Jin, Xiaochen Lian, Linjie Yang et al.ICCV 2021 · 11 citations
- Reinforcement Learning with Automated Auxiliary Loss SearchTairan He, Yuge Zhang, Kan Ren, Minghuan Liu et al.NeurIPS 2022 · 22 citations
