atlas

Research map / Time series / Foundation models for time series

ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification Models

NeurIPS 2025 · Time series › Foundation models for time series · approach: Time series classification · 0 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 ShapeX, which segments time series into shapelet-driven segments via a learned Shapelet Describe-and-Detect module and attributes them with Shapley values, yielding more accurate and causally framed post-hoc time series explanations.

Problem

Post-hoc explanation of time series classifiers typically assigns importance per timestep, ignoring that classification is driven by key subsequences (shapelets), so explanations are fragmented and less faithful.

Approach

Learn a compact, diverse set of discriminative shapelets with a descriptor-detector layer and composite loss (classification, matching, diversity), use their activation maps to cut the input into shapelet-aligned segments, perturb them with linear interpolation baselines, and compute Shapley values over these segments; the paper argues the Shapley value equals a model-level CATE.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use shapelet-driven ShapeX instead of the strongest baselinetime-series explanations with Transformer classifier · MCC-E, MCC-H, MTC-E, MTC-H, and ECGAUPRC: MCC-E: 0.4762 -> 0.6407; MCC-H: 0.6393 -> 0.8113; MTC-E: 0.3569 -> 0.6100; MTC-H: 0.3903 -> 0.6792; ECG: 0.6599 -> 0.722Helped
use ShapeX instead of the strongest baselinetime-series explanations with Transformer classifier · MCC-E, MCC-H, MTC-E, MTC-H, ECGAUP: MCC-E: 0.5238 -> 0.5614; MCC-H: 0.6668 -> 0.6838; MTC-E: 0.6301 -> 0.3962; MTC-H: 0.8996 -> 0.4255; ECG: 0.7260 -> 0.839Mixed
use ShapeX instead of the strongest baselinetime-series explanations with Transformer classifier · MCC-E, MCC-H, MTC-E, MTC-H, ECGAUR: MCC-E: 0.6313 -> 0.3679; MCC-H: 0.7210 -> 0.7431; MTC-E: 0.5402 -> 0.5472; MTC-H: 0.5430 -> 0.9019; ECG: 0.4595 -> 0.696Mixed
add matching loss (ablation)ShapeX · ECGAUPRC: 0.2398 -> 0.7225Helped
add diversity loss (ablation)ShapeX · ECGAUPRC: 0.3671 -> 0.7225Helped
add shapelet encoder (ablation)ShapeX · ECGAUPRC: 0.2073 -> 0.7225Helped
use linear rather than zero-mask perturbation (ablation)ShapeX · ECGAUPRC: 0.7085 -> 0.7225Helped
aggregate saliency by shapelet-driven segments (ablation)ShapeX · ECGAUR: 0.3847 -> 0.6958Helped
use SDD rather than ShapeFormer for shapelet learning (ablation)ShapeX · ECGAUPRC: 0.4723 -> 0.7228Helped
replace shapelet-driven perturbation with equally spaced segments (ablation)ShapeX · two real-world datasetsAUROCHurt

Surprising findings

Limitations

Experimental setup

Datasets: MCC-E MCC-H MTC-E MTC-H ECG UCR Archive

Benchmarks: MCC-E MCC-H MTC-E MTC-H ECG UCR Archive (112-114 datasets)

Metrics: AUPRC AUP AUR AUROC

Baselines: TimeX++ TimeX Dynamask CoRTX Integrated Gradients WinIT MILLET ShapeFormer

Builds on: ShapeFormer TimeX++ Describe-and-Detect Integrated Gradients

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