用于剽窃检测的准确高效基于范围的近邻搜索的分组测试
Group Testing for Accurate and Efficient Range-Based Near Neighbor Search for Plagiarism Detection
AI总结:
提出基于二分拆分的自适应分组测试框架,在无精度损失下实现十倍以上加速,并具备离线建库、流式适配和免调参优势。
摘要:
本工作提出了一种用于基于范围的高维近邻搜索问题的自适应分组测试框架。我们的方法基于余弦距离阈值,将数据库中的每个项目高效地标记为查询点的邻居或非邻居,而无需穷举搜索。与其他用于大规模检索的方法一样,我们的方法利用了数据库中大多数项目与查询无关的假设。然而,它并不假设查询向量与最不相关邻居之间的余弦相似度,以及与最不相关的非邻居之间的余弦相似度存在很大差异。遵循基于二分拆分的多阶段自适应分组测试算法,我们在每一步将待搜索的项目集合分成两半,并在越来越小的子集上执行点积测试,其中许多子集我们能够剪枝掉。我们表明,使用基于softmax的特征,在各种大型数据集上,我们的方法相比穷举搜索实现了十倍以上的加速,且没有精度损失。基于经过经验验证的余弦距离分布模型,我们对每个查询的距离计算预期数量以及一个池将被剪枝的概率进行了理论分析。我们的方法具有以下特点:(i)与其他方法不同,它隐式利用了余弦距离的有用分布特性;(ii)所有所需的数据结构均完全离线创建;(iii)它对真实近邻的数量不施加任何强假设;(iv)它可适应新向量被动态添加到数据库的流式设置;以及(v)它不需要任何参数调整。我们技术的高召回率使其特别适合剽窃检测场景,在这些场景中,报告与查询足够相似的每个数据库项目非常重要。
英文摘要:
This work presents an adaptive group testing framework for the range-based high dimensional near neighbor search problem. Our method efficiently marks each item in a database as neighbor or non-neighbor of a query point, based on a cosine distance threshold without exhaustive search. Like other methods for large scale retrieval, our approach exploits the assumption that most of the items in the database are unrelated to the query. However, it does not assume a large difference between the cosine similarity of the query vector with the least related neighbor and that with the least unrelated non-neighbor. Following a multi-stage adaptive group testing algorithm based on binary splitting, we divide the set of items to be searched into half at each step, and perform dot product tests on smaller and smaller subsets, many of which we are able to prune away. We show that, using softmax-based features, our method achieves a more than ten-fold speed-up over exhaustive search with no loss of accuracy, on a variety of large datasets. Based on empirically verified models for the distribution of cosine distances, we present a theoretical analysis of the expected number of distance computations per query and the probability that a pool will be pruned. Our method has the following features: (i) It implicitly exploits useful distributional properties of cosine distances unlike other methods; (ii) All required data structures are created purely offline; (iii) It does not impose any strong assumptions on the number of true near neighbors; (iv) It is adaptable to streaming settings where new vectors are dynamically added to the database; and (v) It does not require any parameter tuning. The high recall of our technique makes it particularly suited to plagiarism detection scenarios where it is important to report every database item that is sufficiently similar item to the query.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。