Source Weigh

Compiler Breakthrough Unlocks 10x Cryptography Speedup on Google TPUs Without Hardware Changes

translateen

A research team led by Georgia Tech PhD candidate Jianming Tong has demonstrated that the specialized AI accelerators powering today's largest machine learning models can be repurposed — through compiler transformations alone — to run cryptographic workloads up to ten times faster than state-of-the-art GPUs and FPGAs.

The work, presented in two frameworks called CROSS and MORPH, maps homomorphic encryption and zero-knowledge proofs onto Google's Tensor Processing Units (TPUs) without any silicon modifications, potentially closing a yawning gap between cryptographic demand and available compute.

The Compute Gap in Cryptography

Cryptography-based applications underpinned a $3.5 trillion market in 2025, spanning privacy-preserving AI, secure multi-party computation, and the cryptocurrency ecosystem. Yet demand for cryptographic computation already outstrips available hardware by roughly an order of magnitude. Traditional responses — buying more GPUs, designing new ASICs, or programming FPGAs — are either too slow, too expensive, or too inflexible to keep pace.

In simple terms: The world needs vastly more number-crunching power for encryption and privacy tasks than current chips can deliver. Building new specialized chips takes years and billions of dollars. The Georgia Tech team asked: what if we could make the chips we already have — the ones built for AI — do this work instead?

CROSS and MORPH

The answer lies in two compiler frameworks. CROSS targets homomorphic encryption (HE), a technique that allows computation on encrypted data without ever decrypting it — essential for privacy-preserving AI. MORPH targets zero-knowledge proofs (ZKP), the cryptographic backbone of many blockchain systems that lets one party prove a statement is true without revealing the secret behind it.

Both frameworks translate these mathematically intensive workloads into the matrix and vector operations that TPUs excel at.

In simple terms: A compiler is a translator that turns human-readable code into machine instructions. CROSS and MORPH are smart translators that take cryptographic math — normally run on general-purpose chips — and rewrite it as the specific kind of matrix multiplication that AI chips like Google's TPU are built to do extremely fast.

How It Works

The core insight is architectural rather than algorithmic. TPUs and similar AI ASICs (Application-Specific Integrated Circuits) are designed around high-throughput matrix/vector engines and coarse-grained memory reordering — capabilities that happen to align remarkably well with the polynomial arithmetic and number-theoretic transforms at the heart of both HE and ZKP.

By expressing cryptographic primitives as sequences of tensor operations, the compilers unlock the TPU's massive parallelism and memory bandwidth for workloads they were never intended to accelerate.

In simple terms: AI chips are essentially supercharged matrix multipliers. Cryptography relies heavily on polynomial math and large-number arithmetic. The researchers figured out how to rewrite those cryptographic calculations as matrix problems, letting the AI chip's native engines tear through them. No new hardware needed — just a smarter way to instruct the existing hardware.

Real-World Deployment and Recognition

This is not merely a theoretical exercise. Tong's work has already been deployed inside NVIDIA's NV Labs and Google's Jaxite library, signaling industry confidence in the approach. The research earned second place in the university demo at the Design Automation Conference (DAC), a Qualcomm Innovation Fellowship, the Machine Learning and Systems Rising Star award, and Georgia Tech's NEXT Award.

Tong, a fifth-year PhD candidate advised by Professor Tushar Krishna, has also held visiting researcher positions at MIT and a student researcher role at Google.

Implications for Privacy-Preserving AI and Beyond

The implications extend well beyond benchmark numbers. A 10x speedup on widely deployed TPU infrastructure brings practical privacy-preserving inference and training significantly closer. For blockchain systems, accelerating zero-knowledge proofs could reduce transaction costs and increase throughput, addressing core scalability bottlenecks.

More broadly, the work establishes a methodology: rather than pigeonholing domain-specific accelerators by their original marketing labels, architects and compiler writers should evaluate them by their raw computational primitives.

The same tensor cores that accelerate convolutional neural networks can, with the right compiler, accelerate lattice-based cryptography, signal processing, or scientific simulation. As Moore's Law slows and specialization proliferates, this compiler-centric retargeting may become a primary lever for extracting value from the growing zoo of domain-specific hardware.

Was this clear?

check_circleVerified by Official Documents

library_booksSource

public

MIT Computer Science and Artificial Intelligence Laboratory (CSAIL)

11 May 2026

Read sourceopen_in_new
funding model
non-profit research (private research university; endowment, grants and contracts)
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
jurisdiction
GLOBAL
owner
Massachusetts Institute of Technology (MIT)

Was the source link correct?

topicRelated Articles