ERCI: An Explainable Experience Replay Approach with Causal Inference for Deep Reinforcement Learning

Abstract

Deep reinforcement learning (DRL) has gained significant attention in autonomous systems, yet its black-box nature and lack of explainability hinder user trust in safety-critical domains such as autonomous driving. Existing experience replay approaches enhance sample efficiency but often fail to capture the internal causality of training data, leading to a convoluted training process that is difficult for humans to explain. In this work, we introduce Experience Replay with Causal Inference (ERCI), an explainable approach that integrates time series representation and causal inference to offer human-aligned explanations for DRL. Specifically, ERCI 1) introduces a novel multivariate time series representation to extract explainable Time Series Causal Factors (TSCF) from experimental data and 2) leverages internal causality in TSCFs with causal inference as a crucial standard for experience replay in DRL training. We evaluate ERCI using multiple baseline algorithms across diverse environments. Results show that ERCI provides human-aligned explanations and further improves sample efficiency through enhanced explainability. Notably, ERCI outperforms other state-of-the-art approaches by 15% in average performance, highlighting its effectiveness and generalizability.

Cite

Text

Wang et al. "ERCI: An Explainable Experience Replay Approach with Causal Inference for Deep Reinforcement Learning." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I26.34981

Markdown

[Wang et al. "ERCI: An Explainable Experience Replay Approach with Causal Inference for Deep Reinforcement Learning." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/wang2025aaai-erci/) doi:10.1609/AAAI.V39I26.34981

BibTeX

@inproceedings{wang2025aaai-erci,
  title     = {{ERCI: An Explainable Experience Replay Approach with Causal Inference for Deep Reinforcement Learning}},
  author    = {Wang, Jingwen and Du, Dehui and Tian, Lili and Chen, Yikang and Li, Yida and Li, Yiyang},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {27671-27679},
  doi       = {10.1609/AAAI.V39I26.34981},
  url       = {https://mlanthology.org/aaai/2025/wang2025aaai-erci/}
}