Home

Awesome

EDGE: Strategy-level explanation of DRL agents.

Introduction

This repository contains the code of EDGE, a DRL policy explanation method. Before using this code package, please install the required dependency in the requirements.txt. Paper citation:

@inproceedings{guo2021edge,
    title = {EDGE: Explaining Deep Reinforcement Learning Policies},
    author = {Guo, Wenbo and Wu, Xian and Khan, Usmann and Xing, Xinyu},
    booktitle = {Proc. of NeurIPS},
    year = {2021}
}

Code structure

The proposed explanation model and the four baselines are in explainer.

Key parameters (the instruction of most parameters can be found in the inline comments):

Key parameters for each explainer:

The pong contains the explanation pipeline, pretrained agents, and the explanation results (approximation model and time step importance). pong.py has the explanation pipline.

Usage - Explanation workflow