Inflation is a major determinant for allocation decisions and its forecast is a fundamental aim of governments and central banks. However, forecasting inflation is not a trivial task, as its prediction relies on low frequency, highly fluctuating data with unclear explanatory variables. While classical models show some possibility of predicting inflation, reliably beating the random walk benchmark remains difficult. Recently, (deep) neural networks have shown impressive results in a multitude of applications, increasingly setting the new state-of-the-art. This paper investigates the potential of the transformer deep neural network architecture to forecast different inflation rates. The results are compared to a study on classical time series and machine learning models. We show that our adapted transformer, on average, outperforms the baseline in 6 out of 16 experiments, showing best scores in two out of four investigated inflation rates. Our results demonstrate that a transformer based neural network can outperform classical regression and machine learning models in certain inflation rates and forecasting horizons.
翻译:通货膨胀是决定资产配置决策的重要因素, 其预测是政府和中央银行最基本的任务之一。然而,通货膨胀预测并不是一项易如反掌的工作,因为其预测依赖于低频、高度波动的数据,并且具有不明确的解释变量。虽然经典模型显示出一些预测通货膨胀的可能性,但可靠地超越随机漫步基准仍然很困难。最近,(深度)神经网络在许多应用中已显示出令人印象深刻的结果,逐渐成为新的最优模型。本文研究了基于 Transformer 深度神经网络架构在不同通货膨胀率预测中的潜力。结果与时间序列和机器学习模型的研究进行了比较。我们表明,我们改进后的 Transformer 平均上在 16 个实验中有 6 个实验超越基线,其中在四个研究的通货膨胀率中的两个取得了最佳成绩。我们的结果证明,在某些通货膨胀率和预测时间段内,基于 Transformer 的神经网络可以胜过传统的回归和机器学习模型。