English

CAT: A GPU-Accelerated FHE Framework with Its Application to High-Precision Private Dataset Query

Cryptography and Security 2025-03-31 v1 Distributed, Parallel, and Cluster Computing

Abstract

We introduce an open-source GPU-accelerated fully homomorphic encryption (FHE) framework CAT, which surpasses existing solutions in functionality and efficiency. \emph{CAT} features a three-layer architecture: a foundation of core math, a bridge of pre-computed elements and combined operations, and an API-accessible layer of FHE operators. It utilizes techniques such as parallel executed operations, well-defined layout patterns of cipher data, kernel fusion/segmentation, and dual GPU pools to enhance the overall execution efficiency. In addition, a memory management mechanism ensures server-side suitability and prevents data leakage. Based on our framework, we implement three widely used FHE schemes: CKKS, BFV, and BGV. The results show that our implementation on Nvidia 4090 can achieve up to 2173×\times speedup over CPU implementation and 1.25×\times over state-of-the-art GPU acceleration work for specific operations. What's more, we offer a scenario validation with CKKS-based Privacy Database Queries, achieving a 33×\times speedup over its CPU counterpart. All query tasks can handle datasets up to 10310^3 rows on a single GPU within 1 second, using 2-5 GB storage. Our implementation has undergone extensive stability testing and can be easily deployed on commercial GPUs. We hope that our work will significantly advance the integration of state-of-the-art FHE algorithms into diverse real-world systems by providing a robust, industry-ready, and open-source tool.

Keywords

Cite

@article{arxiv.2503.22227,
  title  = {CAT: A GPU-Accelerated FHE Framework with Its Application to High-Precision Private Dataset Query},
  author = {Qirui Li and Rui Zong},
  journal= {arXiv preprint arXiv:2503.22227},
  year   = {2025}
}
R2 v1 2026-06-28T22:37:45.629Z