Skip to Content
  • Abstract
  • Open Access

19 September 2021

1 Page

Avoiding Temporal Confounding in Timeseries Forecasting Using Machine Learning †

and
1
Blue Yonder GmbH, Ohiostr. 8, 76149 Karlsruhe, Germany
2
IU International University of Applied Sciences GmbH, Juri-Gagarin-Ring 152, 99084 Erfurt, Germany
*
Author to whom correspondence should be addressed.
†
Presented at the 1st International Electronic Conference on Algorithms, 27 September–10 October 2021; Available online: https://ioca2021.sciforum.net/.

Abstract

Timeseries forecasting plays an important role in many applications where knowledge of the future behaviour of a given quantity of interest is required. Traditionally, this task is approached using methods such as exponential smoothing, ARIMA and, more recently, recurrent neural networks such as LSTM architectures or transformers. These approaches intrinsically rely on the autocorrelation or partial auto-correlation between subsequent events to forecast future values. Essentially, the past values of the timeseries are used to model its future behaviour. Implicitly, this assumes that the auto-correlation and partial auto-correlation is genuine and not spurious. In the latter case, the methods exploit the (partial) auto-correlation in the prediction even though they are not grounded in the causal data generation process of the timeseries. This can happen if some external event or intervention affects the value of the timeseries at multiple times. In terms of causal analysis, this is equivalent to introducing a confounder into the timeseries where the variable of interest at different times takes over the role of multiple variables in standard causal analysis. This effectively opens a backdoor path between different times that, in turn, leads to a spurious autocorrelation. If a forecasting model is built including such spurious correlations, the generalizability and forecasting power of the model is reduced and future predictions may consequently be wrong. Using a supervised learning approach, we show how machine learning can be used to avoid temporal confounding in timeseries forecasting, thereby limiting or avoiding the influence of spurious autocorrelations or partial autocorrelations.

Supplementary Materials

The following are available online at https://www.mdpi.com/article/10.3390/IOCA2021-10881/s1.

Author Contributions

Conceptualization: F.W. and U.K., methodology: F.W. and U.K., writing, review and editing: U.K., visualisation: F.W. and U.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.