Fully Homomorphic Encryption for Matrix Arithmetic
Craig Gentry, Yongwoo Lee
Abstract
We propose an efficient fully homomorphic encryption (FHE) scheme tailored for matrix arithmetic based on the Ring-Learning with Errors (RLWE) problem. The proposed scheme naturally supports matrix multiplication, addition, and Hadamard multiplication for batched matrices of various sizes over both complex numbers and integers. Encrypted matrix multiplication is reduced to four matrix multiplications of ciphertext elements, without the need for expensive operations such as slot-to-coefficient conversion or ring switching. In addition, the scheme efficiently supports matrix transformations, including general and conjugate transpositions, as well as matrix rotations: inter-matrix rotations across batched matrices and intra-matrix rotations within rows and columns. Moreover, the proposed FHE scheme can be directly combined with existing bootstrapping algorithms. By eliminating the need for expensive operations such as repeated slot rotations and conversion between slot- and coefficient-encoding, the proposed construction achieves significant performance improvements. In our construction, encrypted multiplications of matrices under slot encoding are decomposed into two parts: (1) matrix multiplication — four matrix multiplications of ciphertext coefficients, and (2) key switching — with a total cost approximately 2–4 times that of Hadamard multiplication. We implemented the proposed scheme and utilized the FLINT library for the matrix multiplication component. Experimental results demonstrate that, even when leveraging highly optimized implementations, matrix multiplication remains the major cost, indicating that our construction substantially reduces auxiliary overheads and achieves strong overall efficiency.
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 735b1e75-5375-4a69-809e-816de1c5313bRelated papers
- Efficient Bootstrapping in Fully Homomorphic Encryption for Matrix ArithmeticEric Crockett, Craig Gentry, Hyojun Kim, Yeongmin Lee et al.CRYPTO 2026
- REFHE: Fully Homomorphic ALUZvika Brakerski, Offir Friedman, Daniel Golan, Alon Gurny et al.EUROCRYPT 2026 · 2 citations
- HERDS: Multi-key Fully Homomorphic Encryption with Sublinear BootstrappingBinwu Xiang, Seonhong Min, Intak Hwang, Zhiwei Wang et al.EUROCRYPT 2026 · 1 citation
- Secure Outsourced Matrix Computation and Application to Neural NetworksXiaoqian Jiang, Miran Kim, Kristin E. Lauter, Yongsoo SongCCS 2018 · 359 citations
- Plaintext-Ciphertext Matrix Multiplication and FHE Bootstrapping: Fast and FusedYoungjin Bae, Jung Hee Cheon, Guillaume Hanrot, Jai Hyun Park et al.CRYPTO 2024 · 16 citations
