Plaintext-Ciphertext Matrix Multiplication and FHE Bootstrapping: Fast and Fused
Youngjin Bae, Jung Hee Cheon, Guillaume Hanrot, Jai Hyun Park, Damien Stehlé
摘要
Homomorphically multiplying a plaintext matrix with a ciphertext matrix (PC-MM) is a central task for the private evaluation of transformers, commonly used for large language models. We provide several RLWE-based algorithms for PC-MM that consist of multiplications of plaintext matrices (PC-MM) and comparatively cheap pre-processing and post-processing steps: for small and large dimensions compared to the RLWE ring degree, and with and without precomputation. For the algorithms with precomputation, we show how to perform a PC-MM with a single floating-point PP-MM of the same dimensions. This is particularly meaningful for practical purposes as a floating-point PC-MM can be implemented using high-performance BLAS libraries.
The algorithms rely on the multi-secret variant of RLWE, which allows to represent multiple ciphertexts more compactly. We give algorithms to convert from usual shared-secret RLWE ciphertexts to multi-secret ciphertexts and back. Further, we show that this format is compatible with homomorphic addition, plaintext-ciphertext multiplication, and key-switching. This in turn allows us to accelerate the slots-to-coeffs and coeffs-to-slots steps of CKKS bootstrapping when several ciphertexts are bootstrapped at once. Combining batch-bootstrapping with efficient PC-MM results in MaMBo (Matrix Multiplication Bootstrapping), a bootstrapping algorithm that can perform a PC-MM for a limited overhead.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper7
- Bridging Usability and Performance: A Tensor Compiler for Autovectorizing Homomorphic EncryptionEdward Chen, Fraser Brown, Wenting ZhengUSENIX Security 2026 · 被引用 3 次
- Reliable Non-Leveled Homomorphic Encryption for Web ServicesBaigang Chen, Dongfang ZhaoWWW 2026 · 被引用 1 次
- THOR: Secure Transformer Inference with Homomorphic EncryptionJungho Moon, Dongwoo Yoo, Xiaoqian Jiang, Miran KimCCS 2025 · 被引用 1 次
- Encryption-Friendly LLM ArchitectureDonghwan Rho, Taeseong Kim, Minje Park, Jung Woo Kim 等ICLR 2025
- Lodia: Towards Optimal Sparse Matrix-Vector Multiplication for Batched Fully Homomorphic EncryptionJiping Yu, Kun Chen, Xiaoyu Fan, Yunyi Chen 等CCS 2025
相关 Paper
- Fast Batch Matrix Multiplication in CiphertextsJung Hee Cheon, Minsik Kang, Junho LeeCRYPTO 2026 · 被引用 2 次
- Fully Homomorphic Encryption for Matrix ArithmeticCraig Gentry, Yongwoo LeeCRYPTO 2026 · 被引用 4 次
- Ciphertext-Ciphertext Matrix Multiplication: Fast for Large MatricesJai Hyun ParkEUROCRYPT 2025 · 被引用 5 次
- HERDS: Multi-key Fully Homomorphic Encryption with Sublinear BootstrappingBinwu Xiang, Seonhong Min, Intak Hwang, Zhiwei Wang 等EUROCRYPT 2026 · 被引用 1 次
- Efficient Bootstrapping in Fully Homomorphic Encryption for Matrix ArithmeticEric Crockett, Craig Gentry, Hyojun Kim, Yeongmin Lee 等CRYPTO 2026
