Onyx cuts cost of oblivious ANN search by up to 9.9× and latency by up to 12.3×
Onyx achieves 1.7-9.9× lower cost and 2.3-12.3× lower latency than prior oblivious ANN systems
AI/ML arXiv 22 Apr 2026 Method Prototype evidence
Published as “Onyx: Cost-Efficient Disk-Oblivious ANN Search”
Why it matters
Onyx makes privacy-preserving ANN search on third-party SSDs practical and affordable, enabling low-latency, cost-effective AI services that protect query and data access patterns.
Summary
Onyx dramatically reduces the cost and latency of oblivious ANN search on SSDs, achieving 1.7-9.9× lower cost and 2.3-12.3× lower latency than the prior Compass-in-TEE system. It does this by inverting the ORAM-ANN co-design, pruning bandwidth-intensive accesses in the ANN layer and cutting access count in the ORAM layer. In a 1-SSD configuration it sustains 70 queries per second at 12 ms latency with 90% recall, using a single vCPU and 187.5 GB of SSD storage. The paper does not include a dedicated limitations or conclusion section in the excerpts provided.
What they found 3
- Onyx achieves 1.7-9.9× lower cost and 2.3-12.3× lower latency versus the oblivious ANN system.
“Compared to the oblivious ANN search system, Onyx achieves 1.7-9.9× lower cost and 2.3-12.3× lower latency.”
- Onyx can host a 64 GB index and sustain 70 QPS at 12 ms latency with 90% top-10 recall, serving over 8 M queries per dollar.
“Onyx can host a 64 GB index and sustain 70 QPS at 12 ms latency with 90% top-10 recall, serving over 8M queries/dollar.”
- Against Compass-in-TEE, Onyx delivers 2.3-12.3× lower latency and 2.3-12.2× higher throughput.
“Against Compass-in-TEE, Onyx achieves 2.3-12.3× lower latency and 2.3-12.2× higher throughput.”
Caveats 2
- At very large block sizes, Onyx-ORAM also becomes bandwidth-bound and matches the performance of RingORAM because they have similar bandwidth overheads (Table 1).
- Onyx uses 10-30% more memory than PathORAM+DiskANN, which exhibits the lowest memory footprint.
What’s new here 4
- Inverts the ORAM-ANN co-design to minimize bandwidth in the ANN layer and access count in the ORAM layer.
- Introduces a compact intermediate representation that prunes most bandwidth-intensive accesses without hurting recall.
- Proposes a locality-aware shallow-tree ORAM design that reduces access count while remaining compatible with bandwidth-efficient ORAM techniques.
- Demonstrates up to 10× better cost-efficiency and up to 12.3× lower latency across multiple real-world datasets.