Understanding and Controlling a Maze-Solving Policy Network
Ulisse Mini, Peli Grietzer, Mrinank Sharma, Austin Meek, Monte MacDiarmid, Alexander Matt Turner
TL;DR
This study probes a pretrained maze-solving policy to uncover how it represents and selects goals, revealing multiple context-dependent objectives and identifying eleven cheese-tracking channels that encode the goal location. Through behavioral statistics and mechanistic analysis, the authors show these goals are represented redundantly and distributed across mid-network activations, enabling activation-engineering interventions. They demonstrate two non-training-based control methods: hand-editing cheese-tracking activations to retarget the policy and combining forward-pass steering vectors to bias behavior, both without retraining. The work advances understanding of goal-direction in policy networks and demonstrates practical avenues for influencing agent behavior via activation-level interventions, with implications for safety and interpretability in AI systems.
Abstract
To understand the goals and goal representations of AI systems, we carefully study a pretrained reinforcement learning policy that solves mazes by navigating to a range of target squares. We find this network pursues multiple context-dependent goals, and we further identify circuits within the network that correspond to one of these goals. In particular, we identified eleven channels that track the location of the goal. By modifying these channels, either with hand-designed interventions or by combining forward passes, we can partially control the policy. We show that this network contains redundant, distributed, and retargetable goal representations, shedding light on the nature of goal-direction in trained policy networks.
