Interpretable Concept Bottlenecks to Align Reinforcement Learning Agents

Quentin Delfosse, Sebastian Sztwiertnia, Mark Rothermel, Wolfgang Stammer, Kristian Kersting

TL;DR

Successive Concept Bottleneck Agents (SCoBots) bring transparency to Reinforcement Learning (RL) by decomposing black-box policies into human-understandable object and relational concepts. This architecture allows researchers to identify and fix "shortcut learning"—such as a Pong agent that tracks its opponent instead of the ball—resulting in agents that are both high-performing and truly aligned with human goals.

What Problem Does This Paper Address?

Deep Reinforcement Learning (RL) has achieved remarkable success, but its "black-box" nature remains a significant hurdle for real-world deployment. Agents often suffer from goal misalignment, where they optimize for a "side-goal" that correlates with the target during training but fails at test time. For example, an agent might learn to navigate a maze by memorizing textures rather than understanding geometry.

Because standard deep RL models map raw pixels directly to actions through millions of opaque parameters, it is nearly impossible for a human expert to inspect why an agent is behaving a certain way or to correct suboptimal logic without retraining the entire system from scratch. The authors aim to bridge this gap by creating agents that "think" in terms of concepts we can understand.

Methods

The authors introduce Successive Concept Bottleneck Agents (SCoBots). Unlike standard Concept Bottleneck Models (CBMs) that typically focus on static image classification, SCoBots are designed for the dynamic, relational nature of RL.

The architecture follows a multi-stage pipeline:

  1. Symbolic Abstraction: A pre-trained object extractor identifies objects and their basic properties (e.g., position, color, velocity) from raw frames.
  2. Relational Abstraction: A second bottleneck layer applies human-understandable functions to these objects to derive relations, such as the distance between the player and a goal or the relative speed of a projectile.
  3. Interpretable Decision Rules: The final policy is distilled into a decision tree (using the VIPER algorithm). This makes the agent's logic readable as a series of "if-then" statements based on the extracted concepts.
Figure 2: An overview of Successive Concept Bottlenecks Agents (SCoBots). SCoBots decompose the policy into consecutive interpretable concept bottlenecks (ICB). Objects and their properties are first extracted from the raw input, human-understandable functions are then employed to derive relational concepts, used to select an action. The understandable concepts enable interactivity. Each bottleneck allows expert users to, e.g., prune or utilize concepts to define additional reward signals.

Crucially, this structure allows for human-in-the-loop intervention. Experts can "prune" irrelevant concepts (e.g., telling the agent to ignore background colors) or add "expert rewards" based on specific relational concepts to guide the agent through difficult tasks.

Datasets

The researchers evaluated SCoBots on 9 games from the Atari Learning Environment (ALE), a standard benchmark for RL. To specifically test for misalignment and robustness, they also used HackAtari, a modified version of these environments where they could hide enemies or change their behavior (e.g., "NoEnemy" and "LazyEnemy" modes in Pong).

Key Insights and Ideas

  • The Pong "Shortcut": One of the most striking findings was a previously unknown misalignment in Pong. The authors discovered that standard deep RL agents don't actually track the ball; they track the enemy paddle. Because the enemy AI is programmed to follow the ball, its position is a perfect proxy. However, when the enemy is hidden, these "expert" agents fail completely.
  • Relational Reasoning is Essential: Standard CBMs often fail in RL because knowing what an object is isn't enough. SCoBots prove that explicitly modeling relations (like "distance to ball") is the key to making concept-based RL competitive with deep neural networks.
  • Steerability via Pruning: By simply pruning the "enemy position" concept from the SCoBot's available information, the authors forced the agent to learn a robust policy based purely on the ball's movement. This "aligned" agent maintained high performance even when the enemy was invisible.

Key Results

  • Competitive Performance: SCoBots performed on par with or better than standard deep RL agents (using CNNs) on 5 out of 9 Atari games, including Asterix, Boxing, and Kangaroo.
  • Solving Ill-Defined Rewards: In the game Kangaroo, standard agents often "farm" points by punching monkeys on the bottom floor instead of rescuing the joey at the top. By adding a simple expert reward based on the "distance to joey" concept, SCoBots were the only agents to consistently complete the level.
  • Efficiency: SCoBots were often faster to train, requiring an average of 7.5 hours compared to 10.8 hours for deep agents, likely because the concept bottleneck constrains the search space to meaningful features.
Performance comparison across various Atari games, showing SCoBots (blue) performing competitively with deep RL agents (orange).

Limitations and Future Work

The current implementation of SCoBots relies on a pre-defined set of relational functions and a quasi-perfect object extractor (OCAtari). While the authors showed SCoBots can handle some noise in object detection, a truly end-to-end system that learns its own object extractors remains a challenge.

Future work could involve using Large Language Models (LLMs) to automatically generate relational functions from game manuals, further reducing the manual effort required by domain experts to set up the bottleneck layers. Additionally, scaling SCoBots to environments with hundreds of objects will require more efficient, perhaps attention-based, relational processing.

Summary updated

BibTeX
@inproceedings{delfosse2024interpretable,
  author = {Quentin Delfosse and Sebastian Sztwiertnia and Mark Rothermel and Wolfgang Stammer and Kristian Kersting},
  title = {{Interpretable Concept Bottlenecks to Align Reinforcement Learning Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ZC0PSk6Mc6},
}
Figure