Previous Article in Journal
Uncertain Shape and Deformation Recognition Using Wavelet-Based Spatiotemporal Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Gross Domestic Product Forecasting Using Deep Learning Models with a Phase-Adaptive Attention Mechanism

by
Lan Dong Thi Ngoc
1,2,
Nguyen Dinh Hoan
3 and
Ha-Nam Nguyen
4,*
1
Department of Economic Information System, Academy of Finance, Hanoi 122300, Vietnam
2
Faculty of Information Technology, VNU University of Engineering and Technology, Hanoi 122300, Vietnam
3
Faculty of Economics, Academy of Finance, Hanoi 122300, Vietnam
4
Information Technology Department, Electric Power University, Hanoi 122300, Vietnam
*
Author to whom correspondence should be addressed.
Electronics 2025, 14(11), 2132; https://doi.org/10.3390/electronics14112132
Submission received: 16 April 2025 / Revised: 20 May 2025 / Accepted: 21 May 2025 / Published: 23 May 2025
(This article belongs to the Special Issue Advances in Data Analysis and Visualization)

Abstract

Forecasting GDP is a highly practical task in macroeconomics, especially in the context of rapidly changing economic environments caused by both economic and non-economic factors. This study proposes a deep learning model that integrates Long Short-Term Memory (LSTM) networks with a phase-adaptive attention mechanism (PAA-LSTM model) to improve forecasting accuracy. The attention mechanism is flexibly adjusted according to different phases of the economic cycle—recession, recovery, expansion, and stagnation—allowing the model to better capture temporal dynamics compared to traditional static attention approaches. The model is evaluated using GDP data from six countries representing three groups of economies: developed, emerging, and developing. The experimental results show that the proposed model achieves superior accuracy in countries with strong cyclical structures and high volatility. In more stable economies, such as the United States and Canada, PAA-LSTM remains competitive; however, its margin over simpler models is narrower, suggesting that the benefits of added complexity may vary depending on economic structure. These findings underscore the value of incorporating economic cycle phase information into deep learning models for macroeconomic forecasting and suggest a promising direction for selecting flexible forecasting architectures tailored to different country groups.
Keywords: GDP forecasting; economic growth; deep learning; LSTM; attention mechanism; economic time series; data normalization GDP forecasting; economic growth; deep learning; LSTM; attention mechanism; economic time series; data normalization

Share and Cite

MDPI and ACS Style

Dong Thi Ngoc, L.; Hoan, N.D.; Nguyen, H.-N. Gross Domestic Product Forecasting Using Deep Learning Models with a Phase-Adaptive Attention Mechanism. Electronics 2025, 14, 2132. https://doi.org/10.3390/electronics14112132

AMA Style

Dong Thi Ngoc L, Hoan ND, Nguyen H-N. Gross Domestic Product Forecasting Using Deep Learning Models with a Phase-Adaptive Attention Mechanism. Electronics. 2025; 14(11):2132. https://doi.org/10.3390/electronics14112132

Chicago/Turabian Style

Dong Thi Ngoc, Lan, Nguyen Dinh Hoan, and Ha-Nam Nguyen. 2025. "Gross Domestic Product Forecasting Using Deep Learning Models with a Phase-Adaptive Attention Mechanism" Electronics 14, no. 11: 2132. https://doi.org/10.3390/electronics14112132

APA Style

Dong Thi Ngoc, L., Hoan, N. D., & Nguyen, H.-N. (2025). Gross Domestic Product Forecasting Using Deep Learning Models with a Phase-Adaptive Attention Mechanism. Electronics, 14(11), 2132. https://doi.org/10.3390/electronics14112132

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop