Learning Spatial Similarity Distribution for Few-shot Object Counting
Not on the map. Why?
Abstract (arXiv)
Few-shot object counting aims to count the number of objects in a query image that belong to the same class as the given exemplar images. Existing methods compute the similarity between the query image and exemplars in the 2D spatial domain and perform regression to obtain the counting number. However, these methods overlook the rich information about the spatial distribution of similarity on the exemplar images, leading to significant impact on matching accuracy. To address this issue, we propose a network learning Spatial Similarity Distribution (SSD) for few-shot object counting, which preserves the spatial structure of exemplar features and calculates a 4D similarity pyramid point-to-point between the query features and exemplar features, capturing the complete distribution information for each point in the 4D similarity space. We propose a Similarity Learning Module (SLM) which applies the efficient center-pivot 4D convolutions on the similarity pyramid to map different similarity distributions to distinct predicted density values, thereby obtaining accurate count. Furthermore, we also introduce a Feature Cross Enhancement (FCE) module that enhances query and exemplar features mutually to improve the accuracy of feature matching. Our approach outperforms state-of-the-art methods on multiple datasets, including FSC-147 and CARPK. Code is available at https://github.com/CBalance/SSD.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 21 of its 30 references that are in the map. First posted on arXiv 20 May 2024.
Builds on
21 of 30 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2017Mask R-CNNcited by 7,277
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2018Group Normalizationcited by 1,524
- 2021Hypercorrelation Squeeze for Few-Shot Segmentationcited by 193
- 2018Neighbourhood Consensus Networkscited by 174
- 2019Bayesian Loss for Crowd Count Estimation with Point Supervisioncited by 162
- 2017Drone-based Object Counting by Spatially Regularized Regional Proposal Networkcited by 156
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2021Learning To Count Everythingcited by 150
- 2015End-to-end people detection in crowded scenescited by 140
- 2018Class-Agnostic Countingcited by 85
9 more
- 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
- 2022A Low-Shot Object Counting Network With Iterative Prototype Adaptationcited by 65
- 2022Few-shot Object Counting with Similarity-Aware Feature Enhancementcited by 62
- 2022Rethinking Spatial Invariance of Convolutional Networks for Object Countingcited by 54
- 2023CrowdCLIP: Unsupervised Crowd Counting via Vision-Language Modelcited by 47
- 2022Domain-General Crowd Counting in Unseen Scenarioscited by 20
- 2021Object Counting: You Only Need to Look at Onecited by 13
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 2.
5 papers.
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Countingcited by 11
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approachescited by 7
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?cited by 2
- 2026Does it Really Count? Assessing Semantic Grounding in Text-Guided Class-Agnostic Countingcited by 2
- 2026One-Shot Crowd Counting With Density Guidance For Scene Adaptationcited by 0
- 2026Does it Really Count? Assessing Semantic Grounding in Text-Guided Class-Agnostic Counting4 May 2026
- 2026One-Shot Crowd Counting With Density Guidance For Scene Adaptation8 Feb 2026
- 2025What is the Right Embedding Space for Contrastive Learning in Referring Expression Counting?28 May 2025
- 2025A Survey on Class-Agnostic Counting: Advancements from Reference-Based to Open-World Text-Guided Approaches31 Jan 2025
- 2024Mind the Prompt: A Novel Benchmark for Prompt-based Class-Agnostic Counting24 Sep 2024