arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.08354cs.CV
收藏

表示、比较和学习:一个用于类无关计数的相似性感知框架

Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic Counting

Huazhong University of Science and Technology(华中科技大学)

Min Shi, Hao Lu, Chen Feng, Chengxin Liu, Zhiguo Cao

摘要:

类不可知计数(CAC)的目的是在给定少量样本的情况下对查询图像中的所有实例进行计数。一个标准的管道是从样本中提取视觉特征,并将它们与查询图像进行匹配以推断对象计数。该管道中的两个基本组件是特征表示和相似性度量。现有的方法要么采用预先训练好的网络来表示特征,要么学习一个新的网络,同时应用具有固定内积的朴素相似性度量。我们发现这种模式会导致嘈杂的相似性匹配,从而损害计数性能。在这项工作中,我们提出了一个相似性感知CAC框架,共同学习表示和相似性度量。我们首先实例化我们的框架与一个天真的基线称为双线性匹配网络(BMNet),其关键组成部分是一个可学习的双线性相似性度量。为了进一步体现我们框架的核心,我们将BMNet扩展到BMNet+,从三个方面对相似性进行建模:1)通过自相似性表示实例,以增强对类内变化的特征鲁棒性; 2)动态比较相似性,以关注每个样本的关键模式; 3)从监督信号中学习,对匹配结果施加显式约束。在最近的CAC数据集FSC 147上进行的大量实验表明,我们的模型显着优于最先进的CAC方法。此外,我们还验证了BMNet和BMNet+在汽车计数数据集CARPK上的跨数据集通用性。代码位于tiny.one/BMNet

英文摘要:

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 BMNet to BMNet+ that models similarity from three aspects: 1) representing the instances via their self-similarity to enhance feature robustness against intra-class variations; 2) comparing the similarity dynamically to focus on the key patterns of each exemplar; 3) learning from a supervision signal to impose explicit constraints on matching results. Extensive experiments on a recent CAC dataset FSC147 show that our models significantly outperform state-of-the-art CAC approaches. In addition, we also validate the cross-dataset generality of BMNet and BMNet+ on a car counting dataset CARPK. Code is at tiny.one/BMNet

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑