cs.LGMar 1, 2026

Navigating Time's Possibilities: Plausible Counterfactual Explanations for Multivariate Time-Series Forecast through Genetic Algorithms

Authors: Gianlucca Zuin, Adriano Veloso

Organizations: Universidade Federal de Minas Gerais, C.S. Dept. Belo Horizonte, Brazil. · Kunumi. Belo Horizonte, Brazil.

Abstract

Counterfactual learning has become promising for understanding and modeling causality in complex and dynamic systems. This paper presents a novel method for counterfactual learning in the context of multivariate time series analysis and forecast. The primary objective is to uncover hidden causal relationships and identify potential interventions to achieve desired outcomes. The proposed methodology integrates genetic algorithms and rigorous causality tests to infer and validate counterfactual dependencies within temporal sequences. More specifically, we employ Granger causality to enhance the reliability of identified causal relationships, rigorously assessing their statistical significance. Then, genetic algorithms, in conjunction with quantile regression, are used to exploit these intricate causal relationships to project future scenarios. The synergy between genetic algorithms and causality tests ensures a thorough exploration of the temporal dynamics present in the data, revealing hidden dependencies and enabling the projection of outcomes under hypothetical interventions. We evaluate the performance of our algorithm on real-world data, showcasing its ability to handle complex causal relationships, revealing meaningful counterfactual insights, and allowing for the prediction of outcomes under hypothetical interventions.

Figures & tables

Explore similar work

CardsList
  1. ConTex: Reformulating Counterfactual Generation For Time Series Forecasting

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

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

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

  3. What-If Explanations Over Time: Counterfactuals for Time Series Classification

    Mar 29, 2026Udo Schlegel, Thomas SeidlGraph Counterfactual ExplanationsCounterfactual Explanations