Geo-Filtered Approximate Nearest-Neighbor Search on a Single Proximity Graph

Zhiqiu Zou, Rong-Hua Li, Qiangqiang Dai, Guoren WangarXiv 2026

TL;DR

REACH is a novel single-graph index for geo-filtered vector search that solves the "path erosion" problem—where spatial filters break the navigation structure of standard proximity graphs. By storing wider, pre-sorted neighbor rows and using a dual-source construction method, REACH achieves over 2x higher query throughput and up to 11x faster build times than current state-of-the-art spatial-vector indexes.

What Problem Does This Paper Address?

In modern location-aware services, we often need to perform Geo-Filtered Approximate Nearest-Neighbor (GFANN) search. Imagine searching for "photos visually similar to this sunset" but only "within 5km of the Eiffel Tower."

Standard vector search uses proximity graphs (like HNSW) to navigate through high-dimensional space. However, when you apply a geographic "disk" filter, many of the nodes used for routing might fall outside that disk. This leads to filter-induced path erosion: the graph becomes disconnected or the "greedy" paths to the best results are severed, causing search accuracy (recall) to plummet.

Existing solutions usually try to fix this by building complex hierarchies, partitioning the data into many sub-indexes, or simply scanning every object in the disk. These approaches either consume massive amounts of memory or are too slow for real-time applications.

Figure 1: Filter-induced path erosion and active-edge recovery from entry seed 𝑠to target 𝑡under budget ℓ= 2 (Example 2.1). Left: disk 𝑐= (𝑔,𝑟) activates A(𝑐) = {𝑠, 𝑣1, 𝑣2, 𝑣3, 𝑣4,𝑡} (green) and deactivates {ℎ1, . . . ,ℎ7} (grey). Cards (a) and (b) place these objects in vector space alongside the stored rows of 𝑠and 𝑣1: (a) storing only two neighbors truncates row(𝑣1) to [ℎ5,ℎ2], leaving 𝑣1 with no active exits; (b) scanning wider ordered rows skips inactive entries (ℎ1,ℎ5 in row(𝑠) and ℎ5,ℎ2 in row(𝑣1)) to recover the first ℓ= 2 active neighbors ([𝑣1, 𝑣2] for 𝑠, [𝑣2,𝑠] for 𝑣1), forming H2(𝑐) and restoring route 𝑠→𝑣2 →𝑣3 →𝑣4 →𝑡(orange).

Methods

The authors propose REACH, a single-graph index based on a property they call row-local active-order invariance.

  1. Dual-Source Row Assembly: Instead of just storing the closest vector neighbors, each node in the REACH graph stores a "wide" row (e.g., 384 neighbors). This row is a mix of global vector neighbors and geographically nearby neighbors.
  2. Ranked Active-Graph Recovery: Because the neighbors in each row are pre-sorted by vector distance, applying a geographic filter simply "masks" some entries. The remaining "active" entries are still in the correct sorted order.
  3. Two-Phase Expansion: During a query, the system scans these rows to find the first $\ell$ active neighbors. It only performs expensive high-dimensional distance calculations for these $\ell$ survivors, significantly saving computation time.
  4. Coordinate Fibers: To handle real-world data where many objects share the exact same location (like thousands of photos at a single landmark), REACH groups co-located objects into "fibers." This ensures that a single popular location doesn't "choke" the neighbor list of nearby nodes.
Figure 2: Decomposing routes into intra-fiber paths and inter-coordinate bridges.

Datasets

The authors evaluated REACH on four large-scale datasets:

  • Overture-1M: 1 million US Points of Interest (POIs) with text embeddings.
  • Yfcc-Clip: ~1 million web photos. This is a "messy" real-world dataset where 64.6% of coordinates are duplicates.
  • Sift-Geo-1M: 1 million SIFT vectors with synthetic uniform coordinates.
  • SpaceV-Geo-10M: A larger 10-million-object dataset to test scalability.

Key Insights and Ideas

  • A Single Graph is Enough: The biggest "aha" moment is that you don't need multiple indexes or complex hierarchies to handle arbitrary geographic filters. A single graph with sufficiently wide, sorted neighbor rows can "recover" a connected, navigable subgraph for almost any query disk.
  • The Power of Local Sorting: By keeping rows sorted by vector distance, the "active" neighbors (those passing the filter) are automatically discovered in the order that matters most for the search algorithm.
  • Fibers Solve the Landmark Problem: Treating co-located objects as a single unit (a fiber) allows the authors to prove theoretical guarantees for graph connectivity that would otherwise fail in dense areas like city centers.

Key Results

REACH consistently outperformed state-of-the-art (SOTA) baselines like CubeGraph and Geo-Partition:

  • Query Speed: Achieved a 2.49x higher geometric-mean QPS (Queries Per Second) than the strongest baseline at 0.95 recall. In some selective query scenarios, it was over 6x faster than CubeGraph.
  • Build Efficiency: REACH is remarkably fast to create, building 3.8x to 11.9x faster than CubeGraph.
  • Memory Footprint: It used 37%–45% less space than SOTA spatial-graph indexes on most datasets.
Figure 5: Performance curves showing REACH (red line) maintaining high QPS across different recall levels and selectivities.

Limitations and Future Work

  • 2D Focus: The current theory and implementation are optimized for 2D geographic disks. While the "fiber" concept is powerful, extending this to 3D or more complex non-spatial filters remains a future challenge.
  • Static vs. Dynamic: While the paper mentions support for dynamic updates, the primary evaluation focuses on static indexes. Real-world POI databases change frequently, so further stress-testing of high-frequency update scenarios would be valuable.
  • Model Assumptions: The theoretical proofs rely on a "regular marked-site model." While this covers many real-world distributions, extremely adversarial data distributions might still pose challenges for the polylogarithmic degree guarantees.

Summary updated

Abstract

Geo-filtered approximate nearest-neighbor (GFANN) search retrieves the objects inside a query-specified geographic disk whose feature vectors are closest to a query vector, a core operation in location-aware Web search. A disk filter on a standard proximity graph invalidates out-of-disk routing vertices; on selective disks, these removals break greedy paths and recall drops sharply. Existing methods scan all in-disk objects, over-fetch unfiltered candidates, or maintain separate sub-indexes across spatial partitions, trading latency for index overhead. We propose REACH, a single-graph index based on row-local active-order invariance: if every vertex stores its outgoing neighbors in a fixed-width row sorted by vector distance, any disk filter masks out-of-disk entries while surviving in-disk (active) neighbors remain vector-sorted. Offline, each vertex merges globally closest vector candidates with a nearest-first geographic stream into one row; online, beam search evaluates vector distances only for the first l active entries of each visited row. Because co-located objects share the same distance to every query center, every disk admits a coordinate group in full or not at all, decomposing active connectivity into intra-group and inter-coordinate conditions. Under a spatial marked-site model with repeated coordinates, we prove that polylogarithmic out-degree guarantees strong connectivity across all disks and constant-factor distance reduction per hop on compact disks, while a cut-rank threshold characterizes the minimum scan budget l. Across four datasets up to 10^7 objects, one REACH index per dataset outperforms SOTA methods, achieving 2.49x higher geometric-mean QPS than the strongest baseline at 0.95 Recall@10 on selective queries, while building 3.8x-11.9x faster and using 37%-45% less space than a SOTA spatial-graph index.
BibTeX
@misc{zou2026geo,
  author = {Zhiqiu Zou and Rong-Hua Li and Qiangqiang Dai and Guoren Wang},
  title = {{Geo-Filtered Approximate Nearest-Neighbor Search on a Single Proximity Graph}},
  year = {2026},
  eprint = {2610.34109},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34109},
}

Loading related content...

Figure