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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext cd3724cc-c971-4e89-b7c3-a2c10859c024Cited 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
- 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
- Auto Seg-Loss: Searching Metric Surrogates for Semantic SegmentationHao Li, Chenxin Tao, Xizhou Zhu, Xiaogang Wang et al.ICLR 2021 · 26 citations
- AutoSpace: Neural Architecture Search with Less Human InterferenceDaquan Zhou, Xiaojie Jin, Xiaochen Lian, Linjie Yang et al.ICCV 2021 · 11 citations
- AutoLossGen: Automatic Loss Function Generation for Recommender SystemsZelong Li, Jianchao Ji, Yingqiang Ge, Yongfeng ZhangSIGIR 2022 · 16 citations
