arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.06817cs.DScs.AIcs.DB
收藏

向量集的高效近似搜索

Efficient Approximate Search for Sets of Vectors

Technion(以色列理工学院)

Michael Leybovich, Oded Shmueli

摘要:

我们考虑两个集合$A$和$B$的向量之间的相似性度量,其平衡向量对之间的平均和最大余弦距离,一个来自集合$A$,一个来自集合$B$。作为这项措施的动机,我们提出了血统跟踪数据库中。为了实际实现这种度量,我们需要一种近似搜索算法,该算法在给定向量集合$A$和向量集合$B_1,...,B_n$的情况下,快速定位使相似性度量最大化的集合$B_i$。对于所有集合都是单例集合(基本上每个集合都是单个向量)的情况,存在已知的有效近似搜索算法,例如,树搜索算法、局部敏感散列(LSH)、矢量量化(VQ)和邻近图算法的近似版本。在这项工作中,我们提出了近似搜索算法的一般情况下。这些算法的基本思想是通过一个“长”的单个向量来编码一组向量。所提出的近似方法实现了显着的性能增益,优化,精确的搜索向量集。

英文摘要:

We consider a similarity measure between two sets $A$ and $B$ of vectors, that balances the average and maximum cosine distance between pairs of vectors, one from set $A$ and one from set $B$. As a motivation for this measure, we present lineage tracking in a database. To practically realize this measure, we need an approximate search algorithm that given a set of vectors $A$ and sets of vectors $B_1,...,B_n$, the algorithm quickly locates the set $B_i$ that maximizes the similarity measure. For the case where all sets are singleton sets, essentially each is a single vector, there are known efficient approximate search algorithms, e.g., approximated versions of tree search algorithms, locality-sensitive hashing (LSH), vector quantization (VQ) and proximity graph algorithms. In this work, we present approximate search algorithms for the general case. The underlying idea in these algorithms is encoding a set of vectors via a "long" single vector. The proposed approximate approach achieves significant performance gains over an optimized, exact search on vector sets.

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

↑