cs.LGMar 6, 2026

xaitimesynth: A Python Package for Evaluating Attribution Methods for Time Series with Synthetic Ground Truth

Authors: Gregor Baer

Organizations: Information Systems, Industrial Engineering & Innovation Sciences Eindhoven University of Technology Eindhoven, The Netherlands

Abstract

Evaluating time series attribution methods is difficult because real-world datasets rarely provide ground truth for which time points drive a prediction. A common workaround is to generate synthetic data where class-discriminating features are placed at known locations, but each study currently reimplements this from scratch. We introduce xaitimesynth, a Python package that provides reusable infrastructure for this evaluation approach. The package generates synthetic time series following an additive model where each sample is a sum of background signal and a localized, class-discriminating feature, with the feature window automatically tracked as a ground truth mask. A fluent data generation API and YAML configuration format allow flexible and reproducible dataset definitions for both univariate and multivariate time series. The package also provides standard localization metrics, including AUC-PR, AUC-ROC, Relevance Mass Accuracy, and Relevance Rank Accuracy. xaitimesynth is open source and available at https://github.com/gregorbaer/xaitimesynth.

Figures & tables

Explore similar work

CardsList
  1. Does Synthetic Data Help? Empirical Evidence from Deep Learning Time Series Forecasters

    May 7, 2026Hugo Cazaux, Eyjólfur Ingi Ásgeirsson, Hlynur StefánssonSynthetic Data AugmentationSynthetic Data Generation

  2. Benchmarking Time Series Generation Methods for Privacy-Preserving Forecasting

    Aug 11, 2026Luis Amorim, Vitor Cerqueira, Moises Santos +2Synthetic Data GenerationTime Series Forecasting

  3. Seq2Synth: Benchmarking Temporal Fidelity in Synthetic Sequential Tabular Data

    Jul 17, 2026Kiwan Kwon, Kangmin Kim, Hojin Lee +5Synthetic Data Evaluation