Learning to Inject: Automated Prompt Injection via Reinforcement Learning
Update NeurIPS 2026 submission TmeVCourtc: 4 notes
@openreview[bot] · 2026-11-24 15:51 UTC · 69c798ae9d94 ·
reviews/openreview/tmevcourtc/notes/mjqj7ggn7g.json added
+++ b/reviews/openreview/tmevcourtc/notes/mjqj7ggn7g.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "MjqJ7gGn7g",+ "replyTo": "d0JftXtpNZ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer fEik",+ "content": {+ "comment": "Dear Authors,\n\nThank you for the detailed rebuttal, I have raised my score.\n\nPlease see the updated review comments."+ },+ "createdAt": "2026-08-01T04:25:37.007Z",+ "modifiedAt": "2026-11-19T17:01:57.109Z",+ "url": "https://openreview.net/forum?id=TmeVCourtc¬eId=MjqJ7gGn7g",+ "license": "CC-BY-4.0"+}
reviews/openreview/tmevcourtc/notes/o5n6tawyeg.json modified
+++ b/reviews/openreview/tmevcourtc/notes/o5n6tawyeg.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair V7zA","content": {- "metareview": "# Paper Summary\n\nThis work addresses the central challenge of automating prompt injection attacks against LLM agents, where existing methods rely on hand-crafted templates and direct adaptation of jailbreak optimizers has proven ineffective due to fundamental differences in optimization structure. The paper proposes AutoInject, a black-box reinforcement learning framework that trains a 1.5B-parameter policy via GRPO to generate adversarial suffixes, with reward sparsity addressed by a learned comparison-based feedback model that scores each candidate against the current best suffix. The method is evaluated on AgentDojo across seven production models and one fine-tuned defense model (Meta-SecAlign-70B), with additional comparisons against optimization-based baselines on two open-weight models. AutoInject outperforms template-based and optimization-based attacks under most conditions, and learned suffixes transfer across unseen tasks and model families.\n\n# Strengths\n\nAll three reviewers acknowledged the practical motivation of the problem and the novelty of the comparison-based dense reward mechanism as a contribution to the prompt injection literature. Reviewer VcZD and Reviewer fEik both credited the breadth of the experimental evaluation, which spans multiple victim models, template and optimization baselines, a hardened defense model, transfer settings, and ablation studies. Reviewer eqrz and Reviewer fEik noted the paper's explicit treatment of utility preservation as an attack objective--a design choice that makes attacks more stealthy and that the results support empirically. Reviewer VcZD highlighted that the ablations credibly isolate the contribution of individual components. Reviewer fEik and Reviewer eqrz found the writing clear and well-organized.\n\n# Reviewer Scores\n\nScores range from 3 (borderline reject, Reviewer fEik) to 5 (accept, Reviewer VcZD), with Reviewer eqrz assigning 4 (borderline accept). The divergence centers on the breadth of evaluation--particularly the restriction to a single benchmark and limited evaluation against prompt injection defenses. Addressing the concerns below would be an important consideration as we move towards the discussion phase.\n\n# Major concerns\n## Limited evaluations\nAll reviewers note strong limitations of the current evaluation: a single benchmark dataset (AgentDojo), non-frontier open-/closed-source models for both general evaluation and as the feedback model, a single model-level defense, no optimization-based baselines, and no evaluation against detection- or prevention-based defenses (e.g., DataSentinel, PromptGuard). Reviewers have enumerated several ways to address these concerns:\n- Reviewer VcZD suggests benchmarking on InjecAgent to demonstrate the effectiveness of AutoInject on alternative prompt injection benchmarks.\n- Reviewer VcZD suggests evaluating AutoInject on SoTA frontier LLMs like Claude Opus 4.8 and Gemini 3.1 Pro.\n- Reviewer eqrz suggests replacing the closed-source GPT-4o-mini feedback model with larger capacity open-source models (e.g., Qwen3.6-27B, gpt-oss-120B).\n- Reviewer fEik suggests evaluating other prompt injection detection-based models (e.g., DataSentinel, Llama Prompt Guard 2 86M) and prevention/filtering-based defenses (DataFilter, PromptLocate, and PromptArmor).\n- Reviewer VcZD suggests evaluating GCG, TAP, evolutionary search, or RL-Hammer against Meta-SecAlign-70B to grade the relative performance of the reported AutoInject ASR.\n\n## Methodology and Practicality\nReviewer fEik raised methodological and practical concerns. On the methodological side, the feedback model requires stronger justification: the ablation shows it helps, but the paper does not measure its correlation with true attack success or test robustness to alternative feedback models and judge prompts. More fundamentally, the transfer experiments demonstrate that a fixed suffix can transfer across tasks, not that the learned policy generalizes--utoInject's per-sample optimization makes it closer to instance-level search than a broadly reusable attacker, which weakens the generality claims. On the practical side, the reviewer requests a detailed cost analysis; at 1.5 hours and 260 queries per sample across 949 task pairs, the computational and API costs are substantial and left unaddressed in the main text.\n\nAdditionally, Reviewer eqrz notes the AutoInject uses a fixed template from AgentDojo, followed by optimized suffix, leading to an easy filter for defenders to target (the fixed template). The reviewer notes an ablation without the fixed template/with other automatically generated templates would show generalizability of the approach for practical deployment settings.\n\n# Minor concerns\nWrt clarity, Reviewer fEik notes the paper would difficult to understand for non prompt injection attack/jailbreak experts, and suggests uggest first introducing prompt injection in LLM agents, then explaining how it differs from standard jailbreak attacks such as GCG-style optimization, and then motivating why AutoInject needs a different RL-based formulation.\n\nAdditionally, Reviewer VcZD notes further discussion clarifying why an LLM-informed dense reward is effective for crafting (typically) semantically nonsensical suffixes."+ "metareview": "# Paper Summary\n\nThis work addresses the central challenge of automating prompt injection attacks against LLM agents, where existing methods rely on hand-crafted templates and direct adaptation of jailbreak optimizers has proven ineffective due to fundamental differences in optimization structure. The paper proposes AutoInject, a black-box reinforcement learning framework that trains a 1.5B-parameter policy via GRPO to generate adversarial suffixes, with reward sparsity addressed by a learned comparison-based feedback model that scores each candidate against the current best suffix. The method is evaluated on AgentDojo across seven production models and one fine-tuned defense model (Meta-SecAlign-70B), with additional comparisons against optimization-based baselines on two open-weight models. AutoInject outperforms template-based and optimization-based attacks under most conditions, and learned suffixes transfer across unseen tasks and model families.\n\n# Strengths\n\nAll three reviewers acknowledged the practical motivation of the problem and the novelty of the comparison-based dense reward mechanism as a contribution to the prompt injection literature. Reviewer VcZD and Reviewer fEik both credited the breadth of the experimental evaluation, which spans multiple victim models, template and optimization baselines, a hardened defense model, transfer settings, and ablation studies. Reviewer eqrz and Reviewer fEik noted the paper's explicit treatment of utility preservation as an attack objective--a design choice that makes attacks more stealthy and that the results support empirically. Reviewer VcZD highlighted that the ablations credibly isolate the contribution of individual components. Reviewer fEik and Reviewer eqrz found the writing clear and well-organized.\n\n# Reviewer Scores\n\nScores range from 3 (borderline reject, Reviewer fEik) to 5 (accept, Reviewer VcZD), with Reviewer eqrz assigning 4 (borderline accept). The divergence centers on the breadth of evaluation--particularly the restriction to a single benchmark and limited evaluation against prompt injection defenses. Addressing the concerns below would be an important consideration as we move towards the discussion phase.\n\n# Major concerns\n## Limited evaluations\nAll reviewers note strong limitations of the current evaluation: a single benchmark dataset (AgentDojo), non-frontier open-/closed-source models for both general evaluation and as the feedback model, a single model-level defense, no optimization-based baselines, and no evaluation against detection- or prevention-based defenses (e.g., DataSentinel, PromptGuard). Reviewers have enumerated several ways to address these concerns:\n- Reviewer VcZD suggests benchmarking on InjecAgent to demonstrate the effectiveness of AutoInject on alternative prompt injection benchmarks.\n- Reviewer VcZD suggests evaluating AutoInject on SoTA frontier LLMs like Claude Opus 4.8 and Gemini 3.1 Pro.\n- Reviewer eqrz suggests replacing the closed-source GPT-4o-mini feedback model with larger capacity open-source models (e.g., Qwen3.6-27B, gpt-oss-120B).\n- Reviewer fEik suggests evaluating other prompt injection detection-based models (e.g., DataSentinel, Llama Prompt Guard 2 86M) and prevention/filtering-based defenses (DataFilter, PromptLocate, and PromptArmor).\n- Reviewer VcZD suggests evaluating GCG, TAP, evolutionary search, or RL-Hammer against Meta-SecAlign-70B to grade the relative performance of the reported AutoInject ASR.\n\n## Methodology and Practicality\nReviewer fEik raised methodological and practical concerns. On the methodological side, the feedback model requires stronger justification: the ablation shows it helps, but the paper does not measure its correlation with true attack success or test robustness to alternative feedback models and judge prompts. More fundamentally, the transfer experiments demonstrate that a fixed suffix can transfer across tasks, not that the learned policy generalizes--utoInject's per-sample optimization makes it closer to instance-level search than a broadly reusable attacker, which weakens the generality claims. On the practical side, the reviewer requests a detailed cost analysis; at 1.5 hours and 260 queries per sample across 949 task pairs, the computational and API costs are substantial and left unaddressed in the main text.\n\nAdditionally, Reviewer eqrz notes the AutoInject uses a fixed template from AgentDojo, followed by optimized suffix, leading to an easy filter for defenders to target (the fixed template). The reviewer notes an ablation without the fixed template/with other automatically generated templates would show generalizability of the approach for practical deployment settings.\n\n# Minor concerns\nWrt clarity, Reviewer fEik notes the paper would difficult to understand for non prompt injection attack/jailbreak experts, and suggests uggest first introducing prompt injection in LLM agents, then explaining how it differs from standard jailbreak attacks such as GCG-style optimization, and then motivating why AutoInject needs a different RL-based formulation.\n\nAdditionally, Reviewer VcZD notes further discussion clarifying why an LLM-informed dense reward is effective for crafting (typically) semantically nonsensical suffixes.",+ "final_justification": "The rebuttal addressed major concerns across all three reviewers. Reviewer fEik raised their score given additional prompt injection attack defense evaluations, InjectAgent/Datasentinel results, detailed cost analysis, and additional clarifications. Additionally, Reviewer eqrz noted that the rebuttal addressed their concerns regarding evaluation of open-source feedback models, while noting some of their concerns remain (e.g., the ablation demonstrating the significance of the hand-crafted template for attack performance, which shows the contributions of GRPO and the feedback model are not as pronounced on their own). Nonetheless, all three reviewers are in favor of the acceptance, and the authors did well to supply significant additional experiments to address/clarify reviewer concerns. I recommend acceptance, with the expectation the manuscript incorporate the additional experiments and rebuttal discussion."},"createdAt": "2026-07-23T05:07:15.129Z",- "modifiedAt": "2026-11-18T15:23:24.978Z",+ "modifiedAt": "2026-11-19T05:02:07.546Z","url": "https://openreview.net/forum?id=TmeVCourtc¬eId=o5n6TAwyEg","license": "CC-BY-4.0"}
reviews/openreview/tmevcourtc/notes/ofrkz7uyx4.json added
+++ b/reviews/openreview/tmevcourtc/notes/ofrkz7uyx4.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "oFRKz7uYx4",+ "replyTo": "imB6jUprSy",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer eqrz",+ "content": {+ "title": "Answer to Rebuttal",+ "comment": "The rebuttal addressed some of my concerns:\n\n1) The open-source feedback model was evaluated.\n\nHowever, other concerns remain:\n\n1) The experiments in Q2 confirmed my initial concern about the over-reliance on the human-crafted fixed template. Without this template, the ASR dropped by \\~40%. It confirms that a simple keyword-matching defense with known attack-templates could easily defend against this method. In this regard, it is not clear how substantial the contribution of the suffix-learning with GRPO and feedback model would be, if most of the attack performance depends on the human-crafted template.\n2) The comparison with the optimization method in AdvPrompter that could replace the need for GRPO and for differentiating through the feedback model would be a meaningful ablation. The optimization in AdvPrompter is a simple loss maximizing the likelihood of the current best suffix, while the suffix generator keeps generating new candidates by random sampling, which could be scored with a feedback model for finding the new best. Methods from Claudini benchmark that do not use gradients and do simply the local search (which could be sampled from the optimized policy model) wrt any given feedback score (not necessarily from logits, but could also use the proposed feedback score from the feedback model) - could also be evaluated as the baselines, e.g.: PRS, RAILS, TAP, etc.\n3) I appreciate that the authors included the analysis of the failure cases. I hope the revised manuscript has also examples of such cases. Regarding the refusal wrt direct attacks being the most frequent failure - the common strategy is to develop the attack (policy or a set of strings) on ensemble of open-source models, which could be controlled wrt the refusals, and to employ a better transfer attack with only few-shot attempts (see e.g. RAILS).\n\nTherefore, I still think the paper is borderline. While the idea of adopting RL and comparison-based feedback model is interesting and potentially useful, its effectiveness is not clearly demonstrated (human-crafted template matters more; the need for RL is not proved - comparison with simpler baselines could be provided; the attacks have limited success on many settings, especially on transfer attacks)."+ },+ "createdAt": "2026-08-02T10:17:18.898Z",+ "modifiedAt": "2026-11-19T17:01:57.084Z",+ "url": "https://openreview.net/forum?id=TmeVCourtc¬eId=oFRKz7uYx4",+ "license": "CC-BY-4.0"+}
reviews/openreview/tmevcourtc/notes/qjsb6gshqn.json added
+++ b/reviews/openreview/tmevcourtc/notes/qjsb6gshqn.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "QjSB6Gshqn",+ "replyTo": "3ePpxPQaAA",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer VcZD",+ "content": {+ "comment": "I thank the authors for their detailed response; the clarifications and experiments have addressed most of my concerns. As I had already assigned a positive score, I will retain my current rating but reflect my improved assessment in the final justification."+ },+ "createdAt": "2026-08-03T05:29:49.448Z",+ "modifiedAt": "2026-11-19T17:01:57.096Z",+ "url": "https://openreview.net/forum?id=TmeVCourtc¬eId=QjSB6Gshqn",+ "license": "CC-BY-4.0"+}