可更新的平衡索引用于设备端快速搜索与自动选择模型
Updatable Balanced Index for Fast On-device Search with Auto-selection Model
AI总结:
UnIS通过可更新的平衡索引和自动选择模型,提升设备端搜索效率,实现索引构造、插入和搜索的显著加速。
摘要:
边缘设备上的传感器如激光雷达和GPS接收器收集了多种类型的边缘数据,如2D地理定位和3D点云。在设备端进行搜索,如k近邻搜索(kNN搜索)和半径搜索,常用于启用快速分析和学习技术,如使用kNN进行k均值数据集简化。为了保持高搜索效率,一种代表性的方法是利用平衡多叉KD树(BMKD树)。然而,该索引的性能提升有限,主要由于构造开销大、不灵活且无法实时插入,以及查询性能不一致。在本文中,我们提出了UnIS以解决上述限制。我们首先通过利用数据集分布来预测分割超平面,加速BMKD树的构造过程。为了使不断生成的数据可搜索,我们提出了一种选择性子树重建方案,通过减少参与的数据点数量来加速插入期间的重新平衡。然后,我们提出了一种自动选择模型,通过在多个策略中自动选择最优的搜索策略来提高查询性能。实验结果表明,UnIS在索引构造、插入、kNN搜索和半径搜索方面分别比BMKD树实现了平均加速17.96倍、1.60倍、7.15倍和1.09倍。我们进一步验证了其在边缘设备上加速数据集简化的有效性,比Lloyd算法快217倍。
英文摘要:
Diverse types of edge data, such as 2D geo-locations and 3D point clouds, are collected by sensors like lidar and GPS receivers on edge devices. On-device searches, such as k-nearest neighbor (kNN) search and radius search, are commonly used to enable fast analytics and learning technologies, such as k-means dataset simplification using kNN. To maintain high search efficiency, a representative approach is to utilize a balanced multi-way KD-tree (BMKD-tree). However, the index has shown limited gains, mainly due to substantial construction overhead, inflexibility to real-time insertion, and inconsistent query performance. In this paper, we propose UnIS to address the above limitations. We first accelerate the construction process of the BMKD-tree by utilizing the dataset distribution to predict the splitting hyperplanes. To make the continuously generated data searchable, we propose a selective sub-tree rebuilding scheme to accelerate rebalancing during insertion by reducing the number of data points involved. We then propose an auto-selection model to improve query performance by automatically selecting the optimal search strategy among multiple strategies for an arbitrary query task. Experimental results show that UnIS achieves average speedups of 17.96x in index construction, 1.60x in insertion, 7.15x in kNN search, and 1.09x in radius search compared to the BMKD-tree. We further verify its effectiveness in accelerating dataset simplification on edge devices, achieving a speedup of 217x over Lloyd's algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。