Differentially Private Oblivious RAM

Sameer Wagh, Paul Cuff, Prateek Mittal · DOI

Abstract

Standard Oblivious RAM (ORAM) protocols provide perfect computational indistinguishability at the cost of significant bandwidth and storage overhead. This work investigates whether statistical privacy can enhance ORAM performance while maintaining rigorous guarantees. We propose Root ORAM, a family of Differentially Private ORAMs (DP-ORAM) that offer a tunable trade-off between bandwidth, local storage, and security. Our analysis shows that Root ORAM can reduce local storage by 2x and bandwidth overhead by up to 10x, making it highly suitable for memory-constrained environments like Trusted Execution Environments (TEEs) and high-latency cloud applications.

Introduction: The Cost of Perfect Privacy

Oblivious RAM (ORAM) is a critical cryptographic primitive designed to hide data access patterns from an untrusted storage provider. By shuffling and remapping data blocks, ORAM ensures that an adversary observing the sequence of physical addresses cannot infer which logical blocks are being accessed. However, traditional ORAM constructions, such as Path ORAM, are often impractical for real-world deployment due to their massive overhead—frequently requiring 100x to 200x more bandwidth than unprotected access.

Furthermore, these protocols typically require a "stash"—a small amount of local, secure storage on the client side. In environments like Intel SGX, where secure memory is strictly limited (e.g., 94MB), the logarithmic growth of the stash becomes a significant bottleneck. This paper addresses these inefficiencies by asking: Can we relax the requirement for perfect indistinguishability in favor of $(\epsilon, \delta)$-differential privacy to achieve substantial performance gains?

Methodology: Root ORAM

The authors introduce Root ORAM, a protocol that generalizes tree-based ORAMs by incorporating a non-uniform mapping strategy. Unlike standard ORAM, which remaps every accessed block to a completely random leaf in the tree, Root ORAM uses a tunable distribution.

System Architecture

The system consists of a client and a server. The client maintains a Position Map to track block locations and a Stash to temporarily hold blocks during the reshuffling process. The server stores data in a tree structure divided into $2^k$ sub-trees.

Architectural overview of Root ORAM showing the client-side stash/position map and the server-side sub-tree structure.

Non-uniform Mapping and Differential Privacy

The key innovation in Root ORAM is the Non-uniform Mapping mechanism. Instead of a uniform distribution across all leaves, blocks are remapped with a higher probability to leaves within a specific sub-tree. This locality allows the client to read and flush paths within a smaller fraction of the tree depth, directly reducing bandwidth consumption.

Comparison of the non-uniform probability distribution used in Root ORAM versus the uniform distribution in standard ORAM.

By biasing the mapping, the protocol introduces a controlled amount of statistical leakage, which is rigorously quantified using the framework of $(\epsilon, \delta)$-differential privacy. Parameters $k$ (tuning bandwidth) and $p$ (tuning security) allow system designers to navigate the privacy-performance trade-off.

Evaluation and Results

The researchers evaluated Root ORAM through theoretical proofs and a C++ implementation tested on Amazon EC2 instances. To simulate resource-constrained environments like IoT devices, they capped network bandwidth at various levels.

Key Performance Gains

  • Bandwidth Efficiency: Root ORAM achieved a 2x to 10x reduction in bandwidth overhead compared to Path ORAM, depending on the chosen privacy budget. In low-bandwidth scenarios (10KB/s), this translated to a 10x improvement in access latency.
  • Storage Optimization: For reasonable values of $\epsilon$, the local stash size was reduced by approximately 2x. This reduction is vital for fitting ORAM structures within the limited Enclave Page Cache (EPC) of TEEs.
  • Information-Theoretic Security: Using Shannon and Min-entropy metrics, the authors demonstrated that even with significant performance speedups ($\epsilon \approx 2$), the actual information leaked to an adversary remains negligible—often a fraction of a single bit.

Conclusion and Future Work

Root ORAM demonstrates that statistical privacy is a powerful tool for making oblivious storage practical. By moving away from the "all-or-nothing" model of perfect indistinguishability, DP-ORAM provides a flexible framework for secure data access in cloud and edge computing. Future research directions include applying DP principles to non-tree-based ORAMs and optimizing query composition for long-running applications. Root ORAM is particularly well-suited for applications like Private Information Retrieval (PIR), where access patterns are inherently more predictable.

This summary is based on the research paper "Differentially Private Oblivious RAM."

Summary updated

BibTeX
@misc{wagh2016differentially,
  author = {Sameer Wagh and Paul Cuff and Prateek Mittal},
  title = {{Differentially Private Oblivious RAM}},
  year = {2016},
  eprint = {1601.03378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1601.03378},
}
Figure