Climbing the Hill: Prompt Injection Red-Teaming Against Frontier Models with Curriculum Reinforcement Learning

Chenlong Yin, Xiaolong Jin, Wei Zou, Yanting Wang, Jinyuan JiaarXiv 2026

TL;DR

This paper introduces a curriculum reinforcement learning (RL) approach to red-team frontier LLMs against prompt injection attacks. By training an attacker LLM against a sequence of increasingly robust targets, the authors overcome the "cold-start" problem—where initial attack attempts against highly secure models fail completely, leaving the RL agent with no reward signal to learn from.

What Problem Does This Paper Address?

Prompt injection is a critical security vulnerability where an attacker embeds malicious instructions into external content (like a webpage or tool output) to hijack an LLM agent’s behavior. While reinforcement learning has become the standard for automated "red-teaming" (finding these vulnerabilities), it hits a wall when facing "frontier" models like GPT-5.6 or GPT-6.

These advanced models are so robust that a standard RL-based attacker, starting from scratch, fails every single attempt. In RL terms, this is a cold-start problem caused by absolute reward sparsity: if the attacker never succeeds, it never receives a positive reward signal, and thus never learns how to improve. Existing methods like PISmith and RL-Hammer, which excel at learning from rare successes, fail entirely when the success rate is exactly zero.

Methods

The authors propose a Curriculum Reinforcement Learning framework. Instead of attacking the "final boss" immediately, the attacker LLM (in this case, a Qwen3-4B model) is trained through a sequence of increasingly difficult target models.

The key innovation isn't just the sequence, but the guiding principle for curriculum design: at every stage, the attacker must achieve a non-zero success rate against the next target in the sequence before full RL training begins. This ensures there is always a "learning signal" available.

Figure 1: Training an attacker LLM against a frontier target with curriculum learning. Train- ing directly against a frontier target LLM yields no reward signal and therefore fails. Training against an easier target, such as GPT-4o-mini, provides sufficient reward to train an attacker LLM, but the resulting attacker LLM still fails against a frontier target, yielding no reward signal for further learn- ing. The curriculum we evaluate, GPT-5-nano →GPT-5.6-Luna →GPT-5.6-Terra, chooses each stage such that it prepares the attacker LLM for the next. Table 1 shows the results.

The process follows a "hill-climbing" logic:

  1. Warm-starting: The attacker is first trained against a relatively weak model (e.g., GPT-5-nano).
  2. Stepping Stones: The authors found that jumping directly from a weak model to a frontier model often fails. They introduce intermediate targets (like GPT-5.6-Luna) to bridge the gap to the most robust models (like GPT-5.6-Terra).
  3. RL Algorithm: They utilize PISmith, which uses adaptive entropy regularization to encourage exploration and dynamic advantage weighting to maximize learning from the few successes the attacker manages to find.

Datasets

The study evaluates the method across two major benchmarks for LLM agents:

  • AgentDyn: A benchmark featuring 60 realistic tasks and 560 injection test cases across GitHub, Shopping, and Daily Life domains.
  • AgentDojo: Used to test generalization, this benchmark includes 97 tasks and 629 test cases across Workspace, Banking, Travel, and Slack suites.

Key Insights and Ideas

  • The "Goldilocks" Curriculum: Simply ordering models from weak to strong isn't enough. For example, training on GPT-4o-mini did not prepare the attacker for GPT-5.6-Luna. The intermediate target must be robust enough to force the attacker to learn sophisticated strategies, but not so robust that the attacker gets zero hits.
  • Strategy Evolution: The paper highlights a fascinating shift in attack tactics. Against weak models, attackers use "brute force" overrides (e.g., "CANCEL ALL PREVIOUS INSTRUCTIONS"). Frontier models easily detect and block these. To succeed against frontier models, the curriculum forces the attacker to learn Task Rewriting—subtly integrating the malicious goal as a "necessary first step" in the user's original request.
  • Cross-Target Transferability: Perhaps the most surprising finding is that an attacker trained on one frontier model (GPT-5.6-Terra) generalizes remarkably well to other models it has never seen, including GPT-6-Luna and models with specific defenses like SecOPD. This suggests the curriculum helps the LLM learn general principles of deception rather than just model-specific exploits.

Key Results

The curriculum approach achieved massive gains over state-of-the-art baselines that were stuck at 0% success.

Table 1: Comparison of curriculum-based training against baselines.
  • Frontier Success: Against GPT-5.6-Luna, the curriculum method reached a 93.8% ASR@10 (Attack Success Rate within 10 attempts), while PISmith and RL-Hammer stayed at 0%.
  • Transfer to GPT-6: An attacker trained on GPT-5.6-Terra achieved a 47.3% ASR@10 against the even more advanced GPT-6-Luna without any additional training.
  • Defense Bypassing: The method achieved an 87.1% ASR@10 against Qwen3.6-27B-SecOPD, a model specifically aligned to resist adaptive prompt injections.

Limitations and Future Work

  • Computational Budget: The authors noted that they could not perform RL training against the most expensive model, GPT-5.6-Sol, due to API costs, though they demonstrated that their attacker could still achieve a 7.3% ASR@10 via direct transfer.
  • Black-Box Constraint: The method currently relies on black-box access to target models. Future work could explore if white-box access (access to model weights) could further accelerate the curriculum.
  • Adversarial Training: The authors suggest that these high-strength attackers could be used to improve model safety by serving as the "adversary" in future rounds of adversarial training for frontier LLMs.

Summary updated

BibTeX
@misc{yin2026climbing,
  author = {Chenlong Yin and Xiaolong Jin and Wei Zou and Yanting Wang and Jinyuan Jia},
  title = {{Climbing the Hill: Prompt Injection Red-Teaming Against Frontier Models with Curriculum Reinforcement Learning}},
  year = {2026},
  eprint = {2609.33628},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33628},
}
Figure