Prompt Optimization Makes Reward Hacking Legible

Caleb Biddulph, Micah Carroll
11/25/2026
cs.AI
rl

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) trained with reinforcement learning (RL) often exhibit reward hacking, exploiting unintended loopholes in reward functions in ways that can be difficult to detect and eliminate. We propose using prompt optimization -- methods which increase an LLM's reward by updating its instructions rather than its weights -- to make learned strategies easier to monitor and edit.

Show full abstract

Applying the GEPA prompt optimizer to environments with exploitable reward functions, we find that optimized system prompts describe reward hacking strategies in highly interpretable language. Furthermore, by simply removing descriptions of unwanted behavior from the optimized system prompt at test time, we can improve the model's alignment while preserving legitimate performance gains. We show that prompt optimization can be guided with an RL-trained teacher LLM, combining the performance advantages of RL with the interpretability of prompting. Finally, we explore an approach to shorten optimized prompts, removing distracting and unhelpful instructions which would otherwise hinder interpretability. We hope that these insights about mitigating misalignment with prompt optimization will aid the discovery of unintended exploits in RL environments and the creation of predictable and monitorable AI systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{biddulph2026prompt,
  title  = {Prompt Optimization Makes Reward Hacking Legible},
  author = {Caleb Biddulph and Micah Carroll},
  year   = {2026},
  eprint = {2611.35282},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35282v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35282.svg)](https://codeofpaper.com/paper/2611.35282)

Discussion