TX-Gen: Multi-Objective Optimization for Sparse Counterfactual Explanations for Time-Series Classification

Qi Huang, Sofoklis Kitharidis, Thomas Bäck, Niki van Stein
9/14/2024
cs.LGcs.AIcs.NE

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In time-series classification, understanding model decisions is crucial for their application in high-stakes domains such as healthcare and finance. Counterfactual explanations, which provide insights by presenting alternative inputs that change model predictions, offer a promising solution. However, existing methods for generating counterfactual explanations for time-series data often struggle with balancing key objectives like proximity, sparsity, and validity. In this paper, we introduce TX-Gen, a novel algorithm for generating counterfactual explanations based on the Non-dominated Sorting Genetic Algorithm II (NSGA-II). TX-Gen leverages evolutionary multi-objective optimization to find a diverse set of counterfactuals that are both sparse and valid, while maintaining minimal dissimilarity to the original time series. By incorporating a flexible reference-guided mechanism, our method improves the plausibility and interpretability of the counterfactuals without relying on predefined assumptions. Extensive experiments on benchmark datasets demonstrate that TX-Gen outperforms existing methods in generating high-quality counterfactuals, making time-series models more transparent and interpretable.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2024txgen,
  title  = {TX-Gen: Multi-Objective Optimization for Sparse Counterfactual Explanations for Time-Series Classification},
  author = {Qi Huang and Sofoklis Kitharidis and Thomas Bäck and Niki van Stein},
  year   = {2024},
  eprint = {2409.09461},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09461v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09461.svg)](https://codeofpaper.com/paper/2409.09461)

Discussion