arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.13425cs.CG
收藏

适用于Kullback-Leibler散度及其他可分解Bregman散度的快速Kd树

Fast Kd-trees for the Kullback--Leibler Divergence and other Decomposable Bregman Divergences

Tuyen Pham, Hubert Wagner

AI总结:

本文证明Kd树可扩展至任意Bregman散度空间(三角不等式非剪枝必需),提出可分解Bregman散度的高效最近邻搜索算法与C++实现,支持KL散度,在维度≤100场景下较朴素方法提速两个数量级。

摘要:

本文的贡献涵盖理论与实现成果。首先,我们证明Kd树可扩展至以任意Bregman散度度量距离的空间,这意外表明三角不等式对Kd树的正确剪枝并非必需。其次,我们提出可分解Bregman散度的高效最近邻搜索算法及C++实现,支持Kullback-Leibler散度(相对熵)——概率向量间的常用距离,广泛应用于统计与机器学习。基准测试显示,该实现高效处理精确与近似最近邻查询,在维度≤100的实际场景中,较朴素方法提速两个数量级,且比竞争方法更简单高效。

英文摘要:

The contributions of the paper span theoretical and implementational results. First, we prove that Kd-trees can be extended to spaces in which the distance is measured with an arbitrary Bregman divergence. Perhaps surprisingly, this shows that the triangle inequality is not necessary for correct pruning in Kd-trees. Second, we offer an efficient algorithm and C++ implementation for nearest neighbour search for decomposable Bregman divergences. The implementation supports the Kullback--Leibler divergence (relative entropy) which is a popular distance between probability vectors and is commonly used in statistics and machine learning. This is a step toward broadening the usage of computational geometry algorithms. Our benchmarks show that our implementation efficiently handles both exact and approximate nearest neighbour queries. Compared to a naive approach, we achieve two orders of magnitude speedup for practical scenarios in dimension up to 100. Our solution is simpler and more efficient than competing methods.

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

↑