arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.04917cs.LGcs.CVcs.IR
收藏

学习使用语义相似性度量和经验KL发散度进行散列

Learning to hash with semantic similarity metrics and empirical KL divergence

Intuition Machines, Inc.(直觉机器公司)

Heikki Arponen, Tom E. Bishop

摘要:

学习哈希是从海量数据库中进行精确和近似最近邻搜索的有效范例。二进制散列码通常通过舍入来自CNN的输出特征从图像中提取,所述CNN在监督的二进制相似/不相似任务上训练。这种方法的缺点是:(i)得到的代码不一定捕获输入数据的语义相似性(ii)舍入导致信息丢失,表现为检索性能下降,以及(iii)仅使用类相似性作为目标可能导致琐碎的解决方案,简单地编码分类器输出,而不是学习更复杂的关系,这是大多数性能指标检测不到的。我们克服了(i)通过一个新的损失函数,鼓励学习功能的相对哈希码距离,以匹配那些来自他们的目标。我们通过对网络输出和二进制目标分布之间的KL发散的可微估计来解决(ii),当特征四舍五入到二进制时,导致最小的信息损失。最后,我们解决(iii)通过专注于层次精度度量。在CIFAR-100、ImageNet和Conceptual Captions数据集上,使用从WordNet标签层次结构或句子嵌入中推断出的相似性,通过语义图像检索证明了该方法的效率。

英文摘要:

Learning to hash is an efficient paradigm for exact and approximate nearest neighbor search from massive databases. Binary hash codes are typically extracted from an image by rounding output features from a CNN, which is trained on a supervised binary similar/ dissimilar task. Drawbacks of this approach are: (i) resulting codes do not necessarily capture semantic similarity of the input data (ii) rounding results in information loss, manifesting as decreased retrieval performance and (iii) Using only class-wise similarity as a target can lead to trivial solutions, simply encoding classifier outputs rather than learning more intricate relations, which is not detected by most performance metrics. We overcome (i) via a novel loss function encouraging the relative hash code distances of learned features to match those derived from their targets. We address (ii) via a differentiable estimate of the KL divergence between network outputs and a binary target distribution, resulting in minimal information loss when the features are rounded to binary. Finally, we resolve (iii) by focusing on a hierarchical precision metric. Efficiency of the methods is demonstrated with semantic image retrieval on the CIFAR-100, ImageNet and Conceptual Captions datasets, using similarities inferred from the WordNet label hierarchy or sentence embeddings.

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

↑