HyperPage: Learned Page Layouts for Disk-Resident Graph Vector Indexes
Xinyu Zhang, Jingze Li, Baihua Zheng, Weiwei Sun
Key points
From the paper's conclusion- We learn from one Search-R1 agent run and test on a later run with a different reward, over 1M and 21M passages.
Abstract
Disk-resident graph indexes such as DiskANN store each vector with its graph edges as one record on SSD pages. A search needs the page of every record it expands, so its page reads depend on the page layout, that is, which records share a page. Search agents trained with reinforcement learning query one such index run after run, and every graph traversal can be logged with the records it expands. We therefore use the logs of a finished run to lay out the index for a declared memory budget, so later runs read fewer pages. In contrast, existing layouts such as Starling and MARGO are computed from the graph and vectors and use no logs. Learning a layout from logs is challenging, because the logs must stay valid under every layout, the saving depends on what the budget caches, and the best layout is NP-hard to find. Our key observation is that DiskANN-style search routes on in-memory codes and the records it expands, never on their page-mates. As a result, the logged traversals price every layout by replay, and cached records add no page reads. Accordingly, we propose HyperPage, which first builds layouts for the declared budget on the logged traversals of uncached records. It then selects one layout, together with the budget split between hot records and a page cache, by replaying validation steps. In addition, a Lagrangian lower bound shows how far a layout may be from the optimum. We learn from one Search-R1 agent run and test on a later run with a different reward, over 1M and 21M passages. Across seven cache budgets, HyperPage reads 5.2% to 21.2% fewer pages than MARGO, and no compared layout reads fewer. The advantage is largest when the cache is small. For example, at 1% of the 1M index, MARGO needs nearly 3 times the budget to read as few pages. On the 21M index, HyperPage also cuts search time per step by up to 10.4%. The saving holds for a second agent model and a second corpus.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Geo-Filtered Approximate Nearest-Neighbor Search on a Single Proximity GrapharXiv · 2026
- Achieving Low-Latency Graph-Based Vector Search via Aligning Best-First Search Algorithm with SSDACM Transactions on Storage · 2026
- Getting a GRIP on Graph-Based Search for Learned Sparse RetrievalarXiv · 2026
- REWEAVE: Online Learning for Workload-Adaptive HNSW IndexesarXiv · 2026
- The Geometry of Hierarchical Navigation: Accuracy and Query Cost for Point Process InputarXiv · 2026
- Dynamic Graph Indexing for Label-Filtered Approximate Nearest Neighbor SearcharXiv · 2026