Hoss: Fast Oblivious Semantic Search with Heterogeneous GPU-CPU-TEE Architecture
Jianzhang Du, Weijie Huang, Chenghong Wang, Nicolas Tsagareli, Yukui Luo, XiaoFeng Wang, Zhongshu Gu
Abstract
Semantic search is widely deployed in modern AI systems, but protecting both data contents and access patterns remains challenging. The current state-of-the-art system, Compass, achieves oblivious semantic search by building an optimized ORAM over HNSW graphs. However, even with aggressive optimizations, it still incurs large overheads. Closing this performance gap is fundamentally difficult: Compass has already removed most cryptographic overheads, leaving ORAM accesses as the dominant cost, which are constrained by well-known Omega(log N) bandwidth lower bounds. Our key insight is that traditional ORAM overhead stems from the assumption of limited private memory, whereas modern GPU TEEs provide large private memory (Pmem) that blinds internal access patterns (Hunt et al., NSDI '23). This shift opens a new design space. We therefore propose Hoss, a first-of-its-kind oblivious semantic search system with a heterogeneous CPU-GPU TEE architecture that supports fast, scalable search with low cost of ownership. In Hoss, the GPU TEE's large Pmem hosts the hot-path HNSW traversal, while the lower layers of the graph, if they exceed GPU capacity, are offloaded to CPU TEEs. The system invokes oblivious primitives only when accessing these lower layers. The availability of large Pmem also enables new optimization opportunities. For example, Hoss features a host-access ORAM mechanism that goes beyond traditional performance constraints and incorporates several data-dependent optimizations that are not possible in prior designs. We implement a prototype of Hoss and benchmark it against Compass. Our results show that Hoss achieves up to 67x speedup while maintaining high recall, with larger gains at scale.
Create a lesson
Related papers
Ichnia: Semantic Effect Oracles for Black-Box Broken Access Control Detection in Web Applications
Shared title terminologycs.CRRuozhao Yang, Jiongchi Yu, Yuqiang Sun et al.
Vsock-net: Safe and Fast Paravirtualized Network I/O for Confidential VMs
Shared title terminologycs.CRYun-Tang Chang, Hao-Jung Wei, Shih-Wei Li
How Not to Anonymize Search Logs
Shared title terminologycs.CRKareem Amin, Alessandro Epasto, Alex Kulesza et al.
Comparative Evaluation of CNN, CNN-LSTM, and CNN-AGRU Architectures for Encrypted Network Traffic Classification
Shared title terminologycs.CRVenu Siddapura Govindaraju, Rujjal Sada, Imadaldin Berika
Securing Enterprise Email Against Quantum Threats: A Ten-Layer Hybrid Architecture and Its Operational Costs
Shared title terminologycs.CRAkshaya C, Prathiksha R, Vasanthi B et al.
Fast-Encodable Locally Testable Codes for Collective Data Availability Sampling
Shared title terminologycs.CRZihao Zhang, Kexi Huang, Jiaheng Zhang et al.