Efficient Arithmetic-and-Comparison Homomorphic Encryption with Space Switching
Erwin Eko Wahyudi, Yan Solihin, Qian Lou
Abstract
Fully homomorphic encryption (FHE) enables computation on encrypted data without decryption, making it central to privacy-preserving applications. However, no existing scheme efficiently supports both arithmetic and comparison operations in a unified framework. Prior approaches such as scheme switching and polynomial approximation face serious limitations: switching incurs prohibitive overhead for large inputs, while approximation methods introduce errors near critical points, restricting use in accuracy-sensitive tasks. We propose space switching method to integrate arithmetic and comparison computation seamlessly within FV-style schemes. Our approach identifies that the two types of operations require different plaintext spaces and introduces two procedures: a reduction step to transition from the number space to the digit space , and a modulus-raising step to map results back to . This design enables continuous evaluation of arithmetic and comparison within the same scheme. Experiments show that our method achieves up to faster performance than scheme switching and faster than direct comparison on database workloads, demonstrating its practicality for real-world privacy-preserving computation. Code and artifacts are available at https://github.com/UCF-Lou-Lab-PET/Universal-BGV.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dc77a492-b545-467f-abf6-ab6d1af7edc8Builds on11
- PEGASUS: Bridging Polynomial and Non-polynomial Evaluations in Homomorphic EncryptionWen-jie Lu, Zhicong Huang, Cheng Hong, Yiping Ma et al.S&P 2021 · 139 citations
- Glyph: Fast and Accurately Training Deep Neural Networks on Encrypted DataQian Lou, Bo Feng, Geoffrey Charles Fox, Lei JiangNeurIPS 2020 · 106 citations
- HEMET: A Homomorphic-Encryption-Friendly Privacy-Preserving Mobile Neural Network ArchitectureQian Lou, Lei JiangICML 2021 · 88 citations
- SAFENet: A Secure, Accurate and Fast Neural Network InferenceQian Lou, Yilin Shen, Hongxia Jin, Lei JiangICLR 2021 · 65 citations
- MATCHA: a fast and energy-efficient accelerator for fully homomorphic encryption over the torusLei Jiang, Qian Lou, Nrushad JoshiDAC 2022 · 58 citations
Related papers
- REFHE: Fully Homomorphic ALUZvika Brakerski, Offir Friedman, Daniel Golan, Alon Gurny et al.EUROCRYPT 2026 · 2 citations
- Coyote: A Compiler for Vectorizing Encrypted Arithmetic CircuitsRaghav Malik, Kabir Sheth, Milind KulkarniASPLOS 2023 · 22 citations
- Efficient Batchable Secure Outsourced Computation: Depth-Aware Arithmetization of Common Primitives for BFV & BGVJelle Vos, Mauro Conti, Zekeriya ErkinUSENIX Security 2025
- Efficient Ranking, Order Statistics, and Sorting under CKKSFederico Mazzone, Maarten H. Everts, Florian Hahn, Andreas PeterUSENIX Security 2025
- APEX: Accurate Parallel Expressive Homomorphic Execution for Encrypted DatabasesWei Chen, Qi Hu, Siu-Ming Yiu, Heming CuiS&P 2026
