paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Self-Discovering Security Oracles: Meta-learning Vulnerability Detection Strategies through Adversarial Self-Play

自我发现的安全预言机:通过对抗自博弈元学习漏洞检测策略
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 5/10 · 该论文用 LLM 做程序漏洞检测,属于“LLM 用于程序分析”的边缘方向,测试中也对比了规则型静态分析基线,因此与 PL→AI/AI→PL 有一定交集;但其核心贡献是让基础模型通过对抗自博弈与元学习自行演化攻防策略,本质是在提升 LLM 自身的能力(无预设提示/规则),而非提出新的静态分析或形式化方法,也未涉及浮点或贝叶斯程序分析,与画像的核心问题距离较远。引用 1 inbox
Md Rashedul Hasan, Hamid Bagheri
crossref: 2026-10-09

AI 速览

一句话:提出 MetaMorphSES,用对抗自博弈元学习让基础模型自主演化漏洞生成与检测策略,无需预设提示或规则。

现有基于 LLM 的漏洞检测依赖静态提示与固定流水线,难以适应演化威胁,无法发现训练分布外的新漏洞模式。论文提出 MetaMorphSES,以强化学习和对抗自博弈实现元学习:红队演化漏洞生成,蓝队演化检测策略,二者共同演化;内循环生成并检测漏洞,外层元学习循环优化检测策略,无需预设提示或固定架构。在六个真实漏洞语料上,元学习策略对未见漏洞检测显著提升(F1 最高 0.90),优于规则静态分析、零样本与微调 LLM 及近期神经检测器等九类基线,并收敛到攻防稳定均衡。尽管训练开销较高,结果确立了对抗元学习作为基础模型自主发现安全漏洞的新范式。

问题
基于 LLM 的漏洞检测系统依赖静态提示与固定分析流水线,难以适应不断演化的威胁,尤其无法发现训练分布之外的新漏洞模式。
方法
提出 MetaMorphSES,通过强化学习与竞争性自博弈进行对抗元学习,让红队(漏洞生成)与蓝队(检测策略)共同演化,采用内循环生成/检测与外层元学习双循环优化,无需预设提示或固定架构。
评估
在六个真实漏洞语料上,与规则静态分析、零样本/微调 LLM 及近期神经漏洞检测器等九类基线比较,对未见漏洞的检测 F1 最高达 0.90,并观察到攻防能力收敛至稳定均衡。
原文摘要(Abstract)

Current LLM-based vulnerability detection systems rely on static prompting strategies and fixed analysis pipelines, which fail to adapt to an evolving threat landscape. These approaches struggle to discover unknown vulnerability patterns beyond their training distributions, limiting their effectiveness against emerging security threats. This paper investigates adversarial meta-learning as a way for foundation models to autonomously discover vulnerability detection strategies through reinforcement learning and competitive self-play. We present MetaMorphSES (Meta-learning through Morphological Security Evolution and Synthesis), a framework that enables foundation models to jointly evolve vulnerability generation capabilities (red team) and detection strategies (blue team) via adversarial co-evolution, without predetermined prompts or fixed architectures. The system learns to generate increasingly sophisticated synthetic vulnerabilities while simultaneously developing detection strategies that generalize to real-world security flaws. Through a dual-loop optimization process, the inner loop generates and detects vulnerabilities, while the outer meta-learning loop optimizes detection strategies via reinforcement learning. Experiments on six real-world vulnerability corpora show that the meta-learned security strategies substantially improve detection of unseen vulnerabilities (up to 0.90 F1) over nine strong baselines spanning rule-based static analysis, zero-shot and fine-tuned LLMs, and recent neural vulnerability detectors. The system converges to a stable equilibrium between attack and defense capabilities. While training remains resource-intensive, our results establish adversarial meta-learning as a novel and effective paradigm for discovering security vulnerabilities with foundation models through self-directed adaptation, without explicitly programmed detection rules.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12185,
  title = {Self-Discovering Security Oracles: Meta-learning Vulnerability Detection Strategies through Adversarial Self-Play},
  author = {Md Rashedul Hasan and Hamid Bagheri},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3837512}
}