[Paper Review] A Low-Shot Object Counting Network With Iterative Prototype Adaptation
LOCA proposes a novel low-shot object counting network that iteratively fuses exemplar shape and appearance information into adaptive object prototypes, significantly improving localization and count accuracy. It achieves state-of-the-art performance on FSC147 across few-shot, one-shot, and zero-shot settings, with a 33.4% relative RMSE improvement in few-shot and 16.3% in zero-shot scenarios.
We consider low-shot counting of arbitrary semantic categories in the image using only few annotated exemplars (few-shot) or no exemplars (no-shot). The standard few-shot pipeline follows extraction of appearance queries from exemplars and matching them with image features to infer the object counts. Existing methods extract queries by feature pooling which neglects the shape information (e.g., size and aspect) and leads to a reduced object localization accuracy and count estimates. We propose a Low-shot Object Counting network with iterative prototype Adaptation (LOCA). Our main contribution is the new object prototype extraction module, which iteratively fuses the exemplar shape and appearance information with image features. The module is easily adapted to zero-shot scenarios, enabling LOCA to cover the entire spectrum of low-shot counting problems. LOCA outperforms all recent state-of-the-art methods on FSC147 benchmark by 20-30% in RMSE on one-shot and few-shot and achieves state-of-the-art on zero-shot scenarios, while demonstrating better generalization capabilities.
Motivation & Objective
- Address the limitation of existing few-shot counting methods that neglect object shape information during prototype extraction, leading to poor localization and count accuracy.
- Develop a unified framework that supports the entire spectrum of low-shot counting—few-shot, one-shot, and zero-shot—using a single architecture.
- Improve generalization by explicitly modeling exemplar shape and adapting prototypes using image-wide appearance features, rather than relying on fixed-size pooling.
- Demonstrate superior performance and robustness on the FSC147 benchmark and cross-dataset generalization on CARPK.
Proposed method
- Introduce a new Object Prototype Extraction (OPE) module that separates and processes exemplar shape and appearance queries independently.
- Iteratively refine object prototypes by fusing exemplar appearance with global image features, enabling better generalization to unseen instances of the same class.
- Use a learnable iterative adaptation mechanism that updates prototypes across multiple steps, improving feature discrimination and localization precision.
- Apply object count normalization in the loss function ($\mathcal{L}_{OSE}$) to emphasize difficult, high-density cases.
- Incorporate auxiliary supervision on each OPE block to stabilize training and enhance feature quality across iterations.
- Adapt the framework to zero-shot scenarios by using attention or proposal-based methods to implicitly identify exemplars without annotations.

Experimental results
Research questions
- RQ1Can explicit modeling of exemplar shape information improve object localization and count accuracy in low-shot object counting?
- RQ2Does iterative fusion of exemplar appearance with global image features lead to better generalization than fixed-size pooling in prototype construction?
- RQ3Can a unified architecture achieve state-of-the-art performance across few-shot, one-shot, and zero-shot counting benchmarks?
- RQ4How does the proposed iterative prototype adaptation mechanism compare to end-to-end learned similarity functions in terms of accuracy and robustness?
- RQ5To what extent does the method generalize to unseen datasets and object scales?
Key findings
- LOCA achieves a 33.4% relative RMSE improvement over prior state-of-the-art methods on the FSC147 few-shot benchmark.
- On the zero-shot setting, LOCA achieves state-of-the-art performance with a 16.3% relative RMSE improvement.
- The method demonstrates strong cross-dataset generalization, achieving a 9.2% relative RMSE improvement on the CARPK car counting dataset.
- Ablation studies show that object count normalization in the loss function reduces MAE by 11%, and auxiliary losses in OPE blocks reduce RMSE by 17%.
- Qualitative results confirm that LOCA outperforms baselines in counting small, large, and mixed-size objects, especially in densely populated scenes.
- The OPE module’s design is the primary driver of performance, as shown by ablation on backbone pretraining, input resolution, and prototype size.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.