Mechanistic Interpretability of Reinforcement Learning Agents

Tristan Trim, Triston Grayston
10/30/2024
cs.LG

No confident code implementation found for this paper.

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.

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{trim2024mechanistic,
  title  = {Mechanistic Interpretability of Reinforcement Learning Agents},
  author = {Tristan Trim and Triston Grayston},
  year   = {2024},
  eprint = {2411.00867},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.00867v1}
}

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/2411.00867.svg)](https://codeofpaper.com/paper/2411.00867)

Discussion