MCP
OpenReviewOpenReview
Submission and review
Published: May 9, 2026
cs.CR
v2
ISCACONF 2026 · Oral

Adapting AlphaEvolve to Optimize Fully Homomorphic Encryption on TPUs

Abstract
Fully Homomorphic Encryption (FHE) protects data during computation, but its computational and memory overheads make deployment at scale difficult. Google TPUs provide leading throughput, yet high FHE performance requires optimizing JAX/Pallas implementations to trigger the right XLA lowering decisions and to fill the TPU's coarse-grained vector registers. This optimization loop is typically manual: developers edit frontend code, compile through an opaque stack, inspect hardware traces, and repeat. We adapt AlphaEvolve to automate this frontend design-space exploration for FHE kernels on TPUs. AlphaEvolve treats the kernel implementation as an evolutionary search problem; candidate programs are generated by an LLM, compiled and executed on real TPUv5e hardware, scored on their latency by XProf, and admitted only if they pass correctness/security checks and have a higher score. We evaluate AlphaEvolve on TFHE bootstrapping in Jaxite and on CKKS rotation and multiplication in CROSS. Within 24 hours, AlphaEvolve discovered JAX/Pallas-level modifications that lead to loop unrolling for parameter reuse, XLA-favorable tiling, and removal of redundant type conversions. These optimizations reduce TFHE blind-rotation latency during bootstrapping from 10.0\,ms to 3.5\,ms (2.86×2.86\times), CKKS rotation latency from 4854\,μ\mus to 3714\,μ\mus (1.31×1.31\times), and CKKS multiplication latency from 6340\,μ\mus to 5359\,μ\mus (1.18×1.18\times) relative to expert baselines. The results show that guarded LLM evolution can effectively automate performance engineering of JAX/Pallas-based FHE kernel optimizations and identify optimizations that human experts might miss.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Links
OpenReview
OpenReview
↗
PDF
↗
arXiv
arXiv version on PaperPulse
›
Rating
No ratings yet
Rate
ISCACONF-ORG-ISCA-2026-WORKSHOP-MLARCHSYS
—
No reviews yet
Oral
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first