Skip to content
aiqbench takeAI Safety

aiqbench analysis

Fine-tuned LLMs, specifically GPT-4.1-mini, demonstrate a 92.5% functional correctness rate in migrating vulnerable cryptographic code to post-quantum alternatives, marking a viable threshold for automation. This approach significantly outperforms zero-shot baselines and suggests that combining fine-tuning with automated verification can streamline the critical transition away from quantum-insecure systems like RSA. The work provides a reproducible framework and dataset that addresses scalability issues inherent in manual code remediation for existing software.
Sources coveringQuantum Zeitgeist, LessWrong, AI Alignment Forum, SiliconANGLE
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Researchers Evaluate Models Assisting Code Migration with 90.7% Validation

Quantum Zeitgeist6 min read

Can vulnerable cryptographic code be automatically updated to withstand attacks from future quantum computers with over 90% accuracy. A fine-tuned GPT-4. 1-mini model achieved a dynamic functional correctness rate of 92.

Javier Pallarés de Bonrostro and colleagues at the Computer Science and Engineering Department, in collaboration with the Mathematics Department, have developed a system using large language models to automate a key step in the transition to post-quantum cryptography. They present a reproducible framework and a dataset of 800 paired Python code fragments to evaluate the ability of LLMs to migrate vulnerable cryptographic code to post-quantum alternatives while maintaining functionality. Results reveal that fine-tuning is essential, with a fine-tuned GPT-4.1-mini model achieving 92.5% functional correctness and a mean static similarity of 0.9072, a sharp improvement over zero-shot performance. The system suggests that, when combined with automated verification, fine-tuned LLMs…

Excerpt shown under the publisher's RSS terms · 108 words · full text and figures are on the publisher's site

Related coverage