Decoupled Feature Matching for Few-shot Counting and Localization
Few-shot counting (FSC) aims to train a generalized visual counting model that can count any novel category given a small number of support samples. Current prevalent approaches treat FSC as a feature-matching task, leveraging attention to aggregate information from all other query patches or supports for each query patch. However, we notice that this operation blends target features with non-target features, making it difficult for the model to differentiate between targets and non-targets, thereby impacting counting accuracy. To tackle this issue, we develop a Decoupled Feature Matching Module (DFMM), which decouples target and non-target regions and conducts self-aggregation within respective regions. Furthermore, we design a Consistency Alignment Loss (CAL) to facilitate discriminative ability between targets and non-targets across multiple scales. Besides, we adopt a localization paradigm for counting and propose an Anchor-based Assignment Strategy to stabilize the optimization process and improve counting accuracy. Experiments on FSC147 and CARPK demonstrate that our method can achieve performance on par with state-of-the-art methods. Qualitative and quantitative experiments both confirm the efficacy of our proposed components.
Authors
- Xuanting Xie (ORCID: https://orcid.org/0000-0003-3801-5876)
- Malu Zhang (ORCID: https://orcid.org/0000-0002-2345-0974)
- Chao Zhai (ORCID: https://orcid.org/0000-0002-2039-9878)
- Fan Li (ORCID: https://orcid.org/0000-0002-2807-5720)
- Fan Zhang (ORCID: https://orcid.org/0000-0003-2176-3835)
- Wenyu Chen (ORCID: https://orcid.org/0000-0002-9933-8014)
Institutions
- University of Electronic Science and Technology of China (CN)
- Hong Kong University of Science and Technology (HK)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10887922
- Primary Topic
- Video Surveillance and Tracking Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China