# 近似最近邻搜索

近似最近邻（ANN）搜索是一类算法：给定高维空间中的 n 个点，将它们预处理成索引，使得查询能够快速返回靠近查询点的点，同时允许受控的精确性损失。问题本身很古老：给定度量空间中的 n 个点 P，预处理 P 以回答查询，找到 P 中离查询 q 最近的点。<sup>[1](https://dl.acm.org/doi/abs/10.1145/276698.276876)</sup> 对于大维度 d，经典精确解相比暴力法几乎没有改进，暴力法会将查询与每个数据点比较。<sup>[1](https://dl.acm.org/doi/abs/10.1145/276698.276876)</sup> ANN 方法通过返回近邻而不是最近邻来绕开这一点。

有两个量衡量“近似”。在 c-近似最近邻问题中，对于某个近似因子 \( c > 1 \)<sup>[2](https://theoryofcomputing.org/articles/v008a014/v008a014.pdf)</sup>，算法可以报告距离在查询到真实最近点距离的 c 倍以内的任意点；等价地，(1+ε)-近似最近邻是一个到查询的距离在真实最近距离的 (1+ε) 倍以内的点。<sup>[3](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/03%20AMNSW%20-%20JACM.pdf)</sup> 在实践中，准确率通常报告为召回率@k：索引返回的真实 k 个最近邻的平均比例。<sup>[4](https://proceedings.neurips.cc/paper_files/paper/2023/file/d0ac28b79816b51124fcc804b2496a36-Paper-Conference.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 准确率指标 | 召回率@k，即返回的真实 k 个最近邻的平均比例<sup>[4](https://proceedings.neurips.cc/paper_files/paper/2023/file/d0ac28b79816b51124fcc804b2496a36-Paper-Conference.pdf)</sup> |
| LSH 保证 | 对于所引构造，空间 \( O(d \cdot n + n^{1+1/c} \log^{2} n \log \log n) \) 和查询时间 \( O(d \cdot n^{1/c} \log^{2} n \log \log n) \)；指数取决于度量，对于欧几里得空间，LSH 达到约 \( 1/c^{2} \)<sup>[2](https://theoryofcomputing.org/articles/v008a014/v008a014.pdf)</sup> |
| 实际准确率 | 先进的 ANN 在相比线性扫描有数百到数千倍加速的同时，召回率可超过 99%<sup>[5](https://helios2.mi.parisdescartes.fr/~themisp/publications/bulletin23.pdf)</sup> |
| 主导家族 | 在目标召回率下，图索引（HNSW、NSG、Vamana）在每次查询比较的点数上比 IVF/LSH 高效一个数量级<sup>[6](https://harsha-simhadri.org/pubs/Filtered-DiskANN23.pdf)</sup> |
| 十亿规模 | DiskANN 在单台 16 核节点、64 GB RAM 和一块 SSD 上，以超过 5,000 QPS、低于 3 ms 平均延迟、95%+ 的 1-召回率@1 服务 SIFT1B<sup>[7](https://harsha-simhadri.org/pubs/DiskANN19.pdf)</sup> |
| 主要调节旋钮（图） | efSearch 在召回率与延迟之间权衡；更高的值会进行更多导航，从而提高二者<sup>[8](https://services.google.com/fh/files/misc/scann_for_alloydb_whitepaper.pdf)</sup> |

## 工作原理

四类算法占主导：基于哈希、基于树、基于量化和基于图的方法。<sup>[9](https://www.vldb.org/pvldb/vol14/p1964-wang.pdf)</sup>

**哈希。** [局部敏感哈希](https://www.edgepedia.org/zh/locality-sensitive-hashing)（LSH）用若干函数对点进行哈希，这些函数的选择使得相近对象发生碰撞的概率远高于相距较远的对象；然后通过检索查询所在桶中的点来找到近邻。<sup>[10](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/12%20lsh04.pdf)</sup> 基于 LSH 的结构消除了对维度的指数依赖：空间 \( O(d \cdot n + n^{1+1/c} \log^{2} n \log \log n) \) 和查询时间 \( O(d \cdot n^{1/c} \log^{2} n \log \log n) \)。<sup>[2](https://theoryofcomputing.org/articles/v008a014/v008a014.pdf)</sup>

**树与划分。** kd树等树索引划分空间并剪枝；BBD树保留了 kd树的效率，并且在高度聚类的数据上更稳健，而在这种数据上 kd树的性能可能差得多。<sup>[3](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/03%20AMNSW%20-%20JACM.pdf)</sup>

**图。** 图索引将每个点与附近点相连，并通过贪心遍历回答查询。精确性在这里代价高昂：如果贪心搜索必须为任何查询找到精确最近邻，那么图必须包含德劳内图作为子图，而对于大 d，德劳内图具有巨大的节点度，无法在合理时间内构造。<sup>[11](https://proceedings.mlr.press/v119/prokhorenkova20a/prokhorenkova20a.pdf)</sup> 近似图则接受偶尔的遗漏。

**量化。** ScaNN 的各向异性变体更重地惩罚与原始向量平行的量化误差，以增加低内积的误差为代价，换取高内积上更好的准确率。<sup>[12](https://research.google/blog/announcing-scann-efficient-vector-similarity-search/)</sup>

## 如何实施

实践者首先选择索引家族。在 Faiss 中，唯一保证精确结果的索引是 IndexFlatL2 或 IndexFlatIP，它作为所有其他索引的基线。<sup>[13](https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index)</sup> 当内存不是问题时，推荐 HNSW：每个向量有 M（4 到 64）条链接，M 越高越准确但占用更多 RAM，每个向量的内存为 \( (d \cdot 4 + M \cdot 2 \cdot 4) \) 字节，速度与准确率的权衡通过 efSearch 设置。<sup>[13](https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index)</sup> 典型的 M 值 8 到 64 覆盖大多数工作负载，16 到 32 是常见的最佳区间。<sup>[14](https://milvus.io/learn-milvus/hnsw)</sup>

对于更大的语料库，IVF 与量化结合：Faiss 建议对 1M 到 10M 个向量使用 IVF65536_HNSW32，对 10M 到 100M 使用 IVF262144_HNSW32，对 100M 到 1B 使用 IVF1048576_HNSW32，训练向量数为 \( 30 \cdot K \) 到 \( 256 \cdot K \)。<sup>[13](https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index)</sup> IVF 调参遵循经典规则 \( n_{\mathrm{list}} \approx \sqrt{N} \) 和 \( n_{\mathrm{probe}} \) 在 \( n_{\mathrm{list}}/32 \) 到 \( n_{\mathrm{list}}/8 \) 之间，以达到 90% 到 95% 的召回率。<sup>[15](https://hld.handbook.academy/curriculum/ai-ml-system-design/vector-search-at-scale/)</sup> 搜索期间，efSearch 是召回率/QPS 的调节旋钮：更高的值会增加所进行的导航次数，从而提高召回率和延迟<sup>[8](https://services.google.com/fh/files/misc/scann_for_alloydb_whitepaper.pdf)</sup>，并且 ef 必须至少为请求的 top-k，并不断增加直到召回率趋于平稳。<sup>[14](https://milvus.io/learn-milvus/hnsw)</sup> 系统通过绘制召回率对每秒查询数的图来进行基准测试，正如 ANN-Benchmarks 对每个数据集和距离度量所做的那样。<sup>[16](http://ann-benchmarks.com/index.html)</sup>

## 起源

最近邻问题是一个搜索问题。<sup>[2](https://theoryofcomputing.org/articles/v008a014/v008a014.pdf)</sup> 随后出现了基于树的近似：(1+ε)-近似搜索在 BBD树上，在 \( O(d \cdot n \log n) \) 预处理后，以 \( O(c_{d,\varepsilon} \log n) \) 时间回答查询。<sup>[3](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/03%20AMNSW%20-%20JACM.pdf)</sup>

现代 ANN 框架来自皮奥特·因迪克（Piotr Indyk）和[拉吉夫·莫特瓦尼](https://www.edgepedia.org/zh/rajeev-motwani)（Rajeev Motwani）1998 年的论文《近似最近邻：迈向消除维度灾难》，该论文引入了局部敏感哈希，并给出了近似问题的首批亚线性查询结构。<sup>[1](https://dl.acm.org/doi/abs/10.1145/276698.276876)</sup> 随后出现了推广到任意范数的 p-稳定 LSH 方案<sup>[10](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/12%20lsh04.pdf)</sup>，亚历山大·安多尼（Alexandr Andoni）和伊利亚·拉岑施泰因（Ilya Razenshteyn）后来在 2015 年展示了最优的数据依赖哈希。<sup>[17](https://doi.org/10.48550/arxiv.1501.01062)</sup> [乘积量化](https://www.edgepedia.org/zh/product-quantization)由埃尔韦·热古（H Jégou）、马蒂厄·杜兹（M Douze）和科迪莉亚·施密德（C Schmid）于 2010 年在《IEEE 模式分析与机器智能汇刊》上提出。<sup>[18](https://doi.org/10.1109/tpami.2010.57)</sup> 基于图的搜索始于尤里·马尔科夫（Yury Malkov）及其同事 2013 年在《信息系统》上提出的可导航小世界图<sup>[19](https://doi.org/10.1016/j.is.2013.10.006)</sup>，并由马尔科夫和亚舒宁（Yashunin）于 2016 年扩展为 HNSW。<sup>[20](https://doi.org/10.48550/arxiv.1603.09320)</sup> 傅聪（Cong Fu）及其同事于 2019 年在《VLDB 基金会会刊》上引入了 NSG 图<sup>[21](https://doi.org/10.14778/3303753.3303754)</sup>，而来自苏哈斯·贾亚拉姆·苏布拉马尼亚（Suhas Jayaram Subramanya）及其同事的 DiskANN 也于 2019 年出现。<sup>[7](https://harsha-simhadri.org/pubs/DiskANN19.pdf)</sup> ScaNN 背后的方法——各向异性向量量化——由郭瑞琪（Ruiqi Guo）及其同事于 2019 年报告。<sup>[22](https://doi.org/10.4230/lipics.esa.2022.54)</sup>

## 变体

**HNSW** 在嵌套子集上构建邻近图的多层层次结构，每个元素的最大层从指数衰减分布中随机选择；从上层开始搜索可实现对数复杂度扩展，其邻居选择启发式在高召回率和聚类数据上有帮助。<sup>[20](https://doi.org/10.48550/arxiv.1603.09320)</sup> 搜索从顶层固定入口点开始，逐层贪心走到最近邻，然后下降，在第 0 层维护一个包含 ef 个最佳候选的池，访问大约 \( O(\log N) \) 个节点而不是 \( N \) 个。<sup>[14](https://milvus.io/learn-milvus/hnsw)</sup>

**NSG** 削减冗余边，索引尺寸比 KGraph、NSW 和 HCNNG 等基于 KNNG 的算法更小，后者总是具有更大的索引尺寸，并且在困难数据集上倾向于形成许多连通分量。<sup>[9](https://www.vldb.org/pvldb/vol14/p1964-wang.pdf)</sup>

**DiskANN/Vamana** 存储压缩向量和原始向量，使十亿点数据库能装进一台具有 64 GB RAM 和廉价 SSD 的工作站；在高召回率区间，它每个节点索引和服务的点数比 HNSW 或 NSG 多 5 到 10 倍，其 Vamana 图有一个 HNSW 和 NSG 所缺少的可调参数 α，而 HNSW 和 NSG 隐式使用 \( \alpha = 1 \)。<sup>[7](https://harsha-simhadri.org/pubs/DiskANN19.pdf)</sup>

**ScaNN** 属于树-量化家族，学习搜索树和量化函数；AlloyDB 版本使用 SQ8（每维 8 位），召回率损失通常约为 1%。<sup>[8](https://services.google.com/fh/files/misc/scann_for_alloydb_whitepaper.pdf)</sup>

**RaBitQ** 将向量压缩到每维 1 位加少量开销，每个向量 (d/8 + 8) 字节，并具有理论误差界；它由高建阳（Jianyang Gao）和程龙（Cheng Long）于 2024 年在《ACM 数据管理汇刊》上提出<sup>[23](https://doi.org/10.1145/3654970)</sup>，并且需要随机旋转。<sup>[13](https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index)</sup> **CAGRA** 是 GPU 原生索引，构建近似高度数 k 最近邻图，并用 GPU 友好的启发式进行剪枝。<sup>[24](https://xiejiadong.github.io/files/paper/vector_survey.pdf)</sup>

## 应用

[向量数据库](https://www.edgepedia.org/zh/vector-database)查询处理分为相似性搜索、过滤相似性搜索、多向量相似性搜索和相似性连接。<sup>[24](https://xiejiadong.github.io/files/paper/vector_survey.pdf)</sup> 基于图的 ANNS 在微软、阿里巴巴和雅虎的生产环境中使用。<sup>[9](https://www.vldb.org/pvldb/vol14/p1964-wang.pdf)</sup> 过滤搜索必须同时考虑向量相似性和谓词满足，由 FilteredVamana 和 StitchedVamana 提供；对于过滤查询，它们比先前的最先进算法高效一个数量级以上，并能在 SSD 上以超过 90% 的召回率@10 支持每秒数千次查询。<sup>[6](https://harsha-simhadri.org/pubs/Filtered-DiskANN23.pdf)</sup> 在数据库中，相比标准 [PostgreSQL](https://www.edgepedia.org/zh/postgresql) 上的 HNSW，AlloyDB 中的 ScaNN 索引的向量查询最高快 6 倍（过滤向量搜索查询最高快 10 倍），索引创建最高快 16 倍。<sup>[25](https://cloud.google.com/blog/products/databases/understanding-the-scann-index-in-alloydb)</sup> 十亿规模系统在 NeurIPS'21 big-ann-benchmarks 挑战赛中进行比较，该挑战赛按六个十亿规模数据集上的查询吞吐量阈值下的召回率对算法排名。<sup>[26](https://doi.org/10.48550/arxiv.2205.03763)</sup>

## 局限与替代方案

**流行图没有最坏情况保证。** 具有快速预处理的 HNSW、NSG 和 DiskANN 没有已知的最坏情况保证；存在一些实例族，即使在二维[欧几里得空间](https://www.edgepedia.org/zh/euclidean-space)中，达到合理准确率所需的查询时间也与实例规模呈线性关系。<sup>[4](https://proceedings.neurips.cc/paper_files/paper/2023/file/d0ac28b79816b51124fcc804b2496a36-Paper-Conference.pdf)</sup> 具有慢预处理的 DiskANN 是例外，可证明地在具有有界内在维度的数据上支持常数近似、多对数时间查询。<sup>[4](https://proceedings.neurips.cc/paper_files/paper/2023/file/d0ac28b79816b51124fcc804b2496a36-Paper-Conference.pdf)</sup> 图索引也不能安全地剪枝已访问点，并且并非本质上局限于无保证的近似搜索，因为合适的基于图的算法可以提供理论近似保证，穷举图搜索可以返回精确最近邻，而树索引支持从有保证的 ANNS 到精确搜索的一切。<sup>[5](https://helios2.mi.parisdescartes.fr/~themisp/publications/bulletin23.pdf)</sup><sup> • </sup><sup>[33](https://proceedings.neurips.cc/paper_files/paper/2023/hash/d0ac28b79816b51124fcc804b2496a36-Abstract-Conference.html)</sup>

**依赖数据集的成本。** 要在 HNSW 上达到 90% 的召回率@20，Glove 数据集的搜索成本比 Deep1M 大 90 倍，因此在一个分布上的性能不能预测另一个分布上的性能。<sup>[5](https://helios2.mi.parisdescartes.fr/~themisp/publications/bulletin23.pdf)</sup>

**内存。** HNSW 很吃内存：在 Sift1M 上，即使 \( M = 2 \) 也超过 0.5 GB，在 \( M = 512 \) 时几乎达到 5 GB<sup>[27](https://www.pinecone.io/learn/series/faiss/hnsw/)</sup>，并且其多层结构显著增加内存使用，随着内在维度升到 32 以上，层次结构的优势逐渐消失。<sup>[9](https://www.vldb.org/pvldb/vol14/p1964-wang.pdf)</sup> 十亿个 1024 维 FP32 向量若使用内存内 HNSW，需要大约 4 TB RAM，即使最大的 GPU 也只能为大约 2 亿个向量存储图。<sup>[28](https://www.vldb.org/pvldb/vol19/p3413-pandey.pdf)</sup>

**长尾延迟与容量限制。** 基于图的 ANNS 存在长尾延迟问题，其中离群查询会危及服务级别目标；枢纽性（hubness）是高维数据的内在性质，会诱发带有过度集中枢纽和孤立反枢纽的偏斜图，从而在抑制枢纽与到达反枢纽之间形成权衡。<sup>[29](https://dl.acm.org/doi/10.1145/3802120)</sup> 另外，efSearch 应至少为请求的邻域大小 k，并且可能需要额外的搜索广度来达到所需召回率；观察到的失败阈值仅适用于所引实现和实验。<sup>[30](https://pmc.ncbi.nlm.nih.gov/articles/PMC12942108/)</sup>

**替代方案。** 由于距离计算占 HNSW 查询处理时间的 60% 到 90%<sup>[31](https://arxiv.org/html/2403.13491)</sup>，降维是一种直接替代方案：所评估的技术包括 PCA 和向量量化，在 98% 召回率下将原始 HNSW 性能最高提升 6.3 倍。<sup>[31](https://arxiv.org/html/2403.13491)</sup> 自 2023 年以来，GPU 索引已经成熟：CAGRA 构建图比 HNSW 快 2.2 到 27 倍，并且在 90% 到 95% 召回率下，大批量吞吐量快 33 到 77 倍。<sup>[32](https://arxiv.org/html/2308.15136)</sup>

## References

1. [Approximate nearest neighbors: towards removing the curse of dimensionality (Indyk & Motwani, STOC'98)](https://dl.acm.org/doi/abs/10.1145/276698.276876)
2. [Approximate Nearest Neighbor: Towards Removing the Curse of Dimensionality (journal version unifying STOC'98 and FOCS'01)](https://theoryofcomputing.org/articles/v008a014/v008a014.pdf)
3. [An Optimal Algorithm for Approximate Nearest Neighbor Searching (Arya, Mount, Netanyahu, Silverman, Wu, JACM)](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/03%20AMNSW%20-%20JACM.pdf)
4. [Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations (NeurIPS 2023)](https://proceedings.neurips.cc/paper_files/paper/2023/file/d0ac28b79816b51124fcc804b2496a36-Paper-Conference.pdf)
5. [Graph- and Tree-based Indexes for High-dimensional Vector Similarity Search (IEEE Data Eng. Bull.)](https://helios2.mi.parisdescartes.fr/~themisp/publications/bulletin23.pdf)
6. [Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with Filters](https://harsha-simhadri.org/pubs/Filtered-DiskANN23.pdf)
7. [DiskANN: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node (NeurIPS 2019)](https://harsha-simhadri.org/pubs/DiskANN19.pdf)
8. [ScaNN for AlloyDB whitepaper](https://services.google.com/fh/files/misc/scann_for_alloydb_whitepaper.pdf)
9. [A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor Search (VLDB)](https://www.vldb.org/pvldb/vol14/p1964-wang.pdf)
10. [Locality-Sensitive Hashing Scheme Based on p-Stable Distributions (Datar, Immorlica, Indyk, Mirrokni, SCG'04)](https://graphics.stanford.edu/courses/cs468-06-fall/Papers/12%20lsh04.pdf)
11. [Graph-based Nearest Neighbor Search: From Practice to Theory (ICML 2020)](https://proceedings.mlr.press/v119/prokhorenkova20a/prokhorenkova20a.pdf)
12. [Announcing ScaNN: Efficient Vector Similarity Search (Google Research)](https://research.google/blog/announcing-scann-efficient-vector-similarity-search/)
13. [Guidelines to choose an index, Faiss wiki](https://github.com/facebookresearch/faiss/wiki/Guidelines-to-choose-an-index)
14. [HNSW Algorithm Explained | Milvus](https://milvus.io/learn-milvus/hnsw)
15. [Vector Search at Scale (HNSW, IVF-PQ, DiskANN), The HLD Handbook](https://hld.handbook.academy/curriculum/ai-ml-system-design/vector-search-at-scale/)
16. [ANN-Benchmarks](http://ann-benchmarks.com/index.html)
17. [Andoni, Alexandr, Razenshteyn, Ilya (2015). Optimal Data-Dependent Hashing for Approximate Near Neighbors. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1501.01062)
18. [H Jégou, M Douze, C Schmid (2010). Product Quantization for Nearest Neighbor Search. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2010.57)
19. [Yury Malkov and colleagues (2013). Approximate nearest neighbor algorithm based on navigable small world graphs. Information Systems.](https://doi.org/10.1016/j.is.2013.10.006)
20. [Malkov, Yu. A., Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1603.09320)
21. [Cong Fu and colleagues (2019). Fast approximate nearest neighbor search with the navigating spreading-out graph. Proceedings of the VLDB Endowment.](https://doi.org/10.14778/3303753.3303754)
22. [Guo, Ruiqi and colleagues (2019). Accelerating Large-Scale Inference with Anisotropic Vector Quantization. arXiv (Cornell University).](https://doi.org/10.4230/lipics.esa.2022.54)
23. [Jianyang Gao, Cheng Long (2024). RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Search. Proceedings of the ACM on Management of Data.](https://doi.org/10.1145/3654970)
24. [A Survey on Query Processing in Vector Databases](https://xiejiadong.github.io/files/paper/vector_survey.pdf)
25. [Introducing ScaNN vector indexing in AlloyDB](https://cloud.google.com/blog/products/databases/understanding-the-scann-index-in-alloydb)
26. [Simhadri, Harsha Vardhan and colleagues (2022). Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor Search. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2205.03763)
27. [Pinecone: Hierarchical Navigable Small Worlds (HNSW) with Faiss](https://www.pinecone.io/learn/series/faiss/hnsw/)
28. [GPU-Accelerated ANNS: Quantized for Speed, Built for Change (Jasper, VLDB)](https://www.vldb.org/pvldb/vol19/p3413-pandey.pdf)
29. [Through the Lens of Hubness: A Revisit on Graph-Based Approximate Nearest Neighbor Search (Proc. ACM Manag. Data)](https://dl.acm.org/doi/10.1145/3802120)
30. [Capacity-Limited Failure in Approximate Nearest Neighbor Search on Image Embedding Spaces (PMC)](https://pmc.ncbi.nlm.nih.gov/articles/PMC12942108/)
31. [Dimensionality-Reduction Techniques for Approximate Nearest Neighbor Search: A Survey and Evaluation](https://arxiv.org/html/2403.13491)
32. [CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUs](https://arxiv.org/html/2308.15136)
33. [Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations](https://proceedings.neurips.cc/paper_files/paper/2023/hash/d0ac28b79816b51124fcc804b2496a36-Abstract-Conference.html)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Algorithms and computational methods › Numerical, string, and geometric algorithms › Computational geometry

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/approximate-nearest-neighbor-search

English original: https://www.edgepedia.org/approximate-nearest-neighbor-search
