Upload folder using huggingface_hub
Browse files- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/appendix_chunks.jsonl +106 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/appendix_text_v3.txt +317 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets.json +200 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_3.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_5.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_11_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_17_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_3.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_5.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_7.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_3.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_5.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_7.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_3_Figure_2.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_3_Figure_9.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_8_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_8_Figure_3.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_9_Figure_1.jpeg +3 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/chunks_v3_anonymized.jsonl +0 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/dataset_meta.json +61 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/main_body_chunks.jsonl +108 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_meta.json +2150 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/model_text_v3.txt +323 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/paper.blocks.json +0 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/paper.md +1267 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/parse_report.json +76 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/reference_chunks.jsonl +34 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/reference_text_v3.txt +101 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/sanitization_report.json +59 -0
- icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/sanitized_v3.txt +534 -0
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/appendix_chunks.jsonl
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0142", "section": "A. Frequently Used Notations", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 3 shows the notations frequently used in this paper. Table 3. Frequently used notations. Symbol Description \\mathcal{D} Dataset of vectors d Dimension of vectors n Dataset size \\boldsymbol{q} Query vector K Retrieval size \\boldsymbol{v} Node to be inserted to a graph index N_{\\rm out}(\\boldsymbol{v}) Out-neighbors of v N_{\\rm in}(\\boldsymbol{v}) In-neighbors of \\boldsymbol{v} \\boldsymbol{u} Candidate neighbor of v to be evaluated L Space partition size \\{\\boldsymbol{w_i}\\}_{i=1}^t t neighbors of \\boldsymbol{u} \\{\\boldsymbol{e_i}\\}_{i=1}^t Edges between \\boldsymbol{u} and \\{\\boldsymbol{w_i}\\}_{i=1}^t \\tau_i Threshold w.r.t. w_i in PRT \\delta_i Threshold w.r.t. w_i in PES R_L Result list W Working set R_F, R_T Dual rings of false positives and ejected nodes m Number of projection vectors in each subspace {\\mathcal F} Set of concatenated projection vectors \\{\\boldsymbol{r_i}\\}_{i=1}^{m^L} Individual projection vectors r_i^* \\in \\mathcal{F} Vector having the smallest angle with w_i - u \\cos \\alpha_i Cosine of the angle between w_i - u and v - u \\cos \\beta_i Cosine of the angle between w_i - u and r_i^* \\cos \\theta_i Cosine of the angle between v-u and r_i^* Cand(v) All nodes visited during the insertion of v H(\\boldsymbol{v}) Nodes in \\operatorname{Cand}(\\boldsymbol{v}) rejected by PES", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/397"}
|
| 2 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0143", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "In the proof, with slight abuse of notation, we treat u as the origin, and directly use v and each w_i to denote v-u and w_i-u , respectively.", "source": "marker_v2", "marker_block_id": "/page/14/Text/5"}
|
| 3 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0144", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "As such, we have w_1, \\ldots, w_t, v \\in \\mathbb{S}^{d-1} , and \\langle w_i, v \\rangle = \\cos \\alpha_i, i = 1, \\ldots, t . Suppose that d is divisible by L. Let w_i = [w_{i1}, \\ldots, w_{iL}]^{\\top} and v = [v_1, \\ldots, v_L]^{\\top} be the equal-dimension partition of w_i and v, respectively. Suppose that in the l-th subspace, we generate m random projection vectors \\{r_{jl}\\}_{j=1}^m with the norm 1/\\sqrt{L} . We use r_{il}^* to denote the nearest projection vector to w_{il} , i.e.,", "source": "marker_v2", "marker_block_id": "/page/14/Text/6"}
|
| 4 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0145", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "r_{il}^* = \\underset{1 \\le j \\le m}{\\arg\\max} \\langle r_{jl}, w_{il} \\rangle. \\tag{7}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/7"}
|
| 5 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0146", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "Then, we have \\bm{r_i^*} = [\\bm{r_{i1}^*}, \\dots, \\bm{r_{iL}^*}]^\\top \\in \\mathbb{S}^{d-1}. We introduce", "source": "marker_v2", "marker_block_id": "/page/14/Text/8"}
|
| 6 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0147", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "C_{il} := \\frac{\\langle \\boldsymbol{w_{il}}, \\boldsymbol{r_{il}^*} \\rangle \\sqrt{L}}{\\|\\boldsymbol{w_{il}}\\|} \\in [-1, 1]. \\tag{8}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/9"}
|
| 7 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0148", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "Let \\mathbb{E}[C_{il}] = \\mu_m and \\mathrm{Var}(C_{il}) = \\sigma_m^2 , where \\mu_m and \\sigma_m^2 depend only on m. Note that they implicitly depend on the subspace dimension d/L. When m grows at a sufficiently high rate compared to d/L, \\mu_m \\to 1 and \\sigma_m \\to 0 . Moreover,", "source": "marker_v2", "marker_block_id": "/page/14/Text/10"}
|
| 8 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0149", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "we have", "source": "marker_v2", "marker_block_id": "/page/14/Text/11"}
|
| 9 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0150", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Cov(C_{il}, C_{jl}) = \\rho_m(\\phi_{ijl})\\sigma_m^2 \\tag{9}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/12"}
|
| 10 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0151", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "where \\phi_{ijl} denotes the angle between w_{il} and w_{jl} , and \\rho_m := [0,\\pi] \\to [-1,1] denotes the correlation coefficient function depending on \\phi_{ijl} . Then, we have", "source": "marker_v2", "marker_block_id": "/page/14/Text/13"}
|
| 11 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0152", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Y_i := \\Sigma_{l=1}^L \\langle \\boldsymbol{r_{il}^*}, \\boldsymbol{w_{il}} \\rangle = \\Sigma_{l=1}^L \\frac{\\|\\boldsymbol{w_{il}}\\|}{\\sqrt{L}} C_{il}. (10)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/14"}
|
| 12 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0153", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "By the assumption that \\|\\boldsymbol{w_{il}}\\| = (1 + o(1))/\\sqrt{L} , we have", "source": "marker_v2", "marker_block_id": "/page/14/Text/15"}
|
| 13 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0154", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathbb{E}[Y_i] = \\mu_m(1 + o(1)). \\tag{11}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/16"}
|
| 14 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0155", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Var(Y_i) = \\frac{\\sigma_m^2}{L}(1 + o(1)). (12)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/17"}
|
| 15 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0156", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Cov(Y_i, Y_j) = \\frac{\\sigma_m^2}{L^2} \\sum_{l=1}^{L} \\rho_m(\\phi_{ijl}) (1 + o(1)). (13)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/18"}
|
| 16 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0157", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "Then, v_l can be decomposed as v_l = v_{il}^{\\parallel} + v_{il}^{\\perp} , where v_{il}^{\\parallel} and v_{il}^{\\perp} are defined as follows.", "source": "marker_v2", "marker_block_id": "/page/14/Text/19"}
|
| 17 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0158", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "v_{il}^{\\parallel} = \\frac{\\langle v_l, w_{il} \\rangle}{\\|w_{il}\\|^2} w_{il}, \\quad v_{il}^{\\perp} \\perp w_{il}. (14)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/20"}
|
| 18 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0159", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "Then, we can define Z_i as follows.", "source": "marker_v2", "marker_block_id": "/page/14/Text/21"}
|
| 19 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0160", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Z_i := \\langle r_i^*, v \\rangle = Z_i^{(1)} + Z_i^{(2)} (15)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/22"}
|
| 20 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0161", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "where Z_i^{(1)} and Z_i^{(2)} are defined as follows.", "source": "marker_v2", "marker_block_id": "/page/14/Text/23"}
|
| 21 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0162", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Z_i^{(1)} := \\sum_{l=1}^{L} \\frac{\\langle \\boldsymbol{v_l}, \\boldsymbol{w_{il}} \\rangle}{\\|\\boldsymbol{w_{il}}\\| \\sqrt{L}} C_{il}. (16)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/24"}
|
| 22 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0163", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Z_i^{(2)} := \\sum_{l=1}^L \\langle r_{il}^*, v_{il}^{\\perp} \\rangle. \\tag{17}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/25"}
|
| 23 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0164", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathbb{E}[Z_i^{(1)}] = \\frac{\\mu_m}{\\sqrt{L}} \\sum_{l=1}^L \\frac{\\langle \\boldsymbol{v}_l, \\boldsymbol{w}_{il} \\rangle}{\\|\\boldsymbol{w}_{il}\\|} = \\mu_m \\cos \\alpha_i + o(1). (18)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/26"}
|
| 24 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0165", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "By symmetry, we have \\mathbb{E}[Z_i^{(2)}|\\{C_{il}\\}_{l=1}^L]=0 . Then, by the independence of subspaces, we have", "source": "marker_v2", "marker_block_id": "/page/14/Text/27"}
|
| 25 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0166", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathbb{E}[Z_i] = \\mu_m \\cos(\\alpha_i) + o(1). \\tag{19}", "source": "marker_v2", "marker_block_id": "/page/14/Equation/28"}
|
| 26 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0167", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "Var(Z_i^{(1)}) = \\frac{\\sigma_m^2}{L} \\sum_{l=1}^{L} \\frac{\\langle v_l, w_{il} \\rangle^2}{\\|w_{il}\\|^2}. (20)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/29"}
|
| 27 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0168", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Text", "text": "We take the orthogonal decomposition of r_{il}^* as r_{il}^* = r_{il}^{\\parallel} + r_{il}^{\\perp} , where r_{il}^{\\parallel} has the same direction with w_{il} . Let r_{il}^{\\perp} = \\|r_{il}^{\\perp}\\|\\zeta , where \\|\\zeta\\| = 1 is a random vector in a (d/L - 1)-dimensional subspace. We have", "source": "marker_v2", "marker_block_id": "/page/14/Text/30"}
|
| 28 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0169", "section": "B. Proof of Theorem 3.1", "page_start": 15, "page_end": 15, "type": "Equation", "text": "\\mathbb{E}_{\\zeta}[\\langle \\zeta, v_{il}^{\\perp} \\rangle^{2}] = \\frac{\\|v_{il}^{\\perp}\\|^{2} L}{d - L}. (21)", "source": "marker_v2", "marker_block_id": "/page/14/Equation/31"}
|
| 29 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0170", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "By symmetry, \\mathbb{E}[\\langle r_{il}^{\\perp}, v_{il}^{\\perp} \\rangle \\mid C_{il}] = 0 . Then, we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/1"}
|
| 30 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0171", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\operatorname{Var}(\\langle \\boldsymbol{r}_{il}^*, \\boldsymbol{v}_{il}^{\\perp} \\rangle) = \\mathbb{E}_{C_{il}} \\left[ \\mathbb{E}[\\langle \\boldsymbol{r}_{il}^{\\perp}, \\boldsymbol{v}_{il}^{\\perp} \\rangle^2 \\mid C_{il}] \\right]. \\tag{22}", "source": "marker_v2", "marker_block_id": "/page/15/Equation/2"}
|
| 31 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0172", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Using \\mathbb{E}[\\|\\boldsymbol{r}_{il}^{\\perp}\\|^2] = \\frac{1}{L}(1 - \\mathbb{E}[C_{il}^2]) , we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/3"}
|
| 32 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0173", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Var(Z_i^{(2)}) = \\frac{1 - (\\sigma_m^2 + \\mu_m^2)}{d - L} \\sum_{l=1}^{L} \\| v_{il}^{\\perp} \\|^2. (23)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/4"}
|
| 33 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0174", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Because Cov(Z_i^{(1)}, Z_i^{(2)}) = 0 , we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
|
| 34 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0175", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Var(Z_i) = Var(Z_i^{(1)}) + Var(Z_i^{(2)}). (24)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/6"}
|
| 35 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0176", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "We define \\epsilon_m:=\\sqrt{1-\\mathbb{E}[C_{il}^2]} . From Eq. (23), we can see that \\mathrm{Var}(Z_i^{(2)})=O(\\epsilon_m^2/L) .", "source": "marker_v2", "marker_block_id": "/page/15/Text/7"}
|
| 36 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0177", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "We now analyze the covariance structure. We cannot assume Z^{(1)} and Z^{(2)} are uncorrelated across different indices i \\neq j . Instead, we decompose the covariance matrix as", "source": "marker_v2", "marker_block_id": "/page/15/Text/8"}
|
| 37 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0178", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Cov(Z_i, Z_j) = Cov(Z_i^{(1)}, Z_j^{(1)}) + R_{ij} (25)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/9"}
|
| 38 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0179", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "where the residual term R_{ij} contains the noise auto-covariance and cross-terms:", "source": "marker_v2", "marker_block_id": "/page/15/Text/10"}
|
| 39 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0180", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "R_{ij} = \\text{Cov}(Z_i^{(2)}, Z_j^{(2)}) + \\text{Cov}(Z_i^{(1)}, Z_j^{(2)}) + \\text{Cov}(Z_i^{(2)}, Z_j^{(1)}). (26)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/11"}
|
| 40 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0181", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Because {\\rm Var}(Z^{(1)})=O(1/L) and {\\rm Var}(Z^{(2)})=O(\\epsilon_m^2/L) , by the Cauchy-Schwarz inequality, we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/12"}
|
| 41 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0182", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "|\\text{Cov}(Z_i^{(1)}, Z_j^{(2)})| \\le \\sqrt{\\text{Var}(Z_i^{(1)})\\text{Var}(Z_j^{(2)})} = O\\left(\\frac{\\epsilon_m}{L}\\right).", "source": "marker_v2", "marker_block_id": "/page/15/Equation/13"}
|
| 42 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0183", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Thus, the entire residual term satisfies R_{ij} = O(\\epsilon_m/L) .", "source": "marker_v2", "marker_block_id": "/page/15/Text/14"}
|
| 43 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0184", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Now, let us turn to \\mathrm{Cov}(Y_i,Z_j) . When i=j, by conditional expectation, \\mathrm{Cov}(Y_i,Z_j^{(2)})=0 . When i\\neq j , if m\\to\\infty , \\sigma_m^2+\\mu_m^2\\to 1 and \\mathrm{Var}(Z_i^{(2)})\\to 0 . Thus, \\mathrm{Cov}(Y_i,Z_j^{(2)})\\to 0 . Then, as m\\to\\infty , we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/15"}
|
| 44 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0185", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Cov(Y_i, Z_j) \\to \\frac{\\sigma_m^2}{L} \\sum_{l=1}^{L} \\rho_m(\\phi_{ijl}) \\langle \\boldsymbol{v_l}, \\boldsymbol{w_{jl}} \\rangle (1 + o(1)). (28)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/16"}
|
| 45 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0186", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Based on the above analysis, we consider", "source": "marker_v2", "marker_block_id": "/page/15/Text/17"}
|
| 46 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0187", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\boldsymbol{\\xi_{l}} = \\left[ \\frac{\\|\\boldsymbol{w_{1l}}\\|}{\\sqrt{L}} C_{1l}, \\dots, \\frac{\\|\\boldsymbol{w_{tl}}\\|}{\\sqrt{L}} C_{tl}, \\langle \\boldsymbol{r_{1l}^*}, \\boldsymbol{v_l} \\rangle, \\dots, \\langle \\boldsymbol{r_{tl}^*}, \\boldsymbol{v_l} \\rangle \\right]. (29)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/18"}
|
| 47 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0188", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "By the assumptions that \\|v_{il}\\| and \\|w_{il}\\| equal (1 + o(1))/\\sqrt{L} , it can be seen that \\xi_l satisfies the Lyapunov condition. By the independence of difference subspaces, we use the Lindeberg-Feller CLT and obtain the following result.", "source": "marker_v2", "marker_block_id": "/page/15/Text/19"}
|
| 48 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0189", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\sqrt{L}([Y_1, \\dots, Y_t, Z_1, \\dots, Z_t]^{\\top} - \\bar{\\boldsymbol{\\mu}}) \\xrightarrow[L \\to \\infty]{d} \\mathcal{N}(0, \\bar{\\Sigma}_{m,L}) (30)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/20"}
|
| 49 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0190", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "where \\bar{\\mu} = [\\mu_m, \\dots, \\mu_m, \\mu_m \\cos \\alpha_1, \\dots, \\mu_m \\cos \\alpha_t]^\\top , and \\bar{\\Sigma} is represented by block sub-matrices", "source": "marker_v2", "marker_block_id": "/page/15/Text/21"}
|
| 50 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0191", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\bar{\\Sigma} = \\begin{pmatrix} \\Sigma_{YY} & \\Sigma_{YZ} \\\\ \\Sigma_{ZY} & \\Sigma_{ZZ} \\end{pmatrix} \\tag{31}", "source": "marker_v2", "marker_block_id": "/page/15/Equation/22"}
|
| 51 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0192", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "where the elements of \\Sigma_{YY} , \\Sigma_{YZ} and \\Sigma_{ZZ} are L times the covariance computed in Eqs. (13), (28), and (25), respectively.", "source": "marker_v2", "marker_block_id": "/page/15/Text/23"}
|
| 52 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0193", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Based on this result, Z | Y is still a multivariate normal distribution. We have", "source": "marker_v2", "marker_block_id": "/page/15/Text/24"}
|
| 53 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0194", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\mathbb{E}[\\mathbf{Z}|\\mathbf{Y}] = \\boldsymbol{\\mu}_Z + \\boldsymbol{\\Sigma}_{ZY} \\boldsymbol{\\Sigma}_{YY}^{-1} (\\mathbf{Y} - \\boldsymbol{\\mu}_Y). \\tag{32}", "source": "marker_v2", "marker_block_id": "/page/15/Equation/25"}
|
| 54 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0195", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Cov(\\mathbf{Z}|\\mathbf{Y}) = (\\Sigma_{ZZ} - \\Sigma_{ZY}\\Sigma_{YY}^{-1}\\Sigma_{YZ})/L. (33)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/26"}
|
| 55 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0196", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Let D be the diagonal matrix defined as follows", "source": "marker_v2", "marker_block_id": "/page/15/Text/27"}
|
| 56 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0197", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\mathbf{D} = \\operatorname{diag}[\\cos \\alpha_1, \\dots, \\cos \\alpha_t]. \\tag{34}", "source": "marker_v2", "marker_block_id": "/page/15/Equation/28"}
|
| 57 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0198", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Because \\Sigma_{ZY} \\to \\mathbf{D}\\Sigma_{YY} , when \\mathbf{Y} = [\\cos \\beta_1, \\dots, \\cos \\beta_t]^\\top , we have", "source": "marker_v2", "marker_block_id": "/page/15/Text/29"}
|
| 58 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0199", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\mathbb{E}[\\mathbf{Z}|\\mathbf{Y}] \\to [\\cos \\alpha_1 \\cos \\beta_1, \\dots, \\cos \\alpha_t \\cos \\beta_t]^\\top. (35)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/30"}
|
| 59 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0200", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "Cov(\\mathbf{Z}|\\mathbf{Y}) \\to (\\mathbf{\\Sigma}_{\\mathbf{Z}\\mathbf{Z}} - \\mathbf{D}\\mathbf{\\Sigma}_{\\mathbf{Y}\\mathbf{Y}}\\mathbf{D})/L = \\mathbf{R}/L (36)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/31"}
|
| 60 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0201", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "where \\mathbf{R} represents the scaled residual matrix with entries L \\cdot R_{ij} = O(\\epsilon_m) . Then, we conclude.", "source": "marker_v2", "marker_block_id": "/page/15/Text/32"}
|
| 61 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0202", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "Remarks. For each fixed i, if we apply a random rotation matrix to w_i - u and v - u in \\mathbb{R}^d , by the spherical concentration inequality, we can derive the following inequalities.", "source": "marker_v2", "marker_block_id": "/page/15/Text/33"}
|
| 62 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0203", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "P\\left(\\left|\\|(\\boldsymbol{w_i} - \\boldsymbol{u})_l\\|^2 - \\frac{1}{L}\\right| \\ge \\tilde{\\epsilon}\\right) \\le 2e^{-c_1 d\\tilde{\\epsilon}^2} (37)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/34"}
|
| 63 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0204", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "P\\left(\\left|\\langle (\\boldsymbol{v}-\\boldsymbol{u})_l, (\\boldsymbol{w_i}-\\boldsymbol{u})_l \\rangle - \\frac{\\cos \\alpha_i}{L}\\right| \\ge \\tilde{\\epsilon}\\right) \\le 2e^{-c_2 d\\tilde{\\epsilon}^2} (38)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/35"}
|
| 64 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0205", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "where c_1 and c_2 are constants. As L \\to \\infty and d/(L^2) \\to \\infty , we have the following results:", "source": "marker_v2", "marker_block_id": "/page/15/Text/36"}
|
| 65 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0206", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\|(\\boldsymbol{w_i} - \\boldsymbol{u})_l\\| = (1 + o_p(1))/\\sqrt{L}. (39)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/37"}
|
| 66 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0207", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Equation", "text": "\\langle (\\boldsymbol{v} - \\boldsymbol{u})_l, (\\boldsymbol{w_i} - \\boldsymbol{u})_l \\rangle = \\frac{\\cos \\alpha}{L} + o_p(\\frac{1}{L}). (40)", "source": "marker_v2", "marker_block_id": "/page/15/Equation/38"}
|
| 67 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0208", "section": "B. Proof of Theorem 3.1", "page_start": 16, "page_end": 16, "type": "Text", "text": "This implies that L=\\sqrt{d} is a balanced choice, which is consistent with the setting in our experiments.", "source": "marker_v2", "marker_block_id": "/page/15/Text/39"}
|
| 68 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0209", "section": "C. Related Work", "page_start": 16, "page_end": 16, "type": "Text", "text": "We first supplement Sec. 1.1 with more discussions, and then introduce the preliminaries on probabilistic routing.", "source": "marker_v2", "marker_block_id": "/page/15/Text/41"}
|
| 69 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0210", "section": "C.1. Discussions on ANNS Solvers", "page_start": 17, "page_end": 17, "type": "Text", "text": "911912", "source": "marker_v2", "marker_block_id": "/page/16/Text/48"}
|
| 70 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0211", "section": "C.1.1. VECTOR QUANTIZATION", "page_start": 17, "page_end": 17, "type": "Text", "text": "Quantization-based methods for ANNS have a long history. Representative approaches can be found in (Jégou et al., 2011; Ge et al., 2014; Babenko & Lempitsky, 2016; Guo et al., 2020a; Gao & Long, 2024; Gao et al., 2025). Here, we briefly introduce the basic idea of the most widely-used method, Product Quantization (PQ) (Jégou et al., 2011).", "source": "marker_v2", "marker_block_id": "/page/16/Text/3"}
|
| 71 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0212", "section": "C.1.1. VECTOR QUANTIZATION", "page_start": 17, "page_end": 17, "type": "Text", "text": "Let \\mathcal{D} \\subset \\mathbb{R}^d be a d-dimensional dataset and let q \\in \\mathbb{R}^d be a query vector. PQ divides each data vector x \\in \\mathcal{D} into L sub-vectors, i.e., x = (x_1, x_2, \\ldots, x_L) , where each sub-vector x_j \\in \\mathbb{R}^{d'} has dimension d' = d/L. In this way, PQ constructs L subspaces of dimension d', each containing the corresponding sub-vectors of all data points.", "source": "marker_v2", "marker_block_id": "/page/16/Text/4"}
|
| 72 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0213", "section": "C.1.1. VECTOR QUANTIZATION", "page_start": 17, "page_end": 17, "type": "Text", "text": "In each subspace, every sub-vector is assigned to one of 2^k quantized sub-vectors. Equivalently, each sub-vector is represented by a sub-codeword of length k bits. The set of all sub-codewords in the j-th subspace is referred to as a codebook and is denoted by \\mathcal{C}_j . By concatenating the sub-codewords across all subspaces, each original vector is represented by a codeword of length kL, taking values in the Cartesian product \\mathcal{C}_1 \\times \\cdots \\times \\mathcal{C}_L .", "source": "marker_v2", "marker_block_id": "/page/16/Text/5"}
|
| 73 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0214", "section": "C.1.1. VECTOR QUANTIZATION", "page_start": 17, "page_end": 17, "type": "Text", "text": "During the query phase, PQ first computes the distances between the query \\boldsymbol{q} and all quantized sub-vectors in each subspace. For each data vector \\boldsymbol{x} , PQ then sums the corresponding L subspace distances to obtain an approximate distance between \\boldsymbol{x} and \\boldsymbol{q} . After computing the approximate distances for all data vectors, PQ ranks them accordingly and returns the most promising candidates.", "source": "marker_v2", "marker_block_id": "/page/16/Text/6"}
|
| 74 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0215", "section": "C.1.2. SIMILARITY GRAPH", "page_start": 17, "page_end": 17, "type": "Text", "text": "The workflow of graph-based methods is roughly as follows. In the indexing phase, a similarity graph is constructed as the index structure, where data points serve as nodes and edges connect pairs of nearby nodes. A search can move directly from one node to another only if an edge exists between them. In the query phase, the node with the highest priority in a priority queue is selected, and all of its connected neighbors are visited. During this process, the priority queue is updated whenever a node closer to the query is discovered. The search ends when all nodes in the priority queue have been visited. Finally, the top-K points in the priority queue are returned.", "source": "marker_v2", "marker_block_id": "/page/16/Text/8"}
|
| 75 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0216", "section": "C.1.2. SIMILARITY GRAPH", "page_start": 17, "page_end": 17, "type": "Text", "text": "Among various graph-based methods, HNSW (Malkov & Yashunin, 2020) is a notable one that employs a multi-layer hierarchical structure to achieve rapid routing. NSG (Fu et al., 2019) optimizes the graph topology to ensure the existence of monotonic paths towards a central entry point, thereby enhancing search efficiency. Vamana, which was introduced along with DiskANN (Subramanya et al., 2019), iteratively refines a random graph into a high-performance graph struc-", "source": "marker_v2", "marker_block_id": "/page/16/Text/9"}
|
| 76 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0217", "section": "C.1.2. SIMILARITY GRAPH", "page_start": 17, "page_end": 17, "type": "Text", "text": "ture. Despite their structural differences, these methods converge on a similar edge selection criterion, namely RobustPrune , which prioritizes directional diversity over simple proximity to ensure efficient navigation through high-dimensional space.", "source": "marker_v2", "marker_block_id": "/page/16/Text/10"}
|
| 77 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0218", "section": "C.1.2. SIMILARITY GRAPH", "page_start": 17, "page_end": 17, "type": "Text", "text": "In addition to the three graphs mentioned above, many graph-based methods have been proposed recently (Lu et al., 2021; Gao & Long, 2023; Xie et al., 2025; Wang et al., 2025b). Despite different designs, most of them rely on existing graphs, such as HNSW.", "source": "marker_v2", "marker_block_id": "/page/16/Text/11"}
|
| 78 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0219", "section": "C.1.3. QUANTIZED GRAPH", "page_start": 17, "page_end": 17, "type": "Text", "text": "As stated in the main body of this paper, QG can achieve high performance on some datasets for small values of K, and in certain cases can be 4 \\times -10 \\times faster than HNSW. However, such improvement is often not robust and suffers from several limitations: (1) Sensitivity to data distribution. The effectiveness of QG relies on the assumption that the ranking induced by quantized distances is sufficiently close to the ranking under the original distances. Unfortunately, this assumption often does not hold, especially for many modern real-world datasets where semantic embeddings are increasingly complex. (2) Sensitivity to K. As K increases, the performance of QG degrades significantly. When K reaches the thousand scale, QG generally has no significant advantage over HNSW. (3) Very large space cost. To improve the accuracy of QG, more bits are required to represent the quantized vectors. As a result, the memory consumption of QG is typically at least 2 \\times larger than HNSW, compromising the use of QG for large datasets.", "source": "marker_v2", "marker_block_id": "/page/16/Text/13"}
|
| 79 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0220", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 17, "page_end": 17, "type": "Text", "text": "Because the norms can be pre-computed, estimating the \\ell_2 distance is equivalent to estimating the cosine of the angle between vectors. In high-dimensional Euclidean spaces, angle estimation via random-projection techniques has been extensively studied, with Locality Sensitive Hashing (LSH) (Indyk & Motwani, 1998; Andoni & Indyk, 2005; 2008) being one of the most influential approaches. Among various LSH methods, SimHash (Charikar, 2002) is a representative one. Its core idea is to generate multiple random hyperplanes that partition the space into cells, so that vectors falling into the same cell are likely to form a small angle with each other. Subsequent studies have proposed more refined strategies for angular distance estimation. In particular, Andoni et al. (2015) introduced Falconn, an LSH method that identifies the projection vector yielding the largest or smallest projection value for a given data vector and uses the corresponding projection index as the hash value. This design leads to substantially improved search performance compared to SimHash. Building on this idea, Pham (2021) further incorporated Con-", "source": "marker_v2", "marker_block_id": "/page/16/Text/16"}
|
| 80 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0221", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 18, "page_end": 18, "type": "Text", "text": "938939", "source": "marker_v2", "marker_block_id": "/page/17/Text/20"}
|
| 81 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0222", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 18, "page_end": 18, "type": "Text", "text": "944945946", "source": "marker_v2", "marker_block_id": "/page/17/Text/24"}
|
| 82 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0223", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 18, "page_end": 18, "type": "Text", "text": "949950", "source": "marker_v2", "marker_block_id": "/page/17/Text/27"}
|
| 83 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0224", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 18, "page_end": 18, "type": "Caption", "text": "Figure 11. DataCompDr data (sampled 50,000 vectors) and query (1,000 vectors) distributions.", "source": "marker_v2", "marker_block_id": "/page/17/Caption/2"}
|
| 84 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0225", "section": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION", "page_start": 18, "page_end": 18, "type": "Text", "text": "comitants of Extreme Order Statistics (CEOs) to explicitly identify the projection achieving the maximum or minimum inner product with the data vector, and to record the associated extreme projected value. By exploiting this additional information beyond a discrete hash value, a more accurate estimation of angular distance can be achieved (Pham & Liu, 2022).", "source": "marker_v2", "marker_block_id": "/page/17/Text/3"}
|
| 85 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0226", "section": "C.2.2. ROUTING TEST IN SIMILARITY GRAPHS", "page_start": 18, "page_end": 18, "type": "Text", "text": "Due to its simplicity and ease of implementation, CEOs has been adopted in a variety of similarity search tasks (Pham, 2021; Andoni et al., 2015; Xu & Pham, 2024). Beyond standalone similarity estimation, CEOs has also been leveraged to accelerate similarity graphs, which constitute one of the most effective structures for ANNS. By swapping the roles of the query and data vectors in the original CEOs formulation, Lu et al. (2024) developed a space-partitioning technique and proposed the PEOs test. This test enables probabilistic comparisons between the objective angle and a fixed threshold, and has been integrated into the routing procedures of similarity graphs. Specifically, for every visited node u, we send all the out-neighbors of u to PEOs. Only the exact distances between q and the nodes that pass the PEOs test are computed. In the experiments of (Lu et al., 2024), only around 25% nodes can pass the PEOs test. As a result, substantial improvements in search performance brought by PEOs were reported over similarity graphs such as HNSW (Malkov & Yashunin, 2020) and NSSG (Fu et al., 2022). More recently, Lu et al. (2025) proposed a new test function, KS2, which achieves higher test accuracy while maintaining a shorter test time compared with PEOs. KS2 employs a projection structure similar to that of PEOs, but additionally incorporates the reference angle into the testing procedure. Lu et al. (2025) further showed that, without introducing additional assumptions, the test guarantees a success probability of at least 0.5 when deciding whether the exact distance between the objective node and q should be evaluated.", "source": "marker_v2", "marker_block_id": "/page/17/Text/5"}
|
| 86 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0227", "section": "C.2.2. ROUTING TEST IN SIMILARITY GRAPHS", "page_start": 18, "page_end": 18, "type": "TableGroup", "text": "Table 4. PAG parameter settings. Dataset PAG-Base (efC, M, L) PAG-Lite (efC, M, L) Modern Datasets DBpedia1536 DBpedia3072 (1000, 32, 128) (1000, 32, 64) (100, 32, 128) (100, 32, 64) WoltFood (2000, 128, 64) (100, 32, 04) (100, 64, 32) DataCompDr AmazonBooks (1000, 32, 64) (2000, 64, 64) (100, 32, 64) (100, 64, 32) MajorTOM (1000, 32, 64) (100, 04, 32) (100, 16, 64) Legacy Datasets Word2Vec (8000, 64, 32) (200, 64, 32) GIST (1000, 64, 96) (64, 32, 96) GloVe (2000, 64, 32) (100, 32, 32) ImageNet (2000, 64, 16) (200, 16, 16) SIFT10M (1000, 32, 16) (100, 16, 16) DEEP100M (1000, 32, 16) (100, 16, 16)", "source": "marker_v2", "marker_block_id": "/page/17/TableGroup/389"}
|
| 87 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0228", "section": "D.1. Environment", "page_start": 18, "page_end": 18, "type": "Text", "text": "All experiments were conducted on a machine equipped with an Intel Xeon Platinum 8276L CPU, which supports AVX-512 instructions and provides 112 hardware threads. The system was configured with 754 GB of DDR4 ECC memory and runs Ubuntu 22.04. For indexing, all 112 threads were used, while search was performed using a single CPU thread, in line with the standard setting in ANN-Benchmarks (Bernhardsson et al., 2015).", "source": "marker_v2", "marker_block_id": "/page/17/Text/10"}
|
| 88 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0229", "section": "D.2.1. SELECTION OF BASELINES", "page_start": 18, "page_end": 18, "type": "Text", "text": "For quantization-based methods, we choose IVF-PQFS (Jégou et al., 2011), ScaNN (Guo et al., 2020a), and RabitQ+ (Gao et al., 2025) as baselines, where RabitQ+ (Gao et al., 2025) is an improved version of RabitQ (Gao & Long, 2024). For graph-based methods, we choose HNSW (Malkov & Yashunin, 2020), Vamana (Subramanya et al., 2019), and SymphonyQG (Gou et al., 2025), where SymphonyQG has shown its superiority over LVQ (Aguerrebere et al., 2023) and NGT-QG (Yahoo! Japan, 2023). On the other hand, HNSW+KS2 (Lu et al., 2025) has been shown to perform better than HNSW+PEOs (Lu et al., 2024), and KS2 can be approximately viewed as our PRT without TFB, modulo threshold-setting differences. Thus, for a fair comparison, we re-implement the KS2 component within our framework and report results for PAG versus PRT only in our ablation study.", "source": "marker_v2", "marker_block_id": "/page/17/Text/13"}
|
| 89 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0230", "section": "D.2.2. PARAMETER SETTING", "page_start": 18, "page_end": 18, "type": "Text", "text": "For graph-based methods, we used large graph construction parameters to ensure their best search performance. To ensure a fair comparison of indexing time, the efC parameter in PAG-Base was set to a similar or even larger value than HNSW.", "source": "marker_v2", "marker_block_id": "/page/17/Text/15"}
|
| 90 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0231", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "FigureGroup", "text": "Figure 12. QPS-recall of PAG-Base under varying space partition size L, K = 100. M and efC values are given in Table 4, PAG-Base.", "source": "marker_v2", "marker_block_id": "/page/18/FigureGroup/262"}
|
| 91 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0232", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "FigureGroup", "text": "Figure 13. Indexing time and peak memory usage of PAG-Base under varying space partition size L.\\ M and efC values are given in Table 4, PAG-Base.", "source": "marker_v2", "marker_block_id": "/page/18/FigureGroup/263"}
|
| 92 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0233", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "FigureGroup", "text": "Figure 14. QPS-recall of PAG-Base under varying (M, efC), K = 100. L values are given in Table 4, PAG-Base.", "source": "marker_v2", "marker_block_id": "/page/18/FigureGroup/264"}
|
| 93 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0234", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "FigureGroup", "text": "Figure 15. Indexing time and peak memory usage of PAG-Base under varying (M, efC). L values are given in Table 4, PAG-Base.", "source": "marker_v2", "marker_block_id": "/page/18/FigureGroup/265"}
|
| 94 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0235", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "Text", "text": "(1) HNSW : efC=1024. M=32. The only exception is MajorTOM, where efC=512 due to the long indexing time on this dataset.", "source": "marker_v2", "marker_block_id": "/page/18/Text/268"}
|
| 95 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0236", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "ListGroup", "text": "(2) Vamana : By default, R=64. L=1024. \\alpha=1.2 . For better QPS-recall performance on MajorTOM and DEEP100M, we choose R=100 and L=250 on MajorTOM, and R=110 and L=200 on DEEP100M. (3) SymQG : efC = 1024. There are two options for the degree, 32 and 64, resulting in two baselines, SymQG (32)", "source": "marker_v2", "marker_block_id": "/page/18/ListGroup/266"}
|
| 96 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0237", "section": "D.2.2. PARAMETER SETTING", "page_start": 19, "page_end": 19, "type": "ListGroup", "text": "and SymQG (64). (4) ScaNN : We adopt the recommended settings from its GitHub repository (Guo et al., 2020b). (5) RabitQ+ : Following the same setting as in (Gao et al., 2025), b=8.\\ k=16,384 for DataCompDr and 4096 for the other datasets. (6) IVFPQFS : We test combinations of nlist \\in \\{1024, 4096, 16384\\}, k_-factor \\in \\{64, 128, 256\\}, and", "source": "marker_v2", "marker_block_id": "/page/18/ListGroup/267"}
|
| 97 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0238", "section": "D.2.2. PARAMETER SETTING", "page_start": 20, "page_end": 20, "type": "Text", "text": "M candidates ∈ [48, 384]. A combination is chosen for good QPS-recall performance on each dataset.", "source": "marker_v2", "marker_block_id": "/page/19/Text/1"}
|
| 98 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0239", "section": "D.2.2. PARAMETER SETTING", "page_start": 20, "page_end": 20, "type": "Text", "text": "(7) PAG: PAG has two versions, PAG-Base and PAG-Lite. Their parameter settings are listed in Table 4. Users can adjust the values of efC, M, and L by taking into account the indexing time, memory footprint, and search efficiency.", "source": "marker_v2", "marker_block_id": "/page/19/Text/2"}
|
| 99 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0240", "section": "D.2.2. PARAMETER SETTING", "page_start": 20, "page_end": 20, "type": "Text", "text": "other three datasets. PAG-Base also uses less memory than SymQG. The QPS-recall performance of PAG-Lite is generally better than HNSW and Vamana. Meanwhile, PAG-Lite achieves the smallest indexing time, and is competitive in memory footprint.", "source": "marker_v2", "marker_block_id": "/page/19/Text/3"}
|
| 100 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0241", "section": "E.1. Effect of Space Partition Size L", "page_start": 20, "page_end": 20, "type": "Text", "text": "From the QPS-recall results in Fig. 12, we can see that, within a moderate range, increasing L leads to better search performance, at the cost of a higher memory footprint. As shown in Fig. 13 (left), larger L values also results in longer indexing time, due to the faster search speed for each inserted vector. On the other hand, this causes a moderately larger index size, which is reflected in the memory footprint reported in Fig. 13 (middle and right). As analyzed in Appendix B, L = √ d is an appropriate choice.", "source": "marker_v2", "marker_block_id": "/page/19/Text/6"}
|
| 101 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0242", "section": "E.2. Effect of M and efC", "page_start": 20, "page_end": 20, "type": "Text", "text": "We vary parameters M and efC and plot the QPS-recall in Fig. 14. Larger M and efC value result in faster query processing speed, and the advantage is more remarkable when users require high recall values. As shown in Fig. 15, increasing M and efC generally leads to more indexing time as well as larger memory footprint. This is expected, because they control the out-degree and the number of nodes visited for each insertion. The only exception is DataCompDr, where a largerM does not necessarily mean a slower indexing speed. This is because the search speed for each inserted vector is accelerated despite a larger out-degree.", "source": "marker_v2", "marker_block_id": "/page/19/Text/8"}
|
| 102 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0243", "section": "E.3. Evaluation on Additional Legacy Datasets", "page_start": 20, "page_end": 20, "type": "Text", "text": "We report the results on four additional legacy datasets, Word2Vec, ImageNet, GIST, and SIFT10M, which are commonly used for ANNS evaluation. Figs. 16, 17, and 18 show the QPS-recall performances when K = 10, 100, and 1000. Fig. 19 shows the indexing time and memory footprint. From the results in figures, we have the following observations. PAG-Base maintains its competitiveness in QPS-recall performance, as we have witnessed in the experiments on other datasets. On Word2Vec and ImageNet, where graph-based methods and SymQG struggle to achieve high recalls, PAG-Base has a significant advantage in QPS. On GIST and SIFT10M, SymQG performs better than PAG-Base in QPS when K = 10 and K = 100, because the two datasets are sparse and well-suited for vector quantization. When K = 1000, PAG-Base outperforms SymQG by a large margin. For indexing speed, PAG-Base is slower than graphbased methods and SymQG on Word2Vec but is faster on the", "source": "marker_v2", "marker_block_id": "/page/19/Text/10"}
|
| 103 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0244", "section": "E.3. Evaluation on Additional Legacy Datasets", "page_start": 21, "page_end": 21, "type": "FigureGroup", "text": "Figure 16. QPS-recall on additional legacy datasets, K = 10.", "source": "marker_v2", "marker_block_id": "/page/20/FigureGroup/285"}
|
| 104 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0245", "section": "E.3. Evaluation on Additional Legacy Datasets", "page_start": 21, "page_end": 21, "type": "FigureGroup", "text": "Figure 17. QPS-recall on additional legacy datasets, K = 100.", "source": "marker_v2", "marker_block_id": "/page/20/FigureGroup/286"}
|
| 105 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0246", "section": "E.3. Evaluation on Additional Legacy Datasets", "page_start": 21, "page_end": 21, "type": "FigureGroup", "text": "Figure 18. QPS-recall on additional legacy datasets, K = 1000.", "source": "marker_v2", "marker_block_id": "/page/20/FigureGroup/287"}
|
| 106 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0247", "section": "E.3. Evaluation on Additional Legacy Datasets", "page_start": 21, "page_end": 21, "type": "FigureGroup", "text": "Figure 19. Indexing time and peak memory usage on additional legacy datasets.", "source": "marker_v2", "marker_block_id": "/page/20/FigureGroup/288"}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/appendix_text_v3.txt
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 15 | section: A. Frequently Used Notations | type: TableGroup]
|
| 2 |
+
Table 3 shows the notations frequently used in this paper. Table 3. Frequently used notations. Symbol Description \mathcal{D} Dataset of vectors d Dimension of vectors n Dataset size \boldsymbol{q} Query vector K Retrieval size \boldsymbol{v} Node to be inserted to a graph index N_{\rm out}(\boldsymbol{v}) Out-neighbors of v N_{\rm in}(\boldsymbol{v}) In-neighbors of \boldsymbol{v} \boldsymbol{u} Candidate neighbor of v to be evaluated L Space partition size \{\boldsymbol{w_i}\}_{i=1}^t t neighbors of \boldsymbol{u} \{\boldsymbol{e_i}\}_{i=1}^t Edges between \boldsymbol{u} and \{\boldsymbol{w_i}\}_{i=1}^t \tau_i Threshold w.r.t. w_i in PRT \delta_i Threshold w.r.t. w_i in PES R_L Result list W Working set R_F, R_T Dual rings of false positives and ejected nodes m Number of projection vectors in each subspace {\mathcal F} Set of concatenated projection vectors \{\boldsymbol{r_i}\}_{i=1}^{m^L} Individual projection vectors r_i^* \in \mathcal{F} Vector having the smallest angle with w_i - u \cos \alpha_i Cosine of the angle between w_i - u and v - u \cos \beta_i Cosine of the angle between w_i - u and r_i^* \cos \theta_i Cosine of the angle between v-u and r_i^* Cand(v) All nodes visited during the insertion of v H(\boldsymbol{v}) Nodes in \operatorname{Cand}(\boldsymbol{v}) rejected by PES
|
| 3 |
+
|
| 4 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 5 |
+
In the proof, with slight abuse of notation, we treat u as the origin, and directly use v and each w_i to denote v-u and w_i-u , respectively.
|
| 6 |
+
|
| 7 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 8 |
+
As such, we have w_1, \ldots, w_t, v \in \mathbb{S}^{d-1} , and \langle w_i, v \rangle = \cos \alpha_i, i = 1, \ldots, t . Suppose that d is divisible by L. Let w_i = [w_{i1}, \ldots, w_{iL}]^{\top} and v = [v_1, \ldots, v_L]^{\top} be the equal-dimension partition of w_i and v, respectively. Suppose that in the l-th subspace, we generate m random projection vectors \{r_{jl}\}_{j=1}^m with the norm 1/\sqrt{L} . We use r_{il}^* to denote the nearest projection vector to w_{il} , i.e.,
|
| 9 |
+
|
| 10 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 11 |
+
r_{il}^* = \underset{1 \le j \le m}{\arg\max} \langle r_{jl}, w_{il} \rangle. \tag{7}
|
| 12 |
+
|
| 13 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 14 |
+
Then, we have \bm{r_i^*} = [\bm{r_{i1}^*}, \dots, \bm{r_{iL}^*}]^\top \in \mathbb{S}^{d-1}. We introduce
|
| 15 |
+
|
| 16 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 17 |
+
C_{il} := \frac{\langle \boldsymbol{w_{il}}, \boldsymbol{r_{il}^*} \rangle \sqrt{L}}{\|\boldsymbol{w_{il}}\|} \in [-1, 1]. \tag{8}
|
| 18 |
+
|
| 19 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 20 |
+
Let \mathbb{E}[C_{il}] = \mu_m and \mathrm{Var}(C_{il}) = \sigma_m^2 , where \mu_m and \sigma_m^2 depend only on m. Note that they implicitly depend on the subspace dimension d/L. When m grows at a sufficiently high rate compared to d/L, \mu_m \to 1 and \sigma_m \to 0 . Moreover,
|
| 21 |
+
|
| 22 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 23 |
+
we have
|
| 24 |
+
|
| 25 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 26 |
+
Cov(C_{il}, C_{jl}) = \rho_m(\phi_{ijl})\sigma_m^2 \tag{9}
|
| 27 |
+
|
| 28 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 29 |
+
where \phi_{ijl} denotes the angle between w_{il} and w_{jl} , and \rho_m := [0,\pi] \to [-1,1] denotes the correlation coefficient function depending on \phi_{ijl} . Then, we have
|
| 30 |
+
|
| 31 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 32 |
+
Y_i := \Sigma_{l=1}^L \langle \boldsymbol{r_{il}^*}, \boldsymbol{w_{il}} \rangle = \Sigma_{l=1}^L \frac{\|\boldsymbol{w_{il}}\|}{\sqrt{L}} C_{il}. (10)
|
| 33 |
+
|
| 34 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 35 |
+
By the assumption that \|\boldsymbol{w_{il}}\| = (1 + o(1))/\sqrt{L} , we have
|
| 36 |
+
|
| 37 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 38 |
+
\mathbb{E}[Y_i] = \mu_m(1 + o(1)). \tag{11}
|
| 39 |
+
|
| 40 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 41 |
+
Var(Y_i) = \frac{\sigma_m^2}{L}(1 + o(1)). (12)
|
| 42 |
+
|
| 43 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 44 |
+
Cov(Y_i, Y_j) = \frac{\sigma_m^2}{L^2} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) (1 + o(1)). (13)
|
| 45 |
+
|
| 46 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 47 |
+
Then, v_l can be decomposed as v_l = v_{il}^{\parallel} + v_{il}^{\perp} , where v_{il}^{\parallel} and v_{il}^{\perp} are defined as follows.
|
| 48 |
+
|
| 49 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 50 |
+
v_{il}^{\parallel} = \frac{\langle v_l, w_{il} \rangle}{\|w_{il}\|^2} w_{il}, \quad v_{il}^{\perp} \perp w_{il}. (14)
|
| 51 |
+
|
| 52 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 53 |
+
Then, we can define Z_i as follows.
|
| 54 |
+
|
| 55 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 56 |
+
Z_i := \langle r_i^*, v \rangle = Z_i^{(1)} + Z_i^{(2)} (15)
|
| 57 |
+
|
| 58 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 59 |
+
where Z_i^{(1)} and Z_i^{(2)} are defined as follows.
|
| 60 |
+
|
| 61 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 62 |
+
Z_i^{(1)} := \sum_{l=1}^{L} \frac{\langle \boldsymbol{v_l}, \boldsymbol{w_{il}} \rangle}{\|\boldsymbol{w_{il}}\| \sqrt{L}} C_{il}. (16)
|
| 63 |
+
|
| 64 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 65 |
+
Z_i^{(2)} := \sum_{l=1}^L \langle r_{il}^*, v_{il}^{\perp} \rangle. \tag{17}
|
| 66 |
+
|
| 67 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 68 |
+
\mathbb{E}[Z_i^{(1)}] = \frac{\mu_m}{\sqrt{L}} \sum_{l=1}^L \frac{\langle \boldsymbol{v}_l, \boldsymbol{w}_{il} \rangle}{\|\boldsymbol{w}_{il}\|} = \mu_m \cos \alpha_i + o(1). (18)
|
| 69 |
+
|
| 70 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 71 |
+
By symmetry, we have \mathbb{E}[Z_i^{(2)}|\{C_{il}\}_{l=1}^L]=0 . Then, by the independence of subspaces, we have
|
| 72 |
+
|
| 73 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 74 |
+
\mathbb{E}[Z_i] = \mu_m \cos(\alpha_i) + o(1). \tag{19}
|
| 75 |
+
|
| 76 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 77 |
+
Var(Z_i^{(1)}) = \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \frac{\langle v_l, w_{il} \rangle^2}{\|w_{il}\|^2}. (20)
|
| 78 |
+
|
| 79 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 80 |
+
We take the orthogonal decomposition of r_{il}^* as r_{il}^* = r_{il}^{\parallel} + r_{il}^{\perp} , where r_{il}^{\parallel} has the same direction with w_{il} . Let r_{il}^{\perp} = \|r_{il}^{\perp}\|\zeta , where \|\zeta\| = 1 is a random vector in a (d/L - 1)-dimensional subspace. We have
|
| 81 |
+
|
| 82 |
+
[p. 15 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 83 |
+
\mathbb{E}_{\zeta}[\langle \zeta, v_{il}^{\perp} \rangle^{2}] = \frac{\|v_{il}^{\perp}\|^{2} L}{d - L}. (21)
|
| 84 |
+
|
| 85 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 86 |
+
By symmetry, \mathbb{E}[\langle r_{il}^{\perp}, v_{il}^{\perp} \rangle \mid C_{il}] = 0 . Then, we have
|
| 87 |
+
|
| 88 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 89 |
+
\operatorname{Var}(\langle \boldsymbol{r}_{il}^*, \boldsymbol{v}_{il}^{\perp} \rangle) = \mathbb{E}_{C_{il}} \left[ \mathbb{E}[\langle \boldsymbol{r}_{il}^{\perp}, \boldsymbol{v}_{il}^{\perp} \rangle^2 \mid C_{il}] \right]. \tag{22}
|
| 90 |
+
|
| 91 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 92 |
+
Using \mathbb{E}[\|\boldsymbol{r}_{il}^{\perp}\|^2] = \frac{1}{L}(1 - \mathbb{E}[C_{il}^2]) , we have
|
| 93 |
+
|
| 94 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 95 |
+
Var(Z_i^{(2)}) = \frac{1 - (\sigma_m^2 + \mu_m^2)}{d - L} \sum_{l=1}^{L} \| v_{il}^{\perp} \|^2. (23)
|
| 96 |
+
|
| 97 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 98 |
+
Because Cov(Z_i^{(1)}, Z_i^{(2)}) = 0 , we have
|
| 99 |
+
|
| 100 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 101 |
+
Var(Z_i) = Var(Z_i^{(1)}) + Var(Z_i^{(2)}). (24)
|
| 102 |
+
|
| 103 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 104 |
+
We define \epsilon_m:=\sqrt{1-\mathbb{E}[C_{il}^2]} . From Eq. (23), we can see that \mathrm{Var}(Z_i^{(2)})=O(\epsilon_m^2/L) .
|
| 105 |
+
|
| 106 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 107 |
+
We now analyze the covariance structure. We cannot assume Z^{(1)} and Z^{(2)} are uncorrelated across different indices i \neq j . Instead, we decompose the covariance matrix as
|
| 108 |
+
|
| 109 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 110 |
+
Cov(Z_i, Z_j) = Cov(Z_i^{(1)}, Z_j^{(1)}) + R_{ij} (25)
|
| 111 |
+
|
| 112 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 113 |
+
where the residual term R_{ij} contains the noise auto-covariance and cross-terms:
|
| 114 |
+
|
| 115 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 116 |
+
R_{ij} = \text{Cov}(Z_i^{(2)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(1)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(2)}, Z_j^{(1)}). (26)
|
| 117 |
+
|
| 118 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 119 |
+
Because {\rm Var}(Z^{(1)})=O(1/L) and {\rm Var}(Z^{(2)})=O(\epsilon_m^2/L) , by the Cauchy-Schwarz inequality, we have
|
| 120 |
+
|
| 121 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 122 |
+
|\text{Cov}(Z_i^{(1)}, Z_j^{(2)})| \le \sqrt{\text{Var}(Z_i^{(1)})\text{Var}(Z_j^{(2)})} = O\left(\frac{\epsilon_m}{L}\right).
|
| 123 |
+
|
| 124 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 125 |
+
Thus, the entire residual term satisfies R_{ij} = O(\epsilon_m/L) .
|
| 126 |
+
|
| 127 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 128 |
+
Now, let us turn to \mathrm{Cov}(Y_i,Z_j) . When i=j, by conditional expectation, \mathrm{Cov}(Y_i,Z_j^{(2)})=0 . When i\neq j , if m\to\infty , \sigma_m^2+\mu_m^2\to 1 and \mathrm{Var}(Z_i^{(2)})\to 0 . Thus, \mathrm{Cov}(Y_i,Z_j^{(2)})\to 0 . Then, as m\to\infty , we have
|
| 129 |
+
|
| 130 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 131 |
+
Cov(Y_i, Z_j) \to \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) \langle \boldsymbol{v_l}, \boldsymbol{w_{jl}} \rangle (1 + o(1)). (28)
|
| 132 |
+
|
| 133 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 134 |
+
Based on the above analysis, we consider
|
| 135 |
+
|
| 136 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 137 |
+
\boldsymbol{\xi_{l}} = \left[ \frac{\|\boldsymbol{w_{1l}}\|}{\sqrt{L}} C_{1l}, \dots, \frac{\|\boldsymbol{w_{tl}}\|}{\sqrt{L}} C_{tl}, \langle \boldsymbol{r_{1l}^*}, \boldsymbol{v_l} \rangle, \dots, \langle \boldsymbol{r_{tl}^*}, \boldsymbol{v_l} \rangle \right]. (29)
|
| 138 |
+
|
| 139 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 140 |
+
By the assumptions that \|v_{il}\| and \|w_{il}\| equal (1 + o(1))/\sqrt{L} , it can be seen that \xi_l satisfies the Lyapunov condition. By the independence of difference subspaces, we use the Lindeberg-Feller CLT and obtain the following result.
|
| 141 |
+
|
| 142 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 143 |
+
\sqrt{L}([Y_1, \dots, Y_t, Z_1, \dots, Z_t]^{\top} - \bar{\boldsymbol{\mu}}) \xrightarrow[L \to \infty]{d} \mathcal{N}(0, \bar{\Sigma}_{m,L}) (30)
|
| 144 |
+
|
| 145 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 146 |
+
where \bar{\mu} = [\mu_m, \dots, \mu_m, \mu_m \cos \alpha_1, \dots, \mu_m \cos \alpha_t]^\top , and \bar{\Sigma} is represented by block sub-matrices
|
| 147 |
+
|
| 148 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 149 |
+
\bar{\Sigma} = \begin{pmatrix} \Sigma_{YY} & \Sigma_{YZ} \\ \Sigma_{ZY} & \Sigma_{ZZ} \end{pmatrix} \tag{31}
|
| 150 |
+
|
| 151 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 152 |
+
where the elements of \Sigma_{YY} , \Sigma_{YZ} and \Sigma_{ZZ} are L times the covariance computed in Eqs. (13), (28), and (25), respectively.
|
| 153 |
+
|
| 154 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 155 |
+
Based on this result, Z | Y is still a multivariate normal distribution. We have
|
| 156 |
+
|
| 157 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 158 |
+
\mathbb{E}[\mathbf{Z}|\mathbf{Y}] = \boldsymbol{\mu}_Z + \boldsymbol{\Sigma}_{ZY} \boldsymbol{\Sigma}_{YY}^{-1} (\mathbf{Y} - \boldsymbol{\mu}_Y). \tag{32}
|
| 159 |
+
|
| 160 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 161 |
+
Cov(\mathbf{Z}|\mathbf{Y}) = (\Sigma_{ZZ} - \Sigma_{ZY}\Sigma_{YY}^{-1}\Sigma_{YZ})/L. (33)
|
| 162 |
+
|
| 163 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 164 |
+
Let D be the diagonal matrix defined as follows
|
| 165 |
+
|
| 166 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 167 |
+
\mathbf{D} = \operatorname{diag}[\cos \alpha_1, \dots, \cos \alpha_t]. \tag{34}
|
| 168 |
+
|
| 169 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 170 |
+
Because \Sigma_{ZY} \to \mathbf{D}\Sigma_{YY} , when \mathbf{Y} = [\cos \beta_1, \dots, \cos \beta_t]^\top , we have
|
| 171 |
+
|
| 172 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 173 |
+
\mathbb{E}[\mathbf{Z}|\mathbf{Y}] \to [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top. (35)
|
| 174 |
+
|
| 175 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 176 |
+
Cov(\mathbf{Z}|\mathbf{Y}) \to (\mathbf{\Sigma}_{\mathbf{Z}\mathbf{Z}} - \mathbf{D}\mathbf{\Sigma}_{\mathbf{Y}\mathbf{Y}}\mathbf{D})/L = \mathbf{R}/L (36)
|
| 177 |
+
|
| 178 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 179 |
+
where \mathbf{R} represents the scaled residual matrix with entries L \cdot R_{ij} = O(\epsilon_m) . Then, we conclude.
|
| 180 |
+
|
| 181 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 182 |
+
Remarks. For each fixed i, if we apply a random rotation matrix to w_i - u and v - u in \mathbb{R}^d , by the spherical concentration inequality, we can derive the following inequalities.
|
| 183 |
+
|
| 184 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 185 |
+
P\left(\left|\|(\boldsymbol{w_i} - \boldsymbol{u})_l\|^2 - \frac{1}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_1 d\tilde{\epsilon}^2} (37)
|
| 186 |
+
|
| 187 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 188 |
+
P\left(\left|\langle (\boldsymbol{v}-\boldsymbol{u})_l, (\boldsymbol{w_i}-\boldsymbol{u})_l \rangle - \frac{\cos \alpha_i}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_2 d\tilde{\epsilon}^2} (38)
|
| 189 |
+
|
| 190 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 191 |
+
where c_1 and c_2 are constants. As L \to \infty and d/(L^2) \to \infty , we have the following results:
|
| 192 |
+
|
| 193 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 194 |
+
\|(\boldsymbol{w_i} - \boldsymbol{u})_l\| = (1 + o_p(1))/\sqrt{L}. (39)
|
| 195 |
+
|
| 196 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Equation]
|
| 197 |
+
\langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = \frac{\cos \alpha}{L} + o_p(\frac{1}{L}). (40)
|
| 198 |
+
|
| 199 |
+
[p. 16 | section: B. Proof of Theorem 3.1 | type: Text]
|
| 200 |
+
This implies that L=\sqrt{d} is a balanced choice, which is consistent with the setting in our experiments.
|
| 201 |
+
|
| 202 |
+
[p. 16 | section: C. Related Work | type: Text]
|
| 203 |
+
We first supplement Sec. 1.1 with more discussions, and then introduce the preliminaries on probabilistic routing.
|
| 204 |
+
|
| 205 |
+
[p. 17 | section: C.1. Discussions on ANNS Solvers | type: Text]
|
| 206 |
+
911912
|
| 207 |
+
|
| 208 |
+
[p. 17 | section: C.1.1. VECTOR QUANTIZATION | type: Text]
|
| 209 |
+
Quantization-based methods for ANNS have a long history. Representative approaches can be found in (Jégou et al., 2011; Ge et al., 2014; Babenko & Lempitsky, 2016; Guo et al., 2020a; Gao & Long, 2024; Gao et al., 2025). Here, we briefly introduce the basic idea of the most widely-used method, Product Quantization (PQ) (Jégou et al., 2011).
|
| 210 |
+
|
| 211 |
+
[p. 17 | section: C.1.1. VECTOR QUANTIZATION | type: Text]
|
| 212 |
+
Let \mathcal{D} \subset \mathbb{R}^d be a d-dimensional dataset and let q \in \mathbb{R}^d be a query vector. PQ divides each data vector x \in \mathcal{D} into L sub-vectors, i.e., x = (x_1, x_2, \ldots, x_L) , where each sub-vector x_j \in \mathbb{R}^{d'} has dimension d' = d/L. In this way, PQ constructs L subspaces of dimension d', each containing the corresponding sub-vectors of all data points.
|
| 213 |
+
|
| 214 |
+
[p. 17 | section: C.1.1. VECTOR QUANTIZATION | type: Text]
|
| 215 |
+
In each subspace, every sub-vector is assigned to one of 2^k quantized sub-vectors. Equivalently, each sub-vector is represented by a sub-codeword of length k bits. The set of all sub-codewords in the j-th subspace is referred to as a codebook and is denoted by \mathcal{C}_j . By concatenating the sub-codewords across all subspaces, each original vector is represented by a codeword of length kL, taking values in the Cartesian product \mathcal{C}_1 \times \cdots \times \mathcal{C}_L .
|
| 216 |
+
|
| 217 |
+
[p. 17 | section: C.1.1. VECTOR QUANTIZATION | type: Text]
|
| 218 |
+
During the query phase, PQ first computes the distances between the query \boldsymbol{q} and all quantized sub-vectors in each subspace. For each data vector \boldsymbol{x} , PQ then sums the corresponding L subspace distances to obtain an approximate distance between \boldsymbol{x} and \boldsymbol{q} . After computing the approximate distances for all data vectors, PQ ranks them accordingly and returns the most promising candidates.
|
| 219 |
+
|
| 220 |
+
[p. 17 | section: C.1.2. SIMILARITY GRAPH | type: Text]
|
| 221 |
+
The workflow of graph-based methods is roughly as follows. In the indexing phase, a similarity graph is constructed as the index structure, where data points serve as nodes and edges connect pairs of nearby nodes. A search can move directly from one node to another only if an edge exists between them. In the query phase, the node with the highest priority in a priority queue is selected, and all of its connected neighbors are visited. During this process, the priority queue is updated whenever a node closer to the query is discovered. The search ends when all nodes in the priority queue have been visited. Finally, the top-K points in the priority queue are returned.
|
| 222 |
+
|
| 223 |
+
[p. 17 | section: C.1.2. SIMILARITY GRAPH | type: Text]
|
| 224 |
+
Among various graph-based methods, HNSW (Malkov & Yashunin, 2020) is a notable one that employs a multi-layer hierarchical structure to achieve rapid routing. NSG (Fu et al., 2019) optimizes the graph topology to ensure the existence of monotonic paths towards a central entry point, thereby enhancing search efficiency. Vamana, which was introduced along with DiskANN (Subramanya et al., 2019), iteratively refines a random graph into a high-performance graph struc-
|
| 225 |
+
|
| 226 |
+
[p. 17 | section: C.1.2. SIMILARITY GRAPH | type: Text]
|
| 227 |
+
ture. Despite their structural differences, these methods converge on a similar edge selection criterion, namely RobustPrune , which prioritizes directional diversity over simple proximity to ensure efficient navigation through high-dimensional space.
|
| 228 |
+
|
| 229 |
+
[p. 17 | section: C.1.2. SIMILARITY GRAPH | type: Text]
|
| 230 |
+
In addition to the three graphs mentioned above, many graph-based methods have been proposed recently (Lu et al., 2021; Gao & Long, 2023; Xie et al., 2025; Wang et al., 2025b). Despite different designs, most of them rely on existing graphs, such as HNSW.
|
| 231 |
+
|
| 232 |
+
[p. 17 | section: C.1.3. QUANTIZED GRAPH | type: Text]
|
| 233 |
+
As stated in the main body of this paper, QG can achieve high performance on some datasets for small values of K, and in certain cases can be 4 \times -10 \times faster than HNSW. However, such improvement is often not robust and suffers from several limitations: (1) Sensitivity to data distribution. The effectiveness of QG relies on the assumption that the ranking induced by quantized distances is sufficiently close to the ranking under the original distances. Unfortunately, this assumption often does not hold, especially for many modern real-world datasets where semantic embeddings are increasingly complex. (2) Sensitivity to K. As K increases, the performance of QG degrades significantly. When K reaches the thousand scale, QG generally has no significant advantage over HNSW. (3) Very large space cost. To improve the accuracy of QG, more bits are required to represent the quantized vectors. As a result, the memory consumption of QG is typically at least 2 \times larger than HNSW, compromising the use of QG for large datasets.
|
| 234 |
+
|
| 235 |
+
[p. 17 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Text]
|
| 236 |
+
Because the norms can be pre-computed, estimating the \ell_2 distance is equivalent to estimating the cosine of the angle between vectors. In high-dimensional Euclidean spaces, angle estimation via random-projection techniques has been extensively studied, with Locality Sensitive Hashing (LSH) (Indyk & Motwani, 1998; Andoni & Indyk, 2005; 2008) being one of the most influential approaches. Among various LSH methods, SimHash (Charikar, 2002) is a representative one. Its core idea is to generate multiple random hyperplanes that partition the space into cells, so that vectors falling into the same cell are likely to form a small angle with each other. Subsequent studies have proposed more refined strategies for angular distance estimation. In particular, Andoni et al. (2015) introduced Falconn, an LSH method that identifies the projection vector yielding the largest or smallest projection value for a given data vector and uses the corresponding projection index as the hash value. This design leads to substantially improved search performance compared to SimHash. Building on this idea, Pham (2021) further incorporated Con-
|
| 237 |
+
|
| 238 |
+
[p. 18 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Text]
|
| 239 |
+
938939
|
| 240 |
+
|
| 241 |
+
[p. 18 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Text]
|
| 242 |
+
944945946
|
| 243 |
+
|
| 244 |
+
[p. 18 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Text]
|
| 245 |
+
949950
|
| 246 |
+
|
| 247 |
+
[p. 18 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Caption]
|
| 248 |
+
Figure 11. DataCompDr data (sampled 50,000 vectors) and query (1,000 vectors) distributions.
|
| 249 |
+
|
| 250 |
+
[p. 18 | section: C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION | type: Text]
|
| 251 |
+
comitants of Extreme Order Statistics (CEOs) to explicitly identify the projection achieving the maximum or minimum inner product with the data vector, and to record the associated extreme projected value. By exploiting this additional information beyond a discrete hash value, a more accurate estimation of angular distance can be achieved (Pham & Liu, 2022).
|
| 252 |
+
|
| 253 |
+
[p. 18 | section: C.2.2. ROUTING TEST IN SIMILARITY GRAPHS | type: Text]
|
| 254 |
+
Due to its simplicity and ease of implementation, CEOs has been adopted in a variety of similarity search tasks (Pham, 2021; Andoni et al., 2015; Xu & Pham, 2024). Beyond standalone similarity estimation, CEOs has also been leveraged to accelerate similarity graphs, which constitute one of the most effective structures for ANNS. By swapping the roles of the query and data vectors in the original CEOs formulation, Lu et al. (2024) developed a space-partitioning technique and proposed the PEOs test. This test enables probabilistic comparisons between the objective angle and a fixed threshold, and has been integrated into the routing procedures of similarity graphs. Specifically, for every visited node u, we send all the out-neighbors of u to PEOs. Only the exact distances between q and the nodes that pass the PEOs test are computed. In the experiments of (Lu et al., 2024), only around 25% nodes can pass the PEOs test. As a result, substantial improvements in search performance brought by PEOs were reported over similarity graphs such as HNSW (Malkov & Yashunin, 2020) and NSSG (Fu et al., 2022). More recently, Lu et al. (2025) proposed a new test function, KS2, which achieves higher test accuracy while maintaining a shorter test time compared with PEOs. KS2 employs a projection structure similar to that of PEOs, but additionally incorporates the reference angle into the testing procedure. Lu et al. (2025) further showed that, without introducing additional assumptions, the test guarantees a success probability of at least 0.5 when deciding whether the exact distance between the objective node and q should be evaluated.
|
| 255 |
+
|
| 256 |
+
[p. 18 | section: C.2.2. ROUTING TEST IN SIMILARITY GRAPHS | type: TableGroup]
|
| 257 |
+
Table 4. PAG parameter settings. Dataset PAG-Base (efC, M, L) PAG-Lite (efC, M, L) Modern Datasets DBpedia1536 DBpedia3072 (1000, 32, 128) (1000, 32, 64) (100, 32, 128) (100, 32, 64) WoltFood (2000, 128, 64) (100, 32, 04) (100, 64, 32) DataCompDr AmazonBooks (1000, 32, 64) (2000, 64, 64) (100, 32, 64) (100, 64, 32) MajorTOM (1000, 32, 64) (100, 04, 32) (100, 16, 64) Legacy Datasets Word2Vec (8000, 64, 32) (200, 64, 32) GIST (1000, 64, 96) (64, 32, 96) GloVe (2000, 64, 32) (100, 32, 32) ImageNet (2000, 64, 16) (200, 16, 16) SIFT10M (1000, 32, 16) (100, 16, 16) DEEP100M (1000, 32, 16) (100, 16, 16)
|
| 258 |
+
|
| 259 |
+
[p. 18 | section: D.1. Environment | type: Text]
|
| 260 |
+
All experiments were conducted on a machine equipped with an Intel Xeon Platinum 8276L CPU, which supports AVX-512 instructions and provides 112 hardware threads. The system was configured with 754 GB of DDR4 ECC memory and runs Ubuntu 22.04. For indexing, all 112 threads were used, while search was performed using a single CPU thread, in line with the standard setting in ANN-Benchmarks (Bernhardsson et al., 2015).
|
| 261 |
+
|
| 262 |
+
[p. 18 | section: D.2.1. SELECTION OF BASELINES | type: Text]
|
| 263 |
+
For quantization-based methods, we choose IVF-PQFS (Jégou et al., 2011), ScaNN (Guo et al., 2020a), and RabitQ+ (Gao et al., 2025) as baselines, where RabitQ+ (Gao et al., 2025) is an improved version of RabitQ (Gao & Long, 2024). For graph-based methods, we choose HNSW (Malkov & Yashunin, 2020), Vamana (Subramanya et al., 2019), and SymphonyQG (Gou et al., 2025), where SymphonyQG has shown its superiority over LVQ (Aguerrebere et al., 2023) and NGT-QG (Yahoo! Japan, 2023). On the other hand, HNSW+KS2 (Lu et al., 2025) has been shown to perform better than HNSW+PEOs (Lu et al., 2024), and KS2 can be approximately viewed as our PRT without TFB, modulo threshold-setting differences. Thus, for a fair comparison, we re-implement the KS2 component within our framework and report results for PAG versus PRT only in our ablation study.
|
| 264 |
+
|
| 265 |
+
[p. 18 | section: D.2.2. PARAMETER SETTING | type: Text]
|
| 266 |
+
For graph-based methods, we used large graph construction parameters to ensure their best search performance. To ensure a fair comparison of indexing time, the efC parameter in PAG-Base was set to a similar or even larger value than HNSW.
|
| 267 |
+
|
| 268 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: FigureGroup]
|
| 269 |
+
Figure 12. QPS-recall of PAG-Base under varying space partition size L, K = 100. M and efC values are given in Table 4, PAG-Base.
|
| 270 |
+
|
| 271 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: FigureGroup]
|
| 272 |
+
Figure 13. Indexing time and peak memory usage of PAG-Base under varying space partition size L.\ M and efC values are given in Table 4, PAG-Base.
|
| 273 |
+
|
| 274 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: FigureGroup]
|
| 275 |
+
Figure 14. QPS-recall of PAG-Base under varying (M, efC), K = 100. L values are given in Table 4, PAG-Base.
|
| 276 |
+
|
| 277 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: FigureGroup]
|
| 278 |
+
Figure 15. Indexing time and peak memory usage of PAG-Base under varying (M, efC). L values are given in Table 4, PAG-Base.
|
| 279 |
+
|
| 280 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: Text]
|
| 281 |
+
(1) HNSW : efC=1024. M=32. The only exception is MajorTOM, where efC=512 due to the long indexing time on this dataset.
|
| 282 |
+
|
| 283 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: ListGroup]
|
| 284 |
+
(2) Vamana : By default, R=64. L=1024. \alpha=1.2 . For better QPS-recall performance on MajorTOM and DEEP100M, we choose R=100 and L=250 on MajorTOM, and R=110 and L=200 on DEEP100M. (3) SymQG : efC = 1024. There are two options for the degree, 32 and 64, resulting in two baselines, SymQG (32)
|
| 285 |
+
|
| 286 |
+
[p. 19 | section: D.2.2. PARAMETER SETTING | type: ListGroup]
|
| 287 |
+
and SymQG (64). (4) ScaNN : We adopt the recommended settings from its GitHub repository (Guo et al., 2020b). (5) RabitQ+ : Following the same setting as in (Gao et al., 2025), b=8.\ k=16,384 for DataCompDr and 4096 for the other datasets. (6) IVFPQFS : We test combinations of nlist \in \{1024, 4096, 16384\}, k_-factor \in \{64, 128, 256\}, and
|
| 288 |
+
|
| 289 |
+
[p. 20 | section: D.2.2. PARAMETER SETTING | type: Text]
|
| 290 |
+
M candidates ∈ [48, 384]. A combination is chosen for good QPS-recall performance on each dataset.
|
| 291 |
+
|
| 292 |
+
[p. 20 | section: D.2.2. PARAMETER SETTING | type: Text]
|
| 293 |
+
(7) PAG: PAG has two versions, PAG-Base and PAG-Lite. Their parameter settings are listed in Table 4. Users can adjust the values of efC, M, and L by taking into account the indexing time, memory footprint, and search efficiency.
|
| 294 |
+
|
| 295 |
+
[p. 20 | section: D.2.2. PARAMETER SETTING | type: Text]
|
| 296 |
+
other three datasets. PAG-Base also uses less memory than SymQG. The QPS-recall performance of PAG-Lite is generally better than HNSW and Vamana. Meanwhile, PAG-Lite achieves the smallest indexing time, and is competitive in memory footprint.
|
| 297 |
+
|
| 298 |
+
[p. 20 | section: E.1. Effect of Space Partition Size L | type: Text]
|
| 299 |
+
From the QPS-recall results in Fig. 12, we can see that, within a moderate range, increasing L leads to better search performance, at the cost of a higher memory footprint. As shown in Fig. 13 (left), larger L values also results in longer indexing time, due to the faster search speed for each inserted vector. On the other hand, this causes a moderately larger index size, which is reflected in the memory footprint reported in Fig. 13 (middle and right). As analyzed in Appendix B, L = √ d is an appropriate choice.
|
| 300 |
+
|
| 301 |
+
[p. 20 | section: E.2. Effect of M and efC | type: Text]
|
| 302 |
+
We vary parameters M and efC and plot the QPS-recall in Fig. 14. Larger M and efC value result in faster query processing speed, and the advantage is more remarkable when users require high recall values. As shown in Fig. 15, increasing M and efC generally leads to more indexing time as well as larger memory footprint. This is expected, because they control the out-degree and the number of nodes visited for each insertion. The only exception is DataCompDr, where a largerM does not necessarily mean a slower indexing speed. This is because the search speed for each inserted vector is accelerated despite a larger out-degree.
|
| 303 |
+
|
| 304 |
+
[p. 20 | section: E.3. Evaluation on Additional Legacy Datasets | type: Text]
|
| 305 |
+
We report the results on four additional legacy datasets, Word2Vec, ImageNet, GIST, and SIFT10M, which are commonly used for ANNS evaluation. Figs. 16, 17, and 18 show the QPS-recall performances when K = 10, 100, and 1000. Fig. 19 shows the indexing time and memory footprint. From the results in figures, we have the following observations. PAG-Base maintains its competitiveness in QPS-recall performance, as we have witnessed in the experiments on other datasets. On Word2Vec and ImageNet, where graph-based methods and SymQG struggle to achieve high recalls, PAG-Base has a significant advantage in QPS. On GIST and SIFT10M, SymQG performs better than PAG-Base in QPS when K = 10 and K = 100, because the two datasets are sparse and well-suited for vector quantization. When K = 1000, PAG-Base outperforms SymQG by a large margin. For indexing speed, PAG-Base is slower than graphbased methods and SymQG on Word2Vec but is faster on the
|
| 306 |
+
|
| 307 |
+
[p. 21 | section: E.3. Evaluation on Additional Legacy Datasets | type: FigureGroup]
|
| 308 |
+
Figure 16. QPS-recall on additional legacy datasets, K = 10.
|
| 309 |
+
|
| 310 |
+
[p. 21 | section: E.3. Evaluation on Additional Legacy Datasets | type: FigureGroup]
|
| 311 |
+
Figure 17. QPS-recall on additional legacy datasets, K = 100.
|
| 312 |
+
|
| 313 |
+
[p. 21 | section: E.3. Evaluation on Additional Legacy Datasets | type: FigureGroup]
|
| 314 |
+
Figure 18. QPS-recall on additional legacy datasets, K = 1000.
|
| 315 |
+
|
| 316 |
+
[p. 21 | section: E.3. Evaluation on Additional Legacy Datasets | type: FigureGroup]
|
| 317 |
+
Figure 19. Indexing time and peak memory usage on additional legacy datasets.
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets.json
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"filename": "_page_10_Figure_1.jpeg",
|
| 4 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_10_Figure_1.jpeg",
|
| 5 |
+
"bytes": 108948,
|
| 6 |
+
"width": 918,
|
| 7 |
+
"height": 978,
|
| 8 |
+
"aspect_ratio": 0.9386503067484663,
|
| 9 |
+
"keep": true,
|
| 10 |
+
"reject_reason": null,
|
| 11 |
+
"model_path": "assets/_page_10_Figure_1.jpeg"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"filename": "_page_10_Figure_3.jpeg",
|
| 15 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_10_Figure_3.jpeg",
|
| 16 |
+
"bytes": 43621,
|
| 17 |
+
"width": 1275,
|
| 18 |
+
"height": 252,
|
| 19 |
+
"aspect_ratio": 5.059523809523809,
|
| 20 |
+
"keep": true,
|
| 21 |
+
"reject_reason": null,
|
| 22 |
+
"model_path": "assets/_page_10_Figure_3.jpeg"
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"filename": "_page_10_Figure_5.jpeg",
|
| 26 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_10_Figure_5.jpeg",
|
| 27 |
+
"bytes": 36333,
|
| 28 |
+
"width": 1331,
|
| 29 |
+
"height": 266,
|
| 30 |
+
"aspect_ratio": 5.003759398496241,
|
| 31 |
+
"keep": true,
|
| 32 |
+
"reject_reason": null,
|
| 33 |
+
"model_path": "assets/_page_10_Figure_5.jpeg"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"filename": "_page_11_Figure_1.jpeg",
|
| 37 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_11_Figure_1.jpeg",
|
| 38 |
+
"bytes": 15156,
|
| 39 |
+
"width": 532,
|
| 40 |
+
"height": 218,
|
| 41 |
+
"aspect_ratio": 2.4403669724770642,
|
| 42 |
+
"keep": true,
|
| 43 |
+
"reject_reason": null,
|
| 44 |
+
"model_path": "assets/_page_11_Figure_1.jpeg"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"filename": "_page_17_Figure_1.jpeg",
|
| 48 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_17_Figure_1.jpeg",
|
| 49 |
+
"bytes": 46227,
|
| 50 |
+
"width": 665,
|
| 51 |
+
"height": 426,
|
| 52 |
+
"aspect_ratio": 1.5610328638497653,
|
| 53 |
+
"keep": true,
|
| 54 |
+
"reject_reason": null,
|
| 55 |
+
"model_path": "assets/_page_17_Figure_1.jpeg"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"filename": "_page_18_Figure_1.jpeg",
|
| 59 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_18_Figure_1.jpeg",
|
| 60 |
+
"bytes": 42349,
|
| 61 |
+
"width": 1321,
|
| 62 |
+
"height": 286,
|
| 63 |
+
"aspect_ratio": 4.618881118881119,
|
| 64 |
+
"keep": true,
|
| 65 |
+
"reject_reason": null,
|
| 66 |
+
"model_path": "assets/_page_18_Figure_1.jpeg"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"filename": "_page_18_Figure_3.jpeg",
|
| 70 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_18_Figure_3.jpeg",
|
| 71 |
+
"bytes": 42323,
|
| 72 |
+
"width": 1093,
|
| 73 |
+
"height": 304,
|
| 74 |
+
"aspect_ratio": 3.5953947368421053,
|
| 75 |
+
"keep": true,
|
| 76 |
+
"reject_reason": null,
|
| 77 |
+
"model_path": "assets/_page_18_Figure_3.jpeg"
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"filename": "_page_18_Figure_5.jpeg",
|
| 81 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_18_Figure_5.jpeg",
|
| 82 |
+
"bytes": 40304,
|
| 83 |
+
"width": 1339,
|
| 84 |
+
"height": 273,
|
| 85 |
+
"aspect_ratio": 4.904761904761905,
|
| 86 |
+
"keep": true,
|
| 87 |
+
"reject_reason": null,
|
| 88 |
+
"model_path": "assets/_page_18_Figure_5.jpeg"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"filename": "_page_18_Figure_7.jpeg",
|
| 92 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_18_Figure_7.jpeg",
|
| 93 |
+
"bytes": 54202,
|
| 94 |
+
"width": 1085,
|
| 95 |
+
"height": 306,
|
| 96 |
+
"aspect_ratio": 3.545751633986928,
|
| 97 |
+
"keep": true,
|
| 98 |
+
"reject_reason": null,
|
| 99 |
+
"model_path": "assets/_page_18_Figure_7.jpeg"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"filename": "_page_20_Figure_1.jpeg",
|
| 103 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_20_Figure_1.jpeg",
|
| 104 |
+
"bytes": 56859,
|
| 105 |
+
"width": 1333,
|
| 106 |
+
"height": 281,
|
| 107 |
+
"aspect_ratio": 4.7437722419928825,
|
| 108 |
+
"keep": true,
|
| 109 |
+
"reject_reason": null,
|
| 110 |
+
"model_path": "assets/_page_20_Figure_1.jpeg"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"filename": "_page_20_Figure_3.jpeg",
|
| 114 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_20_Figure_3.jpeg",
|
| 115 |
+
"bytes": 53339,
|
| 116 |
+
"width": 1333,
|
| 117 |
+
"height": 272,
|
| 118 |
+
"aspect_ratio": 4.900735294117647,
|
| 119 |
+
"keep": true,
|
| 120 |
+
"reject_reason": null,
|
| 121 |
+
"model_path": "assets/_page_20_Figure_3.jpeg"
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"filename": "_page_20_Figure_5.jpeg",
|
| 125 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_20_Figure_5.jpeg",
|
| 126 |
+
"bytes": 51492,
|
| 127 |
+
"width": 1335,
|
| 128 |
+
"height": 268,
|
| 129 |
+
"aspect_ratio": 4.981343283582089,
|
| 130 |
+
"keep": true,
|
| 131 |
+
"reject_reason": null,
|
| 132 |
+
"model_path": "assets/_page_20_Figure_5.jpeg"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"filename": "_page_20_Figure_7.jpeg",
|
| 136 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_20_Figure_7.jpeg",
|
| 137 |
+
"bytes": 49864,
|
| 138 |
+
"width": 1099,
|
| 139 |
+
"height": 302,
|
| 140 |
+
"aspect_ratio": 3.6390728476821192,
|
| 141 |
+
"keep": true,
|
| 142 |
+
"reject_reason": null,
|
| 143 |
+
"model_path": "assets/_page_20_Figure_7.jpeg"
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"filename": "_page_3_Figure_2.jpeg",
|
| 147 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_3_Figure_2.jpeg",
|
| 148 |
+
"bytes": 125144,
|
| 149 |
+
"width": 1346,
|
| 150 |
+
"height": 670,
|
| 151 |
+
"aspect_ratio": 2.008955223880597,
|
| 152 |
+
"keep": true,
|
| 153 |
+
"reject_reason": null,
|
| 154 |
+
"model_path": "assets/_page_3_Figure_2.jpeg"
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"filename": "_page_3_Figure_9.jpeg",
|
| 158 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_3_Figure_9.jpeg",
|
| 159 |
+
"bytes": 42832,
|
| 160 |
+
"width": 648,
|
| 161 |
+
"height": 501,
|
| 162 |
+
"aspect_ratio": 1.2934131736526946,
|
| 163 |
+
"keep": true,
|
| 164 |
+
"reject_reason": null,
|
| 165 |
+
"model_path": "assets/_page_3_Figure_9.jpeg"
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"filename": "_page_8_Figure_1.jpeg",
|
| 169 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_8_Figure_1.jpeg",
|
| 170 |
+
"bytes": 88781,
|
| 171 |
+
"width": 1319,
|
| 172 |
+
"height": 468,
|
| 173 |
+
"aspect_ratio": 2.8183760683760686,
|
| 174 |
+
"keep": true,
|
| 175 |
+
"reject_reason": null,
|
| 176 |
+
"model_path": "assets/_page_8_Figure_1.jpeg"
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"filename": "_page_8_Figure_3.jpeg",
|
| 180 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_8_Figure_3.jpeg",
|
| 181 |
+
"bytes": 88934,
|
| 182 |
+
"width": 1070,
|
| 183 |
+
"height": 514,
|
| 184 |
+
"aspect_ratio": 2.0817120622568095,
|
| 185 |
+
"keep": true,
|
| 186 |
+
"reject_reason": null,
|
| 187 |
+
"model_path": "assets/_page_8_Figure_3.jpeg"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"filename": "_page_9_Figure_1.jpeg",
|
| 191 |
+
"path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_markdown/fddf30e3-e5ae-4a68-b862-daa6e531883a/_page_9_Figure_1.jpeg",
|
| 192 |
+
"bytes": 176255,
|
| 193 |
+
"width": 1346,
|
| 194 |
+
"height": 975,
|
| 195 |
+
"aspect_ratio": 1.3805128205128205,
|
| 196 |
+
"keep": true,
|
| 197 |
+
"reject_reason": null,
|
| 198 |
+
"model_path": "assets/_page_9_Figure_1.jpeg"
|
| 199 |
+
}
|
| 200 |
+
]
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_3.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_10_Figure_5.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_11_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_17_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_3.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_5.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_18_Figure_7.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_3.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_5.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_20_Figure_7.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_3_Figure_2.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_3_Figure_9.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_8_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_8_Figure_3.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/assets/_page_9_Figure_1.jpeg
ADDED
|
Git LFS Details
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/chunks_v3_anonymized.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/dataset_meta.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 21,
|
| 6 |
+
"chunk_count": 248,
|
| 7 |
+
"main_body_chunk_count": 108,
|
| 8 |
+
"appendix_chunk_count": 106,
|
| 9 |
+
"reference_chunk_count": 34,
|
| 10 |
+
"model_text_chars": 48048,
|
| 11 |
+
"raw_markdown_chars": 97707,
|
| 12 |
+
"sanitized_chars": 88522,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 21,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 2,
|
| 20 |
+
"Code": 1,
|
| 21 |
+
"Equation": 42,
|
| 22 |
+
"Figure": 2,
|
| 23 |
+
"FigureGroup": 16,
|
| 24 |
+
"Footnote": 5,
|
| 25 |
+
"ListGroup": 10,
|
| 26 |
+
"PageFooter": 21,
|
| 27 |
+
"PageHeader": 23,
|
| 28 |
+
"SectionHeader": 47,
|
| 29 |
+
"TableGroup": 3,
|
| 30 |
+
"Text": 716
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 18,
|
| 33 |
+
"asset_count_model_kept": 18,
|
| 34 |
+
"asset_count_rejected": 0,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 18
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt",
|
| 59 |
+
"source": "koala_icml26_due_queue",
|
| 60 |
+
"run_name": "icml26_20260429_1952_duequeue"
|
| 61 |
+
}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/main_body_chunks.jsonl
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "Approximate Nearest Neighbor Search (ANNS) is fundamental to modern AI applications. Most existing solutions optimize query efficiency but fail to align with the practical requirements of modern workloads. In this paper, we outline six critical demands of modern AI applications: high query efficiency, fast indexing, low memory footprint, scalability to high dimensionality, robustness across varying retrieval sizes, and support for online insertions. To satisfy all these demands, we introduce Projection-Augmented Graph (PAG), a new ANNS framework that integrates projection techniques into a graph index. PAG reduces unnecessary exact distance computations through asymmetric comparisons between exact and approximate distances as guided by projection-based statistical tests. Three key components are designed and unified to the graph index to optimize indexing and searching. Experiments on six modern datasets demonstrate that PAG consistently achieves superior query per second (QPS) recall performance—up to 5×faster than HNSW while offering fast indexing speed and moderate memory footprint. PAG remains robust as dimensionality and retrieval size increase and naturally supports online insertions. Our source code is available at: KejingLu-810/PAG/ .", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
|
| 2 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0001", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Given a dataset D ⊂ R d with size n and a query q ∈ R d , Approximate Nearest Neighbor Search (ANNS) aims to find K approximate nearest neighbors of q as accurately and efficiently as possible. Due to its crucial role in many applications such as image search, recommender systems, and", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
|
| 3 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "retrieval-augmented-generation (RAG), we have witnessed the rapid proliferation of ANNS solvers. Whereas the ANN-Benchmarks (Bernhardsson et al., 2015) has been developed to compare these methods in a unified environment, many datasets in the ANN-Benchmarks, as pointed out by Chen et al. (2025) , are derived from outdated models such as SIFT and GIST, which are image descriptors developed more than 20 years ago (Lowe, 2004; Oliva & Torralba, 2001) . In addition, its evaluation metric is limited to query per second (QPS)-recall under K = 10.", "source": "marker_v2", "marker_block_id": "/page/0/Text/9"}
|
| 4 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Seeing the fast development of AI technology, we argue that a well-designed ANNS solver should perform well on modern datasets, and beyond (D1) QPS-recall performance, several demands must also be considered: (D2) indexing time, for which graph indexes such as HNSW (Malkov & Yashunin, 2020) are often criticized (Lin, 2025; Li & Papakonstantinou, 2025) , compromising their use in applications that require instant deployment; (D3) memory footprint, where moderate and adjustable consumption, mostly caused by the index size, is desired for the memory vs accuracy trade-off (Cheng et al., 2024; Wallace, 2025) ; (D4) scalability to high dimensionality, as motivated by the increasing dimensionality of modern embedding models such as CLIP (Radford et al., 2021) 1 ; (D5) robustness against the retrieval size K, due to the needs in various applications (e.g., K is typically 10 for RAG (Fensore et al., 2025; Ke et al., 2025) but can be up to hundreds in image retrieval (Vendrow et al., 2024) and thousands in recommender systems (Zhang et al., 2025) ); (D6) support of online insertions, which is essential for emergent applications such as self-evolving agents that continually accumulate and reuse experience through interaction (Ouyang et al., 2025; Zhai et al., 2025; Zhang et al., 2026) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/10"}
|
| 5 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0004", "section": "1.1. Prior Works", "page_start": 1, "page_end": 1, "type": "Text", "text": "We review representative ANNS solvers based on D1 – D6. More discussions on literature can be found in Appendix C.", "source": "marker_v2", "marker_block_id": "/page/0/Text/12"}
|
| 6 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0005", "section": "1.1. Prior Works", "page_start": 1, "page_end": 1, "type": "Footnote", "text": "1 Despite the availability of dimensionality reduction techniques, Weller et al. (2025) proved that for embedding-based retrieval with dimensionality d, there exists a dataset size n (e.g., n ≈ 4M for d = 1024) beyond which it is theoretically impossible to represent all possible top-2 document combinations, showcasing the necessity for higher dimensionality on large datasets.", "source": "marker_v2", "marker_block_id": "/page/0/Footnote/13"}
|
| 7 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0006", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "TableGroup", "text": "Table 1. Summary of empirical performance comparison of notable ANNS solvers, HNSW (Malkov & Yashunin, 2020), Vamana (in-memory DiskANN (Subramanya et al., 2019)), IVFPQFS (fast scan IVFPQ (Jégou et al., 2011)), ScaNN (Guo et al., 2020a), RaBitQ+ (Gao et al., 2025), SymQG (Gou et al., 2025), HNSW+KS2 (Lu et al., 2025), and our solutions PAG-Base (for high QPS) and PAG-Lite (for fast indexing and small index size). Detailed results are available in Sec. 5.2. The evaluation of D1 – D3 is clustered into tiers, where Tier-4 is the best. D4 – D6 are evaluated in yes/no (√/X). Graph-Based Quantization-Based QG PG PA ıG Criteria HNSW Vamana IVFPQFS 1 ScaNN 1 RaBitQ+ SymQG HNSW+KS2 PAG-Base PAG-Lite D1. QPS-recall Tier-2 Tier-2 Tier-1 Tier-1 Tier-1 Tier-3 Tier-3 Tier-4 Tier-3 D2. Indexing time Tier-1 Tier-1 Tier-3 Tier-3 Tier-3 Tier-2 Tier-1 Tier-2 Tier-4 D3. Memory footprint 2 Tier-3 Tier-3 Tier-4 Tier-4 Tier-4 Tier-1 Tier-2 Tier-3 Tier-4 D4. High-dim. scalability ✓ ✓ ✓ ✓ ✓ X ✓ ✓ ✓ D5. Retrieval size robustness ✓ ✓ ✓ ✓ ✓ Х ✓ ✓ ✓ D6. Online insertion support 3 ✓ ✓ ✓ ✓ \\checkmark X × ✓ ✓ Reranking is enabled for IVFPOFS and ScaNN.", "source": "marker_v2", "marker_block_id": "/page/1/TableGroup/346"}
|
| 8 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0007", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Graph-Based Methods. These methods construct a similarity graph connecting nearby vectors and hop towards the neighborhood of q. Notable methods are HNSW (Malkov & Yashunin, 2020), NSG (Fu et al., 2019), and DiskANN (Subramanya et al., 2019). They are generally competitive in QPS-recall but slow in building indexes.", "source": "marker_v2", "marker_block_id": "/page/1/Text/7"}
|
| 9 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0008", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Quantization-Based Methods. These methods compress vectors and rank them using approximate (i.e., quantized) distances to q in pursuit of efficiency. Representative methods are IVFPQ (Jégou et al., 2011) and ScaNN (Guo et al., 2020a). They are fast in building indexes and save memory, but their QPS-recall is generally inferior to graph-based methods.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
|
| 10 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0009", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Projection-Based Methods. These methods use random (e.g., E2LSH (Andoni & Indyk, 2005), Falconn (Andoni et al., 2015), and CEOs (Pham, 2021)) or data-dependent (e.g., learning to hash (Wang et al., 2018)) projections of the original vectors for indexing. Although many of them enjoy theoretical guarantees, they are less competitive than graphand quantization-based methods in QPS-recall performance, hence becoming less popular in modern top-K ANNS.", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
|
| 11 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0010", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "<u>Tree-Based Methods.</u> They utilize tree indexes. table methods include k-d tree (Bentley, 1990), cover tree (Beygelzimer et al., 2006), and Annoy (Bernhardsson, 2013). Like projection-based methods, they are less widely used for modern ANNS due to limited QPS-recall performance.", "source": "marker_v2", "marker_block_id": "/page/1/Text/10"}
|
| 12 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0011", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "As discussed above, graph-based methods are good at QPSrecall. But they compute exact distances between vectors, which is computationally costly. To address this weakness, recent advancements attempt to integrate other techniques, in particular, quantization or projection, into graphs.", "source": "marker_v2", "marker_block_id": "/page/1/Text/11"}
|
| 13 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0012", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Quantized Graph (QG) Methods. They construct a similarity graph based on quantized vectors instead of the original ones, thereby replacing exact distances with approximate values. Representative methods are NGT-QG (Yahoo! Japan, 2023),", "source": "marker_v2", "marker_block_id": "/page/1/Text/12"}
|
| 14 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0013", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "LVQ (Aguerrebere et al., 2023), and SymphonyQG (Gou et al., 2025). QG methods can achieve very high QPS-recall performance, yet they are sensitive to the data distribution and many of them do not perform very well in D3 - D6.", "source": "marker_v2", "marker_block_id": "/page/1/Text/13"}
|
| 15 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0014", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Projection + Graph ( PG ) Methods . Unlike QG, they operate on original vectors and reduce unnecessary exact distance computations. To this end, they employ projection techniques to test whether a neighbor needs to be explored (called routing tests). Representative methods are FINGER (Chen et al., 2023), PEOs (Lu et al., 2024), and KS2 (Lu et al., 2025). Despite QPS-recall improvement on top of graph-based methods, such improvement comes at the cost of indexing time, memory footprint, and support for online insertions.", "source": "marker_v2", "marker_block_id": "/page/1/Text/14"}
|
| 16 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0015", "section": "1.1. Prior Works", "page_start": 2, "page_end": 2, "type": "Text", "text": "Table 1 compares notable methods implemented in leading vector databases and recent ones representing state of the art.", "source": "marker_v2", "marker_block_id": "/page/1/Text/15"}
|
| 17 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0016", "section": "1.2. Our Solution", "page_start": 2, "page_end": 2, "type": "Text", "text": "We propose a new ANNS framework, Projection-Augmented Graph (PAG), which integrates projection into a similarity graph and achieves superior performance for all the six criteria. Unlike PG methods, PAG treats projection as a fundamental building block of graph construction rather than as a plug-in. The rationale of PAG is to accommodate both exact and approximate distances within a unified framework, addressing two key issues: (1) when distances shall be computed exactly and when they shall be approximated, and (2) how exact and approximate distances are compared during indexing and searching to enhance the performance.", "source": "marker_v2", "marker_block_id": "/page/1/Text/17"}
|
| 18 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0017", "section": "1.2. Our Solution", "page_start": 2, "page_end": 2, "type": "Text", "text": "PAG significantly reduces the computational cost of searching (D1) and indexing (D2) by carefully determining whether exact distance computation is needed. Such procedure relies on asymmetric comparisons between exact and approximate distance values obtained from space-efficient and adjustable random-projection structures (D3), as opposed to symmetric comparisons in QG. Moreover, the asymmetric distance", "source": "marker_v2", "marker_block_id": "/page/1/Text/18"}
|
| 19 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0018", "section": "1.2. Our Solution", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "Memory footprint for searching, rather than indexing, is compared.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/5"}
|
| 20 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0019", "section": "1.2. Our Solution", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "& lt;sup>3</sup> For any streaming workload Q composed of search and insertion queries, we say an algorithm supports online insertion, if the amortized cost of processing a query in Q is O(1) times the cost of a search. In other words, the index can be incrementally updated with minimal cost. See Sec. 4.3 for the analysis of PAG.", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/6"}
|
| 21 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0020", "section": "1.2. Our Solution", "page_start": 3, "page_end": 3, "type": "Text", "text": "comparisons, as guided by random-projection-based statistical tests, only need to tell which value is larger, thereby achieving accuracy while preserving efficiency. Meanwhile, PAG inherits graph-based methods' scalability to high dimensionality (D4) and robustness against retrieval size (D5), and follows the search-and-insertion paradigm (e.g., HNSW) to accommodate online insertions (D6).", "source": "marker_v2", "marker_block_id": "/page/2/Text/1"}
|
| 22 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0021", "section": "1.2. Our Solution", "page_start": 3, "page_end": 3, "type": "Text", "text": "Our technical contributions are summarized as follows.", "source": "marker_v2", "marker_block_id": "/page/2/Text/2"}
|
| 23 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0022", "section": "1.2. Our Solution", "page_start": 3, "page_end": 3, "type": "ListGroup", "text": "(1) Following the idea of routing tests in PEOs (Lu et al., 2024) and KS2 (Lu et al., 2025) , we derive a Probabilistic Routing Test (PRT) function (Sec. 3.2) . The theoretical result (Theorem 3.1) , along with Lemma 4.3 in Lu et al. (2025) , provides a complete theoretical explanation of PRT. In addition, our work is the first to apply PRT to graph construction. (2) We propose a data structure called Test Feedback Buffer (TFB) (Sec. 3.3) , which refines the threshold setting in PRT and enables the reuse of false positives generated by PRT. By incorporating TFB into PRT, we obtain the PRT-TFB test as a core technique for accelerating both indexing and searching. (3) We propose a statistical test called Probabilistic Edge Selection (PES) (Sec. 3.4) , which is derived from Theorem 3.1 and can expand in-degrees when necessary. In collaboration with PRT, PRT-PES can improve the search performance for hard datasets on which traditional graph indexes perform poorly, while incurring very small indexing overhead. (4) PRT, TFB, and PES constitute PAG (Fig. 1) . We show how the three components interact within PAG, with implementation details and complexity analysis provided. (5) We conduct experiments on six modern (post-2023) datasets covering text, image, and multimodal data, with dimensionality ranging from 384 to 3072 and retrieval size from 10 to 1000. The results show that PAG achieves the best QPS-recall performance (up to 5× faster than HNSW), and its superiority is particularly evident on datasets with higher dimensionality. PAG remains dominant as K increases. By adjusting parameters, PAG can deliver the fastest indexing speed and lowest memory footprint on most datasets while maintaining competitive QPS-recall. PAG also performs well on the datasets in the ANN-Benchmarks, showcasing its compatibility with data generated by legacy models.", "source": "marker_v2", "marker_block_id": "/page/2/ListGroup/782"}
|
| 24 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0023", "section": "2. Problem Setting", "page_start": 3, "page_end": 3, "type": "Text", "text": "Since PAG adopts a search-and-insertion paradigm, its search process, similar to HNSW, can be seen as a special case of index construction (i.e., no update to the graph), and we can focus on the problems that arise in index construction. Because constructing a similarity graph is essentially determining its edge set, we consider the following question: Can we design statistical methods that select edges efficiently (i.e., fast indexing) and effectively (i.e., fast searching)? To an-", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
|
| 25 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0024", "section": "2. Problem Setting", "page_start": 3, "page_end": 3, "type": "Text", "text": "swer this question, we first review the existing edge-selection strategy, and then formalize the problems to be solved.", "source": "marker_v2", "marker_block_id": "/page/2/Text/10"}
|
| 26 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0025", "section": "2.1. Background of RobustPrune", "page_start": 3, "page_end": 3, "type": "Text", "text": "Given a directed graph, let v be a node whose edges are to be determined. To identify its in-neighbor set Nin(v) and out-neighbor set Nout(v), state-of-the-art methods, such as HNSW, NSG and Vamana, employ a strategy known as RobustPrune to decide whether a candidate edge should be preserved. Take the construction of Nin(v) as an example. For a candidate neighbor u of node v, the pruning criterion considers the following set 2 :", "source": "marker_v2", "marker_block_id": "/page/2/Text/12"}
|
| 27 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0026", "section": "2.1. Background of RobustPrune", "page_start": 3, "page_end": 3, "type": "Equation", "text": "S_{u,v} = \\{ w \\in N_{\\text{out}}(u) \\mid ||w - v|| \\le ||v - u|| \\}. (1)", "source": "marker_v2", "marker_block_id": "/page/2/Equation/13"}
|
| 28 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0027", "section": "2.1. Background of RobustPrune", "page_start": 3, "page_end": 3, "type": "Text", "text": "In RobustPrune, if there exists w in Su, v such that ∥w − u∥ ≤ ∥v − u∥, u is not added to Nin(v); otherwise, Nin(v) is updated as Nin(v)∪{u}. This criterion admits an intuitive interpretation: if ∥w − u∥ ≤ ∥v − u∥ holds for some w, it is likely that one can reach v from u via w along a monotonic search path (Fu et al., 2019) , implying that the direct edge uv⃗ is redundant. Similarly, Nout(v) can be constructed by RobustPrune with the roles of u and v reversed. In sum, existing graph-based methods determine Nout(v) and Nin(v) sequentially in the following manner.", "source": "marker_v2", "marker_block_id": "/page/2/Text/14"}
|
| 29 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0028", "section": "2.1. Background of RobustPrune", "page_start": 3, "page_end": 3, "type": "Text", "text": "Nout(v) . We take v as the query and conduct an ANNS from v to obtain a candidate set, which is stored in a priority queue P. RobustPrune is then applied to P to determine Nout(v).", "source": "marker_v2", "marker_block_id": "/page/2/Text/15"}
|
| 30 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0029", "section": "2.1. Background of RobustPrune", "page_start": 3, "page_end": 3, "type": "Text", "text": "Nin(v) . We check every u in Nout(v) and preserve those u's retained by RobustPrune as Nin(v).", "source": "marker_v2", "marker_block_id": "/page/2/Text/16"}
|
| 31 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0030", "section": "2.2. Towards Fast Graph Construction", "page_start": 3, "page_end": 3, "type": "Text", "text": "During graph construction, most of the time is spent on ANNS for the candidate set of Nout(v). Although we can reduce the graph construction parameter (e.g., efC in HNSW) for fast graph construction, the query processing performance degrades accordingly. Thus, we raise the following question.", "source": "marker_v2", "marker_block_id": "/page/2/Text/18"}
|
| 32 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0031", "section": "2.2. Towards Fast Graph Construction", "page_start": 3, "page_end": 3, "type": "Text", "text": "Q1. How can we accelerate the ANNS for v while preserving the query processing performance?", "source": "marker_v2", "marker_block_id": "/page/2/Text/19"}
|
| 33 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0032", "section": "2.2. Towards Fast Graph Construction", "page_start": 3, "page_end": 3, "type": "Text", "text": "Existing studies PEOs and KS2 have shown that PRT has the potential to be an appropriate answer to Q1. For each visited node u and its out-neighbor w, PRT sends (u, v, w) to a probabilistic test function to see whether they can pass the test, and then determines whether the exact distance between v and w needs to be computed based on the test result. Consequently, PRT avoids unnecessary distance computations, leading to faster search. In KS2 (Lu et al., 2025) , it is shown that the routing test under ℓ 2 and cosine distances is equivalent to the angle-thresholding problem when vector norms", "source": "marker_v2", "marker_block_id": "/page/2/Text/20"}
|
| 34 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0033", "section": "2.2. Towards Fast Graph Construction", "page_start": 3, "page_end": 3, "type": "Footnote", "text": "For Vamana, we assume its pruning ratio α = 1 and omit it in the inequality.", "source": "marker_v2", "marker_block_id": "/page/2/Footnote/21"}
|
| 35 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0034", "section": "2.2. Towards Fast Graph Construction", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "Figure 1. An overview of PAG. In this example, \\boldsymbol{u} has 7 out-neighbors \\{\\boldsymbol{w_i}\\}_{i=1}^7 . Let \\{\\boldsymbol{e_i}\\}_{i=1}^7 denote the edges between \\boldsymbol{u} and \\{\\boldsymbol{w_i}\\}_{i=1}^7 , which are sent to PRT, where the threshold is determined by \\boldsymbol{z_{max}} . As a result, only \\boldsymbol{w_3} and \\boldsymbol{w_5} pass PRT, and their exact distances to \\boldsymbol{v} are computed. By distance comparison, node \\boldsymbol{w_5} is identified as a false positive, not added to W, and thus sent to R_F . Node \\boldsymbol{w_3} is inserted into W, causing \\boldsymbol{z_{max}} to be ejected from W and sent to R_T . The two rings R_F and R_T are merged and refilled into W. On the other route, by a left shift, the signs of both \\boldsymbol{w_3} and \\boldsymbol{w_5} are reversed, and all signs become negative, indicating that \\boldsymbol{u} is rejected by the PES test. Consequently, \\boldsymbol{u}\\dot{\\boldsymbol{v}} is treated as a candidate edge and added to the PES set.", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/339"}
|
| 36 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0035", "section": "2.2. Towards Fast Graph Construction", "page_start": 4, "page_end": 4, "type": "Text", "text": "are stored explicitly. Therefore, PRT can be formulated as follows:", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
|
| 37 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0036", "section": "2.2. Towards Fast Graph Construction", "page_start": 4, "page_end": 4, "type": "Text", "text": "Problem 2.1. ( Probabilistic Routing Test ) Given u, v, w \\in \\mathbb{S}^{d-1} and a threshold -1 \\le \\tau \\le 1 , construct a random-projection vector set \\mathcal{F} and design a test function w.r.t \\mathcal{F} , i.e., PRT : (u, v, w, \\tau) \\to RV with time complexity o(d), where RV denotes the set of one-dimensional random variables, such that if \\cos(\\angle(v-u, w-u)) \\ge \\tau , then \\mathbb{P}[\\operatorname{PRT}(u, v, w, \\tau) \\ge 0] \\ge 0.5 . Otherwise, \\mathbb{P}[\\operatorname{PRT}(u, v, w, \\tau) < 0] \\to 1 as |\\mathcal{F}| \\to \\infty .", "source": "marker_v2", "marker_block_id": "/page/3/Text/5"}
|
| 38 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0037", "section": "2.2. Towards Fast Graph Construction", "page_start": 4, "page_end": 4, "type": "Text", "text": "Different from the routing test functions used in PEOs and KS2, we take \\tau as an explicit input. In this paper, we use another method to determine \\tau in order to further improve the efficiency of the routing test.", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
|
| 39 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0038", "section": "2.3. Towards High Graph Connectivity", "page_start": 4, "page_end": 4, "type": "Text", "text": "From the process of determining N_{\\rm in}(\\boldsymbol{v}) , we observe that its candidate set is restricted to N_{\\rm out}(\\boldsymbol{v}) . Recent work (Wang et al., 2025a) shows that |N_{\\rm out}(\\boldsymbol{v})| may be too small to reliably determine incoming edges, causing some nodes to have very small in-degrees. Such nodes may become unreachable during search, which partly explains why HNSW performs poorly on certain real-world datasets. On the other hand, for each checked node \\boldsymbol{u} , the worst-case time complexity of RobustPrune can reach O(|N_{\\rm out}(\\boldsymbol{u})|d) , implying that a straightforward enlargement of the candidate set for", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
|
| 40 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0039", "section": "2.3. Towards High Graph Connectivity", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "Figure 2. Illustration of PES (left: the role of PES; right: geometric illustration). Let \\boldsymbol{v} be the node to be inserted. The four green nodes are out-neighbors of \\boldsymbol{v} . Without PES, we can obtain only a single in-neighbor via RobustPrune. By taking all other visited nodes (the blue ones) into account, we apply PES, followed by RobustPrune. As such, we can identify three additional promising in-neighbors, thereby strengthening the connectivity of the neighborhood of \\boldsymbol{v} .", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/340"}
|
| 41 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0040", "section": "2.3. Towards High Graph Connectivity", "page_start": 4, "page_end": 4, "type": "Text", "text": "determining incoming edges is expensive. Considering this dilemma, we raise the following question.", "source": "marker_v2", "marker_block_id": "/page/3/Text/11"}
|
| 42 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0041", "section": "2.3. Towards High Graph Connectivity", "page_start": 4, "page_end": 4, "type": "Text", "text": "Q2. How can we efficiently detect incoming edges outside N_{\\text{out}}(v) that are useful for improving query processing performance but hard to be identified by RobustPrune?", "source": "marker_v2", "marker_block_id": "/page/3/Text/12"}
|
| 43 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0042", "section": "2.3. Towards High Graph Connectivity", "page_start": 5, "page_end": 5, "type": "Text", "text": "To answer this question, we formulate a problem as follows.", "source": "marker_v2", "marker_block_id": "/page/4/Text/1"}
|
| 44 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0043", "section": "2.3. Towards High Graph Connectivity", "page_start": 5, "page_end": 5, "type": "Text", "text": "Problem 2.2. ( Probabilistic Edge Selection ) Given u, v \\in \\mathbb{S}^{d-1} , construct a random-projection-vector set \\mathcal{F} and design a probabilistic edge selection function PES: (u, v) \\to RV whose time complexity is O(|N_{\\mathrm{out}}(u)|) , such that if S_{u,v} is non-empty, then \\mathbb{P}[\\mathrm{PES}(u,v) \\geq 0] \\geq 0.5 . Otherwise, \\mathbb{P}[\\mathrm{PES}(u,v) < 0] \\to 1 as |\\mathcal{F}| \\to \\infty .", "source": "marker_v2", "marker_block_id": "/page/4/Text/2"}
|
| 45 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0044", "section": "2.3. Towards High Graph Connectivity", "page_start": 5, "page_end": 5, "type": "Text", "text": "We emphasize that the PES test is far more than a fast probabilistic implementation of RobustPrune. This is because the PES test can be applied to all visited nodes during the ANNS of \\boldsymbol{v} , whose number is typically much larger than N_{\\rm out}(\\boldsymbol{v}) in practice, leading to a better graph index in terms of connectivity (Fig. 2).", "source": "marker_v2", "marker_block_id": "/page/4/Text/3"}
|
| 46 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0045", "section": "3. Projection-Augmented Graph", "page_start": 5, "page_end": 5, "type": "Text", "text": "We show that Problems 2.1 and 2.2 can be solved in a unified framework PAG, which contains three components: Probabilistic Routing Test (PRT), Test Feedback Buffer (TFB), and Probabilistic Edge Selection (PES).", "source": "marker_v2", "marker_block_id": "/page/4/Text/5"}
|
| 47 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0046", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "We present an asymptotic result that characterizes the relationship between multiple angles in high-dimensional spaces and their corresponding projection values onto a certain projection vector. This result forms the theoretical basis for all the three components. We first describe how to construct the random-projection vector set \\mathcal F that appears in Problems 2.1 and 2.2, following an approach similar to that used in KS2 (Lu et al., 2025). Specifically, we divide the original space \\mathbb R^d into L subspaces, each of dimension d/L. In each subspace, we generate multiple cross-polytopes and apply an independent rotation to each, producing a total of m normalized vectors on \\mathbb S^{d/L-1} . By concatenation, we obtain a total of m^L normalized vectors \\{r_j\\}_{j=1}^{m^L} , which together form the set \\mathcal F . Consider v as the node to be inserted and v as the candidate neighbor to be checked, let N_{\\mathrm{out}}(u) := \\{w_i\\}_{i=1}^t . We define \\{\\alpha_i\\}_{i=1}^t as follows.", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
|
| 48 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0047", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\alpha_i := \\arccos \\frac{\\langle \\boldsymbol{w_i} - \\boldsymbol{u}, \\boldsymbol{v} - \\boldsymbol{u} \\rangle}{\\|\\boldsymbol{w_i} - \\boldsymbol{u}\\| \\|\\boldsymbol{v} - \\boldsymbol{u}\\|}, \\quad 1 \\le i \\le t \\quad (2)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/8"}
|
| 49 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0048", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "Since \\|\\boldsymbol{w_i} - \\boldsymbol{u}\\| and \\|\\boldsymbol{v} - \\boldsymbol{u}\\| can be pre-computed, we aim to estimate [\\cos \\alpha_1, \\dots, \\cos \\alpha_t]^{\\top} without exact inner product computation in Eq. (2). We will show that this can be realized by \\mathcal{F} . For each \\boldsymbol{w_i} ( 1 \\leq i \\leq t ), let \\boldsymbol{r_i^*} \\in \\mathcal{F} be the reference vector that has the smallest angle with \\boldsymbol{w_i} - \\boldsymbol{u} , and denote this smallest angle by \\beta_i . We use \\cos \\theta_i to denote the cosine of the angle between \\boldsymbol{r_i^*} and \\boldsymbol{v} - \\boldsymbol{u} , and subscript l to denote the l-th sub-vector of the original vector in \\mathbb{R}^d , 1 \\leq l \\leq L . We introduce the following assumptions for each i:", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
|
| 50 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0049", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Equation", "text": "(A1) \\|(\\boldsymbol{w_i} - \\boldsymbol{u})\\| = 1 and \\|(\\boldsymbol{v} - \\boldsymbol{u})\\| = 1 .", "source": "marker_v2", "marker_block_id": "/page/4/Equation/10"}
|
| 51 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0050", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Equation", "text": "(A2) \\|(\\boldsymbol{w_i} - \\boldsymbol{u})_l\\| and \\|(\\boldsymbol{v} - \\boldsymbol{u})_l\\| are equal to (1 + o(1))/\\sqrt{L} . (A3) \\langle (\\boldsymbol{v} - \\boldsymbol{u})_l, (\\boldsymbol{w_i} - \\boldsymbol{u})_l \\rangle = (\\cos \\alpha_i)(1 + o(1))/L .", "source": "marker_v2", "marker_block_id": "/page/4/Equation/11"}
|
| 52 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0051", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "Here, A1 does not lose generality, and A2 and A3 are mild for large d and L (see the remarks in Appendix B). Under these assumptions, the following theorem shows that \\{\\alpha_i\\}_{i=1}^t can be asymptotically estimated by \\{\\beta_i\\}_{i=1}^t and \\{\\theta_i\\}_{i=1}^t .", "source": "marker_v2", "marker_block_id": "/page/4/Text/12"}
|
| 53 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0052", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "Theorem 3.1. Under A1–A3, as L \\to \\infty , d/L \\to \\infty , and m grows sufficiently fast with respect to d/L, X = [\\cos \\theta_1, \\dots, \\cos \\theta_t]^\\top , conditioned on \\{\\alpha_i, \\beta_i\\}_{i=1}^t , is asymptotically Gaussian:", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
|
| 54 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0053", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Equation", "text": "X \\mid \\{\\alpha_i, \\beta_i\\}_{i=1}^t \\xrightarrow{d} \\mathcal{N}(\\bar{\\mu}, \\bar{\\Sigma}_{m,L}) (3)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/14"}
|
| 55 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0054", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "where the mean is \\bar{\\mu} = [\\cos \\alpha_1 \\cos \\beta_1, \\dots, \\cos \\alpha_t \\cos \\beta_t]^\\top , and \\bar{\\Sigma}_{m,L} = O(\\epsilon_m/L) with \\epsilon_m \\to 0 as m \\to \\infty .", "source": "marker_v2", "marker_block_id": "/page/4/Text/15"}
|
| 56 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0055", "section": "3.1. Neighborhood Relations via Random Projection", "page_start": 5, "page_end": 5, "type": "Text", "text": "Remarks. (1) Theorem 3.1 establishes a geometric relationship among multiple out-neighbors of \\boldsymbol{u} and \\boldsymbol{v} , allowing us to estimate the relative location of \\boldsymbol{v} w.r.t. \\boldsymbol{u} within the neighborhood of \\boldsymbol{u} . This relationship is the key to both PRT and PES. (2) In our proof, m \\to \\infty is used to eliminate noise from off-diagonal entries, while L \\to \\infty is required for the central limit theorem (CLT). In practice, moderate values of m and L are sufficient. Weak results under finite (m, L) can be found in Lemma 4.3 in the KS2 paper (Lu et al., 2025). (3) \\boldsymbol{X} can be computed efficiently by AVX512 on modern CPUs. Vector [\\cos \\beta_1, \\ldots, \\cos \\beta_t]^{\\top} can be pre-computed, meaning that we can obtain an efficient way to estimate all \\cos \\alpha_i 's simultaneously.", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
|
| 57 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0056", "section": "3.2. Probabilistic Routing Test", "page_start": 5, "page_end": 5, "type": "Text", "text": "Let \\tau_i be a threshold w.r.t w_i . Our PRT function is as follows:", "source": "marker_v2", "marker_block_id": "/page/4/Text/18"}
|
| 58 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0057", "section": "3.2. Probabilistic Routing Test", "page_start": 5, "page_end": 5, "type": "Equation", "text": "PRT(\\boldsymbol{u}, \\boldsymbol{v}, \\boldsymbol{w_i}, \\tau_i) = \\frac{\\cos \\theta_i}{\\cos \\beta_i} - \\tau_i. (4)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/19"}
|
| 59 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0058", "section": "3.2. Probabilistic Routing Test", "page_start": 5, "page_end": 5, "type": "Text", "text": "For fixed (u, v), if the value of PRT is positive, the corresponding w_i passes the PRT. Based on Theorem 3.1, under asymptotic assumptions, the PRT function satisfies all the required properties in Problem 2.1. Here, we do not specify the setting of \\tau_i , which will be postponed to Sec. 3.3.", "source": "marker_v2", "marker_block_id": "/page/4/Text/20"}
|
| 60 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0059", "section": "3.2. Probabilistic Routing Test", "page_start": 5, "page_end": 5, "type": "Text", "text": "Remarks. Following the use of routing test in PEOs and KS2, exact distances are computed only between v and those w_i 's that pass PRT (see Fig. 1). The PRT function has the same structure as the KS2 test function (Lu et al., 2025), except for the setting of the threshold \\tau . However, since the PRT and KS2 tests are derived using different principles, their theoretical results are complementary. Theorem 4.3 in the KS2 paper shows that, for every single w_i , even for finite (m, L), if \\cos(\\angle(v - u, w_i - u)) \\ge \\tau_i , then \\mathbb{P}[\\operatorname{PRT}(u, v, w_i, \\tau_i) \\ge 0] \\ge 0.5 still holds. Our result, on the other hand, characterizes the concrete asymptotic distribution and reveals the impact of L on the covariance, thereby explaining how L is used to adjust the estimation accuracy.", "source": "marker_v2", "marker_block_id": "/page/4/Text/21"}
|
| 61 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0060", "section": "3.3. Test Feedback Buffer", "page_start": 6, "page_end": 6, "type": "Text", "text": "For the PRT function, a key issue is how to set an appropriate threshold τ . In PEOs and KS2, τ is simply determined by the current furthest point in the result list (priority queue) P. However, due to the existence of false positives (FPs) generated by PRT, some points may pass PRT but cannot be added to P, which implies that the exact distance computations w.r.t such points are redundant. On the other hand, the Gaussian distribution established in Theorem 3.1 implies that, with high probability, the actual distances of these FPs to the query q are not much larger than the threshold τ . This observation naturally raises the following question: can we incrementally increase the threshold τ so that the currently generated FPs can be reused in subsequent search process?", "source": "marker_v2", "marker_block_id": "/page/5/Text/2"}
|
| 62 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0061", "section": "3.3. Test Feedback Buffer", "page_start": 6, "page_end": 6, "type": "Text", "text": "We give an affirmative answer to this question and propose TFB, which consists of four components: the top-K result list RL, the working set W, and two ring buffers R F and R T , where |W| = |R F | = |R T |. The search procedure is divided into multiple rounds. In the j-th round, we operate on W and adopt the standard Best-First Search (BFS) strategy to update its nodes. During the BFS over W, in addition to the nodes stored in W, there are two types of nodes whose exact distances to the query q are computed. The first type consists of nodes ejected from W; these nodes are inserted into R T . The second type consists of false-positive (FP) nodes that pass the PRT but cannot be added to W; these nodes are inserted into R F . After all nodes in W have been visited, we update R L and clear W. We then merge R F and R T and sort the combined list by distance to q. The sorted nodes are first inserted into W until it is full, and the remaining nodes are inserted into R T . Finally, R F is cleared. The ANNS is completed after several such rounds. In the j-th round, let zmax denote the furthest node in W. τ i in Eq. (4) is set to be the threshold on the cosine of the angle between w i − u and v − u required for w i to be admitted into W, i.e.,", "source": "marker_v2", "marker_block_id": "/page/5/Text/3"}
|
| 63 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0062", "section": "3.3. Test Feedback Buffer", "page_start": 6, "page_end": 6, "type": "Equation", "text": "\\tau_i = \\frac{\\|u - w_i\\|^2 + \\|u - v\\|^2 - \\|z_{\\max} - v\\|^2}{2\\|v - u\\|\\|w_i - u\\|}. (5)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/4"}
|
| 64 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0063", "section": "3.3. Test Feedback Buffer", "page_start": 6, "page_end": 6, "type": "Text", "text": "PRT-TFB Test. We call the combination of Eq. (4) and Eq. (5) the PRT-TFB test. Compared with existing routing test methods such as PEOs and KS2, which operate on the whole priority queue P, the PRT-TFB test has the following two advantages. (1) For large efC or large efS—which denotes the result list size, same as the notation in HNSW—the size of W is much smaller than that of P, and the movement of elements in W is much faster than that in P. (2) Each FP has a good chance of being selected as the visited node in the future rounds only if it remains in either of two rings, ensuring that its exact distance to q can be utilized at a certain time point.", "source": "marker_v2", "marker_block_id": "/page/5/Text/5"}
|
| 65 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0064", "section": "3.4. Probabilistic Edge Selection", "page_start": 6, "page_end": 6, "type": "Text", "text": "In RobustPrune, ∥w i − v∥ needs to be smaller than ∥v − u∥ to allow u to be retained. Let δ i := ∥w i − u∥/(2∥v − u∥) denote the threshold on the cosine of the angle between w i − u and v − u, such that ∥w i − v∥ < ∥v − u∥. Then, the PES function is designed as follows.", "source": "marker_v2", "marker_block_id": "/page/5/Text/7"}
|
| 66 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0065", "section": "3.4. Probabilistic Edge Selection", "page_start": 6, "page_end": 6, "type": "Equation", "text": "PES(\\boldsymbol{u}, \\boldsymbol{v}) = \\max_{1 \\le i \\le t} \\left( \\frac{\\cos \\theta_i}{\\cos \\beta_i} - \\delta_i \\right). (6)", "source": "marker_v2", "marker_block_id": "/page/5/Equation/8"}
|
| 67 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0066", "section": "3.4. Probabilistic Edge Selection", "page_start": 6, "page_end": 6, "type": "Text", "text": "By Theorem 3.1, we can see that the PES function in Eq. (6) satisfies the probabilistic properties in Problem 2.2. In practice, if the value in Eq. (6) is negative, we say that (u, v) is rejected by PES, and this edge will be regarded as a promising candidate for further examination of RobustPrune.", "source": "marker_v2", "marker_block_id": "/page/5/Text/9"}
|
| 68 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0067", "section": "3.4. Probabilistic Edge Selection", "page_start": 6, "page_end": 6, "type": "Text", "text": "PRT-PES Collaboration. From their definitions, the difference between the two thresholds, that is, τ i − δ i , is a value independent of v − w and can be pre-computed. Thus, we can conduct the PES test based on the test results of the PRT, leading to an O(1) time complexity, which confirms the objective O(|Nout(u)|) stated in Problem 2.2.", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
|
| 69 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0068", "section": "3.4. Probabilistic Edge Selection", "page_start": 6, "page_end": 6, "type": "Text", "text": "PES Set. For every u whose PES value is negative, we do not check uv⃗ by RobustPrune immediately. Instead, we add uv⃗ into a so-called PES set for later examination (see Fig. 1) .", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
|
| 70 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0069", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Indexing Phase. PAG inserts every v ∈ D sequentially into the graph. For each v, the process can be divided into the following three steps.", "source": "marker_v2", "marker_block_id": "/page/5/Text/14"}
|
| 71 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0070", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Step 1. PAG performs ANNS equipped with the PRT-TFB test to obtain the elements stored in RL, and then uses RobustPrune to determine Nout(v) and Nin(v).", "source": "marker_v2", "marker_block_id": "/page/5/Text/15"}
|
| 72 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0071", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Step 2. Let Cand(v) denote the set of all nodes visited during ANNS. PAG uses PRT-PES to select additional in-neighbors from Cand(v), thereby supplementing the PES set.", "source": "marker_v2", "marker_block_id": "/page/5/Text/16"}
|
| 73 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0072", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Based on our preceding discussion, PRT-TFB ensures the efficiency of ANNS, while PRT-PES detects more promising edges. We finally select more edges from the PES set.", "source": "marker_v2", "marker_block_id": "/page/5/Text/17"}
|
| 74 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0073", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Step 3. For each candidate edge in the PES set, we apply RobustPrune to determine if it can be added to the graph.", "source": "marker_v2", "marker_block_id": "/page/5/Text/18"}
|
| 75 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0074", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Searching Phase. The query processing with PAG is exactly the PRT-TFB-based ANNS for a query q.", "source": "marker_v2", "marker_block_id": "/page/5/Text/19"}
|
| 76 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0075", "section": "4.1. Implementation", "page_start": 6, "page_end": 6, "type": "Text", "text": "Online Insertion. Like HNSW, PAG naturally supports online insertion. The PES set is checked only after enough new nodes have been inserted into the graph.", "source": "marker_v2", "marker_block_id": "/page/5/Text/20"}
|
| 77 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0076", "section": "4.2. Algorithm Pseudo-Codes of PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "The pseudo-codes of the PAG algorithms are presented in Algs. 1 and 2, which represent the indexing and searching, respectively. Note that indexing is essentially the sequential insertion of all nodes. Similar to Lu et al. (2024) , we store the computed projections in a projection table for lookup (Line 8, Alg. 1 and Line 4, Alg. 2) .", "source": "marker_v2", "marker_block_id": "/page/6/Text/3"}
|
| 78 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0077", "section": "4.2. Algorithm Pseudo-Codes of PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "24 Add the projection information of new edges to I; 25 Apply RobustPrune to the PES set, supplement Nin(v)'s, and add the projection information of new edges to I;", "source": "marker_v2", "marker_block_id": "/page/6/Text/19"}
|
| 79 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0078", "section": "4.3. Complexity Analysis", "page_start": 7, "page_end": 7, "type": "Text", "text": "Time complexity. Searching with HNSW is in O(n ′d)-time, where n ′ is the number of visited nodes during the search. Although a rigorous analysis of n ′ remains an open problem, n ′ can be roughly estimated as O(M log n), where 2M is the", "source": "marker_v2", "marker_block_id": "/page/6/Text/5"}
|
| 80 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0079", "section": "Algorithm 2: Search with PAG", "page_start": 7, "page_end": 7, "type": "Code", "text": "Input: G(D, E, I) is the constructed similarity graph; F is the random-projection structure; efS is the result list size; q is the query; K is the retrieval size Output: Top-K ANN nodes 1 The capacity of RL is set to K; 2 b = max{10, K}; 3 Maximum round Rmax is set to efS/b; 4 Compute all ⟨ql, rjl⟩'s and build a projection table; 5 Insert b elements to W and compute their distance to q; 6 for r = 1 to Rmax do 7 foreach unvisited u ∈ W do 8 foreach w in Nout(u) do 9 if w passes PRT-TFB test then 10 Compute the distance between q and w; 11 if ∥w − q∥ < ∥zmax − q∥ then 12 Update W and insert zmax to RT ; 13 else 14 Insert w to RF ; 15 Update the nodes in W to RL, and empty W; 16 Sort and merge RF and RT , and empty RF and RT ; 17 Refill W until it is full using the sorted elements, and refill RT with the remaining sorted nodes; 18 Return the top-K nodes in RL;", "source": "marker_v2", "marker_block_id": "/page/6/Code/7"}
|
| 81 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0080", "section": "Algorithm 2: Search with PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "maximum out-degree. In contrast, the complexity of PAG is O(n ′L+γn′d), whereL ≪ d is the user-specified parameter and γ ≤ 0.5 denotes the ratio of nodes that passed the PRT-PES test relative to the total number of candidates checked. γ is small in practice (generally < 0.2), and is smaller than the ratio in PEOs and KS2, because TFB ensures that the threshold increases incrementally rather than being set to the furthest distance w.r.t. a full priority queue.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
|
| 82 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0081", "section": "Algorithm 2: Search with PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "As for indexing, due to the search-and-insertion paradigm, we focus on the insertion of v, for which the complexity is O(n ′L + γn′d + M2d + M dm). Here, O(M2d) is the complexity of node connection, and O(M dm) is used to compute projection information, both of which are much smaller than the ANNS part due to their independence of n ′ .", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
|
| 83 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0082", "section": "Algorithm 2: Search with PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "Space complexity. The space complexity of searching with PAG is O(nd + nM + nML), where O(nd) corresponds to the original dataset, O(nM) corresponds to the edge set and O(nML) corresponds to the inference structure. In the indexing phase, since we adopt in-place search for insertion, we only require an additional space of at most O(Mn) to store the edges in PES set. To further reduce the memory footprint, we can follow LVQ (Aguerrebere et al., 2023) and represent floats with 2 bytes.", "source": "marker_v2", "marker_block_id": "/page/6/Text/10"}
|
| 84 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0083", "section": "4.4. Parameter Analysis of PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "We analyze the settings of the parameters in PAG.", "source": "marker_v2", "marker_block_id": "/page/6/Text/12"}
|
| 85 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0084", "section": "4.4. Parameter Analysis of PAG", "page_start": 7, "page_end": 7, "type": "Text", "text": "(1) m: The value of m is fixed to 16, so that each projection vector in a subspace is represented by 4 bits, which is com-", "source": "marker_v2", "marker_block_id": "/page/6/Text/13"}
|
| 86 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0085", "section": "4.4. Parameter Analysis of PAG", "page_start": 8, "page_end": 8, "type": "Text", "text": "Table 2. Dataset statistics.", "source": "marker_v2", "marker_block_id": "/page/7/Text/2"}
|
| 87 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0086", "section": "4.4. Parameter Analysis of PAG", "page_start": 8, "page_end": 8, "type": "Text", "text": "Name/Source Dataset Size Query Size Dim. OOD Type Embedding Model Distance Measure Modern Datasets DBpedia1536 999,000 1,000 1,536 No Text text-embedding-3-large (OpenAI, 2024) Euclidean DBpedia3072 999,000 1,000 3,072 No Text text-embedding-3-large (OpenAI, 2024) Euclidean WoltFood 1,719,611 1,000 512 No Image clip-ViT-B-32 (Radford et al., 2021) Euclidean DataCompDr 12,779,520 1,000 1,536 Yes Text-to-Image coca ViT-L-14 (Yu et al., 2022) Euclidean AmazonBooks 15,928,208 1,000 384 No Text all-MiniLM-L12-v2 (Wang et al., 2020) Euclidean MajorTOM 56,506,400 10,000 1,024 No Image DINOv2 (Oquab et al., 2024) Euclidean Legacy Datasets Word2Vec 1,000,000 1,000 300 No Text Word2Vec (Mikolov et al., 2013) Euclidean GIST 1,000,000 1,000 960 No Image GIST (Oliva & Torralba, 2001) Euclidean GloVe 1,193,514 1,000 200 No Text GloVe (Pennington et al., 2014) Euclidean ImageNet 2,340,373 200 150 No Image dense SIFT (Lazebnik et al., 2006) Euclidean SIFT10M 10,000,000 1,000 128 No Image SIFT (Lowe, 2004) Cosine DEEP100M 100,000,000 1,000 96 No Image GoogLeNet (Szegedy et al., 2015) Cosine", "source": "marker_v2", "marker_block_id": "/page/7/Text/4"}
|
| 88 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0087", "section": "4.4. Parameter Analysis of PAG", "page_start": 8, "page_end": 8, "type": "Text", "text": "patible with the AVX512 instruction set. The choice of 4 bits follows NGT-QG (Yahoo! Japan, 2023) .", "source": "marker_v2", "marker_block_id": "/page/7/Text/5"}
|
| 89 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0088", "section": "4.4. Parameter Analysis of PAG", "page_start": 8, "page_end": 8, "type": "ListGroup", "text": "(2) L: L is recommended to be in [8, d/8], where 8 is compatible with AVX512 because at most 8 levels can be accessed at a time, while d/L = 8 is a safe ratio that ensures the accuracy of the multi-level projection structure, as explained in PEOs (Lu et al., 2024) . Based on the analysis in Sec. 4.3, L is used to tune the trade-off between efficiency and accuracy. (3) M: Similar to its usage in HNSW, 2M is the maximum out-degree of PAG. Based on the analysis in Sec. 4.3, M is recommended to be 64 when space cost permits. In practice, M is generally chosen from {16, 32, 64}. (4) |W|: The size of W is set to max{10, K}. Under this setting, when K ≥ 10, W is aligned with the result list, which enables refilling to be easily executed. (5) efC: efC determines how many nodes are visited in W and plays a role similar to efC in HNSW. It is used to control the trade-off between indexing time and search performance. For fast indexing, efC is recommended to be in [100, 200]. For high graph quality, efC is recommended to be in [1000, 10000]. Notably, thanks to TFB, PAG with a very large efC can be built much faster than HNSW with the same efC.", "source": "marker_v2", "marker_block_id": "/page/7/ListGroup/698"}
|
| 90 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0089", "section": "5. Experiments", "page_start": 8, "page_end": 8, "type": "Text", "text": "We report main results here. Detailed setup and more results are available in Appendices D and E, respectively.", "source": "marker_v2", "marker_block_id": "/page/7/Text/11"}
|
| 91 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0090", "section": "5.1. Experimental Setup", "page_start": 8, "page_end": 8, "type": "Text", "text": "Data Statistics. In the main experiments, we evaluate PAG on eight datasets: DBpedia1536 (Qdrant, 2024a) (a.k.a., OpenAI-1536), DBpedia3072 (Qdrant, 2024b) (a.k.a., OpenAI-3072), WoltFood (Qdrant, 2024c) , AmazonBooks (Kang et al., 2024) , DataCompDr (Apple, 2025) ,", "source": "marker_v2", "marker_block_id": "/page/7/Text/13"}
|
| 92 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0091", "section": "5.1. Experimental Setup", "page_start": 8, "page_end": 8, "type": "Text", "text": "MajorTOM (Major TOM, 2024) , GloVe (Pennington et al., 2014) , and DEEP100M (Simhadri et al., 2021) . The first six are modern text, image, and multimodal (text-to-image) datasets generated by recent embedding models. The latter two are widely-used legacy datasets (downloaded from The Similarity Search Team, CUHK (2018) ). In addition, we report the experimental results on other legacy datasets (Word2Vec, GIST, ImageNet, and SIFT10M) in Appendix E.3. Dataset statistics are reported in Table 2. The queries of DataCompDr are out-of-distribution (OOD). Fig. 11 in Appendix D plots the data and query distributions of this dataset.", "source": "marker_v2", "marker_block_id": "/page/7/Text/14"}
|
| 93 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0092", "section": "5.1. Experimental Setup", "page_start": 8, "page_end": 8, "type": "Text", "text": "Baselines. Baselines include HNSW (Malkov & Yashunin, 2020) , Vamana (Subramanya et al., 2019) , SymQG (Gou et al., 2025) , ScaNN (Guo et al., 2020a) , IVFPQFS (Jegou ´ et al., 2011) , and RaBitQ+ (Gao et al., 2025) . We design two variants of PAG by tuning its parameters, as shown in Table 4 in Appendix D: (1) PAG-Base, for higher search performance, and (2) PAG-Lite, for faster indexing and smaller memory footprint.", "source": "marker_v2", "marker_block_id": "/page/7/Text/15"}
|
| 94 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0093", "section": "5.2. Experimental Results", "page_start": 8, "page_end": 8, "type": "Text", "text": "We set the default retrieval size K = 100.", "source": "marker_v2", "marker_block_id": "/page/7/Text/17"}
|
| 95 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0094", "section": "5.2. Experimental Results", "page_start": 8, "page_end": 8, "type": "ListGroup", "text": "D1. QPS-Recall. Fig. 3 plots the QPS-recall performance. PAG-Base performs the best on all the modern datasets except for high recall settings on WoltFood. Its speedup over HNSW can be up to 5 times. For legacy datasets, PAG-Base is the best on GloVe and only second to SymQG on DEEP100M. PAG-Lite also delivers competitive search performance and is the runner-up on DBpedia1536, DBpedia3072, and MajorTOM. D2. Indexing Time. Fig. 4 (left) shows the indexing time. Under the same or larger efC, PAG-Base requires only 20–40% of the indexing time of HNSW, and is faster than SymQG in most cases. PAG-Lite achieves an indexing time comparable to quantization-based methods, which is further reduced", "source": "marker_v2", "marker_block_id": "/page/7/ListGroup/699"}
|
| 96 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0095", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 3. QPS-recall, K = 100. SymQG runs out of memory on MajorTOM. Recall is plotted in logarithmic scale to highlight large values.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/347"}
|
| 97 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0096", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "FigureGroup", "text": "Figure 4. Indexing time and peak memory usage. SymQG runs out of memory on MajorTOM.", "source": "marker_v2", "marker_block_id": "/page/8/FigureGroup/348"}
|
| 98 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0097", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "to 0.5 \\times on high-dimensional datasets, where it attains the lowest indexing time.", "source": "marker_v2", "marker_block_id": "/page/8/Text/5"}
|
| 99 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0098", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "D3. Memory Footprint. Fig. 4 shows the memory usage in indexing (middle) and searching (right) phases. PAG-Base uses more memory than HNSW on lower-dimensional datasets, but the difference is negligible on higher-dimensional datasets. PAG-Base consistently uses much less memory than SymQG. PAG-Lite achieves the smallest memory footprint in 4 out of 8 cases for both indexing and searching.", "source": "marker_v2", "marker_block_id": "/page/8/Text/6"}
|
| 100 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0099", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "D4. High-dimensional Scalability. The competitiveness of PAG-Base and PAG-Lite over d \\in [96,3072] , as shown in Figs. 3 and 4, is consistent, showcasing its insensitivity to dimensionality. In addition, the advantage of PAG in QPS-recall becomes more pronounced on high-dimensional datasets. In contrast, SymQG reports very low recall on high-dimensional datasets DBpedia1536, DBpedia3072, and DataCompDr, where d \\in \\{1536,3072\\} .", "source": "marker_v2", "marker_block_id": "/page/8/Text/7"}
|
| 101 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0100", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "\\underline{D5.\\ Retrieval\\ Size\\ Robustness} . Besides the QPS-recall for K=100 in Fig. 3, we report the results for K=10 in Fig. 16 and K=1000 in Fig. 18. PAG methods are highly", "source": "marker_v2", "marker_block_id": "/page/8/Text/8"}
|
| 102 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0101", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "competitive across the three K values. When K=10, PAG-Base achieves comparable performance and even outperforms SymQG in the high-recall ( \\geq 95\\% ) region on all datasets except DEEP100M. When K=1000, PAG-Base remains the best, while the performance of SymQG degrades significantly. To highlight the performance comparison, we also plot in Fig. 7 the QPS-recall by varying K from 200 to 800. It can be seen that the gap between PAG-Base and SymQG grows when K moves towards larger values. This observation showcases the robustness of PAG in various applications that differ in retrieval size.", "source": "marker_v2", "marker_block_id": "/page/8/Text/9"}
|
| 103 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0102", "section": "5.2. Experimental Results", "page_start": 9, "page_end": 9, "type": "Text", "text": "D6. Online Insertion Support. To evaluate the query processing performance with online insertions, we consider the following workload. We randomly sample from the corpus 10,000 vectors as insertion queries and another 10,000 vectors as search queries. The 20,000 vectors are divided into 20 batches, each with 1,000 vectors. The insertion batches and the search batches are interleaved as a workload, with insertion as the first batch. The rest of the corpus is used to build the initial index. Note that DataCompDr is not OOD in this setting because its original query set (in Table 2) is", "source": "marker_v2", "marker_block_id": "/page/8/Text/10"}
|
| 104 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0103", "section": "5.2. Experimental Results", "page_start": 10, "page_end": 10, "type": "FigureGroup", "text": "Figure 6. QPS-recall, K = 1000.", "source": "marker_v2", "marker_block_id": "/page/9/FigureGroup/353"}
|
| 105 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0104", "section": "5.2. Experimental Results", "page_start": 10, "page_end": 10, "type": "Text", "text": "not used. To make the processing times of insertion queries and search queries on the same scale, we set efS = efC and tune these two parameters to control the recall. Fig. 8 compares PAG-Base and HNSW, plotting their QPS-recall performances of insertion and search. Insertion queries are slightly slower to process than search queries for both methods. PAG-Base are much faster than HNSW in both insertion and search speeds, and PAG-Base's insertion is even faster than HNSW's search. Similar to PAG-Base's advantage in search, its speedup over HNSW in insertion can be up to 5 times, demonstrating its efficiency in processing online insertions.", "source": "marker_v2", "marker_block_id": "/page/9/Text/3"}
|
| 106 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0105", "section": "5.2. Experimental Results", "page_start": 10, "page_end": 10, "type": "Text", "text": "Ablation Study. We choose four datasets, DBpedia3072, WoltFood, AmazonBooks, and DataCompDr, for ablation study. Among the six modern datasets, they cover the lowest and highest dimensionality, text and images, as well as OOD. Figs. 9 and 10 show the effectiveness of PAG's components. We observe that TFB consistently reduces indexing time and improves search performance. PES further enhances search performance with negligible additional indexing time. The additional memory usage introduced by TFB and PES is very minor and thus not shown here, because TFB does not affect", "source": "marker_v2", "marker_block_id": "/page/9/Text/4"}
|
| 107 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0106", "section": "5.2. Experimental Results", "page_start": 10, "page_end": 10, "type": "Text", "text": "the index size and PES barely increases the number of edges.", "source": "marker_v2", "marker_block_id": "/page/9/Text/5"}
|
| 108 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0107", "section": "6. Conclusion", "page_start": 10, "page_end": 10, "type": "Text", "text": "In this paper, we motivated six critical demands of modern AI applications for ANNS, covering search performance, indexing speed, memory footprint, scalability to dimensionality, robustness against retrieval size, and support of online insertion. To meet these demands, we proposed PAG as a new framework for ANNS. PAG reduces unnecessary distance computations by employing the comparison of exact and approximate distances. The components of PAG are derived from a unified statistical relationship, making its mechanism theoretically explainable. Experiments on modern datasets showcased the superiority of PAG over widely-used ANNS methods as well as state-of-the art solutions, and confirmed the effectiveness of PAG's components.", "source": "marker_v2", "marker_block_id": "/page/9/Text/7"}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/marker_meta.json
ADDED
|
@@ -0,0 +1,2150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"table_of_contents": [
|
| 3 |
+
{
|
| 4 |
+
"title": "002\n003\n004\n005\n006\n007\n008\n009\n010\n011\n014\n016\n018\n019\n020\n021\n024\n026\n028\n029\n030\n031\n034\n036\n038\n039\n040\n041\n042\n043\n044\n045\n046\n047\n048\n049\n050",
|
| 5 |
+
"heading_level": null,
|
| 6 |
+
"page_id": 0,
|
| 7 |
+
"polygon": [
|
| 8 |
+
[
|
| 9 |
+
22.7109375,
|
| 10 |
+
93.0794677734375
|
| 11 |
+
],
|
| 12 |
+
[
|
| 13 |
+
39.499900817871094,
|
| 14 |
+
93.0794677734375
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
39.499900817871094,
|
| 18 |
+
677.53125
|
| 19 |
+
],
|
| 20 |
+
[
|
| 21 |
+
22.7109375,
|
| 22 |
+
677.53125
|
| 23 |
+
]
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"title": "Approximate Nearest Neighbor Search for Modern AI:\nA Projection-Augmented Graph Approach",
|
| 28 |
+
"heading_level": null,
|
| 29 |
+
"page_id": 0,
|
| 30 |
+
"polygon": [
|
| 31 |
+
[
|
| 32 |
+
132.6796875,
|
| 33 |
+
89.9119873046875
|
| 34 |
+
],
|
| 35 |
+
[
|
| 36 |
+
467.3671875,
|
| 37 |
+
89.9119873046875
|
| 38 |
+
],
|
| 39 |
+
[
|
| 40 |
+
467.3671875,
|
| 41 |
+
122.191162109375
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
132.6796875,
|
| 45 |
+
122.191162109375
|
| 46 |
+
]
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"title": "Anonymous Authors1",
|
| 51 |
+
"heading_level": null,
|
| 52 |
+
"page_id": 0,
|
| 53 |
+
"polygon": [
|
| 54 |
+
[
|
| 55 |
+
247.23899841308594,
|
| 56 |
+
159.328125
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
338.0179138183594,
|
| 60 |
+
159.328125
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
338.0179138183594,
|
| 64 |
+
170.8990478515625
|
| 65 |
+
],
|
| 66 |
+
[
|
| 67 |
+
247.23899841308594,
|
| 68 |
+
170.8990478515625
|
| 69 |
+
]
|
| 70 |
+
]
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"title": "Abstract",
|
| 74 |
+
"heading_level": null,
|
| 75 |
+
"page_id": 0,
|
| 76 |
+
"polygon": [
|
| 77 |
+
[
|
| 78 |
+
148.21875,
|
| 79 |
+
192.97265625
|
| 80 |
+
],
|
| 81 |
+
[
|
| 82 |
+
194.68328857421875,
|
| 83 |
+
192.97265625
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
194.68328857421875,
|
| 87 |
+
205.94830322265625
|
| 88 |
+
],
|
| 89 |
+
[
|
| 90 |
+
148.21875,
|
| 91 |
+
205.94830322265625
|
| 92 |
+
]
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"title": "1. Introduction",
|
| 97 |
+
"heading_level": null,
|
| 98 |
+
"page_id": 0,
|
| 99 |
+
"polygon": [
|
| 100 |
+
[
|
| 101 |
+
54.087890625,
|
| 102 |
+
571.0941772460938
|
| 103 |
+
],
|
| 104 |
+
[
|
| 105 |
+
131.67831420898438,
|
| 106 |
+
571.0941772460938
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
131.67831420898438,
|
| 110 |
+
583.0493774414062
|
| 111 |
+
],
|
| 112 |
+
[
|
| 113 |
+
54.087890625,
|
| 114 |
+
583.0493774414062
|
| 115 |
+
]
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"title": "1.1. Prior Works",
|
| 120 |
+
"heading_level": null,
|
| 121 |
+
"page_id": 0,
|
| 122 |
+
"polygon": [
|
| 123 |
+
[
|
| 124 |
+
307.44000244140625,
|
| 125 |
+
595.93359375
|
| 126 |
+
],
|
| 127 |
+
[
|
| 128 |
+
377.0885314941406,
|
| 129 |
+
595.93359375
|
| 130 |
+
],
|
| 131 |
+
[
|
| 132 |
+
377.0885314941406,
|
| 133 |
+
607.2061157226562
|
| 134 |
+
],
|
| 135 |
+
[
|
| 136 |
+
307.44000244140625,
|
| 137 |
+
607.2061157226562
|
| 138 |
+
]
|
| 139 |
+
]
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"title": "1.2. Our Solution",
|
| 143 |
+
"heading_level": null,
|
| 144 |
+
"page_id": 1,
|
| 145 |
+
"polygon": [
|
| 146 |
+
[
|
| 147 |
+
306.75,
|
| 148 |
+
469.08984375
|
| 149 |
+
],
|
| 150 |
+
[
|
| 151 |
+
379.51171875,
|
| 152 |
+
469.08984375
|
| 153 |
+
],
|
| 154 |
+
[
|
| 155 |
+
379.51171875,
|
| 156 |
+
478.5
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
306.75,
|
| 160 |
+
478.5
|
| 161 |
+
]
|
| 162 |
+
]
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"title": "2. Problem Setting",
|
| 166 |
+
"heading_level": null,
|
| 167 |
+
"page_id": 2,
|
| 168 |
+
"polygon": [
|
| 169 |
+
[
|
| 170 |
+
50.80078125,
|
| 171 |
+
598.5291595458984
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
148.66665649414062,
|
| 175 |
+
598.5291595458984
|
| 176 |
+
],
|
| 177 |
+
[
|
| 178 |
+
148.66665649414062,
|
| 179 |
+
610.4843597412109
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
50.80078125,
|
| 183 |
+
610.4843597412109
|
| 184 |
+
]
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"title": "2.1. Background of RobustPrune",
|
| 189 |
+
"heading_level": null,
|
| 190 |
+
"page_id": 2,
|
| 191 |
+
"polygon": [
|
| 192 |
+
[
|
| 193 |
+
305.40234375,
|
| 194 |
+
106.34765625
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
445.3323669433594,
|
| 198 |
+
106.34765625
|
| 199 |
+
],
|
| 200 |
+
[
|
| 201 |
+
445.3323669433594,
|
| 202 |
+
116.4281005859375
|
| 203 |
+
],
|
| 204 |
+
[
|
| 205 |
+
305.40234375,
|
| 206 |
+
116.4281005859375
|
| 207 |
+
]
|
| 208 |
+
]
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"title": "2.2. Towards Fast Graph Construction",
|
| 212 |
+
"heading_level": null,
|
| 213 |
+
"page_id": 2,
|
| 214 |
+
"polygon": [
|
| 215 |
+
[
|
| 216 |
+
306.0,
|
| 217 |
+
456.71484375
|
| 218 |
+
],
|
| 219 |
+
[
|
| 220 |
+
469.123046875,
|
| 221 |
+
456.71484375
|
| 222 |
+
],
|
| 223 |
+
[
|
| 224 |
+
469.123046875,
|
| 225 |
+
467.237060546875
|
| 226 |
+
],
|
| 227 |
+
[
|
| 228 |
+
306.0,
|
| 229 |
+
467.237060546875
|
| 230 |
+
]
|
| 231 |
+
]
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"title": "2.3. Towards High Graph Connectivity",
|
| 235 |
+
"heading_level": null,
|
| 236 |
+
"page_id": 3,
|
| 237 |
+
"polygon": [
|
| 238 |
+
[
|
| 239 |
+
54.0,
|
| 240 |
+
580.46484375
|
| 241 |
+
],
|
| 242 |
+
[
|
| 243 |
+
218.25,
|
| 244 |
+
580.46484375
|
| 245 |
+
],
|
| 246 |
+
[
|
| 247 |
+
218.25,
|
| 248 |
+
589.5
|
| 249 |
+
],
|
| 250 |
+
[
|
| 251 |
+
54.0,
|
| 252 |
+
589.5
|
| 253 |
+
]
|
| 254 |
+
]
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"title": "3. Projection-Augmented Graph",
|
| 258 |
+
"heading_level": null,
|
| 259 |
+
"page_id": 4,
|
| 260 |
+
"polygon": [
|
| 261 |
+
[
|
| 262 |
+
53.19140625,
|
| 263 |
+
255.0
|
| 264 |
+
],
|
| 265 |
+
[
|
| 266 |
+
219.0,
|
| 267 |
+
255.0
|
| 268 |
+
],
|
| 269 |
+
[
|
| 270 |
+
219.0,
|
| 271 |
+
266.8359375
|
| 272 |
+
],
|
| 273 |
+
[
|
| 274 |
+
53.19140625,
|
| 275 |
+
266.8359375
|
| 276 |
+
]
|
| 277 |
+
]
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"title": "3.1. Neighborhood Relations via Random Projection",
|
| 281 |
+
"heading_level": null,
|
| 282 |
+
"page_id": 4,
|
| 283 |
+
"polygon": [
|
| 284 |
+
[
|
| 285 |
+
53.7890625,
|
| 286 |
+
336.0
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
275.25,
|
| 290 |
+
336.0
|
| 291 |
+
],
|
| 292 |
+
[
|
| 293 |
+
275.25,
|
| 294 |
+
346.5
|
| 295 |
+
],
|
| 296 |
+
[
|
| 297 |
+
53.7890625,
|
| 298 |
+
346.5
|
| 299 |
+
]
|
| 300 |
+
]
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"title": "3.2. Probabilistic Routing Test",
|
| 304 |
+
"heading_level": null,
|
| 305 |
+
"page_id": 4,
|
| 306 |
+
"polygon": [
|
| 307 |
+
[
|
| 308 |
+
305.25,
|
| 309 |
+
431.96484375
|
| 310 |
+
],
|
| 311 |
+
[
|
| 312 |
+
435.0,
|
| 313 |
+
431.96484375
|
| 314 |
+
],
|
| 315 |
+
[
|
| 316 |
+
435.0,
|
| 317 |
+
441.0
|
| 318 |
+
],
|
| 319 |
+
[
|
| 320 |
+
305.25,
|
| 321 |
+
441.0
|
| 322 |
+
]
|
| 323 |
+
]
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"title": "3.3. Test Feedback Buffer",
|
| 327 |
+
"heading_level": null,
|
| 328 |
+
"page_id": 5,
|
| 329 |
+
"polygon": [
|
| 330 |
+
[
|
| 331 |
+
51.99609375,
|
| 332 |
+
68.0625
|
| 333 |
+
],
|
| 334 |
+
[
|
| 335 |
+
162.07968139648438,
|
| 336 |
+
68.0625
|
| 337 |
+
],
|
| 338 |
+
[
|
| 339 |
+
162.07968139648438,
|
| 340 |
+
79.33905029296875
|
| 341 |
+
],
|
| 342 |
+
[
|
| 343 |
+
51.99609375,
|
| 344 |
+
79.33905029296875
|
| 345 |
+
]
|
| 346 |
+
]
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"title": "3.4. Probabilistic Edge Selection",
|
| 350 |
+
"heading_level": null,
|
| 351 |
+
"page_id": 5,
|
| 352 |
+
"polygon": [
|
| 353 |
+
[
|
| 354 |
+
304.505859375,
|
| 355 |
+
69.37646484375
|
| 356 |
+
],
|
| 357 |
+
[
|
| 358 |
+
442.2041015625,
|
| 359 |
+
69.37646484375
|
| 360 |
+
],
|
| 361 |
+
[
|
| 362 |
+
442.2041015625,
|
| 363 |
+
79.33905029296875
|
| 364 |
+
],
|
| 365 |
+
[
|
| 366 |
+
304.505859375,
|
| 367 |
+
79.33905029296875
|
| 368 |
+
]
|
| 369 |
+
]
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"title": "4. Implementation and Analysis",
|
| 373 |
+
"heading_level": null,
|
| 374 |
+
"page_id": 5,
|
| 375 |
+
"polygon": [
|
| 376 |
+
[
|
| 377 |
+
303.609375,
|
| 378 |
+
416.49609375
|
| 379 |
+
],
|
| 380 |
+
[
|
| 381 |
+
467.72344970703125,
|
| 382 |
+
416.49609375
|
| 383 |
+
],
|
| 384 |
+
[
|
| 385 |
+
467.72344970703125,
|
| 386 |
+
428.75634765625
|
| 387 |
+
],
|
| 388 |
+
[
|
| 389 |
+
303.609375,
|
| 390 |
+
428.75634765625
|
| 391 |
+
]
|
| 392 |
+
]
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"title": "4.1. Implementation",
|
| 396 |
+
"heading_level": null,
|
| 397 |
+
"page_id": 5,
|
| 398 |
+
"polygon": [
|
| 399 |
+
[
|
| 400 |
+
306.0,
|
| 401 |
+
437.7034912109375
|
| 402 |
+
],
|
| 403 |
+
[
|
| 404 |
+
392.450927734375,
|
| 405 |
+
437.7034912109375
|
| 406 |
+
],
|
| 407 |
+
[
|
| 408 |
+
392.450927734375,
|
| 409 |
+
447.66607666015625
|
| 410 |
+
],
|
| 411 |
+
[
|
| 412 |
+
306.0,
|
| 413 |
+
447.66607666015625
|
| 414 |
+
]
|
| 415 |
+
]
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"title": "330\n331\n334\n336\n338\n339\n340\n341\n342\n343\n344\n345\n346\n347\n348\n349\n350\n351\n354\n356\n358\n359\n360\n361\n362\n363\n364\n365\nAlgorithm 1: Construction of PAG\nInput: G := \u2205 is the graph to be built; D is the dataset;\n2M is the maximum out-degree; L is the space\npartition size; efC is the maximum size of visited\nnodes; b is the size of W\nOutput: G with node set D, edge set E, and inference\nstructure I\n1 PES set is an empty table to accommodate candidate\nedges;\n2 The capacity of RL is set to efC;\n3 Maximum round Rmax is set to efC/b;\n4 Generate multi-level random-projection structure\nF = {rjl} (1 \u2264 j \u2264 m, 1 \u2264 l \u2264 L);\n5 Select b initial nodes, connect them, and write the\nprojection information w.r.t the connected edges to I. Let\nV denote the set of all initial nodes;\n6 foreach v \u2208 D\\V do\n7 Insert b nodes to W and compute their distances to v;\n8 Compute all \u27e8vl, rjl\u27e9's and build a projection table;\n9 for r = 1 to Rmax do\n10 foreach unvisited u \u2208 W do\n11 foreach w in Nout(u) do\n12 if w passes the PRT-TFB test then\n13 Compute the distance between v\nand w;\n14 if \u2225w \u2212 v\u2225 < \u2225zmax \u2212 v\u2225 then\n15 Update W and insert zmax to\nRT ;\n16 else\n17 Insert w to RF ;\n18 if (u, v) is rejected by the PRT-PES test\nthen\n19 Add (u, v) to the PES set;\n20 Update the nodes in W to RL, and empty W;\n21 Sort and merge RF and RT , and empty RF and\nRT ;\n22 Refill W until it is full using the sorted elements,\nand refill RT with the remaining sorted nodes;\n23 Apply RobustPrune to RL to compute Nout(v) and\nNin(v);",
|
| 419 |
+
"heading_level": null,
|
| 420 |
+
"page_id": 6,
|
| 421 |
+
"polygon": [
|
| 422 |
+
[
|
| 423 |
+
24.555999755859375,
|
| 424 |
+
49.5
|
| 425 |
+
],
|
| 426 |
+
[
|
| 427 |
+
274.47845458984375,
|
| 428 |
+
49.5
|
| 429 |
+
],
|
| 430 |
+
[
|
| 431 |
+
274.47845458984375,
|
| 432 |
+
500.9309387207031
|
| 433 |
+
],
|
| 434 |
+
[
|
| 435 |
+
24.555999755859375,
|
| 436 |
+
500.9309387207031
|
| 437 |
+
]
|
| 438 |
+
]
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"title": "4.2. Algorithm Pseudo-Codes of PAG",
|
| 442 |
+
"heading_level": null,
|
| 443 |
+
"page_id": 6,
|
| 444 |
+
"polygon": [
|
| 445 |
+
[
|
| 446 |
+
51.99609375,
|
| 447 |
+
549.3345184326172
|
| 448 |
+
],
|
| 449 |
+
[
|
| 450 |
+
210.44808959960938,
|
| 451 |
+
549.3345184326172
|
| 452 |
+
],
|
| 453 |
+
[
|
| 454 |
+
210.44808959960938,
|
| 455 |
+
559.297119140625
|
| 456 |
+
],
|
| 457 |
+
[
|
| 458 |
+
51.99609375,
|
| 459 |
+
559.297119140625
|
| 460 |
+
]
|
| 461 |
+
]
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"title": "4.3. Complexity Analysis",
|
| 465 |
+
"heading_level": null,
|
| 466 |
+
"page_id": 6,
|
| 467 |
+
"polygon": [
|
| 468 |
+
[
|
| 469 |
+
52.294921875,
|
| 470 |
+
651.62109375
|
| 471 |
+
],
|
| 472 |
+
[
|
| 473 |
+
159.60894775390625,
|
| 474 |
+
651.62109375
|
| 475 |
+
],
|
| 476 |
+
[
|
| 477 |
+
159.60894775390625,
|
| 478 |
+
662.8591156005859
|
| 479 |
+
],
|
| 480 |
+
[
|
| 481 |
+
52.294921875,
|
| 482 |
+
662.8591156005859
|
| 483 |
+
]
|
| 484 |
+
]
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"title": "Algorithm 2: Search with PAG",
|
| 488 |
+
"heading_level": null,
|
| 489 |
+
"page_id": 6,
|
| 490 |
+
"polygon": [
|
| 491 |
+
[
|
| 492 |
+
311.37890625,
|
| 493 |
+
71.9296875
|
| 494 |
+
],
|
| 495 |
+
[
|
| 496 |
+
439.27734375,
|
| 497 |
+
71.9296875
|
| 498 |
+
],
|
| 499 |
+
[
|
| 500 |
+
439.27734375,
|
| 501 |
+
82.1099853515625
|
| 502 |
+
],
|
| 503 |
+
[
|
| 504 |
+
311.37890625,
|
| 505 |
+
82.1099853515625
|
| 506 |
+
]
|
| 507 |
+
]
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"title": "4.4. Parameter Analysis of PAG",
|
| 511 |
+
"heading_level": null,
|
| 512 |
+
"page_id": 6,
|
| 513 |
+
"polygon": [
|
| 514 |
+
[
|
| 515 |
+
306.896484375,
|
| 516 |
+
657.80859375
|
| 517 |
+
],
|
| 518 |
+
[
|
| 519 |
+
439.6437072753906,
|
| 520 |
+
657.80859375
|
| 521 |
+
],
|
| 522 |
+
[
|
| 523 |
+
439.6437072753906,
|
| 524 |
+
668.8361053466797
|
| 525 |
+
],
|
| 526 |
+
[
|
| 527 |
+
306.896484375,
|
| 528 |
+
668.8361053466797
|
| 529 |
+
]
|
| 530 |
+
]
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"title": "5. Experiments",
|
| 534 |
+
"heading_level": null,
|
| 535 |
+
"page_id": 7,
|
| 536 |
+
"polygon": [
|
| 537 |
+
[
|
| 538 |
+
52.892578125,
|
| 539 |
+
577.587158203125
|
| 540 |
+
],
|
| 541 |
+
[
|
| 542 |
+
131.8815460205078,
|
| 543 |
+
577.587158203125
|
| 544 |
+
],
|
| 545 |
+
[
|
| 546 |
+
131.8815460205078,
|
| 547 |
+
589.5423583984375
|
| 548 |
+
],
|
| 549 |
+
[
|
| 550 |
+
52.892578125,
|
| 551 |
+
589.5423583984375
|
| 552 |
+
]
|
| 553 |
+
]
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"title": "5.1. Experimental Setup",
|
| 557 |
+
"heading_level": null,
|
| 558 |
+
"page_id": 7,
|
| 559 |
+
"polygon": [
|
| 560 |
+
[
|
| 561 |
+
53.490234375,
|
| 562 |
+
635.5775146484375
|
| 563 |
+
],
|
| 564 |
+
[
|
| 565 |
+
156.884765625,
|
| 566 |
+
635.5775146484375
|
| 567 |
+
],
|
| 568 |
+
[
|
| 569 |
+
156.884765625,
|
| 570 |
+
645.5401153564453
|
| 571 |
+
],
|
| 572 |
+
[
|
| 573 |
+
53.490234375,
|
| 574 |
+
645.5401153564453
|
| 575 |
+
]
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"title": "5.2. Experimental Results",
|
| 580 |
+
"heading_level": null,
|
| 581 |
+
"page_id": 7,
|
| 582 |
+
"polygon": [
|
| 583 |
+
[
|
| 584 |
+
307.1953125,
|
| 585 |
+
521.68359375
|
| 586 |
+
],
|
| 587 |
+
[
|
| 588 |
+
415.47442626953125,
|
| 589 |
+
521.68359375
|
| 590 |
+
],
|
| 591 |
+
[
|
| 592 |
+
415.47442626953125,
|
| 593 |
+
531.8490905761719
|
| 594 |
+
],
|
| 595 |
+
[
|
| 596 |
+
307.1953125,
|
| 597 |
+
531.8490905761719
|
| 598 |
+
]
|
| 599 |
+
]
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"title": "6. Conclusion",
|
| 603 |
+
"heading_level": null,
|
| 604 |
+
"page_id": 9,
|
| 605 |
+
"polygon": [
|
| 606 |
+
[
|
| 607 |
+
306.0,
|
| 608 |
+
469.5
|
| 609 |
+
],
|
| 610 |
+
[
|
| 611 |
+
377.25,
|
| 612 |
+
469.5
|
| 613 |
+
],
|
| 614 |
+
[
|
| 615 |
+
377.25,
|
| 616 |
+
480.69140625
|
| 617 |
+
],
|
| 618 |
+
[
|
| 619 |
+
306.0,
|
| 620 |
+
480.69140625
|
| 621 |
+
]
|
| 622 |
+
]
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"title": "References",
|
| 626 |
+
"heading_level": null,
|
| 627 |
+
"page_id": 9,
|
| 628 |
+
"polygon": [
|
| 629 |
+
[
|
| 630 |
+
306.0,
|
| 631 |
+
660.90234375
|
| 632 |
+
],
|
| 633 |
+
[
|
| 634 |
+
363.75,
|
| 635 |
+
660.90234375
|
| 636 |
+
],
|
| 637 |
+
[
|
| 638 |
+
363.75,
|
| 639 |
+
670.5
|
| 640 |
+
],
|
| 641 |
+
[
|
| 642 |
+
306.0,
|
| 643 |
+
670.5
|
| 644 |
+
]
|
| 645 |
+
]
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"title": "A. Frequently Used Notations",
|
| 649 |
+
"heading_level": null,
|
| 650 |
+
"page_id": 14,
|
| 651 |
+
"polygon": [
|
| 652 |
+
[
|
| 653 |
+
52.892578125,
|
| 654 |
+
67.67578125
|
| 655 |
+
],
|
| 656 |
+
[
|
| 657 |
+
204.75,
|
| 658 |
+
67.67578125
|
| 659 |
+
],
|
| 660 |
+
[
|
| 661 |
+
204.75,
|
| 662 |
+
79.27734375
|
| 663 |
+
],
|
| 664 |
+
[
|
| 665 |
+
52.892578125,
|
| 666 |
+
79.27734375
|
| 667 |
+
]
|
| 668 |
+
]
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"title": "B. Proof of Theorem 3.1",
|
| 672 |
+
"heading_level": null,
|
| 673 |
+
"page_id": 14,
|
| 674 |
+
"polygon": [
|
| 675 |
+
[
|
| 676 |
+
52.294921875,
|
| 677 |
+
425.25
|
| 678 |
+
],
|
| 679 |
+
[
|
| 680 |
+
174.75,
|
| 681 |
+
425.25
|
| 682 |
+
],
|
| 683 |
+
[
|
| 684 |
+
174.75,
|
| 685 |
+
434.28515625
|
| 686 |
+
],
|
| 687 |
+
[
|
| 688 |
+
52.294921875,
|
| 689 |
+
434.28515625
|
| 690 |
+
]
|
| 691 |
+
]
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"title": "C. Related Work",
|
| 695 |
+
"heading_level": null,
|
| 696 |
+
"page_id": 15,
|
| 697 |
+
"polygon": [
|
| 698 |
+
[
|
| 699 |
+
306.0,
|
| 700 |
+
675.75
|
| 701 |
+
],
|
| 702 |
+
[
|
| 703 |
+
391.5,
|
| 704 |
+
675.75
|
| 705 |
+
],
|
| 706 |
+
[
|
| 707 |
+
391.5,
|
| 708 |
+
684.87890625
|
| 709 |
+
],
|
| 710 |
+
[
|
| 711 |
+
306.0,
|
| 712 |
+
684.87890625
|
| 713 |
+
]
|
| 714 |
+
]
|
| 715 |
+
},
|
| 716 |
+
{
|
| 717 |
+
"title": "C.1. Discussions on ANNS Solvers",
|
| 718 |
+
"heading_level": null,
|
| 719 |
+
"page_id": 16,
|
| 720 |
+
"polygon": [
|
| 721 |
+
[
|
| 722 |
+
52.59375,
|
| 723 |
+
69.0
|
| 724 |
+
],
|
| 725 |
+
[
|
| 726 |
+
198.0,
|
| 727 |
+
69.0
|
| 728 |
+
],
|
| 729 |
+
[
|
| 730 |
+
198.0,
|
| 731 |
+
77.34375
|
| 732 |
+
],
|
| 733 |
+
[
|
| 734 |
+
52.59375,
|
| 735 |
+
77.34375
|
| 736 |
+
]
|
| 737 |
+
]
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"title": "C.1.1. VECTOR QUANTIZATION",
|
| 741 |
+
"heading_level": null,
|
| 742 |
+
"page_id": 16,
|
| 743 |
+
"polygon": [
|
| 744 |
+
[
|
| 745 |
+
53.490234375,
|
| 746 |
+
87.75
|
| 747 |
+
],
|
| 748 |
+
[
|
| 749 |
+
189.158203125,
|
| 750 |
+
87.75
|
| 751 |
+
],
|
| 752 |
+
[
|
| 753 |
+
189.158203125,
|
| 754 |
+
97.5
|
| 755 |
+
],
|
| 756 |
+
[
|
| 757 |
+
53.490234375,
|
| 758 |
+
97.5
|
| 759 |
+
]
|
| 760 |
+
]
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"title": "C.1.2. SIMILARITY GRAPH",
|
| 764 |
+
"heading_level": null,
|
| 765 |
+
"page_id": 16,
|
| 766 |
+
"polygon": [
|
| 767 |
+
[
|
| 768 |
+
54.0,
|
| 769 |
+
456.71484375
|
| 770 |
+
],
|
| 771 |
+
[
|
| 772 |
+
170.25,
|
| 773 |
+
456.71484375
|
| 774 |
+
],
|
| 775 |
+
[
|
| 776 |
+
170.25,
|
| 777 |
+
467.25
|
| 778 |
+
],
|
| 779 |
+
[
|
| 780 |
+
54.0,
|
| 781 |
+
467.25
|
| 782 |
+
]
|
| 783 |
+
]
|
| 784 |
+
},
|
| 785 |
+
{
|
| 786 |
+
"title": "C.1.3. QUANTIZED GRAPH",
|
| 787 |
+
"heading_level": null,
|
| 788 |
+
"page_id": 16,
|
| 789 |
+
"polygon": [
|
| 790 |
+
[
|
| 791 |
+
306.0,
|
| 792 |
+
206.12109375
|
| 793 |
+
],
|
| 794 |
+
[
|
| 795 |
+
422.25,
|
| 796 |
+
206.12109375
|
| 797 |
+
],
|
| 798 |
+
[
|
| 799 |
+
422.25,
|
| 800 |
+
215.25
|
| 801 |
+
],
|
| 802 |
+
[
|
| 803 |
+
306.0,
|
| 804 |
+
215.25
|
| 805 |
+
]
|
| 806 |
+
]
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"title": "C.2. Preliminaries of Routing Test",
|
| 810 |
+
"heading_level": null,
|
| 811 |
+
"page_id": 16,
|
| 812 |
+
"polygon": [
|
| 813 |
+
[
|
| 814 |
+
306.0,
|
| 815 |
+
453.0
|
| 816 |
+
],
|
| 817 |
+
[
|
| 818 |
+
450.75,
|
| 819 |
+
453.0
|
| 820 |
+
],
|
| 821 |
+
[
|
| 822 |
+
450.75,
|
| 823 |
+
462.12890625
|
| 824 |
+
],
|
| 825 |
+
[
|
| 826 |
+
306.0,
|
| 827 |
+
462.12890625
|
| 828 |
+
]
|
| 829 |
+
]
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"title": "C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION",
|
| 833 |
+
"heading_level": null,
|
| 834 |
+
"page_id": 16,
|
| 835 |
+
"polygon": [
|
| 836 |
+
[
|
| 837 |
+
306.0,
|
| 838 |
+
471.75
|
| 839 |
+
],
|
| 840 |
+
[
|
| 841 |
+
540.75,
|
| 842 |
+
471.75
|
| 843 |
+
],
|
| 844 |
+
[
|
| 845 |
+
540.75,
|
| 846 |
+
481.5
|
| 847 |
+
],
|
| 848 |
+
[
|
| 849 |
+
306.0,
|
| 850 |
+
481.5
|
| 851 |
+
]
|
| 852 |
+
]
|
| 853 |
+
},
|
| 854 |
+
{
|
| 855 |
+
"title": "C.2.2. ROUTING TEST IN SIMILARITY GRAPHS",
|
| 856 |
+
"heading_level": null,
|
| 857 |
+
"page_id": 17,
|
| 858 |
+
"polygon": [
|
| 859 |
+
[
|
| 860 |
+
54.0,
|
| 861 |
+
365.25
|
| 862 |
+
],
|
| 863 |
+
[
|
| 864 |
+
252.75,
|
| 865 |
+
364.5
|
| 866 |
+
],
|
| 867 |
+
[
|
| 868 |
+
252.75,
|
| 869 |
+
373.5703125
|
| 870 |
+
],
|
| 871 |
+
[
|
| 872 |
+
54.0,
|
| 873 |
+
374.25
|
| 874 |
+
]
|
| 875 |
+
]
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"title": "D. Experimental Setup Details",
|
| 879 |
+
"heading_level": null,
|
| 880 |
+
"page_id": 17,
|
| 881 |
+
"polygon": [
|
| 882 |
+
[
|
| 883 |
+
306.0,
|
| 884 |
+
252.75
|
| 885 |
+
],
|
| 886 |
+
[
|
| 887 |
+
461.25,
|
| 888 |
+
252.75
|
| 889 |
+
],
|
| 890 |
+
[
|
| 891 |
+
461.25,
|
| 892 |
+
263.35546875
|
| 893 |
+
],
|
| 894 |
+
[
|
| 895 |
+
306.0,
|
| 896 |
+
263.35546875
|
| 897 |
+
]
|
| 898 |
+
]
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"title": "D.1. Environment",
|
| 902 |
+
"heading_level": null,
|
| 903 |
+
"page_id": 17,
|
| 904 |
+
"polygon": [
|
| 905 |
+
[
|
| 906 |
+
306.0,
|
| 907 |
+
272.25
|
| 908 |
+
],
|
| 909 |
+
[
|
| 910 |
+
383.25,
|
| 911 |
+
272.25
|
| 912 |
+
],
|
| 913 |
+
[
|
| 914 |
+
383.25,
|
| 915 |
+
280.7578125
|
| 916 |
+
],
|
| 917 |
+
[
|
| 918 |
+
306.0,
|
| 919 |
+
280.7578125
|
| 920 |
+
]
|
| 921 |
+
]
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"title": "D.2. Baselines",
|
| 925 |
+
"heading_level": null,
|
| 926 |
+
"page_id": 17,
|
| 927 |
+
"polygon": [
|
| 928 |
+
[
|
| 929 |
+
305.25,
|
| 930 |
+
400.5
|
| 931 |
+
],
|
| 932 |
+
[
|
| 933 |
+
366.0,
|
| 934 |
+
400.5
|
| 935 |
+
],
|
| 936 |
+
[
|
| 937 |
+
366.0,
|
| 938 |
+
409.53515625
|
| 939 |
+
],
|
| 940 |
+
[
|
| 941 |
+
305.25,
|
| 942 |
+
409.53515625
|
| 943 |
+
]
|
| 944 |
+
]
|
| 945 |
+
},
|
| 946 |
+
{
|
| 947 |
+
"title": "D.2.1. SELECTION OF BASELINES",
|
| 948 |
+
"heading_level": null,
|
| 949 |
+
"page_id": 17,
|
| 950 |
+
"polygon": [
|
| 951 |
+
[
|
| 952 |
+
306.0,
|
| 953 |
+
418.5
|
| 954 |
+
],
|
| 955 |
+
[
|
| 956 |
+
450.0,
|
| 957 |
+
418.5
|
| 958 |
+
],
|
| 959 |
+
[
|
| 960 |
+
450.0,
|
| 961 |
+
428.09765625
|
| 962 |
+
],
|
| 963 |
+
[
|
| 964 |
+
306.0,
|
| 965 |
+
428.09765625
|
| 966 |
+
]
|
| 967 |
+
]
|
| 968 |
+
},
|
| 969 |
+
{
|
| 970 |
+
"title": "D.2.2. PARAMETER SETTING",
|
| 971 |
+
"heading_level": null,
|
| 972 |
+
"page_id": 17,
|
| 973 |
+
"polygon": [
|
| 974 |
+
[
|
| 975 |
+
306.0,
|
| 976 |
+
639.24609375
|
| 977 |
+
],
|
| 978 |
+
[
|
| 979 |
+
430.5,
|
| 980 |
+
639.24609375
|
| 981 |
+
],
|
| 982 |
+
[
|
| 983 |
+
430.5,
|
| 984 |
+
650.25
|
| 985 |
+
],
|
| 986 |
+
[
|
| 987 |
+
306.0,
|
| 988 |
+
649.5
|
| 989 |
+
]
|
| 990 |
+
]
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"title": "E. Additional Experimental Results",
|
| 994 |
+
"heading_level": null,
|
| 995 |
+
"page_id": 19,
|
| 996 |
+
"polygon": [
|
| 997 |
+
[
|
| 998 |
+
52.59375,
|
| 999 |
+
161.26171875
|
| 1000 |
+
],
|
| 1001 |
+
[
|
| 1002 |
+
234.9832000732422,
|
| 1003 |
+
161.26171875
|
| 1004 |
+
],
|
| 1005 |
+
[
|
| 1006 |
+
234.9832000732422,
|
| 1007 |
+
174.121337890625
|
| 1008 |
+
],
|
| 1009 |
+
[
|
| 1010 |
+
52.59375,
|
| 1011 |
+
174.121337890625
|
| 1012 |
+
]
|
| 1013 |
+
]
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"title": "E.1. Effect of Space Partition Size L",
|
| 1017 |
+
"heading_level": null,
|
| 1018 |
+
"page_id": 19,
|
| 1019 |
+
"polygon": [
|
| 1020 |
+
[
|
| 1021 |
+
51.697265625,
|
| 1022 |
+
181.7578125
|
| 1023 |
+
],
|
| 1024 |
+
[
|
| 1025 |
+
204.6697998046875,
|
| 1026 |
+
181.7578125
|
| 1027 |
+
],
|
| 1028 |
+
[
|
| 1029 |
+
204.6697998046875,
|
| 1030 |
+
193.03106689453125
|
| 1031 |
+
],
|
| 1032 |
+
[
|
| 1033 |
+
51.697265625,
|
| 1034 |
+
193.03106689453125
|
| 1035 |
+
]
|
| 1036 |
+
]
|
| 1037 |
+
},
|
| 1038 |
+
{
|
| 1039 |
+
"title": "E.2. Effect of M and efC",
|
| 1040 |
+
"heading_level": null,
|
| 1041 |
+
"page_id": 19,
|
| 1042 |
+
"polygon": [
|
| 1043 |
+
[
|
| 1044 |
+
54.685546875,
|
| 1045 |
+
321.75
|
| 1046 |
+
],
|
| 1047 |
+
[
|
| 1048 |
+
160.470703125,
|
| 1049 |
+
321.75
|
| 1050 |
+
],
|
| 1051 |
+
[
|
| 1052 |
+
160.470703125,
|
| 1053 |
+
332.4580993652344
|
| 1054 |
+
],
|
| 1055 |
+
[
|
| 1056 |
+
54.685546875,
|
| 1057 |
+
332.4580993652344
|
| 1058 |
+
]
|
| 1059 |
+
]
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"title": "E.3. Evaluation on Additional Legacy Datasets",
|
| 1063 |
+
"heading_level": null,
|
| 1064 |
+
"page_id": 19,
|
| 1065 |
+
"polygon": [
|
| 1066 |
+
[
|
| 1067 |
+
53.19140625,
|
| 1068 |
+
485.83251953125
|
| 1069 |
+
],
|
| 1070 |
+
[
|
| 1071 |
+
250.7368621826172,
|
| 1072 |
+
485.83251953125
|
| 1073 |
+
],
|
| 1074 |
+
[
|
| 1075 |
+
250.7368621826172,
|
| 1076 |
+
496.16015625
|
| 1077 |
+
],
|
| 1078 |
+
[
|
| 1079 |
+
53.19140625,
|
| 1080 |
+
496.16015625
|
| 1081 |
+
]
|
| 1082 |
+
]
|
| 1083 |
+
}
|
| 1084 |
+
],
|
| 1085 |
+
"page_stats": [
|
| 1086 |
+
{
|
| 1087 |
+
"page_id": 0,
|
| 1088 |
+
"text_extraction_method": "pdftext",
|
| 1089 |
+
"block_counts": [
|
| 1090 |
+
[
|
| 1091 |
+
"Span",
|
| 1092 |
+
402
|
| 1093 |
+
],
|
| 1094 |
+
[
|
| 1095 |
+
"Line",
|
| 1096 |
+
131
|
| 1097 |
+
],
|
| 1098 |
+
[
|
| 1099 |
+
"Text",
|
| 1100 |
+
9
|
| 1101 |
+
],
|
| 1102 |
+
[
|
| 1103 |
+
"SectionHeader",
|
| 1104 |
+
6
|
| 1105 |
+
],
|
| 1106 |
+
[
|
| 1107 |
+
"Footnote",
|
| 1108 |
+
2
|
| 1109 |
+
],
|
| 1110 |
+
[
|
| 1111 |
+
"Reference",
|
| 1112 |
+
2
|
| 1113 |
+
],
|
| 1114 |
+
[
|
| 1115 |
+
"PageFooter",
|
| 1116 |
+
1
|
| 1117 |
+
]
|
| 1118 |
+
],
|
| 1119 |
+
"block_metadata": {
|
| 1120 |
+
"llm_request_count": 0,
|
| 1121 |
+
"llm_error_count": 0,
|
| 1122 |
+
"llm_tokens_used": 0,
|
| 1123 |
+
"previous_text": "",
|
| 1124 |
+
"previous_type": "",
|
| 1125 |
+
"previous_order": 0
|
| 1126 |
+
}
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"page_id": 1,
|
| 1130 |
+
"text_extraction_method": "surya",
|
| 1131 |
+
"block_counts": [
|
| 1132 |
+
[
|
| 1133 |
+
"Span",
|
| 1134 |
+
150
|
| 1135 |
+
],
|
| 1136 |
+
[
|
| 1137 |
+
"Line",
|
| 1138 |
+
133
|
| 1139 |
+
],
|
| 1140 |
+
[
|
| 1141 |
+
"TableCell",
|
| 1142 |
+
77
|
| 1143 |
+
],
|
| 1144 |
+
[
|
| 1145 |
+
"Text",
|
| 1146 |
+
54
|
| 1147 |
+
],
|
| 1148 |
+
[
|
| 1149 |
+
"Footnote",
|
| 1150 |
+
3
|
| 1151 |
+
],
|
| 1152 |
+
[
|
| 1153 |
+
"PageHeader",
|
| 1154 |
+
2
|
| 1155 |
+
],
|
| 1156 |
+
[
|
| 1157 |
+
"Caption",
|
| 1158 |
+
1
|
| 1159 |
+
],
|
| 1160 |
+
[
|
| 1161 |
+
"Table",
|
| 1162 |
+
1
|
| 1163 |
+
],
|
| 1164 |
+
[
|
| 1165 |
+
"SectionHeader",
|
| 1166 |
+
1
|
| 1167 |
+
],
|
| 1168 |
+
[
|
| 1169 |
+
"PageFooter",
|
| 1170 |
+
1
|
| 1171 |
+
],
|
| 1172 |
+
[
|
| 1173 |
+
"TableGroup",
|
| 1174 |
+
1
|
| 1175 |
+
],
|
| 1176 |
+
[
|
| 1177 |
+
"Reference",
|
| 1178 |
+
1
|
| 1179 |
+
]
|
| 1180 |
+
],
|
| 1181 |
+
"block_metadata": {
|
| 1182 |
+
"llm_request_count": 0,
|
| 1183 |
+
"llm_error_count": 0,
|
| 1184 |
+
"llm_tokens_used": 0,
|
| 1185 |
+
"previous_text": "",
|
| 1186 |
+
"previous_type": "",
|
| 1187 |
+
"previous_order": 0
|
| 1188 |
+
}
|
| 1189 |
+
},
|
| 1190 |
+
{
|
| 1191 |
+
"page_id": 2,
|
| 1192 |
+
"text_extraction_method": "pdftext",
|
| 1193 |
+
"block_counts": [
|
| 1194 |
+
[
|
| 1195 |
+
"Span",
|
| 1196 |
+
607
|
| 1197 |
+
],
|
| 1198 |
+
[
|
| 1199 |
+
"Line",
|
| 1200 |
+
142
|
| 1201 |
+
],
|
| 1202 |
+
[
|
| 1203 |
+
"Text",
|
| 1204 |
+
21
|
| 1205 |
+
],
|
| 1206 |
+
[
|
| 1207 |
+
"ListItem",
|
| 1208 |
+
5
|
| 1209 |
+
],
|
| 1210 |
+
[
|
| 1211 |
+
"SectionHeader",
|
| 1212 |
+
3
|
| 1213 |
+
],
|
| 1214 |
+
[
|
| 1215 |
+
"PageHeader",
|
| 1216 |
+
1
|
| 1217 |
+
],
|
| 1218 |
+
[
|
| 1219 |
+
"Equation",
|
| 1220 |
+
1
|
| 1221 |
+
],
|
| 1222 |
+
[
|
| 1223 |
+
"Footnote",
|
| 1224 |
+
1
|
| 1225 |
+
],
|
| 1226 |
+
[
|
| 1227 |
+
"PageFooter",
|
| 1228 |
+
1
|
| 1229 |
+
],
|
| 1230 |
+
[
|
| 1231 |
+
"ListGroup",
|
| 1232 |
+
1
|
| 1233 |
+
],
|
| 1234 |
+
[
|
| 1235 |
+
"Reference",
|
| 1236 |
+
1
|
| 1237 |
+
]
|
| 1238 |
+
],
|
| 1239 |
+
"block_metadata": {
|
| 1240 |
+
"llm_request_count": 0,
|
| 1241 |
+
"llm_error_count": 0,
|
| 1242 |
+
"llm_tokens_used": 0,
|
| 1243 |
+
"previous_text": "",
|
| 1244 |
+
"previous_type": "",
|
| 1245 |
+
"previous_order": 0
|
| 1246 |
+
}
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"page_id": 3,
|
| 1250 |
+
"text_extraction_method": "surya",
|
| 1251 |
+
"block_counts": [
|
| 1252 |
+
[
|
| 1253 |
+
"Line",
|
| 1254 |
+
164
|
| 1255 |
+
],
|
| 1256 |
+
[
|
| 1257 |
+
"Span",
|
| 1258 |
+
158
|
| 1259 |
+
],
|
| 1260 |
+
[
|
| 1261 |
+
"Text",
|
| 1262 |
+
9
|
| 1263 |
+
],
|
| 1264 |
+
[
|
| 1265 |
+
"Reference",
|
| 1266 |
+
3
|
| 1267 |
+
],
|
| 1268 |
+
[
|
| 1269 |
+
"PageHeader",
|
| 1270 |
+
2
|
| 1271 |
+
],
|
| 1272 |
+
[
|
| 1273 |
+
"Figure",
|
| 1274 |
+
2
|
| 1275 |
+
],
|
| 1276 |
+
[
|
| 1277 |
+
"Caption",
|
| 1278 |
+
2
|
| 1279 |
+
],
|
| 1280 |
+
[
|
| 1281 |
+
"FigureGroup",
|
| 1282 |
+
2
|
| 1283 |
+
],
|
| 1284 |
+
[
|
| 1285 |
+
"SectionHeader",
|
| 1286 |
+
1
|
| 1287 |
+
],
|
| 1288 |
+
[
|
| 1289 |
+
"PageFooter",
|
| 1290 |
+
1
|
| 1291 |
+
]
|
| 1292 |
+
],
|
| 1293 |
+
"block_metadata": {
|
| 1294 |
+
"llm_request_count": 0,
|
| 1295 |
+
"llm_error_count": 0,
|
| 1296 |
+
"llm_tokens_used": 0,
|
| 1297 |
+
"previous_text": "",
|
| 1298 |
+
"previous_type": "",
|
| 1299 |
+
"previous_order": 0
|
| 1300 |
+
}
|
| 1301 |
+
},
|
| 1302 |
+
{
|
| 1303 |
+
"page_id": 4,
|
| 1304 |
+
"text_extraction_method": "surya",
|
| 1305 |
+
"block_counts": [
|
| 1306 |
+
[
|
| 1307 |
+
"Span",
|
| 1308 |
+
242
|
| 1309 |
+
],
|
| 1310 |
+
[
|
| 1311 |
+
"Line",
|
| 1312 |
+
220
|
| 1313 |
+
],
|
| 1314 |
+
[
|
| 1315 |
+
"Text",
|
| 1316 |
+
67
|
| 1317 |
+
],
|
| 1318 |
+
[
|
| 1319 |
+
"Reference",
|
| 1320 |
+
6
|
| 1321 |
+
],
|
| 1322 |
+
[
|
| 1323 |
+
"Equation",
|
| 1324 |
+
5
|
| 1325 |
+
],
|
| 1326 |
+
[
|
| 1327 |
+
"SectionHeader",
|
| 1328 |
+
3
|
| 1329 |
+
],
|
| 1330 |
+
[
|
| 1331 |
+
"PageHeader",
|
| 1332 |
+
1
|
| 1333 |
+
],
|
| 1334 |
+
[
|
| 1335 |
+
"PageFooter",
|
| 1336 |
+
1
|
| 1337 |
+
]
|
| 1338 |
+
],
|
| 1339 |
+
"block_metadata": {
|
| 1340 |
+
"llm_request_count": 0,
|
| 1341 |
+
"llm_error_count": 0,
|
| 1342 |
+
"llm_tokens_used": 0,
|
| 1343 |
+
"previous_text": "",
|
| 1344 |
+
"previous_type": "",
|
| 1345 |
+
"previous_order": 0
|
| 1346 |
+
}
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"page_id": 5,
|
| 1350 |
+
"text_extraction_method": "pdftext",
|
| 1351 |
+
"block_counts": [
|
| 1352 |
+
[
|
| 1353 |
+
"Span",
|
| 1354 |
+
781
|
| 1355 |
+
],
|
| 1356 |
+
[
|
| 1357 |
+
"Line",
|
| 1358 |
+
150
|
| 1359 |
+
],
|
| 1360 |
+
[
|
| 1361 |
+
"Text",
|
| 1362 |
+
25
|
| 1363 |
+
],
|
| 1364 |
+
[
|
| 1365 |
+
"SectionHeader",
|
| 1366 |
+
4
|
| 1367 |
+
],
|
| 1368 |
+
[
|
| 1369 |
+
"Reference",
|
| 1370 |
+
4
|
| 1371 |
+
],
|
| 1372 |
+
[
|
| 1373 |
+
"Equation",
|
| 1374 |
+
2
|
| 1375 |
+
],
|
| 1376 |
+
[
|
| 1377 |
+
"PageHeader",
|
| 1378 |
+
1
|
| 1379 |
+
],
|
| 1380 |
+
[
|
| 1381 |
+
"PageFooter",
|
| 1382 |
+
1
|
| 1383 |
+
]
|
| 1384 |
+
],
|
| 1385 |
+
"block_metadata": {
|
| 1386 |
+
"llm_request_count": 0,
|
| 1387 |
+
"llm_error_count": 0,
|
| 1388 |
+
"llm_tokens_used": 0,
|
| 1389 |
+
"previous_text": "",
|
| 1390 |
+
"previous_type": "",
|
| 1391 |
+
"previous_order": 0
|
| 1392 |
+
}
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"page_id": 6,
|
| 1396 |
+
"text_extraction_method": "pdftext",
|
| 1397 |
+
"block_counts": [
|
| 1398 |
+
[
|
| 1399 |
+
"Span",
|
| 1400 |
+
1096
|
| 1401 |
+
],
|
| 1402 |
+
[
|
| 1403 |
+
"Line",
|
| 1404 |
+
162
|
| 1405 |
+
],
|
| 1406 |
+
[
|
| 1407 |
+
"Text",
|
| 1408 |
+
12
|
| 1409 |
+
],
|
| 1410 |
+
[
|
| 1411 |
+
"SectionHeader",
|
| 1412 |
+
5
|
| 1413 |
+
],
|
| 1414 |
+
[
|
| 1415 |
+
"Reference",
|
| 1416 |
+
3
|
| 1417 |
+
],
|
| 1418 |
+
[
|
| 1419 |
+
"PageHeader",
|
| 1420 |
+
1
|
| 1421 |
+
],
|
| 1422 |
+
[
|
| 1423 |
+
"Code",
|
| 1424 |
+
1
|
| 1425 |
+
],
|
| 1426 |
+
[
|
| 1427 |
+
"PageFooter",
|
| 1428 |
+
1
|
| 1429 |
+
]
|
| 1430 |
+
],
|
| 1431 |
+
"block_metadata": {
|
| 1432 |
+
"llm_request_count": 0,
|
| 1433 |
+
"llm_error_count": 0,
|
| 1434 |
+
"llm_tokens_used": 0,
|
| 1435 |
+
"previous_text": "",
|
| 1436 |
+
"previous_type": "",
|
| 1437 |
+
"previous_order": 0
|
| 1438 |
+
}
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"page_id": 7,
|
| 1442 |
+
"text_extraction_method": "pdftext",
|
| 1443 |
+
"block_counts": [
|
| 1444 |
+
[
|
| 1445 |
+
"Span",
|
| 1446 |
+
541
|
| 1447 |
+
],
|
| 1448 |
+
[
|
| 1449 |
+
"Line",
|
| 1450 |
+
135
|
| 1451 |
+
],
|
| 1452 |
+
[
|
| 1453 |
+
"Text",
|
| 1454 |
+
10
|
| 1455 |
+
],
|
| 1456 |
+
[
|
| 1457 |
+
"ListItem",
|
| 1458 |
+
6
|
| 1459 |
+
],
|
| 1460 |
+
[
|
| 1461 |
+
"SectionHeader",
|
| 1462 |
+
3
|
| 1463 |
+
],
|
| 1464 |
+
[
|
| 1465 |
+
"PageHeader",
|
| 1466 |
+
2
|
| 1467 |
+
],
|
| 1468 |
+
[
|
| 1469 |
+
"ListGroup",
|
| 1470 |
+
2
|
| 1471 |
+
],
|
| 1472 |
+
[
|
| 1473 |
+
"Reference",
|
| 1474 |
+
2
|
| 1475 |
+
],
|
| 1476 |
+
[
|
| 1477 |
+
"PageFooter",
|
| 1478 |
+
1
|
| 1479 |
+
]
|
| 1480 |
+
],
|
| 1481 |
+
"block_metadata": {
|
| 1482 |
+
"llm_request_count": 0,
|
| 1483 |
+
"llm_error_count": 0,
|
| 1484 |
+
"llm_tokens_used": 0,
|
| 1485 |
+
"previous_text": "",
|
| 1486 |
+
"previous_type": "",
|
| 1487 |
+
"previous_order": 0
|
| 1488 |
+
}
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"page_id": 8,
|
| 1492 |
+
"text_extraction_method": "surya",
|
| 1493 |
+
"block_counts": [
|
| 1494 |
+
[
|
| 1495 |
+
"Line",
|
| 1496 |
+
204
|
| 1497 |
+
],
|
| 1498 |
+
[
|
| 1499 |
+
"Span",
|
| 1500 |
+
92
|
| 1501 |
+
],
|
| 1502 |
+
[
|
| 1503 |
+
"Text",
|
| 1504 |
+
45
|
| 1505 |
+
],
|
| 1506 |
+
[
|
| 1507 |
+
"Figure",
|
| 1508 |
+
2
|
| 1509 |
+
],
|
| 1510 |
+
[
|
| 1511 |
+
"Caption",
|
| 1512 |
+
2
|
| 1513 |
+
],
|
| 1514 |
+
[
|
| 1515 |
+
"FigureGroup",
|
| 1516 |
+
2
|
| 1517 |
+
],
|
| 1518 |
+
[
|
| 1519 |
+
"Reference",
|
| 1520 |
+
2
|
| 1521 |
+
],
|
| 1522 |
+
[
|
| 1523 |
+
"PageHeader",
|
| 1524 |
+
1
|
| 1525 |
+
],
|
| 1526 |
+
[
|
| 1527 |
+
"PageFooter",
|
| 1528 |
+
1
|
| 1529 |
+
]
|
| 1530 |
+
],
|
| 1531 |
+
"block_metadata": {
|
| 1532 |
+
"llm_request_count": 0,
|
| 1533 |
+
"llm_error_count": 0,
|
| 1534 |
+
"llm_tokens_used": 0,
|
| 1535 |
+
"previous_text": "",
|
| 1536 |
+
"previous_type": "",
|
| 1537 |
+
"previous_order": 0
|
| 1538 |
+
}
|
| 1539 |
+
},
|
| 1540 |
+
{
|
| 1541 |
+
"page_id": 9,
|
| 1542 |
+
"text_extraction_method": "surya",
|
| 1543 |
+
"block_counts": [
|
| 1544 |
+
[
|
| 1545 |
+
"Line",
|
| 1546 |
+
223
|
| 1547 |
+
],
|
| 1548 |
+
[
|
| 1549 |
+
"Span",
|
| 1550 |
+
68
|
| 1551 |
+
],
|
| 1552 |
+
[
|
| 1553 |
+
"Text",
|
| 1554 |
+
56
|
| 1555 |
+
],
|
| 1556 |
+
[
|
| 1557 |
+
"SectionHeader",
|
| 1558 |
+
2
|
| 1559 |
+
],
|
| 1560 |
+
[
|
| 1561 |
+
"PageHeader",
|
| 1562 |
+
1
|
| 1563 |
+
],
|
| 1564 |
+
[
|
| 1565 |
+
"Figure",
|
| 1566 |
+
1
|
| 1567 |
+
],
|
| 1568 |
+
[
|
| 1569 |
+
"Caption",
|
| 1570 |
+
1
|
| 1571 |
+
],
|
| 1572 |
+
[
|
| 1573 |
+
"PageFooter",
|
| 1574 |
+
1
|
| 1575 |
+
],
|
| 1576 |
+
[
|
| 1577 |
+
"FigureGroup",
|
| 1578 |
+
1
|
| 1579 |
+
],
|
| 1580 |
+
[
|
| 1581 |
+
"Reference",
|
| 1582 |
+
1
|
| 1583 |
+
]
|
| 1584 |
+
],
|
| 1585 |
+
"block_metadata": {
|
| 1586 |
+
"llm_request_count": 0,
|
| 1587 |
+
"llm_error_count": 0,
|
| 1588 |
+
"llm_tokens_used": 0,
|
| 1589 |
+
"previous_text": "",
|
| 1590 |
+
"previous_type": "",
|
| 1591 |
+
"previous_order": 0
|
| 1592 |
+
}
|
| 1593 |
+
},
|
| 1594 |
+
{
|
| 1595 |
+
"page_id": 10,
|
| 1596 |
+
"text_extraction_method": "surya",
|
| 1597 |
+
"block_counts": [
|
| 1598 |
+
[
|
| 1599 |
+
"Line",
|
| 1600 |
+
154
|
| 1601 |
+
],
|
| 1602 |
+
[
|
| 1603 |
+
"Span",
|
| 1604 |
+
62
|
| 1605 |
+
],
|
| 1606 |
+
[
|
| 1607 |
+
"Text",
|
| 1608 |
+
42
|
| 1609 |
+
],
|
| 1610 |
+
[
|
| 1611 |
+
"Reference",
|
| 1612 |
+
9
|
| 1613 |
+
],
|
| 1614 |
+
[
|
| 1615 |
+
"Figure",
|
| 1616 |
+
3
|
| 1617 |
+
],
|
| 1618 |
+
[
|
| 1619 |
+
"Caption",
|
| 1620 |
+
3
|
| 1621 |
+
],
|
| 1622 |
+
[
|
| 1623 |
+
"FigureGroup",
|
| 1624 |
+
3
|
| 1625 |
+
],
|
| 1626 |
+
[
|
| 1627 |
+
"PageHeader",
|
| 1628 |
+
1
|
| 1629 |
+
],
|
| 1630 |
+
[
|
| 1631 |
+
"PageFooter",
|
| 1632 |
+
1
|
| 1633 |
+
]
|
| 1634 |
+
],
|
| 1635 |
+
"block_metadata": {
|
| 1636 |
+
"llm_request_count": 0,
|
| 1637 |
+
"llm_error_count": 0,
|
| 1638 |
+
"llm_tokens_used": 0,
|
| 1639 |
+
"previous_text": "",
|
| 1640 |
+
"previous_type": "",
|
| 1641 |
+
"previous_order": 0
|
| 1642 |
+
}
|
| 1643 |
+
},
|
| 1644 |
+
{
|
| 1645 |
+
"page_id": 11,
|
| 1646 |
+
"text_extraction_method": "surya",
|
| 1647 |
+
"block_counts": [
|
| 1648 |
+
[
|
| 1649 |
+
"Line",
|
| 1650 |
+
224
|
| 1651 |
+
],
|
| 1652 |
+
[
|
| 1653 |
+
"Span",
|
| 1654 |
+
121
|
| 1655 |
+
],
|
| 1656 |
+
[
|
| 1657 |
+
"Text",
|
| 1658 |
+
52
|
| 1659 |
+
],
|
| 1660 |
+
[
|
| 1661 |
+
"Reference",
|
| 1662 |
+
23
|
| 1663 |
+
],
|
| 1664 |
+
[
|
| 1665 |
+
"ListItem",
|
| 1666 |
+
22
|
| 1667 |
+
],
|
| 1668 |
+
[
|
| 1669 |
+
"ListGroup",
|
| 1670 |
+
2
|
| 1671 |
+
],
|
| 1672 |
+
[
|
| 1673 |
+
"PageHeader",
|
| 1674 |
+
1
|
| 1675 |
+
],
|
| 1676 |
+
[
|
| 1677 |
+
"Figure",
|
| 1678 |
+
1
|
| 1679 |
+
],
|
| 1680 |
+
[
|
| 1681 |
+
"Caption",
|
| 1682 |
+
1
|
| 1683 |
+
],
|
| 1684 |
+
[
|
| 1685 |
+
"PageFooter",
|
| 1686 |
+
1
|
| 1687 |
+
]
|
| 1688 |
+
],
|
| 1689 |
+
"block_metadata": {
|
| 1690 |
+
"llm_request_count": 0,
|
| 1691 |
+
"llm_error_count": 0,
|
| 1692 |
+
"llm_tokens_used": 0,
|
| 1693 |
+
"previous_text": "",
|
| 1694 |
+
"previous_type": "",
|
| 1695 |
+
"previous_order": 0
|
| 1696 |
+
}
|
| 1697 |
+
},
|
| 1698 |
+
{
|
| 1699 |
+
"page_id": 12,
|
| 1700 |
+
"text_extraction_method": "pdftext",
|
| 1701 |
+
"block_counts": [
|
| 1702 |
+
[
|
| 1703 |
+
"Span",
|
| 1704 |
+
340
|
| 1705 |
+
],
|
| 1706 |
+
[
|
| 1707 |
+
"Line",
|
| 1708 |
+
144
|
| 1709 |
+
],
|
| 1710 |
+
[
|
| 1711 |
+
"ListItem",
|
| 1712 |
+
24
|
| 1713 |
+
],
|
| 1714 |
+
[
|
| 1715 |
+
"Reference",
|
| 1716 |
+
24
|
| 1717 |
+
],
|
| 1718 |
+
[
|
| 1719 |
+
"Text",
|
| 1720 |
+
6
|
| 1721 |
+
],
|
| 1722 |
+
[
|
| 1723 |
+
"ListGroup",
|
| 1724 |
+
2
|
| 1725 |
+
],
|
| 1726 |
+
[
|
| 1727 |
+
"PageHeader",
|
| 1728 |
+
1
|
| 1729 |
+
],
|
| 1730 |
+
[
|
| 1731 |
+
"PageFooter",
|
| 1732 |
+
1
|
| 1733 |
+
]
|
| 1734 |
+
],
|
| 1735 |
+
"block_metadata": {
|
| 1736 |
+
"llm_request_count": 0,
|
| 1737 |
+
"llm_error_count": 0,
|
| 1738 |
+
"llm_tokens_used": 0,
|
| 1739 |
+
"previous_text": "",
|
| 1740 |
+
"previous_type": "",
|
| 1741 |
+
"previous_order": 0
|
| 1742 |
+
}
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"page_id": 13,
|
| 1746 |
+
"text_extraction_method": "pdftext",
|
| 1747 |
+
"block_counts": [
|
| 1748 |
+
[
|
| 1749 |
+
"Span",
|
| 1750 |
+
218
|
| 1751 |
+
],
|
| 1752 |
+
[
|
| 1753 |
+
"Line",
|
| 1754 |
+
91
|
| 1755 |
+
],
|
| 1756 |
+
[
|
| 1757 |
+
"Text",
|
| 1758 |
+
15
|
| 1759 |
+
],
|
| 1760 |
+
[
|
| 1761 |
+
"Reference",
|
| 1762 |
+
14
|
| 1763 |
+
],
|
| 1764 |
+
[
|
| 1765 |
+
"ListItem",
|
| 1766 |
+
13
|
| 1767 |
+
],
|
| 1768 |
+
[
|
| 1769 |
+
"PageHeader",
|
| 1770 |
+
1
|
| 1771 |
+
],
|
| 1772 |
+
[
|
| 1773 |
+
"PageFooter",
|
| 1774 |
+
1
|
| 1775 |
+
],
|
| 1776 |
+
[
|
| 1777 |
+
"ListGroup",
|
| 1778 |
+
1
|
| 1779 |
+
]
|
| 1780 |
+
],
|
| 1781 |
+
"block_metadata": {
|
| 1782 |
+
"llm_request_count": 0,
|
| 1783 |
+
"llm_error_count": 0,
|
| 1784 |
+
"llm_tokens_used": 0,
|
| 1785 |
+
"previous_text": "",
|
| 1786 |
+
"previous_type": "",
|
| 1787 |
+
"previous_order": 0
|
| 1788 |
+
}
|
| 1789 |
+
},
|
| 1790 |
+
{
|
| 1791 |
+
"page_id": 14,
|
| 1792 |
+
"text_extraction_method": "surya",
|
| 1793 |
+
"block_counts": [
|
| 1794 |
+
[
|
| 1795 |
+
"Line",
|
| 1796 |
+
166
|
| 1797 |
+
],
|
| 1798 |
+
[
|
| 1799 |
+
"Span",
|
| 1800 |
+
162
|
| 1801 |
+
],
|
| 1802 |
+
[
|
| 1803 |
+
"TableCell",
|
| 1804 |
+
56
|
| 1805 |
+
],
|
| 1806 |
+
[
|
| 1807 |
+
"Text",
|
| 1808 |
+
48
|
| 1809 |
+
],
|
| 1810 |
+
[
|
| 1811 |
+
"Equation",
|
| 1812 |
+
15
|
| 1813 |
+
],
|
| 1814 |
+
[
|
| 1815 |
+
"Reference",
|
| 1816 |
+
3
|
| 1817 |
+
],
|
| 1818 |
+
[
|
| 1819 |
+
"SectionHeader",
|
| 1820 |
+
2
|
| 1821 |
+
],
|
| 1822 |
+
[
|
| 1823 |
+
"PageHeader",
|
| 1824 |
+
1
|
| 1825 |
+
],
|
| 1826 |
+
[
|
| 1827 |
+
"Caption",
|
| 1828 |
+
1
|
| 1829 |
+
],
|
| 1830 |
+
[
|
| 1831 |
+
"Table",
|
| 1832 |
+
1
|
| 1833 |
+
],
|
| 1834 |
+
[
|
| 1835 |
+
"PageFooter",
|
| 1836 |
+
1
|
| 1837 |
+
],
|
| 1838 |
+
[
|
| 1839 |
+
"TableGroup",
|
| 1840 |
+
1
|
| 1841 |
+
]
|
| 1842 |
+
],
|
| 1843 |
+
"block_metadata": {
|
| 1844 |
+
"llm_request_count": 0,
|
| 1845 |
+
"llm_error_count": 0,
|
| 1846 |
+
"llm_tokens_used": 0,
|
| 1847 |
+
"previous_text": "",
|
| 1848 |
+
"previous_type": "",
|
| 1849 |
+
"previous_order": 0
|
| 1850 |
+
}
|
| 1851 |
+
},
|
| 1852 |
+
{
|
| 1853 |
+
"page_id": 15,
|
| 1854 |
+
"text_extraction_method": "surya",
|
| 1855 |
+
"block_counts": [
|
| 1856 |
+
[
|
| 1857 |
+
"Line",
|
| 1858 |
+
202
|
| 1859 |
+
],
|
| 1860 |
+
[
|
| 1861 |
+
"Span",
|
| 1862 |
+
165
|
| 1863 |
+
],
|
| 1864 |
+
[
|
| 1865 |
+
"Text",
|
| 1866 |
+
67
|
| 1867 |
+
],
|
| 1868 |
+
[
|
| 1869 |
+
"Equation",
|
| 1870 |
+
19
|
| 1871 |
+
],
|
| 1872 |
+
[
|
| 1873 |
+
"Reference",
|
| 1874 |
+
4
|
| 1875 |
+
],
|
| 1876 |
+
[
|
| 1877 |
+
"PageHeader",
|
| 1878 |
+
1
|
| 1879 |
+
],
|
| 1880 |
+
[
|
| 1881 |
+
"SectionHeader",
|
| 1882 |
+
1
|
| 1883 |
+
],
|
| 1884 |
+
[
|
| 1885 |
+
"PageFooter",
|
| 1886 |
+
1
|
| 1887 |
+
]
|
| 1888 |
+
],
|
| 1889 |
+
"block_metadata": {
|
| 1890 |
+
"llm_request_count": 0,
|
| 1891 |
+
"llm_error_count": 0,
|
| 1892 |
+
"llm_tokens_used": 0,
|
| 1893 |
+
"previous_text": "",
|
| 1894 |
+
"previous_type": "",
|
| 1895 |
+
"previous_order": 0
|
| 1896 |
+
}
|
| 1897 |
+
},
|
| 1898 |
+
{
|
| 1899 |
+
"page_id": 16,
|
| 1900 |
+
"text_extraction_method": "surya",
|
| 1901 |
+
"block_counts": [
|
| 1902 |
+
[
|
| 1903 |
+
"Line",
|
| 1904 |
+
220
|
| 1905 |
+
],
|
| 1906 |
+
[
|
| 1907 |
+
"Span",
|
| 1908 |
+
160
|
| 1909 |
+
],
|
| 1910 |
+
[
|
| 1911 |
+
"Text",
|
| 1912 |
+
62
|
| 1913 |
+
],
|
| 1914 |
+
[
|
| 1915 |
+
"SectionHeader",
|
| 1916 |
+
6
|
| 1917 |
+
],
|
| 1918 |
+
[
|
| 1919 |
+
"PageHeader",
|
| 1920 |
+
1
|
| 1921 |
+
],
|
| 1922 |
+
[
|
| 1923 |
+
"PageFooter",
|
| 1924 |
+
1
|
| 1925 |
+
]
|
| 1926 |
+
],
|
| 1927 |
+
"block_metadata": {
|
| 1928 |
+
"llm_request_count": 0,
|
| 1929 |
+
"llm_error_count": 0,
|
| 1930 |
+
"llm_tokens_used": 0,
|
| 1931 |
+
"previous_text": "",
|
| 1932 |
+
"previous_type": "",
|
| 1933 |
+
"previous_order": 0
|
| 1934 |
+
}
|
| 1935 |
+
},
|
| 1936 |
+
{
|
| 1937 |
+
"page_id": 17,
|
| 1938 |
+
"text_extraction_method": "surya",
|
| 1939 |
+
"block_counts": [
|
| 1940 |
+
[
|
| 1941 |
+
"Line",
|
| 1942 |
+
203
|
| 1943 |
+
],
|
| 1944 |
+
[
|
| 1945 |
+
"Span",
|
| 1946 |
+
119
|
| 1947 |
+
],
|
| 1948 |
+
[
|
| 1949 |
+
"Text",
|
| 1950 |
+
55
|
| 1951 |
+
],
|
| 1952 |
+
[
|
| 1953 |
+
"TableCell",
|
| 1954 |
+
35
|
| 1955 |
+
],
|
| 1956 |
+
[
|
| 1957 |
+
"SectionHeader",
|
| 1958 |
+
6
|
| 1959 |
+
],
|
| 1960 |
+
[
|
| 1961 |
+
"Reference",
|
| 1962 |
+
3
|
| 1963 |
+
],
|
| 1964 |
+
[
|
| 1965 |
+
"Caption",
|
| 1966 |
+
2
|
| 1967 |
+
],
|
| 1968 |
+
[
|
| 1969 |
+
"PageHeader",
|
| 1970 |
+
1
|
| 1971 |
+
],
|
| 1972 |
+
[
|
| 1973 |
+
"Figure",
|
| 1974 |
+
1
|
| 1975 |
+
],
|
| 1976 |
+
[
|
| 1977 |
+
"Table",
|
| 1978 |
+
1
|
| 1979 |
+
],
|
| 1980 |
+
[
|
| 1981 |
+
"PageFooter",
|
| 1982 |
+
1
|
| 1983 |
+
],
|
| 1984 |
+
[
|
| 1985 |
+
"TableGroup",
|
| 1986 |
+
1
|
| 1987 |
+
]
|
| 1988 |
+
],
|
| 1989 |
+
"block_metadata": {
|
| 1990 |
+
"llm_request_count": 0,
|
| 1991 |
+
"llm_error_count": 0,
|
| 1992 |
+
"llm_tokens_used": 0,
|
| 1993 |
+
"previous_text": "",
|
| 1994 |
+
"previous_type": "",
|
| 1995 |
+
"previous_order": 0
|
| 1996 |
+
}
|
| 1997 |
+
},
|
| 1998 |
+
{
|
| 1999 |
+
"page_id": 18,
|
| 2000 |
+
"text_extraction_method": "surya",
|
| 2001 |
+
"block_counts": [
|
| 2002 |
+
[
|
| 2003 |
+
"Line",
|
| 2004 |
+
127
|
| 2005 |
+
],
|
| 2006 |
+
[
|
| 2007 |
+
"Span",
|
| 2008 |
+
97
|
| 2009 |
+
],
|
| 2010 |
+
[
|
| 2011 |
+
"Text",
|
| 2012 |
+
22
|
| 2013 |
+
],
|
| 2014 |
+
[
|
| 2015 |
+
"ListItem",
|
| 2016 |
+
7
|
| 2017 |
+
],
|
| 2018 |
+
[
|
| 2019 |
+
"Figure",
|
| 2020 |
+
4
|
| 2021 |
+
],
|
| 2022 |
+
[
|
| 2023 |
+
"Caption",
|
| 2024 |
+
4
|
| 2025 |
+
],
|
| 2026 |
+
[
|
| 2027 |
+
"FigureGroup",
|
| 2028 |
+
4
|
| 2029 |
+
],
|
| 2030 |
+
[
|
| 2031 |
+
"Reference",
|
| 2032 |
+
4
|
| 2033 |
+
],
|
| 2034 |
+
[
|
| 2035 |
+
"ListGroup",
|
| 2036 |
+
2
|
| 2037 |
+
],
|
| 2038 |
+
[
|
| 2039 |
+
"PageHeader",
|
| 2040 |
+
1
|
| 2041 |
+
],
|
| 2042 |
+
[
|
| 2043 |
+
"PageFooter",
|
| 2044 |
+
1
|
| 2045 |
+
]
|
| 2046 |
+
],
|
| 2047 |
+
"block_metadata": {
|
| 2048 |
+
"llm_request_count": 0,
|
| 2049 |
+
"llm_error_count": 0,
|
| 2050 |
+
"llm_tokens_used": 0,
|
| 2051 |
+
"previous_text": "",
|
| 2052 |
+
"previous_type": "",
|
| 2053 |
+
"previous_order": 0
|
| 2054 |
+
}
|
| 2055 |
+
},
|
| 2056 |
+
{
|
| 2057 |
+
"page_id": 19,
|
| 2058 |
+
"text_extraction_method": "pdftext",
|
| 2059 |
+
"block_counts": [
|
| 2060 |
+
[
|
| 2061 |
+
"Span",
|
| 2062 |
+
323
|
| 2063 |
+
],
|
| 2064 |
+
[
|
| 2065 |
+
"Line",
|
| 2066 |
+
102
|
| 2067 |
+
],
|
| 2068 |
+
[
|
| 2069 |
+
"Text",
|
| 2070 |
+
12
|
| 2071 |
+
],
|
| 2072 |
+
[
|
| 2073 |
+
"SectionHeader",
|
| 2074 |
+
4
|
| 2075 |
+
],
|
| 2076 |
+
[
|
| 2077 |
+
"Reference",
|
| 2078 |
+
2
|
| 2079 |
+
],
|
| 2080 |
+
[
|
| 2081 |
+
"PageHeader",
|
| 2082 |
+
1
|
| 2083 |
+
],
|
| 2084 |
+
[
|
| 2085 |
+
"PageFooter",
|
| 2086 |
+
1
|
| 2087 |
+
]
|
| 2088 |
+
],
|
| 2089 |
+
"block_metadata": {
|
| 2090 |
+
"llm_request_count": 0,
|
| 2091 |
+
"llm_error_count": 0,
|
| 2092 |
+
"llm_tokens_used": 0,
|
| 2093 |
+
"previous_text": "",
|
| 2094 |
+
"previous_type": "",
|
| 2095 |
+
"previous_order": 0
|
| 2096 |
+
}
|
| 2097 |
+
},
|
| 2098 |
+
{
|
| 2099 |
+
"page_id": 20,
|
| 2100 |
+
"text_extraction_method": "surya",
|
| 2101 |
+
"block_counts": [
|
| 2102 |
+
[
|
| 2103 |
+
"Line",
|
| 2104 |
+
186
|
| 2105 |
+
],
|
| 2106 |
+
[
|
| 2107 |
+
"Span",
|
| 2108 |
+
62
|
| 2109 |
+
],
|
| 2110 |
+
[
|
| 2111 |
+
"Text",
|
| 2112 |
+
27
|
| 2113 |
+
],
|
| 2114 |
+
[
|
| 2115 |
+
"Figure",
|
| 2116 |
+
4
|
| 2117 |
+
],
|
| 2118 |
+
[
|
| 2119 |
+
"Caption",
|
| 2120 |
+
4
|
| 2121 |
+
],
|
| 2122 |
+
[
|
| 2123 |
+
"FigureGroup",
|
| 2124 |
+
4
|
| 2125 |
+
],
|
| 2126 |
+
[
|
| 2127 |
+
"Reference",
|
| 2128 |
+
4
|
| 2129 |
+
],
|
| 2130 |
+
[
|
| 2131 |
+
"PageHeader",
|
| 2132 |
+
1
|
| 2133 |
+
],
|
| 2134 |
+
[
|
| 2135 |
+
"PageFooter",
|
| 2136 |
+
1
|
| 2137 |
+
]
|
| 2138 |
+
],
|
| 2139 |
+
"block_metadata": {
|
| 2140 |
+
"llm_request_count": 0,
|
| 2141 |
+
"llm_error_count": 0,
|
| 2142 |
+
"llm_tokens_used": 0,
|
| 2143 |
+
"previous_text": "",
|
| 2144 |
+
"previous_type": "",
|
| 2145 |
+
"previous_order": 0
|
| 2146 |
+
}
|
| 2147 |
+
}
|
| 2148 |
+
],
|
| 2149 |
+
"debug_data_path": "debug_data/fddf30e3-e5ae-4a68-b862-daa6e531883a"
|
| 2150 |
+
}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/model_text_v3.txt
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 1 | section: Abstract | type: Text]
|
| 2 |
+
Approximate Nearest Neighbor Search (ANNS) is fundamental to modern AI applications. Most existing solutions optimize query efficiency but fail to align with the practical requirements of modern workloads. In this paper, we outline six critical demands of modern AI applications: high query efficiency, fast indexing, low memory footprint, scalability to high dimensionality, robustness across varying retrieval sizes, and support for online insertions. To satisfy all these demands, we introduce Projection-Augmented Graph (PAG), a new ANNS framework that integrates projection techniques into a graph index. PAG reduces unnecessary exact distance computations through asymmetric comparisons between exact and approximate distances as guided by projection-based statistical tests. Three key components are designed and unified to the graph index to optimize indexing and searching. Experiments on six modern datasets demonstrate that PAG consistently achieves superior query per second (QPS) recall performance—up to 5×faster than HNSW while offering fast indexing speed and moderate memory footprint. PAG remains robust as dimensionality and retrieval size increase and naturally supports online insertions. Our source code is available at: KejingLu-810/PAG/ .
|
| 3 |
+
|
| 4 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 5 |
+
Given a dataset D ⊂ R d with size n and a query q ∈ R d , Approximate Nearest Neighbor Search (ANNS) aims to find K approximate nearest neighbors of q as accurately and efficiently as possible. Due to its crucial role in many applications such as image search, recommender systems, and
|
| 6 |
+
|
| 7 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 8 |
+
retrieval-augmented-generation (RAG), we have witnessed the rapid proliferation of ANNS solvers. Whereas the ANN-Benchmarks (Bernhardsson et al., 2015) has been developed to compare these methods in a unified environment, many datasets in the ANN-Benchmarks, as pointed out by Chen et al. (2025) , are derived from outdated models such as SIFT and GIST, which are image descriptors developed more than 20 years ago (Lowe, 2004; Oliva & Torralba, 2001) . In addition, its evaluation metric is limited to query per second (QPS)-recall under K = 10.
|
| 9 |
+
|
| 10 |
+
[p. 1 | section: 1. Introduction | type: Text]
|
| 11 |
+
Seeing the fast development of AI technology, we argue that a well-designed ANNS solver should perform well on modern datasets, and beyond (D1) QPS-recall performance, several demands must also be considered: (D2) indexing time, for which graph indexes such as HNSW (Malkov & Yashunin, 2020) are often criticized (Lin, 2025; Li & Papakonstantinou, 2025) , compromising their use in applications that require instant deployment; (D3) memory footprint, where moderate and adjustable consumption, mostly caused by the index size, is desired for the memory vs accuracy trade-off (Cheng et al., 2024; Wallace, 2025) ; (D4) scalability to high dimensionality, as motivated by the increasing dimensionality of modern embedding models such as CLIP (Radford et al., 2021) 1 ; (D5) robustness against the retrieval size K, due to the needs in various applications (e.g., K is typically 10 for RAG (Fensore et al., 2025; Ke et al., 2025) but can be up to hundreds in image retrieval (Vendrow et al., 2024) and thousands in recommender systems (Zhang et al., 2025) ); (D6) support of online insertions, which is essential for emergent applications such as self-evolving agents that continually accumulate and reuse experience through interaction (Ouyang et al., 2025; Zhai et al., 2025; Zhang et al., 2026) .
|
| 12 |
+
|
| 13 |
+
[p. 1 | section: 1.1. Prior Works | type: Text]
|
| 14 |
+
We review representative ANNS solvers based on D1 – D6. More discussions on literature can be found in Appendix C.
|
| 15 |
+
|
| 16 |
+
[p. 1 | section: 1.1. Prior Works | type: Footnote]
|
| 17 |
+
1 Despite the availability of dimensionality reduction techniques, Weller et al. (2025) proved that for embedding-based retrieval with dimensionality d, there exists a dataset size n (e.g., n ≈ 4M for d = 1024) beyond which it is theoretically impossible to represent all possible top-2 document combinations, showcasing the necessity for higher dimensionality on large datasets.
|
| 18 |
+
|
| 19 |
+
[p. 2 | section: 1.1. Prior Works | type: TableGroup]
|
| 20 |
+
Table 1. Summary of empirical performance comparison of notable ANNS solvers, HNSW (Malkov & Yashunin, 2020), Vamana (in-memory DiskANN (Subramanya et al., 2019)), IVFPQFS (fast scan IVFPQ (Jégou et al., 2011)), ScaNN (Guo et al., 2020a), RaBitQ+ (Gao et al., 2025), SymQG (Gou et al., 2025), HNSW+KS2 (Lu et al., 2025), and our solutions PAG-Base (for high QPS) and PAG-Lite (for fast indexing and small index size). Detailed results are available in Sec. 5.2. The evaluation of D1 – D3 is clustered into tiers, where Tier-4 is the best. D4 – D6 are evaluated in yes/no (√/X). Graph-Based Quantization-Based QG PG PA ıG Criteria HNSW Vamana IVFPQFS 1 ScaNN 1 RaBitQ+ SymQG HNSW+KS2 PAG-Base PAG-Lite D1. QPS-recall Tier-2 Tier-2 Tier-1 Tier-1 Tier-1 Tier-3 Tier-3 Tier-4 Tier-3 D2. Indexing time Tier-1 Tier-1 Tier-3 Tier-3 Tier-3 Tier-2 Tier-1 Tier-2 Tier-4 D3. Memory footprint 2 Tier-3 Tier-3 Tier-4 Tier-4 Tier-4 Tier-1 Tier-2 Tier-3 Tier-4 D4. High-dim. scalability ✓ ✓ ✓ ✓ ✓ X ✓ ✓ ✓ D5. Retrieval size robustness ✓ ✓ ✓ ✓ ✓ Х ✓ ✓ ✓ D6. Online insertion support 3 ✓ ✓ ✓ ✓ \checkmark X × ✓ ✓ Reranking is enabled for IVFPOFS and ScaNN.
|
| 21 |
+
|
| 22 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 23 |
+
Graph-Based Methods. These methods construct a similarity graph connecting nearby vectors and hop towards the neighborhood of q. Notable methods are HNSW (Malkov & Yashunin, 2020), NSG (Fu et al., 2019), and DiskANN (Subramanya et al., 2019). They are generally competitive in QPS-recall but slow in building indexes.
|
| 24 |
+
|
| 25 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 26 |
+
Quantization-Based Methods. These methods compress vectors and rank them using approximate (i.e., quantized) distances to q in pursuit of efficiency. Representative methods are IVFPQ (Jégou et al., 2011) and ScaNN (Guo et al., 2020a). They are fast in building indexes and save memory, but their QPS-recall is generally inferior to graph-based methods.
|
| 27 |
+
|
| 28 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 29 |
+
Projection-Based Methods. These methods use random (e.g., E2LSH (Andoni & Indyk, 2005), Falconn (Andoni et al., 2015), and CEOs (Pham, 2021)) or data-dependent (e.g., learning to hash (Wang et al., 2018)) projections of the original vectors for indexing. Although many of them enjoy theoretical guarantees, they are less competitive than graphand quantization-based methods in QPS-recall performance, hence becoming less popular in modern top-K ANNS.
|
| 30 |
+
|
| 31 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 32 |
+
<u>Tree-Based Methods.</u> They utilize tree indexes. table methods include k-d tree (Bentley, 1990), cover tree (Beygelzimer et al., 2006), and Annoy (Bernhardsson, 2013). Like projection-based methods, they are less widely used for modern ANNS due to limited QPS-recall performance.
|
| 33 |
+
|
| 34 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 35 |
+
As discussed above, graph-based methods are good at QPSrecall. But they compute exact distances between vectors, which is computationally costly. To address this weakness, recent advancements attempt to integrate other techniques, in particular, quantization or projection, into graphs.
|
| 36 |
+
|
| 37 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 38 |
+
Quantized Graph (QG) Methods. They construct a similarity graph based on quantized vectors instead of the original ones, thereby replacing exact distances with approximate values. Representative methods are NGT-QG (Yahoo! Japan, 2023),
|
| 39 |
+
|
| 40 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 41 |
+
LVQ (Aguerrebere et al., 2023), and SymphonyQG (Gou et al., 2025). QG methods can achieve very high QPS-recall performance, yet they are sensitive to the data distribution and many of them do not perform very well in D3 - D6.
|
| 42 |
+
|
| 43 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 44 |
+
Projection + Graph ( PG ) Methods . Unlike QG, they operate on original vectors and reduce unnecessary exact distance computations. To this end, they employ projection techniques to test whether a neighbor needs to be explored (called routing tests). Representative methods are FINGER (Chen et al., 2023), PEOs (Lu et al., 2024), and KS2 (Lu et al., 2025). Despite QPS-recall improvement on top of graph-based methods, such improvement comes at the cost of indexing time, memory footprint, and support for online insertions.
|
| 45 |
+
|
| 46 |
+
[p. 2 | section: 1.1. Prior Works | type: Text]
|
| 47 |
+
Table 1 compares notable methods implemented in leading vector databases and recent ones representing state of the art.
|
| 48 |
+
|
| 49 |
+
[p. 2 | section: 1.2. Our Solution | type: Text]
|
| 50 |
+
We propose a new ANNS framework, Projection-Augmented Graph (PAG), which integrates projection into a similarity graph and achieves superior performance for all the six criteria. Unlike PG methods, PAG treats projection as a fundamental building block of graph construction rather than as a plug-in. The rationale of PAG is to accommodate both exact and approximate distances within a unified framework, addressing two key issues: (1) when distances shall be computed exactly and when they shall be approximated, and (2) how exact and approximate distances are compared during indexing and searching to enhance the performance.
|
| 51 |
+
|
| 52 |
+
[p. 2 | section: 1.2. Our Solution | type: Text]
|
| 53 |
+
PAG significantly reduces the computational cost of searching (D1) and indexing (D2) by carefully determining whether exact distance computation is needed. Such procedure relies on asymmetric comparisons between exact and approximate distance values obtained from space-efficient and adjustable random-projection structures (D3), as opposed to symmetric comparisons in QG. Moreover, the asymmetric distance
|
| 54 |
+
|
| 55 |
+
[p. 2 | section: 1.2. Our Solution | type: Footnote]
|
| 56 |
+
Memory footprint for searching, rather than indexing, is compared.
|
| 57 |
+
|
| 58 |
+
[p. 2 | section: 1.2. Our Solution | type: Footnote]
|
| 59 |
+
& lt;sup>3</sup> For any streaming workload Q composed of search and insertion queries, we say an algorithm supports online insertion, if the amortized cost of processing a query in Q is O(1) times the cost of a search. In other words, the index can be incrementally updated with minimal cost. See Sec. 4.3 for the analysis of PAG.
|
| 60 |
+
|
| 61 |
+
[p. 3 | section: 1.2. Our Solution | type: Text]
|
| 62 |
+
comparisons, as guided by random-projection-based statistical tests, only need to tell which value is larger, thereby achieving accuracy while preserving efficiency. Meanwhile, PAG inherits graph-based methods' scalability to high dimensionality (D4) and robustness against retrieval size (D5), and follows the search-and-insertion paradigm (e.g., HNSW) to accommodate online insertions (D6).
|
| 63 |
+
|
| 64 |
+
[p. 3 | section: 1.2. Our Solution | type: Text]
|
| 65 |
+
Our technical contributions are summarized as follows.
|
| 66 |
+
|
| 67 |
+
[p. 3 | section: 1.2. Our Solution | type: ListGroup]
|
| 68 |
+
(1) Following the idea of routing tests in PEOs (Lu et al., 2024) and KS2 (Lu et al., 2025) , we derive a Probabilistic Routing Test (PRT) function (Sec. 3.2) . The theoretical result (Theorem 3.1) , along with Lemma 4.3 in Lu et al. (2025) , provides a complete theoretical explanation of PRT. In addition, our work is the first to apply PRT to graph construction. (2) We propose a data structure called Test Feedback Buffer (TFB) (Sec. 3.3) , which refines the threshold setting in PRT and enables the reuse of false positives generated by PRT. By incorporating TFB into PRT, we obtain the PRT-TFB test as a core technique for accelerating both indexing and searching. (3) We propose a statistical test called Probabilistic Edge Selection (PES) (Sec. 3.4) , which is derived from Theorem 3.1 and can expand in-degrees when necessary. In collaboration with PRT, PRT-PES can improve the search performance for hard datasets on which traditional graph indexes perform poorly, while incurring very small indexing overhead. (4) PRT, TFB, and PES constitute PAG (Fig. 1) . We show how the three components interact within PAG, with implementation details and complexity analysis provided. (5) We conduct experiments on six modern (post-2023) datasets covering text, image, and multimodal data, with dimensionality ranging from 384 to 3072 and retrieval size from 10 to 1000. The results show that PAG achieves the best QPS-recall performance (up to 5× faster than HNSW), and its superiority is particularly evident on datasets with higher dimensionality. PAG remains dominant as K increases. By adjusting parameters, PAG can deliver the fastest indexing speed and lowest memory footprint on most datasets while maintaining competitive QPS-recall. PAG also performs well on the datasets in the ANN-Benchmarks, showcasing its compatibility with data generated by legacy models.
|
| 69 |
+
|
| 70 |
+
[p. 3 | section: 2. Problem Setting | type: Text]
|
| 71 |
+
Since PAG adopts a search-and-insertion paradigm, its search process, similar to HNSW, can be seen as a special case of index construction (i.e., no update to the graph), and we can focus on the problems that arise in index construction. Because constructing a similarity graph is essentially determining its edge set, we consider the following question: Can we design statistical methods that select edges efficiently (i.e., fast indexing) and effectively (i.e., fast searching)? To an-
|
| 72 |
+
|
| 73 |
+
[p. 3 | section: 2. Problem Setting | type: Text]
|
| 74 |
+
swer this question, we first review the existing edge-selection strategy, and then formalize the problems to be solved.
|
| 75 |
+
|
| 76 |
+
[p. 3 | section: 2.1. Background of RobustPrune | type: Text]
|
| 77 |
+
Given a directed graph, let v be a node whose edges are to be determined. To identify its in-neighbor set Nin(v) and out-neighbor set Nout(v), state-of-the-art methods, such as HNSW, NSG and Vamana, employ a strategy known as RobustPrune to decide whether a candidate edge should be preserved. Take the construction of Nin(v) as an example. For a candidate neighbor u of node v, the pruning criterion considers the following set 2 :
|
| 78 |
+
|
| 79 |
+
[p. 3 | section: 2.1. Background of RobustPrune | type: Equation]
|
| 80 |
+
S_{u,v} = \{ w \in N_{\text{out}}(u) \mid ||w - v|| \le ||v - u|| \}. (1)
|
| 81 |
+
|
| 82 |
+
[p. 3 | section: 2.1. Background of RobustPrune | type: Text]
|
| 83 |
+
In RobustPrune, if there exists w in Su, v such that ∥w − u∥ ≤ ∥v − u∥, u is not added to Nin(v); otherwise, Nin(v) is updated as Nin(v)∪{u}. This criterion admits an intuitive interpretation: if ∥w − u∥ ≤ ∥v − u∥ holds for some w, it is likely that one can reach v from u via w along a monotonic search path (Fu et al., 2019) , implying that the direct edge uv⃗ is redundant. Similarly, Nout(v) can be constructed by RobustPrune with the roles of u and v reversed. In sum, existing graph-based methods determine Nout(v) and Nin(v) sequentially in the following manner.
|
| 84 |
+
|
| 85 |
+
[p. 3 | section: 2.1. Background of RobustPrune | type: Text]
|
| 86 |
+
Nout(v) . We take v as the query and conduct an ANNS from v to obtain a candidate set, which is stored in a priority queue P. RobustPrune is then applied to P to determine Nout(v).
|
| 87 |
+
|
| 88 |
+
[p. 3 | section: 2.1. Background of RobustPrune | type: Text]
|
| 89 |
+
Nin(v) . We check every u in Nout(v) and preserve those u's retained by RobustPrune as Nin(v).
|
| 90 |
+
|
| 91 |
+
[p. 3 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 92 |
+
During graph construction, most of the time is spent on ANNS for the candidate set of Nout(v). Although we can reduce the graph construction parameter (e.g., efC in HNSW) for fast graph construction, the query processing performance degrades accordingly. Thus, we raise the following question.
|
| 93 |
+
|
| 94 |
+
[p. 3 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 95 |
+
Q1. How can we accelerate the ANNS for v while preserving the query processing performance?
|
| 96 |
+
|
| 97 |
+
[p. 3 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 98 |
+
Existing studies PEOs and KS2 have shown that PRT has the potential to be an appropriate answer to Q1. For each visited node u and its out-neighbor w, PRT sends (u, v, w) to a probabilistic test function to see whether they can pass the test, and then determines whether the exact distance between v and w needs to be computed based on the test result. Consequently, PRT avoids unnecessary distance computations, leading to faster search. In KS2 (Lu et al., 2025) , it is shown that the routing test under ℓ 2 and cosine distances is equivalent to the angle-thresholding problem when vector norms
|
| 99 |
+
|
| 100 |
+
[p. 3 | section: 2.2. Towards Fast Graph Construction | type: Footnote]
|
| 101 |
+
For Vamana, we assume its pruning ratio α = 1 and omit it in the inequality.
|
| 102 |
+
|
| 103 |
+
[p. 4 | section: 2.2. Towards Fast Graph Construction | type: FigureGroup]
|
| 104 |
+
Figure 1. An overview of PAG. In this example, \boldsymbol{u} has 7 out-neighbors \{\boldsymbol{w_i}\}_{i=1}^7 . Let \{\boldsymbol{e_i}\}_{i=1}^7 denote the edges between \boldsymbol{u} and \{\boldsymbol{w_i}\}_{i=1}^7 , which are sent to PRT, where the threshold is determined by \boldsymbol{z_{max}} . As a result, only \boldsymbol{w_3} and \boldsymbol{w_5} pass PRT, and their exact distances to \boldsymbol{v} are computed. By distance comparison, node \boldsymbol{w_5} is identified as a false positive, not added to W, and thus sent to R_F . Node \boldsymbol{w_3} is inserted into W, causing \boldsymbol{z_{max}} to be ejected from W and sent to R_T . The two rings R_F and R_T are merged and refilled into W. On the other route, by a left shift, the signs of both \boldsymbol{w_3} and \boldsymbol{w_5} are reversed, and all signs become negative, indicating that \boldsymbol{u} is rejected by the PES test. Consequently, \boldsymbol{u}\dot{\boldsymbol{v}} is treated as a candidate edge and added to the PES set.
|
| 105 |
+
|
| 106 |
+
[p. 4 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 107 |
+
are stored explicitly. Therefore, PRT can be formulated as follows:
|
| 108 |
+
|
| 109 |
+
[p. 4 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 110 |
+
Problem 2.1. ( Probabilistic Routing Test ) Given u, v, w \in \mathbb{S}^{d-1} and a threshold -1 \le \tau \le 1 , construct a random-projection vector set \mathcal{F} and design a test function w.r.t \mathcal{F} , i.e., PRT : (u, v, w, \tau) \to RV with time complexity o(d), where RV denotes the set of one-dimensional random variables, such that if \cos(\angle(v-u, w-u)) \ge \tau , then \mathbb{P}[\operatorname{PRT}(u, v, w, \tau) \ge 0] \ge 0.5 . Otherwise, \mathbb{P}[\operatorname{PRT}(u, v, w, \tau) < 0] \to 1 as |\mathcal{F}| \to \infty .
|
| 111 |
+
|
| 112 |
+
[p. 4 | section: 2.2. Towards Fast Graph Construction | type: Text]
|
| 113 |
+
Different from the routing test functions used in PEOs and KS2, we take \tau as an explicit input. In this paper, we use another method to determine \tau in order to further improve the efficiency of the routing test.
|
| 114 |
+
|
| 115 |
+
[p. 4 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 116 |
+
From the process of determining N_{\rm in}(\boldsymbol{v}) , we observe that its candidate set is restricted to N_{\rm out}(\boldsymbol{v}) . Recent work (Wang et al., 2025a) shows that |N_{\rm out}(\boldsymbol{v})| may be too small to reliably determine incoming edges, causing some nodes to have very small in-degrees. Such nodes may become unreachable during search, which partly explains why HNSW performs poorly on certain real-world datasets. On the other hand, for each checked node \boldsymbol{u} , the worst-case time complexity of RobustPrune can reach O(|N_{\rm out}(\boldsymbol{u})|d) , implying that a straightforward enlargement of the candidate set for
|
| 117 |
+
|
| 118 |
+
[p. 4 | section: 2.3. Towards High Graph Connectivity | type: FigureGroup]
|
| 119 |
+
Figure 2. Illustration of PES (left: the role of PES; right: geometric illustration). Let \boldsymbol{v} be the node to be inserted. The four green nodes are out-neighbors of \boldsymbol{v} . Without PES, we can obtain only a single in-neighbor via RobustPrune. By taking all other visited nodes (the blue ones) into account, we apply PES, followed by RobustPrune. As such, we can identify three additional promising in-neighbors, thereby strengthening the connectivity of the neighborhood of \boldsymbol{v} .
|
| 120 |
+
|
| 121 |
+
[p. 4 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 122 |
+
determining incoming edges is expensive. Considering this dilemma, we raise the following question.
|
| 123 |
+
|
| 124 |
+
[p. 4 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 125 |
+
Q2. How can we efficiently detect incoming edges outside N_{\text{out}}(v) that are useful for improving query processing performance but hard to be identified by RobustPrune?
|
| 126 |
+
|
| 127 |
+
[p. 5 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 128 |
+
To answer this question, we formulate a problem as follows.
|
| 129 |
+
|
| 130 |
+
[p. 5 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 131 |
+
Problem 2.2. ( Probabilistic Edge Selection ) Given u, v \in \mathbb{S}^{d-1} , construct a random-projection-vector set \mathcal{F} and design a probabilistic edge selection function PES: (u, v) \to RV whose time complexity is O(|N_{\mathrm{out}}(u)|) , such that if S_{u,v} is non-empty, then \mathbb{P}[\mathrm{PES}(u,v) \geq 0] \geq 0.5 . Otherwise, \mathbb{P}[\mathrm{PES}(u,v) < 0] \to 1 as |\mathcal{F}| \to \infty .
|
| 132 |
+
|
| 133 |
+
[p. 5 | section: 2.3. Towards High Graph Connectivity | type: Text]
|
| 134 |
+
We emphasize that the PES test is far more than a fast probabilistic implementation of RobustPrune. This is because the PES test can be applied to all visited nodes during the ANNS of \boldsymbol{v} , whose number is typically much larger than N_{\rm out}(\boldsymbol{v}) in practice, leading to a better graph index in terms of connectivity (Fig. 2).
|
| 135 |
+
|
| 136 |
+
[p. 5 | section: 3. Projection-Augmented Graph | type: Text]
|
| 137 |
+
We show that Problems 2.1 and 2.2 can be solved in a unified framework PAG, which contains three components: Probabilistic Routing Test (PRT), Test Feedback Buffer (TFB), and Probabilistic Edge Selection (PES).
|
| 138 |
+
|
| 139 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 140 |
+
We present an asymptotic result that characterizes the relationship between multiple angles in high-dimensional spaces and their corresponding projection values onto a certain projection vector. This result forms the theoretical basis for all the three components. We first describe how to construct the random-projection vector set \mathcal F that appears in Problems 2.1 and 2.2, following an approach similar to that used in KS2 (Lu et al., 2025). Specifically, we divide the original space \mathbb R^d into L subspaces, each of dimension d/L. In each subspace, we generate multiple cross-polytopes and apply an independent rotation to each, producing a total of m normalized vectors on \mathbb S^{d/L-1} . By concatenation, we obtain a total of m^L normalized vectors \{r_j\}_{j=1}^{m^L} , which together form the set \mathcal F . Consider v as the node to be inserted and v as the candidate neighbor to be checked, let N_{\mathrm{out}}(u) := \{w_i\}_{i=1}^t . We define \{\alpha_i\}_{i=1}^t as follows.
|
| 141 |
+
|
| 142 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Equation]
|
| 143 |
+
\alpha_i := \arccos \frac{\langle \boldsymbol{w_i} - \boldsymbol{u}, \boldsymbol{v} - \boldsymbol{u} \rangle}{\|\boldsymbol{w_i} - \boldsymbol{u}\| \|\boldsymbol{v} - \boldsymbol{u}\|}, \quad 1 \le i \le t \quad (2)
|
| 144 |
+
|
| 145 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 146 |
+
Since \|\boldsymbol{w_i} - \boldsymbol{u}\| and \|\boldsymbol{v} - \boldsymbol{u}\| can be pre-computed, we aim to estimate [\cos \alpha_1, \dots, \cos \alpha_t]^{\top} without exact inner product computation in Eq. (2). We will show that this can be realized by \mathcal{F} . For each \boldsymbol{w_i} ( 1 \leq i \leq t ), let \boldsymbol{r_i^*} \in \mathcal{F} be the reference vector that has the smallest angle with \boldsymbol{w_i} - \boldsymbol{u} , and denote this smallest angle by \beta_i . We use \cos \theta_i to denote the cosine of the angle between \boldsymbol{r_i^*} and \boldsymbol{v} - \boldsymbol{u} , and subscript l to denote the l-th sub-vector of the original vector in \mathbb{R}^d , 1 \leq l \leq L . We introduce the following assumptions for each i:
|
| 147 |
+
|
| 148 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Equation]
|
| 149 |
+
(A1) \|(\boldsymbol{w_i} - \boldsymbol{u})\| = 1 and \|(\boldsymbol{v} - \boldsymbol{u})\| = 1 .
|
| 150 |
+
|
| 151 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Equation]
|
| 152 |
+
(A2) \|(\boldsymbol{w_i} - \boldsymbol{u})_l\| and \|(\boldsymbol{v} - \boldsymbol{u})_l\| are equal to (1 + o(1))/\sqrt{L} . (A3) \langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = (\cos \alpha_i)(1 + o(1))/L .
|
| 153 |
+
|
| 154 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 155 |
+
Here, A1 does not lose generality, and A2 and A3 are mild for large d and L (see the remarks in Appendix B). Under these assumptions, the following theorem shows that \{\alpha_i\}_{i=1}^t can be asymptotically estimated by \{\beta_i\}_{i=1}^t and \{\theta_i\}_{i=1}^t .
|
| 156 |
+
|
| 157 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 158 |
+
Theorem 3.1. Under A1–A3, as L \to \infty , d/L \to \infty , and m grows sufficiently fast with respect to d/L, X = [\cos \theta_1, \dots, \cos \theta_t]^\top , conditioned on \{\alpha_i, \beta_i\}_{i=1}^t , is asymptotically Gaussian:
|
| 159 |
+
|
| 160 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Equation]
|
| 161 |
+
X \mid \{\alpha_i, \beta_i\}_{i=1}^t \xrightarrow{d} \mathcal{N}(\bar{\mu}, \bar{\Sigma}_{m,L}) (3)
|
| 162 |
+
|
| 163 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 164 |
+
where the mean is \bar{\mu} = [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top , and \bar{\Sigma}_{m,L} = O(\epsilon_m/L) with \epsilon_m \to 0 as m \to \infty .
|
| 165 |
+
|
| 166 |
+
[p. 5 | section: 3.1. Neighborhood Relations via Random Projection | type: Text]
|
| 167 |
+
Remarks. (1) Theorem 3.1 establishes a geometric relationship among multiple out-neighbors of \boldsymbol{u} and \boldsymbol{v} , allowing us to estimate the relative location of \boldsymbol{v} w.r.t. \boldsymbol{u} within the neighborhood of \boldsymbol{u} . This relationship is the key to both PRT and PES. (2) In our proof, m \to \infty is used to eliminate noise from off-diagonal entries, while L \to \infty is required for the central limit theorem (CLT). In practice, moderate values of m and L are sufficient. Weak results under finite (m, L) can be found in Lemma 4.3 in the KS2 paper (Lu et al., 2025). (3) \boldsymbol{X} can be computed efficiently by AVX512 on modern CPUs. Vector [\cos \beta_1, \ldots, \cos \beta_t]^{\top} can be pre-computed, meaning that we can obtain an efficient way to estimate all \cos \alpha_i 's simultaneously.
|
| 168 |
+
|
| 169 |
+
[p. 5 | section: 3.2. Probabilistic Routing Test | type: Text]
|
| 170 |
+
Let \tau_i be a threshold w.r.t w_i . Our PRT function is as follows:
|
| 171 |
+
|
| 172 |
+
[p. 5 | section: 3.2. Probabilistic Routing Test | type: Equation]
|
| 173 |
+
PRT(\boldsymbol{u}, \boldsymbol{v}, \boldsymbol{w_i}, \tau_i) = \frac{\cos \theta_i}{\cos \beta_i} - \tau_i. (4)
|
| 174 |
+
|
| 175 |
+
[p. 5 | section: 3.2. Probabilistic Routing Test | type: Text]
|
| 176 |
+
For fixed (u, v), if the value of PRT is positive, the corresponding w_i passes the PRT. Based on Theorem 3.1, under asymptotic assumptions, the PRT function satisfies all the required properties in Problem 2.1. Here, we do not specify the setting of \tau_i , which will be postponed to Sec. 3.3.
|
| 177 |
+
|
| 178 |
+
[p. 5 | section: 3.2. Probabilistic Routing Test | type: Text]
|
| 179 |
+
Remarks. Following the use of routing test in PEOs and KS2, exact distances are computed only between v and those w_i 's that pass PRT (see Fig. 1). The PRT function has the same structure as the KS2 test function (Lu et al., 2025), except for the setting of the threshold \tau . However, since the PRT and KS2 tests are derived using different principles, their theoretical results are complementary. Theorem 4.3 in the KS2 paper shows that, for every single w_i , even for finite (m, L), if \cos(\angle(v - u, w_i - u)) \ge \tau_i , then \mathbb{P}[\operatorname{PRT}(u, v, w_i, \tau_i) \ge 0] \ge 0.5 still holds. Our result, on the other hand, characterizes the concrete asymptotic distribution and reveals the impact of L on the covariance, thereby explaining how L is used to adjust the estimation accuracy.
|
| 180 |
+
|
| 181 |
+
[p. 6 | section: 3.3. Test Feedback Buffer | type: Text]
|
| 182 |
+
For the PRT function, a key issue is how to set an appropriate threshold τ . In PEOs and KS2, τ is simply determined by the current furthest point in the result list (priority queue) P. However, due to the existence of false positives (FPs) generated by PRT, some points may pass PRT but cannot be added to P, which implies that the exact distance computations w.r.t such points are redundant. On the other hand, the Gaussian distribution established in Theorem 3.1 implies that, with high probability, the actual distances of these FPs to the query q are not much larger than the threshold τ . This observation naturally raises the following question: can we incrementally increase the threshold τ so that the currently generated FPs can be reused in subsequent search process?
|
| 183 |
+
|
| 184 |
+
[p. 6 | section: 3.3. Test Feedback Buffer | type: Text]
|
| 185 |
+
We give an affirmative answer to this question and propose TFB, which consists of four components: the top-K result list RL, the working set W, and two ring buffers R F and R T , where |W| = |R F | = |R T |. The search procedure is divided into multiple rounds. In the j-th round, we operate on W and adopt the standard Best-First Search (BFS) strategy to update its nodes. During the BFS over W, in addition to the nodes stored in W, there are two types of nodes whose exact distances to the query q are computed. The first type consists of nodes ejected from W; these nodes are inserted into R T . The second type consists of false-positive (FP) nodes that pass the PRT but cannot be added to W; these nodes are inserted into R F . After all nodes in W have been visited, we update R L and clear W. We then merge R F and R T and sort the combined list by distance to q. The sorted nodes are first inserted into W until it is full, and the remaining nodes are inserted into R T . Finally, R F is cleared. The ANNS is completed after several such rounds. In the j-th round, let zmax denote the furthest node in W. τ i in Eq. (4) is set to be the threshold on the cosine of the angle between w i − u and v − u required for w i to be admitted into W, i.e.,
|
| 186 |
+
|
| 187 |
+
[p. 6 | section: 3.3. Test Feedback Buffer | type: Equation]
|
| 188 |
+
\tau_i = \frac{\|u - w_i\|^2 + \|u - v\|^2 - \|z_{\max} - v\|^2}{2\|v - u\|\|w_i - u\|}. (5)
|
| 189 |
+
|
| 190 |
+
[p. 6 | section: 3.3. Test Feedback Buffer | type: Text]
|
| 191 |
+
PRT-TFB Test. We call the combination of Eq. (4) and Eq. (5) the PRT-TFB test. Compared with existing routing test methods such as PEOs and KS2, which operate on the whole priority queue P, the PRT-TFB test has the following two advantages. (1) For large efC or large efS—which denotes the result list size, same as the notation in HNSW—the size of W is much smaller than that of P, and the movement of elements in W is much faster than that in P. (2) Each FP has a good chance of being selected as the visited node in the future rounds only if it remains in either of two rings, ensuring that its exact distance to q can be utilized at a certain time point.
|
| 192 |
+
|
| 193 |
+
[p. 6 | section: 3.4. Probabilistic Edge Selection | type: Text]
|
| 194 |
+
In RobustPrune, ∥w i − v∥ needs to be smaller than ∥v − u∥ to allow u to be retained. Let δ i := ∥w i − u∥/(2∥v − u∥) denote the threshold on the cosine of the angle between w i − u and v − u, such that ∥w i − v∥ < ∥v − u∥. Then, the PES function is designed as follows.
|
| 195 |
+
|
| 196 |
+
[p. 6 | section: 3.4. Probabilistic Edge Selection | type: Equation]
|
| 197 |
+
PES(\boldsymbol{u}, \boldsymbol{v}) = \max_{1 \le i \le t} \left( \frac{\cos \theta_i}{\cos \beta_i} - \delta_i \right). (6)
|
| 198 |
+
|
| 199 |
+
[p. 6 | section: 3.4. Probabilistic Edge Selection | type: Text]
|
| 200 |
+
By Theorem 3.1, we can see that the PES function in Eq. (6) satisfies the probabilistic properties in Problem 2.2. In practice, if the value in Eq. (6) is negative, we say that (u, v) is rejected by PES, and this edge will be regarded as a promising candidate for further examination of RobustPrune.
|
| 201 |
+
|
| 202 |
+
[p. 6 | section: 3.4. Probabilistic Edge Selection | type: Text]
|
| 203 |
+
PRT-PES Collaboration. From their definitions, the difference between the two thresholds, that is, τ i − δ i , is a value independent of v − w and can be pre-computed. Thus, we can conduct the PES test based on the test results of the PRT, leading to an O(1) time complexity, which confirms the objective O(|Nout(u)|) stated in Problem 2.2.
|
| 204 |
+
|
| 205 |
+
[p. 6 | section: 3.4. Probabilistic Edge Selection | type: Text]
|
| 206 |
+
PES Set. For every u whose PES value is negative, we do not check uv⃗ by RobustPrune immediately. Instead, we add uv⃗ into a so-called PES set for later examination (see Fig. 1) .
|
| 207 |
+
|
| 208 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 209 |
+
Indexing Phase. PAG inserts every v ∈ D sequentially into the graph. For each v, the process can be divided into the following three steps.
|
| 210 |
+
|
| 211 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 212 |
+
Step 1. PAG performs ANNS equipped with the PRT-TFB test to obtain the elements stored in RL, and then uses RobustPrune to determine Nout(v) and Nin(v).
|
| 213 |
+
|
| 214 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 215 |
+
Step 2. Let Cand(v) denote the set of all nodes visited during ANNS. PAG uses PRT-PES to select additional in-neighbors from Cand(v), thereby supplementing the PES set.
|
| 216 |
+
|
| 217 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 218 |
+
Based on our preceding discussion, PRT-TFB ensures the efficiency of ANNS, while PRT-PES detects more promising edges. We finally select more edges from the PES set.
|
| 219 |
+
|
| 220 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 221 |
+
Step 3. For each candidate edge in the PES set, we apply RobustPrune to determine if it can be added to the graph.
|
| 222 |
+
|
| 223 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 224 |
+
Searching Phase. The query processing with PAG is exactly the PRT-TFB-based ANNS for a query q.
|
| 225 |
+
|
| 226 |
+
[p. 6 | section: 4.1. Implementation | type: Text]
|
| 227 |
+
Online Insertion. Like HNSW, PAG naturally supports online insertion. The PES set is checked only after enough new nodes have been inserted into the graph.
|
| 228 |
+
|
| 229 |
+
[p. 7 | section: 4.2. Algorithm Pseudo-Codes of PAG | type: Text]
|
| 230 |
+
The pseudo-codes of the PAG algorithms are presented in Algs. 1 and 2, which represent the indexing and searching, respectively. Note that indexing is essentially the sequential insertion of all nodes. Similar to Lu et al. (2024) , we store the computed projections in a projection table for lookup (Line 8, Alg. 1 and Line 4, Alg. 2) .
|
| 231 |
+
|
| 232 |
+
[p. 7 | section: 4.2. Algorithm Pseudo-Codes of PAG | type: Text]
|
| 233 |
+
24 Add the projection information of new edges to I; 25 Apply RobustPrune to the PES set, supplement Nin(v)'s, and add the projection information of new edges to I;
|
| 234 |
+
|
| 235 |
+
[p. 7 | section: 4.3. Complexity Analysis | type: Text]
|
| 236 |
+
Time complexity. Searching with HNSW is in O(n ′d)-time, where n ′ is the number of visited nodes during the search. Although a rigorous analysis of n ′ remains an open problem, n ′ can be roughly estimated as O(M log n), where 2M is the
|
| 237 |
+
|
| 238 |
+
[p. 7 | section: Algorithm 2: Search with PAG | type: Code]
|
| 239 |
+
Input: G(D, E, I) is the constructed similarity graph; F is the random-projection structure; efS is the result list size; q is the query; K is the retrieval size Output: Top-K ANN nodes 1 The capacity of RL is set to K; 2 b = max{10, K}; 3 Maximum round Rmax is set to efS/b; 4 Compute all ⟨ql, rjl⟩'s and build a projection table; 5 Insert b elements to W and compute their distance to q; 6 for r = 1 to Rmax do 7 foreach unvisited u ∈ W do 8 foreach w in Nout(u) do 9 if w passes PRT-TFB test then 10 Compute the distance between q and w; 11 if ∥w − q∥ < ∥zmax − q∥ then 12 Update W and insert zmax to RT ; 13 else 14 Insert w to RF ; 15 Update the nodes in W to RL, and empty W; 16 Sort and merge RF and RT , and empty RF and RT ; 17 Refill W until it is full using the sorted elements, and refill RT with the remaining sorted nodes; 18 Return the top-K nodes in RL;
|
| 240 |
+
|
| 241 |
+
[p. 7 | section: Algorithm 2: Search with PAG | type: Text]
|
| 242 |
+
maximum out-degree. In contrast, the complexity of PAG is O(n ′L+γn′d), whereL ≪ d is the user-specified parameter and γ ≤ 0.5 denotes the ratio of nodes that passed the PRT-PES test relative to the total number of candidates checked. γ is small in practice (generally < 0.2), and is smaller than the ratio in PEOs and KS2, because TFB ensures that the threshold increases incrementally rather than being set to the furthest distance w.r.t. a full priority queue.
|
| 243 |
+
|
| 244 |
+
[p. 7 | section: Algorithm 2: Search with PAG | type: Text]
|
| 245 |
+
As for indexing, due to the search-and-insertion paradigm, we focus on the insertion of v, for which the complexity is O(n ′L + γn′d + M2d + M dm). Here, O(M2d) is the complexity of node connection, and O(M dm) is used to compute projection information, both of which are much smaller than the ANNS part due to their independence of n ′ .
|
| 246 |
+
|
| 247 |
+
[p. 7 | section: Algorithm 2: Search with PAG | type: Text]
|
| 248 |
+
Space complexity. The space complexity of searching with PAG is O(nd + nM + nML), where O(nd) corresponds to the original dataset, O(nM) corresponds to the edge set and O(nML) corresponds to the inference structure. In the indexing phase, since we adopt in-place search for insertion, we only require an additional space of at most O(Mn) to store the edges in PES set. To further reduce the memory footprint, we can follow LVQ (Aguerrebere et al., 2023) and represent floats with 2 bytes.
|
| 249 |
+
|
| 250 |
+
[p. 7 | section: 4.4. Parameter Analysis of PAG | type: Text]
|
| 251 |
+
We analyze the settings of the parameters in PAG.
|
| 252 |
+
|
| 253 |
+
[p. 7 | section: 4.4. Parameter Analysis of PAG | type: Text]
|
| 254 |
+
(1) m: The value of m is fixed to 16, so that each projection vector in a subspace is represented by 4 bits, which is com-
|
| 255 |
+
|
| 256 |
+
[p. 8 | section: 4.4. Parameter Analysis of PAG | type: Text]
|
| 257 |
+
Table 2. Dataset statistics.
|
| 258 |
+
|
| 259 |
+
[p. 8 | section: 4.4. Parameter Analysis of PAG | type: Text]
|
| 260 |
+
Name/Source Dataset Size Query Size Dim. OOD Type Embedding Model Distance Measure Modern Datasets DBpedia1536 999,000 1,000 1,536 No Text text-embedding-3-large (OpenAI, 2024) Euclidean DBpedia3072 999,000 1,000 3,072 No Text text-embedding-3-large (OpenAI, 2024) Euclidean WoltFood 1,719,611 1,000 512 No Image clip-ViT-B-32 (Radford et al., 2021) Euclidean DataCompDr 12,779,520 1,000 1,536 Yes Text-to-Image coca ViT-L-14 (Yu et al., 2022) Euclidean AmazonBooks 15,928,208 1,000 384 No Text all-MiniLM-L12-v2 (Wang et al., 2020) Euclidean MajorTOM 56,506,400 10,000 1,024 No Image DINOv2 (Oquab et al., 2024) Euclidean Legacy Datasets Word2Vec 1,000,000 1,000 300 No Text Word2Vec (Mikolov et al., 2013) Euclidean GIST 1,000,000 1,000 960 No Image GIST (Oliva & Torralba, 2001) Euclidean GloVe 1,193,514 1,000 200 No Text GloVe (Pennington et al., 2014) Euclidean ImageNet 2,340,373 200 150 No Image dense SIFT (Lazebnik et al., 2006) Euclidean SIFT10M 10,000,000 1,000 128 No Image SIFT (Lowe, 2004) Cosine DEEP100M 100,000,000 1,000 96 No Image GoogLeNet (Szegedy et al., 2015) Cosine
|
| 261 |
+
|
| 262 |
+
[p. 8 | section: 4.4. Parameter Analysis of PAG | type: Text]
|
| 263 |
+
patible with the AVX512 instruction set. The choice of 4 bits follows NGT-QG (Yahoo! Japan, 2023) .
|
| 264 |
+
|
| 265 |
+
[p. 8 | section: 4.4. Parameter Analysis of PAG | type: ListGroup]
|
| 266 |
+
(2) L: L is recommended to be in [8, d/8], where 8 is compatible with AVX512 because at most 8 levels can be accessed at a time, while d/L = 8 is a safe ratio that ensures the accuracy of the multi-level projection structure, as explained in PEOs (Lu et al., 2024) . Based on the analysis in Sec. 4.3, L is used to tune the trade-off between efficiency and accuracy. (3) M: Similar to its usage in HNSW, 2M is the maximum out-degree of PAG. Based on the analysis in Sec. 4.3, M is recommended to be 64 when space cost permits. In practice, M is generally chosen from {16, 32, 64}. (4) |W|: The size of W is set to max{10, K}. Under this setting, when K ≥ 10, W is aligned with the result list, which enables refilling to be easily executed. (5) efC: efC determines how many nodes are visited in W and plays a role similar to efC in HNSW. It is used to control the trade-off between indexing time and search performance. For fast indexing, efC is recommended to be in [100, 200]. For high graph quality, efC is recommended to be in [1000, 10000]. Notably, thanks to TFB, PAG with a very large efC can be built much faster than HNSW with the same efC.
|
| 267 |
+
|
| 268 |
+
[p. 8 | section: 5. Experiments | type: Text]
|
| 269 |
+
We report main results here. Detailed setup and more results are available in Appendices D and E, respectively.
|
| 270 |
+
|
| 271 |
+
[p. 8 | section: 5.1. Experimental Setup | type: Text]
|
| 272 |
+
Data Statistics. In the main experiments, we evaluate PAG on eight datasets: DBpedia1536 (Qdrant, 2024a) (a.k.a., OpenAI-1536), DBpedia3072 (Qdrant, 2024b) (a.k.a., OpenAI-3072), WoltFood (Qdrant, 2024c) , AmazonBooks (Kang et al., 2024) , DataCompDr (Apple, 2025) ,
|
| 273 |
+
|
| 274 |
+
[p. 8 | section: 5.1. Experimental Setup | type: Text]
|
| 275 |
+
MajorTOM (Major TOM, 2024) , GloVe (Pennington et al., 2014) , and DEEP100M (Simhadri et al., 2021) . The first six are modern text, image, and multimodal (text-to-image) datasets generated by recent embedding models. The latter two are widely-used legacy datasets (downloaded from The Similarity Search Team, CUHK (2018) ). In addition, we report the experimental results on other legacy datasets (Word2Vec, GIST, ImageNet, and SIFT10M) in Appendix E.3. Dataset statistics are reported in Table 2. The queries of DataCompDr are out-of-distribution (OOD). Fig. 11 in Appendix D plots the data and query distributions of this dataset.
|
| 276 |
+
|
| 277 |
+
[p. 8 | section: 5.1. Experimental Setup | type: Text]
|
| 278 |
+
Baselines. Baselines include HNSW (Malkov & Yashunin, 2020) , Vamana (Subramanya et al., 2019) , SymQG (Gou et al., 2025) , ScaNN (Guo et al., 2020a) , IVFPQFS (Jegou ´ et al., 2011) , and RaBitQ+ (Gao et al., 2025) . We design two variants of PAG by tuning its parameters, as shown in Table 4 in Appendix D: (1) PAG-Base, for higher search performance, and (2) PAG-Lite, for faster indexing and smaller memory footprint.
|
| 279 |
+
|
| 280 |
+
[p. 8 | section: 5.2. Experimental Results | type: Text]
|
| 281 |
+
We set the default retrieval size K = 100.
|
| 282 |
+
|
| 283 |
+
[p. 8 | section: 5.2. Experimental Results | type: ListGroup]
|
| 284 |
+
D1. QPS-Recall. Fig. 3 plots the QPS-recall performance. PAG-Base performs the best on all the modern datasets except for high recall settings on WoltFood. Its speedup over HNSW can be up to 5 times. For legacy datasets, PAG-Base is the best on GloVe and only second to SymQG on DEEP100M. PAG-Lite also delivers competitive search performance and is the runner-up on DBpedia1536, DBpedia3072, and MajorTOM. D2. Indexing Time. Fig. 4 (left) shows the indexing time. Under the same or larger efC, PAG-Base requires only 20–40% of the indexing time of HNSW, and is faster than SymQG in most cases. PAG-Lite achieves an indexing time comparable to quantization-based methods, which is further reduced
|
| 285 |
+
|
| 286 |
+
[p. 9 | section: 5.2. Experimental Results | type: FigureGroup]
|
| 287 |
+
Figure 3. QPS-recall, K = 100. SymQG runs out of memory on MajorTOM. Recall is plotted in logarithmic scale to highlight large values.
|
| 288 |
+
|
| 289 |
+
[p. 9 | section: 5.2. Experimental Results | type: FigureGroup]
|
| 290 |
+
Figure 4. Indexing time and peak memory usage. SymQG runs out of memory on MajorTOM.
|
| 291 |
+
|
| 292 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 293 |
+
to 0.5 \times on high-dimensional datasets, where it attains the lowest indexing time.
|
| 294 |
+
|
| 295 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 296 |
+
D3. Memory Footprint. Fig. 4 shows the memory usage in indexing (middle) and searching (right) phases. PAG-Base uses more memory than HNSW on lower-dimensional datasets, but the difference is negligible on higher-dimensional datasets. PAG-Base consistently uses much less memory than SymQG. PAG-Lite achieves the smallest memory footprint in 4 out of 8 cases for both indexing and searching.
|
| 297 |
+
|
| 298 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 299 |
+
D4. High-dimensional Scalability. The competitiveness of PAG-Base and PAG-Lite over d \in [96,3072] , as shown in Figs. 3 and 4, is consistent, showcasing its insensitivity to dimensionality. In addition, the advantage of PAG in QPS-recall becomes more pronounced on high-dimensional datasets. In contrast, SymQG reports very low recall on high-dimensional datasets DBpedia1536, DBpedia3072, and DataCompDr, where d \in \{1536,3072\} .
|
| 300 |
+
|
| 301 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 302 |
+
\underline{D5.\ Retrieval\ Size\ Robustness} . Besides the QPS-recall for K=100 in Fig. 3, we report the results for K=10 in Fig. 16 and K=1000 in Fig. 18. PAG methods are highly
|
| 303 |
+
|
| 304 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 305 |
+
competitive across the three K values. When K=10, PAG-Base achieves comparable performance and even outperforms SymQG in the high-recall ( \geq 95\% ) region on all datasets except DEEP100M. When K=1000, PAG-Base remains the best, while the performance of SymQG degrades significantly. To highlight the performance comparison, we also plot in Fig. 7 the QPS-recall by varying K from 200 to 800. It can be seen that the gap between PAG-Base and SymQG grows when K moves towards larger values. This observation showcases the robustness of PAG in various applications that differ in retrieval size.
|
| 306 |
+
|
| 307 |
+
[p. 9 | section: 5.2. Experimental Results | type: Text]
|
| 308 |
+
D6. Online Insertion Support. To evaluate the query processing performance with online insertions, we consider the following workload. We randomly sample from the corpus 10,000 vectors as insertion queries and another 10,000 vectors as search queries. The 20,000 vectors are divided into 20 batches, each with 1,000 vectors. The insertion batches and the search batches are interleaved as a workload, with insertion as the first batch. The rest of the corpus is used to build the initial index. Note that DataCompDr is not OOD in this setting because its original query set (in Table 2) is
|
| 309 |
+
|
| 310 |
+
[p. 10 | section: 5.2. Experimental Results | type: FigureGroup]
|
| 311 |
+
Figure 6. QPS-recall, K = 1000.
|
| 312 |
+
|
| 313 |
+
[p. 10 | section: 5.2. Experimental Results | type: Text]
|
| 314 |
+
not used. To make the processing times of insertion queries and search queries on the same scale, we set efS = efC and tune these two parameters to control the recall. Fig. 8 compares PAG-Base and HNSW, plotting their QPS-recall performances of insertion and search. Insertion queries are slightly slower to process than search queries for both methods. PAG-Base are much faster than HNSW in both insertion and search speeds, and PAG-Base's insertion is even faster than HNSW's search. Similar to PAG-Base's advantage in search, its speedup over HNSW in insertion can be up to 5 times, demonstrating its efficiency in processing online insertions.
|
| 315 |
+
|
| 316 |
+
[p. 10 | section: 5.2. Experimental Results | type: Text]
|
| 317 |
+
Ablation Study. We choose four datasets, DBpedia3072, WoltFood, AmazonBooks, and DataCompDr, for ablation study. Among the six modern datasets, they cover the lowest and highest dimensionality, text and images, as well as OOD. Figs. 9 and 10 show the effectiveness of PAG's components. We observe that TFB consistently reduces indexing time and improves search performance. PES further enhances search performance with negligible additional indexing time. The additional memory usage introduced by TFB and PES is very minor and thus not shown here, because TFB does not affect
|
| 318 |
+
|
| 319 |
+
[p. 10 | section: 5.2. Experimental Results | type: Text]
|
| 320 |
+
the index size and PES barely increases the number of edges.
|
| 321 |
+
|
| 322 |
+
[p. 10 | section: 6. Conclusion | type: Text]
|
| 323 |
+
In this paper, we motivated six critical demands of modern AI applications for ANNS, covering search performance, indexing speed, memory footprint, scalability to dimensionality, robustness against retrieval size, and support of online insertion. To meet these demands, we proposed PAG as a new framework for ANNS. PAG reduces unnecessary distance computations by employing the comparison of exact and approximate distances. The components of PAG are derived from a unified statistical relationship, making its mechanism theoretically explainable. Experiments on modern datasets showcased the superiority of PAG over widely-used ANNS methods as well as state-of-the art solutions, and confirmed the effectiveness of PAG's components.
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/paper.blocks.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/paper.md
ADDED
|
@@ -0,0 +1,1267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
{0}------------------------------------------------
|
| 4 |
+
|
| 5 |
+
051
|
| 6 |
+
|
| 7 |
+
054
|
| 8 |
+
|
| 9 |
+
000 001
|
| 10 |
+
|
| 11 |
+
# Approximate Nearest Neighbor Search for Modern AI: A Projection-Augmented Graph Approach
|
| 12 |
+
|
| 13 |
+
## Anonymous Authors<sup>1</sup>
|
| 14 |
+
|
| 15 |
+
## Abstract
|
| 16 |
+
|
| 17 |
+
Approximate Nearest Neighbor Search (ANNS) is fundamental to modern AI applications. Most existing solutions optimize query efficiency but fail to align with the practical requirements of modern workloads. In this paper, we outline six critical demands of modern AI applications: high query efficiency, fast indexing, low memory footprint, scalability to high dimensionality, robustness across varying retrieval sizes, and support for online insertions. To satisfy all these demands, we introduce Projection-Augmented Graph (PAG), a new ANNS framework that integrates projection techniques into a graph index. PAG reduces unnecessary exact distance computations through asymmetric comparisons between exact and approximate distances as guided by projection-based statistical tests. Three key components are designed and unified to the graph index to optimize indexing and searching. Experiments on six modern datasets demonstrate that PAG consistently achieves superior query per second (QPS) recall performance—up to 5×faster than HNSW while offering fast indexing speed and moderate memory footprint. PAG remains robust as dimensionality and retrieval size increase and naturally supports online insertions. Our source code is available at: [https://github.com/](https://github.com/KejingLu-810/PAG/) [KejingLu-810/PAG/](https://github.com/KejingLu-810/PAG/) .
|
| 18 |
+
|
| 19 |
+
## 1. Introduction
|
| 20 |
+
|
| 21 |
+
Given a dataset D ⊂ R <sup>d</sup> with size n and a query q ∈ R d , Approximate Nearest Neighbor Search (ANNS) aims to find K approximate nearest neighbors of q as accurately and efficiently as possible. Due to its crucial role in many applications such as image search, recommender systems, and
|
| 22 |
+
|
| 23 |
+
Preliminary work. Under review by the International Conference on Machine Learning (ICML). Do not distribute.
|
| 24 |
+
|
| 25 |
+
retrieval-augmented-generation (RAG), we have witnessed the rapid proliferation of ANNS solvers. Whereas the ANN-Benchmarks [\(Bernhardsson et al.,](#page-11-0) [2015\)](#page-11-0) has been developed to compare these methods in a unified environment, many datasets in the ANN-Benchmarks, as pointed out by [Chen](#page-11-1) [et al.](#page-11-1) [\(2025\)](#page-11-1), are derived from outdated models such as SIFT and GIST, which are image descriptors developed more than 20 years ago [\(Lowe,](#page-12-0) [2004;](#page-12-0) [Oliva & Torralba,](#page-12-1) [2001\)](#page-12-1). In addition, its evaluation metric is limited to query per second (QPS)-recall under K = 10.
|
| 26 |
+
|
| 27 |
+
Seeing the fast development of AI technology, we argue that a well-designed ANNS solver should perform well on modern datasets, and beyond (D1) QPS-recall performance, several demands must also be considered: (D2) indexing time, for which graph indexes such as HNSW [\(Malkov & Yashunin,](#page-12-2) [2020\)](#page-12-2) are often criticized [\(Lin,](#page-12-3) [2025;](#page-12-3) [Li & Papakonstantinou,](#page-12-4) [2025\)](#page-12-4), compromising their use in applications that require instant deployment; (D3) memory footprint, where moderate and adjustable consumption, mostly caused by the index size, is desired for the memory vs accuracy trade-off [\(Cheng](#page-11-2) [et al.,](#page-11-2) [2024;](#page-11-2) [Wallace,](#page-13-0) [2025\)](#page-13-0); (D4) scalability to high dimensionality, as motivated by the increasing dimensionality of modern embedding models such as CLIP [\(Radford et al.,](#page-12-5) [2021\)](#page-12-5) [1](#page-0-0) ; (D5) robustness against the retrieval size K, due to the needs in various applications (e.g., K is typically 10 for RAG [\(Fensore et al.,](#page-11-3) [2025;](#page-11-3) [Ke et al.,](#page-11-4) [2025\)](#page-11-4) but can be up to hundreds in image retrieval [\(Vendrow et al.,](#page-13-1) [2024\)](#page-13-1) and thousands in recommender systems [\(Zhang et al.,](#page-13-2) [2025\)](#page-13-2)); (D6) support of online insertions, which is essential for emergent applications such as self-evolving agents that continually accumulate and reuse experience through interaction [\(Ouyang](#page-12-6) [et al.,](#page-12-6) [2025;](#page-12-6) [Zhai et al.,](#page-13-3) [2025;](#page-13-3) [Zhang et al.,](#page-13-4) [2026\)](#page-13-4).
|
| 28 |
+
|
| 29 |
+
## <span id="page-0-1"></span>1.1. Prior Works
|
| 30 |
+
|
| 31 |
+
We review representative ANNS solvers based on D1 – D6. More discussions on literature can be found in Appendix [C.](#page-15-0)
|
| 32 |
+
|
| 33 |
+
<sup>1</sup>Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country. Correspondence to: Anonymous Author <anon.email@domain.com>.
|
| 34 |
+
|
| 35 |
+
<span id="page-0-0"></span><sup>1</sup>Despite the availability of dimensionality reduction techniques, [Weller et al.](#page-13-5) [\(2025\)](#page-13-5) proved that for embedding-based retrieval with dimensionality d, there exists a dataset size n (e.g., n ≈ 4M for d = 1024) beyond which it is theoretically impossible to represent all possible top-2 document combinations, showcasing the necessity for higher dimensionality on large datasets.
|
| 36 |
+
|
| 37 |
+
{1}------------------------------------------------
|
| 38 |
+
|
| 39 |
+
056
|
| 40 |
+
|
| 41 |
+
057
|
| 42 |
+
|
| 43 |
+
058
|
| 44 |
+
|
| 45 |
+
068
|
| 46 |
+
|
| 47 |
+
069
|
| 48 |
+
|
| 49 |
+
071
|
| 50 |
+
|
| 51 |
+
072
|
| 52 |
+
|
| 53 |
+
073
|
| 54 |
+
|
| 55 |
+
074
|
| 56 |
+
|
| 57 |
+
075
|
| 58 |
+
|
| 59 |
+
076
|
| 60 |
+
|
| 61 |
+
077 078
|
| 62 |
+
|
| 63 |
+
079
|
| 64 |
+
|
| 65 |
+
081
|
| 66 |
+
|
| 67 |
+
082
|
| 68 |
+
|
| 69 |
+
083
|
| 70 |
+
|
| 71 |
+
084
|
| 72 |
+
|
| 73 |
+
085
|
| 74 |
+
|
| 75 |
+
086
|
| 76 |
+
|
| 77 |
+
087
|
| 78 |
+
|
| 79 |
+
088
|
| 80 |
+
|
| 81 |
+
089
|
| 82 |
+
|
| 83 |
+
090
|
| 84 |
+
|
| 85 |
+
091
|
| 86 |
+
|
| 87 |
+
092
|
| 88 |
+
|
| 89 |
+
093
|
| 90 |
+
|
| 91 |
+
094
|
| 92 |
+
|
| 93 |
+
095
|
| 94 |
+
|
| 95 |
+
096
|
| 96 |
+
|
| 97 |
+
097
|
| 98 |
+
|
| 99 |
+
098
|
| 100 |
+
|
| 101 |
+
099
|
| 102 |
+
|
| 103 |
+
100
|
| 104 |
+
|
| 105 |
+
102
|
| 106 |
+
|
| 107 |
+
103
|
| 108 |
+
|
| 109 |
+
104
|
| 110 |
+
|
| 111 |
+
105
|
| 112 |
+
|
| 113 |
+
106
|
| 114 |
+
|
| 115 |
+
107
|
| 116 |
+
|
| 117 |
+
108
|
| 118 |
+
|
| 119 |
+
109
|
| 120 |
+
|
| 121 |
+
<span id="page-1-0"></span>Table 1. Summary of empirical performance comparison of notable ANNS solvers, HNSW (Malkov & Yashunin, 2020), Vamana (in-memory DiskANN (Subramanya et al., 2019)), IVFPQFS (fast scan IVFPQ (Jégou et al., 2011)), ScaNN (Guo et al., 2020a), RaBitQ+ (Gao et al., 2025), SymQG (Gou et al., 2025), HNSW+KS2 (Lu et al., 2025), and our solutions PAG-Base (for high QPS) and PAG-Lite (for fast indexing and small index size). Detailed results are available in Sec. 5.2. The evaluation of D1 – D3 is clustered into tiers, where Tier-4 is the best. D4 – D6 are evaluated in yes/no (√/X).
|
| 122 |
+
|
| 123 |
+
| | Graph-Based | | Quantization-Based | | | QG | PG | PA | ıG |
|
| 124 |
+
|--------------------------------------------------|-------------|--------|----------------------|--------------------|--------------|--------|----------|----------|----------|
|
| 125 |
+
| Criteria | HNSW | Vamana | IVFPQFS <sup>1</sup> | ScaNN <sup>1</sup> | RaBitQ+ | SymQG | HNSW+KS2 | PAG-Base | PAG-Lite |
|
| 126 |
+
| D1. QPS-recall | Tier-2 | Tier-2 | Tier-1 | Tier-1 | Tier-1 | Tier-3 | Tier-3 | Tier-4 | Tier-3 |
|
| 127 |
+
| <b>D2.</b> Indexing time | Tier-1 | Tier-1 | Tier-3 | Tier-3 | Tier-3 | Tier-2 | Tier-1 | Tier-2 | Tier-4 |
|
| 128 |
+
| <b>D3.</b> Memory footprint <sup>2</sup> | Tier-3 | Tier-3 | Tier-4 | Tier-4 | Tier-4 | Tier-1 | Tier-2 | Tier-3 | Tier-4 |
|
| 129 |
+
| <b>D4.</b> High-dim. scalability | ✓ | ✓ | ✓ | ✓ | ✓ | X | ✓ | ✓ | ✓ |
|
| 130 |
+
| <b>D5.</b> Retrieval size robustness | ✓ | ✓ | ✓ | ✓ | ✓ | Х | ✓ | ✓ | ✓ |
|
| 131 |
+
| <b>D6.</b> Online insertion support <sup>3</sup> | ✓ | ✓ | ✓ | ✓ | $\checkmark$ | X | × | ✓ | ✓ |
|
| 132 |
+
|
| 133 |
+
Reranking is enabled for IVFPOFS and ScaNN.
|
| 134 |
+
|
| 135 |
+
Graph-Based Methods. These methods construct a similarity graph connecting nearby vectors and hop towards the neighborhood of q. Notable methods are HNSW (Malkov & Yashunin, 2020), NSG (Fu et al., 2019), and DiskANN (Subramanya et al., 2019). They are generally competitive in QPS-recall but slow in building indexes.
|
| 136 |
+
|
| 137 |
+
Quantization-Based Methods. These methods compress vectors and rank them using approximate (i.e., quantized) distances to q in pursuit of efficiency. Representative methods are IVFPQ (Jégou et al., 2011) and ScaNN (Guo et al., 2020a). They are fast in building indexes and save memory, but their QPS-recall is generally inferior to graph-based methods.
|
| 138 |
+
|
| 139 |
+
Projection-Based Methods. These methods use random (e.g., E2LSH (Andoni & Indyk, 2005), Falconn (Andoni et al., 2015), and CEOs (Pham, 2021)) or data-dependent (e.g., learning to hash (Wang et al., 2018)) projections of the original vectors for indexing. Although many of them enjoy theoretical guarantees, they are less competitive than graphand quantization-based methods in QPS-recall performance, hence becoming less popular in modern top-K ANNS.
|
| 140 |
+
|
| 141 |
+
<u>Tree-Based Methods.</u> They utilize tree indexes. table methods include k-d tree (Bentley, 1990), cover tree (Beygelzimer et al., 2006), and Annoy (Bernhardsson, 2013). Like projection-based methods, they are less widely used for modern ANNS due to limited QPS-recall performance.
|
| 142 |
+
|
| 143 |
+
As discussed above, graph-based methods are good at QPSrecall. But they compute exact distances between vectors, which is computationally costly. To address this weakness, recent advancements attempt to integrate other techniques, in particular, quantization or projection, into graphs.
|
| 144 |
+
|
| 145 |
+
Quantized Graph (QG) Methods. They construct a similarity graph based on quantized vectors instead of the original ones, thereby replacing exact distances with approximate values. Representative methods are NGT-QG (Yahoo! Japan, 2023), LVQ (Aguerrebere et al., 2023), and SymphonyQG (Gou et al., 2025). QG methods can achieve very high QPS-recall performance, yet they are sensitive to the data distribution and many of them do not perform very well in D3 - D6.
|
| 146 |
+
|
| 147 |
+
*Projection* + *Graph* (*PG*) *Methods*. Unlike QG, they operate on original vectors and reduce unnecessary exact distance computations. To this end, they employ projection techniques to test whether a neighbor needs to be explored (called routing tests). Representative methods are FINGER (Chen et al., 2023), PEOs (Lu et al., 2024), and KS2 (Lu et al., 2025). Despite QPS-recall improvement on top of graph-based methods, such improvement comes at the cost of indexing time, memory footprint, and support for online insertions.
|
| 148 |
+
|
| 149 |
+
Table 1 compares notable methods implemented in leading vector databases and recent ones representing state of the art.
|
| 150 |
+
|
| 151 |
+
#### 1.2. Our Solution
|
| 152 |
+
|
| 153 |
+
We propose a new ANNS framework, Projection-Augmented Graph (PAG), which integrates projection into a similarity graph and achieves superior performance for all the six criteria. Unlike PG methods, PAG treats projection as a fundamental building block of graph construction rather than as a plug-in. The rationale of PAG is to accommodate both exact and approximate distances within a *unified* framework, addressing two key issues: (1) when distances shall be computed exactly and when they shall be approximated, and (2) how exact and approximate distances are compared during indexing and searching to enhance the performance.
|
| 154 |
+
|
| 155 |
+
PAG significantly reduces the computational cost of searching (D1) and indexing (D2) by carefully determining whether exact distance computation is needed. Such procedure relies on asymmetric comparisons between exact and approximate distance values obtained from space-efficient and adjustable random-projection structures (D3), as opposed to symmetric comparisons in QG. Moreover, the asymmetric distance
|
| 156 |
+
|
| 157 |
+
Memory footprint for searching, rather than indexing, is compared.
|
| 158 |
+
|
| 159 |
+
<sup>&</sup>lt;sup>3</sup> For any streaming workload Q composed of search and insertion queries, we say an algorithm supports online insertion, if the amortized cost of processing a query in Q is O(1) times the cost of a search. In other words, the index can be incrementally updated with minimal cost. See Sec. 4.3 for the analysis of PAG.
|
| 160 |
+
|
| 161 |
+
{2}------------------------------------------------
|
| 162 |
+
|
| 163 |
+
comparisons, as guided by random-projection-based statistical tests, only need to tell which value is larger, thereby achieving accuracy while preserving efficiency. Meanwhile, PAG inherits graph-based methods' scalability to high dimensionality (D4) and robustness against retrieval size (D5), and follows the search-and-insertion paradigm (e.g., HNSW) to accommodate online insertions (D6).
|
| 164 |
+
|
| 165 |
+
110 111
|
| 166 |
+
|
| 167 |
+
114
|
| 168 |
+
|
| 169 |
+
124
|
| 170 |
+
|
| 171 |
+
126
|
| 172 |
+
|
| 173 |
+
134
|
| 174 |
+
|
| 175 |
+
136
|
| 176 |
+
|
| 177 |
+
Our technical contributions are summarized as follows.
|
| 178 |
+
|
| 179 |
+
- (1) Following the idea of routing tests in PEOs [\(Lu et al.,](#page-12-10) [2024\)](#page-12-10) and KS2 [\(Lu et al.,](#page-12-8) [2025\)](#page-12-8), we derive a Probabilistic Routing Test (PRT) function (Sec. [3.2\)](#page-4-0). The theoretical result (Theorem [3.1\)](#page-4-1), along with Lemma 4.3 in [Lu et al.](#page-12-8) [\(2025\)](#page-12-8), provides a complete theoretical explanation of PRT. In addition, our work is the first to apply PRT to graph construction.
|
| 180 |
+
- (2) We propose a data structure called Test Feedback Buffer (TFB) (Sec. [3.3\)](#page-5-0), which refines the threshold setting in PRT and enables the reuse of false positives generated by PRT. By incorporating TFB into PRT, we obtain the PRT-TFB test as a core technique for accelerating both indexing and searching.
|
| 181 |
+
- (3) We propose a statistical test called Probabilistic Edge Selection (PES) (Sec. [3.4\)](#page-5-1), which is derived from Theorem [3.1](#page-4-1) and can expand in-degrees when necessary. In collaboration with PRT, PRT-PES can improve the search performance for hard datasets on which traditional graph indexes perform poorly, while incurring very small indexing overhead.
|
| 182 |
+
- (4) PRT, TFB, and PES constitute PAG (Fig. [1\)](#page-3-0). We show how the three components interact within PAG, with implementation details and complexity analysis provided.
|
| 183 |
+
- (5) We conduct experiments on six modern (post-2023) datasets covering text, image, and multimodal data, with dimensionality ranging from 384 to 3072 and retrieval size from 10 to 1000. The results show that PAG achieves the best QPS-recall performance (up to 5× faster than HNSW), and its superiority is particularly evident on datasets with higher dimensionality. PAG remains dominant as K increases. By adjusting parameters, PAG can deliver the fastest indexing speed and lowest memory footprint on most datasets while maintaining competitive QPS-recall. PAG also performs well on the datasets in the ANN-Benchmarks, showcasing its compatibility with data generated by legacy models.
|
| 184 |
+
|
| 185 |
+
## 2. Problem Setting
|
| 186 |
+
|
| 187 |
+
Since PAG adopts a search-and-insertion paradigm, its search process, similar to HNSW, can be seen as a special case of index construction (i.e., no update to the graph), and we can focus on the problems that arise in index construction. Because constructing a similarity graph is essentially determining its edge set, we consider the following question: *Can we design statistical methods that select edges efficiently (i.e., fast indexing) and effectively (i.e., fast searching)?* To answer this question, we first review the existing edge-selection strategy, and then formalize the problems to be solved.
|
| 188 |
+
|
| 189 |
+
#### 2.1. Background of RobustPrune
|
| 190 |
+
|
| 191 |
+
Given a directed graph, let v be a node whose edges are to be determined. To identify its in-neighbor set Nin(v) and out-neighbor set Nout(v), state-of-the-art methods, such as HNSW, NSG and Vamana, employ a strategy known as RobustPrune to decide whether a candidate edge should be preserved. Take the construction of Nin(v) as an example. For a candidate neighbor u of node v, the pruning criterion considers the following set [2](#page-2-0) :
|
| 192 |
+
|
| 193 |
+
$$S_{u,v} = \{ w \in N_{\text{out}}(u) \mid ||w - v|| \le ||v - u|| \}.$$
|
| 194 |
+
(1)
|
| 195 |
+
|
| 196 |
+
In RobustPrune, if there exists w in Su,<sup>v</sup> such that ∥w − u∥ ≤ ∥v − u∥, u is not added to Nin(v); otherwise, Nin(v) is updated as Nin(v)∪{u}. This criterion admits an intuitive interpretation: if ∥w − u∥ ≤ ∥v − u∥ holds for some w, it is likely that one can reach v from u via w along a monotonic search path [\(Fu et al.,](#page-11-9) [2019\)](#page-11-9), implying that the direct edge uv⃗ is redundant. Similarly, Nout(v) can be constructed by RobustPrune with the roles of u and v reversed. In sum, existing graph-based methods determine Nout(v) and Nin(v) sequentially in the following manner.
|
| 197 |
+
|
| 198 |
+
Nout(v)*.* We take v as the query and conduct an ANNS from v to obtain a candidate set, which is stored in a priority queue P. RobustPrune is then applied to P to determine Nout(v).
|
| 199 |
+
|
| 200 |
+
Nin(v)*.* We check every u in Nout(v) and preserve those u's retained by RobustPrune as Nin(v).
|
| 201 |
+
|
| 202 |
+
### 2.2. Towards Fast Graph Construction
|
| 203 |
+
|
| 204 |
+
During graph construction, most of the time is spent on ANNS for the candidate set of Nout(v). Although we can reduce the graph construction parameter (e.g., efC in HNSW) for fast graph construction, the query processing performance degrades accordingly. Thus, we raise the following question.
|
| 205 |
+
|
| 206 |
+
Q1. *How can we accelerate the ANNS for* v *while preserving the query processing performance?*
|
| 207 |
+
|
| 208 |
+
Existing studies PEOs and KS2 have shown that PRT has the potential to be an appropriate answer to Q1. For each visited node u and its out-neighbor w, PRT sends (u, v, w) to a probabilistic test function to see whether they can pass the test, and then determines whether the exact distance between v and w needs to be computed based on the test result. Consequently, PRT avoids unnecessary distance computations, leading to faster search. In KS2 [\(Lu et al.,](#page-12-8) [2025\)](#page-12-8), it is shown that the routing test under ℓ<sup>2</sup> and cosine distances is equivalent to the angle-thresholding problem when vector norms
|
| 209 |
+
|
| 210 |
+
<span id="page-2-0"></span>For Vamana, we assume its pruning ratio α = 1 and omit it in the inequality.
|
| 211 |
+
|
| 212 |
+
{3}------------------------------------------------
|
| 213 |
+
|
| 214 |
+
<span id="page-3-0"></span>
|
| 215 |
+
|
| 216 |
+
Figure 1. An overview of PAG. In this example, $\boldsymbol{u}$ has 7 out-neighbors $\{\boldsymbol{w_i}\}_{i=1}^7$ . Let $\{\boldsymbol{e_i}\}_{i=1}^7$ denote the edges between $\boldsymbol{u}$ and $\{\boldsymbol{w_i}\}_{i=1}^7$ , which are sent to PRT, where the threshold is determined by $\boldsymbol{z_{max}}$ . As a result, only $\boldsymbol{w_3}$ and $\boldsymbol{w_5}$ pass PRT, and their exact distances to $\boldsymbol{v}$ are computed. By distance comparison, node $\boldsymbol{w_5}$ is identified as a false positive, not added to W, and thus sent to $R_F$ . Node $\boldsymbol{w_3}$ is inserted into W, causing $\boldsymbol{z_{max}}$ to be ejected from W and sent to $R_T$ . The two rings $R_F$ and $R_T$ are merged and refilled into W. On the other route, by a left shift, the signs of both $\boldsymbol{w_3}$ and $\boldsymbol{w_5}$ are reversed, and all signs become negative, indicating that $\boldsymbol{u}$ is rejected by the PES test. Consequently, $\boldsymbol{u}\dot{\boldsymbol{v}}$ is treated as a candidate edge and added to the PES set.
|
| 217 |
+
|
| 218 |
+
are stored explicitly. Therefore, PRT can be formulated as follows:
|
| 219 |
+
|
| 220 |
+
<span id="page-3-2"></span>**Problem 2.1.** (**Probabilistic Routing Test**) Given $u, v, w \in \mathbb{S}^{d-1}$ and a threshold $-1 \le \tau \le 1$ , construct a random-projection vector set $\mathcal{F}$ and design a test function w.r.t $\mathcal{F}$ , i.e., PRT : $(u, v, w, \tau) \to RV$ with time complexity o(d), where RV denotes the set of one-dimensional random variables, such that if $\cos(\angle(v-u, w-u)) \ge \tau$ , then $\mathbb{P}[\operatorname{PRT}(u, v, w, \tau) \ge 0] \ge 0.5$ . Otherwise, $\mathbb{P}[\operatorname{PRT}(u, v, w, \tau) < 0] \to 1$ as $|\mathcal{F}| \to \infty$ .
|
| 221 |
+
|
| 222 |
+
Different from the routing test functions used in PEOs and KS2, we take $\tau$ as an explicit input. In this paper, we use another method to determine $\tau$ in order to further improve the efficiency of the routing test.
|
| 223 |
+
|
| 224 |
+
#### 2.3. Towards High Graph Connectivity
|
| 225 |
+
|
| 226 |
+
From the process of determining $N_{\rm in}(\boldsymbol{v})$ , we observe that its candidate set is restricted to $N_{\rm out}(\boldsymbol{v})$ . Recent work (Wang et al., 2025a) shows that $|N_{\rm out}(\boldsymbol{v})|$ may be too small to reliably determine incoming edges, causing some nodes to have very small in-degrees. Such nodes may become unreachable during search, which partly explains why HNSW performs poorly on certain real-world datasets. On the other hand, for each checked node $\boldsymbol{u}$ , the worst-case time complexity of RobustPrune can reach $O(|N_{\rm out}(\boldsymbol{u})|d)$ , implying that a straightforward enlargement of the candidate set for
|
| 227 |
+
|
| 228 |
+
<span id="page-3-1"></span>
|
| 229 |
+
|
| 230 |
+
Figure 2. Illustration of PES (left: the role of PES; right: geometric illustration). Let $\boldsymbol{v}$ be the node to be inserted. The four green nodes are out-neighbors of $\boldsymbol{v}$ . Without PES, we can obtain only a single in-neighbor via RobustPrune. By taking all other visited nodes (the blue ones) into account, we apply PES, followed by RobustPrune. As such, we can identify three additional promising in-neighbors, thereby strengthening the connectivity of the neighborhood of $\boldsymbol{v}$ .
|
| 231 |
+
|
| 232 |
+
determining incoming edges is expensive. Considering this dilemma, we raise the following question.
|
| 233 |
+
|
| 234 |
+
Q2. How can we efficiently detect incoming edges outside $N_{\text{out}}(v)$ that are useful for improving query processing performance but hard to be identified by RobustPrune?
|
| 235 |
+
|
| 236 |
+
{4}------------------------------------------------
|
| 237 |
+
|
| 238 |
+
To answer this question, we formulate a problem as follows.
|
| 239 |
+
|
| 240 |
+
<span id="page-4-2"></span>**Problem 2.2.** (**Probabilistic Edge Selection**) Given $u, v \in \mathbb{S}^{d-1}$ , construct a random-projection-vector set $\mathcal{F}$ and design a probabilistic edge selection function PES: $(u, v) \to RV$ whose time complexity is $O(|N_{\mathrm{out}}(u)|)$ , such that if $S_{u,v}$ is non-empty, then $\mathbb{P}[\mathrm{PES}(u,v) \geq 0] \geq 0.5$ . Otherwise, $\mathbb{P}[\mathrm{PES}(u,v) < 0] \to 1$ as $|\mathcal{F}| \to \infty$ .
|
| 241 |
+
|
| 242 |
+
We emphasize that the PES test is far more than a fast probabilistic implementation of RobustPrune. This is because the PES test can be applied to all visited nodes during the ANNS of $\boldsymbol{v}$ , whose number is typically much larger than $N_{\rm out}(\boldsymbol{v})$ in practice, leading to a better graph index in terms of connectivity (Fig. 2).
|
| 243 |
+
|
| 244 |
+
## 3. Projection-Augmented Graph
|
| 245 |
+
|
| 246 |
+
We show that Problems 2.1 and 2.2 can be solved in a unified framework PAG, which contains three components: Probabilistic Routing Test (PRT), Test Feedback Buffer (TFB), and Probabilistic Edge Selection (PES).
|
| 247 |
+
|
| 248 |
+
### <span id="page-4-4"></span>3.1. Neighborhood Relations via Random Projection
|
| 249 |
+
|
| 250 |
+
We present an asymptotic result that characterizes the relationship between multiple angles in high-dimensional spaces and their corresponding projection values onto a certain projection vector. This result forms the theoretical basis for all the three components. We first describe how to construct the random-projection vector set $\mathcal F$ that appears in Problems 2.1 and 2.2, following an approach similar to that used in KS2 (Lu et al., 2025). Specifically, we divide the original space $\mathbb R^d$ into L subspaces, each of dimension d/L. In each subspace, we generate multiple cross-polytopes and apply an independent rotation to each, producing a total of m normalized vectors on $\mathbb S^{d/L-1}$ . By concatenation, we obtain a total of $m^L$ normalized vectors $\{r_j\}_{j=1}^{m^L}$ , which together form the set $\mathcal F$ . Consider v as the node to be inserted and v as the candidate neighbor to be checked, let $N_{\mathrm{out}}(u) := \{w_i\}_{i=1}^t$ . We define $\{\alpha_i\}_{i=1}^t$ as follows.
|
| 251 |
+
|
| 252 |
+
<span id="page-4-3"></span>
|
| 253 |
+
$$\alpha_i := \arccos \frac{\langle \boldsymbol{w_i} - \boldsymbol{u}, \boldsymbol{v} - \boldsymbol{u} \rangle}{\|\boldsymbol{w_i} - \boldsymbol{u}\| \|\boldsymbol{v} - \boldsymbol{u}\|}, \quad 1 \le i \le t \quad (2)$$
|
| 254 |
+
|
| 255 |
+
Since $\|\boldsymbol{w_i} - \boldsymbol{u}\|$ and $\|\boldsymbol{v} - \boldsymbol{u}\|$ can be pre-computed, we aim to estimate $[\cos \alpha_1, \dots, \cos \alpha_t]^{\top}$ without exact inner product computation in Eq. (2). We will show that this can be realized by $\mathcal{F}$ . For each $\boldsymbol{w_i}$ ( $1 \leq i \leq t$ ), let $\boldsymbol{r_i^*} \in \mathcal{F}$ be the reference vector that has the smallest angle with $\boldsymbol{w_i} - \boldsymbol{u}$ , and denote this smallest angle by $\beta_i$ . We use $\cos \theta_i$ to denote the cosine of the angle between $\boldsymbol{r_i^*}$ and $\boldsymbol{v} - \boldsymbol{u}$ , and subscript l to denote the l-th sub-vector of the original vector in $\mathbb{R}^d$ , $1 \leq l \leq L$ . We introduce the following assumptions for each i:
|
| 256 |
+
|
| 257 |
+
(A1)
|
| 258 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})\| = 1$$
|
| 259 |
+
and $\|(\boldsymbol{v} - \boldsymbol{u})\| = 1$ .
|
| 260 |
+
|
| 261 |
+
(A2)
|
| 262 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})_l\|$$
|
| 263 |
+
and $\|(\boldsymbol{v} - \boldsymbol{u})_l\|$ are equal to $(1 + o(1))/\sqrt{L}$ .
|
| 264 |
+
(A3) $\langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = (\cos \alpha_i)(1 + o(1))/L$ .
|
| 265 |
+
|
| 266 |
+
Here, A1 does not lose generality, and A2 and A3 are mild for large d and L (see the remarks in Appendix B). Under these assumptions, the following theorem shows that $\{\alpha_i\}_{i=1}^t$ can be asymptotically estimated by $\{\beta_i\}_{i=1}^t$ and $\{\theta_i\}_{i=1}^t$ .
|
| 267 |
+
|
| 268 |
+
<span id="page-4-1"></span>**Theorem 3.1.** Under A1–A3, as $L \to \infty$ , $d/L \to \infty$ , and m grows sufficiently fast with respect to d/L, $X = [\cos \theta_1, \dots, \cos \theta_t]^\top$ , conditioned on $\{\alpha_i, \beta_i\}_{i=1}^t$ , is asymptotically Gaussian:
|
| 269 |
+
|
| 270 |
+
$$X \mid \{\alpha_i, \beta_i\}_{i=1}^t \xrightarrow{d} \mathcal{N}(\bar{\mu}, \bar{\Sigma}_{m,L})$$
|
| 271 |
+
(3)
|
| 272 |
+
|
| 273 |
+
where the mean is $\bar{\mu} = [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top$ , and $\bar{\Sigma}_{m,L} = O(\epsilon_m/L)$ with $\epsilon_m \to 0$ as $m \to \infty$ .
|
| 274 |
+
|
| 275 |
+
**Remarks.** (1) Theorem 3.1 establishes a geometric relationship among multiple out-neighbors of $\boldsymbol{u}$ and $\boldsymbol{v}$ , allowing us to estimate the relative location of $\boldsymbol{v}$ w.r.t. $\boldsymbol{u}$ within the neighborhood of $\boldsymbol{u}$ . This relationship is the key to both PRT and PES. (2) In our proof, $m \to \infty$ is used to eliminate noise from off-diagonal entries, while $L \to \infty$ is required for the central limit theorem (CLT). In practice, moderate values of m and L are sufficient. Weak results under finite (m, L) can be found in Lemma 4.3 in the KS2 paper (Lu et al., 2025). (3) $\boldsymbol{X}$ can be computed efficiently by AVX512 on modern CPUs. Vector $[\cos \beta_1, \ldots, \cos \beta_t]^{\top}$ can be pre-computed, meaning that we can obtain an efficient way to estimate all $\cos \alpha_i$ 's simultaneously.
|
| 276 |
+
|
| 277 |
+
#### <span id="page-4-0"></span>3.2. Probabilistic Routing Test
|
| 278 |
+
|
| 279 |
+
Let $\tau_i$ be a threshold w.r.t $w_i$ . Our PRT function is as follows:
|
| 280 |
+
|
| 281 |
+
<span id="page-4-5"></span>
|
| 282 |
+
$$PRT(\boldsymbol{u}, \boldsymbol{v}, \boldsymbol{w_i}, \tau_i) = \frac{\cos \theta_i}{\cos \beta_i} - \tau_i.$$
|
| 283 |
+
(4)
|
| 284 |
+
|
| 285 |
+
For fixed (u, v), if the value of PRT is positive, the corresponding $w_i$ passes the PRT. Based on Theorem 3.1, under asymptotic assumptions, the PRT function satisfies all the required properties in Problem 2.1. Here, we do not specify the setting of $\tau_i$ , which will be postponed to Sec. 3.3.
|
| 286 |
+
|
| 287 |
+
**Remarks.** Following the use of routing test in PEOs and KS2, exact distances are computed only between v and those $w_i$ 's that pass PRT (see Fig. 1). The PRT function has the same structure as the KS2 test function (Lu et al., 2025), except for the setting of the threshold $\tau$ . However, since the PRT and KS2 tests are derived using different principles, their theoretical results are complementary. Theorem 4.3 in the KS2 paper shows that, for every single $w_i$ , even for finite (m, L), if $\cos(\angle(v - u, w_i - u)) \ge \tau_i$ , then $\mathbb{P}[\operatorname{PRT}(u, v, w_i, \tau_i) \ge 0] \ge 0.5$ still holds. Our result, on the other hand, characterizes the concrete asymptotic distribution and reveals the impact of L on the covariance, thereby explaining how L is used to adjust the estimation accuracy.
|
| 288 |
+
|
| 289 |
+
{5}------------------------------------------------
|
| 290 |
+
|
| 291 |
+
## <span id="page-5-0"></span>3.3. Test Feedback Buffer
|
| 292 |
+
|
| 293 |
+
275 276
|
| 294 |
+
|
| 295 |
+
294
|
| 296 |
+
|
| 297 |
+
296
|
| 298 |
+
|
| 299 |
+
314
|
| 300 |
+
|
| 301 |
+
316
|
| 302 |
+
|
| 303 |
+
324
|
| 304 |
+
|
| 305 |
+
326
|
| 306 |
+
|
| 307 |
+
328 329 For the PRT function, a key issue is how to set an appropriate threshold τ . In PEOs and KS2, τ is simply determined by the current furthest point in the result list (priority queue) P. However, due to the existence of false positives (FPs) generated by PRT, some points may pass PRT but cannot be added to P, which implies that the exact distance computations w.r.t such points are redundant. On the other hand, the Gaussian distribution established in Theorem [3.1](#page-4-1) implies that, with high probability, the actual distances of these FPs to the query q are not much larger than the threshold τ . This observation naturally raises the following question: *can we incrementally increase the threshold* τ *so that the currently generated FPs can be reused in subsequent search process?*
|
| 308 |
+
|
| 309 |
+
We give an affirmative answer to this question and propose TFB, which consists of four components: the top-K result list RL, the working set W, and two ring buffers R<sup>F</sup> and R<sup>T</sup> , where |W| = |R<sup>F</sup> | = |R<sup>T</sup> |. The search procedure is divided into multiple rounds. In the j-th round, we operate on W and adopt the standard Best-First Search (BFS) strategy to update its nodes. During the BFS over W, in addition to the nodes stored in W, there are two types of nodes whose exact distances to the query q are computed. The first type consists of nodes ejected from W; these nodes are inserted into R<sup>T</sup> . The second type consists of false-positive (FP) nodes that pass the PRT but cannot be added to W; these nodes are inserted into R<sup>F</sup> . After all nodes in W have been visited, we update R<sup>L</sup> and clear W. We then merge R<sup>F</sup> and R<sup>T</sup> and sort the combined list by distance to q. The sorted nodes are first inserted into W until it is full, and the remaining nodes are inserted into R<sup>T</sup> . Finally, R<sup>F</sup> is cleared. The ANNS is completed after several such rounds. In the j-th round, let zmax denote the furthest node in W. τ<sup>i</sup> in Eq. [\(4\)](#page-4-5) is set to be the threshold on the cosine of the angle between w<sup>i</sup> − u and v − u required for w<sup>i</sup> to be admitted into W, i.e.,
|
| 310 |
+
|
| 311 |
+
<span id="page-5-2"></span>
|
| 312 |
+
$$\tau_i = \frac{\|u - w_i\|^2 + \|u - v\|^2 - \|z_{\max} - v\|^2}{2\|v - u\|\|w_i - u\|}.$$
|
| 313 |
+
(5)
|
| 314 |
+
|
| 315 |
+
*PRT-TFB Test.* We call the combination of Eq. [\(4\)](#page-4-5) and Eq. [\(5\)](#page-5-2) the PRT-TFB test. Compared with existing routing test methods such as PEOs and KS2, which operate on the whole priority queue P, the PRT-TFB test has the following two advantages. (1) For large efC or large efS—which denotes the result list size, same as the notation in HNSW—the size of W is much smaller than that of P, and the movement of elements in W is much faster than that in P. (2) Each FP has a good chance of being selected as the visited node in the future rounds only if it remains in either of two rings, ensuring that its exact distance to q can be utilized at a certain time point.
|
| 316 |
+
|
| 317 |
+
#### <span id="page-5-1"></span>3.4. Probabilistic Edge Selection
|
| 318 |
+
|
| 319 |
+
In RobustPrune, ∥w<sup>i</sup> − v∥ needs to be smaller than ∥v − u∥ to allow u to be retained. Let δ<sup>i</sup> := ∥w<sup>i</sup> − u∥/(2∥v − u∥) denote the threshold on the cosine of the angle between w<sup>i</sup> − u and v − u, such that ∥w<sup>i</sup> − v∥ < ∥v − u∥. Then, the PES function is designed as follows.
|
| 320 |
+
|
| 321 |
+
<span id="page-5-3"></span>
|
| 322 |
+
$$PES(\boldsymbol{u}, \boldsymbol{v}) = \max_{1 \le i \le t} \left( \frac{\cos \theta_i}{\cos \beta_i} - \delta_i \right).$$
|
| 323 |
+
(6)
|
| 324 |
+
|
| 325 |
+
By Theorem [3.1,](#page-4-1) we can see that the PES function in Eq. [\(6\)](#page-5-3) satisfies the probabilistic properties in Problem [2.2.](#page-4-2) In practice, if the value in Eq. [\(6\)](#page-5-3) is negative, we say that (u, v) is rejected by PES, and this edge will be regarded as a promising candidate for further examination of RobustPrune.
|
| 326 |
+
|
| 327 |
+
*PRT-PES Collaboration.* From their definitions, the difference between the two thresholds, that is, τ<sup>i</sup> − δ<sup>i</sup> , is a value independent of v − w and can be pre-computed. Thus, we can conduct the PES test based on the test results of the PRT, leading to an O(1) time complexity, which confirms the objective O(|Nout(u)|) stated in Problem [2.2.](#page-4-2)
|
| 328 |
+
|
| 329 |
+
*PES Set.* For every u whose PES value is negative, we do not check uv⃗ by RobustPrune immediately. Instead, we add uv⃗ into a so-called PES set for later examination (see Fig. [1\)](#page-3-0).
|
| 330 |
+
|
| 331 |
+
## 4. Implementation and Analysis
|
| 332 |
+
|
| 333 |
+
#### 4.1. Implementation
|
| 334 |
+
|
| 335 |
+
*Indexing Phase.* PAG inserts every v ∈ D sequentially into the graph. For each v, the process can be divided into the following three steps.
|
| 336 |
+
|
| 337 |
+
Step 1. PAG performs ANNS equipped with the PRT-TFB test to obtain the elements stored in RL, and then uses RobustPrune to determine Nout(v) and Nin(v).
|
| 338 |
+
|
| 339 |
+
Step 2. Let Cand(v) denote the set of all nodes visited during ANNS. PAG uses PRT-PES to select additional in-neighbors from Cand(v), thereby supplementing the PES set.
|
| 340 |
+
|
| 341 |
+
Based on our preceding discussion, PRT-TFB ensures the efficiency of ANNS, while PRT-PES detects more promising edges. We finally select more edges from the PES set.
|
| 342 |
+
|
| 343 |
+
Step 3. For each candidate edge in the PES set, we apply RobustPrune to determine if it can be added to the graph.
|
| 344 |
+
|
| 345 |
+
*Searching Phase.* The query processing with PAG is exactly the PRT-TFB-based ANNS for a query q.
|
| 346 |
+
|
| 347 |
+
*Online Insertion.* Like HNSW, PAG naturally supports online insertion. The PES set is checked only after enough new nodes have been inserted into the graph.
|
| 348 |
+
|
| 349 |
+
{6}------------------------------------------------
|
| 350 |
+
|
| 351 |
+
#### <span id="page-6-1"></span>330 331 334 336 338 339 340 341 342 343 344 345 346 347 348 349 350 351 354 356 358 359 360 361 362 363 364 365 Algorithm 1: Construction of PAG Input: G := ∅ is the graph to be built; D is the dataset; 2M is the maximum out-degree; L is the space partition size; efC is the maximum size of visited nodes; b is the size of W Output: G with node set D, edge set E, and inference structure I <sup>1</sup> PES set is an empty table to accommodate candidate edges; <sup>2</sup> The capacity of R<sup>L</sup> is set to efC; <sup>3</sup> Maximum round Rmax is set to efC/b; <sup>4</sup> Generate multi-level random-projection structure F = {rjl} (1 ≤ j ≤ m, 1 ≤ l ≤ L); <sup>5</sup> Select b initial nodes, connect them, and write the projection information w.r.t the connected edges to I. Let V denote the set of all initial nodes; <sup>6</sup> foreach v ∈ D\V do <sup>7</sup> Insert b nodes to W and compute their distances to v; <sup>8</sup> Compute all ⟨vl, rjl⟩'s and build a projection table; <sup>9</sup> for r = 1 to Rmax do <sup>10</sup> foreach unvisited u ∈ W do <sup>11</sup> foreach w in Nout(u) do <sup>12</sup> if w passes the PRT-TFB test then <sup>13</sup> Compute the distance between v and w; <sup>14</sup> if ∥w − v∥ < ∥zmax − v∥ then <sup>15</sup> Update W and insert zmax to R<sup>T</sup> ; <sup>16</sup> else <sup>17</sup> Insert w to R<sup>F</sup> ; <sup>18</sup> if (u, v) is rejected by the PRT-PES test then <sup>19</sup> Add (u, v) to the PES set; <sup>20</sup> Update the nodes in W to RL, and empty W; <sup>21</sup> Sort and merge R<sup>F</sup> and R<sup>T</sup> , and empty R<sup>F</sup> and R<sup>T</sup> ; <sup>22</sup> Refill W until it is full using the sorted elements, and refill R<sup>T</sup> with the remaining sorted nodes; <sup>23</sup> Apply RobustPrune to R<sup>L</sup> to compute Nout(v) and Nin(v);
|
| 352 |
+
|
| 353 |
+
#### 4.2. Algorithm Pseudo-Codes of PAG
|
| 354 |
+
|
| 355 |
+
The pseudo-codes of the PAG algorithms are presented in Algs. [1](#page-6-1) and [2,](#page-6-2) which represent the indexing and searching, respectively. Note that indexing is essentially the sequential insertion of all nodes. Similar to [Lu et al.](#page-12-10) [\(2024\)](#page-12-10), we store the computed projections in a projection table for lookup (Line 8, Alg. [1](#page-6-1) and Line 4, Alg. [2\)](#page-6-2).
|
| 356 |
+
|
| 357 |
+
<sup>24</sup> Add the projection information of new edges to I; <sup>25</sup> Apply RobustPrune to the PES set, supplement Nin(v)'s, and add the projection information of new edges to I;
|
| 358 |
+
|
| 359 |
+
## <span id="page-6-0"></span>4.3. Complexity Analysis
|
| 360 |
+
|
| 361 |
+
374
|
| 362 |
+
|
| 363 |
+
376
|
| 364 |
+
|
| 365 |
+
*Time complexity.* Searching with HNSW is in O(n ′d)-time, where n ′ is the number of visited nodes during the search. Although a rigorous analysis of n ′ remains an open problem, n ′ can be roughly estimated as O(M log n), where 2M is the
|
| 366 |
+
|
| 367 |
+
#### Algorithm 2: Search with PAG
|
| 368 |
+
|
| 369 |
+
```
|
| 370 |
+
Input: G(D, E, I) is the constructed similarity graph; F
|
| 371 |
+
is the random-projection structure; efS is the
|
| 372 |
+
result list size; q is the query; K is the retrieval size
|
| 373 |
+
Output: Top-K ANN nodes
|
| 374 |
+
1 The capacity of RL is set to K;
|
| 375 |
+
2 b = max{10, K};
|
| 376 |
+
3 Maximum round Rmax is set to efS/b;
|
| 377 |
+
4 Compute all ⟨ql, rjl⟩'s and build a projection table;
|
| 378 |
+
5 Insert b elements to W and compute their distance to q;
|
| 379 |
+
6 for r = 1 to Rmax do
|
| 380 |
+
7 foreach unvisited u ∈ W do
|
| 381 |
+
8 foreach w in Nout(u) do
|
| 382 |
+
9 if w passes PRT-TFB test then
|
| 383 |
+
10 Compute the distance between q and w;
|
| 384 |
+
11 if ∥w − q∥ < ∥zmax − q∥ then
|
| 385 |
+
12 Update W and insert zmax to RT ;
|
| 386 |
+
13 else
|
| 387 |
+
14 Insert w to RF ;
|
| 388 |
+
15 Update the nodes in W to RL, and empty W;
|
| 389 |
+
16 Sort and merge RF and RT , and empty RF and RT ;
|
| 390 |
+
17 Refill W until it is full using the sorted elements, and
|
| 391 |
+
refill RT with the remaining sorted nodes;
|
| 392 |
+
18 Return the top-K nodes in RL;
|
| 393 |
+
```
|
| 394 |
+
|
| 395 |
+
maximum out-degree. In contrast, the complexity of PAG is O(n ′L+γn′d), whereL ≪ d is the user-specified parameter and γ ≤ 0.5 denotes the ratio of nodes that passed the PRT-PES test relative to the total number of candidates checked. γ is small in practice (generally < 0.2), and is smaller than the ratio in PEOs and KS2, because TFB ensures that the threshold increases incrementally rather than being set to the furthest distance w.r.t. a full priority queue.
|
| 396 |
+
|
| 397 |
+
As for indexing, due to the search-and-insertion paradigm, we focus on the insertion of v, for which the complexity is O(n ′L + γn′d + M2d + M dm). Here, O(M2d) is the complexity of node connection, and O(M dm) is used to compute projection information, both of which are much smaller than the ANNS part due to their independence of n ′ .
|
| 398 |
+
|
| 399 |
+
*Space complexity.* The space complexity of searching with PAG is O(nd + nM + nML), where O(nd) corresponds to the original dataset, O(nM) corresponds to the edge set and O(nML) corresponds to the inference structure. In the indexing phase, since we adopt in-place search for insertion, we only require an additional space of at most O(Mn) to store the edges in PES set. To further reduce the memory footprint, we can follow LVQ [\(Aguerrebere et al.,](#page-9-0) [2023\)](#page-9-0) and represent floats with 2 bytes.
|
| 400 |
+
|
| 401 |
+
### 4.4. Parameter Analysis of PAG
|
| 402 |
+
|
| 403 |
+
We analyze the settings of the parameters in PAG.
|
| 404 |
+
|
| 405 |
+
(1) m: The value of m is fixed to 16, so that each projection vector in a subspace is represented by 4 bits, which is com
|
| 406 |
+
|
| 407 |
+
{7}------------------------------------------------
|
| 408 |
+
|
| 409 |
+
*Table 2.* Dataset statistics.
|
| 410 |
+
|
| 411 |
+
<span id="page-7-1"></span>Name/Source Dataset Size Query Size Dim. OOD Type Embedding Model Distance Measure Modern Datasets DBpedia1536 999,000 1,000 1,536 No Text text-embedding-3-large [\(OpenAI,](#page-12-11) [2024\)](#page-12-11) Euclidean DBpedia3072 999,000 1,000 3,072 No Text text-embedding-3-large [\(OpenAI,](#page-12-11) [2024\)](#page-12-11) Euclidean WoltFood 1,719,611 1,000 512 No Image clip-ViT-B-32 [\(Radford et al.,](#page-12-5) [2021\)](#page-12-5) Euclidean DataCompDr 12,779,520 1,000 1,536 Yes Text-to-Image coca ViT-L-14 [\(Yu et al.,](#page-13-9) [2022\)](#page-13-9) Euclidean AmazonBooks 15,928,208 1,000 384 No Text all-MiniLM-L12-v2 [\(Wang et al.,](#page-13-10) [2020\)](#page-13-10) Euclidean MajorTOM 56,506,400 10,000 1,024 No Image DINOv2 [\(Oquab et al.,](#page-12-12) [2024\)](#page-12-12) Euclidean Legacy Datasets Word2Vec 1,000,000 1,000 300 No Text Word2Vec [\(Mikolov et al.,](#page-12-13) [2013\)](#page-12-13) Euclidean GIST 1,000,000 1,000 960 No Image GIST [\(Oliva & Torralba,](#page-12-1) [2001\)](#page-12-1) Euclidean GloVe 1,193,514 1,000 200 No Text GloVe [\(Pennington et al.,](#page-12-14) [2014\)](#page-12-14) Euclidean ImageNet 2,340,373 200 150 No Image dense SIFT [\(Lazebnik et al.,](#page-11-13) [2006\)](#page-11-13) Euclidean SIFT10M 10,000,000 1,000 128 No Image SIFT [\(Lowe,](#page-12-0) [2004\)](#page-12-0) Cosine DEEP100M 100,000,000 1,000 96 No Image GoogLeNet [\(Szegedy et al.,](#page-12-15) [2015\)](#page-12-15) Cosine
|
| 412 |
+
|
| 413 |
+
patible with the AVX512 instruction set. The choice of 4 bits follows NGT-QG [\(Yahoo! Japan,](#page-13-7) [2023\)](#page-13-7).
|
| 414 |
+
|
| 415 |
+
- (2) L: L is recommended to be in [8, d/8], where 8 is compatible with AVX512 because at most 8 levels can be accessed at a time, while d/L = 8 is a safe ratio that ensures the accuracy of the multi-level projection structure, as explained in PEOs [\(Lu et al.,](#page-12-10) [2024\)](#page-12-10). Based on the analysis in Sec. [4.3,](#page-6-0) L is used to tune the trade-off between efficiency and accuracy.
|
| 416 |
+
- (3) M: Similar to its usage in HNSW, 2M is the maximum out-degree of PAG. Based on the analysis in Sec. [4.3,](#page-6-0) M is recommended to be 64 when space cost permits. In practice, M is generally chosen from {16, 32, 64}.
|
| 417 |
+
- (4) |W|: The size of W is set to max{10, K}. Under this setting, when K ≥ 10, W is aligned with the result list, which enables refilling to be easily executed.
|
| 418 |
+
- (5) efC: efC determines how many nodes are visited in W and plays a role similar to efC in HNSW. It is used to control the trade-off between indexing time and search performance. For fast indexing, efC is recommended to be in [100, 200]. For high graph quality, efC is recommended to be in [1000, 10000]. Notably, thanks to TFB, PAG with a very large efC can be built much faster than HNSW with the same efC.
|
| 419 |
+
|
| 420 |
+
## 5. Experiments
|
| 421 |
+
|
| 422 |
+
We report main results here. Detailed setup and more results are available in Appendices [D](#page-17-0) and [E,](#page-19-0) respectively.
|
| 423 |
+
|
| 424 |
+
#### 5.1. Experimental Setup
|
| 425 |
+
|
| 426 |
+
*Data Statistics.* In the main experiments, we evaluate PAG on eight datasets: DBpedia1536 [\(Qdrant,](#page-12-16) [2024a\)](#page-12-16) (a.k.a., OpenAI-1536), DBpedia3072 [\(Qdrant,](#page-12-17) [2024b\)](#page-12-17) (a.k.a., OpenAI-3072), WoltFood [\(Qdrant,](#page-12-18) [2024c\)](#page-12-18), AmazonBooks [\(Kang et al.,](#page-11-14) [2024\)](#page-11-14), DataCompDr [\(Apple,](#page-10-3) [2025\)](#page-10-3),
|
| 427 |
+
|
| 428 |
+
MajorTOM [\(Major TOM,](#page-12-19) [2024\)](#page-12-19), GloVe [\(Pennington et al.,](#page-12-14) [2014\)](#page-12-14), and DEEP100M [\(Simhadri et al.,](#page-12-20) [2021\)](#page-12-20). The first six are modern text, image, and multimodal (text-to-image) datasets generated by recent embedding models. The latter two are widely-used legacy datasets (downloaded from [The Similarity Search Team, CUHK](#page-12-21) [\(2018\)](#page-12-21)). In addition, we report the experimental results on other legacy datasets (Word2Vec, GIST, ImageNet, and SIFT10M) in Appendix [E.3.](#page-19-1) Dataset statistics are reported in Table [2.](#page-7-1) The queries of DataCompDr are out-of-distribution (OOD). Fig. [11](#page-17-1) in Appendix [D](#page-17-0) plots the data and query distributions of this dataset.
|
| 429 |
+
|
| 430 |
+
*Baselines.* Baselines include HNSW [\(Malkov & Yashunin,](#page-12-2) [2020\)](#page-12-2), Vamana [\(Subramanya et al.,](#page-12-7) [2019\)](#page-12-7), SymQG [\(Gou](#page-11-8) [et al.,](#page-11-8) [2025\)](#page-11-8), ScaNN [\(Guo et al.,](#page-11-6) [2020a\)](#page-11-6), IVFPQFS [\(Jegou](#page-11-5) ´ [et al.,](#page-11-5) [2011\)](#page-11-5), and RaBitQ+ [\(Gao et al.,](#page-11-7) [2025\)](#page-11-7). We design two variants of PAG by tuning its parameters, as shown in Table [4](#page-17-2) in Appendix [D:](#page-17-0) (1) PAG-Base, for higher search performance, and (2) PAG-Lite, for faster indexing and smaller memory footprint.
|
| 431 |
+
|
| 432 |
+
#### <span id="page-7-0"></span>5.2. Experimental Results
|
| 433 |
+
|
| 434 |
+
We set the default retrieval size K = 100.
|
| 435 |
+
|
| 436 |
+
- *D1. QPS-Recall.* Fig. [3](#page-8-0) plots the QPS-recall performance. PAG-Base performs the best on all the modern datasets except for high recall settings on WoltFood. Its speedup over HNSW can be up to 5 times. For legacy datasets, PAG-Base is the best on GloVe and only second to SymQG on DEEP100M. PAG-Lite also delivers competitive search performance and is the runner-up on DBpedia1536, DBpedia3072, and MajorTOM.
|
| 437 |
+
- *D2. Indexing Time.* Fig. [4](#page-8-1) (left) shows the indexing time. Under the same or larger efC, PAG-Base requires only 20–40% of the indexing time of HNSW, and is faster than SymQG in most cases. PAG-Lite achieves an indexing time comparable to quantization-based methods, which is further reduced
|
| 438 |
+
|
| 439 |
+
{8}------------------------------------------------
|
| 440 |
+
|
| 441 |
+
<span id="page-8-0"></span>
|
| 442 |
+
|
| 443 |
+
<span id="page-8-1"></span>Figure 3. QPS-recall, K = 100. SymQG runs out of memory on MajorTOM. Recall is plotted in logarithmic scale to highlight large values.
|
| 444 |
+
|
| 445 |
+

|
| 446 |
+
|
| 447 |
+
Figure 4. Indexing time and peak memory usage. SymQG runs out of memory on MajorTOM.
|
| 448 |
+
|
| 449 |
+
to $0.5 \times$ on high-dimensional datasets, where it attains the lowest indexing time.
|
| 450 |
+
|
| 451 |
+
D3. Memory Footprint. Fig. 4 shows the memory usage in indexing (middle) and searching (right) phases. PAG-Base uses more memory than HNSW on lower-dimensional datasets, but the difference is negligible on higher-dimensional datasets. PAG-Base consistently uses much less memory than SymQG. PAG-Lite achieves the smallest memory footprint in 4 out of 8 cases for both indexing and searching.
|
| 452 |
+
|
| 453 |
+
D4. High-dimensional Scalability. The competitiveness of PAG-Base and PAG-Lite over $d \in [96,3072]$ , as shown in Figs. 3 and 4, is consistent, showcasing its insensitivity to dimensionality. In addition, the advantage of PAG in QPS-recall becomes more pronounced on high-dimensional datasets. In contrast, SymQG reports very low recall on high-dimensional datasets DBpedia1536, DBpedia3072, and DataCompDr, where $d \in \{1536,3072\}$ .
|
| 454 |
+
|
| 455 |
+
$\underline{D5.\ Retrieval\ Size\ Robustness}$ . Besides the QPS-recall for K=100 in Fig. 3, we report the results for K=10 in Fig. 16 and K=1000 in Fig. 18. PAG methods are highly
|
| 456 |
+
|
| 457 |
+
competitive across the three K values. When K=10, PAG-Base achieves comparable performance and even outperforms SymQG in the high-recall ( $\geq 95\%$ ) region on all datasets except DEEP100M. When K=1000, PAG-Base remains the best, while the performance of SymQG degrades significantly. To highlight the performance comparison, we also plot in Fig. 7 the QPS-recall by varying K from 200 to 800. It can be seen that the gap between PAG-Base and SymQG grows when K moves towards larger values. This observation showcases the robustness of PAG in various applications that differ in retrieval size.
|
| 458 |
+
|
| 459 |
+
D6. Online Insertion Support. To evaluate the query processing performance with online insertions, we consider the following workload. We randomly sample from the corpus 10,000 vectors as insertion queries and another 10,000 vectors as search queries. The 20,000 vectors are divided into 20 batches, each with 1,000 vectors. The insertion batches and the search batches are interleaved as a workload, with insertion as the first batch. The rest of the corpus is used to build the initial index. Note that DataCompDr is not OOD in this setting because its original query set (in Table 2) is
|
| 460 |
+
|
| 461 |
+
{9}------------------------------------------------
|
| 462 |
+
|
| 463 |
+

|
| 464 |
+
|
| 465 |
+
Figure 6. QPS-recall, K = 1000.
|
| 466 |
+
|
| 467 |
+
not used. To make the processing times of insertion queries and search queries on the same scale, we set efS = efC and tune these two parameters to control the recall. Fig. 8 compares PAG-Base and HNSW, plotting their QPS-recall performances of insertion and search. Insertion queries are slightly slower to process than search queries for both methods. PAG-Base are much faster than HNSW in both insertion and search speeds, and PAG-Base's insertion is even faster than HNSW's search. Similar to PAG-Base's advantage in search, its speedup over HNSW in insertion can be up to 5 times, demonstrating its efficiency in processing online insertions.
|
| 468 |
+
|
| 469 |
+
Ablation Study. We choose four datasets, DBpedia3072, WoltFood, AmazonBooks, and DataCompDr, for ablation study. Among the six modern datasets, they cover the lowest and highest dimensionality, text and images, as well as OOD. Figs. 9 and 10 show the effectiveness of PAG's components. We observe that TFB consistently reduces indexing time and improves search performance. PES further enhances search performance with negligible additional indexing time. The additional memory usage introduced by TFB and PES is very minor and thus not shown here, because TFB does not affect
|
| 470 |
+
|
| 471 |
+
the index size and PES barely increases the number of edges.
|
| 472 |
+
|
| 473 |
+
## 6. Conclusion
|
| 474 |
+
|
| 475 |
+
In this paper, we motivated six critical demands of modern AI applications for ANNS, covering search performance, indexing speed, memory footprint, scalability to dimensionality, robustness against retrieval size, and support of online insertion. To meet these demands, we proposed PAG as a new framework for ANNS. PAG reduces unnecessary distance computations by employing the comparison of exact and approximate distances. The components of PAG are derived from a unified statistical relationship, making its mechanism theoretically explainable. Experiments on modern datasets showcased the superiority of PAG over widely-used ANNS methods as well as state-of-the art solutions, and confirmed the effectiveness of PAG's components.
|
| 476 |
+
|
| 477 |
+
#### References
|
| 478 |
+
|
| 479 |
+
<span id="page-9-0"></span>Aguerrebere, C., Bhati, I., Hildebrand, M., Tepper, M., and Willke, T. L. Similarity search in the blink of an eye with compressed indices. *PVLDB*, 16(11):3433–3446, 2023.
|
| 480 |
+
|
| 481 |
+
{10}------------------------------------------------
|
| 482 |
+
|
| 483 |
+
10<sup>4</sup>
|
| 484 |
+
|
| 485 |
+
10<sup>3</sup>
|
| 486 |
+
|
| 487 |
+
10<sup>2</sup>
|
| 488 |
+
|
| 489 |
+
10<sup>1</sup>
|
| 490 |
+
|
| 491 |
+
10
|
| 492 |
+
|
| 493 |
+
10<sup>3</sup>
|
| 494 |
+
|
| 495 |
+
10<sup>2</sup>
|
| 496 |
+
|
| 497 |
+
10
|
| 498 |
+
|
| 499 |
+
10
|
| 500 |
+
|
| 501 |
+
10
|
| 502 |
+
|
| 503 |
+
10
|
| 504 |
+
|
| 505 |
+
10<sup>1</sup>
|
| 506 |
+
|
| 507 |
+
Recall (%)
|
| 508 |
+
WoltFood (K=800)
|
| 509 |
+
|
| 510 |
+
AmazonBooks (K=800)
|
| 511 |
+
|
| 512 |
+
Recall (%) DEEP100M (K=800)
|
| 513 |
+
|
| 514 |
+
<span id="page-10-4"></span>
|
| 515 |
+
|
| 516 |
+
Figure 7. QPS-recall comparison of PAG-Base and SymQG under varying retrieval size K.
|
| 517 |
+
|
| 518 |
+
<span id="page-10-5"></span>
|
| 519 |
+
|
| 520 |
+
Figure 8. QPS-recall of query workloads with online insertions.
|
| 521 |
+
|
| 522 |
+
<span id="page-10-6"></span>
|
| 523 |
+
|
| 524 |
+
Figure 9. Ablation study, QPS-recall. PRT only is the re-implementation of KS2 in PAG.
|
| 525 |
+
|
| 526 |
+
Andoni, A. and Indyk, P. E2lsh manual. http://web. mit.edu/andoni/www/LSH, 2005.
|
| 527 |
+
|
| 528 |
+
579
|
| 529 |
+
|
| 530 |
+
580
|
| 531 |
+
|
| 532 |
+
581
|
| 533 |
+
|
| 534 |
+
582
|
| 535 |
+
|
| 536 |
+
583
|
| 537 |
+
|
| 538 |
+
584 585
|
| 539 |
+
|
| 540 |
+
586 587
|
| 541 |
+
|
| 542 |
+
588 589 590
|
| 543 |
+
|
| 544 |
+
591
|
| 545 |
+
|
| 546 |
+
592
|
| 547 |
+
|
| 548 |
+
593
|
| 549 |
+
|
| 550 |
+
<span id="page-10-0"></span>594 595
|
| 551 |
+
|
| 552 |
+
596
|
| 553 |
+
|
| 554 |
+
<span id="page-10-8"></span>597
|
| 555 |
+
|
| 556 |
+
598
|
| 557 |
+
|
| 558 |
+
599
|
| 559 |
+
|
| 560 |
+
600
|
| 561 |
+
|
| 562 |
+
<span id="page-10-1"></span>601
|
| 563 |
+
|
| 564 |
+
602
|
| 565 |
+
|
| 566 |
+
603
|
| 567 |
+
|
| 568 |
+
604
|
| 569 |
+
|
| 570 |
+
Andoni, A. and Indyk, P. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Commun. ACM, 51(1):117–122, 2008.
|
| 571 |
+
|
| 572 |
+
Andoni, A., Indyk, P., Laarhoven, T., Razenshteyn, I. P., and Schmidt, L. Practical and optimal LSH for angular distance. In NeurIPS, pp. 1225-1233, 2015.
|
| 573 |
+
|
| 574 |
+
<span id="page-10-3"></span>Apple. Datacompdr-12m. https://huggingface. co/datasets/apple/DataCompDR-12M, 2025.
|
| 575 |
+
|
| 576 |
+
<span id="page-10-7"></span>Babenko, A. and Lempitsky, V. S. Efficient indexing of billion-scale datasets of deep descriptors. In CVPR, pp. 2055–2063, 2016.
|
| 577 |
+
|
| 578 |
+
<span id="page-10-2"></span>Bentley, J. L. K-d trees for semidynamic point sets. In SoCG, pp. 187-197, 1990.
|
| 579 |
+
|
| 580 |
+
{11}------------------------------------------------
|
| 581 |
+
|
| 582 |
+
<span id="page-11-15"></span>
|
| 583 |
+
|
| 584 |
+
<span id="page-11-11"></span>
|
| 585 |
+
|
| 586 |
+
<span id="page-11-0"></span>
|
| 587 |
+
|
| 588 |
+
<span id="page-11-10"></span>
|
| 589 |
+
|
| 590 |
+
<span id="page-11-20"></span>
|
| 591 |
+
|
| 592 |
+
<span id="page-11-12"></span>
|
| 593 |
+
|
| 594 |
+
<span id="page-11-1"></span>
|
| 595 |
+
|
| 596 |
+
<span id="page-11-2"></span>
|
| 597 |
+
|
| 598 |
+
<span id="page-11-3"></span>
|
| 599 |
+
|
| 600 |
+
<span id="page-11-9"></span>
|
| 601 |
+
|
| 602 |
+
<span id="page-11-21"></span>
|
| 603 |
+
|
| 604 |
+
*Figure 10.* Ablation study, indexing time. PRT only is the reimplementation of KS2 in PAG.
|
| 605 |
+
|
| 606 |
+
- Bernhardsson, E. Annoy. https://github.com/spotify/annoy, 2013.
|
| 607 |
+
- Bernhardsson, E., Aumüller, M., and Faithfull, A. Ann benchmarks. https://github.com/erikbern/ann-benchmarks/, 2015.
|
| 608 |
+
- Beygelzimer, A., Kakade, S. M., and Langford, J. Cover trees for nearest neighbor. In *ICML*, volume 148, pp. 97–104, 2006.
|
| 609 |
+
- Charikar, M. Similarity estimation techniques from rounding algorithms. In *STOC*, pp. 380–388, 2002.
|
| 610 |
+
- Chen, P. H., Chang, W., Jiang, J., Yu, H., Dhillon, I. S., and Hsieh, C. FINGER: fast inference for graph-based approximate nearest neighbor search. In *WWW*, pp. 3225–3235, 2023.
|
| 611 |
+
- Chen, T., Fu, C., Wu, J., Wu, H., Fan, H., Ke, X., Gao, Y., Ni, Y., and Zeng, A. Reveal hidden pitfalls and navigate next generation of vector similarity search from task-centric views. *arXiv preprint arXiv:2512.12980*, 2025. URL https://arxiv.org/abs/2512.12980.
|
| 612 |
+
- Cheng, R., Peng, Y., Wei, X., Xie, H., Chen, R., Shen, S., and Chen, H. Characterizing the dilemma of performance and index size in billion-scale vector search and breaking it with second-tier memory. *arXiv preprint arXiv:2405.03267*, 2024. URL https://arxiv.org/abs/2405.03267.
|
| 613 |
+
- Fensore, C., Dhole, K. D., Ho, J. C., and Agichtein, E. Evaluating hybrid retrieval augmented generation using dynamic test sets: Liverag challenge. *CoRR*, abs/2506.22644, 2025. URL https://arxiv.org/abs/2506.22644.
|
| 614 |
+
- Fu, C., Xiang, C., Wang, C., and Cai, D. Fast approximate nearest neighbor search with the navigating spreading-out graph. *PVLDB*, 12(5):461–474, 2019.
|
| 615 |
+
- Fu, C., Wang, C., and Cai, D. High dimensional similarity search with satellite system graph: Efficiency, scalability, and unindexed query compatibility. *IEEE Trans. Pattern Anal. Mach. Intell.*, 44(8):4139–4150, 2022.
|
| 616 |
+
|
| 617 |
+
- <span id="page-11-18"></span>Gao, J. and Long, C. High-dimensional approximate nearest neighbor search: with reliable and efficient distance comparison operations. *Proc. ACM Manag. Data*, 1(2): 137:1–137:27, 2023.
|
| 618 |
+
- <span id="page-11-17"></span>Gao, J. and Long, C. Rabitq: Quantizing high-dimensional vectors with a theoretical error bound for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 2(3): 167, 2024.
|
| 619 |
+
- <span id="page-11-7"></span>Gao, J., Gou, Y., Xu, Y., Yang, Y., Long, C., and Wong, R. C. Practical and asymptotically optimal quantization of highdimensional vectors in euclidean space for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 3(3): 202:1–202:26, 2025.
|
| 620 |
+
- <span id="page-11-16"></span>Ge, T., He, K., Ke, Q., and Sun, J. Optimized product quantization. *IEEE Trans. Pattern Anal. Mach. Intell*, 36(4): 744–755, 2014.
|
| 621 |
+
- <span id="page-11-8"></span>Gou, Y., Gao, J., Xu, Y., and Long, C. Symphonyqg: Towards symphonious integration of quantization and graph for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 3(1):80:1–80:26, 2025.
|
| 622 |
+
- <span id="page-11-6"></span>Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. Accelerating large-scale inference with anisotropic vector quantization. In *ICML*, pp. 3887–3896, 2020a.
|
| 623 |
+
- <span id="page-11-22"></span>Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. ScaNN algorithms and configuration. https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md, 2020b.
|
| 624 |
+
- <span id="page-11-19"></span>Indyk, P. and Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In *STOC*, pp. 604–613, 1998.
|
| 625 |
+
- <span id="page-11-5"></span>Jégou, H., Douze, M., and Schmid, C. Product quantization for nearest neighbor search. *IEEE Trans. Pattern Anal. Mach. Intell*, 33(1):117–128, 2011.
|
| 626 |
+
- <span id="page-11-14"></span>Kang, G., Ge, Z., Hu, J., Zhang, X., Wang, L., and Zhan, J. Bigvectorbench. https://github.com/ BenchCouncil/BigVectorBench, 2024.
|
| 627 |
+
- <span id="page-11-4"></span>Ke, Y. et al. Retrieval augmented generation for 10 large language models and its generalizability in assessing medical fitness. *npj Digit. Medicine*, 8(1), 2025.
|
| 628 |
+
- <span id="page-11-13"></span>Lazebnik, S., Schmid, C., and Ponce, J. Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories. In *CVPR*, volume 2, pp. 2169–2178, 2006.
|
| 629 |
+
|
| 630 |
+
{12}------------------------------------------------
|
| 631 |
+
|
| 632 |
+
<span id="page-12-4"></span>660 661 662 663 664 665 666 Li, A. and Papakonstantinou, Y. ScaNN for AlloyDB: The first PostgreSQL vector search index that works well from millions to billion of vectors. [https://cloud.google.com/blog/](https://cloud.google.com/blog/products/databases/how-scann-for-alloydb-vector-search-compares-to-pgvector-hnsw) [products/databases/how-scann-for](https://cloud.google.com/blog/products/databases/how-scann-for-alloydb-vector-search-compares-to-pgvector-hnsw)[alloydb-vector-search-compares-to](https://cloud.google.com/blog/products/databases/how-scann-for-alloydb-vector-search-compares-to-pgvector-hnsw)[pgvector-hnsw](https://cloud.google.com/blog/products/databases/how-scann-for-alloydb-vector-search-compares-to-pgvector-hnsw), 2025.
|
| 633 |
+
|
| 634 |
+
704
|
| 635 |
+
|
| 636 |
+
<span id="page-12-11"></span>706
|
| 637 |
+
|
| 638 |
+
714
|
| 639 |
+
|
| 640 |
+
- <span id="page-12-3"></span>Lin, J. Operational advice for dense and sparse retrievers: Hnsw, flat, or inverted indexes? In *Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track)*, pp. 865–872, 2025.
|
| 641 |
+
- <span id="page-12-0"></span>Lowe, D. G. Distinctive image features from scale-invariant keypoints. *International Journal of Computer Vision*, 60 (2):91–110, 2004.
|
| 642 |
+
- <span id="page-12-22"></span>Lu, K., Kudo, M., Xiao, C., and Ishikawa, Y. Hvs: Hierarchical graph structure based on voronoi diagrams for solving approximate nearest neighbor search. *PVLDB*, 15 (2):246–258, 2021.
|
| 643 |
+
- <span id="page-12-10"></span>Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic routing for graph-based approximate nearest neighbor search. In *ICML*, pp. 33177–33195, 2024.
|
| 644 |
+
- <span id="page-12-8"></span>Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic kernel function for fast angle testing. *arXiv preprint arXiv:2505.20274*, 2025. URL [https://arxiv.](https://arxiv.org/abs/2505.20274) [org/abs/2505.20274](https://arxiv.org/abs/2505.20274).
|
| 645 |
+
- <span id="page-12-19"></span>Major TOM. Core-s2rgb-dinov2. [https:](https://huggingface.co/datasets/Major-TOM/Core-S2RGB-DINOv2) [//huggingface.co/datasets/Major-](https://huggingface.co/datasets/Major-TOM/Core-S2RGB-DINOv2)[TOM/Core-S2RGB-DINOv2](https://huggingface.co/datasets/Major-TOM/Core-S2RGB-DINOv2), 2024.
|
| 646 |
+
- <span id="page-12-2"></span>Malkov, Y. A. and Yashunin, D. A. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. *IEEE Trans. Pattern Anal. Mach. Intell*, 42(4):824–836, 2020.
|
| 647 |
+
- <span id="page-12-13"></span>Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. Distributed representations of words and phrases and their compositionality. In *NeurIPS*, pp. 3111–3119, 2013.
|
| 648 |
+
- <span id="page-12-1"></span>Oliva, A. and Torralba, A. Modeling the shape of the scene: A holistic representation of the spatial envelope. *International Journal of Computer Vision*, 42(3):145–175, 2001.
|
| 649 |
+
- OpenAI. text-embedding-3-large. [https://](https://platform.openai.com/docs/models/text-embedding-3-large) [platform.openai.com/docs/models/text](https://platform.openai.com/docs/models/text-embedding-3-large)[embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large), 2024.
|
| 650 |
+
- <span id="page-12-12"></span>Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., et al. Dinov2: Learning robust visual features without supervision. *Trans. Mach. Learn. Res.*, 2024.
|
| 651 |
+
|
| 652 |
+
- <span id="page-12-6"></span>Ouyang, S. et al. ReasoningBank: Scaling agent selfevolving with reasoning memory. *arXiv preprint arXiv:2509.25140*, 2025. URL [https://arxiv.](https://arxiv.org/abs/2509.25140v1) [org/abs/2509.25140v1](https://arxiv.org/abs/2509.25140v1).
|
| 653 |
+
- <span id="page-12-14"></span>Pennington, J., Socher, R., and Manning, C. D. Glove: Global vectors for word representation. In *Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP)*, pp. 1532–1543, 2014.
|
| 654 |
+
- <span id="page-12-9"></span>Pham, N. Simple yet efficient algorithms for maximum inner product search via extreme order statistics. In *KDD*, pp. 1339–1347, 2021.
|
| 655 |
+
- <span id="page-12-23"></span>Pham, N. and Liu, T. Falconn++: A locality-sensitive filtering approach for approximate nearest neighbor search. In *NeurIPS*, pp. 31186–31198, 2022.
|
| 656 |
+
- <span id="page-12-16"></span>Qdrant. dbpedia-entities-openai3-text-embedding-3 large-1536-1m. [https://huggingface.co/](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-1536-1M) [datasets/Qdrant/dbpedia-entities](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-1536-1M)[openai3-text-embedding-3-large-1536-](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-1536-1M) [1M](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-1536-1M), 2024a.
|
| 657 |
+
- <span id="page-12-17"></span>Qdrant. dbpedia-entities-openai3-text-embedding-3 large-3072-1m. [https://huggingface.co/](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-3072-1M) [datasets/Qdrant/dbpedia-entities](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-3072-1M)[openai3-text-embedding-3-large-3072-](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-3072-1M) [1M](https://huggingface.co/datasets/Qdrant/dbpedia-entities-openai3-text-embedding-3-large-3072-1M), 2024b.
|
| 658 |
+
- <span id="page-12-18"></span>Qdrant. wolt-food-clip-vit-b-32-embeddings. [https://](https://huggingface.co/datasets/Qdrant/wolt-food-clip-ViT-B-32-embeddings) [huggingface.co/datasets/Qdrant/wolt](https://huggingface.co/datasets/Qdrant/wolt-food-clip-ViT-B-32-embeddings)[food-clip-ViT-B-32-embeddings](https://huggingface.co/datasets/Qdrant/wolt-food-clip-ViT-B-32-embeddings), 2024c.
|
| 659 |
+
- <span id="page-12-5"></span>Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In *ICML*, pp. 8748–8763, 2021.
|
| 660 |
+
- <span id="page-12-20"></span>Simhadri, H. V., Williams, G., Aumuller, M., Douze, M., ¨ Babenko, A., Baranchuk, D., Chen, Q., Hosseini, L., Krishnaswamny, R., Srinivasa, G., et al. Billion-scale approximate nearest neighbor search challenge: Neurips'21 competition track. [https://big-ann-benchmarks.](https://big-ann-benchmarks.com/neurips21.html) [com/neurips21.html](https://big-ann-benchmarks.com/neurips21.html), 2021.
|
| 661 |
+
- <span id="page-12-7"></span>Subramanya, S. J., Devvrit, F., Simhadri, H. V., Krishnaswamy, R., and Kadekodi, R. Rand-nsg: Fast accurate billion-point nearest neighbor search on a single node. In *NeurIPS*, pp. 13748–13758, 2019.
|
| 662 |
+
- <span id="page-12-15"></span>Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. Going deeper with convolutions. In *CVPR*, pp. 1–9, 2015.
|
| 663 |
+
- <span id="page-12-21"></span>The Similarity Search Team, CUHK. FVECS datasets. [https://www.cse.cuhk.edu.hk/systems/](https://www.cse.cuhk.edu.hk/systems/hash/gqr/datasets.html) [hash/gqr/datasets.html](https://www.cse.cuhk.edu.hk/systems/hash/gqr/datasets.html), 2018.
|
| 664 |
+
|
| 665 |
+
{13}------------------------------------------------
|
| 666 |
+
|
| 667 |
+
<span id="page-13-1"></span>716 718 Vendrow, E., Pantazis, O., Shepard, A., Brostow, G., Jones, K., Mac Aodha, O., Beery, S., and Van Horn, G. Inquire: A natural world text-to-image retrieval benchmark. *NeurIPS*, 37:126500–126514, 2024.
|
| 668 |
+
|
| 669 |
+
<span id="page-13-0"></span>719 720 721
|
| 670 |
+
|
| 671 |
+
<span id="page-13-8"></span>724
|
| 672 |
+
|
| 673 |
+
726
|
| 674 |
+
|
| 675 |
+
<span id="page-13-12"></span>734
|
| 676 |
+
|
| 677 |
+
<span id="page-13-10"></span>736
|
| 678 |
+
|
| 679 |
+
754
|
| 680 |
+
|
| 681 |
+
<span id="page-13-9"></span>756
|
| 682 |
+
|
| 683 |
+
764
|
| 684 |
+
|
| 685 |
+
<span id="page-13-2"></span>766
|
| 686 |
+
|
| 687 |
+
768 769
|
| 688 |
+
|
| 689 |
+
- Wallace, J. A. How hierarchical navigable small world (HNSW) algorithms can improve search. [https://redis.io/blog/how-hnsw](https://redis.io/blog/how-hnsw-algorithms-can-improve-search/?utm_source=chatgpt.com)[algorithms-can-improve-search/?utm\\_](https://redis.io/blog/how-hnsw-algorithms-can-improve-search/?utm_source=chatgpt.com) [source=chatgpt.com](https://redis.io/blog/how-hnsw-algorithms-can-improve-search/?utm_source=chatgpt.com), 2025.
|
| 690 |
+
- Wang, H., Wu, W., Luo, C., Bian, A., Meng, C., Wu, Y., and Sun, J. Boosting accuracy and efficiency for vector retrieval with local scaling graph. In *ICDE*, pp. 336–348, 2025a.
|
| 691 |
+
- <span id="page-13-6"></span>Wang, J., Zhang, T., Song, J., Sebe, N., and Shen, H. T. A survey on learning to hash. *IEEE Trans. Pattern Anal. Mach. Intell.*, 40(4):769–790, 2018.
|
| 692 |
+
- Wang, M., Wu, H., Ke, X., Gao, Y., Zhu, Y., and Zhou, W. Accelerating graph indexing for ANNS on modern cpus. *Proc. ACM Manag. Data*, 3(3):123:1–123:29, 2025b.
|
| 693 |
+
- Wang, W., Wei, F., Dong, L., Bao, H., Yang, N., and Zhou, M. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In *NeurIPS*, pp. 5776–5788, 2020.
|
| 694 |
+
- <span id="page-13-5"></span>Weller, O., Boratko, M., Naim, I., and Lee, J. On the theoretical limitations of embedding-based retrieval. *CoRR*, abs/2508.21038, 2025. URL [https://arxiv.org/](https://arxiv.org/abs/2508.21038) [abs/2508.21038](https://arxiv.org/abs/2508.21038).
|
| 695 |
+
- <span id="page-13-11"></span>Xie, J., Yu, J. X., and Liu, Y. Graph based k-nearest neighbor search revisited. *ACM Trans. Database Syst.*, 50(4):14:1– 14:30, 2025.
|
| 696 |
+
- <span id="page-13-13"></span>Xu, H. and Pham, N. Scalable DBSCAN with random projections. In *NeurIPS*, 2024.
|
| 697 |
+
- <span id="page-13-7"></span>Yahoo! Japan. Neighborhood graph and tree for indexing high-dimensional data. [https://github.com/](https://github.com/yahoojapan/NGT) [yahoojapan/NGT](https://github.com/yahoojapan/NGT), 2023.
|
| 698 |
+
- Yu, J., Wang, Z., Vasudevan, V., Yeung, L., Seyedhosseini, M., and Wu, Y. Coca: Contrastive captioners are imagetext foundation models. *Trans. Mach. Learn. Res.*, 2022, 2022.
|
| 699 |
+
- <span id="page-13-3"></span>Zhai, Y., Tao, S., Chen, C., Zou, A., Chen, Z., Fu, Q., Mai, S., Yu, L., Deng, J., Cao, Z., et al. AgentEvolver: Towards efficient self-evolving agent system. *arXiv preprint arXiv:2511.10395*, 2025. URL [https:](https://arxiv.org/abs/2511.10395) [//arxiv.org/abs/2511.10395](https://arxiv.org/abs/2511.10395).
|
| 700 |
+
- Zhang, J. et al. Optimizing recall or relevance? A multi-task multi-head approach for item-to-item retrieval in recommendation. In *KDD*, pp. 5194–5204, 2025.
|
| 701 |
+
|
| 702 |
+
<span id="page-13-4"></span>Zhang, S., Wang, J., Zhou, R., Liao, J., Feng, Y., Zhang, W., Wen, Y., Li, Z., Xiong, F., Qi, Y., et al. MemRL: Selfevolving agents via runtime reinforcement learning on episodic memory. *arXiv preprint arXiv:2601.03192*, 2026. URL <https://arxiv.org/abs/2601.03192>.
|
| 703 |
+
|
| 704 |
+
{14}------------------------------------------------
|
| 705 |
+
|
| 706 |
+
## A. Frequently Used Notations
|
| 707 |
+
|
| 708 |
+
<span id="page-14-1"></span>Table 3 shows the notations frequently used in this paper. *Table 3.* Frequently used notations.
|
| 709 |
+
|
| 710 |
+
| Symbol | Description | | | | |
|
| 711 |
+
|------------------------------------|-------------------------------------------------------------------|--|--|--|--|
|
| 712 |
+
| $\mathcal{D}$ | Dataset of vectors | | | | |
|
| 713 |
+
| d | Dimension of vectors | | | | |
|
| 714 |
+
| n | Dataset size | | | | |
|
| 715 |
+
| $\boldsymbol{q}$ | Query vector | | | | |
|
| 716 |
+
| K | Retrieval size | | | | |
|
| 717 |
+
| $\boldsymbol{v}$ | Node to be inserted to a graph index | | | | |
|
| 718 |
+
| $N_{\rm out}(\boldsymbol{v})$ | Out-neighbors of $v$ | | | | |
|
| 719 |
+
| $N_{\rm in}(\boldsymbol{v})$ | In-neighbors of $\boldsymbol{v}$ | | | | |
|
| 720 |
+
| $\boldsymbol{u}$ | Candidate neighbor of $v$ to be evaluated | | | | |
|
| 721 |
+
| L | Space partition size | | | | |
|
| 722 |
+
| $\{\boldsymbol{w_i}\}_{i=1}^t$ | $t$ neighbors of $\boldsymbol{u}$ | | | | |
|
| 723 |
+
| $\{\boldsymbol{e_i}\}_{i=1}^t$ | Edges between $\boldsymbol{u}$ and $\{\boldsymbol{w_i}\}_{i=1}^t$ | | | | |
|
| 724 |
+
| $\tau_i$ | Threshold w.r.t. $w_i$ in PRT | | | | |
|
| 725 |
+
| $\delta_i$ | Threshold w.r.t. $w_i$ in PES | | | | |
|
| 726 |
+
| $R_L$ | Result list | | | | |
|
| 727 |
+
| W | Working set | | | | |
|
| 728 |
+
| $R_F, R_T$ | Dual rings of false positives and ejected nodes | | | | |
|
| 729 |
+
| m | Number of projection vectors in each subspace | | | | |
|
| 730 |
+
| ${\mathcal F}$ | Set of concatenated projection vectors | | | | |
|
| 731 |
+
| $\{\boldsymbol{r_i}\}_{i=1}^{m^L}$ | Individual projection vectors | | | | |
|
| 732 |
+
| $r_i^* \in \mathcal{F}$ | Vector having the smallest angle with $w_i - u$ | | | | |
|
| 733 |
+
| $\cos \alpha_i$ | Cosine of the angle between $w_i - u$ and $v - u$ | | | | |
|
| 734 |
+
| $\cos \beta_i$ | Cosine of the angle between $w_i - u$ and $r_i^*$ | | | | |
|
| 735 |
+
| $\cos \theta_i$ | Cosine of the angle between $v-u$ and $r_i^*$ | | | | |
|
| 736 |
+
| Cand(v) | All nodes visited during the insertion of $v$ | | | | |
|
| 737 |
+
| $H(\boldsymbol{v})$ | Nodes in $\operatorname{Cand}(\boldsymbol{v})$ rejected by PES | | | | |
|
| 738 |
+
|
| 739 |
+
#### <span id="page-14-0"></span>B. Proof of Theorem 3.1
|
| 740 |
+
|
| 741 |
+
In the proof, with slight abuse of notation, we treat u as the origin, and directly use v and each $w_i$ to denote v-u and $w_i-u$ , respectively.
|
| 742 |
+
|
| 743 |
+
As such, we have $w_1, \ldots, w_t, v \in \mathbb{S}^{d-1}$ , and $\langle w_i, v \rangle = \cos \alpha_i, i = 1, \ldots, t$ . Suppose that d is divisible by L. Let $w_i = [w_{i1}, \ldots, w_{iL}]^{\top}$ and $v = [v_1, \ldots, v_L]^{\top}$ be the equal-dimension partition of $w_i$ and v, respectively. Suppose that in the l-th subspace, we generate m random projection vectors $\{r_{jl}\}_{j=1}^m$ with the norm $1/\sqrt{L}$ . We use $r_{il}^*$ to denote the nearest projection vector to $w_{il}$ , i.e.,
|
| 744 |
+
|
| 745 |
+
$$r_{il}^* = \underset{1 \le j \le m}{\arg\max} \langle r_{jl}, w_{il} \rangle. \tag{7}$$
|
| 746 |
+
|
| 747 |
+
Then, we have $\bm{r_i^*} = [\bm{r_{i1}^*}, \dots, \bm{r_{iL}^*}]^\top \in \mathbb{S}^{d-1}.$ We introduce
|
| 748 |
+
|
| 749 |
+
$$C_{il} := \frac{\langle \boldsymbol{w_{il}}, \boldsymbol{r_{il}^*} \rangle \sqrt{L}}{\|\boldsymbol{w_{il}}\|} \in [-1, 1]. \tag{8}$$
|
| 750 |
+
|
| 751 |
+
Let $\mathbb{E}[C_{il}] = \mu_m$ and $\mathrm{Var}(C_{il}) = \sigma_m^2$ , where $\mu_m$ and $\sigma_m^2$ depend only on m. Note that they implicitly depend on the subspace dimension d/L. When m grows at a sufficiently high rate compared to d/L, $\mu_m \to 1$ and $\sigma_m \to 0$ . Moreover,
|
| 752 |
+
|
| 753 |
+
we have
|
| 754 |
+
|
| 755 |
+
$$Cov(C_{il}, C_{jl}) = \rho_m(\phi_{ijl})\sigma_m^2 \tag{9}$$
|
| 756 |
+
|
| 757 |
+
where $\phi_{ijl}$ denotes the angle between $w_{il}$ and $w_{jl}$ , and $\rho_m := [0,\pi] \to [-1,1]$ denotes the correlation coefficient function depending on $\phi_{ijl}$ . Then, we have
|
| 758 |
+
|
| 759 |
+
$$Y_i := \Sigma_{l=1}^L \langle \boldsymbol{r_{il}^*}, \boldsymbol{w_{il}} \rangle = \Sigma_{l=1}^L \frac{\|\boldsymbol{w_{il}}\|}{\sqrt{L}} C_{il}.$$
|
| 760 |
+
(10)
|
| 761 |
+
|
| 762 |
+
By the assumption that $\|\boldsymbol{w_{il}}\| = (1 + o(1))/\sqrt{L}$ , we have
|
| 763 |
+
|
| 764 |
+
$$\mathbb{E}[Y_i] = \mu_m(1 + o(1)). \tag{11}$$
|
| 765 |
+
|
| 766 |
+
$$Var(Y_i) = \frac{\sigma_m^2}{L}(1 + o(1)).$$
|
| 767 |
+
(12)
|
| 768 |
+
|
| 769 |
+
<span id="page-14-2"></span>
|
| 770 |
+
$$Cov(Y_i, Y_j) = \frac{\sigma_m^2}{L^2} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) (1 + o(1)).$$
|
| 771 |
+
(13)
|
| 772 |
+
|
| 773 |
+
Then, $v_l$ can be decomposed as $v_l = v_{il}^{\parallel} + v_{il}^{\perp}$ , where $v_{il}^{\parallel}$ and $v_{il}^{\perp}$ are defined as follows.
|
| 774 |
+
|
| 775 |
+
$$v_{il}^{\parallel} = \frac{\langle v_l, w_{il} \rangle}{\|w_{il}\|^2} w_{il}, \quad v_{il}^{\perp} \perp w_{il}.$$
|
| 776 |
+
(14)
|
| 777 |
+
|
| 778 |
+
Then, we can define $Z_i$ as follows.
|
| 779 |
+
|
| 780 |
+
$$Z_i := \langle r_i^*, v \rangle = Z_i^{(1)} + Z_i^{(2)}$$
|
| 781 |
+
(15)
|
| 782 |
+
|
| 783 |
+
where $Z_i^{(1)}$ and $Z_i^{(2)}$ are defined as follows.
|
| 784 |
+
|
| 785 |
+
$$Z_i^{(1)} := \sum_{l=1}^{L} \frac{\langle \boldsymbol{v_l}, \boldsymbol{w_{il}} \rangle}{\|\boldsymbol{w_{il}}\| \sqrt{L}} C_{il}.$$
|
| 786 |
+
(16)
|
| 787 |
+
|
| 788 |
+
$$Z_i^{(2)} := \sum_{l=1}^L \langle r_{il}^*, v_{il}^{\perp} \rangle. \tag{17}$$
|
| 789 |
+
|
| 790 |
+
$$\mathbb{E}[Z_i^{(1)}] = \frac{\mu_m}{\sqrt{L}} \sum_{l=1}^L \frac{\langle \boldsymbol{v}_l, \boldsymbol{w}_{il} \rangle}{\|\boldsymbol{w}_{il}\|}$$
|
| 791 |
+
|
| 792 |
+
$$= \mu_m \cos \alpha_i + o(1).$$
|
| 793 |
+
(18)
|
| 794 |
+
|
| 795 |
+
By symmetry, we have $\mathbb{E}[Z_i^{(2)}|\{C_{il}\}_{l=1}^L]=0$ . Then, by the independence of subspaces, we have
|
| 796 |
+
|
| 797 |
+
$$\mathbb{E}[Z_i] = \mu_m \cos(\alpha_i) + o(1). \tag{19}$$
|
| 798 |
+
|
| 799 |
+
$$Var(Z_i^{(1)}) = \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \frac{\langle v_l, w_{il} \rangle^2}{\|w_{il}\|^2}.$$
|
| 800 |
+
(20)
|
| 801 |
+
|
| 802 |
+
We take the orthogonal decomposition of $r_{il}^*$ as $r_{il}^* = r_{il}^{\parallel} + r_{il}^{\perp}$ , where $r_{il}^{\parallel}$ has the same direction with $w_{il}$ . Let $r_{il}^{\perp} = \|r_{il}^{\perp}\|\zeta$ , where $\|\zeta\| = 1$ is a random vector in a (d/L - 1)-dimensional subspace. We have
|
| 803 |
+
|
| 804 |
+
$$\mathbb{E}_{\zeta}[\langle \zeta, v_{il}^{\perp} \rangle^{2}] = \frac{\|v_{il}^{\perp}\|^{2} L}{d - L}.$$
|
| 805 |
+
(21)
|
| 806 |
+
|
| 807 |
+
{15}------------------------------------------------
|
| 808 |
+
|
| 809 |
+
By symmetry, $\mathbb{E}[\langle r_{il}^{\perp}, v_{il}^{\perp} \rangle \mid C_{il}] = 0$ . Then, we have
|
| 810 |
+
|
| 811 |
+
$$\operatorname{Var}(\langle \boldsymbol{r}_{il}^*, \boldsymbol{v}_{il}^{\perp} \rangle) = \mathbb{E}_{C_{il}} \left[ \mathbb{E}[\langle \boldsymbol{r}_{il}^{\perp}, \boldsymbol{v}_{il}^{\perp} \rangle^2 \mid C_{il}] \right]. \tag{22}$$
|
| 812 |
+
|
| 813 |
+
Using $\mathbb{E}[\|\boldsymbol{r}_{il}^{\perp}\|^2] = \frac{1}{L}(1 - \mathbb{E}[C_{il}^2])$ , we have
|
| 814 |
+
|
| 815 |
+
<span id="page-15-1"></span>
|
| 816 |
+
$$Var(Z_i^{(2)}) = \frac{1 - (\sigma_m^2 + \mu_m^2)}{d - L} \sum_{l=1}^{L} \| v_{il}^{\perp} \|^2.$$
|
| 817 |
+
(23)
|
| 818 |
+
|
| 819 |
+
Because $Cov(Z_i^{(1)}, Z_i^{(2)}) = 0$ , we have
|
| 820 |
+
|
| 821 |
+
$$Var(Z_i) = Var(Z_i^{(1)}) + Var(Z_i^{(2)}).$$
|
| 822 |
+
(24)
|
| 823 |
+
|
| 824 |
+
We define $\epsilon_m:=\sqrt{1-\mathbb{E}[C_{il}^2]}$ . From Eq. (23), we can see that $\mathrm{Var}(Z_i^{(2)})=O(\epsilon_m^2/L)$ .
|
| 825 |
+
|
| 826 |
+
We now analyze the covariance structure. We cannot assume $Z^{(1)}$ and $Z^{(2)}$ are uncorrelated across different indices $i \neq j$ . Instead, we decompose the covariance matrix as
|
| 827 |
+
|
| 828 |
+
<span id="page-15-3"></span>
|
| 829 |
+
$$Cov(Z_i, Z_j) = Cov(Z_i^{(1)}, Z_j^{(1)}) + R_{ij}$$
|
| 830 |
+
(25)
|
| 831 |
+
|
| 832 |
+
where the residual term $R_{ij}$ contains the noise auto-covariance and cross-terms:
|
| 833 |
+
|
| 834 |
+
$$R_{ij} = \text{Cov}(Z_i^{(2)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(1)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(2)}, Z_j^{(1)}).$$
|
| 835 |
+
(26)
|
| 836 |
+
|
| 837 |
+
Because ${\rm Var}(Z^{(1)})=O(1/L)$ and ${\rm Var}(Z^{(2)})=O(\epsilon_m^2/L)$ , by the Cauchy-Schwarz inequality, we have
|
| 838 |
+
|
| 839 |
+
$$|\text{Cov}(Z_i^{(1)}, Z_j^{(2)})| \le \sqrt{\text{Var}(Z_i^{(1)})\text{Var}(Z_j^{(2)})} = O\left(\frac{\epsilon_m}{L}\right).$$
|
| 840 |
+
|
| 841 |
+
Thus, the entire residual term satisfies $R_{ij} = O(\epsilon_m/L)$ .
|
| 842 |
+
|
| 843 |
+
Now, let us turn to $\mathrm{Cov}(Y_i,Z_j)$ . When i=j, by conditional expectation, $\mathrm{Cov}(Y_i,Z_j^{(2)})=0$ . When $i\neq j$ , if $m\to\infty$ , $\sigma_m^2+\mu_m^2\to 1$ and $\mathrm{Var}(Z_i^{(2)})\to 0$ . Thus, $\mathrm{Cov}(Y_i,Z_j^{(2)})\to 0$ . Then, as $m\to\infty$ , we have
|
| 844 |
+
|
| 845 |
+
<span id="page-15-2"></span>
|
| 846 |
+
$$Cov(Y_i, Z_j) \to \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) \langle \boldsymbol{v_l}, \boldsymbol{w_{jl}} \rangle (1 + o(1)).$$
|
| 847 |
+
(28)
|
| 848 |
+
|
| 849 |
+
Based on the above analysis, we consider
|
| 850 |
+
|
| 851 |
+
$$\boldsymbol{\xi_{l}} = \left[ \frac{\|\boldsymbol{w_{1l}}\|}{\sqrt{L}} C_{1l}, \dots, \frac{\|\boldsymbol{w_{tl}}\|}{\sqrt{L}} C_{tl}, \langle \boldsymbol{r_{1l}^*}, \boldsymbol{v_l} \rangle, \dots, \langle \boldsymbol{r_{tl}^*}, \boldsymbol{v_l} \rangle \right].$$
|
| 852 |
+
(29)
|
| 853 |
+
|
| 854 |
+
By the assumptions that $\|v_{il}\|$ and $\|w_{il}\|$ equal $(1 + o(1))/\sqrt{L}$ , it can be seen that $\xi_l$ satisfies the Lyapunov condition. By the independence of difference subspaces, we use the Lindeberg-Feller CLT and obtain the following result.
|
| 855 |
+
|
| 856 |
+
$$\sqrt{L}([Y_1, \dots, Y_t, Z_1, \dots, Z_t]^{\top} - \bar{\boldsymbol{\mu}}) \xrightarrow[L \to \infty]{d} \mathcal{N}(0, \bar{\Sigma}_{m,L})$$
|
| 857 |
+
(30)
|
| 858 |
+
|
| 859 |
+
where $\bar{\mu} = [\mu_m, \dots, \mu_m, \mu_m \cos \alpha_1, \dots, \mu_m \cos \alpha_t]^\top$ , and $\bar{\Sigma}$ is represented by block sub-matrices
|
| 860 |
+
|
| 861 |
+
$$\bar{\Sigma} = \begin{pmatrix} \Sigma_{YY} & \Sigma_{YZ} \\ \Sigma_{ZY} & \Sigma_{ZZ} \end{pmatrix} \tag{31}$$
|
| 862 |
+
|
| 863 |
+
where the elements of $\Sigma_{YY}$ , $\Sigma_{YZ}$ and $\Sigma_{ZZ}$ are L times the covariance computed in Eqs. (13), (28), and (25), respectively.
|
| 864 |
+
|
| 865 |
+
Based on this result, Z | Y is still a multivariate normal distribution. We have
|
| 866 |
+
|
| 867 |
+
$$\mathbb{E}[\mathbf{Z}|\mathbf{Y}] = \boldsymbol{\mu}_Z + \boldsymbol{\Sigma}_{ZY} \boldsymbol{\Sigma}_{YY}^{-1} (\mathbf{Y} - \boldsymbol{\mu}_Y). \tag{32}$$
|
| 868 |
+
|
| 869 |
+
$$Cov(\mathbf{Z}|\mathbf{Y}) = (\Sigma_{ZZ} - \Sigma_{ZY}\Sigma_{YY}^{-1}\Sigma_{YZ})/L.$$
|
| 870 |
+
(33)
|
| 871 |
+
|
| 872 |
+
Let D be the diagonal matrix defined as follows
|
| 873 |
+
|
| 874 |
+
$$\mathbf{D} = \operatorname{diag}[\cos \alpha_1, \dots, \cos \alpha_t]. \tag{34}$$
|
| 875 |
+
|
| 876 |
+
Because $\Sigma_{ZY} \to \mathbf{D}\Sigma_{YY}$ , when $\mathbf{Y} = [\cos \beta_1, \dots, \cos \beta_t]^\top$ , we have
|
| 877 |
+
|
| 878 |
+
$$\mathbb{E}[\mathbf{Z}|\mathbf{Y}] \to [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top.$$
|
| 879 |
+
(35)
|
| 880 |
+
|
| 881 |
+
$$Cov(\mathbf{Z}|\mathbf{Y}) \to (\mathbf{\Sigma}_{\mathbf{Z}\mathbf{Z}} - \mathbf{D}\mathbf{\Sigma}_{\mathbf{Y}\mathbf{Y}}\mathbf{D})/L = \mathbf{R}/L$$
|
| 882 |
+
(36)
|
| 883 |
+
|
| 884 |
+
where $\mathbf{R}$ represents the scaled residual matrix with entries $L \cdot R_{ij} = O(\epsilon_m)$ . Then, we conclude.
|
| 885 |
+
|
| 886 |
+
**Remarks.** For each fixed i, if we apply a random rotation matrix to $w_i - u$ and v - u in $\mathbb{R}^d$ , by the spherical concentration inequality, we can derive the following inequalities.
|
| 887 |
+
|
| 888 |
+
$$P\left(\left|\|(\boldsymbol{w_i} - \boldsymbol{u})_l\|^2 - \frac{1}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_1 d\tilde{\epsilon}^2}$$
|
| 889 |
+
(37)
|
| 890 |
+
|
| 891 |
+
$$P\left(\left|\langle (\boldsymbol{v}-\boldsymbol{u})_l, (\boldsymbol{w_i}-\boldsymbol{u})_l \rangle - \frac{\cos \alpha_i}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_2 d\tilde{\epsilon}^2}$$
|
| 892 |
+
(38)
|
| 893 |
+
|
| 894 |
+
where $c_1$ and $c_2$ are constants. As $L \to \infty$ and $d/(L^2) \to \infty$ , we have the following results:
|
| 895 |
+
|
| 896 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})_l\| = (1 + o_p(1))/\sqrt{L}.$$
|
| 897 |
+
(39)
|
| 898 |
+
|
| 899 |
+
$$\langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = \frac{\cos \alpha}{L} + o_p(\frac{1}{L}).$$
|
| 900 |
+
(40)
|
| 901 |
+
|
| 902 |
+
This implies that $L=\sqrt{d}$ is a balanced choice, which is consistent with the setting in our experiments.
|
| 903 |
+
|
| 904 |
+
#### <span id="page-15-0"></span>C. Related Work
|
| 905 |
+
|
| 906 |
+
We first supplement Sec. 1.1 with more discussions, and then introduce the preliminaries on probabilistic routing.
|
| 907 |
+
|
| 908 |
+
{16}------------------------------------------------
|
| 909 |
+
|
| 910 |
+
#### C.1. Discussions on ANNS Solvers
|
| 911 |
+
|
| 912 |
+
880
|
| 913 |
+
|
| 914 |
+
881
|
| 915 |
+
|
| 916 |
+
882
|
| 917 |
+
|
| 918 |
+
883
|
| 919 |
+
|
| 920 |
+
884
|
| 921 |
+
|
| 922 |
+
885
|
| 923 |
+
|
| 924 |
+
886
|
| 925 |
+
|
| 926 |
+
887
|
| 927 |
+
|
| 928 |
+
888
|
| 929 |
+
|
| 930 |
+
889
|
| 931 |
+
|
| 932 |
+
890
|
| 933 |
+
|
| 934 |
+
891
|
| 935 |
+
|
| 936 |
+
892
|
| 937 |
+
|
| 938 |
+
893
|
| 939 |
+
|
| 940 |
+
894
|
| 941 |
+
|
| 942 |
+
895
|
| 943 |
+
|
| 944 |
+
896
|
| 945 |
+
|
| 946 |
+
897
|
| 947 |
+
|
| 948 |
+
898
|
| 949 |
+
|
| 950 |
+
899
|
| 951 |
+
|
| 952 |
+
900
|
| 953 |
+
|
| 954 |
+
901
|
| 955 |
+
|
| 956 |
+
902
|
| 957 |
+
|
| 958 |
+
903
|
| 959 |
+
|
| 960 |
+
904
|
| 961 |
+
|
| 962 |
+
905
|
| 963 |
+
|
| 964 |
+
906
|
| 965 |
+
|
| 966 |
+
907
|
| 967 |
+
|
| 968 |
+
908
|
| 969 |
+
|
| 970 |
+
909
|
| 971 |
+
|
| 972 |
+
911912
|
| 973 |
+
|
| 974 |
+
913
|
| 975 |
+
|
| 976 |
+
914
|
| 977 |
+
|
| 978 |
+
915
|
| 979 |
+
|
| 980 |
+
916
|
| 981 |
+
|
| 982 |
+
917
|
| 983 |
+
|
| 984 |
+
918
|
| 985 |
+
|
| 986 |
+
919
|
| 987 |
+
|
| 988 |
+
921
|
| 989 |
+
|
| 990 |
+
922
|
| 991 |
+
|
| 992 |
+
923
|
| 993 |
+
|
| 994 |
+
924
|
| 995 |
+
|
| 996 |
+
925
|
| 997 |
+
|
| 998 |
+
926
|
| 999 |
+
|
| 1000 |
+
927
|
| 1001 |
+
|
| 1002 |
+
928
|
| 1003 |
+
|
| 1004 |
+
929
|
| 1005 |
+
|
| 1006 |
+
930
|
| 1007 |
+
|
| 1008 |
+
931
|
| 1009 |
+
|
| 1010 |
+
932
|
| 1011 |
+
|
| 1012 |
+
933
|
| 1013 |
+
|
| 1014 |
+
934
|
| 1015 |
+
|
| 1016 |
+
#### C.1.1. VECTOR QUANTIZATION
|
| 1017 |
+
|
| 1018 |
+
Quantization-based methods for ANNS have a long history. Representative approaches can be found in (Jégou et al., 2011; Ge et al., 2014; Babenko & Lempitsky, 2016; Guo et al., 2020a; Gao & Long, 2024; Gao et al., 2025). Here, we briefly introduce the basic idea of the most widely-used method, Product Quantization (PQ) (Jégou et al., 2011).
|
| 1019 |
+
|
| 1020 |
+
Let $\mathcal{D} \subset \mathbb{R}^d$ be a d-dimensional dataset and let $q \in \mathbb{R}^d$ be a query vector. PQ divides each data vector $x \in \mathcal{D}$ into L sub-vectors, i.e., $x = (x_1, x_2, \ldots, x_L)$ , where each sub-vector $x_j \in \mathbb{R}^{d'}$ has dimension d' = d/L. In this way, PQ constructs L subspaces of dimension d', each containing the corresponding sub-vectors of all data points.
|
| 1021 |
+
|
| 1022 |
+
In each subspace, every sub-vector is assigned to one of $2^k$ quantized sub-vectors. Equivalently, each sub-vector is represented by a sub-codeword of length k bits. The set of all sub-codewords in the j-th subspace is referred to as a codebook and is denoted by $\mathcal{C}_j$ . By concatenating the sub-codewords across all subspaces, each original vector is represented by a codeword of length kL, taking values in the Cartesian product $\mathcal{C}_1 \times \cdots \times \mathcal{C}_L$ .
|
| 1023 |
+
|
| 1024 |
+
During the query phase, PQ first computes the distances between the query $\boldsymbol{q}$ and all quantized sub-vectors in each subspace. For each data vector $\boldsymbol{x}$ , PQ then sums the corresponding L subspace distances to obtain an approximate distance between $\boldsymbol{x}$ and $\boldsymbol{q}$ . After computing the approximate distances for all data vectors, PQ ranks them accordingly and returns the most promising candidates.
|
| 1025 |
+
|
| 1026 |
+
### C.1.2. SIMILARITY GRAPH
|
| 1027 |
+
|
| 1028 |
+
The workflow of graph-based methods is roughly as follows. In the indexing phase, a similarity graph is constructed as the index structure, where data points serve as nodes and edges connect pairs of nearby nodes. A search can move directly from one node to another only if an edge exists between them. In the query phase, the node with the highest priority in a priority queue is selected, and all of its connected neighbors are visited. During this process, the priority queue is updated whenever a node closer to the query is discovered. The search ends when all nodes in the priority queue have been visited. Finally, the top-K points in the priority queue are returned.
|
| 1029 |
+
|
| 1030 |
+
Among various graph-based methods, HNSW (Malkov & Yashunin, 2020) is a notable one that employs a multi-layer hierarchical structure to achieve rapid routing. NSG (Fu et al., 2019) optimizes the graph topology to ensure the existence of monotonic paths towards a central entry point, thereby enhancing search efficiency. Vamana, which was introduced along with DiskANN (Subramanya et al., 2019), iteratively refines a random graph into a high-performance graph struc-
|
| 1031 |
+
|
| 1032 |
+
ture. Despite their structural differences, these methods converge on a similar edge selection criterion, namely **RobustPrune**, which prioritizes directional diversity over simple proximity to ensure efficient navigation through high-dimensional space.
|
| 1033 |
+
|
| 1034 |
+
In addition to the three graphs mentioned above, many graph-based methods have been proposed recently (Lu et al., 2021; Gao & Long, 2023; Xie et al., 2025; Wang et al., 2025b). Despite different designs, most of them rely on existing graphs, such as HNSW.
|
| 1035 |
+
|
| 1036 |
+
#### C.1.3. QUANTIZED GRAPH
|
| 1037 |
+
|
| 1038 |
+
As stated in the main body of this paper, QG can achieve high performance on some datasets for small values of K, and in certain cases can be $4 \times -10 \times$ faster than HNSW. However, such improvement is often not robust and suffers from several limitations: (1) Sensitivity to data distribution. The effectiveness of QG relies on the assumption that the ranking induced by quantized distances is sufficiently close to the ranking under the original distances. Unfortunately, this assumption often does not hold, especially for many modern real-world datasets where semantic embeddings are increasingly complex. (2) **Sensitivity to** K. As K increases, the performance of QG degrades significantly. When K reaches the thousand scale, QG generally has no significant advantage over HNSW. (3) Very large space cost. To improve the accuracy of QG, more bits are required to represent the quantized vectors. As a result, the memory consumption of QG is typically at least $2 \times$ larger than HNSW, compromising the use of QG for large datasets.
|
| 1039 |
+
|
| 1040 |
+
#### C.2. Preliminaries of Routing Test
|
| 1041 |
+
|
| 1042 |
+
#### C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION
|
| 1043 |
+
|
| 1044 |
+
Because the norms can be pre-computed, estimating the $\ell_2$ distance is equivalent to estimating the cosine of the angle between vectors. In high-dimensional Euclidean spaces, angle estimation via random-projection techniques has been extensively studied, with Locality Sensitive Hashing (LSH) (Indyk & Motwani, 1998; Andoni & Indyk, 2005; 2008) being one of the most influential approaches. Among various LSH methods, SimHash (Charikar, 2002) is a representative one. Its core idea is to generate multiple random hyperplanes that partition the space into cells, so that vectors falling into the same cell are likely to form a small angle with each other. Subsequent studies have proposed more refined strategies for angular distance estimation. In particular, Andoni et al. (2015) introduced Falconn, an LSH method that identifies the projection vector yielding the largest or smallest projection value for a given data vector and uses the corresponding projection index as the hash value. This design leads to substantially improved search performance compared to SimHash. Building on this idea, Pham (2021) further incorporated Con-
|
| 1045 |
+
|
| 1046 |
+
{17}------------------------------------------------
|
| 1047 |
+
|
| 1048 |
+
<span id="page-17-1"></span>
|
| 1049 |
+
|
| 1050 |
+
936
|
| 1051 |
+
|
| 1052 |
+
937
|
| 1053 |
+
|
| 1054 |
+
938939
|
| 1055 |
+
|
| 1056 |
+
940
|
| 1057 |
+
|
| 1058 |
+
941 942
|
| 1059 |
+
|
| 1060 |
+
943
|
| 1061 |
+
|
| 1062 |
+
944945946
|
| 1063 |
+
|
| 1064 |
+
947
|
| 1065 |
+
|
| 1066 |
+
948
|
| 1067 |
+
|
| 1068 |
+
949950
|
| 1069 |
+
|
| 1070 |
+
951
|
| 1071 |
+
|
| 1072 |
+
952
|
| 1073 |
+
|
| 1074 |
+
953
|
| 1075 |
+
|
| 1076 |
+
954
|
| 1077 |
+
|
| 1078 |
+
955
|
| 1079 |
+
|
| 1080 |
+
956
|
| 1081 |
+
|
| 1082 |
+
957
|
| 1083 |
+
|
| 1084 |
+
958
|
| 1085 |
+
|
| 1086 |
+
959
|
| 1087 |
+
|
| 1088 |
+
960
|
| 1089 |
+
|
| 1090 |
+
961
|
| 1091 |
+
|
| 1092 |
+
962
|
| 1093 |
+
|
| 1094 |
+
963
|
| 1095 |
+
|
| 1096 |
+
964
|
| 1097 |
+
|
| 1098 |
+
965
|
| 1099 |
+
|
| 1100 |
+
966
|
| 1101 |
+
|
| 1102 |
+
967
|
| 1103 |
+
|
| 1104 |
+
968
|
| 1105 |
+
|
| 1106 |
+
969
|
| 1107 |
+
|
| 1108 |
+
970
|
| 1109 |
+
|
| 1110 |
+
971
|
| 1111 |
+
|
| 1112 |
+
972
|
| 1113 |
+
|
| 1114 |
+
973
|
| 1115 |
+
|
| 1116 |
+
974
|
| 1117 |
+
|
| 1118 |
+
975
|
| 1119 |
+
|
| 1120 |
+
976
|
| 1121 |
+
|
| 1122 |
+
977
|
| 1123 |
+
|
| 1124 |
+
978
|
| 1125 |
+
|
| 1126 |
+
979
|
| 1127 |
+
|
| 1128 |
+
980
|
| 1129 |
+
|
| 1130 |
+
981
|
| 1131 |
+
|
| 1132 |
+
982
|
| 1133 |
+
|
| 1134 |
+
983
|
| 1135 |
+
|
| 1136 |
+
984
|
| 1137 |
+
|
| 1138 |
+
985
|
| 1139 |
+
|
| 1140 |
+
986
|
| 1141 |
+
|
| 1142 |
+
987
|
| 1143 |
+
|
| 1144 |
+
988
|
| 1145 |
+
|
| 1146 |
+
989
|
| 1147 |
+
|
| 1148 |
+
Figure 11. DataCompDr data (sampled 50,000 vectors) and query (1,000 vectors) distributions.
|
| 1149 |
+
|
| 1150 |
+
comitants of Extreme Order Statistics (CEOs) to explicitly identify the projection achieving the maximum or minimum inner product with the data vector, and to record the associated extreme projected value. By exploiting this additional information beyond a discrete hash value, a more accurate estimation of angular distance can be achieved (Pham & Liu, 2022).
|
| 1151 |
+
|
| 1152 |
+
#### C.2.2. ROUTING TEST IN SIMILARITY GRAPHS
|
| 1153 |
+
|
| 1154 |
+
Due to its simplicity and ease of implementation, CEOs has been adopted in a variety of similarity search tasks (Pham, 2021; Andoni et al., 2015; Xu & Pham, 2024). Beyond standalone similarity estimation, CEOs has also been leveraged to accelerate similarity graphs, which constitute one of the most effective structures for ANNS. By swapping the roles of the query and data vectors in the original CEOs formulation, Lu et al. (2024) developed a space-partitioning technique and proposed the PEOs test. This test enables probabilistic comparisons between the objective angle and a fixed threshold, and has been integrated into the routing procedures of similarity graphs. Specifically, for every visited node u, we send all the out-neighbors of u to PEOs. Only the exact distances between q and the nodes that pass the PEOs test are computed. In the experiments of (Lu et al., 2024), only around 25% nodes can pass the PEOs test. As a result, substantial improvements in search performance brought by PEOs were reported over similarity graphs such as HNSW (Malkov & Yashunin, 2020) and NSSG (Fu et al., 2022). More recently, Lu et al. (2025) proposed a new test function, KS2, which achieves higher test accuracy while maintaining a shorter test time compared with PEOs. KS2 employs a projection structure similar to that of PEOs, but additionally incorporates the reference angle into the testing procedure. Lu et al. (2025) further showed that, without introducing additional assumptions, the test guarantees a success probability of at least 0.5 when deciding whether the exact distance between the objective node and q should be evaluated.
|
| 1155 |
+
|
| 1156 |
+
*Table 4.* PAG parameter settings.
|
| 1157 |
+
|
| 1158 |
+
<span id="page-17-2"></span>
|
| 1159 |
+
|
| 1160 |
+
| Dataset | PAG-Base $(efC, M, L)$ | PAG-Lite $(efC, M, L)$ | | | | | |
|
| 1161 |
+
|----------------------------|-----------------------------------|---------------------------------|--|--|--|--|--|
|
| 1162 |
+
| Modern Datasets | | | | | | | |
|
| 1163 |
+
| DBpedia1536<br>DBpedia3072 | (1000, 32, 128)<br>(1000, 32, 64) | (100, 32, 128)<br>(100, 32, 64) | | | | | |
|
| 1164 |
+
| WoltFood | (2000, 128, 64) | (100, 32, 04)<br>(100, 64, 32) | | | | | |
|
| 1165 |
+
| DataCompDr<br>AmazonBooks | (1000, 32, 64)<br>(2000, 64, 64) | (100, 32, 64)<br>(100, 64, 32) | | | | | |
|
| 1166 |
+
| MajorTOM | (1000, 32, 64) | (100, 04, 32) $(100, 16, 64)$ | | | | | |
|
| 1167 |
+
| Legacy Datasets | | | | | | | |
|
| 1168 |
+
| Word2Vec | (8000, 64, 32) | (200, 64, 32) | | | | | |
|
| 1169 |
+
| GIST | (1000, 64, 96) | (64, 32, 96) | | | | | |
|
| 1170 |
+
| GloVe | (2000, 64, 32) | (100, 32, 32) | | | | | |
|
| 1171 |
+
| ImageNet | (2000, 64, 16) | (200, 16, 16) | | | | | |
|
| 1172 |
+
| SIFT10M | (1000, 32, 16) | (100, 16, 16) | | | | | |
|
| 1173 |
+
| DEEP100M | (1000, 32, 16) | (100, 16, 16) | | | | | |
|
| 1174 |
+
|
| 1175 |
+
### <span id="page-17-0"></span>**D. Experimental Setup Details**
|
| 1176 |
+
|
| 1177 |
+
#### **D.1. Environment**
|
| 1178 |
+
|
| 1179 |
+
All experiments were conducted on a machine equipped with an Intel Xeon Platinum 8276L CPU, which supports AVX-512 instructions and provides 112 hardware threads. The system was configured with 754 GB of DDR4 ECC memory and runs Ubuntu 22.04. For indexing, all 112 threads were used, while search was performed using a single CPU thread, in line with the standard setting in ANN-Benchmarks (Bernhardsson et al., 2015).
|
| 1180 |
+
|
| 1181 |
+
#### D.2. Baselines
|
| 1182 |
+
|
| 1183 |
+
#### D.2.1. SELECTION OF BASELINES
|
| 1184 |
+
|
| 1185 |
+
For quantization-based methods, we choose IVF-PQFS (Jégou et al., 2011), ScaNN (Guo et al., 2020a), and RabitQ+ (Gao et al., 2025) as baselines, where RabitQ+ (Gao et al., 2025) is an improved version of RabitQ (Gao & Long, 2024). For graph-based methods, we choose HNSW (Malkov & Yashunin, 2020), Vamana (Subramanya et al., 2019), and SymphonyQG (Gou et al., 2025), where SymphonyQG has shown its superiority over LVQ (Aguerrebere et al., 2023) and NGT-QG (Yahoo! Japan, 2023). On the other hand, HNSW+KS2 (Lu et al., 2025) has been shown to perform better than HNSW+PEOs (Lu et al., 2024), and KS2 can be approximately viewed as our PRT without TFB, modulo threshold-setting differences. Thus, for a fair comparison, we re-implement the KS2 component within our framework and report results for PAG versus PRT only in our ablation study.
|
| 1186 |
+
|
| 1187 |
+
### D.2.2. PARAMETER SETTING
|
| 1188 |
+
|
| 1189 |
+
For graph-based methods, we used large graph construction parameters to ensure their best search performance. To ensure a fair comparison of indexing time, the efC parameter in PAG-Base was set to a similar or even larger value than HNSW.
|
| 1190 |
+
|
| 1191 |
+
{18}------------------------------------------------
|
| 1192 |
+
|
| 1193 |
+
<span id="page-18-0"></span>
|
| 1194 |
+
|
| 1195 |
+
<span id="page-18-1"></span>Figure 12. QPS-recall of PAG-Base under varying space partition size L, K = 100. M and efC values are given in Table 4, PAG-Base.
|
| 1196 |
+
|
| 1197 |
+

|
| 1198 |
+
|
| 1199 |
+
Figure 13. Indexing time and peak memory usage of PAG-Base under varying space partition size $L.\ M$ and efC values are given in Table 4, PAG-Base.
|
| 1200 |
+
|
| 1201 |
+
<span id="page-18-2"></span>
|
| 1202 |
+
|
| 1203 |
+
Figure 14. QPS-recall of PAG-Base under varying (M, efC), K = 100. L values are given in Table 4, PAG-Base.
|
| 1204 |
+
|
| 1205 |
+

|
| 1206 |
+
|
| 1207 |
+
Figure 15. Indexing time and peak memory usage of PAG-Base under varying (M, efC). L values are given in Table 4, PAG-Base.
|
| 1208 |
+
|
| 1209 |
+
(1) **HNSW**: efC=1024. M=32. The only exception is MajorTOM, where efC=512 due to the long indexing time on this dataset.
|
| 1210 |
+
|
| 1211 |
+
<span id="page-18-3"></span>
|
| 1212 |
+
|
| 1213 |
+
- (2) **Vamana**: By default, R=64. L=1024. $\alpha=1.2$ . For better QPS-recall performance on MajorTOM and DEEP100M, we choose R=100 and L=250 on MajorTOM, and R=110 and L=200 on DEEP100M.
|
| 1214 |
+
- (3) **SymQG**: efC = 1024. There are two options for the degree, 32 and 64, resulting in two baselines, SymQG (32)
|
| 1215 |
+
|
| 1216 |
+
- and SymQG (64).
|
| 1217 |
+
- (4) **ScaNN**: We adopt the recommended settings from its GitHub repository (Guo et al., 2020b).
|
| 1218 |
+
- (5) **RabitQ+**: Following the same setting as in (Gao et al., 2025), $b=8.\ k=16,384$ for DataCompDr and 4096 for the other datasets.
|
| 1219 |
+
- (6) **IVFPQFS**: We test combinations of $nlist \in \{1024, 4096, 16384\}, k_-factor \in \{64, 128, 256\}, and$
|
| 1220 |
+
|
| 1221 |
+
{19}------------------------------------------------
|
| 1222 |
+
|
| 1223 |
+
M candidates ∈ [48, 384]. A combination is chosen for good QPS-recall performance on each dataset.
|
| 1224 |
+
|
| 1225 |
+
(7) PAG: PAG has two versions, PAG-Base and PAG-Lite. Their parameter settings are listed in Table [4.](#page-17-2) Users can adjust the values of efC, M, and L by taking into account the indexing time, memory footprint, and search efficiency.
|
| 1226 |
+
|
| 1227 |
+
other three datasets. PAG-Base also uses less memory than SymQG. The QPS-recall performance of PAG-Lite is generally better than HNSW and Vamana. Meanwhile, PAG-Lite achieves the smallest indexing time, and is competitive in memory footprint.
|
| 1228 |
+
|
| 1229 |
+
## <span id="page-19-0"></span>E. Additional Experimental Results
|
| 1230 |
+
|
| 1231 |
+
## E.1. Effect of Space Partition Size L
|
| 1232 |
+
|
| 1233 |
+
1054
|
| 1234 |
+
|
| 1235 |
+
1056
|
| 1236 |
+
|
| 1237 |
+
1074 1075 1076
|
| 1238 |
+
|
| 1239 |
+
From the QPS-recall results in Fig. [12,](#page-18-0) we can see that, within a moderate range, increasing L leads to better search performance, at the cost of a higher memory footprint. As shown in Fig. [13](#page-18-1) (left), larger L values also results in longer indexing time, due to the faster search speed for each inserted vector. On the other hand, this causes a moderately larger index size, which is reflected in the memory footprint reported in Fig. [13](#page-18-1) (middle and right). As analyzed in Appendix [B,](#page-14-0) L = √ d is an appropriate choice.
|
| 1240 |
+
|
| 1241 |
+
### E.2. Effect of M and efC
|
| 1242 |
+
|
| 1243 |
+
We vary parameters M and efC and plot the QPS-recall in Fig. [14.](#page-18-2) Larger M and efC value result in faster query processing speed, and the advantage is more remarkable when users require high recall values. As shown in Fig. [15,](#page-18-3) increasing M and efC generally leads to more indexing time as well as larger memory footprint. This is expected, because they control the out-degree and the number of nodes visited for each insertion. The only exception is DataCompDr, where a largerM does not necessarily mean a slower indexing speed. This is because the search speed for each inserted vector is accelerated despite a larger out-degree.
|
| 1244 |
+
|
| 1245 |
+
### <span id="page-19-1"></span>E.3. Evaluation on Additional Legacy Datasets
|
| 1246 |
+
|
| 1247 |
+
We report the results on four additional legacy datasets, Word2Vec, ImageNet, GIST, and SIFT10M, which are commonly used for ANNS evaluation. Figs. [16,](#page-20-0) [17,](#page-20-2) and [18](#page-20-1) show the QPS-recall performances when K = 10, 100, and 1000. Fig. [19](#page-20-3) shows the indexing time and memory footprint. From the results in figures, we have the following observations. PAG-Base maintains its competitiveness in QPS-recall performance, as we have witnessed in the experiments on other datasets. On Word2Vec and ImageNet, where graph-based methods and SymQG struggle to achieve high recalls, PAG-Base has a significant advantage in QPS. On GIST and SIFT10M, SymQG performs better than PAG-Base in QPS when K = 10 and K = 100, because the two datasets are sparse and well-suited for vector quantization. When K = 1000, PAG-Base outperforms SymQG by a large margin. For indexing speed, PAG-Base is slower than graphbased methods and SymQG on Word2Vec but is faster on the
|
| 1248 |
+
|
| 1249 |
+
{20}------------------------------------------------
|
| 1250 |
+
|
| 1251 |
+
<span id="page-20-3"></span>
|
| 1252 |
+
|
| 1253 |
+
<span id="page-20-0"></span>
|
| 1254 |
+
|
| 1255 |
+
Figure 16. QPS-recall on additional legacy datasets, K = 10.
|
| 1256 |
+
|
| 1257 |
+
<span id="page-20-2"></span>
|
| 1258 |
+
|
| 1259 |
+
Figure 17. QPS-recall on additional legacy datasets, K = 100.
|
| 1260 |
+
|
| 1261 |
+
<span id="page-20-1"></span>
|
| 1262 |
+
|
| 1263 |
+
Figure 18. QPS-recall on additional legacy datasets, K = 1000.
|
| 1264 |
+
|
| 1265 |
+

|
| 1266 |
+
|
| 1267 |
+
Figure 19. Indexing time and peak memory usage on additional legacy datasets.
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/parse_report.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a",
|
| 3 |
+
"pipeline": "marker_non_llm_v3",
|
| 4 |
+
"parser": "marker_single",
|
| 5 |
+
"formats": [
|
| 6 |
+
"markdown",
|
| 7 |
+
"chunks"
|
| 8 |
+
],
|
| 9 |
+
"llm_enabled": false,
|
| 10 |
+
"pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/icml26_20260429_1952_duequeue/raw/fddf30e3-e5ae-4a68-b862-daa6e531883a.pdf",
|
| 11 |
+
"pdf_sha256": "15021f7c646ce073fe3d5fd887e0f4e33d0febe90e847f19d95d66051d4d69f3",
|
| 12 |
+
"bytes": 2161547,
|
| 13 |
+
"source": "https://koala.science/storage/pdfs/fddf30e3-e5ae-4a68-b862-daa6e531883a.pdf",
|
| 14 |
+
"page_count": 21,
|
| 15 |
+
"ok": true,
|
| 16 |
+
"elapsed_seconds": 238.3,
|
| 17 |
+
"paper2markdown_v3": {
|
| 18 |
+
"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a",
|
| 19 |
+
"pipeline": "Paper2Markdown-V3",
|
| 20 |
+
"ok": true,
|
| 21 |
+
"page_count": 21,
|
| 22 |
+
"chunk_count": 248,
|
| 23 |
+
"main_body_chunk_count": 108,
|
| 24 |
+
"appendix_chunk_count": 106,
|
| 25 |
+
"reference_chunk_count": 34,
|
| 26 |
+
"model_text_chars": 48048,
|
| 27 |
+
"raw_markdown_chars": 97707,
|
| 28 |
+
"sanitized_chars": 88522,
|
| 29 |
+
"page_provenance": {
|
| 30 |
+
"min_page": 1,
|
| 31 |
+
"max_page": 21,
|
| 32 |
+
"invalid_count": 0
|
| 33 |
+
},
|
| 34 |
+
"marker_block_type_counts": {
|
| 35 |
+
"Caption": 2,
|
| 36 |
+
"Code": 1,
|
| 37 |
+
"Equation": 42,
|
| 38 |
+
"Figure": 2,
|
| 39 |
+
"FigureGroup": 16,
|
| 40 |
+
"Footnote": 5,
|
| 41 |
+
"ListGroup": 10,
|
| 42 |
+
"PageFooter": 21,
|
| 43 |
+
"PageHeader": 23,
|
| 44 |
+
"SectionHeader": 47,
|
| 45 |
+
"TableGroup": 3,
|
| 46 |
+
"Text": 716
|
| 47 |
+
},
|
| 48 |
+
"asset_count_raw": 18,
|
| 49 |
+
"asset_count_model_kept": 18,
|
| 50 |
+
"asset_count_rejected": 0,
|
| 51 |
+
"asset_reject_reasons": {
|
| 52 |
+
"kept": 18
|
| 53 |
+
},
|
| 54 |
+
"artifact_leak_audit": {
|
| 55 |
+
"ok": true,
|
| 56 |
+
"hits": {
|
| 57 |
+
"Anonymous Authors": [],
|
| 58 |
+
"ACKNOWLEDGMENT": [],
|
| 59 |
+
"OpenReview": [],
|
| 60 |
+
"\"accept_label\"": [],
|
| 61 |
+
"\"decision\"": [],
|
| 62 |
+
"\"decision_tier\"": [],
|
| 63 |
+
"\"source_status\"": [],
|
| 64 |
+
"Meta-review": [],
|
| 65 |
+
"Official Review": [],
|
| 66 |
+
"official_reviews": [],
|
| 67 |
+
"meta_reviews": [],
|
| 68 |
+
"suggested_verdict_score": []
|
| 69 |
+
},
|
| 70 |
+
"artifact_count": 2
|
| 71 |
+
},
|
| 72 |
+
"default_model_input": "model_text_v3.txt",
|
| 73 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 74 |
+
"reference_input": "reference_text_v3.txt"
|
| 75 |
+
}
|
| 76 |
+
}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/reference_chunks.jsonl
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0108", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "Aguerrebere, C., Bhati, I., Hildebrand, M., Tepper, M., and Willke, T. L. Similarity search in the blink of an eye with compressed indices. PVLDB , 16(11):3433–3446, 2023.", "source": "marker_v2", "marker_block_id": "/page/9/Text/9"}
|
| 2 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0109", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>4</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/14"}
|
| 3 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0110", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>3</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/15"}
|
| 4 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0111", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>2</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/16"}
|
| 5 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0112", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>1</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/17"}
|
| 6 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0113", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10", "source": "marker_v2", "marker_block_id": "/page/10/Text/19"}
|
| 7 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0114", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>3</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/20"}
|
| 8 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0115", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>2</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/21"}
|
| 9 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0116", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10", "source": "marker_v2", "marker_block_id": "/page/10/Text/22"}
|
| 10 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0117", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10", "source": "marker_v2", "marker_block_id": "/page/10/Text/24"}
|
| 11 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0118", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10", "source": "marker_v2", "marker_block_id": "/page/10/Text/25"}
|
| 12 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0119", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10", "source": "marker_v2", "marker_block_id": "/page/10/Text/26"}
|
| 13 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0120", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "10<sup>1</sup>", "source": "marker_v2", "marker_block_id": "/page/10/Text/27"}
|
| 14 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0121", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Recall (%) WoltFood (K=800)", "source": "marker_v2", "marker_block_id": "/page/10/Text/18"}
|
| 15 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0122", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "AmazonBooks (K=800)", "source": "marker_v2", "marker_block_id": "/page/10/Text/23"}
|
| 16 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0123", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Recall (%) DEEP100M (K=800)", "source": "marker_v2", "marker_block_id": "/page/10/Text/28"}
|
| 17 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0124", "section": "References", "page_start": 11, "page_end": 11, "type": "FigureGroup", "text": "Figure 7. QPS-recall comparison of PAG-Base and SymQG under varying retrieval size K.", "source": "marker_v2", "marker_block_id": "/page/10/FigureGroup/266"}
|
| 18 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0125", "section": "References", "page_start": 11, "page_end": 11, "type": "FigureGroup", "text": "Figure 8. QPS-recall of query workloads with online insertions.", "source": "marker_v2", "marker_block_id": "/page/10/FigureGroup/267"}
|
| 19 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0126", "section": "References", "page_start": 11, "page_end": 11, "type": "FigureGroup", "text": "Figure 9. Ablation study, QPS-recall. PRT only is the re-implementation of KS2 in PAG.", "source": "marker_v2", "marker_block_id": "/page/10/FigureGroup/268"}
|
| 20 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0127", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Andoni, A. and Indyk, P. E2lsh manual. mit.edu/andoni/www/LSH, 2005.", "source": "marker_v2", "marker_block_id": "/page/10/Text/7"}
|
| 21 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0128", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Andoni, A. and Indyk, P. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Commun. ACM, 51(1):117–122, 2008.", "source": "marker_v2", "marker_block_id": "/page/10/Text/8"}
|
| 22 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0129", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Andoni, A., Indyk, P., Laarhoven, T., Razenshteyn, I. P., and Schmidt, L. Practical and optimal LSH for angular distance. In NeurIPS, pp. 1225-1233, 2015.", "source": "marker_v2", "marker_block_id": "/page/10/Text/9"}
|
| 23 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0130", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Apple. Datacompdr-12m. co/datasets/apple/DataCompDR-12M, 2025.", "source": "marker_v2", "marker_block_id": "/page/10/Text/10"}
|
| 24 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0131", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Babenko, A. and Lempitsky, V. S. Efficient indexing of billion-scale datasets of deep descriptors. In CVPR, pp. 2055–2063, 2016.", "source": "marker_v2", "marker_block_id": "/page/10/Text/11"}
|
| 25 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0132", "section": "References", "page_start": 11, "page_end": 11, "type": "Text", "text": "Bentley, J. L. K-d trees for semidynamic point sets. In SoCG, pp. 187-197, 1990.", "source": "marker_v2", "marker_block_id": "/page/10/Text/12"}
|
| 26 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0133", "section": "References", "page_start": 12, "page_end": 12, "type": "Caption", "text": "Figure 10. Ablation study, indexing time. PRT only is the reimplementation of KS2 in PAG.", "source": "marker_v2", "marker_block_id": "/page/11/Caption/2"}
|
| 27 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0134", "section": "References", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Bernhardsson, E. Annoy. 2013. Bernhardsson, E., Aumüller, M., and Faithfull, A. Ann benchmarks. 2015. Beygelzimer, A., Kakade, S. M., and Langford, J. Cover trees for nearest neighbor. In ICML , volume 148, pp. 97–104, 2006. Charikar, M. Similarity estimation techniques from rounding algorithms. In STOC , pp. 380–388, 2002. Chen, P. H., Chang, W., Jiang, J., Yu, H., Dhillon, I. S., and Hsieh, C. FINGER: fast inference for graph-based approximate nearest neighbor search. In WWW , pp. 3225–3235, 2023. Chen, T., Fu, C., Wu, J., Wu, H., Fan, H., Ke, X., Gao, Y., Ni, Y., and Zeng, A. Reveal hidden pitfalls and navigate next generation of vector similarity search from task-centric views. arXiv preprint arXiv:2512.12980 , 2025. URL Cheng, R., Peng, Y., Wei, X., Xie, H., Chen, R., Shen, S., and Chen, H. Characterizing the dilemma of performance and index size in billion-scale vector search and breaking it with second-tier memory. arXiv preprint arXiv:2405.03267 , 2024. URL Fensore, C., Dhole, K. D., Ho, J. C., and Agichtein, E. Evaluating hybrid retrieval augmented generation using dynamic test sets: Liverag challenge. CoRR , abs/2506.22644, 2025. URL Fu, C., Xiang, C., Wang, C., and Cai, D. Fast approximate nearest neighbor search with the navigating spreading-out graph. PVLDB , 12(5):461–474, 2019. Fu, C., Wang, C., and Cai, D. High dimensional similarity search with satellite system graph: Efficiency, scalability, and unindexed query compatibility. IEEE Trans. Pattern Anal. Mach. Intell. , 44(8):4139–4150, 2022.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/423"}
|
| 28 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0135", "section": "References", "page_start": 12, "page_end": 12, "type": "ListGroup", "text": "Gao, J. and Long, C. High-dimensional approximate nearest neighbor search: with reliable and efficient distance comparison operations. Proc. ACM Manag. Data , 1(2): 137:1–137:27, 2023. Gao, J. and Long, C. Rabitq: Quantizing high-dimensional vectors with a theoretical error bound for approximate nearest neighbor search. Proc. ACM Manag. Data , 2(3): 167, 2024. Gao, J., Gou, Y., Xu, Y., Yang, Y., Long, C., and Wong, R. C. Practical and asymptotically optimal quantization of highdimensional vectors in euclidean space for approximate nearest neighbor search. Proc. ACM Manag. Data , 3(3): 202:1–202:26, 2025. Ge, T., He, K., Ke, Q., and Sun, J. Optimized product quantization. IEEE Trans. Pattern Anal. Mach. Intell , 36(4): 744–755, 2014. Gou, Y., Gao, J., Xu, Y., and Long, C. Symphonyqg: Towards symphonious integration of quantization and graph for approximate nearest neighbor search. Proc. ACM Manag. Data , 3(1):80:1–80:26, 2025. Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. Accelerating large-scale inference with anisotropic vector quantization. In ICML , pp. 3887–3896, 2020a. Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. ScaNN algorithms and configuration. 2020b. Indyk, P. and Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In STOC , pp. 604–613, 1998. Jégou, H., Douze, M., and Schmid, C. Product quantization for nearest neighbor search. IEEE Trans. Pattern Anal. Mach. Intell , 33(1):117–128, 2011. Kang, G., Ge, Z., Hu, J., Zhang, X., Wang, L., and Zhan, J. Bigvectorbench. BenchCouncil/BigVectorBench, 2024. Ke, Y. et al. Retrieval augmented generation for 10 large language models and its generalizability in assessing medical fitness. npj Digit. Medicine , 8(1), 2025. Lazebnik, S., Schmid, C., and Ponce, J. Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories. In CVPR , volume 2, pp. 2169–2178, 2006.", "source": "marker_v2", "marker_block_id": "/page/11/ListGroup/424"}
|
| 29 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0136", "section": "References", "page_start": 13, "page_end": 13, "type": "Text", "text": "660 661 662 663 664 665 666 Li, A. and Papakonstantinou, Y. ScaNN for AlloyDB: The first PostgreSQL vector search index that works well from millions to billion of vectors. products/databases/how-scann-for alloydb-vector-search-compares-to pgvector-hnsw , 2025.", "source": "marker_v2", "marker_block_id": "/page/12/Text/517"}
|
| 30 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0137", "section": "References", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "Lin, J. Operational advice for dense and sparse retrievers: Hnsw, flat, or inverted indexes? In Proceedings of the 63rd Annual Meeting of the Association for Computational Lin guistics (Volume 6: Industry Track) , pp. 865–872, 2025. Lowe, D. G. Distinctive image features from scale-invariant keypoints. International Journal of Computer Vision , 60 (2):91–110, 2004. Lu, K., Kudo, M., Xiao, C., and Ishikawa, Y. Hvs: Hierarchical graph structure based on voronoi diagrams for solving approximate nearest neighbor search. PVLDB , 15 (2):246–258, 2021. Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic routing for graph-based approximate nearest neighbor search. In ICML , pp. 33177–33195, 2024. Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic kernel function for fast angle testing. arXiv preprint arXiv:2505.20274 , 2025. URL org/abs/2505.20274 . Major TOM. Core-s2rgb-dinov2. https: //huggingface.co/datasets/Major- TOM/Core-S2RGB-DINOv2 , 2024. Malkov, Y. A. and Yashunin, D. A. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Trans. Pattern Anal. Mach. Intell , 42(4):824–836, 2020. Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. Distributed representations of words and phrases and their compositionality. In NeurIPS , pp. 3111–3119, 2013. Oliva, A. and Torralba, A. Modeling the shape of the scene: A holistic representation of the spatial envelope. Interna tional Journal of Computer Vision , 42(3):145–175, 2001. OpenAI. text-embedding-3-large. https:// platform.openai.com/docs/models/text embedding-3-large , 2024. Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., et al. Dinov2: Learning robust visual features without supervision. Trans. Mach. Learn. Res. , 2024.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/515"}
|
| 31 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0138", "section": "References", "page_start": 13, "page_end": 13, "type": "ListGroup", "text": "Ouyang, S. et al. ReasoningBank: Scaling agent selfevolving with reasoning memory. arXiv preprint arXiv:2509.25140 , 2025. URL org/abs/2509.25140v1 . Pennington, J., Socher, R., and Manning, C. D. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP) , pp. 1532–1543, 2014. Pham, N. Simple yet efficient algorithms for maximum inner product search via extreme order statistics. In KDD , pp. 1339–1347, 2021. Pham, N. and Liu, T. Falconn++: A locality-sensitive filtering approach for approximate nearest neighbor search. In NeurIPS , pp. 31186–31198, 2022. Qdrant. dbpedia-entities-openai3-text-embedding-3 large-1536-1m. datasets/Qdrant/dbpedia-entities openai3-text-embedding-3-large-1536- 1M , 2024a. Qdrant. dbpedia-entities-openai3-text-embedding-3 large-3072-1m. datasets/Qdrant/dbpedia-entities openai3-text-embedding-3-large-3072- 1M , 2024b. Qdrant. wolt-food-clip-vit-b-32-embeddings. https:// huggingface.co/datasets/Qdrant/wolt food-clip-ViT-B-32-embeddings , 2024c. Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In ICML , pp. 8748–8763, 2021. Simhadri, H. V., Williams, G., Aumuller, M., Douze, M., ¨ Babenko, A., Baranchuk, D., Chen, Q., Hosseini, L., Krishnaswamny, R., Srinivasa, G., et al. Billion-scale approximate nearest neighbor search challenge: Neurips'21 competition track. com/neurips21.html , 2021. Subramanya, S. J., Devvrit, F., Simhadri, H. V., Krishnaswamy, R., and Kadekodi, R. Rand-nsg: Fast accurate billion-point nearest neighbor search on a single node. In NeurIPS , pp. 13748–13758, 2019. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. Going deeper with convolutions. In CVPR , pp. 1–9, 2015. The Similarity Search Team, CUHK. FVECS datasets. hash/gqr/datasets.html , 2018.", "source": "marker_v2", "marker_block_id": "/page/12/ListGroup/516"}
|
| 32 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0139", "section": "References", "page_start": 14, "page_end": 14, "type": "Text", "text": "716 718 Vendrow, E., Pantazis, O., Shepard, A., Brostow, G., Jones, K., Mac Aodha, O., Beery, S., and Van Horn, G. Inquire: A natural world text-to-image retrieval benchmark. NeurIPS , 37:126500–126514, 2024.", "source": "marker_v2", "marker_block_id": "/page/13/Text/339"}
|
| 33 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0140", "section": "References", "page_start": 14, "page_end": 14, "type": "ListGroup", "text": "Wallace, J. A. How hierarchical navigable small world (HNSW) algorithms can improve search. algorithms-can-improve-search/?utm_ source=chatgpt.com , 2025. Wang, H., Wu, W., Luo, C., Bian, A., Meng, C., Wu, Y., and Sun, J. Boosting accuracy and efficiency for vector retrieval with local scaling graph. In ICDE , pp. 336–348, 2025a. Wang, J., Zhang, T., Song, J., Sebe, N., and Shen, H. T. A survey on learning to hash. IEEE Trans. Pattern Anal. Mach. Intell. , 40(4):769–790, 2018. Wang, M., Wu, H., Ke, X., Gao, Y., Zhu, Y., and Zhou, W. Accelerating graph indexing for ANNS on modern cpus. Proc. ACM Manag. Data , 3(3):123:1–123:29, 2025b. Wang, W., Wei, F., Dong, L., Bao, H., Yang, N., and Zhou, M. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In NeurIPS , pp. 5776–5788, 2020. Weller, O., Boratko, M., Naim, I., and Lee, J. On the theoretical limitations of embedding-based retrieval. CoRR , abs/2508.21038, 2025. URL abs/2508.21038 . Xie, J., Yu, J. X., and Liu, Y. Graph based k-nearest neighbor search revisited. ACM Trans. Database Syst. , 50(4):14:1– 14:30, 2025. Xu, H. and Pham, N. Scalable DBSCAN with random projections. In NeurIPS , 2024. Yahoo! Japan. Neighborhood graph and tree for indexing high-dimensional data. yahoojapan/NGT , 2023. Yu, J., Wang, Z., Vasudevan, V., Yeung, L., Seyedhosseini, M., and Wu, Y. Coca: Contrastive captioners are imagetext foundation models. Trans. Mach. Learn. Res. , 2022, 2022. Zhai, Y., Tao, S., Chen, C., Zou, A., Chen, Z., Fu, Q., Mai, S., Yu, L., Deng, J., Cao, Z., et al. AgentEvolver: Towards efficient self-evolving agent system. arXiv preprint arXiv:2511.10395 , 2025. URL https: //arxiv.org/abs/2511.10395 . Zhang, J. et al. Optimizing recall or relevance? A multi-task multi-head approach for item-to-item retrieval in recommendation. In KDD , pp. 5194–5204, 2025.", "source": "marker_v2", "marker_block_id": "/page/13/ListGroup/338"}
|
| 34 |
+
{"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a", "chunk_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a:0141", "section": "References", "page_start": 14, "page_end": 14, "type": "Text", "text": "Zhang, S., Wang, J., Zhou, R., Liao, J., Feng, Y., Zhang, W., Wen, Y., Li, Z., Xiong, F., Qi, Y., et al. MemRL: Selfevolving agents via runtime reinforcement learning on episodic memory. arXiv preprint arXiv:2601.03192 , 2026. URL .", "source": "marker_v2", "marker_block_id": "/page/13/Text/14"}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/reference_text_v3.txt
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[p. 10 | section: References | type: Text]
|
| 2 |
+
Aguerrebere, C., Bhati, I., Hildebrand, M., Tepper, M., and Willke, T. L. Similarity search in the blink of an eye with compressed indices. PVLDB , 16(11):3433–3446, 2023.
|
| 3 |
+
|
| 4 |
+
[p. 11 | section: References | type: Text]
|
| 5 |
+
10<sup>4</sup>
|
| 6 |
+
|
| 7 |
+
[p. 11 | section: References | type: Text]
|
| 8 |
+
10<sup>3</sup>
|
| 9 |
+
|
| 10 |
+
[p. 11 | section: References | type: Text]
|
| 11 |
+
10<sup>2</sup>
|
| 12 |
+
|
| 13 |
+
[p. 11 | section: References | type: Text]
|
| 14 |
+
10<sup>1</sup>
|
| 15 |
+
|
| 16 |
+
[p. 11 | section: References | type: Text]
|
| 17 |
+
10
|
| 18 |
+
|
| 19 |
+
[p. 11 | section: References | type: Text]
|
| 20 |
+
10<sup>3</sup>
|
| 21 |
+
|
| 22 |
+
[p. 11 | section: References | type: Text]
|
| 23 |
+
10<sup>2</sup>
|
| 24 |
+
|
| 25 |
+
[p. 11 | section: References | type: Text]
|
| 26 |
+
10
|
| 27 |
+
|
| 28 |
+
[p. 11 | section: References | type: Text]
|
| 29 |
+
10
|
| 30 |
+
|
| 31 |
+
[p. 11 | section: References | type: Text]
|
| 32 |
+
10
|
| 33 |
+
|
| 34 |
+
[p. 11 | section: References | type: Text]
|
| 35 |
+
10
|
| 36 |
+
|
| 37 |
+
[p. 11 | section: References | type: Text]
|
| 38 |
+
10<sup>1</sup>
|
| 39 |
+
|
| 40 |
+
[p. 11 | section: References | type: Text]
|
| 41 |
+
Recall (%) WoltFood (K=800)
|
| 42 |
+
|
| 43 |
+
[p. 11 | section: References | type: Text]
|
| 44 |
+
AmazonBooks (K=800)
|
| 45 |
+
|
| 46 |
+
[p. 11 | section: References | type: Text]
|
| 47 |
+
Recall (%) DEEP100M (K=800)
|
| 48 |
+
|
| 49 |
+
[p. 11 | section: References | type: FigureGroup]
|
| 50 |
+
Figure 7. QPS-recall comparison of PAG-Base and SymQG under varying retrieval size K.
|
| 51 |
+
|
| 52 |
+
[p. 11 | section: References | type: FigureGroup]
|
| 53 |
+
Figure 8. QPS-recall of query workloads with online insertions.
|
| 54 |
+
|
| 55 |
+
[p. 11 | section: References | type: FigureGroup]
|
| 56 |
+
Figure 9. Ablation study, QPS-recall. PRT only is the re-implementation of KS2 in PAG.
|
| 57 |
+
|
| 58 |
+
[p. 11 | section: References | type: Text]
|
| 59 |
+
Andoni, A. and Indyk, P. E2lsh manual. mit.edu/andoni/www/LSH, 2005.
|
| 60 |
+
|
| 61 |
+
[p. 11 | section: References | type: Text]
|
| 62 |
+
Andoni, A. and Indyk, P. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Commun. ACM, 51(1):117–122, 2008.
|
| 63 |
+
|
| 64 |
+
[p. 11 | section: References | type: Text]
|
| 65 |
+
Andoni, A., Indyk, P., Laarhoven, T., Razenshteyn, I. P., and Schmidt, L. Practical and optimal LSH for angular distance. In NeurIPS, pp. 1225-1233, 2015.
|
| 66 |
+
|
| 67 |
+
[p. 11 | section: References | type: Text]
|
| 68 |
+
Apple. Datacompdr-12m. co/datasets/apple/DataCompDR-12M, 2025.
|
| 69 |
+
|
| 70 |
+
[p. 11 | section: References | type: Text]
|
| 71 |
+
Babenko, A. and Lempitsky, V. S. Efficient indexing of billion-scale datasets of deep descriptors. In CVPR, pp. 2055–2063, 2016.
|
| 72 |
+
|
| 73 |
+
[p. 11 | section: References | type: Text]
|
| 74 |
+
Bentley, J. L. K-d trees for semidynamic point sets. In SoCG, pp. 187-197, 1990.
|
| 75 |
+
|
| 76 |
+
[p. 12 | section: References | type: Caption]
|
| 77 |
+
Figure 10. Ablation study, indexing time. PRT only is the reimplementation of KS2 in PAG.
|
| 78 |
+
|
| 79 |
+
[p. 12 | section: References | type: ListGroup]
|
| 80 |
+
Bernhardsson, E. Annoy. 2013. Bernhardsson, E., Aumüller, M., and Faithfull, A. Ann benchmarks. 2015. Beygelzimer, A., Kakade, S. M., and Langford, J. Cover trees for nearest neighbor. In ICML , volume 148, pp. 97–104, 2006. Charikar, M. Similarity estimation techniques from rounding algorithms. In STOC , pp. 380–388, 2002. Chen, P. H., Chang, W., Jiang, J., Yu, H., Dhillon, I. S., and Hsieh, C. FINGER: fast inference for graph-based approximate nearest neighbor search. In WWW , pp. 3225–3235, 2023. Chen, T., Fu, C., Wu, J., Wu, H., Fan, H., Ke, X., Gao, Y., Ni, Y., and Zeng, A. Reveal hidden pitfalls and navigate next generation of vector similarity search from task-centric views. arXiv preprint arXiv:2512.12980 , 2025. URL Cheng, R., Peng, Y., Wei, X., Xie, H., Chen, R., Shen, S., and Chen, H. Characterizing the dilemma of performance and index size in billion-scale vector search and breaking it with second-tier memory. arXiv preprint arXiv:2405.03267 , 2024. URL Fensore, C., Dhole, K. D., Ho, J. C., and Agichtein, E. Evaluating hybrid retrieval augmented generation using dynamic test sets: Liverag challenge. CoRR , abs/2506.22644, 2025. URL Fu, C., Xiang, C., Wang, C., and Cai, D. Fast approximate nearest neighbor search with the navigating spreading-out graph. PVLDB , 12(5):461–474, 2019. Fu, C., Wang, C., and Cai, D. High dimensional similarity search with satellite system graph: Efficiency, scalability, and unindexed query compatibility. IEEE Trans. Pattern Anal. Mach. Intell. , 44(8):4139–4150, 2022.
|
| 81 |
+
|
| 82 |
+
[p. 12 | section: References | type: ListGroup]
|
| 83 |
+
Gao, J. and Long, C. High-dimensional approximate nearest neighbor search: with reliable and efficient distance comparison operations. Proc. ACM Manag. Data , 1(2): 137:1–137:27, 2023. Gao, J. and Long, C. Rabitq: Quantizing high-dimensional vectors with a theoretical error bound for approximate nearest neighbor search. Proc. ACM Manag. Data , 2(3): 167, 2024. Gao, J., Gou, Y., Xu, Y., Yang, Y., Long, C., and Wong, R. C. Practical and asymptotically optimal quantization of highdimensional vectors in euclidean space for approximate nearest neighbor search. Proc. ACM Manag. Data , 3(3): 202:1–202:26, 2025. Ge, T., He, K., Ke, Q., and Sun, J. Optimized product quantization. IEEE Trans. Pattern Anal. Mach. Intell , 36(4): 744–755, 2014. Gou, Y., Gao, J., Xu, Y., and Long, C. Symphonyqg: Towards symphonious integration of quantization and graph for approximate nearest neighbor search. Proc. ACM Manag. Data , 3(1):80:1–80:26, 2025. Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. Accelerating large-scale inference with anisotropic vector quantization. In ICML , pp. 3887–3896, 2020a. Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. ScaNN algorithms and configuration. 2020b. Indyk, P. and Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In STOC , pp. 604–613, 1998. Jégou, H., Douze, M., and Schmid, C. Product quantization for nearest neighbor search. IEEE Trans. Pattern Anal. Mach. Intell , 33(1):117–128, 2011. Kang, G., Ge, Z., Hu, J., Zhang, X., Wang, L., and Zhan, J. Bigvectorbench. BenchCouncil/BigVectorBench, 2024. Ke, Y. et al. Retrieval augmented generation for 10 large language models and its generalizability in assessing medical fitness. npj Digit. Medicine , 8(1), 2025. Lazebnik, S., Schmid, C., and Ponce, J. Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories. In CVPR , volume 2, pp. 2169–2178, 2006.
|
| 84 |
+
|
| 85 |
+
[p. 13 | section: References | type: Text]
|
| 86 |
+
660 661 662 663 664 665 666 Li, A. and Papakonstantinou, Y. ScaNN for AlloyDB: The first PostgreSQL vector search index that works well from millions to billion of vectors. products/databases/how-scann-for alloydb-vector-search-compares-to pgvector-hnsw , 2025.
|
| 87 |
+
|
| 88 |
+
[p. 13 | section: References | type: ListGroup]
|
| 89 |
+
Lin, J. Operational advice for dense and sparse retrievers: Hnsw, flat, or inverted indexes? In Proceedings of the 63rd Annual Meeting of the Association for Computational Lin guistics (Volume 6: Industry Track) , pp. 865–872, 2025. Lowe, D. G. Distinctive image features from scale-invariant keypoints. International Journal of Computer Vision , 60 (2):91–110, 2004. Lu, K., Kudo, M., Xiao, C., and Ishikawa, Y. Hvs: Hierarchical graph structure based on voronoi diagrams for solving approximate nearest neighbor search. PVLDB , 15 (2):246–258, 2021. Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic routing for graph-based approximate nearest neighbor search. In ICML , pp. 33177–33195, 2024. Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic kernel function for fast angle testing. arXiv preprint arXiv:2505.20274 , 2025. URL org/abs/2505.20274 . Major TOM. Core-s2rgb-dinov2. https: //huggingface.co/datasets/Major- TOM/Core-S2RGB-DINOv2 , 2024. Malkov, Y. A. and Yashunin, D. A. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. IEEE Trans. Pattern Anal. Mach. Intell , 42(4):824–836, 2020. Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. Distributed representations of words and phrases and their compositionality. In NeurIPS , pp. 3111–3119, 2013. Oliva, A. and Torralba, A. Modeling the shape of the scene: A holistic representation of the spatial envelope. Interna tional Journal of Computer Vision , 42(3):145–175, 2001. OpenAI. text-embedding-3-large. https:// platform.openai.com/docs/models/text embedding-3-large , 2024. Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., et al. Dinov2: Learning robust visual features without supervision. Trans. Mach. Learn. Res. , 2024.
|
| 90 |
+
|
| 91 |
+
[p. 13 | section: References | type: ListGroup]
|
| 92 |
+
Ouyang, S. et al. ReasoningBank: Scaling agent selfevolving with reasoning memory. arXiv preprint arXiv:2509.25140 , 2025. URL org/abs/2509.25140v1 . Pennington, J., Socher, R., and Manning, C. D. Glove: Global vectors for word representation. In Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP) , pp. 1532–1543, 2014. Pham, N. Simple yet efficient algorithms for maximum inner product search via extreme order statistics. In KDD , pp. 1339–1347, 2021. Pham, N. and Liu, T. Falconn++: A locality-sensitive filtering approach for approximate nearest neighbor search. In NeurIPS , pp. 31186–31198, 2022. Qdrant. dbpedia-entities-openai3-text-embedding-3 large-1536-1m. datasets/Qdrant/dbpedia-entities openai3-text-embedding-3-large-1536- 1M , 2024a. Qdrant. dbpedia-entities-openai3-text-embedding-3 large-3072-1m. datasets/Qdrant/dbpedia-entities openai3-text-embedding-3-large-3072- 1M , 2024b. Qdrant. wolt-food-clip-vit-b-32-embeddings. https:// huggingface.co/datasets/Qdrant/wolt food-clip-ViT-B-32-embeddings , 2024c. Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In ICML , pp. 8748–8763, 2021. Simhadri, H. V., Williams, G., Aumuller, M., Douze, M., ¨ Babenko, A., Baranchuk, D., Chen, Q., Hosseini, L., Krishnaswamny, R., Srinivasa, G., et al. Billion-scale approximate nearest neighbor search challenge: Neurips'21 competition track. com/neurips21.html , 2021. Subramanya, S. J., Devvrit, F., Simhadri, H. V., Krishnaswamy, R., and Kadekodi, R. Rand-nsg: Fast accurate billion-point nearest neighbor search on a single node. In NeurIPS , pp. 13748–13758, 2019. Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. Going deeper with convolutions. In CVPR , pp. 1–9, 2015. The Similarity Search Team, CUHK. FVECS datasets. hash/gqr/datasets.html , 2018.
|
| 93 |
+
|
| 94 |
+
[p. 14 | section: References | type: Text]
|
| 95 |
+
716 718 Vendrow, E., Pantazis, O., Shepard, A., Brostow, G., Jones, K., Mac Aodha, O., Beery, S., and Van Horn, G. Inquire: A natural world text-to-image retrieval benchmark. NeurIPS , 37:126500–126514, 2024.
|
| 96 |
+
|
| 97 |
+
[p. 14 | section: References | type: ListGroup]
|
| 98 |
+
Wallace, J. A. How hierarchical navigable small world (HNSW) algorithms can improve search. algorithms-can-improve-search/?utm_ source=chatgpt.com , 2025. Wang, H., Wu, W., Luo, C., Bian, A., Meng, C., Wu, Y., and Sun, J. Boosting accuracy and efficiency for vector retrieval with local scaling graph. In ICDE , pp. 336–348, 2025a. Wang, J., Zhang, T., Song, J., Sebe, N., and Shen, H. T. A survey on learning to hash. IEEE Trans. Pattern Anal. Mach. Intell. , 40(4):769–790, 2018. Wang, M., Wu, H., Ke, X., Gao, Y., Zhu, Y., and Zhou, W. Accelerating graph indexing for ANNS on modern cpus. Proc. ACM Manag. Data , 3(3):123:1–123:29, 2025b. Wang, W., Wei, F., Dong, L., Bao, H., Yang, N., and Zhou, M. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In NeurIPS , pp. 5776–5788, 2020. Weller, O., Boratko, M., Naim, I., and Lee, J. On the theoretical limitations of embedding-based retrieval. CoRR , abs/2508.21038, 2025. URL abs/2508.21038 . Xie, J., Yu, J. X., and Liu, Y. Graph based k-nearest neighbor search revisited. ACM Trans. Database Syst. , 50(4):14:1– 14:30, 2025. Xu, H. and Pham, N. Scalable DBSCAN with random projections. In NeurIPS , 2024. Yahoo! Japan. Neighborhood graph and tree for indexing high-dimensional data. yahoojapan/NGT , 2023. Yu, J., Wang, Z., Vasudevan, V., Yeung, L., Seyedhosseini, M., and Wu, Y. Coca: Contrastive captioners are imagetext foundation models. Trans. Mach. Learn. Res. , 2022, 2022. Zhai, Y., Tao, S., Chen, C., Zou, A., Chen, Z., Fu, Q., Mai, S., Yu, L., Deng, J., Cao, Z., et al. AgentEvolver: Towards efficient self-evolving agent system. arXiv preprint arXiv:2511.10395 , 2025. URL https: //arxiv.org/abs/2511.10395 . Zhang, J. et al. Optimizing recall or relevance? A multi-task multi-head approach for item-to-item retrieval in recommendation. In KDD , pp. 5194–5204, 2025.
|
| 99 |
+
|
| 100 |
+
[p. 14 | section: References | type: Text]
|
| 101 |
+
Zhang, S., Wang, J., Zhou, R., Liao, J., Feng, Y., Zhang, W., Wen, Y., Li, Z., Xiong, F., Qi, Y., et al. MemRL: Selfevolving agents via runtime reinforcement learning on episodic memory. arXiv preprint arXiv:2601.03192 , 2026. URL .
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/sanitization_report.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paper_id": "fddf30e3-e5ae-4a68-b862-daa6e531883a",
|
| 3 |
+
"pipeline": "Paper2Markdown-V3",
|
| 4 |
+
"ok": true,
|
| 5 |
+
"page_count": 21,
|
| 6 |
+
"chunk_count": 248,
|
| 7 |
+
"main_body_chunk_count": 108,
|
| 8 |
+
"appendix_chunk_count": 106,
|
| 9 |
+
"reference_chunk_count": 34,
|
| 10 |
+
"model_text_chars": 48048,
|
| 11 |
+
"raw_markdown_chars": 97707,
|
| 12 |
+
"sanitized_chars": 88522,
|
| 13 |
+
"page_provenance": {
|
| 14 |
+
"min_page": 1,
|
| 15 |
+
"max_page": 21,
|
| 16 |
+
"invalid_count": 0
|
| 17 |
+
},
|
| 18 |
+
"marker_block_type_counts": {
|
| 19 |
+
"Caption": 2,
|
| 20 |
+
"Code": 1,
|
| 21 |
+
"Equation": 42,
|
| 22 |
+
"Figure": 2,
|
| 23 |
+
"FigureGroup": 16,
|
| 24 |
+
"Footnote": 5,
|
| 25 |
+
"ListGroup": 10,
|
| 26 |
+
"PageFooter": 21,
|
| 27 |
+
"PageHeader": 23,
|
| 28 |
+
"SectionHeader": 47,
|
| 29 |
+
"TableGroup": 3,
|
| 30 |
+
"Text": 716
|
| 31 |
+
},
|
| 32 |
+
"asset_count_raw": 18,
|
| 33 |
+
"asset_count_model_kept": 18,
|
| 34 |
+
"asset_count_rejected": 0,
|
| 35 |
+
"asset_reject_reasons": {
|
| 36 |
+
"kept": 18
|
| 37 |
+
},
|
| 38 |
+
"artifact_leak_audit": {
|
| 39 |
+
"ok": true,
|
| 40 |
+
"hits": {
|
| 41 |
+
"Anonymous Authors": [],
|
| 42 |
+
"ACKNOWLEDGMENT": [],
|
| 43 |
+
"OpenReview": [],
|
| 44 |
+
"\"accept_label\"": [],
|
| 45 |
+
"\"decision\"": [],
|
| 46 |
+
"\"decision_tier\"": [],
|
| 47 |
+
"\"source_status\"": [],
|
| 48 |
+
"Meta-review": [],
|
| 49 |
+
"Official Review": [],
|
| 50 |
+
"official_reviews": [],
|
| 51 |
+
"meta_reviews": [],
|
| 52 |
+
"suggested_verdict_score": []
|
| 53 |
+
},
|
| 54 |
+
"artifact_count": 2
|
| 55 |
+
},
|
| 56 |
+
"default_model_input": "model_text_v3.txt",
|
| 57 |
+
"appendix_input": "appendix_text_v3.txt",
|
| 58 |
+
"reference_input": "reference_text_v3.txt"
|
| 59 |
+
}
|
icml26/fddf30e3-e5ae-4a68-b862-daa6e531883a/sanitized_v3.txt
ADDED
|
@@ -0,0 +1,534 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{0}
|
| 2 |
+
## Abstract
|
| 3 |
+
Approximate Nearest Neighbor Search (ANNS) is fundamental to modern AI applications. Most existing solutions optimize query efficiency but fail to align with the practical requirements of modern workloads. In this paper, we outline six critical demands of modern AI applications: high query efficiency, fast indexing, low memory footprint, scalability to high dimensionality, robustness across varying retrieval sizes, and support for online insertions. To satisfy all these demands, we introduce Projection-Augmented Graph (PAG), a new ANNS framework that integrates projection techniques into a graph index. PAG reduces unnecessary exact distance computations through asymmetric comparisons between exact and approximate distances as guided by projection-based statistical tests. Three key components are designed and unified to the graph index to optimize indexing and searching. Experiments on six modern datasets demonstrate that PAG consistently achieves superior query per second (QPS) recall performance—up to 5×faster than HNSW while offering fast indexing speed and moderate memory footprint. PAG remains robust as dimensionality and retrieval size increase and naturally supports online insertions. Our source code is available at: [ [KejingLu-810/PAG/]( .
|
| 4 |
+
## 1. Introduction
|
| 5 |
+
Given a dataset D ⊂ R <sup>d</sup> with size n and a query q ∈ R d , Approximate Nearest Neighbor Search (ANNS) aims to find K approximate nearest neighbors of q as accurately and efficiently as possible. Due to its crucial role in many applications such as image search, recommender systems, and
|
| 6 |
+
retrieval-augmented-generation (RAG), we have witnessed the rapid proliferation of ANNS solvers. Whereas the ANN-Benchmarks [\(Bernhardsson et al.,](#page-11-0) [2015\)](#page-11-0) has been developed to compare these methods in a unified environment, many datasets in the ANN-Benchmarks, as pointed out by [Chen](#page-11-1) [et al.](#page-11-1) [\(2025\)](#page-11-1), are derived from outdated models such as SIFT and GIST, which are image descriptors developed more than 20 years ago [\(Lowe,](#page-12-0) [2004;](#page-12-0) [Oliva & Torralba,](#page-12-1) [2001\)](#page-12-1). In addition, its evaluation metric is limited to query per second (QPS)-recall under K = 10.
|
| 7 |
+
Seeing the fast development of AI technology, we argue that a well-designed ANNS solver should perform well on modern datasets, and beyond (D1) QPS-recall performance, several demands must also be considered: (D2) indexing time, for which graph indexes such as HNSW [\(Malkov & Yashunin,](#page-12-2) [2020\)](#page-12-2) are often criticized [\(Lin,](#page-12-3) [2025;](#page-12-3) [Li & Papakonstantinou,](#page-12-4) [2025\)](#page-12-4), compromising their use in applications that require instant deployment; (D3) memory footprint, where moderate and adjustable consumption, mostly caused by the index size, is desired for the memory vs accuracy trade-off [\(Cheng](#page-11-2) [et al.,](#page-11-2) [2024;](#page-11-2) [Wallace,](#page-13-0) [2025\)](#page-13-0); (D4) scalability to high dimensionality, as motivated by the increasing dimensionality of modern embedding models such as CLIP [\(Radford et al.,](#page-12-5) [2021\)](#page-12-5) [1](#page-0-0) ; (D5) robustness against the retrieval size K, due to the needs in various applications (e.g., K is typically 10 for RAG [\(Fensore et al.,](#page-11-3) [2025;](#page-11-3) [Ke et al.,](#page-11-4) [2025\)](#page-11-4) but can be up to hundreds in image retrieval [\(Vendrow et al.,](#page-13-1) [2024\)](#page-13-1) and thousands in recommender systems [\(Zhang et al.,](#page-13-2) [2025\)](#page-13-2)); (D6) support of online insertions, which is essential for emergent applications such as self-evolving agents that continually accumulate and reuse experience through interaction [\(Ouyang](#page-12-6) [et al.,](#page-12-6) [2025;](#page-12-6) [Zhai et al.,](#page-13-3) [2025;](#page-13-3) [Zhang et al.,](#page-13-4) [2026\)](#page-13-4).
|
| 8 |
+
## <span id="page-0-1"></span>1.1. Prior Works
|
| 9 |
+
We review representative ANNS solvers based on D1 – D6. More discussions on literature can be found in Appendix [C.](#page-15-0)
|
| 10 |
+
<span id="page-0-0"></span><sup>1</sup>Despite the availability of dimensionality reduction techniques, [Weller et al.](#page-13-5) [\(2025\)](#page-13-5) proved that for embedding-based retrieval with dimensionality d, there exists a dataset size n (e.g., n ≈ 4M for d = 1024) beyond which it is theoretically impossible to represent all possible top-2 document combinations, showcasing the necessity for higher dimensionality on large datasets.
|
| 11 |
+
{1}------------------------------------------------
|
| 12 |
+
<span id="page-1-0"></span>Table 1. Summary of empirical performance comparison of notable ANNS solvers, HNSW (Malkov & Yashunin, 2020), Vamana (in-memory DiskANN (Subramanya et al., 2019)), IVFPQFS (fast scan IVFPQ (Jégou et al., 2011)), ScaNN (Guo et al., 2020a), RaBitQ+ (Gao et al., 2025), SymQG (Gou et al., 2025), HNSW+KS2 (Lu et al., 2025), and our solutions PAG-Base (for high QPS) and PAG-Lite (for fast indexing and small index size). Detailed results are available in Sec. 5.2. The evaluation of D1 – D3 is clustered into tiers, where Tier-4 is the best. D4 – D6 are evaluated in yes/no (√/X).
|
| 13 |
+
| | Graph-Based | | Quantization-Based | | | QG | PG | PA | ıG |
|
| 14 |
+
|--------------------------------------------------|-------------|--------|----------------------|--------------------|--------------|--------|----------|----------|----------|
|
| 15 |
+
| Criteria | HNSW | Vamana | IVFPQFS <sup>1</sup> | ScaNN <sup>1</sup> | RaBitQ+ | SymQG | HNSW+KS2 | PAG-Base | PAG-Lite |
|
| 16 |
+
| D1. QPS-recall | Tier-2 | Tier-2 | Tier-1 | Tier-1 | Tier-1 | Tier-3 | Tier-3 | Tier-4 | Tier-3 |
|
| 17 |
+
| <b>D2.</b> Indexing time | Tier-1 | Tier-1 | Tier-3 | Tier-3 | Tier-3 | Tier-2 | Tier-1 | Tier-2 | Tier-4 |
|
| 18 |
+
| <b>D3.</b> Memory footprint <sup>2</sup> | Tier-3 | Tier-3 | Tier-4 | Tier-4 | Tier-4 | Tier-1 | Tier-2 | Tier-3 | Tier-4 |
|
| 19 |
+
| <b>D4.</b> High-dim. scalability | ✓ | ✓ | ✓ | ✓ | ✓ | X | ✓ | ✓ | ✓ |
|
| 20 |
+
| <b>D5.</b> Retrieval size robustness | ✓ | ✓ | ✓ | ✓ | ✓ | Х | ✓ | ✓ | ✓ |
|
| 21 |
+
| <b>D6.</b> Online insertion support <sup>3</sup> | ✓ | ✓ | ✓ | ✓ | $\checkmark$ | X | × | ✓ | ✓ |
|
| 22 |
+
Reranking is enabled for IVFPOFS and ScaNN.
|
| 23 |
+
Graph-Based Methods. These methods construct a similarity graph connecting nearby vectors and hop towards the neighborhood of q. Notable methods are HNSW (Malkov & Yashunin, 2020), NSG (Fu et al., 2019), and DiskANN (Subramanya et al., 2019). They are generally competitive in QPS-recall but slow in building indexes.
|
| 24 |
+
Quantization-Based Methods. These methods compress vectors and rank them using approximate (i.e., quantized) distances to q in pursuit of efficiency. Representative methods are IVFPQ (Jégou et al., 2011) and ScaNN (Guo et al., 2020a). They are fast in building indexes and save memory, but their QPS-recall is generally inferior to graph-based methods.
|
| 25 |
+
Projection-Based Methods. These methods use random (e.g., E2LSH (Andoni & Indyk, 2005), Falconn (Andoni et al., 2015), and CEOs (Pham, 2021)) or data-dependent (e.g., learning to hash (Wang et al., 2018)) projections of the original vectors for indexing. Although many of them enjoy theoretical guarantees, they are less competitive than graphand quantization-based methods in QPS-recall performance, hence becoming less popular in modern top-K ANNS.
|
| 26 |
+
<u>Tree-Based Methods.</u> They utilize tree indexes. table methods include k-d tree (Bentley, 1990), cover tree (Beygelzimer et al., 2006), and Annoy (Bernhardsson, 2013). Like projection-based methods, they are less widely used for modern ANNS due to limited QPS-recall performance.
|
| 27 |
+
As discussed above, graph-based methods are good at QPSrecall. But they compute exact distances between vectors, which is computationally costly. To address this weakness, recent advancements attempt to integrate other techniques, in particular, quantization or projection, into graphs.
|
| 28 |
+
Quantized Graph (QG) Methods. They construct a similarity graph based on quantized vectors instead of the original ones, thereby replacing exact distances with approximate values. Representative methods are NGT-QG (Yahoo! Japan, 2023), LVQ (Aguerrebere et al., 2023), and SymphonyQG (Gou et al., 2025). QG methods can achieve very high QPS-recall performance, yet they are sensitive to the data distribution and many of them do not perform very well in D3 - D6.
|
| 29 |
+
*Projection* + *Graph* (*PG*) *Methods*. Unlike QG, they operate on original vectors and reduce unnecessary exact distance computations. To this end, they employ projection techniques to test whether a neighbor needs to be explored (called routing tests). Representative methods are FINGER (Chen et al., 2023), PEOs (Lu et al., 2024), and KS2 (Lu et al., 2025). Despite QPS-recall improvement on top of graph-based methods, such improvement comes at the cost of indexing time, memory footprint, and support for online insertions.
|
| 30 |
+
Table 1 compares notable methods implemented in leading vector databases and recent ones representing state of the art.
|
| 31 |
+
#### 1.2. Our Solution
|
| 32 |
+
We propose a new ANNS framework, Projection-Augmented Graph (PAG), which integrates projection into a similarity graph and achieves superior performance for all the six criteria. Unlike PG methods, PAG treats projection as a fundamental building block of graph construction rather than as a plug-in. The rationale of PAG is to accommodate both exact and approximate distances within a *unified* framework, addressing two key issues: (1) when distances shall be computed exactly and when they shall be approximated, and (2) how exact and approximate distances are compared during indexing and searching to enhance the performance.
|
| 33 |
+
PAG significantly reduces the computational cost of searching (D1) and indexing (D2) by carefully determining whether exact distance computation is needed. Such procedure relies on asymmetric comparisons between exact and approximate distance values obtained from space-efficient and adjustable random-projection structures (D3), as opposed to symmetric comparisons in QG. Moreover, the asymmetric distance
|
| 34 |
+
Memory footprint for searching, rather than indexing, is compared.
|
| 35 |
+
<sup>&</sup>lt;sup>3</sup> For any streaming workload Q composed of search and insertion queries, we say an algorithm supports online insertion, if the amortized cost of processing a query in Q is O(1) times the cost of a search. In other words, the index can be incrementally updated with minimal cost. See Sec. 4.3 for the analysis of PAG.
|
| 36 |
+
{2}------------------------------------------------
|
| 37 |
+
comparisons, as guided by random-projection-based statistical tests, only need to tell which value is larger, thereby achieving accuracy while preserving efficiency. Meanwhile, PAG inherits graph-based methods' scalability to high dimensionality (D4) and robustness against retrieval size (D5), and follows the search-and-insertion paradigm (e.g., HNSW) to accommodate online insertions (D6).
|
| 38 |
+
Our technical contributions are summarized as follows.
|
| 39 |
+
- (1) Following the idea of routing tests in PEOs [\(Lu et al.,](#page-12-10) [2024\)](#page-12-10) and KS2 [\(Lu et al.,](#page-12-8) [2025\)](#page-12-8), we derive a Probabilistic Routing Test (PRT) function (Sec. [3.2\)](#page-4-0). The theoretical result (Theorem [3.1\)](#page-4-1), along with Lemma 4.3 in [Lu et al.](#page-12-8) [\(2025\)](#page-12-8), provides a complete theoretical explanation of PRT. In addition, our work is the first to apply PRT to graph construction.
|
| 40 |
+
- (2) We propose a data structure called Test Feedback Buffer (TFB) (Sec. [3.3\)](#page-5-0), which refines the threshold setting in PRT and enables the reuse of false positives generated by PRT. By incorporating TFB into PRT, we obtain the PRT-TFB test as a core technique for accelerating both indexing and searching.
|
| 41 |
+
- (3) We propose a statistical test called Probabilistic Edge Selection (PES) (Sec. [3.4\)](#page-5-1), which is derived from Theorem [3.1](#page-4-1) and can expand in-degrees when necessary. In collaboration with PRT, PRT-PES can improve the search performance for hard datasets on which traditional graph indexes perform poorly, while incurring very small indexing overhead.
|
| 42 |
+
- (4) PRT, TFB, and PES constitute PAG (Fig. [1\)](#page-3-0). We show how the three components interact within PAG, with implementation details and complexity analysis provided.
|
| 43 |
+
- (5) We conduct experiments on six modern (post-2023) datasets covering text, image, and multimodal data, with dimensionality ranging from 384 to 3072 and retrieval size from 10 to 1000. The results show that PAG achieves the best QPS-recall performance (up to 5× faster than HNSW), and its superiority is particularly evident on datasets with higher dimensionality. PAG remains dominant as K increases. By adjusting parameters, PAG can deliver the fastest indexing speed and lowest memory footprint on most datasets while maintaining competitive QPS-recall. PAG also performs well on the datasets in the ANN-Benchmarks, showcasing its compatibility with data generated by legacy models.
|
| 44 |
+
## 2. Problem Setting
|
| 45 |
+
Since PAG adopts a search-and-insertion paradigm, its search process, similar to HNSW, can be seen as a special case of index construction (i.e., no update to the graph), and we can focus on the problems that arise in index construction. Because constructing a similarity graph is essentially determining its edge set, we consider the following question: *Can we design statistical methods that select edges efficiently (i.e., fast indexing) and effectively (i.e., fast searching)?* To answer this question, we first review the existing edge-selection strategy, and then formalize the problems to be solved.
|
| 46 |
+
#### 2.1. Background of RobustPrune
|
| 47 |
+
Given a directed graph, let v be a node whose edges are to be determined. To identify its in-neighbor set Nin(v) and out-neighbor set Nout(v), state-of-the-art methods, such as HNSW, NSG and Vamana, employ a strategy known as RobustPrune to decide whether a candidate edge should be preserved. Take the construction of Nin(v) as an example. For a candidate neighbor u of node v, the pruning criterion considers the following set [2](#page-2-0) :
|
| 48 |
+
$$S_{u,v} = \{ w \in N_{\text{out}}(u) \mid ||w - v|| \le ||v - u|| \}.$$
|
| 49 |
+
(1)
|
| 50 |
+
Nout(v)*.* We take v as the query and conduct an ANNS from v to obtain a candidate set, which is stored in a priority queue P. RobustPrune is then applied to P to determine Nout(v).
|
| 51 |
+
Nin(v)*.* We check every u in Nout(v) and preserve those u's retained by RobustPrune as Nin(v).
|
| 52 |
+
### 2.2. Towards Fast Graph Construction
|
| 53 |
+
During graph construction, most of the time is spent on ANNS for the candidate set of Nout(v). Although we can reduce the graph construction parameter (e.g., efC in HNSW) for fast graph construction, the query processing performance degrades accordingly. Thus, we raise the following question.
|
| 54 |
+
Q1. *How can we accelerate the ANNS for* v *while preserving the query processing performance?*
|
| 55 |
+
Existing studies PEOs and KS2 have shown that PRT has the potential to be an appropriate answer to Q1. For each visited node u and its out-neighbor w, PRT sends (u, v, w) to a probabilistic test function to see whether they can pass the test, and then determines whether the exact distance between v and w needs to be computed based on the test result. Consequently, PRT avoids unnecessary distance computations, leading to faster search. In KS2 [\(Lu et al.,](#page-12-8) [2025\)](#page-12-8), it is shown that the routing test under ℓ<sup>2</sup> and cosine distances is equivalent to the angle-thresholding problem when vector norms
|
| 56 |
+
<span id="page-2-0"></span>For Vamana, we assume its pruning ratio α = 1 and omit it in the inequality.
|
| 57 |
+
{3}------------------------------------------------
|
| 58 |
+
<span id="page-3-0"></span>
|
| 59 |
+
Figure 1. An overview of PAG. In this example, $\boldsymbol{u}$ has 7 out-neighbors $\{\boldsymbol{w_i}\}_{i=1}^7$ . Let $\{\boldsymbol{e_i}\}_{i=1}^7$ denote the edges between $\boldsymbol{u}$ and $\{\boldsymbol{w_i}\}_{i=1}^7$ , which are sent to PRT, where the threshold is determined by $\boldsymbol{z_{max}}$ . As a result, only $\boldsymbol{w_3}$ and $\boldsymbol{w_5}$ pass PRT, and their exact distances to $\boldsymbol{v}$ are computed. By distance comparison, node $\boldsymbol{w_5}$ is identified as a false positive, not added to W, and thus sent to $R_F$ . Node $\boldsymbol{w_3}$ is inserted into W, causing $\boldsymbol{z_{max}}$ to be ejected from W and sent to $R_T$ . The two rings $R_F$ and $R_T$ are merged and refilled into W. On the other route, by a left shift, the signs of both $\boldsymbol{w_3}$ and $\boldsymbol{w_5}$ are reversed, and all signs become negative, indicating that $\boldsymbol{u}$ is rejected by the PES test. Consequently, $\boldsymbol{u}\dot{\boldsymbol{v}}$ is treated as a candidate edge and added to the PES set.
|
| 60 |
+
are stored explicitly. Therefore, PRT can be formulated as follows:
|
| 61 |
+
<span id="page-3-2"></span>**Problem 2.1.** (**Probabilistic Routing Test**) Given $u, v, w \in \mathbb{S}^{d-1}$ and a threshold $-1 \le \tau \le 1$ , construct a random-projection vector set $\mathcal{F}$ and design a test function w.r.t $\mathcal{F}$ , i.e., PRT : $(u, v, w, \tau) \to RV$ with time complexity o(d), where RV denotes the set of one-dimensional random variables, such that if $\cos(\angle(v-u, w-u)) \ge \tau$ , then $\mathbb{P}[\operatorname{PRT}(u, v, w, \tau) \ge 0] \ge 0.5$ . Otherwise, $\mathbb{P}[\operatorname{PRT}(u, v, w, \tau) < 0] \to 1$ as $|\mathcal{F}| \to \infty$ .
|
| 62 |
+
Different from the routing test functions used in PEOs and KS2, we take $\tau$ as an explicit input. In this paper, we use another method to determine $\tau$ in order to further improve the efficiency of the routing test.
|
| 63 |
+
#### 2.3. Towards High Graph Connectivity
|
| 64 |
+
From the process of determining $N_{\rm in}(\boldsymbol{v})$ , we observe that its candidate set is restricted to $N_{\rm out}(\boldsymbol{v})$ . Recent work (Wang et al., 2025a) shows that $|N_{\rm out}(\boldsymbol{v})|$ may be too small to reliably determine incoming edges, causing some nodes to have very small in-degrees. Such nodes may become unreachable during search, which partly explains why HNSW performs poorly on certain real-world datasets. On the other hand, for each checked node $\boldsymbol{u}$ , the worst-case time complexity of RobustPrune can reach $O(|N_{\rm out}(\boldsymbol{u})|d)$ , implying that a straightforward enlargement of the candidate set for
|
| 65 |
+
<span id="page-3-1"></span>
|
| 66 |
+
Figure 2. Illustration of PES (left: the role of PES; right: geometric illustration). Let $\boldsymbol{v}$ be the node to be inserted. The four green nodes are out-neighbors of $\boldsymbol{v}$ . Without PES, we can obtain only a single in-neighbor via RobustPrune. By taking all other visited nodes (the blue ones) into account, we apply PES, followed by RobustPrune. As such, we can identify three additional promising in-neighbors, thereby strengthening the connectivity of the neighborhood of $\boldsymbol{v}$ .
|
| 67 |
+
determining incoming edges is expensive. Considering this dilemma, we raise the following question.
|
| 68 |
+
Q2. How can we efficiently detect incoming edges outside $N_{\text{out}}(v)$ that are useful for improving query processing performance but hard to be identified by RobustPrune?
|
| 69 |
+
{4}------------------------------------------------
|
| 70 |
+
To answer this question, we formulate a problem as follows.
|
| 71 |
+
<span id="page-4-2"></span>**Problem 2.2.** (**Probabilistic Edge Selection**) Given $u, v \in \mathbb{S}^{d-1}$ , construct a random-projection-vector set $\mathcal{F}$ and design a probabilistic edge selection function PES: $(u, v) \to RV$ whose time complexity is $O(|N_{\mathrm{out}}(u)|)$ , such that if $S_{u,v}$ is non-empty, then $\mathbb{P}[\mathrm{PES}(u,v) \geq 0] \geq 0.5$ . Otherwise, $\mathbb{P}[\mathrm{PES}(u,v) < 0] \to 1$ as $|\mathcal{F}| \to \infty$ .
|
| 72 |
+
We emphasize that the PES test is far more than a fast probabilistic implementation of RobustPrune. This is because the PES test can be applied to all visited nodes during the ANNS of $\boldsymbol{v}$ , whose number is typically much larger than $N_{\rm out}(\boldsymbol{v})$ in practice, leading to a better graph index in terms of connectivity (Fig. 2).
|
| 73 |
+
## 3. Projection-Augmented Graph
|
| 74 |
+
We show that Problems 2.1 and 2.2 can be solved in a unified framework PAG, which contains three components: Probabilistic Routing Test (PRT), Test Feedback Buffer (TFB), and Probabilistic Edge Selection (PES).
|
| 75 |
+
### <span id="page-4-4"></span>3.1. Neighborhood Relations via Random Projection
|
| 76 |
+
We present an asymptotic result that characterizes the relationship between multiple angles in high-dimensional spaces and their corresponding projection values onto a certain projection vector. This result forms the theoretical basis for all the three components. We first describe how to construct the random-projection vector set $\mathcal F$ that appears in Problems 2.1 and 2.2, following an approach similar to that used in KS2 (Lu et al., 2025). Specifically, we divide the original space $\mathbb R^d$ into L subspaces, each of dimension d/L. In each subspace, we generate multiple cross-polytopes and apply an independent rotation to each, producing a total of m normalized vectors on $\mathbb S^{d/L-1}$ . By concatenation, we obtain a total of $m^L$ normalized vectors $\{r_j\}_{j=1}^{m^L}$ , which together form the set $\mathcal F$ . Consider v as the node to be inserted and v as the candidate neighbor to be checked, let $N_{\mathrm{out}}(u) := \{w_i\}_{i=1}^t$ . We define $\{\alpha_i\}_{i=1}^t$ as follows.
|
| 77 |
+
<span id="page-4-3"></span>
|
| 78 |
+
$$\alpha_i := \arccos \frac{\langle \boldsymbol{w_i} - \boldsymbol{u}, \boldsymbol{v} - \boldsymbol{u} \rangle}{\|\boldsymbol{w_i} - \boldsymbol{u}\| \|\boldsymbol{v} - \boldsymbol{u}\|}, \quad 1 \le i \le t \quad (2)$$
|
| 79 |
+
Since $\|\boldsymbol{w_i} - \boldsymbol{u}\|$ and $\|\boldsymbol{v} - \boldsymbol{u}\|$ can be pre-computed, we aim to estimate $[\cos \alpha_1, \dots, \cos \alpha_t]^{\top}$ without exact inner product computation in Eq. (2). We will show that this can be realized by $\mathcal{F}$ . For each $\boldsymbol{w_i}$ ( $1 \leq i \leq t$ ), let $\boldsymbol{r_i^*} \in \mathcal{F}$ be the reference vector that has the smallest angle with $\boldsymbol{w_i} - \boldsymbol{u}$ , and denote this smallest angle by $\beta_i$ . We use $\cos \theta_i$ to denote the cosine of the angle between $\boldsymbol{r_i^*}$ and $\boldsymbol{v} - \boldsymbol{u}$ , and subscript l to denote the l-th sub-vector of the original vector in $\mathbb{R}^d$ , $1 \leq l \leq L$ . We introduce the following assumptions for each i:
|
| 80 |
+
(A1)
|
| 81 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})\| = 1$$
|
| 82 |
+
and $\|(\boldsymbol{v} - \boldsymbol{u})\| = 1$ .
|
| 83 |
+
(A2)
|
| 84 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})_l\|$$
|
| 85 |
+
and $\|(\boldsymbol{v} - \boldsymbol{u})_l\|$ are equal to $(1 + o(1))/\sqrt{L}$ .
|
| 86 |
+
(A3) $\langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = (\cos \alpha_i)(1 + o(1))/L$ .
|
| 87 |
+
Here, A1 does not lose generality, and A2 and A3 are mild for large d and L (see the remarks in Appendix B). Under these assumptions, the following theorem shows that $\{\alpha_i\}_{i=1}^t$ can be asymptotically estimated by $\{\beta_i\}_{i=1}^t$ and $\{\theta_i\}_{i=1}^t$ .
|
| 88 |
+
<span id="page-4-1"></span>**Theorem 3.1.** Under A1–A3, as $L \to \infty$ , $d/L \to \infty$ , and m grows sufficiently fast with respect to d/L, $X = [\cos \theta_1, \dots, \cos \theta_t]^\top$ , conditioned on $\{\alpha_i, \beta_i\}_{i=1}^t$ , is asymptotically Gaussian:
|
| 89 |
+
$$X \mid \{\alpha_i, \beta_i\}_{i=1}^t \xrightarrow{d} \mathcal{N}(\bar{\mu}, \bar{\Sigma}_{m,L})$$
|
| 90 |
+
(3)
|
| 91 |
+
where the mean is $\bar{\mu} = [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top$ , and $\bar{\Sigma}_{m,L} = O(\epsilon_m/L)$ with $\epsilon_m \to 0$ as $m \to \infty$ .
|
| 92 |
+
**Remarks.** (1) Theorem 3.1 establishes a geometric relationship among multiple out-neighbors of $\boldsymbol{u}$ and $\boldsymbol{v}$ , allowing us to estimate the relative location of $\boldsymbol{v}$ w.r.t. $\boldsymbol{u}$ within the neighborhood of $\boldsymbol{u}$ . This relationship is the key to both PRT and PES. (2) In our proof, $m \to \infty$ is used to eliminate noise from off-diagonal entries, while $L \to \infty$ is required for the central limit theorem (CLT). In practice, moderate values of m and L are sufficient. Weak results under finite (m, L) can be found in Lemma 4.3 in the KS2 paper (Lu et al., 2025). (3) $\boldsymbol{X}$ can be computed efficiently by AVX512 on modern CPUs. Vector $[\cos \beta_1, \ldots, \cos \beta_t]^{\top}$ can be pre-computed, meaning that we can obtain an efficient way to estimate all $\cos \alpha_i$ 's simultaneously.
|
| 93 |
+
#### <span id="page-4-0"></span>3.2. Probabilistic Routing Test
|
| 94 |
+
Let $\tau_i$ be a threshold w.r.t $w_i$ . Our PRT function is as follows:
|
| 95 |
+
<span id="page-4-5"></span>
|
| 96 |
+
$$PRT(\boldsymbol{u}, \boldsymbol{v}, \boldsymbol{w_i}, \tau_i) = \frac{\cos \theta_i}{\cos \beta_i} - \tau_i.$$
|
| 97 |
+
(4)
|
| 98 |
+
For fixed (u, v), if the value of PRT is positive, the corresponding $w_i$ passes the PRT. Based on Theorem 3.1, under asymptotic assumptions, the PRT function satisfies all the required properties in Problem 2.1. Here, we do not specify the setting of $\tau_i$ , which will be postponed to Sec. 3.3.
|
| 99 |
+
**Remarks.** Following the use of routing test in PEOs and KS2, exact distances are computed only between v and those $w_i$ 's that pass PRT (see Fig. 1). The PRT function has the same structure as the KS2 test function (Lu et al., 2025), except for the setting of the threshold $\tau$ . However, since the PRT and KS2 tests are derived using different principles, their theoretical results are complementary. Theorem 4.3 in the KS2 paper shows that, for every single $w_i$ , even for finite (m, L), if $\cos(\angle(v - u, w_i - u)) \ge \tau_i$ , then $\mathbb{P}[\operatorname{PRT}(u, v, w_i, \tau_i) \ge 0] \ge 0.5$ still holds. Our result, on the other hand, characterizes the concrete asymptotic distribution and reveals the impact of L on the covariance, thereby explaining how L is used to adjust the estimation accuracy.
|
| 100 |
+
{5}------------------------------------------------
|
| 101 |
+
## <span id="page-5-0"></span>3.3. Test Feedback Buffer
|
| 102 |
+
328 329 For the PRT function, a key issue is how to set an appropriate threshold τ . In PEOs and KS2, τ is simply determined by the current furthest point in the result list (priority queue) P. However, due to the existence of false positives (FPs) generated by PRT, some points may pass PRT but cannot be added to P, which implies that the exact distance computations w.r.t such points are redundant. On the other hand, the Gaussian distribution established in Theorem [3.1](#page-4-1) implies that, with high probability, the actual distances of these FPs to the query q are not much larger than the threshold τ . This observation naturally raises the following question: *can we incrementally increase the threshold* τ *so that the currently generated FPs can be reused in subsequent search process?*
|
| 103 |
+
We give an affirmative answer to this question and propose TFB, which consists of four components: the top-K result list RL, the working set W, and two ring buffers R<sup>F</sup> and R<sup>T</sup> , where |W| = |R<sup>F</sup> | = |R<sup>T</sup> |. The search procedure is divided into multiple rounds. In the j-th round, we operate on W and adopt the standard Best-First Search (BFS) strategy to update its nodes. During the BFS over W, in addition to the nodes stored in W, there are two types of nodes whose exact distances to the query q are computed. The first type consists of nodes ejected from W; these nodes are inserted into R<sup>T</sup> . The second type consists of false-positive (FP) nodes that pass the PRT but cannot be added to W; these nodes are inserted into R<sup>F</sup> . After all nodes in W have been visited, we update R<sup>L</sup> and clear W. We then merge R<sup>F</sup> and R<sup>T</sup> and sort the combined list by distance to q. The sorted nodes are first inserted into W until it is full, and the remaining nodes are inserted into R<sup>T</sup> . Finally, R<sup>F</sup> is cleared. The ANNS is completed after several such rounds. In the j-th round, let zmax denote the furthest node in W. τ<sup>i</sup> in Eq. [\(4\)](#page-4-5) is set to be the threshold on the cosine of the angle between w<sup>i</sup> − u and v − u required for w<sup>i</sup> to be admitted into W, i.e.,
|
| 104 |
+
<span id="page-5-2"></span>
|
| 105 |
+
$$\tau_i = \frac{\|u - w_i\|^2 + \|u - v\|^2 - \|z_{\max} - v\|^2}{2\|v - u\|\|w_i - u\|}.$$
|
| 106 |
+
(5)
|
| 107 |
+
*PRT-TFB Test.* We call the combination of Eq. [\(4\)](#page-4-5) and Eq. [\(5\)](#page-5-2) the PRT-TFB test. Compared with existing routing test methods such as PEOs and KS2, which operate on the whole priority queue P, the PRT-TFB test has the following two advantages. (1) For large efC or large efS—which denotes the result list size, same as the notation in HNSW—the size of W is much smaller than that of P, and the movement of elements in W is much faster than that in P. (2) Each FP has a good chance of being selected as the visited node in the future rounds only if it remains in either of two rings, ensuring that its exact distance to q can be utilized at a certain time point.
|
| 108 |
+
#### <span id="page-5-1"></span>3.4. Probabilistic Edge Selection
|
| 109 |
+
In RobustPrune, ∥w<sup>i</sup> − v∥ needs to be smaller than ∥v − u∥ to allow u to be retained. Let δ<sup>i</sup> := ∥w<sup>i</sup> − u∥/(2∥v − u∥) denote the threshold on the cosine of the angle between w<sup>i</sup> − u and v − u, such that ∥w<sup>i</sup> − v∥ < ∥v − u∥. Then, the PES function is designed as follows.
|
| 110 |
+
<span id="page-5-3"></span>
|
| 111 |
+
$$PES(\boldsymbol{u}, \boldsymbol{v}) = \max_{1 \le i \le t} \left( \frac{\cos \theta_i}{\cos \beta_i} - \delta_i \right).$$
|
| 112 |
+
(6)
|
| 113 |
+
By Theorem [3.1,](#page-4-1) we can see that the PES function in Eq. [\(6\)](#page-5-3) satisfies the probabilistic properties in Problem [2.2.](#page-4-2) In practice, if the value in Eq. [\(6\)](#page-5-3) is negative, we say that (u, v) is rejected by PES, and this edge will be regarded as a promising candidate for further examination of RobustPrune.
|
| 114 |
+
*PRT-PES Collaboration.* From their definitions, the difference between the two thresholds, that is, τ<sup>i</sup> − δ<sup>i</sup> , is a value independent of v − w and can be pre-computed. Thus, we can conduct the PES test based on the test results of the PRT, leading to an O(1) time complexity, which confirms the objective O(|Nout(u)|) stated in Problem [2.2.](#page-4-2)
|
| 115 |
+
*PES Set.* For every u whose PES value is negative, we do not check uv⃗ by RobustPrune immediately. Instead, we add uv⃗ into a so-called PES set for later examination (see Fig. [1\)](#page-3-0).
|
| 116 |
+
## 4. Implementation and Analysis
|
| 117 |
+
#### 4.1. Implementation
|
| 118 |
+
*Indexing Phase.* PAG inserts every v ∈ D sequentially into the graph. For each v, the process can be divided into the following three steps.
|
| 119 |
+
Step 1. PAG performs ANNS equipped with the PRT-TFB test to obtain the elements stored in RL, and then uses RobustPrune to determine Nout(v) and Nin(v).
|
| 120 |
+
Step 2. Let Cand(v) denote the set of all nodes visited during ANNS. PAG uses PRT-PES to select additional in-neighbors from Cand(v), thereby supplementing the PES set.
|
| 121 |
+
Based on our preceding discussion, PRT-TFB ensures the efficiency of ANNS, while PRT-PES detects more promising edges. We finally select more edges from the PES set.
|
| 122 |
+
Step 3. For each candidate edge in the PES set, we apply RobustPrune to determine if it can be added to the graph.
|
| 123 |
+
*Searching Phase.* The query processing with PAG is exactly the PRT-TFB-based ANNS for a query q.
|
| 124 |
+
*Online Insertion.* Like HNSW, PAG naturally supports online insertion. The PES set is checked only after enough new nodes have been inserted into the graph.
|
| 125 |
+
{6}------------------------------------------------
|
| 126 |
+
#### <span id="page-6-1"></span>330 331 334 336 338 339 340 341 342 343 344 345 346 347 348 349 350 351 354 356 358 359 360 361 362 363 364 365 Algorithm 1: Construction of PAG Input: G := ∅ is the graph to be built; D is the dataset; 2M is the maximum out-degree; L is the space partition size; efC is the maximum size of visited nodes; b is the size of W Output: G with node set D, edge set E, and inference structure I <sup>1</sup> PES set is an empty table to accommodate candidate edges; <sup>2</sup> The capacity of R<sup>L</sup> is set to efC; <sup>3</sup> Maximum round Rmax is set to efC/b; <sup>4</sup> Generate multi-level random-projection structure F = {rjl} (1 ≤ j ≤ m, 1 ≤ l ≤ L); <sup>5</sup> Select b initial nodes, connect them, and write the projection information w.r.t the connected edges to I. Let V denote the set of all initial nodes; <sup>6</sup> foreach v ∈ D\V do <sup>7</sup> Insert b nodes to W and compute their distances to v; <sup>8</sup> Compute all ⟨vl, rjl⟩'s and build a projection table; <sup>9</sup> for r = 1 to Rmax do <sup>10</sup> foreach unvisited u ∈ W do <sup>11</sup> foreach w in Nout(u) do <sup>12</sup> if w passes the PRT-TFB test then <sup>13</sup> Compute the distance between v and w; <sup>14</sup> if ∥w − v∥ < ∥zmax − v∥ then <sup>15</sup> Update W and insert zmax to R<sup>T</sup> ; <sup>16</sup> else <sup>17</sup> Insert w to R<sup>F</sup> ; <sup>18</sup> if (u, v) is rejected by the PRT-PES test then <sup>19</sup> Add (u, v) to the PES set; <sup>20</sup> Update the nodes in W to RL, and empty W; <sup>21</sup> Sort and merge R<sup>F</sup> and R<sup>T</sup> , and empty R<sup>F</sup> and R<sup>T</sup> ; <sup>22</sup> Refill W until it is full using the sorted elements, and refill R<sup>T</sup> with the remaining sorted nodes; <sup>23</sup> Apply RobustPrune to R<sup>L</sup> to compute Nout(v) and Nin(v);
|
| 127 |
+
#### 4.2. Algorithm Pseudo-Codes of PAG
|
| 128 |
+
The pseudo-codes of the PAG algorithms are presented in Algs. [1](#page-6-1) and [2,](#page-6-2) which represent the indexing and searching, respectively. Note that indexing is essentially the sequential insertion of all nodes. Similar to [Lu et al.](#page-12-10) [\(2024\)](#page-12-10), we store the computed projections in a projection table for lookup (Line 8, Alg. [1](#page-6-1) and Line 4, Alg. [2\)](#page-6-2).
|
| 129 |
+
<sup>24</sup> Add the projection information of new edges to I; <sup>25</sup> Apply RobustPrune to the PES set, supplement Nin(v)'s, and add the projection information of new edges to I;
|
| 130 |
+
## <span id="page-6-0"></span>4.3. Complexity Analysis
|
| 131 |
+
*Time complexity.* Searching with HNSW is in O(n ′d)-time, where n ′ is the number of visited nodes during the search. Although a rigorous analysis of n ′ remains an open problem, n ′ can be roughly estimated as O(M log n), where 2M is the
|
| 132 |
+
#### Algorithm 2: Search with PAG
|
| 133 |
+
```
|
| 134 |
+
Input: G(D, E, I) is the constructed similarity graph; F
|
| 135 |
+
is the random-projection structure; efS is the
|
| 136 |
+
result list size; q is the query; K is the retrieval size
|
| 137 |
+
Output: Top-K ANN nodes
|
| 138 |
+
1 The capacity of RL is set to K;
|
| 139 |
+
2 b = max{10, K};
|
| 140 |
+
3 Maximum round Rmax is set to efS/b;
|
| 141 |
+
4 Compute all ⟨ql, rjl⟩'s and build a projection table;
|
| 142 |
+
5 Insert b elements to W and compute their distance to q;
|
| 143 |
+
6 for r = 1 to Rmax do
|
| 144 |
+
7 foreach unvisited u ∈ W do
|
| 145 |
+
8 foreach w in Nout(u) do
|
| 146 |
+
9 if w passes PRT-TFB test then
|
| 147 |
+
10 Compute the distance between q and w;
|
| 148 |
+
11 if ∥w − q∥ < ∥zmax − q∥ then
|
| 149 |
+
12 Update W and insert zmax to RT ;
|
| 150 |
+
13 else
|
| 151 |
+
14 Insert w to RF ;
|
| 152 |
+
15 Update the nodes in W to RL, and empty W;
|
| 153 |
+
16 Sort and merge RF and RT , and empty RF and RT ;
|
| 154 |
+
17 Refill W until it is full using the sorted elements, and
|
| 155 |
+
refill RT with the remaining sorted nodes;
|
| 156 |
+
18 Return the top-K nodes in RL;
|
| 157 |
+
```
|
| 158 |
+
maximum out-degree. In contrast, the complexity of PAG is O(n ′L+γn′d), whereL ≪ d is the user-specified parameter and γ ≤ 0.5 denotes the ratio of nodes that passed the PRT-PES test relative to the total number of candidates checked. γ is small in practice (generally < 0.2), and is smaller than the ratio in PEOs and KS2, because TFB ensures that the threshold increases incrementally rather than being set to the furthest distance w.r.t. a full priority queue.
|
| 159 |
+
As for indexing, due to the search-and-insertion paradigm, we focus on the insertion of v, for which the complexity is O(n ′L + γn′d + M2d + M dm). Here, O(M2d) is the complexity of node connection, and O(M dm) is used to compute projection information, both of which are much smaller than the ANNS part due to their independence of n ′ .
|
| 160 |
+
*Space complexity.* The space complexity of searching with PAG is O(nd + nM + nML), where O(nd) corresponds to the original dataset, O(nM) corresponds to the edge set and O(nML) corresponds to the inference structure. In the indexing phase, since we adopt in-place search for insertion, we only require an additional space of at most O(Mn) to store the edges in PES set. To further reduce the memory footprint, we can follow LVQ [\(Aguerrebere et al.,](#page-9-0) [2023\)](#page-9-0) and represent floats with 2 bytes.
|
| 161 |
+
### 4.4. Parameter Analysis of PAG
|
| 162 |
+
We analyze the settings of the parameters in PAG.
|
| 163 |
+
(1) m: The value of m is fixed to 16, so that each projection vector in a subspace is represented by 4 bits, which is com
|
| 164 |
+
{7}------------------------------------------------
|
| 165 |
+
*Table 2.* Dataset statistics.
|
| 166 |
+
<span id="page-7-1"></span>Name/Source Dataset Size Query Size Dim. OOD Type Embedding Model Distance Measure Modern Datasets DBpedia1536 999,000 1,000 1,536 No Text text-embedding-3-large [\(OpenAI,](#page-12-11) [2024\)](#page-12-11) Euclidean DBpedia3072 999,000 1,000 3,072 No Text text-embedding-3-large [\(OpenAI,](#page-12-11) [2024\)](#page-12-11) Euclidean WoltFood 1,719,611 1,000 512 No Image clip-ViT-B-32 [\(Radford et al.,](#page-12-5) [2021\)](#page-12-5) Euclidean DataCompDr 12,779,520 1,000 1,536 Yes Text-to-Image coca ViT-L-14 [\(Yu et al.,](#page-13-9) [2022\)](#page-13-9) Euclidean AmazonBooks 15,928,208 1,000 384 No Text all-MiniLM-L12-v2 [\(Wang et al.,](#page-13-10) [2020\)](#page-13-10) Euclidean MajorTOM 56,506,400 10,000 1,024 No Image DINOv2 [\(Oquab et al.,](#page-12-12) [2024\)](#page-12-12) Euclidean Legacy Datasets Word2Vec 1,000,000 1,000 300 No Text Word2Vec [\(Mikolov et al.,](#page-12-13) [2013\)](#page-12-13) Euclidean GIST 1,000,000 1,000 960 No Image GIST [\(Oliva & Torralba,](#page-12-1) [2001\)](#page-12-1) Euclidean GloVe 1,193,514 1,000 200 No Text GloVe [\(Pennington et al.,](#page-12-14) [2014\)](#page-12-14) Euclidean ImageNet 2,340,373 200 150 No Image dense SIFT [\(Lazebnik et al.,](#page-11-13) [2006\)](#page-11-13) Euclidean SIFT10M 10,000,000 1,000 128 No Image SIFT [\(Lowe,](#page-12-0) [2004\)](#page-12-0) Cosine DEEP100M 100,000,000 1,000 96 No Image GoogLeNet [\(Szegedy et al.,](#page-12-15) [2015\)](#page-12-15) Cosine
|
| 167 |
+
patible with the AVX512 instruction set. The choice of 4 bits follows NGT-QG [\(Yahoo! Japan,](#page-13-7) [2023\)](#page-13-7).
|
| 168 |
+
- (2) L: L is recommended to be in [8, d/8], where 8 is compatible with AVX512 because at most 8 levels can be accessed at a time, while d/L = 8 is a safe ratio that ensures the accuracy of the multi-level projection structure, as explained in PEOs [\(Lu et al.,](#page-12-10) [2024\)](#page-12-10). Based on the analysis in Sec. [4.3,](#page-6-0) L is used to tune the trade-off between efficiency and accuracy.
|
| 169 |
+
- (3) M: Similar to its usage in HNSW, 2M is the maximum out-degree of PAG. Based on the analysis in Sec. [4.3,](#page-6-0) M is recommended to be 64 when space cost permits. In practice, M is generally chosen from {16, 32, 64}.
|
| 170 |
+
- (4) |W|: The size of W is set to max{10, K}. Under this setting, when K ≥ 10, W is aligned with the result list, which enables refilling to be easily executed.
|
| 171 |
+
- (5) efC: efC determines how many nodes are visited in W and plays a role similar to efC in HNSW. It is used to control the trade-off between indexing time and search performance. For fast indexing, efC is recommended to be in [100, 200]. For high graph quality, efC is recommended to be in [1000, 10000]. Notably, thanks to TFB, PAG with a very large efC can be built much faster than HNSW with the same efC.
|
| 172 |
+
## 5. Experiments
|
| 173 |
+
We report main results here. Detailed setup and more results are available in Appendices [D](#page-17-0) and [E,](#page-19-0) respectively.
|
| 174 |
+
#### 5.1. Experimental Setup
|
| 175 |
+
*Data Statistics.* In the main experiments, we evaluate PAG on eight datasets: DBpedia1536 [\(Qdrant,](#page-12-16) [2024a\)](#page-12-16) (a.k.a., OpenAI-1536), DBpedia3072 [\(Qdrant,](#page-12-17) [2024b\)](#page-12-17) (a.k.a., OpenAI-3072), WoltFood [\(Qdrant,](#page-12-18) [2024c\)](#page-12-18), AmazonBooks [\(Kang et al.,](#page-11-14) [2024\)](#page-11-14), DataCompDr [\(Apple,](#page-10-3) [2025\)](#page-10-3),
|
| 176 |
+
MajorTOM [\(Major TOM,](#page-12-19) [2024\)](#page-12-19), GloVe [\(Pennington et al.,](#page-12-14) [2014\)](#page-12-14), and DEEP100M [\(Simhadri et al.,](#page-12-20) [2021\)](#page-12-20). The first six are modern text, image, and multimodal (text-to-image) datasets generated by recent embedding models. The latter two are widely-used legacy datasets (downloaded from [The Similarity Search Team, CUHK](#page-12-21) [\(2018\)](#page-12-21)). In addition, we report the experimental results on other legacy datasets (Word2Vec, GIST, ImageNet, and SIFT10M) in Appendix [E.3.](#page-19-1) Dataset statistics are reported in Table [2.](#page-7-1) The queries of DataCompDr are out-of-distribution (OOD). Fig. [11](#page-17-1) in Appendix [D](#page-17-0) plots the data and query distributions of this dataset.
|
| 177 |
+
*Baselines.* Baselines include HNSW [\(Malkov & Yashunin,](#page-12-2) [2020\)](#page-12-2), Vamana [\(Subramanya et al.,](#page-12-7) [2019\)](#page-12-7), SymQG [\(Gou](#page-11-8) [et al.,](#page-11-8) [2025\)](#page-11-8), ScaNN [\(Guo et al.,](#page-11-6) [2020a\)](#page-11-6), IVFPQFS [\(Jegou](#page-11-5) ´ [et al.,](#page-11-5) [2011\)](#page-11-5), and RaBitQ+ [\(Gao et al.,](#page-11-7) [2025\)](#page-11-7). We design two variants of PAG by tuning its parameters, as shown in Table [4](#page-17-2) in Appendix [D:](#page-17-0) (1) PAG-Base, for higher search performance, and (2) PAG-Lite, for faster indexing and smaller memory footprint.
|
| 178 |
+
#### <span id="page-7-0"></span>5.2. Experimental Results
|
| 179 |
+
We set the default retrieval size K = 100.
|
| 180 |
+
- *D1. QPS-Recall.* Fig. [3](#page-8-0) plots the QPS-recall performance. PAG-Base performs the best on all the modern datasets except for high recall settings on WoltFood. Its speedup over HNSW can be up to 5 times. For legacy datasets, PAG-Base is the best on GloVe and only second to SymQG on DEEP100M. PAG-Lite also delivers competitive search performance and is the runner-up on DBpedia1536, DBpedia3072, and MajorTOM.
|
| 181 |
+
- *D2. Indexing Time.* Fig. [4](#page-8-1) (left) shows the indexing time. Under the same or larger efC, PAG-Base requires only 20–40% of the indexing time of HNSW, and is faster than SymQG in most cases. PAG-Lite achieves an indexing time comparable to quantization-based methods, which is further reduced
|
| 182 |
+
{8}------------------------------------------------
|
| 183 |
+
<span id="page-8-0"></span>
|
| 184 |
+
<span id="page-8-1"></span>Figure 3. QPS-recall, K = 100. SymQG runs out of memory on MajorTOM. Recall is plotted in logarithmic scale to highlight large values.
|
| 185 |
+

|
| 186 |
+
Figure 4. Indexing time and peak memory usage. SymQG runs out of memory on MajorTOM.
|
| 187 |
+
to $0.5 \times$ on high-dimensional datasets, where it attains the lowest indexing time.
|
| 188 |
+
D3. Memory Footprint. Fig. 4 shows the memory usage in indexing (middle) and searching (right) phases. PAG-Base uses more memory than HNSW on lower-dimensional datasets, but the difference is negligible on higher-dimensional datasets. PAG-Base consistently uses much less memory than SymQG. PAG-Lite achieves the smallest memory footprint in 4 out of 8 cases for both indexing and searching.
|
| 189 |
+
D4. High-dimensional Scalability. The competitiveness of PAG-Base and PAG-Lite over $d \in [96,3072]$ , as shown in Figs. 3 and 4, is consistent, showcasing its insensitivity to dimensionality. In addition, the advantage of PAG in QPS-recall becomes more pronounced on high-dimensional datasets. In contrast, SymQG reports very low recall on high-dimensional datasets DBpedia1536, DBpedia3072, and DataCompDr, where $d \in \{1536,3072\}$ .
|
| 190 |
+
$\underline{D5.\ Retrieval\ Size\ Robustness}$ . Besides the QPS-recall for K=100 in Fig. 3, we report the results for K=10 in Fig. 16 and K=1000 in Fig. 18. PAG methods are highly
|
| 191 |
+
competitive across the three K values. When K=10, PAG-Base achieves comparable performance and even outperforms SymQG in the high-recall ( $\geq 95\%$ ) region on all datasets except DEEP100M. When K=1000, PAG-Base remains the best, while the performance of SymQG degrades significantly. To highlight the performance comparison, we also plot in Fig. 7 the QPS-recall by varying K from 200 to 800. It can be seen that the gap between PAG-Base and SymQG grows when K moves towards larger values. This observation showcases the robustness of PAG in various applications that differ in retrieval size.
|
| 192 |
+
D6. Online Insertion Support. To evaluate the query processing performance with online insertions, we consider the following workload. We randomly sample from the corpus 10,000 vectors as insertion queries and another 10,000 vectors as search queries. The 20,000 vectors are divided into 20 batches, each with 1,000 vectors. The insertion batches and the search batches are interleaved as a workload, with insertion as the first batch. The rest of the corpus is used to build the initial index. Note that DataCompDr is not OOD in this setting because its original query set (in Table 2) is
|
| 193 |
+
{9}------------------------------------------------
|
| 194 |
+

|
| 195 |
+
Figure 6. QPS-recall, K = 1000.
|
| 196 |
+
not used. To make the processing times of insertion queries and search queries on the same scale, we set efS = efC and tune these two parameters to control the recall. Fig. 8 compares PAG-Base and HNSW, plotting their QPS-recall performances of insertion and search. Insertion queries are slightly slower to process than search queries for both methods. PAG-Base are much faster than HNSW in both insertion and search speeds, and PAG-Base's insertion is even faster than HNSW's search. Similar to PAG-Base's advantage in search, its speedup over HNSW in insertion can be up to 5 times, demonstrating its efficiency in processing online insertions.
|
| 197 |
+
Ablation Study. We choose four datasets, DBpedia3072, WoltFood, AmazonBooks, and DataCompDr, for ablation study. Among the six modern datasets, they cover the lowest and highest dimensionality, text and images, as well as OOD. Figs. 9 and 10 show the effectiveness of PAG's components. We observe that TFB consistently reduces indexing time and improves search performance. PES further enhances search performance with negligible additional indexing time. The additional memory usage introduced by TFB and PES is very minor and thus not shown here, because TFB does not affect
|
| 198 |
+
the index size and PES barely increases the number of edges.
|
| 199 |
+
## 6. Conclusion
|
| 200 |
+
In this paper, we motivated six critical demands of modern AI applications for ANNS, covering search performance, indexing speed, memory footprint, scalability to dimensionality, robustness against retrieval size, and support of online insertion. To meet these demands, we proposed PAG as a new framework for ANNS. PAG reduces unnecessary distance computations by employing the comparison of exact and approximate distances. The components of PAG are derived from a unified statistical relationship, making its mechanism theoretically explainable. Experiments on modern datasets showcased the superiority of PAG over widely-used ANNS methods as well as state-of-the art solutions, and confirmed the effectiveness of PAG's components.
|
| 201 |
+
#### References
|
| 202 |
+
<span id="page-9-0"></span>Aguerrebere, C., Bhati, I., Hildebrand, M., Tepper, M., and Willke, T. L. Similarity search in the blink of an eye with compressed indices. *PVLDB*, 16(11):3433–3446, 2023.
|
| 203 |
+
{10}------------------------------------------------
|
| 204 |
+
10<sup>4</sup>
|
| 205 |
+
10<sup>3</sup>
|
| 206 |
+
10<sup>2</sup>
|
| 207 |
+
10<sup>1</sup>
|
| 208 |
+
10
|
| 209 |
+
10<sup>3</sup>
|
| 210 |
+
10<sup>2</sup>
|
| 211 |
+
10
|
| 212 |
+
10
|
| 213 |
+
10
|
| 214 |
+
10
|
| 215 |
+
10<sup>1</sup>
|
| 216 |
+
Recall (%)
|
| 217 |
+
WoltFood (K=800)
|
| 218 |
+
AmazonBooks (K=800)
|
| 219 |
+
Recall (%) DEEP100M (K=800)
|
| 220 |
+
<span id="page-10-4"></span>
|
| 221 |
+
Figure 7. QPS-recall comparison of PAG-Base and SymQG under varying retrieval size K.
|
| 222 |
+
<span id="page-10-5"></span>
|
| 223 |
+
Figure 8. QPS-recall of query workloads with online insertions.
|
| 224 |
+
<span id="page-10-6"></span>
|
| 225 |
+
Figure 9. Ablation study, QPS-recall. PRT only is the re-implementation of KS2 in PAG.
|
| 226 |
+
Andoni, A. and Indyk, P. E2lsh manual. mit.edu/andoni/www/LSH, 2005.
|
| 227 |
+
<span id="page-10-0"></span>594 595
|
| 228 |
+
<span id="page-10-8"></span>597
|
| 229 |
+
<span id="page-10-1"></span>601
|
| 230 |
+
Andoni, A. and Indyk, P. Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions. Commun. ACM, 51(1):117–122, 2008.
|
| 231 |
+
Andoni, A., Indyk, P., Laarhoven, T., Razenshteyn, I. P., and Schmidt, L. Practical and optimal LSH for angular distance. In NeurIPS, pp. 1225-1233, 2015.
|
| 232 |
+
<span id="page-10-3"></span>Apple. Datacompdr-12m. co/datasets/apple/DataCompDR-12M, 2025.
|
| 233 |
+
<span id="page-10-7"></span>Babenko, A. and Lempitsky, V. S. Efficient indexing of billion-scale datasets of deep descriptors. In CVPR, pp. 2055–2063, 2016.
|
| 234 |
+
<span id="page-10-2"></span>Bentley, J. L. K-d trees for semidynamic point sets. In SoCG, pp. 187-197, 1990.
|
| 235 |
+
{11}------------------------------------------------
|
| 236 |
+
<span id="page-11-15"></span>
|
| 237 |
+
<span id="page-11-11"></span>
|
| 238 |
+
<span id="page-11-0"></span>
|
| 239 |
+
<span id="page-11-10"></span>
|
| 240 |
+
<span id="page-11-20"></span>
|
| 241 |
+
<span id="page-11-12"></span>
|
| 242 |
+
<span id="page-11-1"></span>
|
| 243 |
+
<span id="page-11-2"></span>
|
| 244 |
+
<span id="page-11-3"></span>
|
| 245 |
+
<span id="page-11-9"></span>
|
| 246 |
+
<span id="page-11-21"></span>
|
| 247 |
+
*Figure 10.* Ablation study, indexing time. PRT only is the reimplementation of KS2 in PAG.
|
| 248 |
+
- Bernhardsson, E. Annoy. 2013.
|
| 249 |
+
- Bernhardsson, E., Aumüller, M., and Faithfull, A. Ann benchmarks. 2015.
|
| 250 |
+
- Beygelzimer, A., Kakade, S. M., and Langford, J. Cover trees for nearest neighbor. In *ICML*, volume 148, pp. 97–104, 2006.
|
| 251 |
+
- Charikar, M. Similarity estimation techniques from rounding algorithms. In *STOC*, pp. 380–388, 2002.
|
| 252 |
+
- Chen, P. H., Chang, W., Jiang, J., Yu, H., Dhillon, I. S., and Hsieh, C. FINGER: fast inference for graph-based approximate nearest neighbor search. In *WWW*, pp. 3225–3235, 2023.
|
| 253 |
+
- Chen, T., Fu, C., Wu, J., Wu, H., Fan, H., Ke, X., Gao, Y., Ni, Y., and Zeng, A. Reveal hidden pitfalls and navigate next generation of vector similarity search from task-centric views. *arXiv preprint arXiv:2512.12980*, 2025. URL
|
| 254 |
+
- Cheng, R., Peng, Y., Wei, X., Xie, H., Chen, R., Shen, S., and Chen, H. Characterizing the dilemma of performance and index size in billion-scale vector search and breaking it with second-tier memory. *arXiv preprint arXiv:2405.03267*, 2024. URL
|
| 255 |
+
- Fensore, C., Dhole, K. D., Ho, J. C., and Agichtein, E. Evaluating hybrid retrieval augmented generation using dynamic test sets: Liverag challenge. *CoRR*, abs/2506.22644, 2025. URL
|
| 256 |
+
- Fu, C., Xiang, C., Wang, C., and Cai, D. Fast approximate nearest neighbor search with the navigating spreading-out graph. *PVLDB*, 12(5):461–474, 2019.
|
| 257 |
+
- Fu, C., Wang, C., and Cai, D. High dimensional similarity search with satellite system graph: Efficiency, scalability, and unindexed query compatibility. *IEEE Trans. Pattern Anal. Mach. Intell.*, 44(8):4139–4150, 2022.
|
| 258 |
+
- <span id="page-11-18"></span>Gao, J. and Long, C. High-dimensional approximate nearest neighbor search: with reliable and efficient distance comparison operations. *Proc. ACM Manag. Data*, 1(2): 137:1–137:27, 2023.
|
| 259 |
+
- <span id="page-11-17"></span>Gao, J. and Long, C. Rabitq: Quantizing high-dimensional vectors with a theoretical error bound for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 2(3): 167, 2024.
|
| 260 |
+
- <span id="page-11-7"></span>Gao, J., Gou, Y., Xu, Y., Yang, Y., Long, C., and Wong, R. C. Practical and asymptotically optimal quantization of highdimensional vectors in euclidean space for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 3(3): 202:1–202:26, 2025.
|
| 261 |
+
- <span id="page-11-16"></span>Ge, T., He, K., Ke, Q., and Sun, J. Optimized product quantization. *IEEE Trans. Pattern Anal. Mach. Intell*, 36(4): 744–755, 2014.
|
| 262 |
+
- <span id="page-11-8"></span>Gou, Y., Gao, J., Xu, Y., and Long, C. Symphonyqg: Towards symphonious integration of quantization and graph for approximate nearest neighbor search. *Proc. ACM Manag. Data*, 3(1):80:1–80:26, 2025.
|
| 263 |
+
- <span id="page-11-6"></span>Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. Accelerating large-scale inference with anisotropic vector quantization. In *ICML*, pp. 3887–3896, 2020a.
|
| 264 |
+
- <span id="page-11-22"></span>Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., and Kumar, S. ScaNN algorithms and configuration. 2020b.
|
| 265 |
+
- <span id="page-11-19"></span>Indyk, P. and Motwani, R. Approximate nearest neighbors: Towards removing the curse of dimensionality. In *STOC*, pp. 604–613, 1998.
|
| 266 |
+
- <span id="page-11-5"></span>Jégou, H., Douze, M., and Schmid, C. Product quantization for nearest neighbor search. *IEEE Trans. Pattern Anal. Mach. Intell*, 33(1):117–128, 2011.
|
| 267 |
+
- <span id="page-11-14"></span>Kang, G., Ge, Z., Hu, J., Zhang, X., Wang, L., and Zhan, J. Bigvectorbench. BenchCouncil/BigVectorBench, 2024.
|
| 268 |
+
- <span id="page-11-4"></span>Ke, Y. et al. Retrieval augmented generation for 10 large language models and its generalizability in assessing medical fitness. *npj Digit. Medicine*, 8(1), 2025.
|
| 269 |
+
- <span id="page-11-13"></span>Lazebnik, S., Schmid, C., and Ponce, J. Beyond bags of features: Spatial pyramid matching for recognizing natural scene categories. In *CVPR*, volume 2, pp. 2169–2178, 2006.
|
| 270 |
+
{12}------------------------------------------------
|
| 271 |
+
<span id="page-12-4"></span>660 661 662 663 664 665 666 Li, A. and Papakonstantinou, Y. ScaNN for AlloyDB: The first PostgreSQL vector search index that works well from millions to billion of vectors. [ [products/databases/how-scann-for]( 2025.
|
| 272 |
+
<span id="page-12-11"></span>706
|
| 273 |
+
- <span id="page-12-3"></span>Lin, J. Operational advice for dense and sparse retrievers: Hnsw, flat, or inverted indexes? In *Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track)*, pp. 865–872, 2025.
|
| 274 |
+
- <span id="page-12-0"></span>Lowe, D. G. Distinctive image features from scale-invariant keypoints. *International Journal of Computer Vision*, 60 (2):91–110, 2004.
|
| 275 |
+
- <span id="page-12-22"></span>Lu, K., Kudo, M., Xiao, C., and Ishikawa, Y. Hvs: Hierarchical graph structure based on voronoi diagrams for solving approximate nearest neighbor search. *PVLDB*, 15 (2):246–258, 2021.
|
| 276 |
+
- <span id="page-12-10"></span>Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic routing for graph-based approximate nearest neighbor search. In *ICML*, pp. 33177–33195, 2024.
|
| 277 |
+
- <span id="page-12-8"></span>Lu, K., Xiao, C., and Ishikawa, Y. Probabilistic kernel function for fast angle testing. *arXiv preprint arXiv:2505.20274*, 2025. URL [ [org/abs/2505.20274](
|
| 278 |
+
- <span id="page-12-19"></span>Major TOM. Core-s2rgb-dinov2. [https:]( [//huggingface.co/datasets/Major-]( 2024.
|
| 279 |
+
- <span id="page-12-2"></span>Malkov, Y. A. and Yashunin, D. A. Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. *IEEE Trans. Pattern Anal. Mach. Intell*, 42(4):824–836, 2020.
|
| 280 |
+
- <span id="page-12-13"></span>Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., and Dean, J. Distributed representations of words and phrases and their compositionality. In *NeurIPS*, pp. 3111–3119, 2013.
|
| 281 |
+
- <span id="page-12-1"></span>Oliva, A. and Torralba, A. Modeling the shape of the scene: A holistic representation of the spatial envelope. *International Journal of Computer Vision*, 42(3):145–175, 2001.
|
| 282 |
+
- OpenAI. text-embedding-3-large. [ [platform.openai.com/docs/models/text]( 2024.
|
| 283 |
+
- <span id="page-12-12"></span>Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., et al. Dinov2: Learning robust visual features without supervision. *Trans. Mach. Learn. Res.*, 2024.
|
| 284 |
+
- <span id="page-12-6"></span>Ouyang, S. et al. ReasoningBank: Scaling agent selfevolving with reasoning memory. *arXiv preprint arXiv:2509.25140*, 2025. URL [ [org/abs/2509.25140v1](
|
| 285 |
+
- <span id="page-12-14"></span>Pennington, J., Socher, R., and Manning, C. D. Glove: Global vectors for word representation. In *Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP)*, pp. 1532–1543, 2014.
|
| 286 |
+
- <span id="page-12-9"></span>Pham, N. Simple yet efficient algorithms for maximum inner product search via extreme order statistics. In *KDD*, pp. 1339–1347, 2021.
|
| 287 |
+
- <span id="page-12-23"></span>Pham, N. and Liu, T. Falconn++: A locality-sensitive filtering approach for approximate nearest neighbor search. In *NeurIPS*, pp. 31186–31198, 2022.
|
| 288 |
+
- <span id="page-12-16"></span>Qdrant. dbpedia-entities-openai3-text-embedding-3 large-1536-1m. [ [datasets/Qdrant/dbpedia-entities]( [1M]( 2024a.
|
| 289 |
+
- <span id="page-12-17"></span>Qdrant. dbpedia-entities-openai3-text-embedding-3 large-3072-1m. [ [datasets/Qdrant/dbpedia-entities]( [1M]( 2024b.
|
| 290 |
+
- <span id="page-12-18"></span>Qdrant. wolt-food-clip-vit-b-32-embeddings. [ [huggingface.co/datasets/Qdrant/wolt]( 2024c.
|
| 291 |
+
- <span id="page-12-5"></span>Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In *ICML*, pp. 8748–8763, 2021.
|
| 292 |
+
- <span id="page-12-20"></span>Simhadri, H. V., Williams, G., Aumuller, M., Douze, M., ¨ Babenko, A., Baranchuk, D., Chen, Q., Hosseini, L., Krishnaswamny, R., Srinivasa, G., et al. Billion-scale approximate nearest neighbor search challenge: Neurips'21 competition track. [ [com/neurips21.html]( 2021.
|
| 293 |
+
- <span id="page-12-7"></span>Subramanya, S. J., Devvrit, F., Simhadri, H. V., Krishnaswamy, R., and Kadekodi, R. Rand-nsg: Fast accurate billion-point nearest neighbor search on a single node. In *NeurIPS*, pp. 13748–13758, 2019.
|
| 294 |
+
- <span id="page-12-15"></span>Szegedy, C., Liu, W., Jia, Y., Sermanet, P., Reed, S., Anguelov, D., Erhan, D., Vanhoucke, V., and Rabinovich, A. Going deeper with convolutions. In *CVPR*, pp. 1–9, 2015.
|
| 295 |
+
- <span id="page-12-21"></span>The Similarity Search Team, CUHK. FVECS datasets. [ [hash/gqr/datasets.html]( 2018.
|
| 296 |
+
{13}------------------------------------------------
|
| 297 |
+
<span id="page-13-1"></span>716 718 Vendrow, E., Pantazis, O., Shepard, A., Brostow, G., Jones, K., Mac Aodha, O., Beery, S., and Van Horn, G. Inquire: A natural world text-to-image retrieval benchmark. *NeurIPS*, 37:126500–126514, 2024.
|
| 298 |
+
<span id="page-13-0"></span>719 720 721
|
| 299 |
+
<span id="page-13-8"></span>724
|
| 300 |
+
<span id="page-13-12"></span>734
|
| 301 |
+
<span id="page-13-10"></span>736
|
| 302 |
+
<span id="page-13-9"></span>756
|
| 303 |
+
<span id="page-13-2"></span>766
|
| 304 |
+
- Wallace, J. A. How hierarchical navigable small world (HNSW) algorithms can improve search. [ [source=chatgpt.com]( 2025.
|
| 305 |
+
- Wang, H., Wu, W., Luo, C., Bian, A., Meng, C., Wu, Y., and Sun, J. Boosting accuracy and efficiency for vector retrieval with local scaling graph. In *ICDE*, pp. 336–348, 2025a.
|
| 306 |
+
- <span id="page-13-6"></span>Wang, J., Zhang, T., Song, J., Sebe, N., and Shen, H. T. A survey on learning to hash. *IEEE Trans. Pattern Anal. Mach. Intell.*, 40(4):769–790, 2018.
|
| 307 |
+
- Wang, M., Wu, H., Ke, X., Gao, Y., Zhu, Y., and Zhou, W. Accelerating graph indexing for ANNS on modern cpus. *Proc. ACM Manag. Data*, 3(3):123:1–123:29, 2025b.
|
| 308 |
+
- Wang, W., Wei, F., Dong, L., Bao, H., Yang, N., and Zhou, M. MiniLM: Deep self-attention distillation for task-agnostic compression of pre-trained transformers. In *NeurIPS*, pp. 5776–5788, 2020.
|
| 309 |
+
- <span id="page-13-5"></span>Weller, O., Boratko, M., Naim, I., and Lee, J. On the theoretical limitations of embedding-based retrieval. *CoRR*, abs/2508.21038, 2025. URL [ [abs/2508.21038](
|
| 310 |
+
- <span id="page-13-11"></span>Xie, J., Yu, J. X., and Liu, Y. Graph based k-nearest neighbor search revisited. *ACM Trans. Database Syst.*, 50(4):14:1– 14:30, 2025.
|
| 311 |
+
- <span id="page-13-13"></span>Xu, H. and Pham, N. Scalable DBSCAN with random projections. In *NeurIPS*, 2024.
|
| 312 |
+
- <span id="page-13-7"></span>Yahoo! Japan. Neighborhood graph and tree for indexing high-dimensional data. [ [yahoojapan/NGT]( 2023.
|
| 313 |
+
- Yu, J., Wang, Z., Vasudevan, V., Yeung, L., Seyedhosseini, M., and Wu, Y. Coca: Contrastive captioners are imagetext foundation models. *Trans. Mach. Learn. Res.*, 2022, 2022.
|
| 314 |
+
- <span id="page-13-3"></span>Zhai, Y., Tao, S., Chen, C., Zou, A., Chen, Z., Fu, Q., Mai, S., Yu, L., Deng, J., Cao, Z., et al. AgentEvolver: Towards efficient self-evolving agent system. *arXiv preprint arXiv:2511.10395*, 2025. URL [https:]( [//arxiv.org/abs/2511.10395](
|
| 315 |
+
- Zhang, J. et al. Optimizing recall or relevance? A multi-task multi-head approach for item-to-item retrieval in recommendation. In *KDD*, pp. 5194–5204, 2025.
|
| 316 |
+
<span id="page-13-4"></span>Zhang, S., Wang, J., Zhou, R., Liao, J., Feng, Y., Zhang, W., Wen, Y., Li, Z., Xiong, F., Qi, Y., et al. MemRL: Selfevolving agents via runtime reinforcement learning on episodic memory. *arXiv preprint arXiv:2601.03192*, 2026. URL <
|
| 317 |
+
{14}------------------------------------------------
|
| 318 |
+
## A. Frequently Used Notations
|
| 319 |
+
<span id="page-14-1"></span>Table 3 shows the notations frequently used in this paper. *Table 3.* Frequently used notations.
|
| 320 |
+
| Symbol | Description | | | | |
|
| 321 |
+
|------------------------------------|-------------------------------------------------------------------|--|--|--|--|
|
| 322 |
+
| $\mathcal{D}$ | Dataset of vectors | | | | |
|
| 323 |
+
| d | Dimension of vectors | | | | |
|
| 324 |
+
| n | Dataset size | | | | |
|
| 325 |
+
| $\boldsymbol{q}$ | Query vector | | | | |
|
| 326 |
+
| K | Retrieval size | | | | |
|
| 327 |
+
| $\boldsymbol{v}$ | Node to be inserted to a graph index | | | | |
|
| 328 |
+
| $N_{\rm out}(\boldsymbol{v})$ | Out-neighbors of $v$ | | | | |
|
| 329 |
+
| $N_{\rm in}(\boldsymbol{v})$ | In-neighbors of $\boldsymbol{v}$ | | | | |
|
| 330 |
+
| $\boldsymbol{u}$ | Candidate neighbor of $v$ to be evaluated | | | | |
|
| 331 |
+
| L | Space partition size | | | | |
|
| 332 |
+
| $\{\boldsymbol{w_i}\}_{i=1}^t$ | $t$ neighbors of $\boldsymbol{u}$ | | | | |
|
| 333 |
+
| $\{\boldsymbol{e_i}\}_{i=1}^t$ | Edges between $\boldsymbol{u}$ and $\{\boldsymbol{w_i}\}_{i=1}^t$ | | | | |
|
| 334 |
+
| $\tau_i$ | Threshold w.r.t. $w_i$ in PRT | | | | |
|
| 335 |
+
| $\delta_i$ | Threshold w.r.t. $w_i$ in PES | | | | |
|
| 336 |
+
| $R_L$ | Result list | | | | |
|
| 337 |
+
| W | Working set | | | | |
|
| 338 |
+
| $R_F, R_T$ | Dual rings of false positives and ejected nodes | | | | |
|
| 339 |
+
| m | Number of projection vectors in each subspace | | | | |
|
| 340 |
+
| ${\mathcal F}$ | Set of concatenated projection vectors | | | | |
|
| 341 |
+
| $\{\boldsymbol{r_i}\}_{i=1}^{m^L}$ | Individual projection vectors | | | | |
|
| 342 |
+
| $r_i^* \in \mathcal{F}$ | Vector having the smallest angle with $w_i - u$ | | | | |
|
| 343 |
+
| $\cos \alpha_i$ | Cosine of the angle between $w_i - u$ and $v - u$ | | | | |
|
| 344 |
+
| $\cos \beta_i$ | Cosine of the angle between $w_i - u$ and $r_i^*$ | | | | |
|
| 345 |
+
| $\cos \theta_i$ | Cosine of the angle between $v-u$ and $r_i^*$ | | | | |
|
| 346 |
+
| Cand(v) | All nodes visited during the insertion of $v$ | | | | |
|
| 347 |
+
| $H(\boldsymbol{v})$ | Nodes in $\operatorname{Cand}(\boldsymbol{v})$ rejected by PES | | | | |
|
| 348 |
+
#### <span id="page-14-0"></span>B. Proof of Theorem 3.1
|
| 349 |
+
In the proof, with slight abuse of notation, we treat u as the origin, and directly use v and each $w_i$ to denote v-u and $w_i-u$ , respectively.
|
| 350 |
+
As such, we have $w_1, \ldots, w_t, v \in \mathbb{S}^{d-1}$ , and $\langle w_i, v \rangle = \cos \alpha_i, i = 1, \ldots, t$ . Suppose that d is divisible by L. Let $w_i = [w_{i1}, \ldots, w_{iL}]^{\top}$ and $v = [v_1, \ldots, v_L]^{\top}$ be the equal-dimension partition of $w_i$ and v, respectively. Suppose that in the l-th subspace, we generate m random projection vectors $\{r_{jl}\}_{j=1}^m$ with the norm $1/\sqrt{L}$ . We use $r_{il}^*$ to denote the nearest projection vector to $w_{il}$ , i.e.,
|
| 351 |
+
$$r_{il}^* = \underset{1 \le j \le m}{\arg\max} \langle r_{jl}, w_{il} \rangle. \tag{7}$$
|
| 352 |
+
Then, we have $\bm{r_i^*} = [\bm{r_{i1}^*}, \dots, \bm{r_{iL}^*}]^\top \in \mathbb{S}^{d-1}.$ We introduce
|
| 353 |
+
$$C_{il} := \frac{\langle \boldsymbol{w_{il}}, \boldsymbol{r_{il}^*} \rangle \sqrt{L}}{\|\boldsymbol{w_{il}}\|} \in [-1, 1]. \tag{8}$$
|
| 354 |
+
Let $\mathbb{E}[C_{il}] = \mu_m$ and $\mathrm{Var}(C_{il}) = \sigma_m^2$ , where $\mu_m$ and $\sigma_m^2$ depend only on m. Note that they implicitly depend on the subspace dimension d/L. When m grows at a sufficiently high rate compared to d/L, $\mu_m \to 1$ and $\sigma_m \to 0$ . Moreover,
|
| 355 |
+
we have
|
| 356 |
+
$$Cov(C_{il}, C_{jl}) = \rho_m(\phi_{ijl})\sigma_m^2 \tag{9}$$
|
| 357 |
+
where $\phi_{ijl}$ denotes the angle between $w_{il}$ and $w_{jl}$ , and $\rho_m := [0,\pi] \to [-1,1]$ denotes the correlation coefficient function depending on $\phi_{ijl}$ . Then, we have
|
| 358 |
+
$$Y_i := \Sigma_{l=1}^L \langle \boldsymbol{r_{il}^*}, \boldsymbol{w_{il}} \rangle = \Sigma_{l=1}^L \frac{\|\boldsymbol{w_{il}}\|}{\sqrt{L}} C_{il}.$$
|
| 359 |
+
(10)
|
| 360 |
+
By the assumption that $\|\boldsymbol{w_{il}}\| = (1 + o(1))/\sqrt{L}$ , we have
|
| 361 |
+
$$\mathbb{E}[Y_i] = \mu_m(1 + o(1)). \tag{11}$$
|
| 362 |
+
$$Var(Y_i) = \frac{\sigma_m^2}{L}(1 + o(1)).$$
|
| 363 |
+
(12)
|
| 364 |
+
<span id="page-14-2"></span>
|
| 365 |
+
$$Cov(Y_i, Y_j) = \frac{\sigma_m^2}{L^2} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) (1 + o(1)).$$
|
| 366 |
+
(13)
|
| 367 |
+
Then, $v_l$ can be decomposed as $v_l = v_{il}^{\parallel} + v_{il}^{\perp}$ , where $v_{il}^{\parallel}$ and $v_{il}^{\perp}$ are defined as follows.
|
| 368 |
+
$$v_{il}^{\parallel} = \frac{\langle v_l, w_{il} \rangle}{\|w_{il}\|^2} w_{il}, \quad v_{il}^{\perp} \perp w_{il}.$$
|
| 369 |
+
(14)
|
| 370 |
+
Then, we can define $Z_i$ as follows.
|
| 371 |
+
$$Z_i := \langle r_i^*, v \rangle = Z_i^{(1)} + Z_i^{(2)}$$
|
| 372 |
+
(15)
|
| 373 |
+
where $Z_i^{(1)}$ and $Z_i^{(2)}$ are defined as follows.
|
| 374 |
+
$$Z_i^{(1)} := \sum_{l=1}^{L} \frac{\langle \boldsymbol{v_l}, \boldsymbol{w_{il}} \rangle}{\|\boldsymbol{w_{il}}\| \sqrt{L}} C_{il}.$$
|
| 375 |
+
(16)
|
| 376 |
+
$$Z_i^{(2)} := \sum_{l=1}^L \langle r_{il}^*, v_{il}^{\perp} \rangle. \tag{17}$$
|
| 377 |
+
$$\mathbb{E}[Z_i^{(1)}] = \frac{\mu_m}{\sqrt{L}} \sum_{l=1}^L \frac{\langle \boldsymbol{v}_l, \boldsymbol{w}_{il} \rangle}{\|\boldsymbol{w}_{il}\|}$$
|
| 378 |
+
$$= \mu_m \cos \alpha_i + o(1).$$
|
| 379 |
+
(18)
|
| 380 |
+
By symmetry, we have $\mathbb{E}[Z_i^{(2)}|\{C_{il}\}_{l=1}^L]=0$ . Then, by the independence of subspaces, we have
|
| 381 |
+
$$\mathbb{E}[Z_i] = \mu_m \cos(\alpha_i) + o(1). \tag{19}$$
|
| 382 |
+
$$Var(Z_i^{(1)}) = \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \frac{\langle v_l, w_{il} \rangle^2}{\|w_{il}\|^2}.$$
|
| 383 |
+
(20)
|
| 384 |
+
We take the orthogonal decomposition of $r_{il}^*$ as $r_{il}^* = r_{il}^{\parallel} + r_{il}^{\perp}$ , where $r_{il}^{\parallel}$ has the same direction with $w_{il}$ . Let $r_{il}^{\perp} = \|r_{il}^{\perp}\|\zeta$ , where $\|\zeta\| = 1$ is a random vector in a (d/L - 1)-dimensional subspace. We have
|
| 385 |
+
$$\mathbb{E}_{\zeta}[\langle \zeta, v_{il}^{\perp} \rangle^{2}] = \frac{\|v_{il}^{\perp}\|^{2} L}{d - L}.$$
|
| 386 |
+
(21)
|
| 387 |
+
{15}------------------------------------------------
|
| 388 |
+
By symmetry, $\mathbb{E}[\langle r_{il}^{\perp}, v_{il}^{\perp} \rangle \mid C_{il}] = 0$ . Then, we have
|
| 389 |
+
$$\operatorname{Var}(\langle \boldsymbol{r}_{il}^*, \boldsymbol{v}_{il}^{\perp} \rangle) = \mathbb{E}_{C_{il}} \left[ \mathbb{E}[\langle \boldsymbol{r}_{il}^{\perp}, \boldsymbol{v}_{il}^{\perp} \rangle^2 \mid C_{il}] \right]. \tag{22}$$
|
| 390 |
+
Using $\mathbb{E}[\|\boldsymbol{r}_{il}^{\perp}\|^2] = \frac{1}{L}(1 - \mathbb{E}[C_{il}^2])$ , we have
|
| 391 |
+
<span id="page-15-1"></span>
|
| 392 |
+
$$Var(Z_i^{(2)}) = \frac{1 - (\sigma_m^2 + \mu_m^2)}{d - L} \sum_{l=1}^{L} \| v_{il}^{\perp} \|^2.$$
|
| 393 |
+
(23)
|
| 394 |
+
Because $Cov(Z_i^{(1)}, Z_i^{(2)}) = 0$ , we have
|
| 395 |
+
$$Var(Z_i) = Var(Z_i^{(1)}) + Var(Z_i^{(2)}).$$
|
| 396 |
+
(24)
|
| 397 |
+
We define $\epsilon_m:=\sqrt{1-\mathbb{E}[C_{il}^2]}$ . From Eq. (23), we can see that $\mathrm{Var}(Z_i^{(2)})=O(\epsilon_m^2/L)$ .
|
| 398 |
+
We now analyze the covariance structure. We cannot assume $Z^{(1)}$ and $Z^{(2)}$ are uncorrelated across different indices $i \neq j$ . Instead, we decompose the covariance matrix as
|
| 399 |
+
<span id="page-15-3"></span>
|
| 400 |
+
$$Cov(Z_i, Z_j) = Cov(Z_i^{(1)}, Z_j^{(1)}) + R_{ij}$$
|
| 401 |
+
(25)
|
| 402 |
+
where the residual term $R_{ij}$ contains the noise auto-covariance and cross-terms:
|
| 403 |
+
$$R_{ij} = \text{Cov}(Z_i^{(2)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(1)}, Z_j^{(2)}) + \text{Cov}(Z_i^{(2)}, Z_j^{(1)}).$$
|
| 404 |
+
(26)
|
| 405 |
+
Because ${\rm Var}(Z^{(1)})=O(1/L)$ and ${\rm Var}(Z^{(2)})=O(\epsilon_m^2/L)$ , by the Cauchy-Schwarz inequality, we have
|
| 406 |
+
$$|\text{Cov}(Z_i^{(1)}, Z_j^{(2)})| \le \sqrt{\text{Var}(Z_i^{(1)})\text{Var}(Z_j^{(2)})} = O\left(\frac{\epsilon_m}{L}\right).$$
|
| 407 |
+
Thus, the entire residual term satisfies $R_{ij} = O(\epsilon_m/L)$ .
|
| 408 |
+
Now, let us turn to $\mathrm{Cov}(Y_i,Z_j)$ . When i=j, by conditional expectation, $\mathrm{Cov}(Y_i,Z_j^{(2)})=0$ . When $i\neq j$ , if $m\to\infty$ , $\sigma_m^2+\mu_m^2\to 1$ and $\mathrm{Var}(Z_i^{(2)})\to 0$ . Thus, $\mathrm{Cov}(Y_i,Z_j^{(2)})\to 0$ . Then, as $m\to\infty$ , we have
|
| 409 |
+
<span id="page-15-2"></span>
|
| 410 |
+
$$Cov(Y_i, Z_j) \to \frac{\sigma_m^2}{L} \sum_{l=1}^{L} \rho_m(\phi_{ijl}) \langle \boldsymbol{v_l}, \boldsymbol{w_{jl}} \rangle (1 + o(1)).$$
|
| 411 |
+
(28)
|
| 412 |
+
Based on the above analysis, we consider
|
| 413 |
+
$$\boldsymbol{\xi_{l}} = \left[ \frac{\|\boldsymbol{w_{1l}}\|}{\sqrt{L}} C_{1l}, \dots, \frac{\|\boldsymbol{w_{tl}}\|}{\sqrt{L}} C_{tl}, \langle \boldsymbol{r_{1l}^*}, \boldsymbol{v_l} \rangle, \dots, \langle \boldsymbol{r_{tl}^*}, \boldsymbol{v_l} \rangle \right].$$
|
| 414 |
+
(29)
|
| 415 |
+
By the assumptions that $\|v_{il}\|$ and $\|w_{il}\|$ equal $(1 + o(1))/\sqrt{L}$ , it can be seen that $\xi_l$ satisfies the Lyapunov condition. By the independence of difference subspaces, we use the Lindeberg-Feller CLT and obtain the following result.
|
| 416 |
+
$$\sqrt{L}([Y_1, \dots, Y_t, Z_1, \dots, Z_t]^{\top} - \bar{\boldsymbol{\mu}}) \xrightarrow[L \to \infty]{d} \mathcal{N}(0, \bar{\Sigma}_{m,L})$$
|
| 417 |
+
(30)
|
| 418 |
+
where $\bar{\mu} = [\mu_m, \dots, \mu_m, \mu_m \cos \alpha_1, \dots, \mu_m \cos \alpha_t]^\top$ , and $\bar{\Sigma}$ is represented by block sub-matrices
|
| 419 |
+
$$\bar{\Sigma} = \begin{pmatrix} \Sigma_{YY} & \Sigma_{YZ} \\ \Sigma_{ZY} & \Sigma_{ZZ} \end{pmatrix} \tag{31}$$
|
| 420 |
+
where the elements of $\Sigma_{YY}$ , $\Sigma_{YZ}$ and $\Sigma_{ZZ}$ are L times the covariance computed in Eqs. (13), (28), and (25), respectively.
|
| 421 |
+
Based on this result, Z | Y is still a multivariate normal distribution. We have
|
| 422 |
+
$$\mathbb{E}[\mathbf{Z}|\mathbf{Y}] = \boldsymbol{\mu}_Z + \boldsymbol{\Sigma}_{ZY} \boldsymbol{\Sigma}_{YY}^{-1} (\mathbf{Y} - \boldsymbol{\mu}_Y). \tag{32}$$
|
| 423 |
+
$$Cov(\mathbf{Z}|\mathbf{Y}) = (\Sigma_{ZZ} - \Sigma_{ZY}\Sigma_{YY}^{-1}\Sigma_{YZ})/L.$$
|
| 424 |
+
(33)
|
| 425 |
+
Let D be the diagonal matrix defined as follows
|
| 426 |
+
$$\mathbf{D} = \operatorname{diag}[\cos \alpha_1, \dots, \cos \alpha_t]. \tag{34}$$
|
| 427 |
+
Because $\Sigma_{ZY} \to \mathbf{D}\Sigma_{YY}$ , when $\mathbf{Y} = [\cos \beta_1, \dots, \cos \beta_t]^\top$ , we have
|
| 428 |
+
$$\mathbb{E}[\mathbf{Z}|\mathbf{Y}] \to [\cos \alpha_1 \cos \beta_1, \dots, \cos \alpha_t \cos \beta_t]^\top.$$
|
| 429 |
+
(35)
|
| 430 |
+
$$Cov(\mathbf{Z}|\mathbf{Y}) \to (\mathbf{\Sigma}_{\mathbf{Z}\mathbf{Z}} - \mathbf{D}\mathbf{\Sigma}_{\mathbf{Y}\mathbf{Y}}\mathbf{D})/L = \mathbf{R}/L$$
|
| 431 |
+
(36)
|
| 432 |
+
where $\mathbf{R}$ represents the scaled residual matrix with entries $L \cdot R_{ij} = O(\epsilon_m)$ . Then, we conclude.
|
| 433 |
+
**Remarks.** For each fixed i, if we apply a random rotation matrix to $w_i - u$ and v - u in $\mathbb{R}^d$ , by the spherical concentration inequality, we can derive the following inequalities.
|
| 434 |
+
$$P\left(\left|\|(\boldsymbol{w_i} - \boldsymbol{u})_l\|^2 - \frac{1}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_1 d\tilde{\epsilon}^2}$$
|
| 435 |
+
(37)
|
| 436 |
+
$$P\left(\left|\langle (\boldsymbol{v}-\boldsymbol{u})_l, (\boldsymbol{w_i}-\boldsymbol{u})_l \rangle - \frac{\cos \alpha_i}{L}\right| \ge \tilde{\epsilon}\right) \le 2e^{-c_2 d\tilde{\epsilon}^2}$$
|
| 437 |
+
(38)
|
| 438 |
+
where $c_1$ and $c_2$ are constants. As $L \to \infty$ and $d/(L^2) \to \infty$ , we have the following results:
|
| 439 |
+
$$\|(\boldsymbol{w_i} - \boldsymbol{u})_l\| = (1 + o_p(1))/\sqrt{L}.$$
|
| 440 |
+
(39)
|
| 441 |
+
$$\langle (\boldsymbol{v} - \boldsymbol{u})_l, (\boldsymbol{w_i} - \boldsymbol{u})_l \rangle = \frac{\cos \alpha}{L} + o_p(\frac{1}{L}).$$
|
| 442 |
+
(40)
|
| 443 |
+
This implies that $L=\sqrt{d}$ is a balanced choice, which is consistent with the setting in our experiments.
|
| 444 |
+
#### <span id="page-15-0"></span>C. Related Work
|
| 445 |
+
We first supplement Sec. 1.1 with more discussions, and then introduce the preliminaries on probabilistic routing.
|
| 446 |
+
{16}------------------------------------------------
|
| 447 |
+
#### C.1. Discussions on ANNS Solvers
|
| 448 |
+
911912
|
| 449 |
+
#### C.1.1. VECTOR QUANTIZATION
|
| 450 |
+
Quantization-based methods for ANNS have a long history. Representative approaches can be found in (Jégou et al., 2011; Ge et al., 2014; Babenko & Lempitsky, 2016; Guo et al., 2020a; Gao & Long, 2024; Gao et al., 2025). Here, we briefly introduce the basic idea of the most widely-used method, Product Quantization (PQ) (Jégou et al., 2011).
|
| 451 |
+
Let $\mathcal{D} \subset \mathbb{R}^d$ be a d-dimensional dataset and let $q \in \mathbb{R}^d$ be a query vector. PQ divides each data vector $x \in \mathcal{D}$ into L sub-vectors, i.e., $x = (x_1, x_2, \ldots, x_L)$ , where each sub-vector $x_j \in \mathbb{R}^{d'}$ has dimension d' = d/L. In this way, PQ constructs L subspaces of dimension d', each containing the corresponding sub-vectors of all data points.
|
| 452 |
+
In each subspace, every sub-vector is assigned to one of $2^k$ quantized sub-vectors. Equivalently, each sub-vector is represented by a sub-codeword of length k bits. The set of all sub-codewords in the j-th subspace is referred to as a codebook and is denoted by $\mathcal{C}_j$ . By concatenating the sub-codewords across all subspaces, each original vector is represented by a codeword of length kL, taking values in the Cartesian product $\mathcal{C}_1 \times \cdots \times \mathcal{C}_L$ .
|
| 453 |
+
During the query phase, PQ first computes the distances between the query $\boldsymbol{q}$ and all quantized sub-vectors in each subspace. For each data vector $\boldsymbol{x}$ , PQ then sums the corresponding L subspace distances to obtain an approximate distance between $\boldsymbol{x}$ and $\boldsymbol{q}$ . After computing the approximate distances for all data vectors, PQ ranks them accordingly and returns the most promising candidates.
|
| 454 |
+
### C.1.2. SIMILARITY GRAPH
|
| 455 |
+
The workflow of graph-based methods is roughly as follows. In the indexing phase, a similarity graph is constructed as the index structure, where data points serve as nodes and edges connect pairs of nearby nodes. A search can move directly from one node to another only if an edge exists between them. In the query phase, the node with the highest priority in a priority queue is selected, and all of its connected neighbors are visited. During this process, the priority queue is updated whenever a node closer to the query is discovered. The search ends when all nodes in the priority queue have been visited. Finally, the top-K points in the priority queue are returned.
|
| 456 |
+
Among various graph-based methods, HNSW (Malkov & Yashunin, 2020) is a notable one that employs a multi-layer hierarchical structure to achieve rapid routing. NSG (Fu et al., 2019) optimizes the graph topology to ensure the existence of monotonic paths towards a central entry point, thereby enhancing search efficiency. Vamana, which was introduced along with DiskANN (Subramanya et al., 2019), iteratively refines a random graph into a high-performance graph struc-
|
| 457 |
+
ture. Despite their structural differences, these methods converge on a similar edge selection criterion, namely **RobustPrune**, which prioritizes directional diversity over simple proximity to ensure efficient navigation through high-dimensional space.
|
| 458 |
+
In addition to the three graphs mentioned above, many graph-based methods have been proposed recently (Lu et al., 2021; Gao & Long, 2023; Xie et al., 2025; Wang et al., 2025b). Despite different designs, most of them rely on existing graphs, such as HNSW.
|
| 459 |
+
#### C.1.3. QUANTIZED GRAPH
|
| 460 |
+
As stated in the main body of this paper, QG can achieve high performance on some datasets for small values of K, and in certain cases can be $4 \times -10 \times$ faster than HNSW. However, such improvement is often not robust and suffers from several limitations: (1) Sensitivity to data distribution. The effectiveness of QG relies on the assumption that the ranking induced by quantized distances is sufficiently close to the ranking under the original distances. Unfortunately, this assumption often does not hold, especially for many modern real-world datasets where semantic embeddings are increasingly complex. (2) **Sensitivity to** K. As K increases, the performance of QG degrades significantly. When K reaches the thousand scale, QG generally has no significant advantage over HNSW. (3) Very large space cost. To improve the accuracy of QG, more bits are required to represent the quantized vectors. As a result, the memory consumption of QG is typically at least $2 \times$ larger than HNSW, compromising the use of QG for large datasets.
|
| 461 |
+
#### C.2. Preliminaries of Routing Test
|
| 462 |
+
#### C.2.1. RANDOM PROJECTION FOR ANGLE ESTIMATION
|
| 463 |
+
Because the norms can be pre-computed, estimating the $\ell_2$ distance is equivalent to estimating the cosine of the angle between vectors. In high-dimensional Euclidean spaces, angle estimation via random-projection techniques has been extensively studied, with Locality Sensitive Hashing (LSH) (Indyk & Motwani, 1998; Andoni & Indyk, 2005; 2008) being one of the most influential approaches. Among various LSH methods, SimHash (Charikar, 2002) is a representative one. Its core idea is to generate multiple random hyperplanes that partition the space into cells, so that vectors falling into the same cell are likely to form a small angle with each other. Subsequent studies have proposed more refined strategies for angular distance estimation. In particular, Andoni et al. (2015) introduced Falconn, an LSH method that identifies the projection vector yielding the largest or smallest projection value for a given data vector and uses the corresponding projection index as the hash value. This design leads to substantially improved search performance compared to SimHash. Building on this idea, Pham (2021) further incorporated Con-
|
| 464 |
+
{17}------------------------------------------------
|
| 465 |
+
<span id="page-17-1"></span>
|
| 466 |
+
938939
|
| 467 |
+
944945946
|
| 468 |
+
949950
|
| 469 |
+
Figure 11. DataCompDr data (sampled 50,000 vectors) and query (1,000 vectors) distributions.
|
| 470 |
+
comitants of Extreme Order Statistics (CEOs) to explicitly identify the projection achieving the maximum or minimum inner product with the data vector, and to record the associated extreme projected value. By exploiting this additional information beyond a discrete hash value, a more accurate estimation of angular distance can be achieved (Pham & Liu, 2022).
|
| 471 |
+
#### C.2.2. ROUTING TEST IN SIMILARITY GRAPHS
|
| 472 |
+
Due to its simplicity and ease of implementation, CEOs has been adopted in a variety of similarity search tasks (Pham, 2021; Andoni et al., 2015; Xu & Pham, 2024). Beyond standalone similarity estimation, CEOs has also been leveraged to accelerate similarity graphs, which constitute one of the most effective structures for ANNS. By swapping the roles of the query and data vectors in the original CEOs formulation, Lu et al. (2024) developed a space-partitioning technique and proposed the PEOs test. This test enables probabilistic comparisons between the objective angle and a fixed threshold, and has been integrated into the routing procedures of similarity graphs. Specifically, for every visited node u, we send all the out-neighbors of u to PEOs. Only the exact distances between q and the nodes that pass the PEOs test are computed. In the experiments of (Lu et al., 2024), only around 25% nodes can pass the PEOs test. As a result, substantial improvements in search performance brought by PEOs were reported over similarity graphs such as HNSW (Malkov & Yashunin, 2020) and NSSG (Fu et al., 2022). More recently, Lu et al. (2025) proposed a new test function, KS2, which achieves higher test accuracy while maintaining a shorter test time compared with PEOs. KS2 employs a projection structure similar to that of PEOs, but additionally incorporates the reference angle into the testing procedure. Lu et al. (2025) further showed that, without introducing additional assumptions, the test guarantees a success probability of at least 0.5 when deciding whether the exact distance between the objective node and q should be evaluated.
|
| 473 |
+
*Table 4.* PAG parameter settings.
|
| 474 |
+
<span id="page-17-2"></span>
|
| 475 |
+
| Dataset | PAG-Base $(efC, M, L)$ | PAG-Lite $(efC, M, L)$ | | | | | |
|
| 476 |
+
|----------------------------|-----------------------------------|---------------------------------|--|--|--|--|--|
|
| 477 |
+
| Modern Datasets | | | | | | | |
|
| 478 |
+
| DBpedia1536<br>DBpedia3072 | (1000, 32, 128)<br>(1000, 32, 64) | (100, 32, 128)<br>(100, 32, 64) | | | | | |
|
| 479 |
+
| WoltFood | (2000, 128, 64) | (100, 32, 04)<br>(100, 64, 32) | | | | | |
|
| 480 |
+
| DataCompDr<br>AmazonBooks | (1000, 32, 64)<br>(2000, 64, 64) | (100, 32, 64)<br>(100, 64, 32) | | | | | |
|
| 481 |
+
| MajorTOM | (1000, 32, 64) | (100, 04, 32) $(100, 16, 64)$ | | | | | |
|
| 482 |
+
| Legacy Datasets | | | | | | | |
|
| 483 |
+
| Word2Vec | (8000, 64, 32) | (200, 64, 32) | | | | | |
|
| 484 |
+
| GIST | (1000, 64, 96) | (64, 32, 96) | | | | | |
|
| 485 |
+
| GloVe | (2000, 64, 32) | (100, 32, 32) | | | | | |
|
| 486 |
+
| ImageNet | (2000, 64, 16) | (200, 16, 16) | | | | | |
|
| 487 |
+
| SIFT10M | (1000, 32, 16) | (100, 16, 16) | | | | | |
|
| 488 |
+
| DEEP100M | (1000, 32, 16) | (100, 16, 16) | | | | | |
|
| 489 |
+
### <span id="page-17-0"></span>**D. Experimental Setup Details**
|
| 490 |
+
#### **D.1. Environment**
|
| 491 |
+
All experiments were conducted on a machine equipped with an Intel Xeon Platinum 8276L CPU, which supports AVX-512 instructions and provides 112 hardware threads. The system was configured with 754 GB of DDR4 ECC memory and runs Ubuntu 22.04. For indexing, all 112 threads were used, while search was performed using a single CPU thread, in line with the standard setting in ANN-Benchmarks (Bernhardsson et al., 2015).
|
| 492 |
+
#### D.2. Baselines
|
| 493 |
+
#### D.2.1. SELECTION OF BASELINES
|
| 494 |
+
For quantization-based methods, we choose IVF-PQFS (Jégou et al., 2011), ScaNN (Guo et al., 2020a), and RabitQ+ (Gao et al., 2025) as baselines, where RabitQ+ (Gao et al., 2025) is an improved version of RabitQ (Gao & Long, 2024). For graph-based methods, we choose HNSW (Malkov & Yashunin, 2020), Vamana (Subramanya et al., 2019), and SymphonyQG (Gou et al., 2025), where SymphonyQG has shown its superiority over LVQ (Aguerrebere et al., 2023) and NGT-QG (Yahoo! Japan, 2023). On the other hand, HNSW+KS2 (Lu et al., 2025) has been shown to perform better than HNSW+PEOs (Lu et al., 2024), and KS2 can be approximately viewed as our PRT without TFB, modulo threshold-setting differences. Thus, for a fair comparison, we re-implement the KS2 component within our framework and report results for PAG versus PRT only in our ablation study.
|
| 495 |
+
### D.2.2. PARAMETER SETTING
|
| 496 |
+
For graph-based methods, we used large graph construction parameters to ensure their best search performance. To ensure a fair comparison of indexing time, the efC parameter in PAG-Base was set to a similar or even larger value than HNSW.
|
| 497 |
+
{18}------------------------------------------------
|
| 498 |
+
<span id="page-18-0"></span>
|
| 499 |
+
<span id="page-18-1"></span>Figure 12. QPS-recall of PAG-Base under varying space partition size L, K = 100. M and efC values are given in Table 4, PAG-Base.
|
| 500 |
+

|
| 501 |
+
Figure 13. Indexing time and peak memory usage of PAG-Base under varying space partition size $L.\ M$ and efC values are given in Table 4, PAG-Base.
|
| 502 |
+
<span id="page-18-2"></span>
|
| 503 |
+
Figure 14. QPS-recall of PAG-Base under varying (M, efC), K = 100. L values are given in Table 4, PAG-Base.
|
| 504 |
+

|
| 505 |
+
Figure 15. Indexing time and peak memory usage of PAG-Base under varying (M, efC). L values are given in Table 4, PAG-Base.
|
| 506 |
+
(1) **HNSW**: efC=1024. M=32. The only exception is MajorTOM, where efC=512 due to the long indexing time on this dataset.
|
| 507 |
+
<span id="page-18-3"></span>
|
| 508 |
+
- (2) **Vamana**: By default, R=64. L=1024. $\alpha=1.2$ . For better QPS-recall performance on MajorTOM and DEEP100M, we choose R=100 and L=250 on MajorTOM, and R=110 and L=200 on DEEP100M.
|
| 509 |
+
- (3) **SymQG**: efC = 1024. There are two options for the degree, 32 and 64, resulting in two baselines, SymQG (32)
|
| 510 |
+
- and SymQG (64).
|
| 511 |
+
- (4) **ScaNN**: We adopt the recommended settings from its GitHub repository (Guo et al., 2020b).
|
| 512 |
+
- (5) **RabitQ+**: Following the same setting as in (Gao et al., 2025), $b=8.\ k=16,384$ for DataCompDr and 4096 for the other datasets.
|
| 513 |
+
- (6) **IVFPQFS**: We test combinations of $nlist \in \{1024, 4096, 16384\}, k_-factor \in \{64, 128, 256\}, and$
|
| 514 |
+
{19}------------------------------------------------
|
| 515 |
+
M candidates ∈ [48, 384]. A combination is chosen for good QPS-recall performance on each dataset.
|
| 516 |
+
(7) PAG: PAG has two versions, PAG-Base and PAG-Lite. Their parameter settings are listed in Table [4.](#page-17-2) Users can adjust the values of efC, M, and L by taking into account the indexing time, memory footprint, and search efficiency.
|
| 517 |
+
other three datasets. PAG-Base also uses less memory than SymQG. The QPS-recall performance of PAG-Lite is generally better than HNSW and Vamana. Meanwhile, PAG-Lite achieves the smallest indexing time, and is competitive in memory footprint.
|
| 518 |
+
## <span id="page-19-0"></span>E. Additional Experimental Results
|
| 519 |
+
## E.1. Effect of Space Partition Size L
|
| 520 |
+
From the QPS-recall results in Fig. [12,](#page-18-0) we can see that, within a moderate range, increasing L leads to better search performance, at the cost of a higher memory footprint. As shown in Fig. [13](#page-18-1) (left), larger L values also results in longer indexing time, due to the faster search speed for each inserted vector. On the other hand, this causes a moderately larger index size, which is reflected in the memory footprint reported in Fig. [13](#page-18-1) (middle and right). As analyzed in Appendix [B,](#page-14-0) L = √ d is an appropriate choice.
|
| 521 |
+
### E.2. Effect of M and efC
|
| 522 |
+
We vary parameters M and efC and plot the QPS-recall in Fig. [14.](#page-18-2) Larger M and efC value result in faster query processing speed, and the advantage is more remarkable when users require high recall values. As shown in Fig. [15,](#page-18-3) increasing M and efC generally leads to more indexing time as well as larger memory footprint. This is expected, because they control the out-degree and the number of nodes visited for each insertion. The only exception is DataCompDr, where a largerM does not necessarily mean a slower indexing speed. This is because the search speed for each inserted vector is accelerated despite a larger out-degree.
|
| 523 |
+
### <span id="page-19-1"></span>E.3. Evaluation on Additional Legacy Datasets
|
| 524 |
+
We report the results on four additional legacy datasets, Word2Vec, ImageNet, GIST, and SIFT10M, which are commonly used for ANNS evaluation. Figs. [16,](#page-20-0) [17,](#page-20-2) and [18](#page-20-1) show the QPS-recall performances when K = 10, 100, and 1000. Fig. [19](#page-20-3) shows the indexing time and memory footprint. From the results in figures, we have the following observations. PAG-Base maintains its competitiveness in QPS-recall performance, as we have witnessed in the experiments on other datasets. On Word2Vec and ImageNet, where graph-based methods and SymQG struggle to achieve high recalls, PAG-Base has a significant advantage in QPS. On GIST and SIFT10M, SymQG performs better than PAG-Base in QPS when K = 10 and K = 100, because the two datasets are sparse and well-suited for vector quantization. When K = 1000, PAG-Base outperforms SymQG by a large margin. For indexing speed, PAG-Base is slower than graphbased methods and SymQG on Word2Vec but is faster on the
|
| 525 |
+
{20}------------------------------------------------
|
| 526 |
+
<span id="page-20-3"></span>
|
| 527 |
+
<span id="page-20-0"></span>
|
| 528 |
+
Figure 16. QPS-recall on additional legacy datasets, K = 10.
|
| 529 |
+
<span id="page-20-2"></span>
|
| 530 |
+
Figure 17. QPS-recall on additional legacy datasets, K = 100.
|
| 531 |
+
<span id="page-20-1"></span>
|
| 532 |
+
Figure 18. QPS-recall on additional legacy datasets, K = 1000.
|
| 533 |
+

|
| 534 |
+
Figure 19. Indexing time and peak memory usage on additional legacy datasets.
|