Table of Contents
Fetching ...

Mechanistic Interpretability of Reinforcement Learning Agents

Tristan Trim, Triston Grayston

TL;DR

This paper explores the mechanistic interpretability of reinforcement learning (RL) agents through an analysis of a neural network trained on procedural maze environments, and identifies fundamental features like maze walls and pathways, forming the basis of the model's decision-making process.

Abstract

This paper explores the mechanistic interpretability of reinforcement learning (RL) agents through an analysis of a neural network trained on procedural maze environments. By dissecting the network's inner workings, we identified fundamental features like maze walls and pathways, forming the basis of the model's decision-making process. A significant observation was the goal misgeneralization, where the RL agent developed biases towards certain navigation strategies, such as consistently moving towards the top right corner, even in the absence of explicit goals. Using techniques like saliency mapping and feature mapping, we visualized these biases. We furthered this exploration with the development of novel tools for interactively exploring layer activations.

Mechanistic Interpretability of Reinforcement Learning Agents

TL;DR

This paper explores the mechanistic interpretability of reinforcement learning (RL) agents through an analysis of a neural network trained on procedural maze environments, and identifies fundamental features like maze walls and pathways, forming the basis of the model's decision-making process.

Abstract

This paper explores the mechanistic interpretability of reinforcement learning (RL) agents through an analysis of a neural network trained on procedural maze environments. By dissecting the network's inner workings, we identified fundamental features like maze walls and pathways, forming the basis of the model's decision-making process. A significant observation was the goal misgeneralization, where the RL agent developed biases towards certain navigation strategies, such as consistently moving towards the top right corner, even in the absence of explicit goals. Using techniques like saliency mapping and feature mapping, we visualized these biases. We furthered this exploration with the development of novel tools for interactively exploring layer activations.

Paper Structure

This paper contains 14 sections, 18 figures.

Figures (18)

  • Figure 1: Goal Misgeneralization Pic from goal misgen. Red is agent, green is the goal
  • Figure 2: Mazes
  • Figure 3: First Convolutional Layer Activations. Green = Higher Activations.
  • Figure 4: Feature Maps Identifying Region Around Cheese
  • Figure 5: Interactive Maze Plotter. (Yellow is cheese, black is mouse)
  • ...and 13 more figures