[论文解读] Central Similarity Quantization for Efficient Image and Video Retrieval
本文提出中心相似性量化(CSQ),一种新颖的深度哈希方法,通过基于全局中心相似性度量学习哈希码,提升了图像和视频检索性能。与优化局部成对或三元组相似性的方法不同,CSQ促使相似数据向预定义的、彼此充分分离的哈希中心收敛——这些中心通过Hadamard矩阵或伯努利采样构建,从而在大规模基准测试中实现了相比先前方法3%-20%的mAP性能提升。
Existing data-dependent hashing methods usually learn hash functions from pairwise or triplet data relationships, which only capture the data similarity locally, and often suffer from low learning efficiency and low collision rate. In this work, we propose a new \emph{global} similarity metric, termed as \emph{central similarity}, with which the hash codes of similar data pairs are encouraged to approach a common center and those for dissimilar pairs to converge to different centers, to improve hash learning efficiency and retrieval accuracy. We principally formulate the computation of the proposed central similarity metric by introducing a new concept, i.e., \emph{hash center} that refers to a set of data points scattered in the Hamming space with a sufficient mutual distance between each other. We then provide an efficient method to construct well separated hash centers by leveraging the Hadamard matrix and Bernoulli distributions. Finally, we propose the Central Similarity Quantization (CSQ) that optimizes the central similarity between data points w.r.t.\ their hash centers instead of optimizing the local similarity. CSQ is generic and applicable to both image and video hashing scenarios. Extensive experiments on large-scale image and video retrieval tasks demonstrate that CSQ can generate cohesive hash codes for similar data pairs and dispersed hash codes for dissimilar pairs, achieving a noticeable boost in retrieval performance, i.e. 3\%-20\% in mAP over the previous state-of-the-arts. The code is at: \url{https://github.com/yuanli2333/Hadamard-Matrix-for-hashing}
研究动机与目标
- 解决依赖局部相似性关系的成对/三元组哈希方法在效率和判别能力方面的不足。
- 通过引入基于哈希中心的全局相似性度量,提升哈希学习效率与检索准确性。
- 开发一种通用且可扩展的方法,适用于图像与视频检索任务,且计算开销极低。
- 验证预计算的、通过解析方法构建的哈希中心在检索性能与训练效率方面优于学习得到的中心。
提出的方法
- 引入‘哈希中心’概念——即在汉明空间中具有足够相互汉明距离的二值向量集合,以确保可分性。
- 利用Hadamard矩阵构建哈希中心,以实现最大化的成对汉明距离,确保强分离性。
- 通过伯努利分布的随机采样交替生成哈希中心,已被证明可产生充分分离的中心。
- 提出中心相似性量化(CSQ),一种深度学习框架,通过优化数据哈希码与其对应哈希中心之间的汉明距离进行训练。
- 采用CNN主干网络进行特征提取,并通过可微分的哈希层生成二值码,端到端训练,损失函数为中心相似性损失。
- 采用量化损失以强制输出为二值结果,确保与汉明空间检索的兼容性。
实验结果
研究问题
- RQ1基于哈希中心的全局相似性度量是否能优于基于成对或三元组的局部相似性度量?
- RQ2使用解析构造的哈希中心(通过Hadamard或伯努利方法)是否能获得优于学习得到的中心的检索性能?
- RQ3与传统成对相似性相比,中心相似性学习在大规模图像与视频检索中对mAP和训练效率有何影响?
- RQ4在训练目标中结合中心相似性损失与成对相似性损失或量化损失会产生何种影响?
主要发现
- CSQ在图像与视频检索基准上达到最先进性能,相比先前方法mAP提升达3%至20%。
- 在ImageNet上,CSQ使用64位码时mAP@1000达到87.3%,优于RepMet Center(82.7%)和Face Center(74.4%)。
- 在UCF101上,CSQ使用32位码时mAP@100达到87.5%,优于Magnet Center(79.3%)和RepMet Center(82.9%)。
- 消融实验表明,向CSQ中添加成对相似性损失仅带来微小的mAP增益,而移除中心相似性损失则导致性能显著下降。
- 尽管计算成本更低,预计算的哈希中心(通过Hadamard或伯努利方法)始终优于学习得到的中心(如Face Center、Magnet Center、RepMet Center)。
- 汉明距离的热力图显示,CSQ能产生紧凑的类内聚集性与良好的类间分离性,且不相似样本在汉明空间中被充分分离。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。