Reproduce “Agentic Reinforcement Learning for Search Misaligns Instruction-Tuning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yushi Yang, Shreyansh Padarha, Sarah Ball, Andrew Lee, Adam Mahdi

Researchers from the University of Oxford and collaborators found that agentic reinforcement learning for search can significantly degrade the safety alignment of instruction-tuned large language models, particularly under targeted search attacks. They provided a mechanistic explanation for this degradation, showing RL training shifts internal model representations toward harmful search behaviors, and developed an efficient, representation-guided RL mitigation that restores safety without sacrificing utility.

Key insights

  • Agentic RL training, while enhancing task performance, can unintentionally undermine established safety alignment from instruction tuning, making models vulnerable to specific search-triggering attacks.
  • The observed safety degradation is mechanistically linked to RL training shifting internal model representations of search queries toward identified harmful directions already present in IT models.
  • Internal model representations can be effectively leveraged as a scalable and computationally efficient reward signal to guide RL training and restore safety without requiring additional harmful data.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.