# Learning a Unified Sample Weighting Network for Object Detection

arXiv: https://arxiv.org/abs/2006.06568 · HTML: https://mlsanity.com/paper/2006.06568/

## Key facts

- Cited by 10 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 11 Jun 2020.

## Built on by (most cited first, 10 of 10)

- [QueryDet: Cascaded Sparse Query for Accelerating High-Resolution Small Object Detection](https://mlsanity.com/paper/2103.09136/) (2021)
- [Plug and Play Active Learning for Object Detection](https://mlsanity.com/paper/2211.11612/) (2022)
- [Towards Building Self-Aware Object Detectors via Reliable Uncertainty Quantification and Calibration](https://mlsanity.com/paper/2307.00934/) (2023)
- [Ranking-Based Siamese Visual Tracking](https://mlsanity.com/paper/2205.11761/) (2022)
- [OGMN: Occlusion-guided Multi-task Network for Object Detection in UAV Images](https://mlsanity.com/paper/2304.11805/) (2023)
- [3D Cascade RCNN: High Quality Object Detection in Point Clouds](https://mlsanity.com/paper/2211.08248/) (2022)
- [CORE-Text: Improving Scene Text Detection with Contrastive Relational Reasoning](https://mlsanity.com/paper/2112.07513/) (2021)
- [Revisiting the Loss Weight Adjustment in Object Detection](https://mlsanity.com/paper/2103.09488/) (2021)
- [Dynamic Multi-Scale Loss Optimization for Object Detection](https://mlsanity.com/paper/2108.04014/) (2021)
- [Coordinated Disentanglement with Iterative Mode Discovery Under Hidden Correlations](https://mlsanity.com/paper/2607.17264/) (2026)

## Abstract (arXiv)

Region sampling or weighting is significantly important to the success of modern region-based object detectors. Unlike some previous works, which only focus on "hard" samples when optimizing the objective function, we argue that sample weighting should be data-dependent and task-dependent. The importance of a sample for the objective function optimization is determined by its uncertainties to both object classification and bounding box regression tasks. To this end, we devise a general loss function to cover most region-based object detectors with various sampling strategies, and then based on it we propose a unified sample weighting network to predict a sample's task weights. Our framework is simple yet effective. It leverages the samples' uncertainty distributions on classification loss, regression loss, IoU, and probability score, to predict sample weights. Our approach has several advantages: (i). It jointly learns sample weights for both classification and regression tasks, which differentiates it from most previous work. (ii). It is a data-driven process, so it avoids some manual parameter tuning. (iii). It can be effortlessly plugged into most object detectors and achieves noticeable performance improvements without affecting their inference time. Our approach has been thoroughly evaluated with recent object detection frameworks and it can consistently boost the detection accuracy. Code has been made available at urlhttps://github.com/caiqi/sample-weighting-network.
