Reproduce “From LLMs to Agents: A Comparative Evaluation of LLMs and LLM-based Agents in Security Patch Detection” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Junxiao Han, Zheng Yu, Lingfeng Bao, Jiakun Liu, Yao Wan, Jianwei Yin, Shuiguang Deng, Song Han
This study systematically evaluated Large Language Models and LLM-based agents for detecting security patches in open-source software, identifying that models augmented with contextual data achieved the highest overall performance, while iterative reasoning agents excelled at minimizing false positives. The research also demonstrated that commercial LLMs generally surpass open-source models in this critical security task.
Key insights
- Providing rich contextual information to LLMs (Data-Aug LLM) significantly boosts overall detection performance metrics, though it can also lead to an increased false positive rate.
- LLM-based agents employing iterative reasoning (ReAct Agent) are highly effective at controlling and minimizing false positive rates, making them valuable for security-sensitive applications.
- Chain-of-Thought (CoT) prompting is the most effective strategy for enhancing LLM performance by guiding systematic reasoning, while Few-Shot learning can be detrimental if examples are not meticulously curated.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.