← 研踪 PaperTrailarXiv:2612.06134 · v1
StageGate-RSI: Stage-Decoupled Attribution and Statistically Gated Recursive Self-Improvement for Agentic Vulnerability Discovery
首次提交 2026-12-04 01:36
版本更新 2026-12-04 01:36
雷达观测 2026-12-04 13:04
摘要
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.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-12-04 01:36 · 最新观测版本
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.
查看此版本解读 →查看此版本原文 ↗