
























Yintai Sun, Beihang University
Zian Zhao, Beihang University
Haowen Pan, Beihang University
Zhenyu Guan, Beihang University
We propose Libra, a compiler framework that automates efficient code generation for cross-scheme fully homomorphic encryption (FHE) on highly parallel computing architectures. While it is known that leveraging multiple FHE schemes in a single application can improve the overall efficiency, the exact mapping of cross-scheme FHE operators onto high-performance architectures, such as general-purpose graphic processing units (GPGPUs), remains challenging. To address such challenge, Libra integrates both the FHE computational patterns and hardware-aware scheduling strategies to establish an algorithm-hardware co-optimization framework. Specifically, Libra defines a novel cross-scheme representation for FHE that abstracts common program patterns for each of the FHE schemes. Then, we dynamically optimize the output FHE program based on the combined execution costs of FHE primitives derived from multiple scheme switching patterns. Next, to accelerate inter-operator execution on GPUs, Libra introduces a computational scheduling strategy that bridges high-level computation characteristics with low-level execution plans. Through the proposed pattern-scheduling co-optimization process, Libra generates efficient codes for cross-scheme high-precision FHE computations on GPGPUs. Experiment results show that Libra achieves up to 270$\times$ speedup on microbenchmarks and 19$\times$ on the applications compared to state-of-the-art cross-scheme, while improving compute unit and memory bandwidth utilization by $44\%$ and $36.1\%$.
BibTeX
@misc{cryptoeprint:2026/456,
author = {Song Bian and Yintai Sun and Zian Zhao and Haowen Pan and Mingzhe Zhang and Zhenyu Guan},
title = {Libra: Pattern-Scheduling Co-Optimization for Cross-Scheme {FHE} Code Generation over {GPGPU}},
howpublished = {Cryptology {ePrint} Archive, Paper 2026/456},
year = {2026},
url = {https://eprint.iacr.org/2026/456}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。