论文

PQCImplement-Bench:评测 LLM 能否实现 NIST 后量子密码标准

PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries

精选理由

把 NIST 后量子密码标准变成能用的代码补丁,GPT-6.1-Sol、Kimi K3.1 Pro、GLM-5.3-FlashX 表现差距很大,最高和最低差出几十个百分点。做密码库维护或安全审计的人值得看看这份基准,它能直接告诉你该给智能体喂多细的规格说明。

arXiv 论文 2612.03088 发布 PQCImplement-Bench,首个评测编码智能体将 NIST 后量子密码标准(FIPS 203-205:ML-KEM、ML-DSA、SLH-DSA)落地为现有密码库补丁的基准。基准包含 15 个任务,源自 9 个仓库的 14 个 PR,覆盖 7 种编程语言,每个任务配有改动前的仓库快照和经过评审的规格说明。

正文

评测采用两个独立判定器:仓库测试衡量代码在库内是否正确,NIST 验证向量衡量是否符合标准本身。在 OpenHands 框架中,仅给问题陈述时 GPT-6.1-Sol 在验证向量上平均通过率 29.0%、仓库测试 18.9%;加入接口规格后,GPT-6.1-Sol 在验证向量上达 100%,Kimi K3.1 Pro 为 55.8%,GLM-5.3-FlashX 仅 6.7%;仓库测试上三者分别为 93.7%、52.4%、0.0%。

结果显示接口规格说明是关键变量,缺失时模型输出大量不合规实现,对维护密码库的团队意味着直接丢标准文档给智能体并不可靠。数据集和评测框架已随论文开源。

原文 · arXiv cs.AI

PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries

A large-scale quantum computer would break the public-key cryptography that protects today's communications, and NIST has standardized ML-KEM, ML-DSA, and SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from conformance to the standard. One oracle consists of relevant repository tests, and the other consists of NIST validation vectors for each standard. We evaluate three models, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX in OpenHands. Given only the problem statement, GPT-6.1-Sol reaches a mean pass rate of 29.0% on the validation vectors and 18.9% on repository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:PQCImplement-Bench、ML-KEM、后量子密码、GPT-6.1-Sol,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Souhardya Saha Dip, Moshood A. Fakorede, A. B. Siddique, Umar Farooq),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 2 家独立信源对该事件进行交叉印证与跟进报道(含 Ate-a-Pi 等),属于近期高关注度行业信号。

发现摘要或翻译有误? 告诉我们