CountingDINO: A Training-free Pipeline for Class-Agnostic Counting using Unsupervised Backbones
Not on the map. Why?
Abstract (arXiv)
Class-agnostic counting (CAC) aims to estimate the number of objects in images without being restricted to predefined categories. However, while current exemplar-based CAC methods offer flexibility at inference time, they still rely heavily on labeled data for training, which limits scalability and generalization to many downstream use cases. In this paper, we introduce CountingDINO, the first training-free exemplar-based CAC framework that exploits a fully unsupervised feature extractor. Specifically, our approach employs self-supervised vision-only backbones to extract object-aware features, and it eliminates the need for annotated data throughout the entire proposed pipeline. At inference time, we extract latent object prototypes via ROI-Align from DINO features and use them as convolutional kernels to generate similarity maps. These are then transformed into density maps through a simple yet effective normalization scheme. We evaluate our approach on the FSC-147 benchmark, where we consistently outperform a baseline based on an SOTA unsupervised object detector under the same label- and training-free setting. Additionally, we achieve competitive results -- and in some cases surpass -- training-free methods that rely on supervised backbones, non-training-free unsupervised methods, as well as several fully supervised SOTA approaches. This demonstrates that label- and training-free CAC can be both scalable and effective. Code: https://lorebianchi98.github.io/CountingDINO/.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 28 of its 41 references that are in the map. First posted on arXiv 23 Apr 2025.
Builds on
28 of 41 references.
References · 28
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023Segment Anythingcited by 8,234
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Mask R-CNNcited by 7,277
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2023Vision Transformers Need Registerscited by 871
- 2023Cut and Learn for Unsupervised Object Detection and Instance Segmentationcited by 187
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 156
- 2018Context-Aware Crowd Countingcited by 150
- 2021Learning To Count Everythingcited by 150
16 more
- 2022Open Vocabulary Semantic Segmentation with Patch Aligned Contrastive Learningcited by 115
- 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2022An End-to-End Transformer Model for Crowd Localizationcited by 74
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2024Talking to DINO: Bridging Self-Supervised Vision Backbones with Language for Open-Vocabulary Segmentationcited by 44
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2016Counting Everyday Objects in Everyday Scenescited by 34
- 2023Training-free Object Counting with Promptscited by 34
- 2017FCN-rLSTM: Deep Spatio-Temporal Neural Networks for Vehicle Counting in City Camerascited by 27
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
- 2024OmniCount: Multi-label Object Counting with Semantic-Geometric Priorscited by 16
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Countingcited by 11
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approachescited by 7
- 2023Learning to Count without Annotationscited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026OCCAM: Class-Agnostic, Training-Free, Prior-Free and Multi-Class Object Countingcited by 1
- 2026AdaCount: Training-Free Similarity-Guided Spatial and Feature Adaptation for Zero-Shot Object Countingcited by 1
- 2026Spatially-Aware Class-Agnostic Object Countingcited by 1
- 2025CountZES: Counting via Zero-Shot Exemplar Selectioncited by 0
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challengescited by 0
- 2026EviRover: Reinforcing Agentic Perception Beyond a Glancecited by 0
- 2026EviRover: Reinforcing Agentic Perception Beyond a Glance30 Sep 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026Spatially-Aware Class-Agnostic Object Counting18 Jul 2026
- 2026AdaCount: Training-Free Similarity-Guided Spatial and Feature Adaptation for Zero-Shot Object Counting2 Jul 2026
- 2026OCCAM: Class-Agnostic, Training-Free, Prior-Free and Multi-Class Object Counting20 Jan 2026
- 2025CountZES: Counting via Zero-Shot Exemplar Selection18 Dec 2025