Learning a Unified Sample Weighting Network for Object Detection

06/11/2020
by   Qi Cai, et al.
10

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 <https://github.com/caiqi/sample-weighting-network>.

READ FULL TEXT

page 1

page 2

page 3

page 4

page 5

page 6

page 7

page 9

research
03/18/2022

A Dual Weighting Label Assignment Scheme for Object Detection

Label assignment (LA), which aims to assign each training sample a posit...
research
03/04/2022

F2DNet: Fast Focal Detection Network for Pedestrian Detection

Two-stage detectors are state-of-the-art in object detection as well as ...
research
08/11/2019

IoU Loss for 2D/3D Object Detection

In 2D/3D object detection task, Intersection-over-Union (IoU) has been w...
research
04/15/2023

Align-DETR: Improving DETR with Simple IoU-aware BCE loss

DETR has set up a simple end-to-end pipeline for object detection by for...
research
04/09/2019

Prime Sample Attention in Object Detection

It is a common paradigm in object detection frameworks to treat all samp...
research
09/17/2022

Learning to Weight Samples for Dynamic Early-exiting Networks

Early exiting is an effective paradigm for improving the inference effic...
research
09/11/2019

Are Sampling Heuristics Necessary in Object Detectors?

The prevalent object detectors to date, such as Faster R-CNN and RetinaN...

Please sign up or login with your details

Forgot password? Click here to reset