Sparse FHE matrix multiplication on GPUs runs up to 3.0× faster than CPU
The authors claim their GPU-based sparse ciphertext matmul achieves up to 3.0× speedup over CPU and reduces complexity from cubic to semi-linear
Systems arXiv 13 Apr 2026 Method Prototype evidence
Published as “GPU Acceleration of Sparse Fully Homomorphic Encrypted DNNs”
Why it matters
GPU-accelerated sparse FHE matmul can make privacy-preserving DNN inference noticeably faster, bringing practical deployment of encrypted inference a step closer.
Summary
The GPU-accelerated sparse FHE matrix multiplication runs 2.4×-3.0× faster than the CPU baseline and reduces the theoretical complexity from cubic to semi-linear. Experiments on 8×8 and 16×16 random matrices show consistent speedups of about 2.5×-2.7× versus OpenFHE, with low approximation error. The evidence comes from a limited synthetic benchmark and does not include format-conversion overhead.
What they found 2
- GPU sparse FHE matmul outperforms CPU baseline by up to 3.0× and reduces time complexity from cubic to semi-linear.
“our sparse matmul implementation outperforms its CPU counterpart by up to 3.0× and reduces the time complexity from cubic to semi-linear”
- Constant speedup of ≈2.7× for CSR/C and ≈2.5× for VCSR/C over OpenFHE on the same GPU.
“Table 1 clearly displays the data, showing a constant speedup ≈2.7 × for CSR/C and ≈2.5× for VCSR/C when the methods are run using FIDESlib compared to OpenFHE.”
Caveats 2
- The overhead costs from converting the matrices into the appropriate format are not included: accounting for external operations such as conversion, encoding, and encryption would not allow an accurate evaluation of the performance of the matmul method itself.
- Our methods were tested on the same randomly generated square matrices of sizes 8 and 16 as a proof of concept.
What’s new here 4
- First implementation of fully encrypted (ciphertext-ciphertext) sparse matrix-matrix multiplication tailored for GPUs.
- Exploits sparsity in both operands using a hybrid CSR (row-wise) and CSC (column-wise) representation, and a VCSR format for GPU memory efficiency.
- Reduces the number of costly ciphertext rotations by aligning non-zero entries, cutting up to two rotations per match.
- Achieves up to 3.0× speedup over a CPU implementation while maintaining high accuracy.