Few-shot Object Counting with Similarity-Aware Feature Enhancement
Not on the map. Why?
Abstract (arXiv)
This work studies the problem of few-shot object counting, which counts the number of exemplar objects (i.e., described by one or several support images) occurring in the query image. The major challenge lies in that the target objects can be densely packed in the query image, making it hard to recognize every single one. To tackle the obstacle, we propose a novel learning block, equipped with a similarity comparison module and a feature enhancement module. Concretely, given a support image and a query image, we first derive a score map by comparing their projected features at every spatial position. The score maps regarding all support images are collected together and normalized across both the exemplar dimension and the spatial dimensions, producing a reliable similarity map. We then enhance the query feature with the support features by employing the developed point-wise similarities as the weighting coefficients. Such a design encourages the model to inspect the query image by focusing more on the regions akin to the support images, leading to much clearer boundaries between different objects. Extensive experiments on various benchmarks and training setups suggest that we surpass the state-of-the-art methods by a sufficiently large margin. For instance, on a recent large-scale FSC-147 dataset, we surpass the state-of-the-art method by improving the mean absolute error from 22.08 to 14.32 (35%uparrow). Code has been released in https://github.com/zhiyuanyou/SAFECount.
Key facts. Cited by 62 papers in the map (data through 7 Oct 2026). Builds on 34 of its 55 references that are in the map. First posted on arXiv 22 Jan 2022.
Builds on
34 of 55 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017Mask R-CNNcited by 7,259
- 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
- 2017PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volumecited by 966
- 2017Focal Loss for Dense Object Detectioncited by 749
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2018Few-shot Object Detection via Feature Reweightingcited by 265
22 more
- 2019CANet: Class-Agnostic Segmentation Networks with Iterative Refinement and Attentive Few-Shot Learningcited by 217
- 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
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 152
- 2021Learning To Count Everythingcited by 149
- 2015End-to-end people detection in crowded scenescited by 140
- 2020Multi-Scale Positive Sample Refinement for Few-Shot Object Detectioncited by 116
- 2020Few-Shot Classification with Feature Map Reconstruction Networkscited by 116
- 2017Switching Convolutional Neural Network for Crowd Countingcited by 93
- 2016A Large Contextual Dataset for Classification, Detection and Counting of Cars with Deep Learningcited by 86
- 2018Class-Agnostic Countingcited by 85
- 2021Mining Latent Classes for Few-shot Segmentationcited by 69
- 2019Precise Detection in Densely Packed Scenescited by 62
- 2017Generating High-Quality Crowd Density Maps using Contextual Pyramid CNNscited by 55
- 2018Where are the Blobs: Counting by Localization with Point Supervisioncited by 54
- 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 54
- 2020Cross-Modal Collaborative Representation Learning and a Large-Scale RGBT Benchmark for Crowd Countingcited by 52
- 2017DecideNet: Counting Varying Density Crowds Through Attention Guided Detection and Density Estimationcited by 49
- 2018Iterative Crowd Countingcited by 48
- 2017Spatiotemporal Modeling for Crowd Counting in Videoscited by 27
- 2018Top-Down Feedback for Crowd Counting Convolutional Neural Networkcited by 14
- 2020Dilated-Scale-Aware Attention ConvNet For Multi-Class Object Countingcited by 10
Built on by
Citing papers per year: 2022: 2; 2023: 16; 2024: 18; 2025: 16; 2026: 10.
62 papers.
Sort:
By area:
- 2023CLIP-Count: Towards Text-Guided Zero-Shot Object Countingcited by 82
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 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
- 2023Training-free Object Counting with Promptscited by 34
- 2023Vision Transformer Off-the-Shelf: A Surprising Baseline for Few-Shot Class-Agnostic Countingcited by 25
- 2023Counting Guidance for High Fidelity Text-to-Image Synthesiscited by 24
- 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
- 2023Can SAM Count Anything? An Empirical Study on SAM Countingcited by 18
- 2024OmniCount: Multi-label Object Counting with Semantic-Geometric Priorscited by 16
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Rewardcited by 15
- 2023SAAN: Similarity-aware attention flow network for change detection with VHR remote sensing imagescited by 12
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Countingcited by 11
- 2025Open-World Object Counting in Videoscited by 11
- 2024OVR: A Dataset for Open Vocabulary Temporal Repetition Counting in Videoscited by 10
- 2023Zero-Shot Object Counting with Language-Vision Modelscited by 9
- 2023Interactive Class-Agnostic Object Countingcited by 8
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approachescited by 7
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluationcited by 7
- 2023Semantic Generative Augmentations for Few-Shot Countingcited by 6
- 2025Single Domain Generalization for Few-Shot Counting via Universal Representation Matchingcited by 6
- 2023Learning to Count without Annotationscited by 5
- 2023SQLNet: Scale-Modulated Query and Localization Network for Few-Shot Class-Agnostic Countingcited by 5
- 2024Learning Spatial Similarity Distribution for Few-shot Object Countingcited by 5
- 2025[De|Re]constructing VLMs' Reasoning in Countingcited by 5
- 2025Generalized-Scale Object Counting with Gradual Query Aggregationcited by 5
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidancecited by 4
- 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
- 2024Few-shot Object Localizationcited by 2
- 2024UniFS: Universal Few-shot Instance Perception with Point Representationscited by 2
- 2024TFCounter:Polishing Gems for Training-Free Object Countingcited by 2
- 2024Mutually-Aware Feature Learning for Few-Shot Object Countingcited by 2
- 2025SDVPT: Semantic-Driven Visual Prompt Tuning for Open-World Object Countingcited by 2
- 2025TasselNetV4: A vision foundation model for cross-scene, cross-scale, and cross-species plant countingcited by 2
- 2024Enhancing Zero-shot Counting via Language-guided Exemplar Learningcited by 1
- 2024Facial Expression Recognition with Controlled Privacy Preservation and Feature Compensationcited by 1
- 2025Counting Through Occlusion: Framework for Open World Amodal Countingcited by 1
- 2025CoDi -- an exemplar-conditioned diffusion model for low-shot countingcited by 1
- 2026CountEx: Fine-Grained Counting via Exemplars and Exclusioncited by 1
- 2026Count Anything at Any Granularitycited by 1
- 2026AdaCount: Training-Free Similarity-Guided Spatial and Feature Adaptation for Zero-Shot Object Countingcited by 1
- 2023Learning from Pseudo-labeled Segmentation for Multi-Class Object Countingcited by 0
50 most cited of 62 All 62 (JSON)
- 2026DualCount: Structurally Consistent Density and Point Modeling for Zero-Shot Object Counting14 Sep 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026NumerosityVLM: A Cognitively Inspired Benchmark for Interpreting Numerosity Representations in Vision-Language Models15 Aug 2026
- 2026AdaCount: Training-Free Similarity-Guided Spatial and Feature Adaptation for Zero-Shot Object Counting2 Jul 2026
- 2026Count Anything at Any Granularity11 May 2026
- 2026SynMVCrowd: A Large Synthetic Benchmark for Multi-view Crowd Counting and Localization25 Mar 2026
- 2026Getting to the Point: Pointing Improves LVLMs at Counting23 Mar 2026
- 2026CountEx: Fine-Grained Counting via Exemplars and Exclusion23 Feb 2026
- 2026One-Shot Crowd Counting With Density Guidance For Scene Adaptation8 Feb 2026
- 2026OCCAM: Class-Agnostic, Training-Free, Prior-Free and Multi-Class Object Counting20 Jan 2026
- 2025CoDi -- an exemplar-conditioned diffusion model for low-shot counting23 Dec 2025
- 2025Counting Through Occlusion: Framework for Open World Amodal Counting16 Nov 2025
38 more
- 2025Generalized-Scale Object Counting with Gradual Query Aggregation11 Nov 2025
- 2025[De|Re]constructing VLMs' Reasoning in Counting22 Oct 2025
- 2025TasselNetV4: A vision foundation model for cross-scene, cross-scale, and cross-species plant counting25 Sep 2025
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluation17 Sep 2025
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidance18 Aug 2025
- 2025Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework11 Jul 2025
- 2025Open-World Object Counting in Videos18 Jun 2025
- 2025Single Domain Generalization for Few-Shot Counting via Universal Representation Matching22 May 2025
- 2025SDVPT: Semantic-Driven Visual Prompt Tuning for Open-World Object Counting24 Apr 2025
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward31 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
- 2024LVLM-COUNT: Enhancing the Counting Ability of Large Vision-Language Models1 Dec 2024
- 2024Facial Expression Recognition with Controlled Privacy Preservation and Feature Compensation29 Nov 2024
- 2024Text-guided Zero-Shot Object Localization18 Nov 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
- 2024Mutually-Aware Feature Learning for Few-Shot Object Counting19 Aug 2024
- 2024OVR: A Dataset for Open Vocabulary Temporal Repetition Counting in Videos24 Jul 2024
- 2024Zero-shot Object Counting with Good Exemplars6 Jul 2024
- 2024CountGD: Multi-Modal Open-World Counting5 Jul 2024
- 2024Learning Spatial Similarity Distribution for Few-shot Object Counting20 May 2024
- 2024UniFS: Universal Few-shot Instance Perception with Point Representations30 Apr 2024
- 2024DAVE -- A Detect-and-Verify Paradigm for Low-Shot Counting25 Apr 2024
- 2024A Recipe for CAC: Mosaic-based Generalized Loss for Improved Class-Agnostic Counting15 Apr 2024
- 2024Few-shot Object Localization19 Mar 2024
- 2024TFCounter:Polishing Gems for Training-Free Object Counting12 Mar 2024
- 2024OmniCount: Multi-label Object Counting with Semantic-Geometric Priors8 Mar 2024
- 2024A Simple-but-effective Baseline for Training-free Class-Agnostic Counting3 Mar 2024
- 2024Enhancing Zero-shot Counting via Language-guided Exemplar Learning8 Feb 2024
- 2023Count What You Want: Exemplar Identification and Few-shot Counting of Human Actions in the Wild28 Dec 2023
- 2023T-Rex: Counting by Visual Prompting22 Nov 2023
- 2023SQLNet: Scale-Modulated Query and Localization Network for Few-Shot Class-Agnostic Counting16 Nov 2023
- 2023Semantic Generative Augmentations for Few-Shot Counting26 Oct 2023
- 2023Zero-Shot Object Counting with Language-Vision Models22 Sep 2023
- 2023Interactive Class-Agnostic Object Counting11 Sep 2023
50 newest of 62 All 62 (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
- 2025SDVPT: Semantic-Driven Visual Prompt Tuning for Open-World Object Countingcited by 2
- 2026Count Anything at Any Granularitycited by 1
- 2026NumerosityVLM: A Cognitively Inspired Benchmark for Interpreting Numerosity Representations in Vision-Language Modelscited by 0
- 2026NumerosityVLM: A Cognitively Inspired Benchmark for Interpreting Numerosity Representations in Vision-Language Models15 Aug 2026
- 2026Count Anything at Any Granularity11 May 2026
- 2025SDVPT: Semantic-Driven Visual Prompt Tuning for Open-World Object Counting24 Apr 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
- 2023Counting Guidance for High Fidelity Text-to-Image Synthesiscited by 24
- 2023Semantic Generative Augmentations for Few-Shot Countingcited by 6
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidancecited by 4
- 2025CoDi -- an exemplar-conditioned diffusion model for low-shot countingcited by 1
- 2025CoDi -- an exemplar-conditioned diffusion model for low-shot counting23 Dec 2025
- 2025CountLoop: Training-Free High-Instance Image Generation via Iterative Agent Guidance18 Aug 2025
- 2023Semantic Generative Augmentations for Few-Shot Counting26 Oct 2023
- 2023Counting Guidance for High Fidelity Text-to-Image Synthesis30 Jun 2023
- 2022CounTR: Transformer-based Generalised Visual Countingcited by 79
- 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
- 2023Training-free Object Counting with Promptscited by 34
- 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
- 2025T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Countingcited by 19
12 most cited of 50 All 50 (JSON)
- 2026DualCount: Structurally Consistent Density and Point Modeling for Zero-Shot Object Counting14 Sep 2026
- 2026Object Counting Across Modalities: Taxonomies, Benchmarks, Applications, and Open Challenges24 Aug 2026
- 2026AdaCount: Training-Free Similarity-Guided Spatial and Feature Adaptation for Zero-Shot Object Counting2 Jul 2026
- 2026SynMVCrowd: A Large Synthetic Benchmark for Multi-view Crowd Counting and Localization25 Mar 2026
- 2026CountEx: Fine-Grained Counting via Exemplars and Exclusion23 Feb 2026
- 2026One-Shot Crowd Counting With Density Guidance For Scene Adaptation8 Feb 2026
- 2026OCCAM: Class-Agnostic, Training-Free, Prior-Free and Multi-Class Object Counting20 Jan 2026
- 2025Counting Through Occlusion: Framework for Open World Amodal Counting16 Nov 2025
- 2025Generalized-Scale Object Counting with Gradual Query Aggregation11 Nov 2025
- 2025TasselNetV4: A vision foundation model for cross-scene, cross-scale, and cross-species plant counting25 Sep 2025
- 2025Can Current AI Models Count What We Mean, Not What They See? A Benchmark and Systematic Evaluation17 Sep 2025
- 2025Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework11 Jul 2025
12 newest of 50 All 50 (JSON)