[Paper Review] Loss Function Discovery for Object Detection via Convergence-Simulation Driven Search
This paper proposes CSE-Autoloss, an evolutionary search framework that automatically discovers novel loss functions for object detection by simulating mathematical convergence and optimization behavior. It achieves 1.1% and 0.8% mAP gains over standard Cross-entropy and Focal loss on COCO for two-stage and one-stage detectors, respectively, while reducing search time by 20x via convergence-simulation modules.
Designing proper loss functions for vision tasks has been a long-standing research direction to advance the capability of existing models. For object detection, the well-established classification and regression loss functions have been carefully designed by considering diverse learning challenges. Inspired by the recent progress in network architecture search, it is interesting to explore the possibility of discovering new loss function formulations via directly searching the primitive operation combinations. So that the learned losses not only fit for diverse object detection challenges to alleviate huge human efforts, but also have better alignment with evaluation metric and good mathematical convergence property. Beyond the previous auto-loss works on face recognition and image classification, our work makes the first attempt to discover new loss functions for the challenging object detection from primitive operation levels. We propose an effective convergence-simulation driven evolutionary search algorithm, called CSE-Autoloss, for speeding up the search progress by regularizing the mathematical rationality of loss candidates via convergence property verification and model optimization simulation. CSE-Autoloss involves the search space that cover a wide range of the possible variants of existing losses and discovers best-searched loss function combination within a short time (around 1.5 wall-clock days). We conduct extensive evaluations of loss function search on popular detectors and validate the good generalization capability of searched losses across diverse architectures and datasets. Our experiments show that the best-discovered loss function combinations outperform default combinations by 1.1% and 0.8% in terms of mAP for two-stage and one-stage detectors on COCO respectively. Our searched losses are available at https://github.com/PerdonLiu/CSE-Autoloss.
Motivation & Objective
- To automate the discovery of effective loss functions for object detection, reducing reliance on manual, expert-designed formulations.
- To address the sparsity and instability in loss function search by incorporating mathematical and optimization property verification.
- To improve alignment between training objectives and evaluation metrics (e.g., mAP) through data-driven loss discovery.
- To enable efficient, scalable search across diverse architectures and datasets with generalizable loss formulations.
- To develop a framework that discovers loss functions with strong convergence properties and high performance.
Proposed method
- CSE-Autoloss employs a search space composed of 21 primitive mathematical operations, 3 constant inputs, and 3 variable inputs to represent diverse loss function forms.
- It introduces two progressive convergence-simulation modules: convergence property verification and model optimization simulation, to filter out ineffective candidates early.
- The framework uses evolutionary algorithms to explore loss function combinations, guided by simulated convergence and optimization behavior.
- The search space is designed to cover existing popular losses (e.g., CE, Focal, IoU, GIoU) while enabling novel, high-performing combinations.
- The method evaluates candidate losses via proxy training on COCO and VOC, with early filtering based on convergence and optimization stability.
- The best-performing loss, CSE-Autoloss-A, is discovered through this pipeline and validated across multiple detectors and datasets.
Experimental results
Research questions
- RQ1Can an automated search framework discover novel loss functions for object detection that outperform hand-crafted baselines?
- RQ2How can convergence-simulation modules improve the efficiency and stability of evolutionary loss function search?
- RQ3To what extent do the discovered loss functions generalize across different object detectors and datasets?
- RQ4What is the impact of mathematical convergence and optimization behavior on the performance of learned loss functions?
- RQ5Can the search process be accelerated significantly without sacrificing the quality of discovered loss functions?
Key findings
- The best-discovered loss function, CSE-Autoloss-A, achieves 38.5 mAP on COCO for Faster R-CNN R50, outperforming the standard CE + L1 baseline by 1.1%.
- For FCOS R50, the best combination (CSE-Autoloss-B) achieves 39.6 mAP, a 0.8% improvement over the Focal loss + GIoU baseline.
- CSE-Autoloss reduces the search time to approximately 1.5 wall-clock days with 20x speedup compared to vanilla evolutionary search.
- The convergence-simulation modules filter out 99% of poor-performing loss candidates, significantly improving search efficiency.
- The discovered loss functions generalize well across different architectures (Faster R-CNN, FCOS) and datasets (COCO, VOC, BDD).
- The method successfully discovers loss functions with distinct structures, such as CSE-Autoloss-A, that match or exceed the performance of standard losses like Cross-entropy and Focal loss.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.