ReX: A Framework for Incorporating Temporal Information in Model-Agnostic Local Explanation Techniques
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Multi-Level Explanations for Generative Language Models cites GLIME: General, Stable and Local LIME Explanation
- Multi-Level Explanations for Generative Language Models cites Generating Hierarchical Explanations on Text Classification via Feature Interaction Detection
- Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Models cites Multi-Level Explanations for Generative Language Models
- Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Models cites MAnchors: Memorization-Based Acceleration of Anchors via Rule Reuse and Transformation
- Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Models cites Improving Deep Learning Interpretability by Saliency Guided Training
Cited by top-tier papers2
- MAnchors: Memorization-Based Acceleration of Anchors via Rule Reuse and TransformationHaonan Yu, Junhao Liu, Xin ZhangICML 2026 · 2 citations
- Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy ModelsJunhao Liu, Haonan Yu, Zhenyu Yan, Xin ZhangACL 2026 · 2 citations
Builds on8
- Improving Deep Learning Interpretability by Saliency Guided TrainingAya Abdelsalam Ismail, Héctor Corrada Bravo, Soheil FeiziNeurIPS 2021 · 121 citations
- Generating Hierarchical Explanations on Text Classification via Feature Interaction DetectionHanjie Chen, Guangtao Zheng, Yangfeng JiACL 2020 · 85 citations
- GLIME: General, Stable and Local LIME ExplanationZeren Tan, Yang Tian, Jian LiNeurIPS 2023 · 56 citations
- Measuring the Mixing of Contextual Information in the TransformerJavier Ferrando, Gerard I. Gállego, Marta R. Costa-jussàEMNLP 2022 · 18 citations
- Multi-Level Explanations for Generative Language ModelsLucas Monteiro Paes, Dennis Wei, Hyo Jin Do, Hendrik Strobelt et al.ACL 2025 · 16 citations
Related papers
- Sparse and Faithful Local Explanations with Piecewise Linear SurrogatesYixin Wang, Yucheng DongICML 2026
- Minimizing False-Positive Attributions in Explanations of Non-Linear ModelsAnders Gjølbye, Stefan Haufe, Lars Kai HansenNeurIPS 2025 · 3 citations
- Shahin: Faster Algorithms for Generating Explanations for Multiple PredictionsSona Hasani, Saravanan Thirumuruganathan, Nick Koudas, Gautam DasSIGMOD 2021 · 1 citation
- MaNtLE: Model-agnostic Natural Language ExplainerRakesh R. Menon, Kerem Zaman, Shashank SrivastavaEMNLP 2023 · 1 citation
- Locally Invariant Explanations: Towards Stable and Unidirectional Explanations through Local Invariant LearningAmit Dhurandhar, Karthikeyan Natesan Ramamurthy, Kartik Ahuja, Vijay AryaNeurIPS 2023 · 7 citations
