Reviewers favor clearer LLM patches and switch when told a human wrote one
Original title: Human Reviewers' Attitudes Toward LLM-generated Security Patches: A Controlled Experiment
Among 111 master's students and 14 professionals, some switched after a human attribution even though every patch was model-generated.
A controlled experiment asked participants to compare two plausible patches for each of four real-world vulnerabilities. The patches came from GPT-4o and Claude 3.7 Sonnet, but reviewers were not told that. After choosing, they were told one patch was human-written and could reconsider. Beyond correctness, they preferred patches that explained the fix, preserved functionality, and looked easy to install. Some switched toward the human-attributed patch; most ignored provenance.
Unconfirmed: The abstract does not name the four vulnerabilities or report how often reviewers switched.
- Participants came from three universities and three software or cybersecurity companies.
- Reviewers did not know the patches were from GPT-4o and Claude 3.7 Sonnet.
- Some participants explicitly admitted a preference for a human author.
- People who noticed provenance were more likely to switch their choice.
- AI models
- GPT-4oClaude 3.7 Sonnet
From the original article
1 min read at arxiv.orgExisting research in Automated Vulnerability Repair (AVR) has predominantly focused on developing techniques that produce more effective patches. With the rise of generative AI (GenAI) models powering AVR tools, understanding how humans perceive AI-generated security patches becomes relevant, particularly how useful and trustworthy they are considered.
By Emanuele Iannone · 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.