mlsanityData to 7 Oct 2026

A Simple-but-effective Baseline for Training-free Class-Agnostic Counting

arXiv 2403.01418 ↗First posted 3 Mar 2024cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Class-Agnostic Counting (CAC) seeks to accurately count objects in a given image with only a few reference examples. While previous methods achieving this relied on additional training, recent efforts have shown that it's possible to accomplish this without training by utilizing pre-existing foundation models, particularly the Segment Anything Model (SAM), for counting via instance-level segmentation. Although promising, current training-free methods still lag behind their training-based counterparts in terms of performance. In this research, we present a straightforward training-free solution that effectively bridges this performance gap, serving as a strong baseline. The primary contribution of our work lies in the discovery of four key technologies that can enhance performance. Specifically, we suggest employing a superpixel algorithm to generate more precise initial point prompts, utilizing an image encoder with richer semantic knowledge to replace the SAM encoder for representing candidate objects, and adopting a multiscale mechanism and a transductive prototype scheme to update the representation of reference examples. By combining these four technologies, our approach achieves significant improvements over existing training-free methods and delivers performance on par with training-based ones.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 30 references that are in the map. First posted on arXiv 3 Mar 2024.

Builds on

20 of 30 references.

References · 20

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2023Segment Anythingcited by 8,158
  3. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
  4. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  5. 2023AnyDoor: Zero-shot Object-level Image Customizationcited by 411
  6. 2023Track Anything: Segment Anything Meets Videoscited by 230
  7. 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
  8. 2023Segment Anything Model (SAM) for Digital Pathology: Assess Zero-shot Segmentation on Whole Slide Imagingcited by 161
  9. 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 155
  10. 2021Learning To Count Everythingcited by 149
  11. 2023Caption Anything: Interactive Image Description with Diverse Multimodal Controlscited by 98
  12. 2023Anything-3D: Towards Single-view Anything Reconstruction in the Wildcited by 91
8 more
  1. 2018Class-Agnostic Countingcited by 85
  2. 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
  3. 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
  4. 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
  5. 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
  6. 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
  7. 2023Training-free Object Counting with Promptscited by 34
  8. 2023Can SAM Count Anything? An Empirical Study on SAM Countingcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.