AI news

Anthropic's lattice papers advance quantum theory, but offer no practical break of current standards

By 机器之心编辑部0 viewsSource: 机器之心
Anthropic releases four lattice cryptography papers: theoretical quantum advances, no practical break of current standards

Anthropic released four Claude-assisted lattice cryptography papers. A quantum algorithm improves asymptotic complexity for specific problems; other results strengthen security foundations. CIRG finds no practical threat to current ML-KEM and ML-DSA parameters and urges continued PQC migration.

Editor's fact check: These results concern theoretical algorithms and security reductions for specific lattice problems; they do not constitute a practical break of RSA or current post-quantum cryptography standards. CIRG's assessment states that the new quantum attack requires far more computation than existing attacks at current ML-KEM and ML-DSA parameters, and continues to recommend the transition to post-quantum cryptography. Security reductions depend on the relevant mathematical hardness assumptions and parameter conditions; they are not unconditional proofs of security.

Anthropic has finally made its progress in cryptography research public.

A few days ago, reports that "a frontier AI laboratory had broken RSA-2048 (opens in a new tab)" were spreading widely. Amid all the speculation, Anthropic finally released four cryptography papers today.

Article illustration

  • https://github.com/anthropics/formal-math/tree/main/lattices

The subject, however, is not RSA, as the rumors suggested, but lattice cryptography, one of the main approaches currently used to defend against attacks by future quantum computers.

Article illustration

With the help of an unreleased Claude model, Anthropic discovered a new quantum algorithm that can, in theory, solve certain mathematical problems underlying the two post-quantum cryptography standards ML-KEM and ML-DSA more quickly. These two standards are gradually being deployed in real-world digital communications and security systems.

However, the new algorithm requires enormous computing resources. At the cryptographic parameters used in practice, it is even much slower than existing attacks, and therefore currently falls short of posing a practical threat to the existing standards.

Interestingly, the other three papers point in the opposite direction, further strengthening the theoretical security foundations of another class of lattice-based cryptographic schemes.

Put simply, Claude not only found a new quantum attack on certain structured-lattice problems, but also strengthened the theoretical security foundations of another class of lattice cryptography through mathematical reductions subject to parameter conditions.

This result changes the asymptotic security analysis of certain structured-lattice problems, but does not mean that current post-quantum defenses have been practically broken.

"How far into the future can cryptography see?"

Back in 1994, mathematician Peter Shor proposed a quantum algorithm. In theory, a sufficiently powerful quantum computer could use it to efficiently solve the mathematical problems underlying RSA and elliptic-curve cryptography.

Although such a quantum computer has yet to appear, the cryptography community clearly cannot wait until that day to prepare.

This led to post-quantum cryptography (PQC).

In August 2024, the U.S. National Institute of Standards and Technology (NIST) formally published its first three post-quantum cryptography standards. Two of them were ML-KEM and ML-DSA, the standards involved in Anthropic's research.

Both standards are based on lattice cryptography.

A "lattice" can be understood, in simple terms, as an array of points arranged according to particular rules in a high-dimensional space. As the dimension increases, finding the lattice point nearest to a given location becomes an extremely difficult mathematical problem.

To shorten keys and improve computational efficiency, ML-KEM and ML-DSA use "structured lattices" with particular algebraic regularities.

But could those regularities, which improve efficiency, also give attackers an opening?

The answer is yes. Claude exploited precisely these algebraic regularities to produce an algorithm with quasi-polynomial running time on a quantum computer.

Article illustration

The theoretical framework of the new quantum algorithm and the dependencies between its main mathematical results. Starting from foundational mathematical methods such as Gaussian sampling over lattices, the research progressively develops new algorithms for structured-lattice problems, ultimately addressing Module-LWE, a core mathematical problem underlying ML-KEM.

Understanding this breakthrough requires the concept of computational complexity.

Cryptographic security depends to a large extent on how quickly the computation needed to break a cryptosystem grows as the problem size increases.

If the required computation grows exponentially, then even as computers become more powerful, appropriately increasing cryptographic parameters can quickly widen the gap between available computing power and the cost of an attack.

Under specific conditions, Claude's new algorithm can make the cost of solving certain lattice problems grow more slowly.

It challenges not an individual cryptosystem, but cryptographers' judgment about the difficulty of solving a class of mathematical problems.

The mathematical problems involved in this research include certain versions of Ring-LWE (Ring Learning With Errors) and Module-LWE (Module Learning With Errors). The latter is one of the core mathematical problems underlying ML-KEM.

"Learning With Errors" can be understood as deliberately introducing small errors into a system of mathematical equations. Equations that could otherwise be solved using conventional mathematical methods may become extremely hard to solve once these errors are added.

Cryptographers use this difficulty to protect information, while Claude has found more efficient ways to solve the problems under particular mathematical structures.

If structured lattices are imagined as a floor made of tiles with identical patterns, Claude's new method further exploits the mathematical regularities behind those repeating patterns to make the problem easier to solve.

However, this advantage only emerges at extraordinarily large problem sizes.

Continuing the tile analogy, current cryptographic standards raise their security levels by increasing the number of tiles, whereas the new algorithm's asymptotic advantage depends on continually increasing the size of each individual tile.

This produces a seemingly paradoxical result: Claude has found an attack algorithm that is theoretically faster, yet using it against cryptosystems deployed in the real world would be much slower than older methods.

Article illustration

The paper describes this kind of theoretically faster but practically almost impossible-to-run method as a "galactic algorithm."

Neither cryptosystems at that scale nor quantum computers powerful enough to run this algorithm currently exist in practical use.

Cryptography always looks toward a future far beyond today's technological capabilities.

Beyond attacks: Claude is also strengthening cryptography's defenses

In contrast to the security concerns raised by the first paper, the other three papers Anthropic released bring good news.

These three papers study unstructured lattices.

Compared with structured lattices, unstructured lattices lack additional algebraic structure that could be exploited. Although this means larger keys and higher computational overhead, it may also mean fewer potential avenues of attack.

How, then, do cryptographers prove that a cryptographic scheme is sufficiently secure?

It is clearly impossible to exhaust every attack that might arise in the future. Cryptographers therefore typically use a method called a mathematical reduction to connect the difficulty of breaking a cryptosystem with that of solving an established mathematical hard problem.

If breaking a cryptosystem requires the ability to solve another established hard problem, its security has a firmer mathematical basis.

The second paper answers an open question raised in the cryptography community more than a decade ago.

In 2009, cryptographers Vadim Lyubashevsky and Daniele Micciancio asked whether cryptographic security could be based on the worst-case hardness of the search versions of the Shortest Vector Problem (SVP) or Closest Vector Problem (CVP).

Claude has now established new reductions from these fundamental mathematical problems to the Short Integer Solution (SIS) and Learning With Errors (LWE) problems, answering the question under different computational conditions.

Article illustration

Earlier related research included approximation factors of quadratic order under classical computation and of order n^1.5 under quantum computation. Under specific parameter conditions, Anthropic's fourth paper establishes a classical mathematical reduction with a nearly linear approximation factor, allowing the security of the relevant encryption schemes to be argued under weaker mathematical hardness assumptions.

The term "worst case" is especially important here.

Cryptographers want to prove that if an attacker can efficiently break randomly generated cryptographic instances, they can also solve arbitrary mathematical instances, including extremely difficult ones, rather than just a subset that happens to be relatively easy.

This is also one of the important theoretical security foundations of lattice cryptography.

The third paper examines an existing cryptographic attack method in the reverse direction.

In lattice cryptanalysis, there is a classical approach called the dual attack: if certain sufficiently short lattice vectors can be found, it may be possible to identify hidden mathematical regularities in seemingly random data.

Claude proved that, under specific conditions, this relationship can also run in reverse: if an algorithm can effectively identify those hidden regularities, quantum computation can then also be used to find the corresponding short lattice vectors.

Under certain parameter conditions, the paper also establishes an approximate computational equivalence between Learning With Errors (LWE) and the Shortest Independent Vectors Problem (SIVP).

This enables cryptographers to understand the connections between these mathematical hard problems in both directions, rather than relying only on one-way theoretical deductions.

The fourth paper further advances the theory of public-key encryption security proofs.

Under specific parameter conditions, the approximation factor in Claude's new reduction, which uses only classical computation, even improves on previous results obtained using quantum computation.

This means cryptographers can argue for the security of the relevant encryption schemes under weaker mathematical hardness assumptions.

Although these results still have limitations relating to parameters and efficiency, they provide a stronger theoretical basis for the security of lattice cryptography.

The four papers therefore point to two different conclusions: Anthropic has reduced confidence in the long-term security of structured lattices, while increasing confidence in the security of unstructured lattices.

CIRG's independent assessment: a new theoretical path,

but still a long way from a practical break

When Anthropic released its results, online commenters called it an "earthquake" in cryptography and asked: if Claude has found a new attack on lattice cryptography, are the post-quantum standards now being deployed still secure?

In response, CIRG—the Cryptography Incident Review Group—soon released a preliminary assessment.

CIRG first confirmed the most important theoretical breakthrough in Anthropic's research: Claude helped researchers find a quantum quasi-polynomial-time algorithm for certain structured-lattice problems, including Ring-LWE and Module-LWE.

But in assessing its real-world impact, CIRG reached a relatively clear conclusion: this discovery currently falls far short of threatening the existing NIST post-quantum cryptography standards.

Article illustration

  • https://cirg.org/statements/1/

There are several reasons, starting with the computational resources required for the attack.

CIRG noted that applying this algorithm to the currently standardized ML-KEM and ML-DSA requires far more computation than the best previously known attacks, which themselves are already beyond practical reach.

To make the gap more tangible, CIRG offered an extreme comparison: even if an attacker could perform 2^1000 quantum operations, that would still fall far short of the computation needed to attack ML-KEM-512 and ML-DSA-44, the lowest-security parameter sets.

Article illustration

This does not even account for the engineering challenges of building a large-scale quantum computer. In other words, Claude has found a theoretically more efficient attack path, but has not given attackers a key that can unlock real-world encryption systems.

Beyond computational cost, CIRG also noted that the algorithm's main significance lies in improved asymptotic complexity: as certain structured-lattice problems grow in size, the computational resources required by the new algorithm grow more slowly than with previously known methods. This means some of cryptographers' earlier long-term expectations about the security of these mathematical problems need to be revisited.

However, there is a crucial difference between this theoretical advantage and the parameter design of the current NIST standards. When ML-KEM and ML-DSA increase their security levels, they primarily increase the number of components in the structure—the rank—rather than continually expanding the dimension of each structured component. CIRG pointed out that the asymptotic advantage of Anthropic's algorithm primarily appears when the latter keeps growing.

This also explains why a theoretical breakthrough in complexity has not yet translated into a practical threat to the current standards.

CIRG nevertheless cautioned that continued attention is warranted. On one hand, subsequent research may further improve this attack algorithm. On the other, researchers still need to determine whether those improvements would actually reduce the cost of attacking the current NIST standards.

CIRG's recommendation was also clear: do not stop the transition to post-quantum cryptography, but prepare for possible future algorithmic breakthroughs.

Specifically, CIRG outlined several directions:

  • First, continue deploying post-quantum cryptography standards. Traditional RSA and elliptic-curve cryptography still face potential threats from future quantum computers; this theoretical research is no reason to delay the transition.
  • Second, where circumstances allow, prioritize higher security levels within the NIST standards and consider hybrid schemes based on different mathematical foundations to reduce the risk of a problem with any single algorithm. CIRG also placed particular emphasis on crypto agility, meaning that enterprises and infrastructure should be able to switch quickly to alternative schemes if a vulnerability is discovered in a cryptographic algorithm, without rebuilding the entire system.
  • Finally, CIRG also recommended that standards bodies such as NIST further diversify the available public-key cryptographic algorithms, particularly by bringing more schemes based on different mathematical foundations into the standards framework.

For AI laboratories, CIRG also offered a longer-term recommendation: frontier AI companies should work more closely with the cryptography community, sharing not only successful attacks but also which attacks they tried, which systems resisted them, and how much research effort they invested.

What do you think of Anthropic's research? You are welcome to share your views and discuss them in the comments!

References:

https://x.com/AnthropicAI/status/2127538548119339339

https://apnews.com/article/anthropic-encryption-cryptography-lattice-88c9148acb39fb23fc344f0f53cd1596

https://x.com/dotey/status/2127549067517370653

https://x.com/Yuchenj_UW/status/2127542768193188064

https://cirg.org/statements/1/

https://www.reddit.com/r/technology/comments/1y9kr6k/what_is_anthropics_encryption_breakthrough_and/

https://news.ycombinator.com/item?id=50707834

This article is from "Synced," by the "Synced editorial team".

Related topics

After reading

Join the AINRK community

Read how to join the community and connect with people working in AI.

Community information (opens in a new tab)