Inducing, Detecting and Characterising Neural Modules: A Pipeline for Functional Interpretability in Reinforcement Learning

Anna Soligo, Pietro Ferraro, David Boyle
1/28/2025
cs.LGcs.AI

No official code found. Best implementation: annasoligo/BIXRL (0 stars, last commit 2025-08-01).

Abstract

Interpretability is crucial for ensuring RL systems align with human values. However, it remains challenging to achieve in complex decision making domains. Existing methods frequently attempt interpretability at the level of fundamental model units, such as neurons or decision nodes: an approach which scales poorly to large models. Here, we instead propose an approach to interpretability at the level of functional modularity. We show how encouraging sparsity and locality in network weights leads to the emergence of functional modules in RL policy networks. To detect these modules, we develop an extended Louvain algorithm which uses a novel `correlation alignment' metric to overcome the limitations of standard network analysis techniques when applied to neural network architectures. Applying these methods to 2D and 3D MiniGrid environments reveals the consistent emergence of distinct navigational modules for different axes, and we further demonstrate how these functions can be validated through direct interventions on network weights prior to inference.

View on arXivView PDF

Code Implementations(1)

annasoligo/BIXRLCommunity69%

The code for "Inducing, Detecting and Characterising Neural Modules: A Pipeline for Functional Interpretability in Reinforcement Learning"

00HTML, PythonFeb 11, 20251 years ago

Similar Papers

Cite this paper

@article{soligo2025inducing,
  title  = {Inducing, Detecting and Characterising Neural Modules: A Pipeline for Functional Interpretability in Reinforcement Learning},
  author = {Anna Soligo and Pietro Ferraro and David Boyle},
  year   = {2025},
  eprint = {2501.17077},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.17077v2},
  journal = {ICML 2025 2025}
}

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

Discussion