Metraipolis › archive › dc_cfb6393e7f4b
SelfOp: An Optimization Algorithm for Self-Improving Security Agents — arXiv:2609.22792
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.22792
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T07:00:55.193Z
- SHA-256 of the archived text
4776e6a23374bdb30c49131ea9a524a79bd239810c1b28a2cbd98a7ef3bc84ce- Stable URL of this page
https://metraipolis.com/documento/dc_cfb6393e7f4b
How to cite
SelfOp: An Optimization Algorithm for Self-Improving Security Agents — arXiv:2609.22792 — arXiv (en), https://arxiv.org/abs/2609.22792 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_cfb6393e7f4b (Metraipolis archive dc_cfb6393e7f4b, sha256 4776e6a23374bdb30c49131ea9a524a79bd239810c1b28a2cbd98a7ef3bc84ce)
BibTeX
@misc{dccfb6393e7f4b,
title = {SelfOp: An Optimization Algorithm for Self-Improving Security Agents — arXiv:2609.22792},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.22792},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_cfb6393e7f4b; sha256 4776e6a23374bdb30c49131ea9a524a79bd239810c1b28a2cbd98a7ef3bc84ce},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.22792. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
LLM agents are increasingly used for security tasks: vulnerability discovery, exploit reproduction, and patch generation. Improving them at the model level demands expert demonstrations or computable rewards, which security tasks rarely offer: traces are costly, failures hard to diagnose, rewards sparse, and non-computable. Efforts thus shift to the harness and context, but manual tuning needs task-specific expertise and scales poorly, while automated methods rely on scarce ground truth, stronger optimizer models, or unguided propose-and-evaluate loops that reduce to costly trial and error. We introduce SelfOp, an algorithm that automatically improves a frozen security agent's task context (instructions, skills, and reference documents), without modifying its execution harness and model weights. SelfOp casts context optimization as chain-rule-inspired textual gradient descent: from a single instance's outcome, it propagates error signals backward through the evaluator, the agent's trajectory, and the context artifacts that shaped its behavior, yielding per-instance textual gradients. Gradients are accumulated across instances by clustering, ranking, and filtering, and committed only under cross-instance consensus. A convergence detector monitors the gradient signal itself and stops once the context has absorbed the generalizable information in the training data, without held-out validation data. We evaluate SelfOp on CyberGym, a benchmark of real-world vulnerability reproduction tasks. With fewer than 200 training examples, SelfOp yields a 17-point self-improvement for GPT-5.4-mini (with Codex), enough to surpass the frontier GPT-5.4 baseline by 6 points, and an 18.5-point self-improvement for GPT-5.4 itself. The optimized skills also transfer across models, highlighting that SelfOp-optimized skills learn generalizable task knowledge not model-specific patterns. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.22792 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T06:56:00.953Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).