<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>ANN on 南国遗梦的小站</title>
        <link>https://entars.github.io/tags/ann/</link>
        <description>Recent content in ANN on 南国遗梦的小站</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>zh-cn</language>
        <copyright>Haibo Huang</copyright>
        <lastBuildDate>Thu, 04 Jun 2026 16:11:20 +0800</lastBuildDate><atom:link href="https://entars.github.io/tags/ann/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>倒排文件索引</title>
        <link>https://entars.github.io/p/%E5%80%92%E6%8E%92%E6%96%87%E4%BB%B6%E7%B4%A2%E5%BC%95/</link>
        <pubDate>Thu, 04 Jun 2026 16:11:20 +0800</pubDate>
        
        <guid>https://entars.github.io/p/%E5%80%92%E6%8E%92%E6%96%87%E4%BB%B6%E7%B4%A2%E5%BC%95/</guid>
        <description>&lt;img src="https://entars.github.io/p/%E5%80%92%E6%8E%92%E6%96%87%E4%BB%B6%E7%B4%A2%E5%BC%95/wallpaper.png" alt="Featured image of post 倒排文件索引" /&gt;&lt;h2 id=&#34;1-要解决什么问题&#34;&gt;1. 要解决什么问题
&lt;/h2&gt;&lt;p&gt;在向量检索（比如用 embedding 做相似性搜索）中，最朴素的做法是&lt;strong&gt;暴力搜索（Brute-force / Flat）&lt;/strong&gt;：把查询向量和库中每一个向量做距离计算，取 Top-K。时间复杂度 O(N×D)，N 是向量总数，D 是维度。当 N 达到百万、亿级时，暴力搜索不可接受。&lt;/p&gt;</description>
        </item>
        <item>
        <title>分层可导航小世界图</title>
        <link>https://entars.github.io/p/%E5%88%86%E5%B1%82%E5%8F%AF%E5%AF%BC%E8%88%AA%E5%B0%8F%E4%B8%96%E7%95%8C%E5%9B%BE/</link>
        <pubDate>Thu, 04 Jun 2026 12:47:03 +0800</pubDate>
        
        <guid>https://entars.github.io/p/%E5%88%86%E5%B1%82%E5%8F%AF%E5%AF%BC%E8%88%AA%E5%B0%8F%E4%B8%96%E7%95%8C%E5%9B%BE/</guid>
        <description>&lt;img src="https://entars.github.io/p/%E5%88%86%E5%B1%82%E5%8F%AF%E5%AF%BC%E8%88%AA%E5%B0%8F%E4%B8%96%E7%95%8C%E5%9B%BE/wallpaper.png" alt="Featured image of post 分层可导航小世界图" /&gt;&lt;h2 id=&#34;1-背景与动机&#34;&gt;1. 背景与动机
&lt;/h2&gt;&lt;p&gt;当数据（图片、音频、文本）被 Embedding 模型向量化后，如何从海量向量中快速找到最近邻是一个核心问题（&lt;strong&gt;最近邻问题&lt;/strong&gt;），这个过程称为&lt;strong&gt;最近邻搜索&lt;/strong&gt;（Nearest Neighbor Search）。&lt;/p&gt;</description>
        </item>
        
    </channel>
</rss>
