TSFMAudit: Data Contamination Auditing in Forecasting Time Series Foundation Models

Hongkai Li, Shifeng Xie, Lefei Shen, Zhuo Li, Mouxiang Chen, Xiaobin Zhang, Han Fu, Jianling Sun, Xiaoxue Ren, Chenghao LiuarXiv 2026

TL;DR

TSFMAudit is the first framework designed to detect data contamination—where evaluation data accidentally leaks into pretraining corpora—in Time Series Foundation Models (TSFMs). By analyzing "probe adaptation dynamics," the method identifies contaminated datasets based on how unusually fast the model minimizes loss with minimal parameter movement during short fine-tuning runs.

What Problem Does This Paper Address?

Time Series Foundation Models (TSFMs) are rapidly gaining traction for zero-shot forecasting across finance, healthcare, and transportation. However, because these models are trained on massive, multi-source web crawls and public repositories, there is a high risk of data contamination: the datasets used to evaluate the models may have already been seen during pretraining. This leads to overly optimistic performance metrics that don't reflect true generalization.

Auditing contamination in time series is uniquely difficult compared to Large Language Models (LLMs). Time series data are continuous and heterogeneous, meaning simple text-matching or n-gram overlaps don't work. Furthermore, standard LLM techniques like tracking static model loss or perplexity fail because some time series are intrinsically "easy" to predict due to strong seasonality or smooth trends, yielding low loss even if the model has never seen them before.

Figure 1: Schematic probe-time adaptation behavior.

Methods

The authors introduce TSFMAudit, a method that shifts the focus from static loss to learning dynamics. The core intuition is that if a model was already exposed to a dataset during pretraining, it will adapt to that dataset during fine-tuning unusually efficiently—dropping loss rapidly while requiring very little movement in its backbone parameters.

The TSFMAudit pipeline consists of three main phases:

  1. Probing: The candidate TSFM and a "reference suite" of non-pretrained models (e.g., a randomly initialized CNN or Transformer) are fine-tuned on the audited dataset for a few gradient epochs.
  2. Reference Debiasing: To eliminate the bias of inherently "easy" datasets, the candidate model's loss drop and parameter displacement are compared against the reference suite using elementwise differences and ratios.
  3. Scoring & Decision: A lightweight logistic regression classifier processes these debiased features to output a contamination risk score. The framework applies a strict "do-not-accuse-the-innocent" threshold (FP-0 calibration), ensuring clean validation datasets are not falsely flagged.
Figure 2: Overview of TSFMAUDIT. A candidate model and a reference suite are probed on D for Tprobe gradient epochs under the same fine tuning protocol. The resulting traces are summarized into adaptation features, transformed into reference-based debiased features, and mapped to a scalar contamination-risk score S(fθ, D).

Datasets

The authors compiled a benchmark of 137 audited datasets by filtering and combining catalogs from GIFT-Eval and GIFT-Eval Pretrain. They audited six prominent TSFMs: Chronos, TiRex, TimesFM2.0, Kairos, Moirai1, and Moirai2.

To test practical deployment, they also evaluated the framework on the TIME Benchmark, a fresh, external dataset collection curated after the release of the audited TSFMs, serving as a ground-truth negative control (100% clean).

Key Insights and Ideas

  • Dynamics Over Statics: Static loss is an unreliable proxy for time series contamination. Tracking how a model learns during a fine-tuning probe provides a much clearer signature of prior exposure.
  • The Reference Suite is Crucial: Introducing baseline models that have never seen any time-series pretraining data allows the framework to isolate dataset difficulty from actual model memory.
  • Contamination is More Than Exact Matches: Time series signals can reappear under rescaling, renaming, or rewindowing. TSFMAudit successfully detects these "transformed duplicates," proving that exact sample matching is too narrow a definition for time-series leakage.

Key Results

TSFMAudit was compared against 10 baselines adapted from LLM literature (such as Raw Loss, Loss Drop Rate, and LiRA Ratio).

  • Superior Detection: The "All Ref" configuration achieved the strongest performance, yielding a Matthews Correlation Coefficient (MCC) of 0.125 and a Macro-F1 of 0.521, significantly outperforming the candidate-only baseline (MCC 0.032) and static loss metrics.
  • Real-World Validation: When deployed on the TIME Benchmark without any retraining, TSFMAudit achieved a 97.33% pooled non-leakage rate, confirming the benchmark's claim of being a fresh, uncontaminated evaluation set and demonstrating the auditor's real-world reliability.
Figure 3: Reference model ablation. Higher is better.

Limitations and Future Work

While TSFMAudit represents a major step forward, the authors note that absolute MCC values remain modest, emphasizing that time-series auditing is an incredibly challenging problem. Additionally, the effectiveness of reference-based debiasing is somewhat candidate-dependent; a reference model is only useful if its probing behavior provides a plausible counterfactual for the specific TSFM under audit. Future work will focus on optimizing reference model selection and improving robustness against more complex data transformations.

Summary updated

BibTeX
@misc{li2026tsfmaudit,
  author = {Hongkai Li and Shifeng Xie and Lefei Shen and Zhuo Li and Mouxiang Chen and Xiaobin Zhang and Han Fu and Jianling Sun and Xiaoxue Ren and Chenghao Liu},
  title = {{TSFMAudit: Data Contamination Auditing in Forecasting Time Series Foundation Models}},
  year = {2026},
  eprint = {2605.26161},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.26161},
}
Figure