Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Counting
Min Shi, Hao Lu, Chen Feng, Chengxin Liu, Zhiguo Cao

TL;DR
This paper introduces a similarity-aware framework for class-agnostic counting that jointly learns feature representation and similarity metrics, significantly improving counting accuracy and robustness across datasets.
Contribution
It proposes a novel framework that models similarity from multiple aspects and learns it explicitly, advancing the state-of-the-art in class-agnostic counting.
Findings
Our models outperform existing CAC methods on FSC147 dataset.
BMNet+ demonstrates strong cross-dataset generality on CARPK.
Learnable similarity metrics improve counting robustness.
Abstract
Class-agnostic counting (CAC) aims to count all instances in a query image given few exemplars. A standard pipeline is to extract visual features from exemplars and match them with query images to infer object counts. Two essential components in this pipeline are feature representation and similarity metric. Existing methods either adopt a pretrained network to represent features or learn a new one, while applying a naive similarity metric with fixed inner product. We find this paradigm leads to noisy similarity matching and hence harms counting performance. In this work, we propose a similarity-aware CAC framework that jointly learns representation and similarity metric. We first instantiate our framework with a naive baseline called Bilinear Matching Network (BMNet), whose key component is a learnable bilinear similarity metric. To further embody the core of our framework, we extend…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVideo Surveillance and Tracking Methods · Artificial Intelligence in Healthcare · AI in cancer detection
