PQCImplement-Bench tests LLMs on NIST post-quantum library patches
Original title: PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries
With an interface specification, GPT-6.1-Sol passed every NIST validation vector; without it, its mean rate was 29.0%.
PQCImplement-Bench has 15 tasks drawn from 14 pull requests across nine repositories and seven languages. Patches are graded separately on repository tests and NIST validation vectors for ML-KEM, ML-DSA, and SLH-DSA. In OpenHands, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX were evaluated. Adding the interface specification raised GPT-6.1-Sol's vector pass rate from 29.0% to 100%. The dataset and framework were released.
- Without the specification, GPT-6.1-Sol scored 18.9% on repository tests.
- With it, Kimi K3.1 Pro reached 55.8% on validation vectors.
- GLM-5.3-FlashX then scored 6.7% on vectors and 0.0% on repository tests.
- Covered standards are FIPS 203, FIPS 204, and FIPS 205.
- Repository-test rates with the specification were 93.7%, 52.4%, and 0.0%.
- Organizations
- NIST
From the original article
1 min read at arxiv.orgA 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.
By Souhardya Saha Dip · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.