Adapting AlphaEvolve to Optimize Fully Homomorphic Encryption on TPUs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gorantala, Shruthi, Tong, Jianming, Ali, Asra, Li, Baiyu, Katz, Jonathan, Kun, Jeremy, Steinke, Thomas, Thakurta, Abhradeep, Walker, Julian, Yazdanbakhsh, Amir
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910221418364928
author Gorantala, Shruthi
Tong, Jianming
Ali, Asra
Li, Baiyu
Katz, Jonathan
Kun, Jeremy
Steinke, Thomas
Thakurta, Abhradeep
Walker, Julian
Yazdanbakhsh, Amir
author_facet Gorantala, Shruthi
Tong, Jianming
Ali, Asra
Li, Baiyu
Katz, Jonathan
Kun, Jeremy
Steinke, Thomas
Thakurta, Abhradeep
Walker, Julian
Yazdanbakhsh, Amir
contents The deployment of Fully Homomorphic Encryption (FHE) at scale is hindered due to its heavy computational overhead. While specialized hardware accelerators like Google Tensor Processing Units (TPUs) can help, mapping complex cryptographic kernels onto such architectures remains a challenge. Efficient execution requires co-optimization between the systolic array-based Matrix Multiplication Unit (MXU) and Vector Processing Units (VPUs), as well as the orchestration of data movement across the vector register files. Existing compiler stacks often abstract low-level hardware utilization, requiring developers to adopt a manual trial-and-error process that often results in fragmented execution and underutilized resources. To accelerate this development process, we use AlphaEvolve to automate the exploration of hardware-aware cryptographic-kernel optimizations. We frame optimization as an evolutionary search problem, utilizing the closed-loop system provided by AlphaEvolve, that leverages LLM-driven code generation. We use real-world feedback from hardware execution and rigorous correctness testing to guide the evolution process. We evaluate AlphaEvolve optimization on primitives for both the TFHE (Jaxite) and CKKS (CROSS) FHE schemes on Google Cloud TPUv5e, a contemporary TPU architecture. Within 24 hours of automated exploration, AlphaEvolve discovered implementation-level optimizations that improve TFHE bootstrap latency by 2.5x and CKKS rotation and multiplication latency by 1.31x and 1.18x, respectively, relative to human-engineered state of the art. These results demonstrate that AlphaEvolve can be used to enable researchers to navigate the optimization trade-offs between cryptography, compilers, and hardware accelerators.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14718
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Adapting AlphaEvolve to Optimize Fully Homomorphic Encryption on TPUs
Gorantala, Shruthi
Tong, Jianming
Ali, Asra
Li, Baiyu
Katz, Jonathan
Kun, Jeremy
Steinke, Thomas
Thakurta, Abhradeep
Walker, Julian
Yazdanbakhsh, Amir
Cryptography and Security
The deployment of Fully Homomorphic Encryption (FHE) at scale is hindered due to its heavy computational overhead. While specialized hardware accelerators like Google Tensor Processing Units (TPUs) can help, mapping complex cryptographic kernels onto such architectures remains a challenge. Efficient execution requires co-optimization between the systolic array-based Matrix Multiplication Unit (MXU) and Vector Processing Units (VPUs), as well as the orchestration of data movement across the vector register files. Existing compiler stacks often abstract low-level hardware utilization, requiring developers to adopt a manual trial-and-error process that often results in fragmented execution and underutilized resources. To accelerate this development process, we use AlphaEvolve to automate the exploration of hardware-aware cryptographic-kernel optimizations. We frame optimization as an evolutionary search problem, utilizing the closed-loop system provided by AlphaEvolve, that leverages LLM-driven code generation. We use real-world feedback from hardware execution and rigorous correctness testing to guide the evolution process. We evaluate AlphaEvolve optimization on primitives for both the TFHE (Jaxite) and CKKS (CROSS) FHE schemes on Google Cloud TPUv5e, a contemporary TPU architecture. Within 24 hours of automated exploration, AlphaEvolve discovered implementation-level optimizations that improve TFHE bootstrap latency by 2.5x and CKKS rotation and multiplication latency by 1.31x and 1.18x, respectively, relative to human-engineered state of the art. These results demonstrate that AlphaEvolve can be used to enable researchers to navigate the optimization trade-offs between cryptography, compilers, and hardware accelerators.
title Adapting AlphaEvolve to Optimize Fully Homomorphic Encryption on TPUs
topic Cryptography and Security
url https://arxiv.org/abs/2605.14718