CountEx: Fine-Grained Counting via Exemplars and Exclusion
Not on the map. Why?
Abstract (arXiv)
This paper presents CountEx, a discriminative visual counting framework designed to address a key limitation of existing prompt-based methods: the inability to explicitly exclude visually similar distractors. While current approaches allow users to specify what to count via inclusion prompts, they often struggle in cluttered scenes with confusable object categories, leading to ambiguity and overcounting. CountEx enables users to express both inclusion and exclusion intent, specifying what to count and what to ignore, through multimodal prompts including natural language descriptions and optional visual exemplars. At the core of CountEx is a novel Discriminative Query Refinement module, which jointly reasons over inclusion and exclusion cues by first identifying shared visual features, then isolating exclusion-specific patterns, and finally applying selective suppression to refine the counting query. To support systematic evaluation of fine-grained counting methods, we introduce CoCount, a benchmark comprising 1,780 videos and 10,086 annotated frames across 97 category pairs. Experiments show that CountEx achieves substantial improvements over state-of-the-art methods for counting objects from both known and novel categories. The data and code are available at https://github.com/bbvisual/CountEx.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 41 of its 52 references that are in the map. First posted on arXiv 23 Feb 2026.
Builds on
41 of 52 references.
References · 41
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2025Qwen2.5-VL Technical Reportcited by 5,587
- 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
- 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
- 2023Scaling Open-Vocabulary Object Detectioncited by 343
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2024Ovis: Structural Embedding Alignment for Multimodal Large Language Modelcited by 169
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 152
- 2021Learning To Count Everythingcited by 150
- 2020Distribution Matching for Crowd Countingcited by 143
- 2018Class-Agnostic Countingcited by 85
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 83
29 more
- 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2019Point in, Box out: Beyond Counting Persons in Crowdscited by 62
- 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
- 2024CountGD: Multi-Modal Open-World Countingcited by 59
- 2023Zero-shot Object Countingcited by 57
- 2025LLMDet: Learning Strong Open-Vocabulary Object Detectors under the Supervision of Large Language Modelscited by 57
- 2022Few-shot Object Counting and Detectioncited by 55
- 2018Where are the Blobs: Counting by Localization with Point Supervisioncited by 54
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2018Iterative Crowd Countingcited by 48
- 2023VLCounter: Text-aware Visual Representation for Zero-Shot Object Countingcited by 45
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2023Open-world Text-specified Object Countingcited by 41
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2020NAS-Count: Counting-by-Density with Neural Architecture Searchcited by 36
- 2023Training-free Object Counting with Promptscited by 34
- 2019Learn to Scale: Generating Multipolar Normalized Density Maps for Crowd Countingcited by 32
- 2022Exemplar Free Class Agnostic Countingcited by 32
- 2020Adaptive Mixture Regression Network with Local Counting Map for Crowd Countingcited by 28
- 2020Shallow Feature Based Dense Attention Network for Crowd Countingcited by 28
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
- 2024Zero-shot Object Counting with Good Exemplarscited by 21
- 2024A Novel Unified Architecture for Low-Shot Counting by Detection and Segmentationcited by 21
- 2025Exploring Contextual Attribute Density in Referring Expression Countingcited by 10
- 2023Interactive Class-Agnostic Object Countingcited by 8
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluationcited by 7
Built on by
Citing papers per year: 2026: 1.
1 paper.