IDEAS home Printed from https://ideas.repec.org/a/gam/jforec/v7y2025i4p55-d1763898.html
   My bibliography  Save this article

From Market Volatility to Predictive Insight: An Adaptive Transformer–RL Framework for Sentiment-Driven Financial Time-Series Forecasting

Author

Listed:
  • Zhicong Song

    (Department of Computer Science, Hong Kong Chu Hai College, Hong Kong 999077, China)

  • Harris Sik-Ho Tsang

    (Department of Computer Science, Hong Kong Chu Hai College, Hong Kong 999077, China)

  • Richard Tai-Chiu Hsung

    (Department of Computer Science, Hong Kong Chu Hai College, Hong Kong 999077, China)

  • Yulin Zhu

    (Department of Computer Science, Hong Kong Chu Hai College, Hong Kong 999077, China)

  • Wai-Lun Lo

    (Department of Computer Science, Hong Kong Chu Hai College, Hong Kong 999077, China)

Abstract

Financial time-series prediction remains a significant challenge, driven by market volatility, nonlinear dynamic characteristics, and the complex interplay between quantitative indicators and investor sentiment. Traditional time-series models (e.g., ARIMA and GARCH) struggle to capture the nuanced sentiment in textual data, while static deep learning integration methods fail to adapt to market regime transitions (bull markets, bear markets, and consolidation). This study proposes a hybrid framework that integrates investor forum sentiment analysis with adaptive deep reinforcement learning (DRL) for dynamic model integration. By constructing a domain-specific financial sentiment dictionary (containing 16,673 entries) based on the sentiment analysis approach and word-embedding technique, we achieved up to 97.35% accuracy in forum title classification tasks. Historical price data and investor forum sentiment information were then fed into a Support Vector Regressor (SVR) and three Transformer variants (single-layer, multi-layer, and bidirectional variants) for predictions, with a Deep Q-Network (DQN) agent dynamically fusing the prediction results. Comprehensive experiments were conducted on diverse financial datasets, including China Unicom, the CSI 100 index, corn, and Amazon (AMZN). The experimental results demonstrate that our proposed approach, combining textual sentiment with adaptive DRL integration, significantly enhances prediction robustness in volatile markets, achieving the lowest RMSEs across diverse assets. It overcomes the limitations of static methods and multi-market generalization, outperforming both benchmark and state-of-the-art models.

Suggested Citation

  • Zhicong Song & Harris Sik-Ho Tsang & Richard Tai-Chiu Hsung & Yulin Zhu & Wai-Lun Lo, 2025. "From Market Volatility to Predictive Insight: An Adaptive Transformer–RL Framework for Sentiment-Driven Financial Time-Series Forecasting," Forecasting, MDPI, vol. 7(4), pages 1-29, October.
  • Handle: RePEc:gam:jforec:v:7:y:2025:i:4:p:55-:d:1763898
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-9394/7/4/55/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-9394/7/4/55/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    2. Li, Jieyi & Qian, Shuangyue & Li, Ling & Guo, Yuanxuan & Wu, Jun & Tang, Ling, 2024. "A novel secondary decomposition method for forecasting crude oil price with twitter sentiment," Energy, Elsevier, vol. 290(C).
    3. Kui Fu & Yanbin Zhang, 2024. "Incorporating Multi-Source Market Sentiment and Price Data for Stock Price Prediction," Mathematics, MDPI, vol. 12(10), pages 1-26, May.
    4. Zeng, Liling & Hu, Huanling & Song, Qingkui & Zhang, Boting & Lin, Ruibin & Zhang, Dabin, 2024. "A drift-aware dynamic ensemble model with two-stage member selection for carbon price forecasting," Energy, Elsevier, vol. 313(C).
    5. Junxiao Gui & Nathee Naktnasukanjn & Xi Yu & Siva Shankar Ramasamy, 2024. "Research on the Impact of Economic Policy Uncertainty and Investor Sentiment on the Growth Enterprise Market Return in China—An Empirical Study Based on TVP-SV-VAR Model," IJFS, MDPI, vol. 12(4), pages 1-20, October.
    6. Paul C. Tetlock, 2007. "Giving Content to Investor Sentiment: The Role of Media in the Stock Market," Journal of Finance, American Finance Association, vol. 62(3), pages 1139-1168, June.
    7. Tim Loughran & Bill Mcdonald, 2011. "When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10‐Ks," Journal of Finance, American Finance Association, vol. 66(1), pages 35-65, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Domenica Mino & Cillian Williamson, 2025. "Sentiment and Volatility in Financial Markets: A Review of BERT and GARCH Applications during Geopolitical Crises," Papers 2510.16503, arXiv.org.
    2. Alberto Barroso Del Toro & Laura Vivas Crisol & Xavier Tort-Martorell, 2022. "The Sustainability Narrative: A Multi Study Using Event Studies to Analyse the American Energy Companies Shareholder’s Reaction to Sustainability News," IJERPH, MDPI, vol. 19(23), pages 1-17, November.
    3. Massimiliano Caporin & Francesco Poli, 2017. "Building News Measures from Textual Data and an Application to Volatility Forecasting," Econometrics, MDPI, vol. 5(3), pages 1-46, August.
    4. Marcelo Sardelich & Suresh Manandhar, 2018. "Multimodal deep learning for short-term stock volatility prediction," Papers 1812.10479, arXiv.org.
    5. Yen-Ju Hsu & Yang-Cheng Lu & J. Jimmy Yang, 2021. "News sentiment and stock market volatility," Review of Quantitative Finance and Accounting, Springer, vol. 57(3), pages 1093-1122, October.
    6. Yong Ma & Lu Yan & Dongtao Pan, 2024. "The power of news data in forecasting tail risk: evidence from China," Empirical Economics, Springer, vol. 67(6), pages 2607-2642, December.
    7. Erica Juvercina Sobrinho & Rodrigo Fernandes Malaquias, 2025. "Government Announcements Through Harvest Reports, Extreme Market Conditions, and Commodity Price Volatility," Commodities, MDPI, vol. 4(4), pages 1-16, September.
    8. Müller, Karsten, 2020. "German forecasters' narratives: How informative are German business cycle forecast reports?," Working Papers 23, German Research Foundation's Priority Programme 1859 "Experience and Expectation. Historical Foundations of Economic Behaviour", Humboldt University Berlin.
    9. Yan Luo & Linying Zhou, 2020. "Textual tone in corporate financial disclosures: a survey of the literature," International Journal of Disclosure and Governance, Palgrave Macmillan, vol. 17(2), pages 101-110, September.
    10. Jiao Ji & Oleksandr Talavera & Shuxing Yin, 2018. "The Hidden Information Content: Evidence from the Tone of Independent Director Reports," Working Papers 2018-28, Swansea University, School of Management.
    11. Bennani, Hamza, 2018. "Media coverage and ECB policy-making: Evidence from an augmented Taylor rule," Journal of Macroeconomics, Elsevier, vol. 57(C), pages 26-38.
    12. Kirtac, Kemal & Germano, Guido, 2024. "Sentiment trading with large language models," Finance Research Letters, Elsevier, vol. 62(PB).
    13. Sapkota, Niranjan, 2022. "News-based sentiment and bitcoin volatility," International Review of Financial Analysis, Elsevier, vol. 82(C).
    14. Eryka Probierz & Adam Galuszka & Katarzyna Klimczak & Karol Jedrasiak & Tomasz Wisniewski & Tomasz Dzida, 2021. "Financial Sentiment on Twitter's Community and it's Connection to Polish Stock Market Movements in Context of Behavior Modelling," European Research Studies Journal, European Research Studies Journal, vol. 0(4 - Part ), pages 56-65.
    15. Chen, Cathy Yi-Hsuan & Fengler, Matthias R. & Härdle, Wolfgang Karl & Liu, Yanchu, 2022. "Media-expressed tone, option characteristics, and stock return predictability," Journal of Economic Dynamics and Control, Elsevier, vol. 134(C).
    16. Ferdinand Graf, 2011. "Mechanically Extracted Company Signals and their Impact on Stock and Credit Markets," Working Paper Series of the Department of Economics, University of Konstanz 2011-18, Department of Economics, University of Konstanz.
    17. Thomas Renault, 2020. "Sentiment analysis and machine learning in finance: a comparison of methods and models on one million messages," Digital Finance, Springer, vol. 2(1), pages 1-13, September.
    18. Paul Hubert & Fabien Labondance, 2016. "Central Bank Sentiment and Policy Expectations," SciencePo Working papers Main hal-03459227, HAL.
    19. Siganos, Antonios & Vagenas-Nanos, Evangelos & Verwijmeren, Patrick, 2014. "Facebook's daily sentiment and international stock markets," Journal of Economic Behavior & Organization, Elsevier, vol. 107(PB), pages 730-743.
    20. Shunyao Wang & Ming Cheng & Christina Dan Wang, 2025. "NewsNet-SDF: Stochastic Discount Factor Estimation with Pretrained Language Model News Embeddings via Adversarial Networks," Papers 2505.06864, arXiv.org.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jforec:v:7:y:2025:i:4:p:55-:d:1763898. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.