English

Explaining Time Series via Contrastive and Locally Sparse Perturbations

Machine Learning 2024-01-30 v2 Artificial Intelligence

Abstract

Explaining multivariate time series is a compound challenge, as it requires identifying important locations in the time series and matching complex temporal patterns. Although previous saliency-based methods addressed the challenges, their perturbation may not alleviate the distribution shift issue, which is inevitable especially in heterogeneous samples. We present ContraLSP, a locally sparse model that introduces counterfactual samples to build uninformative perturbations but keeps distribution using contrastive learning. Furthermore, we incorporate sample-specific sparse gates to generate more binary-skewed and smooth masks, which easily integrate temporal trends and select the salient features parsimoniously. Empirical studies on both synthetic and real-world datasets show that ContraLSP outperforms state-of-the-art models, demonstrating a substantial improvement in explanation quality for time series data. The source code is available at \url{https://github.com/zichuan-liu/ContraLSP}.

Keywords

Cite

@article{arxiv.2401.08552,
  title  = {Explaining Time Series via Contrastive and Locally Sparse Perturbations},
  author = {Zichuan Liu and Yingying Zhang and Tianchun Wang and Zefan Wang and Dongsheng Luo and Mengnan Du and Min Wu and Yi Wang and Chunlin Chen and Lunting Fan and Qingsong Wen},
  journal= {arXiv preprint arXiv:2401.08552},
  year   = {2024}
}

Comments

Accepted by International Conference on Learning Representations (ICLR 2024)

R2 v1 2026-06-28T14:18:18.789Z