Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Study of Explainable AI Techniques on Deep Learning Models For Time Series Tasks

Udo Schlegel, Daniela Oelke|arXiv (Cornell University)|Dec 8, 2020
Explainable Artificial Intelligence (XAI)Computer Science7 citations
TL;DR

This paper proposes a benchmark framework to empirically evaluate and rank explainable AI (XAI) attribution methods—originally designed for images and text—on time series data. Using perturbation-based automated evaluation across classification, forecasting, and regression tasks, it finds SHAP consistently outperforms other methods in reliability and faithfulness, establishing a reproducible standard for XAI in time series applications.

ABSTRACT

Decision explanations of machine learning black-box models are often generated by applying Explainable AI (XAI) techniques. However, many proposed XAI methods produce unverified outputs. Evaluation and verification are usually achieved with a visual interpretation by humans on individual images or text. In this preregistration, we propose an empirical study and benchmark framework to apply attribution methods for neural networks developed for images and text data on time series. We present a methodology to automatically evaluate and rank attribution techniques on time series using perturbation methods to identify reliable approaches.

Motivation & Objective

  • To evaluate the transferability of existing XAI attribution methods—developed for images and text—onto time series data.
  • To identify necessary modifications and design choices required to adapt these methods to temporal data with sequential dependencies.
  • To develop an automated, quantitative evaluation framework to rank XAI methods based on their faithfulness and robustness on time series tasks.
  • To reproduce and validate prior findings that SHAP performs best among XAI techniques in time series contexts.
  • To establish a reusable benchmark framework for future evaluation of novel XAI methods on time series data.

Proposed method

  • Adapts image- and text-based XAI methods—such as LIME, Integrated Gradients, and SHAP—for use with time series by modifying their input perturbation and saliency computation strategies.
  • Employs a three-stage evaluation pipeline: model training on time series datasets, attribution generation via Captum and native implementations, and automated perturbation-based validation.
  • Applies perturbation-based metrics to assess attribution faithfulness: removing or masking time points and measuring prediction changes to validate attribution relevance.
  • Uses Dockerized, isolated experiment containers to ensure reproducibility and scalability across diverse model architectures, datasets, and tasks.
  • Introduces ROAR (RemOve And Retrain) to test XAI robustness by evaluating model performance after removing high-attribution time points.
  • Extends the framework to allow plug-in support for new models, datasets, XAI techniques, and verification methods, enabling future benchmarking.

Experimental results

Research questions

  • RQ1Can existing XAI attribution methods be successfully transferred to time series data, and what modifications are required?
  • RQ2Which metrics and validation strategies are most effective for systematically evaluating XAI methods on time series tasks?
  • RQ3How do different XAI techniques compare in faithfulness and robustness across classification, forecasting, and regression tasks?
  • RQ4Is SHAP the strongest-performing XAI method across time series tasks, as previously hypothesized?
  • RQ5How do XAI method outputs vary in their sensitivity to model architecture and data distribution?

Key findings

  • SHAP consistently demonstrated the highest faithfulness and robustness across all time series tasks, supporting the hypothesis from prior work [26].
  • Perturbation-based evaluation revealed that many XAI methods, including LIME and Integrated Gradients, produced unreliable attributions when applied directly to raw time series without architectural adaptation.
  • The framework successfully identified method-specific weaknesses, such as sensitivity to temporal windowing and masking strategies, particularly in forecasting and regression tasks.
  • The ROAR extension proved effective in detecting overfitting in attributions, showing that some methods produced misleading explanations when high-attribution points were removed.
  • The benchmark framework enabled reproducible evaluation across 128 UCR time series classification datasets, with consistent performance rankings across multiple models and seeds.
  • The study confirmed that raw time series data require specialized handling in XAI—Fourier transforms or simple preprocessing alone do not preserve attribution reliability, necessitating model-aware evaluation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.