EconPapers    
Economics at your fingertips  
 

Enhancing stock price prediction using GANs and transformer-based attention mechanisms

Siyi Li () and Sijie Xu ()
Additional contact information
Siyi Li: University College Dublin
Sijie Xu: ShanghaiTech University

Empirical Economics, 2025, vol. 68, issue 1, No 11, 373-403

Abstract: Abstract Stock price prediction plays an important role in financial decision-making, enabling investors and analysts to make informed choices regarding trading and investment strategies. Traditional statistical methods have been utilized for the prediction of stock price, but it is often difficult for them to capture complex patterns, adapt to changing market conditions, handle large datasets, and automatically extract relevant features. Recent advancements in machine learning and deep learning offer promising solutions to address these challenges. In this paper, we propose a new approach to enhance the stock price prediction by leveraging generative adversarial networks (GANs) and transformer-based attention mechanisms. GANs are utilized to generate synthetic stock price data, and incorporating market sentiment and volatility. Attention mechanisms will selectively concentrate on the important features and patterns in the data, which may do good to the identification of key market indicators which will impact stock prices. By integrating market social media news which can tell about the sentiment and volatility, our model aims to improve the accuracy and robustness of stock price forecasts. We also address the limitations of GANs and attention mechanisms separately used in stock price prediction, such as unrealistic data generation and overfitting, by employing regularization techniques and incorporating additional data sources. Experimental evaluations using real-world stock market data will be conducted to compare the performance of our proposed models with conventional approaches. The findings of this research have implications for investors, financial analysts, and other stakeholders who are engaged in the stock market ecosystem, providing valuable insights for the investment strategies.

Keywords: Deep learning; Stock prediction; GANs; Natural language processing (search for similar items in EconPapers)
Date: 2025
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://link.springer.com/10.1007/s00181-024-02644-6 Abstract (text/html)
Access to the full text of the articles in this series is restricted.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:empeco:v:68:y:2025:i:1:d:10.1007_s00181-024-02644-6

Ordering information: This journal article can be ordered from
http://www.springer. ... rics/journal/181/PS2

DOI: 10.1007/s00181-024-02644-6

Access Statistics for this article

Empirical Economics is currently edited by Robert M. Kunst, Arthur H.O. van Soest, Bertrand Candelon, Subal C. Kumbhakar and Joakim Westerlund

More articles in Empirical Economics from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-04-12
Handle: RePEc:spr:empeco:v:68:y:2025:i:1:d:10.1007_s00181-024-02644-6