← 返回选刊

X · @AnthropicAI / 长帖

对ML-KEM-512,有些采样实例的格秩超过2的10400次方

Anthropic发布四篇格密码学理论论文。量子算法在渐近意义上更快,但对现行后量子标准并不实用。作者仍把ML-KEM和ML-DSA视为目前最强的公钥算法之列,同时降低了对结构格的长期信心。

乔木改写

论文里有一个具体算法例子。对后量子加密标准ML-KEM-512,环次数n等于256,秘密和样本数d、m都等于2,算法要计算秩为5的模格典范过滤,这个5来自d加m加1。按文中Remark 23.9,有些采样实例在整数上的秩大于n的52乘5²次方。作者把这个量写成2的10400次方。

他们把这类算法称为galactic,也就是银河尺度的:运行时间的上界是渐近的,对ML-KEM和ML-DSA现在使用的参数集并不实用。

2026年11月30日,Anthropic在官方账号发布了一组格密码学理论论文。格密码用被认为即便量子计算机也很难解的数学问题来保护数据,是后量子公钥算法的重要基础。官方完整论文和配套的Lean 4形式化,随后放在GitHub仓库anthropics/formal-math的lattices目录里。仓库说明写着,这些结果由内部研究用Claude模型发现,形式化由AI模型写成。这是研究工件,仓库标明不维护、不接受贡献。

本文改写的是官方说明,以及论文已经写明的主要结论和限制。四篇论文里,最长的一篇有283页,这里不是全文翻译。

官方先把范围划清了

Anthropic写道,这些结果对今天的安全系统没有实际的现实世界影响。

四篇里最受关注的一篇给出了一种量子算法,它在理论上能更快求解ML-KEM和ML-DSA背后的部分数学问题。但按官方说明,这种更快只发生在非常大的密钥尺寸上,比现实中使用的密钥大得多。密钥尺寸指的是保护或验证信息时用到的数据串长度。

对真实世界的密钥尺寸,这种方法仍然明显慢于已经存在的方法。Anthropic说,他们测试过它能否被扩展成对广泛部署的安全方案的实际威胁,结论是不能。他们仍然认为,ML-KEM和ML-DSA是目前最强的公钥算法之列。

与此同时,这些结果降低了他们对结构格的长期信心。ML-KEM和ML-DSA都依赖结构格。官方把这项结果看作一个有限信号:结构格的弱点,未来仍有可能被找到。他们同时强调,当天发布的另外三篇论文,提高了他们对无结构格的整体信心。

Anthropic还说,这些结果是用未发布的Claude模型发现的。他们先以草稿形式分享给一组外部密码学家和美国政府,现在公布最有影响的完整论文和证明,让其他人检验、寻找界限,并用来指导更强的标准。官方建议继续转向后量子密码,使用混合配置,以及一旦某一种方法被发现缺陷就能迅速切换的敏捷系统。

第一篇论文具体证明了什么

第一篇论文的标题是《积分格和模格上的银河尺度拟多项式时间量子算法》,作者栏署名为Anthropic,日期是2026年11月。

摘要写明,作者给出了若干格问题的拟多项式时间量子算法。主要工具是在任意秩为m的积分格的对偶上,把离散高斯采样做到宽度低至O(√m)。借助这个采样器和背后的方法,算法可以给任意Zm的旋转找出一组标准正交基,把格分解成不可分解的正交直和项,并在分圆域的理想里,以多项式因子近似最短向量。

对幂次为2的分圆环上、秩为多对数级的模格,算法能在与维数呈线性的因子内近似求解最短向量问题SVP、最短无关向量问题SIVP和最近向量问题CVP。在同一设定下,它还能求解短秘密、短误差的搜索版模LWE的随机实例,前提是模数大小合适且为多项式量级。对模q的NTRU格,如果密钥范数低于√q,算法可以找到包含该密钥的最密秩一本子模。

摘要末尾再次写明:这些算法是galactic的,运行时间界是渐近的,对ML-KEM和ML-DSA的参数集并不实用。

论文在限制条件里还列了几件它没有处理的事:ML-DSA的Module-SIS参数没有被讨论;Falcon的密钥没有被讨论;NTRU-HPS、NTRU-HRSS和NTRU Prime所用的环,并不是这篇论文里的那种环。对ML-DSA三套参数里经过舍入的样本,定理C里某一项概率上界在满足文中“小比率”条件时会超过1。

仓库里的形式化说明也给出了一个更具体的时间表达式例子:存在一个量子程序,对每个固定的秩,在所有足够大的2的幂次次数、合适的噪声和模数,以及几乎所有方阵上,求解搜索版模LWE的时间为2的(c乘秩的8次方乘n的log2的平方)次方。这段Lean陈述写在PaperDefs中,并标明结果是渐近的。

另外三篇,写的是无结构格这边的归约

第二篇论文的标题是《近似搜索SVP可归约到SIS和SIVP,并在量子情形下归约到LWE和GapSVP》。摘要的核心是,Ajtai关于短整数解问题SIS、以及Regev关于带误差学习问题LWE的最坏情况到平均情况归约,被扩展到了平滑参数以下的高斯宽度。它还给出了搜索SVP到SIVP、以及量子情形下到GapSVP的归约。作者写明,这回答了Lyubashevsky和Micciancio对基于SIS的原语、以及量子情形下对加密提出的一个问题。

第三篇论文的标题是《对偶攻击的一个逆命题,以及小噪声率下SIVP与LWE的量子等价》。它建立在第二篇之上,证明了对偶攻击的一个逆命题,并把Regev那套LWE加密方案在其原参数下的IND-CPA安全,建立在搜索CVP在Õ(n^{3/2})近似因子内的最坏情况量子困难性上。摘要还给出了SIVP与LWE在小噪声率下的量子等价,其中出现的2ϑ,是基本对偶攻击被估计为能够成功时的根Hermite因子。摘要还写到,不存在对所有γ属于[poly(n), 2的n次方]都适用的、到秩n+O(1)的多项式时间黑盒归约,能够把γ的指数2或1/2再降低一个常数,除非多项式近似因子的SVP可以在量子时间n的O(log n)次方内求解。原PDF把2的n次方和1/2排成上下标,这里按常见数学排版还原,如有出入,以原PDF为准。

第四篇论文的标题是《在Õ(n)内由GapSVP得到公钥加密:一项经典的、自适应地归约到维数kn且模数为指数级的判定LWE》。这是一篇经典归约,不是量子算法。摘要说,已发表的多项式时间归约里,公钥加密可以建立在GapSVP的Õ(n^{1.5})量子困难性,或Õ(n²)经典困难性上。这篇论文给出了两项经典归约,把近似因子改成了Õ(k n / α^{1/k}),以取代原来的Õ(n/α)。作者认为,寻找近似因子更小的、到LWE的归约,是Bennett提出的一个公开问题的一部分。

这三篇的全文同样需要打开原PDF阅读。上面只转述了各篇摘要里已经写明的主结果,没有把证明和中间定理逐条展开。

外部密码学家怎么看

Anthropic在原帖里给出了外部评估小组的声明链接,发布方是密码学事件评审组CIRG,日期是2026年11月30日。声明说,Anthropic曾在11月16日把一组关于格密码学的数学结果分享给其中一些人。CIRG欢迎前沿AI实验室做这类密码学研究,并负责任地披露结果。

CIRG区分了结构格和无结构格。模格这类结构格,是若干NIST后量子标准的基础;无结构格用在另一些效率较低、但攻击面可能更少的密码系统里。CIRG认为,最突出的主张是一种针对某些模格问题,包括某些版本的Ring-LWE和Module-LWE的量子拟多项式时间算法。与此相对,Anthropic表示,他们没有改进对任何主流格密码系统的经典攻击,也没有改进对无结构格的量子攻击;报告中的其他结果还加强了无结构格密码的理论基础。CIRG把这一点看作支持主流无结构格后量子安全性的有意义证据。

CIRG的脚注还写了更具体的尺度。忽略输入长度里的多项式因子后,对幂次为2的分圆环上、次数为n、秩为k的模格,渐近运行时间是n的poly(k) log(n)次方;当秩k固定时,这是n的O(log n)次方。脚注举例说,即便假设对攻击者有利,哪怕是2的1000次方次量子运算,也远远低于它对最小参数集ML-KEM-512和ML-DSA-44的代价。脚注还指出,这种渐近加速是在结构分量的次数n变大时出现的;而ML-KEM和ML-DSA提高安全级别的方式,是增加分量个数,也就是提高秩k,同时把n固定为256。

2026年12月1日,Trail of Bits的Keegan Ryan发了一篇问答。文章开头写:Anthropic公布的模格量子算法并没有攻破基于格的密码,目前不存在实用攻击。他们建议,正在部署ML-KEM、ML-DSA或FN-DSA的人,不必立即采取行动。这是Trail of Bits的评估,不是Anthropic论文里的结论。

同一天,Cloudflare的Mari Galicer、Christopher Patton和Bas Westerbaan也写了评述。他们同样认为这项研究是纯理论的,不影响已部署密码系统的安全。文中写到,截至发文之日,Cloudflare上73%的人类访问流量已经使用后量子加密。他们还估计,按直白实现,这些算法需要规模极为庞大的量子计算机,至少需要数十亿个逻辑量子比特;相比之下,今天的量子计算机大约是数千个量子比特的量级。这些数字和判断来自Cloudflare的评述。

要核对,直接去看论文和声明

完整论文、Lean形式化和说明文档在https://github.com/anthropics/formal-math/tree/main/lattices。CIRG声明在https://cirg.org/statements/1/。仓库写明,主定理有132条陈述,构建完整检查大约需要1小时以上,并且形式化与印刷文本的差异列在docs/departures.md里。读者需要自行判断,这些陈述是否就是论文所说的意思。

如果你正在部署后量子密码,Anthropic的建议是继续迁移,并准备混合配置和可快速切换的系统。CIRG、Trail of Bits和Cloudflare则一致认为,就目前公开的结果而言,不必把现行的ML-KEM、ML-DSA从生产环境里撤下来。两句话要一起看,不要只记住其中一句。

原文

Today, we released a set of theoretical papers on lattice cryptography

Official announcement (complete X post)

Source: https://x.com/AnthropicAI/status/2127538548119339339
Author: Anthropic (@AnthropicAI)
Time: 2026-11-30T23:01:32.000Z

Today, we released a set of theoretical papers on lattice cryptography—a method of protecting data with extremely complex encryption, using math problems thought to be unsolvable even by quantum computers. This is part of our ongoing work on evaluating our models and on making cryptographic security harder to attack.

The results do not have practical, real-world consequences for today’s security systems. The main result from one paper is an algorithm that, in theory, solves some of the math problems behind two “post-quantum” standards (ML-KEM and ML-DSA) on quantum computers asymptotically faster than previously-known methods. But it does so only for very large key sizes (much larger than are used in reality; key size is the length of the data string used when protecting or verifying information).

For real-world key sizes, the method is still dramatically slower than the methods that already exist. We tested whether it could be extended to pose a practical threat to widely-deployed security schemes—it could not. We still believe that ML-KEM and ML-DSA are two of the strongest public key algorithms available. These results do, however, lower our long-term confidence in structured lattices, on which both schemes rely; we see the results as a limited signal that weaknesses in structured lattices could be found in the future. Notably, though, the other three papers we’re releasing today raise our overall confidence in unstructured lattices.

We shared these results, which were found using unreleased Claude models, in draft form with a group of outside cryptographers and the US government. The group’s statement is available at the link below. We are now publishing the most impactful full papers and proofs so that others can test the work, find its limits, and use it to guide stronger standards. We recommend continuing the transition to post-quantum cryptography, using hybrid setups and agile systems that can be switched quickly if flaws are found in any given method.

The statement can be found here: https://cirg.org/statements/1/

All four papers are available here: https://github.com/anthropics/formal-math/tree/main/lattices

Papers and repository (editorial excerpt, not the full papers)

The four papers and a Lean 4 formalization are in anthropics/formal-math/lattices. The repository README states: “The results were discovered by an internal research Claude model. The formalization was written by AI models.” It also describes the artifact as not maintained and not accepting contributions. The papers themselves are signed “Anthropic, November 2026.” Paper 1 is 283 pages. The excerpts below are the printed abstracts and the parameter-set limitations already stated in Paper 1. They are not a substitute for the full PDFs.

Paper 1 abstract

Galactic quasi-polynomial quantum algorithms for integral and module lattices

We give quasi-polynomial-time quantum algorithms for several lattice problems. The main tool samples discrete Gaussians, at widths down to O(√m), on the dual of any integral lattice of rank m. With this sampler and the method behind it we find an orthonormal basis of any rotation of Z^m, decompose lattices into indecomposable orthogonal summands, and approximate shortest vectors in ideals of cyclotomic fields within polynomial factors.

For module lattices of polylogarithmic rank over power-of-two cyclotomic rings, we approximate SVP, SIVP and CVP within a factor linear in the dimension. In this setting we also solve random instances of search Module-LWE with short secret and error, for suitable moduli of polynomial size, and for NTRU lattices modulo q with a key of norm below √q we find the densest rank-one submodule, which contains the key.

The algorithms are galactic: the bounds on their running times are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA.

PDF: https://raw.githubusercontent.com/anthropics/formal-math/main/lattices/papers/01-quasi-polynomial-quantum-algorithms.pdf

Paper 1 excerpt: limitations on parameter sets

The following is the “Parameter sets” paragraph in Section 9.6, together with the later restatement under “Parameter sets of ML-KEM and ML-DSA,” and the neighboring sentences on what is not treated. Typesetting in the PDF writes the rank bound as n^{52·5²} = 2^{10400}.

The bounds for the numbers of steps are asymptotic, and the algorithms are not practical for the parameter sets of ML-KEM and ML-DSA. For ML-KEM-512, with n = 256 and d = m = 2, the canonical filtration of a module lattice of rank d + m + 1 = 5 is computed, and by Remark 23.9 some sampling instances have rank over Z greater than n^{52·5²} = 2^{10400}. For the rounded samples of the parameter sets of ML-DSA the bound for the probability in Theorem C(c) exceeds 1 for all γ0 and η that satisfy (Small ratio) (Section 12.5).

The Module-SIS parameters of ML-DSA are not treated. The keys of Falcon are not treated. The rings of NTRU-HPS, NTRU-HRSS and NTRU Prime are not of the form R.

Paper 2 abstract

Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP

The worst-case to average-case reductions of Ajtai to the short integer solution problem (SIS) and of Regev to learning with errors (LWE) are extended to Gaussian widths below the smoothing parameter. The search versions of the shortest and closest vector problems (SVP, CVP) in ranks n and n − 1, respectively, within a factor Õ(β √n), reduce classically to SIS with n rows, norm bound β ≤ poly(n) and modulus q ≥ Õ(β √n). Search SVP within Õ(n/α) reduces quantumly to search and decision LWE in dimension n with noise rate α and αq ≥ 2√n, the parameters of Regev’s theorem. This answers a question of Lyubashevsky and Micciancio for SIS-based primitives and, quantumly, for encryption; reductions from approximate search SVP were known for special lattices, such as those with λ2 ≥ poly(n) λ1. For encryption based on search CVP, see the companion paper A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates.

In rank n, search SVP within Õ(n^{3/2}) γ² reduces classically to the shortest independent vectors problem (SIVP) within γ in rank n, and search SVP within Õ(n^{3/2}) γ quantumly to its decision version GapSVP within γ ≤ n^c in rank O_c(n). SIVP within O(√n g) and search SVP within Õ(n^{3/2}) g² reduce classically to Hermite-SVP within g on random integer lattices of rank n. Numbers of columns and samples are polynomial, success probabilities and advantages inverse polynomial, and quantum reductions receive the given algorithm as a circuit.

PDF: https://raw.githubusercontent.com/anthropics/formal-math/main/lattices/papers/02-search-svp-to-sis-and-lwe.pdf

Paper 3 abstract

A converse of the dual attack, and a quantum equivalence of SIVP and LWE at small noise rates

This paper builds on the companion paper Approximate search SVP reduces to SIS and SIVP and, quantumly, to LWE and GapSVP. We prove a converse of the dual attack: given a circuit distinguishing Gaussian noise of width τ modulo a fixed rank-n lattice from uniform, a quantum algorithm finds a nonzero dual vector of norm Õ(√n)/τ (a dual vector of norm O(√(log n))/τ yields a distinguisher), using the companion paper’s version of Regev’s quantum step. With the companion paper’s reduction from CVP to SIS, this bases the IND-CPA security of Regev’s LWE-based cryptosystem, with Regev’s parameters, on the worst-case quantum hardness of search CVP within Õ(n^{3/2}); the same conclusion follows from that reduction and adaptations of known reductions from SIS to search LWE and from search to decision LWE. With the companion paper’s reduction to random lattices, we reduce SIVP within Õ(n^{5/4}) α^{-1/2}, instead of the known poly(n)/α, quantumly to LWE with dimension k, noise rate α and power-of-two modulus q ≥ Õ(n^{5/2})/α, in ranks n up to about 2k log q / log(n^{5/2}/α). For every ϵ > 0, if moreover 1/α and αq exceed sufficiently large powers of k and log q ≤ poly(k), LWE with sufficiently many samples is quantumly equivalent to SIVP within 2^{(1±ϵ)ϑn} in all ranks n = Θ(k log q / log(1/α)), where ϑ = (log2(1/α))² / (4k log2 q) and 2ϑ is the root Hermite factor at which the basic dual attack is estimated to succeed.

SIVP in rank n within O(n √γ) reduces quantumly to search SVP_γ in rank n + 1. Using the companion paper’s dimension-preserving reduction from SVP within Õ(n^{3/2}) γ² to SIVP_γ, we show that no polynomial-time black-box reduction to rank n + O(1) that applies to all γ ∈ [poly(n), 2^n] lowers the exponent 2 or 1/2 of γ by a constant, unless SVP_poly(n) is solvable in quantum time n^{O(log n)}. Numbers of samples are polynomial, success probabilities and advantages inverse polynomial; solvers and distinguishers are circuits without quantum advice.

PDF: https://raw.githubusercontent.com/anthropics/formal-math/main/lattices/papers/03-converse-of-the-dual-attack.pdf

Paper 4 abstract

Public-key encryption from GapSVP within Õ(n), classically: an adaptive reduction to decision LWE in dimension kn with exponential modulus

We give two classical reductions from GapSVP in rank n to decision LWE in dimension kn, k ≤ n^{O(1)}, with noise rate α ≥ n^{-O(1)} and modulus q ≥ 2^{n/2}/α, for the approximation factor Õ(k n α^{-1/k}) in place of Õ(n/α); the case k = 1 is due to Peikert for search LWE and to Peikert, Regev and Stephens-Davidowitz for decision LWE with an arbitrary modulus. Our reductions run in time n^{O(k)} and n^{O(1)} (log n)^{O(k)}, times a polynomial in the input length. Consequently, Regev’s encryption scheme with modulus 2^n in dimension kn, with suitable parameters and negligible decryption error, is IND-CPA secure against classical probabilistic polynomial-time algorithms, unless such an algorithm solves GapSVP in infinitely many ranks n within n^{1+1/k+o(1)} for fixed k, or within n (log n)^{3/2+δ} for δ > 0 and suitable k = Θ(log n / log log n). For public-key encryption, published polynomial-time reductions from GapSVP achieve the factors Õ(n²) classically and Õ(n^{1.5}) quantumly; finding reductions to LWE with smaller factors is part of an open problem stated by Bennett. Combined with the reductions of Brakerski, Langlois, Peikert, Regev and Stehlé, the second reduction shows that, for c, δ > 0, decision LWE in a suitable dimension n′ = Θ(n log n / log log n), with efficiently computable noise rate n^{-c} ≤ β < 1 and modulus 2^{n/n′}/β ≤ q ≤ 2^n, including polynomial moduli, is classically at least as hard as GapSVP in rank n within n (log n)^{3/2+δ}. The first reduction also applies, within Õ(k n α^{-1/k}), to the gap problem for the minimum of det(U)^{1/rk U} over sublattices U ≠ 0 of a lattice.

PDF: https://raw.githubusercontent.com/anthropics/formal-math/main/lattices/papers/04-pke-from-gapsvp-classical.pdf