Compressed Oblivious Encoding for Homomorphically Encrypted Search

Seung Geol Choi, Dana Dachman-Soled, S. Dov Gordon, Linsheng Liu, Arkady Yerukhimovich

Introduction

Fully Homomorphic Encryption (FHE) represents a paradigm shift in data privacy, enabling servers to compute on encrypted data without ever accessing the underlying plaintext. In the context of secure search, a client can query an encrypted database hosted on a server, receiving only the relevant results. However, state-of-the-art FHE search frameworks like SPiRiT or LEAF face a significant performance bottleneck: sequentiality. When a query matches multiple records, these systems typically retrieve results one by one, requiring $O(n)$ expensive homomorphic multiplications for each index. This sequential process makes searching large datasets for multiple matches computationally prohibitive.

The Compressed Oblivious Encoding (COE) Framework

To address these limitations, this paper introduces Compressed Oblivious Encoding (COE), a novel framework that parallelizes the result retrieval process. Instead of identifying and fetching indices sequentially, the server generates a compact encoding of all matching results in a single pass.

Overview of the homomorphically encrypted search protocol using COE.

The core innovation lies in shifting the computational burden from expensive homomorphic multiplications to significantly faster homomorphic additions and scalar multiplications. The authors propose three distinct encoding strategies:

  1. BF-COIE (Bloom Filter Index Encoding): This method utilizes a hierarchy of "Algebraic Bloom Filters" structured as a binary search tree. The client decodes the matching indices by traversing this tree in sublinear time.
  2. PS-COIE (Power Sum Index Encoding): The server computes power sums of matching indices (e.g., $\sum i, \sum i^2, \dots$). Upon decryption, the client uses Newton’s identities to reconstruct a polynomial whose roots correspond to the matching indices.
  3. BFS-CODE (Bloom Filter Data Encoding): This variant encodes the actual data values into a Bloom Filter-like structure, using checksums to handle potential collisions and verify record integrity during decoding.

Key Results and Performance

The proposed COE methods demonstrate dramatic performance improvements over existing protocols. By replacing homomorphic multiplications with additions in the fetching stage, the system achieves an 1800x speedup in result retrieval for a query returning 16 records from a 10,000-item database. The overall end-to-end search efficiency (matching plus fetching) is improved by 26x.

Comparison of the proposed COE protocols against the LEAF baseline across various complexity metrics.

As shown in the table above, the PS-COIE method is particularly efficient, reducing communication overhead by nearly 10x compared to LEAF while maintaining a constant number of rounds. Furthermore, the decoding process on the client side remains sublinear, ensuring scalability as database sizes increase.

Insights and Future Directions

The success of COE stems from the insight that complex multiplications are not strictly necessary to "compress" sparse match vectors. By leveraging the algebraic properties of Bloom Filters and Power Sums, the server can "pack" information using only cheap addition operations—a philosophy the authors term "Noisy Compaction." This approach allows for a controlled number of false positives that the client can easily filter out, significantly lowering server-side costs.

Despite these gains, challenges remain. The protocol currently requires the client to know the number of matching records ($s$), leading to "volume leakage." Future work may involve integrating Differential Privacy to mitigate this. Additionally, the Power Sum method is constrained by the FHE plaintext modulus, and further optimization of the Private Information Retrieval (PIR) layer used for index-only encodings could yield even greater performance benefits.

Summary updated

BibTeX
@inproceedings{choi2021compressed,
  author = {Seung Geol Choi and Dana Dachman-Soled and S. Dov Gordon and Linsheng Liu and Arkady Yerukhimovich},
  title = {{Compressed Oblivious Encoding for Homomorphically Encrypted Search}},
  booktitle = {CCS},
  year = {2021},
  doi = {10.1145/3460120.3484792},
}
Figure