Papers

StageGate-RSI:阶段解耦归因与统计门控的递归自我改进框架用于智能体漏洞发现

StageGate-RSI: Stage-Decoupled Attribution and Statistically Gated Recursive Self-Improvement for Agentic Vulnerability Discovery

Why we picked it

安全智能体自我改进一直有个坑:修复前召回高,修复后误报多。这篇论文把问题拆到阶段层面,56.9% 的误报被定位到假设生成阶段,还用统计门控防止进化过拟合噪声。做代码审计 Agent 的开发者值得照着这套基准和方法复现试试。

arXiv 论文提出 StageGate-RSI,用于评估和递归自我改进(RSI)基于 LLM 的自主漏洞发现智能体。论文指出端到端智能体存在后修复特异性崩塌:修复前召回率达 74.84%-76.96%,但修复后特异性仅 39.22%-43.12%,接近随机水平。同时每样本轨迹翻转率高达 14%-15%,导致朴素反思进化容易过拟合验证噪声。

Body

框架包含三部分:一是通过五阶段自动整理流水线构建两个零泄漏配对基准 PairVuln-Multi(203 组提交对)和 PairVuln-Single(1241 组提交对);二是用 Teacher-Forced Hypothesis Cards 将假设生成与智能体验证解耦;三是设计带四象限对比反思和预注册多门统计防御协议的七槽 RSI 外循环。阶段解耦归因发现 PairVuln-Single 上 56.9% 的端到端修复后误报源于 Stage-1 修复后话题偏移。

效果上,修复前假设强制使修复后特异性提升 32.36 个百分点至 75.48%,配对准确率提升 14.25 点至 73.23%;门控 RSI 外循环实现确认搜索增益 2.26 个百分点和留出验证增益 1.83 点(特异性 6.67 点)。对从事安全审计智能体开发的团队,这套统计门控方法可直接用于避免把验证噪声当作真实改进。

Original · arXiv cs.AI

StageGate-RSI: Stage-Decoupled Attribution and Statistically Gated Recursive Self-Improvement for Agentic Vulnerability Discovery

Autonomous vulnerability discovery agents powered by large language models (LLMs) hold promise for auditing production codebases, yet enabling them to recursively self-improve (RSI) from their own execution trajectories faces three obstacles: (i) historical benchmark contamination that leaks ground-truth labels or inverts pre/post-fix polarity; (ii) a post-fix specificity collapse, where end-to-end agents achieve high pre-fix recall (74.84%-76.96%) but near-random post-fix specificity (39.22%-43.12%); and (iii) high-variance stochastic optimization, where a 14%-15% per-sample trajectory flip rate causes naive reflective evolution to overfit validation noise or trade recall for specificity. We introduce StageGate-RSI, a framework for evaluating and recursively self-improving such agents. First, we construct two zero-leakage paired benchmarks (PairVuln-Multi, 203 commit pairs; PairVuln-Single, 1,241 commit pairs) via a five-stage automated curation pipeline. Second, we decouple Stage-1 hypothesis generation from Stage-2 agentic verification using Teacher-Forced Hypothesis Cards. Third, we design a seven-slot RSI outer loop featuring four-quadrant contrastive pair reflection and a pre-registered multi-gate statistical defense protocol. Stage-decoupled attribution reveals that 56.9% of end-to-end post-fix false positives on PairVuln-Single stem from Stage-1 post-fix topic shift; pre-fix hypothesis forcing lifts post-fix specificity by 32.36 percentage points to 75.48% and paired accuracy by 14.25 points to 73.23%. Under location-only cards, about 70% of Stage-2 post-fix false alarms pivot to unrelated secondary code smells. Finally, our gated RSI outer loop neutralizes the Winner's Curse and threshold shifts, achieving a confirmed 2.26 percentage point search gain and a 1.83 point held-out validation gain (6.67 points specificity) via section-bounded base rubric evolution.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include StageGate-RSI, recursive self-improvement, agents, vulnerability discovery.

Source attribution: curated from arXiv cs.AI (@Jingyang Lu, Jingwei Zhang, Jialin Yu, Ting Liu, Huang Xia, Ke Huang, Paul Zhou, Shawn Yang, Yang Chen, Huayi Li, Yulong Zhang, Zhixian Yan).

Spotted an error in the summary or translation? Tell us