CEPAE: Conditional Entropy-Penalized Autoencoders for Time Series Counterfactuals

Tomàs Garriga, Gerard Sanz, Eduard Serrahima de Cambra, Axel Brando
2/17/2026
cs.LG

No official code found. Best implementation: tgarriga/CEPAE (0 stars, MIT, last commit 2026-02-11).

Abstract

The ability to accurately perform counterfactual inference on time series is crucial for decision-making in fields like finance, healthcare, and marketing, as it allows us to understand the impact of events or treatments on outcomes over time. In this paper, we introduce a new counterfactual inference approach tailored to time series data impacted by market events, which is motivated by an industrial application. Utilizing the abduction-action-prediction procedure and the Structural Causal Model framework, we first adapt methods based on variational autoencoders and adversarial autoencoders, both previously used in counterfactual literature although not in time series settings. Then, we present the Conditional Entropy-Penalized Autoencoder (CEPAE), a novel autoencoder-based approach for counterfactual inference, which employs an entropy penalization loss over the latent space to encourage disentangled data representations. We validate our approach both theoretically and experimentally on synthetic, semi-synthetic, and real-world datasets, showing that CEPAE generally outperforms the other approaches in the evaluated metrics.

View on arXivView PDF

Code Implementations(1)

tgarriga/CEPAECommunity71%
MIT

Code for the paper "CEPAE: Conditional Entropy-Penalized Autoencoders for Time Series Counterfactuals"

00Python, Jupyter NotebookFeb 9, 20268 months agoMIT

Similar Papers

Cite this paper

@article{garriga2026cepae,
  title  = {CEPAE: Conditional Entropy-Penalized Autoencoders for Time Series Counterfactuals},
  author = {Tomàs Garriga and Gerard Sanz and Eduard Serrahima de Cambra and Axel Brando},
  year   = {2026},
  eprint = {2602.15546},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.15546v1}
}

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/2602.15546.svg)](https://codeofpaper.com/paper/2602.15546)

Discussion