In this paper, we propose a machine learning approach for forecasting hierarchical time series. When dealing with hierarchical time series, apart from generating accurate forecasts, one needs to select a suitable method for producing reconciled forecasts. Forecast reconciliation is the process of adjusting forecasts to make them coherent across the hierarchy. In literature, coherence is often enforced by using a post-processing technique on the base forecasts produced by suitable time series forecasting methods. On the contrary, our idea is to use a deep neural network to directly produce accurate and reconciled forecasts. We exploit the ability of a deep neural network to extract information capturing the structure of the hierarchy. We impose the reconciliation at training time by minimizing a customized loss function. In many practical applications, besides time series data, hierarchical time series include explanatory variables that are beneficial for increasing the forecasting accuracy. Exploiting this further information, our approach links the relationship between time series features extracted at any level of the hierarchy and the explanatory variables into an end-to-end neural network providing accurate and reconciled point forecasts. The effectiveness of the approach is validated on three real-world datasets, where our method outperforms state-of-the-art competitors in hierarchical forecasting.
翻译:在本文中,我们提出了一种用于预测等级时间序列的机械学习方法。在处理等级时间序列时,除了提供准确的预测之外,还需要选择一种适当的方法来提出经协调的预测。预测调节是调整预测的过程,以便使其在等级结构之间保持一致。在文献中,往往通过使用适当时间序列预测方法在基础预测中采用后处理技术来增强一致性。相反,我们的想法是利用深层神经网络来直接提出准确和协调的预测。我们利用深层神经网络的能力来提取捕捉等级结构的信息。我们在培训时通过尽量减少一个定制的损失函数来强制进行调和。在许多实际应用中,除了时间序列数据外,等级时间序列还包括有利于提高预测准确性的解释变量。利用这一进一步的信息,我们的方法将在等级结构的任一级别上提取的时间序列和解释变量之间的关系与提供准确和调和点预报的端至端神经网络联系起来。该方法的有效性在三个现实世界数据集中得到验证,我们的方法在其中的等级预测中超过了最先进的竞争者。