Compiler-Guided Polynomial-Level Parallelism for FHE-Encrypted Machine Learning Inference

While compiling machine learning (ML) inference workloads encrypted by fully homomorphic encryption (FHE) has converged on a staged lowering strategy that translates ML computation graphs into ciphertext polynomial programs, polynomial-level parallelism remains underexplored and is typically confined to hard-coded FHE libraries. We introduce CRISP, a compiler-reasoned inter-stage safe parallelization approach that trades runtime SIMD vectorization for compile-time OpenMP parallelism. CRISP enables polynomial-level parallelization while preserving both data dependences and domain-specific cryptographic invariants, ensuring correctness across compilation stages and safety under inter-stage lowering and transformation. CRISP also coordinates compile-time parallelization with polynomial-level fusion, enabling optimization compositions that previously required manual implementation within FHE libraries. We implement CRISP within ANT-ACE, an end-to-end compiler for FHE-encrypted ML inference, and evaluate it on an Intel multi-core CPU platform. Experimental results demonstrate that CRISP enables effective compile-time parallelism, achieving a 2.65× mean speedup on polynomial-level operations, a mean execution-time reduction of 5.63% on ML operators, and an average 137-second reduction in end-to-end ML inference latency.

Authors

Institutions

Publication Details

Journal
International Journal of Parallel Programming
Published
2026-11-26
DOI
https://doi.org/10.1007/s10766-026-00838-2
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Compiler-Guided Polynomial-Level Parallelism for FHE-Encrypted Machine Learning Inference

Tao Dai, Zhihong Liang, Zuoyan Zhang, Jie Zhao et al.
3 links
International Journal of Parallel Programming
Parallel Computing and Optimization Techniques
article

Compiler-Guided Polynomial-Level Parallelism for FHE-Encrypted Machine Learning Inference

Tao Dai, Zhihong Liang, Zuoyan Zhang, Jie Zhao, Zijian Duan
article en

Abstract

While compiling machine learning (ML) inference workloads encrypted by fully homomorphic encryption (FHE) has converged on a staged lowering strategy that translates ML computation graphs into ciphertext polynomial programs, polynomial-level parallelism remains underexplored and is typically confined to hard-coded FHE libraries. We introduce CRISP, a compiler-reasoned inter-stage safe parallelization approach that trades runtime SIMD vectorization for compile-time OpenMP parallelism. CRISP enables polynomial-level parallelization while preserving both data dependences and domain-specific cryptographic invariants, ensuring correctness across compilation stages and safety under inter-stage lowering and transformation. CRISP also coordinates compile-time parallelization with polynomial-level fusion, enabling optimization compositions that previously required manual implementation within FHE libraries. We implement CRISP within ANT-ACE, an end-to-end compiler for FHE-encrypted ML inference, and evaluate it on an Intel multi-core CPU platform. Experimental results demonstrate that CRISP enables effective compile-time parallelism, achieving a 2.65× mean speedup on polynomial-level operations, a mean execution-time reduction of 5.63% on ML operators, and an average 137-second reduction in end-to-end ML inference latency.

International Journal of Parallel ProgrammingVol. 55(1)
Hunan University (CN), China Southern Power Grid (China) (CN)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon