Better Nearest Neighbor Graph Indices via (Efficient) LLM-Guided Pruning
cs.AI, cs.IR
Submitted: 2026-09-28
Updated: 2026-09-28
Comments: 29 pages
Code: https://github.com/fzwark/LGP
Project page: https://vecdb-ws.github.io/vldb2026
License: http://creativecommons.org/licenses/by/4.0/
The gist: Graph-based approximate nearest neighbor search (ANNS) is widely used for large-scale semantic search.
Terminology
Abstract
Graph-based approximate nearest neighbor search (ANNS) is widely used for large-scale semantic search. Its indices are constructed primarily based on geometric relationships among embeddings of an input dataset (e.g., documents or images), rather than explicitly optimizing for semantic relevance. However, when using these indices for downstream query retrieval, performance is evaluated based on the semantic relevance of the retrieved results to the query. This creates a fundamental "geometry-semantic" mismatch between how the indices are constructed and how their retrieval results are evaluated. While existing LLM-based reranking methods can partially mitigate this mismatch at query time, they leave this underlying structural problem in the graph unresolved. We therefore propose LLM-Guided Graph Pruning (LGP), a general framework that addresses this mismatch directly by leveraging LLM reasoning to refine an existing ANN graph index itself. LGP identifies structurally "low-value" neighbors of nodes and replaces them with LLM-selected alternatives that provide useful semantic information while retaining desired geometric structures of the original graph, including sparsity and efficient navigability. Experiments on representative semantic retrieval benchmarks show that LGP consistently improves end-to-end retrieval performance over both vanilla greedy graph search and LLM-based reranking across widely used graph-based ANN indices such as DiskANN and HNSW.
Sources
- Qwen3-VL Technical Report
- EFANNA : An Extremely Fast Approximate Nearest Neighbor Search Algorithm Based on kNN Graph
- ReasonRank: Empowering Passage Ranking with Strong Reasoning Ability
- RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Models
- FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Search
- DIVER: A Multi-Stage Approach for Reasoning-intensive Information Retrieval
- With Argus Eyes: Assessing Retrieval Gaps via Uncertainty Scoring to Detect and Remedy Retrieval Blind Spots
- Qwen3 Technical Report
- AcuRank: Uncertainty-Aware Adaptive Computation for Listwise Reranking
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems