English

Revisiting the Loss Weight Adjustment in Object Detection

Computer Vision and Pattern Recognition 2022-03-18 v4 Artificial Intelligence

Abstract

Object detection is a typical multi-task learning application, which optimizes classification and regression simultaneously. However, classification loss always dominates the multi-task loss in anchor-based methods, hampering the consistent and balanced optimization of the tasks. In this paper, we find that shifting the bounding boxes can change the division of positive and negative samples in classification, meaning classification depends on regression. Moreover, we summarize three important conclusions about fine-tuning loss weights, considering different datasets, optimizers and regression loss functions. Based on the above conclusions, we propose Adaptive Loss Weight Adjustment(ALWA) to solve the imbalance in optimizing anchor-based methods according to statistical characteristics of losses. By incorporating ALWA into previous state-of-the-art detectors, we achieve a significant performance gain on PASCAL VOC and MS COCO, even with L1, SmoothL1 and CIoU loss. The code is available at https://github.com/ywx-hub/ALWA.

Keywords

Cite

@article{arxiv.2103.09488,
  title  = {Revisiting the Loss Weight Adjustment in Object Detection},
  author = {Wenxin Yu and Xueling Shen and Jiajie Hu and Dong Yin},
  journal= {arXiv preprint arXiv:2103.09488},
  year   = {2022}
}

Comments

Incorrect description of content

R2 v1 2026-06-24T00:15:52.622Z