Skip to content
Anthropic — AI — News

Anthropic Releases Claude-Discovered Quantum Algorithm for Structured-Lattice Cryptography

Four papers reshape the theoretical security picture for lattice cryptography without making attacks on today’s post-quantum standards practical.

Table of Contents

Anthropic has released four theoretical papers on lattice cryptography, including a quantum algorithm that solves certain structured-lattice problems asymptotically faster than previously known methods. The results were found using unreleased Claude models and concern mathematical problems underlying ML-KEM and ML-DSA, two major U.S. post-quantum cryptography standards.

The advance changes the theoretical picture at extremely large problem sizes, not the security of deployed systems today. Applied to current ML-KEM and ML-DSA parameters, the new algorithm requires vastly more computation than existing attacks, which are themselves already beyond practical reach.

Anthropic published the findings after sharing drafts with outside cryptographers and the U.S. government. Alongside the papers, it released an AI-written Lean 4 formalization that makes the mathematical results available for machine checking.

Where the Quantum Speedup Applies

Lattice cryptography builds security around difficult mathematical problems involving regular arrangements of points in many dimensions. Structured lattices add algebraic relationships that make cryptographic systems more efficient. The new algorithm exploits that structure; it is not an improvement against lattice cryptography across the board.

The headline result covers certain module-lattice problems, including some versions of Ring Learning with Errors and Module Learning with Errors. Learning with Errors, or LWE, concerns recovering hidden information from mathematical relationships obscured by small errors. The added noise makes recovery difficult, while legitimate participants can use the construction for cryptographic operations.

NIST's ML-KEM standard uses Module-LWE to support establishing a shared secret key over a public channel. Participants can then use that secret for encryption and authentication. ML-DSA instead generates and verifies digital signatures that authenticate a signer and detect changes to data. Both use module-lattice structure.

Anthropic's algorithm has quasi-polynomial running time for fixed module rank as the degree of the underlying ring grows. In the notation used by the outside cryptographers, its asymptotic cost is n^(poly(k)·log(n)), ignoring polynomial factors in input length, where k is module rank and n is ring degree. For fixed k, that becomes n^O(log n).

Quasi-polynomial describes how an algorithm's cost grows with problem size. It does not establish that the algorithm is fast at any particular size. Here, the advantage appears only at scales far larger than those used in practice.

ML-KEM and ML-DSA increase their security levels by increasing the number of structured components, or rank k, while holding the degree n at 256. The new asymptotic speedup applies as n grows, rather than along that existing path through the standards' parameter sets.

The Cryptography Incident Review Group, or CIRG, calls the attack's cost "galactic" in its initial assessment. Even 2^1000 quantum operations would fall far below its estimated cost against the smallest parameter sets, ML-KEM-512 and ML-DSA-44, under assumptions favorable to an attacker. CIRG used AI models to help optimize the attack and estimate that cost.

Anthropic says it tested whether the technique could be extended into a practical threat to widely deployed schemes and found that it could not. It nevertheless views the result as lowering its long-term confidence in structured lattices. CIRG expects researchers to improve the attack; whether those improvements reduce the cost against practical systems is the central open question it identifies.

Four Papers and Machine-Checked Proofs

The papers and Lean 4 formalization cover both attack algorithms and theoretical connections between lattice problems. Anthropic identifies an internal research Claude model as the source of the discoveries and says AI models wrote the formalization.

The first paper, "Galactic quasi-polynomial quantum algorithms for integral and module lattices," contains the headline algorithm. The other three examine reductions and equivalences involving problems such as the Shortest Vector Problem, the Short Integer Solution problem, and LWE, as well as a construction of public-key encryption from a lattice problem.

A reduction establishes that solving one problem would let a researcher solve another under specified conditions. Such connections help assess the security assumptions behind cryptographic systems, rather than necessarily producing a faster attack. Anthropic says these three papers raise its overall confidence in unstructured lattices. CIRG likewise views the findings as evidence supporting the post-quantum security of mainstream unstructured-lattice systems.

Anthropic reported no improvement in classical attacks on mainstream lattice cryptosystems, whether structured or unstructured, and no improvement in quantum attacks on unstructured lattices.

The formalization includes 132 main-theorem statements, 190 intermediate statements, and 63 theorems concerning its quantum computation model. Algorithms are expressed as programs for a quantum word RAM, with running time measured in that machine's steps.

Comparator checks that submitted proofs establish the designated statements, replaying them in Lean's kernel and an independent kernel called nanoda. This provides a way to check formal proof correctness, while readers still need to assess whether the definitions and statements faithfully capture the printed mathematics.

The repository documents differences between the papers and their formalization, including logarithmic-factor differences in some running-time bounds. Two remarks are not formalized, and one remains conditional on an open question, as in the paper. Anthropic has published the repository as a research artifact, rather than a maintained software project.

Post-Quantum Migration Continues

CIRG says Anthropic shared the results with several of its cryptographers on November 16, ahead of publication on November 30. Its recommendation is to continue migrating to post-quantum cryptography, since delaying would prolong reliance on existing systems that require far fewer quantum resources to break than the new attack needs.

For organizations adopting the NIST standards, CIRG recommends choosing the highest security level an application can support, combining schemes with different mathematical foundations in hybrid systems, and designing systems so individual schemes can be replaced quickly. Anthropic also recommends continued migration, hybrid setups, and cryptographic agility.

CIRG additionally urges NIST and other standards bodies to prioritize more public-key cryptosystems based on diverse mathematical designs, even at some cost in efficiency. For frontier AI labs, it calls for sharing not only successful findings but also which systems resisted attack and how much effort researchers devoted to testing them.

Comments

Latest