DiscoverLessWrong (30+ Karma)“Recontextualization Mitigates Specification Gaming Without Modifying the Specification” by vgillioz, TurnTrout, cloud, ariana_azarbal
“Recontextualization Mitigates Specification Gaming Without Modifying the Specification” by vgillioz, TurnTrout, cloud, ariana_azarbal

“Recontextualization Mitigates Specification Gaming Without Modifying the Specification” by vgillioz, TurnTrout, cloud, ariana_azarbal

Update: 2025-10-14
Share

Description

Recontextualization distills good behavior into a context which allows bad behavior. More specifically, recontextualization is a modification to RL which generates completions from prompts that discourage misbehavior, appends those completions to prompts that are more tolerant of misbehavior, and finally reinforces the model on the recontextualized instruction-completion data. Due to the data generation and training prompts differing in their attitude towards misbehavior, recontextualization builds resistance to misbehaviors that the training signal mistakenly reinforces.

For example, suppose our reward signal does not robustly penalize deception. Recontextualization generates completions while discouraging deception and then creates training data by updating those completions' prompts to encourage deception. That simple tweak can prevent the model from becoming dishonest!

Related work

We developed recontextualization concurrently with recent work on inoculation prompting. Wichers et al. and Tan et al. find that when fine-tuning on data with an undesirable property, requesting that property in the train-time prompts [...]

---

Outline:

(01:07 ) Related work

(02:23 ) Introduction

(03:36 ) Methodology

(05:56 ) Why recontextualization may be more practical than fixing training signals

(07:22 ) Experiments

(07:25 ) Mitigating general evaluation hacking

(10:04 ) Preventing test case hacking in code generation

(11:48 ) Preventing learned evasion of a lie detector

(15:01 ) Discussion

(15:25 ) Concerns

(17:14 ) Future work

(18:59 ) Conclusion

(19:44 ) Acknowledgments

(20:30 ) Appendix

The original text contained 4 footnotes which were omitted from this narration.

---


First published:

October 14th, 2025



Source:

https://www.lesswrong.com/posts/whkMnqFWKsBm7Gyd7/recontextualization-mitigates-specification-gaming-without


---


Narrated by TYPE III AUDIO.


---

Images from the article:

Mitigating specification gaming requires the training prompt to be more exploit-permissive than the data-generation prompt (upper left triangle). We plot average increase in LLM-judged hack score (0-10) (left). We plot LLM-judged average quality score (0-10) (right). Results averaged over 5 training seeds with SE. Judge prompts in the appendix.
With a neutral data generation prompt, the training prompt must encourage the exploit in order to mitigate hacking. We plot average increase in LLM-judged Hack Score (0-10) over 5 training seeds, with standard error shown.
With Neutral instructions for inference, standard training increases the rate of Hack solutions. Recontextualization without Best-of-N (Best-of-1) improves the model behavior, and can positively interact with training. The results are strongest when generating with No Hack and training with Hack.
Recontextualization mitigates deception and achieves the highest ground truth performance. We evaluate on Neutral instructions for 3 training seeds and plot standard error.__T3A_INLINE_LATEX_PLACEHOLDER___\beta=0.1___T3A_INLINE_LATEX_END_PLACEHOLDER__." style="max-width: 100%;" />
A diagram showing three stages of AI training with different system instructions. Each stage shows a robot icon responding to user queries about business status, with different response behaviors programmed between

Apple Podcasts and Spotify do not show images in the episode description. Try Pocket Casts, or another podcast app.

Comments 
In Channel
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

“Recontextualization Mitigates Specification Gaming Without Modifying the Specification” by vgillioz, TurnTrout, cloud, ariana_azarbal

“Recontextualization Mitigates Specification Gaming Without Modifying the Specification” by vgillioz, TurnTrout, cloud, ariana_azarbal