atlas

Research map / Probabilistic and scientific modeling / Molecules and proteins

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

AAAI 2025 · Probabilistic and scientific modeling › Molecules and proteins · approach: Sparse concepts and hypothesis testing · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ReX, a framework that adds temporal predicates and length-varying perturbations to local model-agnostic explainers (Anchors, LIME, Kernel SHAP) so they capture position effects in variable-length sequence models.

Problem

Local model-agnostic explanation techniques ignore temporal information, so their explanations have low fidelity for models that process variable-length sequential inputs such as RNNs, transformers, and LLMs.

Approach

Keep the core algorithms of existing local explainers but extend their predicate set with 1-D (absolute position) and 2-D (relative position) temporal predicates, and extend the perturbation model with feature deletion and swapping so samples of different lengths are generated.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add ReX temporal predicates and variable-length sampling to AnchorsAnchors · Sentiment analysis and anomaly detectioncoverage: average coverage by 218.7%Helped
Add ReX temporal predicates and variable-length sampling to LIMELIME · Sentiment analysis and anomaly detectionexplanation accuracy: 26.6%Helped
Add ReX temporal predicates and variable-length sampling to Kernel SHAPKernel SHAP · Sentiment analysis and anomaly detectionexplanation accuracy: 26.6% and 26.3%Helped
Add ReX temporal predicates and variable-length sampling to LIMELIME · Text generation, Llama 2MSE: decreases the average MSE by 0.133Helped
Add ReX temporal predicates and variable-length sampling to Kernel SHAPKernel SHAP · Text generation, Llama 2MSE: decreases the average MSE by 0.041Helped
Add both 1-D and 2-D temporal predicates (ablation)LIME · Sentiment analysisexplanation fidelityHelped
Limit temporal-predicate window to w=5 instead of w=∞ (ablation)ReX-augmented LIME · Sentiment analysis, LSTM; BERT; T5; GPT-2accuracy (%): 73.93 -> 75.09; 69.45 -> 68.20; 87.74 -> 86.99; 68.66 -> 69.03Mixed
Limit temporal-predicate window to w=5 instead of w=∞ (ablation)ReX-augmented LIME · Sentiment analysis, LSTM; BERT; T5; GPT-2AUROC: 0.893 -> 0.887; 0.929 -> 0.927; 0.926 -> 0.924; 0.726 -> 0.759Mixed
Limit temporal-predicate window to w=5 instead of w=∞ (ablation)ReX-augmented LIME · Sentiment analysis, LSTM; BERT; T5; GPT-2execution time (seconds): 24.52 -> 3.98; 23.42 -> 5.04; 27.13 -> 7.41; 28.39 -> 8.27Helped
Use ReX without 1-D temporal predicates (ablation)LIME · Sentiment analysisexplanation fidelityHurt
Use ReX without 2-D temporal predicates (ablation)LIME · Sentiment analysisexplanation fidelityHurt

Surprising findings

Limitations

Experimental setup

Datasets: Stanford Sentiment Treebank ECG dataset Google Natural Questions

Benchmarks: Stanford Sentiment Treebank ECG anomaly detection Google Natural Questions

Metrics: precision coverage accuracy AUROC MSE execution time user study precision_u and coverage_u

Baselines: Anchors LIME Kernel SHAP DecompX C-LIME L-SHAP

Builds on: Anchors LIME Kernel SHAP MExGen

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy