APEX: Accurate Parallel Expressive Homomorphic Execution for Encrypted Databases
Wei Chen, Qi Hu, Siu-Ming Yiu, Heming Cui
Abstract
Fully homomorphic encryption (FHE) promises end-to-end secure cloud databases by enabling arbitrary queries directly over encrypted data, without ever exposing plaintext. However, existing FHE-based databases must trade off SIMD parallelism against exact query semantics, as they rely on approximate methods to exploit large-scale SIMD, limiting their practicality. This paper presents APEX, the first FHE database that jointly achieves efficient SIMD execution and precise SQL semantics within a single-scheme BGV/BFV framework. Our key insight is that the dominant bottleneck lies not in the schemes themselves but in data encoding: prior layouts misalign ciphertext slots with column and predicate semantics, squandering SIMD capacity. Therefore, Apex introduces a semantics-aware unified encoding UniCo that decomposes numeric and string values into bounded, position-weighted segments and aligns them with ciphertext slots across rows by data type and position. This alignment enables predicate comparisons to exploit bounded value ranges via Range-Aware Homomorphic Comparison (RAHC) and operate over an application-chosen small domain rather than the full plaintext modulus, making SIMD far more effective. Furthermore, to preserve efficiency and correctness for arbitrary-precision values, Apex employs Parallel Lazy Carry Propagation (PLCP), which defers crosssegment carry handling until needed and thus simplifies homomorphic query execution. Compared to state-of-the-art FHE databases, APEX achieves up to speedup on TPC benchmarks, and up to acceleration for string pattern matching with single- and multi-character wildcards.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 54513321-dcc3-4632-84fc-832c6b1532a3Related papers
- cuFHEDB: GPU-Accelerated Fully Homomorphic Encryption DatabaseShijie Gao, Feng Zhang, Qian Xu, Yang Li et al.ICDE 2026
- ArcEDB: An Arbitrary-Precision Encrypted Database via (Amortized) Modular Homomorphic EncryptionZhou Zhang, Song Bian, Zian Zhao, Ran Mao et al.CCS 2024 · 11 citations
- HE3DB: An Efficient and Elastic Encrypted Database Via Arithmetic-And-Logic Fully Homomorphic EncryptionSong Bian, Zhou Zhang, Haowen Pan, Ran Mao et al.CCS 2023 · 46 citations
- HEDA: Multi-Attribute Unbounded Aggregation over Homomorphically Encrypted DatabaseXuanle Ren, Le Su, Zhen Gu, Sheng Wang et al.VLDB 2023 · 42 citations
- Opera: Achieving Secure and High-Performance OLAP with Parallelized Homomorphic ComparisonsQi Hu, Wei Chen, Tianxiang Shen, Xin Yao et al.S&P 2025
