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.
Methods
The authors propose REACH, a single-graph index based on a property they call row-local active-order invariance.
- 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.
- 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.
- 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.
- 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.
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.
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