# Any-Shot Object Detection

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

## Key facts

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

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

- [Semantic-aware Knowledge Distillation for Few-Shot Class-Incremental Learning](https://mlsanity.com/paper/2103.04059/) (2021)
- [DeFRCN: Decoupled Faster R-CNN for Few-Shot Object Detection](https://mlsanity.com/paper/2108.09017/) (2021)
- [Semantic Relation Reasoning for Shot-Stable Few-Shot Object Detection](https://mlsanity.com/paper/2103.01903/) (2021)
- [Detecting Human-Object Interactions with Object-Guided Cross-Modal Calibrated Semantics](https://mlsanity.com/paper/2202.00259/) (2022)
- [Learning without Forgetting for 3D Point Cloud Objects](https://mlsanity.com/paper/2106.14275/) (2021)
- [A Survey of Deep Learning for Low-Shot Object Detection](https://mlsanity.com/paper/2112.02814/) (2021)
- [Object Detection using Oriented Window Learning Vi-sion Transformer: Roadway Assets Recognition](https://mlsanity.com/paper/2406.10712/) (2024)
- [Few-Shot Object Detection in Unseen Domains](https://mlsanity.com/paper/2204.05072/) (2022)
- [Integrated Image-Text Based on Semi-supervised Learning for Small Sample Instance Segmentation](https://mlsanity.com/paper/2410.16063/) (2024)
- [Data Augmentation for High-Fidelity Generation of CAR-T/NK Immunological Synapse Images](https://mlsanity.com/paper/2602.00949/) (2026)

## Abstract (arXiv)

Previous work on novel object detection considers zero or few-shot settings where none or few examples of each category are available for training. In real world scenarios, it is less practical to expect that 'all' the novel classes are either unseen or {have} few-examples. Here, we propose a more realistic setting termed 'Any-shot detection', where totally unseen and few-shot categories can simultaneously co-occur during inference. Any-shot detection offers unique challenges compared to conventional novel object detection such as, a high imbalance between unseen, few-shot and seen object classes, susceptibility to forget base-training while learning novel classes and distinguishing novel classes from the background. To address these challenges, we propose a unified any-shot detection model, that can concurrently learn to detect both zero-shot and few-shot object classes. Our core idea is to use class semantics as prototypes for object detection, a formulation that naturally minimizes knowledge forgetting and mitigates the class-imbalance in the label space. Besides, we propose a rebalanced loss function that emphasizes difficult few-shot cases but avoids overfitting on the novel classes to allow detection of totally unseen classes. Without bells and whistles, our framework can also be used solely for Zero-shot detection and Few-shot detection tasks. We report extensive experiments on Pascal VOC and MS-COCO datasets where our approach is shown to provide significant improvements.
