Explainable Reinforcement Learning via Temporal Policy Decomposition

Franco Ruggeri, Alessio Russo, Rafia Inam, Karl Henrik Johansson
1/7/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

We investigate the explainability of Reinforcement Learning (RL) policies from a temporal perspective, focusing on the sequence of future outcomes associated with individual actions. In RL, value functions compress information about rewards collected across multiple trajectories and over an infinite horizon, allowing a compact form of knowledge representation. However, this compression obscures the temporal details inherent in sequential decision-making, presenting a key challenge for interpretability. We present Temporal Policy Decomposition (TPD), a novel explainability approach that explains individual RL actions in terms of their Expected Future Outcome (EFO). These explanations decompose generalized value functions into a sequence of EFOs, one for each time step up to a prediction horizon of interest, revealing insights into when specific outcomes are expected to occur. We leverage fixed-horizon temporal difference learning to devise an off-policy method for learning EFOs for both optimal and suboptimal actions, enabling contrastive explanations consisting of EFOs for different state-action pairs. Our experiments demonstrate that TPD generates accurate explanations that (i) clarify the policy's future strategy and anticipated trajectory for a given action and (ii) improve understanding of the reward composition, facilitating fine-tuning of the reward function to align with human expectations.

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{ruggeri2025explainable,
  title  = {Explainable Reinforcement Learning via Temporal Policy Decomposition},
  author = {Franco Ruggeri and Alessio Russo and Rafia Inam and Karl Henrik Johansson},
  year   = {2025},
  eprint = {2501.03902},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.03902v1}
}

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

Discussion