用近似查询加速球映射构建,保持结果可靠性
Exact and Approximate Range Queries for Efficient Ball Mapper Construction
- 采用球树与FAISS优化范围查询,分精确和近似两类加速
- 近似查询会删减球覆盖和图边,但不引入虚假连接
- 数据几何形状影响显著,高斯分布数据更敏感
Ball Mapper 是拓扑数据分析中用于总结有限度量数据集的工具,通过度量球覆盖数据并以图的形式编码其重叠关系。其构建过程需反复进行固定半径范围查询,对大规模或高维数据而言计算成本较高。本文研究两种加速方法:基于度量空间剪枝的球树结构,以及针对稠密向量优化相似性搜索的FAISS库。区分精确加速(保留完整范围集合)与近似搜索(球成员资格可能改变)。针对近似查询,提出确定性的加性和乘性误差模型,分析其对覆盖半径、地标点间距及图结构的影响。在具有不同几何特性的合成数据集上评估多种FAISS索引配置。实验表明,所测试的近似索引行为保守:仅移除球成员资格和图边,不会引入虚假成员或额外边。这些影响的严重程度强烈依赖于数据几何,各向同性高斯数据集比聚类或低维结构数据更敏感。
原文摘要 · Abstract (English)
Ball Mapper is a tool in topological data analysis that summarizes a finite metric dataset by covering it with metric balls and encoding their overlaps as a graph. Its construction requires repeated fixed-radius range queries, which can become computationally expensive for large or high-dimensional datasets. This work studies two approaches to accelerating this step: ball tree data structures, which use metric-space pruning, and the FAISS library, which uses optimized similarity-search routines for dense vectors. We distinguish between exact acceleration, where the range sets are preserved, and approximate search, where ball memberships may change. For approximate range queries, we formulate deterministic additive and multiplicative error models and show how these errors affect the covering radius, landmark separation, and graph structure of Ball Mapper. We then evaluate several FAISS index configurations on synthetic datasets with different geometries. The experiments show that the tested approximate indexes behave conservatively. They remove ball memberships and graph edges but do not introduce false-positive memberships or spurious edges. The severity of these effects depends strongly on dataset geometry, with the isotropic Gaussian dataset being more sensitive than clustered or low-dimensional structured data.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。