'Explaining RL Decisions with Trajectories': A Reproducibility Study

Karim Abdel Sadek, Matteo Nulli, Joan Velja, Jort Vincenti
11/11/2024
cs.AI

No official code found. Best implementation: karim-abdel/Explaining-RL-Decisions-with-Trajectories (3 stars, last commit 2024-05-22).

Abstract

This work investigates the reproducibility of the paper 'Explaining RL decisions with trajectories'. The original paper introduces a novel approach in explainable reinforcement learning based on the attribution decisions of an agent to specific clusters of trajectories encountered during training. We verify the main claims from the paper, which state that (i) training on less trajectories induces a lower initial state value, (ii) trajectories in a cluster present similar high-level patterns, (iii) distant trajectories influence the decision of an agent, and (iv) humans correctly identify the attributed trajectories to the decision of the agent. We recover the environments used by the authors based on the partial original code they provided for one of the environments (Grid-World), and implemented the remaining from scratch (Seaquest, HalfCheetah, Breakout and Q*Bert). While we confirm that (i), (ii), and (iii) partially hold, we extend on the largely qualitative experiments from the authors by introducing a quantitative metric to further support (iii), and new experiments and visual results for (i). Moreover, we investigate the use of different clustering algorithms and encoder architectures to further support (ii). We could not support (iv), given the limited extent of the original experiments. We conclude that, while some of the claims can be supported, further investigations and experiments could be of interest. We recognise the novelty of the work from the authors and hope that our work paves the way for clearer and more transparent approaches.

View on arXivView PDF

Code Implementations(1)

31Python, Jupyter NotebookDec 29, 20232 years ago

Similar Papers

Cite this paper

@article{sadek2024explaining,
  title  = {'Explaining RL Decisions with Trajectories': A Reproducibility Study},
  author = {Karim Abdel Sadek and Matteo Nulli and Joan Velja and Jort Vincenti},
  year   = {2024},
  eprint = {2411.07200},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07200v1}
}

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

Discussion