Zero-Shot Object Counting with Language-Vision Models
Not on the map. Why?
Abstract (arXiv)
Class-agnostic object counting aims to count object instances of an arbitrary class at test time. It is challenging but also enables many potential applications. Current methods require human-annotated exemplars as inputs which are often unavailable for novel categories, especially for autonomous systems. Thus, we propose zero-shot object counting (ZSC), a new setting where only the class name is available during test time. This obviates the need for human annotators and enables automated operation. To perform ZSC, we propose finding a few object crops from the input image and use them as counting exemplars. The goal is to identify patches containing the objects of interest while also being visually representative for all instances in the image. To do this, we first construct class prototypes using large language-vision models, including CLIP and Stable Diffusion, to select the patches containing the target objects. Furthermore, we propose a ranking model that estimates the counting error of each patch to select the most suitable exemplars for counting. Experimental results on a recent class-agnostic counting dataset, FSC-147, validate the effectiveness of our method.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 49 of its 67 references that are in the map. First posted on arXiv 22 Sep 2023.
Builds on
49 of 67 references.
References · 49
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2017Wasserstein GANcited by 635
- 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 536
- 2018Zero-Shot Object Detectioncited by 189
37 more
- 2018Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowdscited by 186
- 2019f-VAEGAN-D2: A Feature Generating Framework for Any-Shot Learningcited by 164
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Modelscited by 162
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 155
- 2016Learning a Deep Embedding Model for Zero-Shot Learningcited by 153
- 2023Prompt, Generate, then Cache: Cascade of Foundation Models makes Strong Few-shot Learnerscited by 152
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2018Context-Aware Crowd Countingcited by 150
- 2021Learning To Count Everythingcited by 149
- 2020Distribution Matching for Crowd Countingcited by 143
- 2016Latent Embeddings for Zero-shot Classificationcited by 129
- 2016A Large Contextual Dataset for Classification, Detection and Counting of Cars with Deep Learningcited by 86
- 2018Class-Agnostic Countingcited by 85
- 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2020Localization in the Crowd with Topological Constraintscited by 68
- 2017Zero-Shot Visual Recognition using Semantics-Preserving Adversarial Embedding Networkscited by 66
- 2023Diffusion Models for Open-Vocabulary Segmentationcited by 63
- 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
- 2023Zero-shot Object Countingcited by 57
- 2022Few-shot Object Counting and Detectioncited by 55
- 2018Where are the Blobs: Counting by Localization with Point Supervisioncited by 54
- 2023DiffusionSeg: Adapting Diffusion Towards Unsupervised Object Discoverycited by 53
- 2021Zero-Shot Instance Segmentationcited by 40
- 2014Zero Shot Recognition with Unreliable Attributescited by 39
- 2017A+D Net: Training a Shadow Detector with Adversarial Shadow Attenuationcited by 39
- 2022Generating Representative Samples for Few-Shot Classificationcited by 39
- 2019Object Counting and Instance Segmentation with Image-level Supervisioncited by 35
- 2016Counting Everyday Objects in Everyday Scenescited by 34
- 2019Pushing the Frontiers of Unconstrained Crowd Counting: New Dataset and Benchmark Methodcited by 32
- 2022Exemplar Free Class Agnostic Countingcited by 32
- 2020Variational Feature Disentangling for Fine-Grained Few-Shot Classificationcited by 26
- 2021Leveraging Self-Supervision for Cross-Domain Crowd Countingcited by 24
- 2020Completely Self-Supervised Crowd Counting via Distribution Matchingcited by 22
- 2020Zero-Shot Learning and its Applications from Autonomous Vehicles to COVID-19 Diagnosis: A Reviewcited by 20
- 2022Discrete-Constrained Regression for Local Counting Modelscited by 19
- 2019Towards Partial Supervision for Generic Object Counting in Natural Scenescited by 9
Built on by
Citing papers per year: 2024: 4; 2025: 2; 2026: 3.
9 papers.
- 2024OmniCount: Multi-label Object Counting with Semantic-Geometric Priorscited by 16
- 2024Every Shot Counts: Using Exemplars for Repetition Counting in Videoscited by 8
- 2024Assessing Sample Quality via the Latent Space of Generative Modelscited by 8
- 2026UNICBench: UNIfied Counting Benchmark for MLLMcited by 3
- 2024Multimodal LLMs Struggle with Basic Visual Network Analysis: a VNA Benchmarkcited by 2
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?cited by 2
- 2026SITUATE -- Synthetic Object Counting Dataset for VLM trainingcited by 2
- 2025Expanding Zero-Shot Object Counting with Rich Promptscited by 1
- 2026Train the Agent, Not the Expert: Learning to Harness Heterogeneous Experts for Multi-Turn Visual Reasoningcited by 0
- 2026Train the Agent, Not the Expert: Learning to Harness Heterogeneous Experts for Multi-Turn Visual Reasoning28 May 2026
- 2026UNICBench: UNIfied Counting Benchmark for MLLM28 Feb 2026
- 2026SITUATE -- Synthetic Object Counting Dataset for VLM training26 Jan 2026
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?28 May 2025
- 2025Expanding Zero-Shot Object Counting with Rich Prompts21 May 2025
- 2024Assessing Sample Quality via the Latent Space of Generative Models21 Jul 2024
- 2024Multimodal LLMs Struggle with Basic Visual Network Analysis: a VNA Benchmark10 May 2024
- 2024Every Shot Counts: Using Exemplars for Repetition Counting in Videos26 Mar 2024
- 2024OmniCount: Multi-label Object Counting with Semantic-Geometric Priors8 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approaches
- 2025Object Counting with GPT-4o and GPT-5: A Comparative Study
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Counting
- 2024CountCLIP -- [Re] Teaching CLIP to Count to Ten
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluation
- 2025T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Counting
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges
- 2024AFreeCA: Annotation-Free Counting for All