Artificial intelligence

Anthropic-assisted paper describes theoretical quantum attack on lattice cryptography

Experts say the AI-assisted research poses no practical threat to ML-KEM or ML-DSA today, but it weakens assumptions about the security of structured lattice encryption.

· 2 min read

a closed padlock on a black surface
Photo: Kedibone Isaac Makhumisane / Unsplash
  • A paper drafted with help from Anthropic AI models describes a quantum algorithm against MLWE, the math behind the ML-KEM and ML-DSA standards.
  • Experts say the attack is far too costly to run against current parameter sets, so it is not a practical threat.
  • Researchers say it still shows that structured lattices may be less hard to break than believed, and the attack could improve.

A research paper drafted with the help of Anthropic AI models has been published. It describes a quantum attack on a form of post-quantum cryptography, but specialists say it is no practical danger to systems in use today, Ars Technica reported.

Ahead of its release, headlines and social media posts had suggested the paper would reveal a workable way to defeat the cryptography the world relies on. According to Ars Technica, the paper describes something far more theoretical: an attack on module learning with errors, or MLWE, which underpins the ML-KEM and ML-DSA standards.

The report says the attack is wildly impractical at real-world sizes. Against ML-KEM-512, the weakest ML-KEM variant, it produces intermediate problems with a number of dimensions that dwarfs the estimated count of atoms in the observable universe. A panel of researchers said the quantum cost of an attack would be far beyond what is feasible for the smallest parameter sets, ML-KEM-512 and ML-DSA-44.

Sophie Schmieg, a post-quantum cryptography expert at Google, told Ars that trying every possible private key would be much faster than using the new attack. She said the paper should not have gone through a press cycle, and that papers like it are routinely posted to preprint servers and discussed there.

The result is still seen as meaningful. Until now, MLWE was thought to rely on problems that need exponential time to solve. The AI-assisted algorithm would, in theory, let a quantum computer solve them in quasi-polynomial time, which grows faster than polynomial time but slower than exponential time. Scott Aaronson wrote that some forms of post-quantum cryptography are not really post-quantum at all. He acknowledged that the large constants in the algorithm make the attack impractical.

Aaronson told Ars that improving such constants is usually a matter of time and effort. He said the real change is that the problem no longer inherently requires exponential scaling on a quantum computer. He expects cryptographers to rethink their use of structured lattice schemes, while unstructured lattices remain unaffected.

Eli Ben-Sasson of StarkWare explained that ML-KEM and ML-DSA fix the ring degree at 256 and add security through more modules. This keeps them where the attack is weakest. He said the weak point is the algebraic structure added to make the schemes efficient, and that reviewing cryptographers expect the attack to improve.

Ali El Kaafarani, CEO of PQShield, called the paper significant but said it should not discourage migration to post-quantum algorithms. He argued that the immediate quantum risk remains with RSA and elliptic-curve cryptography, which are still widely used.

Schmieg suggested the early attention came from marketing, another result, or non-cryptographers who misjudged the work. Ars Technica concluded that speculation about unreleased research wastes time and resources.

Related