Recovering Graph ANN Search on Attention-Derived Workloads via a Query-Agnostic Spherical Transformation

Graph-based indexes such as HNSW are widely used for approximate nearest neighbor (ANN) search due to their strong empirical performance. Prior work (Morozov and Babenko, NeurIPS 2018) suggests that these methods remain effective even for non-metric maximum inner product search (MIPS). We show that this assumption fails for the attention-derived embeddings from modern large language models available in the recent VIBE benchmark. We trace the failure to HNSW's neighbor-selection heuristic, which prunes almost every candidate at build time and yields graphs too sparse to effectively support greedy descent. As a remedy we revisit an index-agnostic transformation that maps the database onto the unit hypersphere while preserving the inner-product ranking, without any knowledge of the query distribution. The transformation restores the assumed geometry of the datasets and raises HNSW recall above 95%. Moreover, a query-agnostic adaption of the query-aware index RoarGraph (Chen et al., VLDB 2024) stays below 40% recall. This means that RoarGraph's strong performance needs access to the query sample rather than purely relying on its bipartite graph construction.

Link
https://www.semanticscholar.org/paper/8a4a855a97d481d2b7f33f46d476ab5a987b8921
Found by
Semantic Scholar
Authors
David Procházka, Vlastislav Dohnal, Martin Aumüller
Categories
benchmark, dataset
Published
2026-11-06
Last seen by the radar
2026-11-08
Citations
0
Influential citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Matched: benchmark, dataset; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3799682.3839984
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar