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.
Informed Consent Statement
Not applicable.
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. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).