Reproduce “Prime Sample Attention in Object Detection” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yuhang Cao, Kai Chen, Chen Change Loy, Dahua Lin

Researchers from The Chinese University of Hong Kong and Nanyang Technological University introduce PrIme Sample Attention (PISA), a novel training strategy for object detection that focuses learning on "prime samples" crucial for mAP, rather than just hard examples. PISA, comprising Importance-based Sample Reweighting and Classification-Aware Regression Loss, consistently improved mean Average Precision across various single-stage and two-stage detectors on MS COCO and PASCAL VOC, achieving up to a 2.1% AP gain on COCO test-dev with Faster R-CNN without added inference time.

Key insights

  • Samples in object detection are neither independent nor equally important; certain "prime samples" (e.g., high IoU positives, high-scoring unsuppressed negatives) disproportionately influence the final mAP.
  • Optimizing average classification performance or solely focusing on "hard" samples is often suboptimal for object detection; samples critical for detection performance are not necessarily those with the highest classification loss.
  • A strong, exploitable correlation exists between the classification and localization objectives, where well-localized samples should ideally receive higher classification confidence to improve detection performance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.