Dynamically Detect and Fix Hardness for Efficient Approximate Nearest Neighbor Search
Zhiyuan HuaQiji MoZebin YaoLixiao CuiXiaoguang LiuGang WangZijing WeiXinyu LiuTianxiao TangShaozhi LiuLin Qu
Zhiyuan Hua
Qiji Mo
Zebin Yao
Lixiao Cui
Xiaoguang Liu
Gang Wang
Zijing Wei
Xinyu Liu
Tianxiao Tang
Shaozhi Liu
Lin Qu
+11
This paper introduces Escape Hardness, a metric that evaluates graph structure quality around a query for approximate nearest neighbor search. The authors divide graph search into two stages: from entry to query vicinity, they apply Reachability Fixing (RFix) to improve key node navigability; within the vicinity, they use Neighboring Graph Defects Fixing (NGFix) to enhance connectivity in dense query regions. The approach dynamically identifies and fixes defective graph regions based on Escape Hardness, achieving up to 2.25x faster search for out-of-distribution queries at 99% recall over RoarGraph and 6.88x over HNSW, while accelerating index construction by 2.35-9.02x compared to RoarGraph.

arXiv ·
· October 25, 2025