cs.LGFeb 17, 2026

CEPAE: Conditional Entropy-Penalized Autoencoders for Time Series Counterfactuals

Authors: Tomàs Garriga, Gerard Sanz, Eduard Serrahima de Cambra, Axel Brando

Organizations: Novartis · Barcelona Supercomputing Center

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.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CAETC: Causal Autoencoding and Treatment Conditioning for Counterfactual Estimation over Time

    Mar 12, 2026Nghia D. Nguyen, Pablo Robles-Granda, Lav R. VarshneyCausal Effect EstimationCounterfactual Learning

  2. Benchmarking Counterfactual Prediction in Epidemic Time Series with Time-Varying Interventions

    Jun 4, 2026Wenhao Mu, Facundo Yan, Anik Mumssen +2Forecasting BenchmarksCounterfactual Prediction

  3. ConTex: Reformulating Counterfactual Generation For Time Series Forecasting

    Jun 16, 2026Jan Voets, Hasan Tercan, Tobias Meisen +1Explainable Time Series ForecastingCounterfactual Explanations