atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Learning to Inject: Automated Prompt Injection via Reinforcement Learning

NeurIPS 2026 · Adversarial robustness and security › Attacks on text and graphs · approach: LLM jailbreak and injection defense · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AutoInject, a black-box GRPO-based RL framework that learns adversarial suffixes for prompt injection, using a learned comparison-based feedback model to densify the binary success reward, and reports gains over template, GCG, TAP and evolutionary baselines on AgentDojo.

Problem

Automated prompt injection attacks on LLM agents require emitting specific tool calls with correct arguments; the binary success signal is sparse, so random suffixes rarely succeed and standard jailbreak optimizers lack a useful gradient.

Approach

Score each candidate suffix against the best suffix seen so far with a learned LLM comparison (preference probability), turning the binary success signal into a dense reward used for GRPO training of a small suffix-generating policy; supports online query-based attacks and offline transferable suffixes.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: AgentDojo

Benchmarks: AgentDojo Meta-SecAlign-70B hardened subset

Metrics: attack success rate utility under attack benign utility McNemar test Mann-Whitney U test

Baselines: Direct Instruction Ignore Previous Important Instructions InjecAgent System Message Tool Knowledge GCG TAP Adaptive Attack Evolutionary Search RL-Hammer

Builds on: GRPO GCG TAP RL-Hammer AgentDojo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy