[论文解读] Collaborative Learning for Extremely Low Bit Asymmetric Hashing
本文提出多头非对称哈希(MAH),一种协同学习框架,联合训练多种哈希码长度(例如4、8、16位),以提升极低比特哈希的性能。通过利用共享流形知识和来自较长码的多视角正则化,MAH在CIFAR-10上实现了SOTA级别的8位检索性能——超越了48位码的性能,MAP达到94.3%。
Hashing techniques are in great demand for a wide range of real-world applications such as image retrieval and network compression. Nevertheless, existing approaches could hardly guarantee a satisfactory performance with the extremely low-bit (e.g., 4-bit) hash codes due to the severe information loss and the shrink of the discrete solution space. In this paper, we propose a novel extit{Collaborative Learning} strategy that is tailored for generating high-quality low-bit hash codes. The core idea is to jointly distill bit-specific and informative representations for a group of pre-defined code lengths. The learning of short hash codes among the group can benefit from the manifold shared with other long codes, where multiple views from different hash codes provide the supplementary guidance and regularization, making the convergence faster and more stable. To achieve that, an asymmetric hashing framework with two variants of multi-head embedding structures is derived, termed as Multi-head Asymmetric Hashing (MAH), leading to great efficiency of training and querying. Extensive experiments on three benchmark datasets have been conducted to verify the superiority of the proposed MAH, and have shown that the 8-bit hash codes generated by MAH achieve $94.3\%$ of the MAP (Mean Average Precision (MAP)) score on the CIFAR-10 dataset, which significantly surpasses the performance of the 48-bit codes by the state-of-the-arts in image retrieval tasks.
研究动机与目标
- 解决极低比特哈希(如4位)因信息丢失和解空间受限导致的严重性能下降问题。
- 克服现有方法的局限性:这些方法要么为每种码长重新训练,要么直接截断长码,导致量化误差。
- 开发一个统一的训练框架,通过共享知识同时学习多种哈希码长度,以提升收敛性和稳定性。
- 在极低比特长度(如8位)下实现高检索准确率,同时不牺牲性能,并降低存储和训练成本。
提出的方法
- 提出一种多头非对称哈希(MAH)框架,包含两种变体:平面和级联多头结构,用于跨多个码长的联合学习。
- 引入一种协同学习策略,使短哈希码从同一组中较长码提供的流形正则化和补充指导中获益。
- 设计一种损失函数,包含可学习的系数(α, β, 1),以平衡4位、8位和16位嵌入头的贡献,实现比特特定的知识蒸馏。
- 采用非对称深度哈希,为查询和数据库项使用独立的编码器,相比对称方法降低了训练复杂度。
- 通过将长码中的语义和结构信息蒸馏到短码中,提升低比特码的质量。
- 采用端到端学习优化训练过程,所有码长在单次训练中同时优化,实现高效推理和存储。
实验结果
研究问题
- RQ1在不重新训练的前提下,跨多个码长的协同学习是否能提升极低比特哈希(如4位)的性能?
- RQ2在训练过程中,短码与长码之间共享流形知识如何影响收敛速度和稳定性?
- RQ3在低比特深度下,最优的码长配置和损失加权系数组合是什么,以最大化检索准确率?
- RQ4与现有深度哈希方法相比,所提方法是否能以显著降低的存储成本实现SOTA性能?
- RQ5使用多头结构结合非对称学习是否能带来比单码长基线更好的泛化能力与更快的收敛速度?
主要发现
- MAH生成的8位哈希码在CIFAR-10上达到94.3%的平均平均精度(MAP),超越了SOTA方法的48位码性能。
- 当损失系数设为α=4、β=2时,MAH训练的4位哈希码达到79.86%的MAP,优于大多数12位码,甚至部分48位码。
- MAH的训练收敛速度显著加快,第6个epoch即达到最优性能,而DAPH需约19个epoch才稳定。
- MAH将每轮训练时间缩短至36.75秒,显著快于DAPH的27.16秒/轮,且可在单次训练中同时学习3种码长。
- 与48位基线相比,存储成本降低了83.33%至91.67%,因为数据库哈希码的存储量随码长线性增长。
- 采用最优损失系数(α=4,β=2)的级联多头结构在8位码上实现了最高的MAP(94.35%)和Precision@5000(94.70%),证实了损失加权平衡的重要性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。