[Paper Review] CacheShuffle: A Family of Oblivious Shuffles
This paper introduces CacheShuffle, a family of oblivious shuffling algorithms that minimize bandwidth overhead while preserving security against adversaries who learn the access patterns of up to K blocks. By leveraging client-side caching and polynomial interpolation, the proposed KCacheShuffle algorithms achieve optimal bandwidth usage—2N + f(K) blocks—where f(K) depends only on K, enabling significant improvements over prior work, especially in practical ORAM constructions with dummy blocks.
We consider Oblivious Shuffling and K-Oblivious Shuffling, a refinement thereof. We provide efficient algorithms for both and discuss their application to the design of Oblivious RAM. The task of K-Oblivious Shuffling is to obliviously shuffle N encrypted blocks that have been randomly allocated on the server in such a way that an adversary learns nothing about the new allocation of blocks. The security guarantee should hold also with respect to an adversary that has learned the initial position of K touched blocks out of the N blocks. The classical notion of Oblivious Shuffling is obtained for K = N. We present a family of algorithms for Oblivious Shuffling. Our first construction, CacheShuffleRoot, is tailored for clients with $O(\sqrt{N})$ blocks of memory and uses $(4+ε)N$ blocks of bandwidth, for every $ε> 0$. CacheShuffleRoot is a 4.5x improvement over previous best known results on practical sizes of N. We also present CacheShuffle that obliviously shuffles using O(S) blocks of client memory with $O(N\log_S N)$ blocks of bandwidth. We then turn to K-Oblivious Shuffling and give algorithms that require 2N + f(K) blocks of bandwidth, for some function f. That is, any extra bandwidth above the 2N lower bound depends solely on K. We present KCacheShuffleBasic that uses O(K) client storage and exactly 2N blocks of bandwidth. For smaller client storage requirements, we show KCacheShuffle, which uses O(S) client storage and requires $2N+(1+ε)O(K\log_S K)$ blocks of bandwidth. Finally, we consider the case in which, in addition to the N blocks, the server stores D dummy blocks whose content is is irrelevant but still their positions must be hidden by the shuffling. For this case, we design algorithm KCacheShuffleDummy that, for N + D blocks and K touched blocks, uses O(K) client storage and $D+(2+ε)N$ blocks of bandwidth.
Motivation & Objective
- To design efficient oblivious shuffling algorithms that hide access patterns in remote storage systems.
- To address the K-oblivious shuffling problem, where an adversary learns the initial positions of K touched blocks but must not infer their new allocation.
- To reduce bandwidth overhead in Oblivious RAM (ORAM) constructions, especially when dummy blocks are present.
- To improve practical ORAM performance by minimizing hidden constants in bandwidth and client storage requirements.
Proposed method
- Proposes CacheShuffleRoot, a shuffling algorithm using O(√N) client memory and (4 + ϵ)N bandwidth, achieving negligible failure probability.
- Introduces RSpray as a primitive for distributing blocks across client memory to enable efficient shuffling with O(S) client storage.
- Designs KCacheShuffleBasic for O(K) client storage, using exactly 2N bandwidth, ensuring K-obliviousness.
- Develops KCacheShuffle for smaller client storage (O(S)), requiring 2N + (1 + ϵ)O(K logS K) bandwidth, with ϵ-dependent overhead.
- Introduces KCacheShuffleDummy to handle N + D blocks including D dummy blocks, using O(K) storage and D + (2 + ϵ)N bandwidth.
- Employs polynomial interpolation to securely hide the positions of dummy blocks during shuffling.
Experimental results
Research questions
- RQ1Can oblivious shuffling be performed with bandwidth close to the theoretical lower bound of 2N blocks, even when K > 1?
- RQ2How can client storage be minimized while maintaining security and low bandwidth in K-oblivious shuffling?
- RQ3Can the presence of dummy blocks be efficiently handled without increasing bandwidth beyond a small additive term?
- RQ4What is the practical performance gain of the new algorithms over prior constructions like MelbourneShuffle in real-world ORAM workloads?
- RQ5How do hidden constants in bandwidth and client memory scale with practical data sizes?
Key findings
- CacheShuffleRoot reduces bandwidth to (4 + ϵ)N blocks, achieving a 4.5x improvement over MelbourneShuffle’s (10 + c)N bandwidth for practical N.
- KCacheShuffleBasic uses exactly 2N bandwidth with O(K) client storage, offering a 9x improvement over MelbourneShuffle for K = N.
- KCacheShuffleDummy uses only D + (2 + ϵ)N bandwidth for N + D blocks with D dummy blocks, where ϵ is very small for practical data sizes.
- Experiments confirm that ϵ < 1 is sufficient for CacheShuffleRoot, while MelbourneShuffle requires c ≥ 8, confirming the 4x bandwidth advantage.
- The maximum client cache size in CacheShuffleRoot stabilizes quickly across trials and decreases exponentially with increasing ϵ.
- Bandwidth savings are especially pronounced in ORAM settings with dummy blocks, where KCacheShuffleDummy reduces overhead by over 5x compared to prior constructions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.