用于相似性搜索的扩展向量
Spreading vectors for similarity search
摘要:
多维数据分布的离散化是现代索引方法的基本步骤。现有技术在训练数据上学习量化器的参数以获得最佳性能,从而使量化器适应数据。在这项工作中,我们建议扭转这种范式,并适应量化器的数据:我们训练一个神经网络,最后一层形成一个固定的无参数量化器,如超球体的预定义点。作为一个代理目标,我们设计和训练一个神经网络,有利于均匀性的球形潜在空间,同时保持映射后的邻域结构。我们提出了一个新的正则化来自Kozachenko-Leonenko差分熵估计,以加强均匀性,并结合它与一个本地意识的三重损失。实验表明,我们的端到端的方法优于大多数学习的量化方法,并与广泛采用的基准测试的最先进的竞争力。此外,我们表明,在没有量化步骤的情况下训练几乎没有精度差异,但产生了一个通用的催化剂,可以与任何后续的量化器。
英文摘要:
Discretizing multi-dimensional data distributions is a fundamental step of modern indexing methods. State-of-the-art techniques learn parameters of quantizers on training data for optimal performance, thus adapting quantizers to the data. In this work, we propose to reverse this paradigm and adapt the data to the quantizer: we train a neural net which last layer forms a fixed parameter-free quantizer, such as pre-defined points of a hyper-sphere. As a proxy objective, we design and train a neural network that favors uniformity in the spherical latent space, while preserving the neighborhood structure after the mapping. We propose a new regularizer derived from the Kozachenko--Leonenko differential entropy estimator to enforce uniformity and combine it with a locality-aware triplet loss. Experiments show that our end-to-end approach outperforms most learned quantization methods, and is competitive with the state of the art on widely adopted benchmarks. Furthermore, we show that training without the quantization step results in almost no difference in accuracy, but yields a generic catalyzer that can be applied with any subsequent quantizer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。