Interpretable Concept Bottlenecks to Align Reinforcement Learning Agents

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

Introduction

Deep Reinforcement Learning (RL) has achieved remarkable success in complex environments, yet its decision-making processes remain largely opaque. This "black box" nature often leads to goal misalignment or shortcut learning, where an agent maximizes rewards through unintended strategies that do not reflect the true objective. At NeurIPS 2024, researchers introduced Successive Concept Bottleneck Agents (SCoBots), a novel architecture designed to make RL agents inherently interpretable. By decomposing the policy into human-understandable stages, SCoBots allow researchers to identify and correct flawed reasoning through direct intervention.

The Challenge of Shortcut Learning

Standard deep RL agents are prone to finding the path of least resistance to a reward. A classic example occurs in the game Pong. Because the enemy paddle is programmed to follow the ball, an agent may learn to simply mirror the enemy's position rather than tracking the ball itself. While this strategy succeeds under normal conditions, the agent fails completely if the enemy is hidden or its behavior changes. Traditional explainability tools, such as saliency maps, often fail to highlight these logical shortcuts. SCoBots address this by grounding the agent's reasoning in a structured, relational concept space.

The SCoBot Architecture

The SCoBot framework breaks the policy $\pi$ into three distinct, successive bottlenecks:

  1. Symbolic Abstraction: Raw pixel data is processed through an object extractor (such as OCAtari) to identify discrete objects and their properties (e.g., the coordinates of the ball and the player).
  2. Relational Abstraction: These properties are fed into predefined functions to compute relations, such as the vertical distance between the player and the ball or the relative speed of an object. This stage is critical; while neural networks can compute these relations implicitly, simpler interpretable models require them to be explicitly defined.
  3. Interpretable Action Selection: Instead of a high-dimensional neural network, the final policy is a small ReLU-based network that is distilled into a Decision Tree using the VIPER algorithm. This transforms the agent's decision-making into a series of logical "if-then" statements.

Human-in-the-Loop Alignment

A key advantage of the SCoBot architecture is its capacity for human intervention. Because the bottlenecks are based on human-understandable concepts, an expert can interact with the agent in two primary ways:

  • Concept Pruning: If an agent is found to be using a shortcut (e.g., relying on the enemy's position in Pong), the expert can "prune" that specific concept, forcing the agent to learn a more robust strategy based on the ball.
  • Expert Rewards: In environments with sparse rewards, such as Kangaroo, experts can provide guidance by injecting rewards based on specific concepts (e.g., rewarding the agent for decreasing the distance to the goal).

Experimental Evaluation

The researchers evaluated SCoBots across nine Atari games and modified "HackAtari" environments designed to test robustness.

Key Findings

  • Competitive Performance: SCoBots performed on par with or better than standard Proximal Policy Optimization (PPO) agents in 5 out of 9 games. This demonstrates that interpretability does not necessarily require a sacrifice in performance.
  • Training Efficiency: On average, SCoBots trained faster than deep RL agents (7.5 hours vs. 10.8 hours). The structured concept space likely provides a more efficient search area for the policy than raw pixel space.
  • Robustness to Noise: The agents maintained their effectiveness even when object detectors were simulated to have a 5% misdetection rate, suggesting the framework is resilient to imperfect vision systems.
  • Successful Realignment: In Kangaroo, where agents often prioritize punching enemies over the actual goal, concept-based rewards successfully redirected the agent to complete the task. In Pong, pruning the "enemy" concept successfully eliminated shortcut learning.

Limitations and Future Directions

While SCoBots represent a significant step toward interpretable RL, several challenges remain. The current implementation relies on object extractors that access game RAM; transitioning to real-world applications will require robust, vision-based object detection. Additionally, as the number of objects in a scene increases, the training time for unguided SCoBots can rise significantly. Future research may explore attention mechanisms to help the agent focus on the most relevant objects and extend the framework to non-object-centric tasks where "concepts" are less clearly defined.

Conclusion

SCoBots provide a transparent window into the logic of RL agents, moving beyond post-hoc explanations toward inherent interpretability. By allowing humans to audit and refine the concepts an agent uses, this framework offers a promising path toward building RL systems that are not only high-performing but also safely aligned with human intentions.

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