Doubly oblivious ANN search achieves up to 125.9× speedup over prior methods
O2N2 provides 9.8-125.9× faster 10-NN and 100-NN search at high recall compared to existing doubly oblivious baselines
Systems arXiv 2 Nov 2026 Method Prototype evidence
Published as “O2N2: Efficient Doubly Oblivious Approximate Nearest Neighbor Search”
Why it matters
The system enables practical, double-oblivious ANN search for low-dimensional workloads, but may be unsuitable for high-dimensional or very large datasets without prohibitive storage.
Summary
O2N2 achieves about 90% recall for 10-NN on SIFT1M in ~1.3 ms while providing double obliviousness, i.e., hiding both external and enclave memory accesses. The paper shows 9.8-125.9× speedup over doubly-oblivious baselines and 31× faster than the single-oblivious Compass on low-dimensional data, though on high-dimensional workloads recall drops and storage grows dramatically. Evidence comes from experiments on datasets up to 100 M vectors; the paper reports latency and recall numbers but no formal security proof beyond the ORAM guarantees.
What they found 3
- O2N2 attains ~90% recall for 10-NN on SIFT1M in about 1.3 ms while providing double obliviousness.
“Using the combined network by Cong et al. [11], O2N2 answers 10-NN queries on SIFT1M at 90.01% recall in 1.37 ms.”
- O2N2 is 31.2× faster than Compass on SIFT1M at comparable recall.
“On SIFT1M, the results in Table 5 show that O2N2 is 31.2×, 7×, and 14.7× faster than Compass, BiSON, and Onyx, respectively.”
- On high-dimensional datasets, O2N2 requires many more trees and much larger storage to reach high recall.
“On high-dimensional datasets (MSONG and MS MARCO), the limitation of treebased methods becomes apparent. To fetch more candidates and achieve higher recall, the number of trees m (and hence the total storage) must increase, causing O2N2 to exceed the baselines in storage.”
Caveats 4
- Recall on MS MARCO drops to 85.26% at 55.53 ms, lower than some baselines.
- The system cannot reach 90% Recall@100 on SIFT100M due to a 3 TB storage limit, and OHNSW baselines exhaust memory on that scale.
- O2N2 inherits limitations from its tree-based design; achieving high recall on high-dimensional data requires more trees and substantially increases storage costs.
- Our 3 TB storage limit prevents O2N2 from reaching 90% Recall@100 on SIFT100M and higher-recall operating points on MS MARCO.
What’s new here 4
- Provides double obliviousness (protects both external and enclave memory accesses) for ANN search.
- Aligns randomized k-d tree defeatist search with tree-based ORAM to reduce per-access overhead from O(log2N) to O(logN).
- Introduces a selection network for leaf-candidate aggregation that yields up to 7.88× speedup over a heap selector.
- Implements doubly oblivious baselines (OIVF, OHNSW) by adapting IVF and HNSW to doubly oblivious storage.