CounTR: Transformer-based Generalised Visual Counting
Not on the map. Why?
Abstract (arXiv)
In this paper, we consider the problem of generalised visual object counting, with the goal of developing a computational model for counting the number of objects from arbitrary semantic categories, using arbitrary number of "exemplars", i.e. zero-shot or few-shot counting. To this end, we make the following four contributions: (1) We introduce a novel transformer-based architecture for generalised visual object counting, termed as Counting Transformer (CounTR), which explicitly capture the similarity between image patches or with given "exemplars" with the attention mechanism;(2) We adopt a two-stage training regime, that first pre-trains the model with self-supervised learning, and followed by supervised fine-tuning;(3) We propose a simple, scalable pipeline for synthesizing training images with a large number of instances or that from different semantic categories, explicitly forcing the model to make use of the given "exemplars";(4) We conduct thorough ablation studies on the large-scale counting benchmark, e.g. FSC-147, and demonstrate state-of-the-art performance on both zero and few-shot settings.
Key facts. Cited by 79 papers in the map (data through 7 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 29 Aug 2022.
Builds on
18 of 30 references.
References · 18
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2017Mask R-CNNcited by 7,259
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2018Few-shot Object Detection via Feature Reweightingcited by 265
- 2019Few-Shot Object Detection with Attention-RPN and Multi-Relation Detectorcited by 206
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 155
- 2021Learning To Count Everythingcited by 149
- 2016A Large Contextual Dataset for Classification, Detection and Counting of Cars with Deep Learningcited by 86
6 more
- 2018Class-Agnostic Countingcited by 85
- 2022Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Countingcited by 80
- 2019Precise Detection in Densely Packed Scenescited by 62
- 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
- 2022Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervisioncited by 41
- 2022Exemplar Free Class Agnostic Countingcited by 32
Built on by
Citing papers per year: 2022: 1; 2023: 12; 2024: 21; 2025: 27; 2026: 18.
79 papers.
Sort:
By area:
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergycited by 94
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 82
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2024CountGD: Multi-Modal Open-World Countingcited by 59
- 2023Zero-shot Object Countingcited by 57
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2023Open-world Text-specified Object Countingcited by 41
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2024IsoBench: Benchmarking Multimodal Foundation Models on Isomorphic Representationscited by 37
- 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
38 more
- 2023T-Rex: Counting by Visual Promptingcited by 20
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Modelscited by 20
- 2025T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Countingcited by 19
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Rewardcited by 15
- 2023ABC Easy as 123: A Blind Counter for Exemplar-Free Multi-Class Class-agnostic Countingcited by 13
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Countingcited by 11
- 2025Open-World Object Counting in Videoscited by 11
- 2024A Fixed-Point Approach to Unified Prompt-Based Countingcited by 10
- 2024OVR: A Dataset for Open Vocabulary Temporal Repetition Counting in Videoscited by 10
- 2025Exploring Contextual Attribute Density in Referring Expression Countingcited by 10
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generationcited by 10
- 2023Zero-Shot Object Counting with Language-Vision Modelscited by 9
- 2024Every Shot Counts: Using Exemplars for Repetition Counting in Videoscited by 8
- 2025CountGD++: Generalized Prompting for Open-World Countingcited by 8
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approachescited by 7
- 2023Semantic Generative Augmentations for Few-Shot Countingcited by 6
- 2024Chameleon: A Data-Efficient Generalist for Dense Visual Prediction in the Wildcited by 6
- 2025CountingDINO: A Training-free Pipeline for Class-Agnostic Counting using Unsupervised Backbonescited by 6
- 2025Single Domain Generalization for Few-Shot Counting via Universal Representation Matchingcited by 6
- 2023Learning to Count without Annotationscited by 5
- 2024Learning Spatial Similarity Distribution for Few-shot Object Countingcited by 5
- 2025Generalized-Scale Object Counting with Gradual Query Aggregationcited by 5
- 2023Count What You Want: Exemplar Identification and Few-shot Counting of Human Actions in the Wildcited by 3
- 2024A Simple-but-effective Baseline for Training-free Class-Agnostic Countingcited by 3
- 2024TFCounter:Polishing Gems for Training-Free Object Countingcited by 2
- 2024Learning from Exemplars for Interactive Image Segmentationcited by 2
- 2024Mutually-Aware Feature Learning for Few-Shot Object Countingcited by 2
- 2025FiGO: Fine-Grained Object Counting without Annotationscited by 2
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?cited by 2
- 2025SFOOD: A Multimodal Benchmark for Comprehensive Food Attribute Analysis Beyond RGB with Spectral Insightscited by 2
- 2025Text-promptable Object Counting via Quantity Awareness Enhancementcited by 2
- 2025Towards PerSense++: Advancing Training-Free Personalized Instance Segmentation in Dense Imagescited by 2
- 2025TasselNetV4: A vision foundation model for cross-scene, cross-scale, and cross-species plant countingcited by 2
- 2026Chain-of-Look Spatial Reasoning for Dense Surgical Instrument Countingcited by 2
- 2026Bootstrapping MLLM for Weakly-Supervised Class-Agnostic Object Countingcited by 2
- 2026Plant Taxonomy Meets Plant Counting: A Fine-Grained, Taxonomic Dataset for Counting Hundreds of Plant Speciescited by 2
- 2024Enhancing Zero-shot Counting via Language-guided Exemplar Learningcited by 1
- 2025Expanding Zero-Shot Object Counting with Rich Promptscited by 1
50 most cited of 79 All 79 (JSON)
- 2026DualCount: Structurally Consistent Density and Point Modeling for Zero-Shot Object Counting14 Sep 2026
- 2026Bottom-up Modeling of Repeated Elements via Single Image Analysis-by-Synthesis7 Sep 2026
- 2026Counting Beyond Instances: A Benchmark for Group-Individual Object Counting4 Sep 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026RECOUNT: Reference-guided Counting with Synthetic Visual Exemplars20 Aug 2026
- 2026Depth-Guided Video Object Counting in Crowded Scenes6 Aug 2026
- 2026Spatially-Aware Class-Agnostic Object Counting18 Jul 2026
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2026RT-Counter: Real-Time Text-Guided Open-Vocabulary Object Counting16 Jun 2026
- 2026Count Anything29 May 2026
- 2026The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting18 May 2026
- 2026Count Anything at Any Granularity11 May 2026
38 more
- 2026Does it Really Count? Assessing Semantic Grounding in Text-Guided Class-Agnostic Counting4 May 2026
- 2026Plant Taxonomy Meets Plant Counting: A Fine-Grained, Taxonomic Dataset for Counting Hundreds of Plant Species22 Mar 2026
- 2026CountEx: Fine-Grained Counting via Exemplars and Exclusion23 Feb 2026
- 2026Bootstrapping MLLM for Weakly-Supervised Class-Agnostic Object Counting13 Feb 2026
- 2026Chain-of-Look Spatial Reasoning for Dense Surgical Instrument Counting11 Feb 2026
- 2026OCCAM: Class-Agnostic, Training-Free, Prior-Free and Multi-Class Object Counting20 Jan 2026
- 2025CountGD++: Generalized Prompting for Open-World Counting29 Dec 2025
- 2025CoDi -- an exemplar-conditioned diffusion model for low-shot counting23 Dec 2025
- 2025CountZES: Counting via Zero-Shot Exemplar Selection18 Dec 2025
- 2025Object Counting with GPT-4o and GPT-5: A Comparative Study2 Dec 2025
- 2025Counting Through Occlusion: Framework for Open World Amodal Counting16 Nov 2025
- 2025Generalized-Scale Object Counting with Gradual Query Aggregation11 Nov 2025
- 2025Decoupling What to Count and Where to See for Referring Expression Counting28 Oct 2025
- 2025CountFormer: A Transformer Framework for Learning Visual Repetition and Structure in Class-Agnostic Object Counting27 Oct 2025
- 2025D2D: Detector-to-Differentiable Critic for Improved Numeracy in Text-to-Image Generation22 Oct 2025
- 2025TasselNetV4: A vision foundation model for cross-scene, cross-scale, and cross-species plant counting25 Sep 2025
- 2025Towards PerSense++: Advancing Training-Free Personalized Instance Segmentation in Dense Images20 Aug 2025
- 2025YOLO-Count: Differentiable Object Counting for Text-to-Image Generation1 Aug 2025
- 2025Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework11 Jul 2025
- 2025Text-promptable Object Counting via Quantity Awareness Enhancement9 Jul 2025
- 2025SFOOD: A Multimodal Benchmark for Comprehensive Food Attribute Analysis Beyond RGB with Spectral Insights6 Jul 2025
- 2025Open-World Object Counting in Videos18 Jun 2025
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?28 May 2025
- 2025Single Domain Generalization for Few-Shot Counting via Universal Representation Matching22 May 2025
- 2025Expanding Zero-Shot Object Counting with Rich Prompts21 May 2025
- 2025CountingDINO: A Training-free Pipeline for Class-Agnostic Counting using Unsupervised Backbones23 Apr 2025
- 2025FiGO: Fine-Grained Object Counting without Annotations16 Apr 2025
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward31 Mar 2025
- 2025Exploring Contextual Attribute Density in Referring Expression Counting16 Mar 2025
- 2025T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Counting28 Feb 2025
- 2025FocalCount: Towards Class-Count Imbalance in Class-Agnostic Counting15 Feb 2025
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approaches31 Jan 2025
- 2025ANTHROPOS-V: benchmarking the novel task of Crowd Volume Estimation3 Jan 2025
- 2024Vision Transformers for Weakly-Supervised Microorganism Enumeration3 Dec 2024
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Models1 Dec 2024
- 2024A Novel Unified Architecture for Low-Shot Counting by Detection and Segmentation27 Sep 2024
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Counting24 Sep 2024
- 2024GCA-SUNet: A Gated Context-Aware Swin-UNet for Exemplar-Free Counting18 Sep 2024
50 newest of 79 All 79 (JSON)
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 82
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Modelscited by 20
- 2025Text-promptable Object Counting via Quantity Awareness Enhancementcited by 2
- 2026Count Anything at Any Granularitycited by 1
- 2026RT-Counter: Real-Time Text-Guided Open-Vocabulary Object Countingcited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generationcited by 0
- 2026ABACUS: Adapting Unified Foundation Model for Bridging Image Count Understanding and Generation22 Jun 2026
- 2026RT-Counter: Real-Time Text-Guided Open-Vocabulary Object Counting16 Jun 2026
- 2026Count Anything at Any Granularity11 May 2026
- 2025Text-promptable Object Counting via Quantity Awareness Enhancement9 Jul 2025
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Models1 Dec 2024
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Counting12 May 2023
- 2024T-Rex2: Towards Generic Object Detection via Text-Visual Prompt Synergycited by 94
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2024CountGD: Multi-Modal Open-World Countingcited by 59
- 2023Zero-shot Object Countingcited by 57
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Countingcited by 49
- 2023Open-world Text-specified Object Countingcited by 41
- 2023Point, Segment and Count: A Generalized Framework for Object Countingcited by 39
- 2024IsoBench: Benchmarking Multimodal Foundation Models on Isomorphic Representationscited by 37
- 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
- 2023T-Rex: Counting by Visual Promptingcited by 20
12 most cited of 68 All 68 (JSON)
- 2026DualCount: Structurally Consistent Density and Point Modeling for Zero-Shot Object Counting14 Sep 2026
- 2026Bottom-up Modeling of Repeated Elements via Single Image Analysis-by-Synthesis7 Sep 2026
- 2026Counting Beyond Instances: A Benchmark for Group-Individual Object Counting4 Sep 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026RECOUNT: Reference-guided Counting with Synthetic Visual Exemplars20 Aug 2026
- 2026Depth-Guided Video Object Counting in Crowded Scenes6 Aug 2026
- 2026Spatially-Aware Class-Agnostic Object Counting18 Jul 2026
- 2026Count Anything29 May 2026
- 2026The MixCount Dataset: Bridging the Data Gap for Open-Vocabulary Object Counting18 May 2026
- 2026Does it Really Count? Assessing Semantic Grounding in Text-Guided Class-Agnostic Counting4 May 2026
- 2026Plant Taxonomy Meets Plant Counting: A Fine-Grained, Taxonomic Dataset for Counting Hundreds of Plant Species22 Mar 2026
- 2026CountEx: Fine-Grained Counting via Exemplars and Exclusion23 Feb 2026
12 newest of 68 All 68 (JSON)