ReX: A Framework for Incorporating Temporal Information in Model-Agnostic Local Explanation Techniques

Authors

  • Junhao Liu Key Lab of High Confidence Software Technologies (Peking University), Ministry of Education, Beijing, China School of Computer Science, Peking University, Beijing, China
  • Xin Zhang Key Lab of High Confidence Software Technologies (Peking University), Ministry of Education, Beijing, China School of Computer Science, Peking University, Beijing, China

DOI:

https://doi.org/10.1609/aaai.v39i18.34079

Abstract

Existing local model-agnostic explanation techniques are ineffective for machine learning models that consider inputs of variable lengths, as they do not consider temporal information embedded in these models. To address this limitation, we propose ReX, a general framework for incorporating temporal information in these techniques. Our key insight is that these techniques typically learn a model surrogate by sampling model inputs and outputs, and we can incorporate temporal information in a uniform way by only changing the sampling process and the surrogate features. We instantiate our approach on three popular explanation techniques: Anchors, LIME, and Kernel SHAP. To evaluate the effectiveness of ReX, we apply our approach to six models in three different tasks. Our evaluation results demonstrate that our approach 1) significantly improves the fidelity of explanations, making model-agnostic techniques outperform a state-of-the-art model-specific technique on its target model, and 2) helps end users better understand the models' behaviors.

Downloads

Published

2025-04-11

How to Cite

Liu, J., & Zhang, X. (2025). ReX: A Framework for Incorporating Temporal Information in Model-Agnostic Local Explanation Techniques. Proceedings of the AAAI Conference on Artificial Intelligence, 39(18), 18888-18896. https://doi.org/10.1609/aaai.v39i18.34079

Issue

Section

AAAI Technical Track on Machine Learning IV