Colombian inflation forecast using Long Short-Term Memory approach

Keep in mind

La serie Borradores de Economía es una publicación de la Subgerencia de Estudios Económicos del Banco de la República. Los trabajos son de carácter provisional, las opiniones y posibles errores son responsabilidad exclusiva del autor y sus contenidos no comprometen al Banco de la República ni a su Junta Directiva.

Autor o Editor
Cárdenas-Cárdenas Julián Alonso
Deicy Johana Cristiano-Botia
Nicolás Martínez-Cortés

The series Borradores de Economía (Working Papers on Economics) contributes to the dissemination and promotion of the work by researchers from the institution. On multiple occasions, these works have been the result of collaborative work with individuals from other national or international institutions. This series is indexed at Research Papers in Economics (RePEc). The opinions contained in this document are the sole responsibility of the author and do not commit Banco de la República or its Board of Directors.

Fecha de publicación


We use Long Short Term Memory (LSTM) neural networks, a deep learning technique, to forecast Colombian headline inflation one year ahead through two approaches. The first one uses only information from the target variable, while the second one incorporates additional information from some relevant variables. We employ sample rolling to the traditional neuronal network construction process, selecting the hyperparameters with criteria for minimizing the forecast error. Our results show a better forecasting capacity of the network with information from additional variables, surpassing both the other LSTM application and ARIMA models optimized for forecasting (with and without explanatory variables). This improvement in forecasting accuracy is most pronounced over longer time horizons, specifically from the seventh month onwards.