A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approaches
Luca Ciampi, Ali Azmoudeh, Elif Ecem Akbaba, Erdi Sarıtaş, Ziya Ata Yazıcı, Hazım Kemal Ekenel, Giuseppe Amato, Fabrizio Falchi
TL;DR
This survey analyzes the emergence of class-agnostic counting (CAC), framing it as three paradigms: reference-based, reference-less, and open-world text-guided counting. It catalogues 29 CAC approaches, contrasts their reliance on exemplars, patterns, or textual prompts, and benchmarks them on FSC-147 and CARPK to reveal strengths and limitations. Key contributions include a taxonomy that clarifies methodological differences, a consolidated view of architectures and results, and a critical discussion of challenges such as annotation dependence and generalization, plus directions for future work including weak supervision and prompt-driven counting. The work underscores the progress toward open-vocabulary counting while candidly acknowledging gaps in data, evaluation, and robust language-driven understanding that future research must address. The survey thereby guides researchers toward more generalizable, data-efficient CAC solutions for diverse, real-world applications.
Abstract
Visual object counting has recently shifted towards class-agnostic counting (CAC), which addresses the challenge of counting objects across arbitrary categories -- a crucial capability for flexible and generalizable counting systems. Unlike humans, who effortlessly identify and count objects from diverse categories without prior knowledge, most existing counting methods are restricted to enumerating instances of known classes, requiring extensive labeled datasets for training and struggling in open-vocabulary settings. In contrast, CAC aims to count objects belonging to classes never seen during training, operating in a few-shot setting. In this paper, we present the first comprehensive review of CAC methodologies. We propose a taxonomy to categorize CAC approaches into three paradigms based on how target object classes can be specified: reference-based, reference-less, and open-world text-guided. Reference-based approaches achieve state-of-the-art performance by relying on exemplar-guided mechanisms. Reference-less methods eliminate exemplar dependency by leveraging inherent image patterns. Finally, open-world text-guided methods use vision-language models, enabling object class descriptions via textual prompts, offering a flexible and promising solution. Based on this taxonomy, we provide an overview of the architectures of 29 CAC approaches and report their results on gold-standard benchmarks. We compare their performance and discuss their strengths and limitations. Specifically, we present results on the FSC-147 dataset, setting a leaderboard using gold-standard metrics, and on the CARPK dataset to assess generalization capabilities. Finally, we offer a critical discussion of persistent challenges, such as annotation dependency and generalization, alongside future directions. We believe this survey will be a valuable resource, showcasing CAC advancements and guiding future research.
