Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction
Research Article  ·  Published: 08 April 2026
Issue cover
ICCK Transactions on Intelligent Systematics
Volume 3, Issue 2, 2026: 70-80
Research Article Free to Read

Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction

1 School of Economics and Management, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
2 Department of Electrical and Electronics Engineering, COMSATS University Islamabad, Abbottabad Campus, Abbottabad 22020, Pakistan
3 College of Electrical and Mechanical Engineering, National University of Sciences and Technology (NUST), Rawalpindi 44000, Pakistan
4 School of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
* Corresponding Authors: Sayed Akif Hussain, [email protected]; Qiu-Shi Chen, [email protected]
Volume 3, Issue 2
You have access to this article · Limited-Time Free Access

Article Information

Abstract

This study proposes a novel hybrid deep learning framework that integrates a Large Language Model (LLM) with a Transformer architecture for stock price forecasting. The research addresses a critical theoretical gap in existing approaches that empirically combine textual and numerical data without a formal understanding of their interaction mechanisms. We conceptualize a prompt-based LLM as a mathematically defined signal generator, capable of extracting directional market sentiment and an associated confidence score from financial news. These signals are then dynamically fused with structured historical price features through a noise-robust gating mechanism, enabling the Transformer to adaptively weigh semantic and quantitative information. Empirical evaluations demonstrate that the proposed Hybrid LLM–Transformer model demonstrates promising improvement over a Vanilla Transformer baseline, reducing the Root Mean Squared Error (RMSE) by 5.28% (p = 0.003). Moreover, ablation and robustness analyses confirm the model’s stability under noisy conditions and its capacity to maintain interpretability through confidence-weighted attention. The findings contribute to theoretical exploration of LLM–Transformer interactions, offering a step toward explainable, noise-resilient, and semantically enriched financial forecasting systems.

Graphical Abstract

Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction

Keywords

large language models transformer stock prediction financial forecasting time series ablation study

Data Availability Statement

Data will be made available on request.

Funding

This work was supported without any funding.

Conflicts of Interest

The authors declare no conflicts of interest.

AI Use Statement

The authors declare that no generative AI was used in the preparation of this manuscript.

Ethical Approval and Consent to Participate

Not applicable.

References

  1. Chen, Q. (2025). Stock price prediction with LLM-guided market movement signals and transformer model. FinTech and Sustainable Innovation, 1, A12-A12.
    [CrossRef] [Google Scholar]
  2. Chen, Q. (2025). Sentiment-aware stock price prediction with Transformer and LLM-generated formulaic alpha. arXiv preprint arXiv:2508.04975.
    [CrossRef] [Google Scholar]
  3. Zhou, L., Zhang, Y., Yu, J., Wang, G., Liu, Z., Yongchareon, S., & Wang, N. (2025). LLM-augmented linear transformer-CNN for enhanced stock price prediction. Mathematics, 13(3), 487.
    [CrossRef] [Google Scholar]
  4. Muhammad, T., Aftab, A. B., Ibrahim, M., Ahsan, M. M., Muhu, M. M., Khan, S. I., & Alam, M. S. (2023). Transformer-based deep learning model for stock price prediction: A case study on Bangladesh stock market. International Journal of Computational Intelligence and Applications, 22(03), 2350013.
    [CrossRef] [Google Scholar]
  5. Xie, Q., Han, W., Zhang, X., Lai, Y., Peng, M., Lopez-Lira, A., & Huang, J. (2023). Pixiu: A large language model, instruction data and evaluation benchmark for finance. arXiv preprint arXiv:2306.05443.
    [Google Scholar]
  6. Wang, N., Yang, H., & Wang, C. D. (2023). FinGPT: Instruction tuning benchmark for open-source large language models in financial datasets. arXiv preprint arXiv:2310.04793.
    [Google Scholar]
  7. Chen, S., Ren, S., & Zhang, Q. (2025). Hybrid Architectures that Combine LLMs and Predictive Analytics for Next-Generation Financial Modeling. Mathematical Modeling and Algorithm Application, 6, 31-43.
    [Google Scholar]
  8. Kabir, M. R., Bhadra, D., Ridoy, M., & Milanova, M. (2025). LSTM–transformer-based robust hybrid deep learning model for financial time series forecasting. Sci, 7(1), 7.
    [CrossRef] [Google Scholar]
  9. Yu, X., Chen, Z., Ling, Y., Dong, S., Liu, Z., & Lu, Y. (2023). Temporal data meets LLM--explainable financial time series forecasting. arXiv preprint arXiv:2306.11025.
    [Google Scholar]
  10. Matsunaga, D., Suzumura, T., & Takahashi, T. (2019). Exploring graph neural networks for stock market predictions with rolling window analysis. arXiv preprint arXiv:1909.10660.
    [Google Scholar]
  11. Djagba, P., & Saley, A. Y. (2025). Exploring Large Language Models for Financial Applications: Techniques, Performance, and Challenges with FinMA. arXiv preprint arXiv:2510.05151.
    [Google Scholar]
  12. Yu, S., Xue, H., Ao, X., Pan, F., He, J., Tu, D., & He, Q. (2023, August). Generating synergistic formulaic alpha collections via reinforcement learning. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (pp. 5476-5486).
    [CrossRef] [Google Scholar]
  13. Chen, Q. (2025, July). LLMs with RL-Enhanced Post-Hoc Adjustments. In Proceedings of the 2025 4th International Conference on Bigdata Blockchain and Economy Management (ICBBEM 2025) (Vol. 195, p. 475). Springer Nature.
    [Google Scholar]
  14. Hutto, C., & Gilbert, E. (2014, May). Vader: A parsimonious rule-based model for sentiment analysis of social media text. In Proceedings of the international AAAI conference on web and social media (Vol. 8, No. 1, pp. 216-225).
    [CrossRef] [Google Scholar]
  15. Júnior, N. R., & Nievola, J. C. (2018, July). A generalized financial time series forecasting model based on automatic feature engineering using genetic algorithms and support vector machine. In 2018 International Joint Conference on Neural Networks (IJCNN) (pp. 1-8). IEEE.
    [CrossRef] [Google Scholar]
  16. jun Gu, W., hao Zhong, Y., zun Li, S., song Wei, C., ting Dong, L., yue Wang, Z., & Yan, C. (2024, August). Predicting stock prices with finbert-lstm: Integrating news sentiment analysis. In Proceedings of the 2024 8th International Conference on Cloud and Big Data Computing (pp. 67-72).
    [CrossRef] [Google Scholar]
  17. Das, N., Sadhukhan, B., Ghosh, R., & Chakrabarti, S. (2024). Developing hybrid deep learning models for stock price prediction using enhanced twitter sentiment score and technical indicators. Computational Economics, 64(6), 3407-3446.
    [CrossRef] [Google Scholar]
  18. Do Jung, H., Kim, J. H., & Jang, B. (2024). Optimizing Language Models through Dataset-Specific Post-Training: A Focus on Financial Sentiment Analysis. Journal of Internet Computing and Services, 25(1), 57-67.
    [CrossRef] [Google Scholar]
  19. Liu, X. Y., Wang, G., Yang, H., & Zha, D. (2023). Fingpt: Democratizing internet-scale data for financial large language models. arXiv preprint arXiv:2307.10485.
    [Google Scholar]
  20. Mughal, M. F., Ansari, M., & Alam, M. (2025). Revolutionizing Financial Forecasting: The Rise of Transformer Models in Long-Term Time Series Analysis. AI-Driven Finance in the VUCA World, 142.
    [Google Scholar]
  21. Manikrao, K. W., Allagi, S., Leong, W. Y., & Laddi, M. (2025). An Explainable AI for Stock Market Prediction: A Machine Learning Approach with XAI and Deep Neural Networks. Journal of Computational and Cognitive Engineering.
    [CrossRef] [Google Scholar]
  22. Bamford, T., Coletta, A., Fons, E., Gopalakrishnan, S., Vyetrenko, S., Balch, T., & Veloso, M. (2023, November). Multi-modal financial time-series retrieval through latent space projections. In Proceedings of the fourth ACM international conference on AI in finance (pp. 498-506).
    [CrossRef] [Google Scholar]
  23. Zhang, C., Sjarif, N. N. A., & Ibrahim, R. (2024). Deep learning models for price forecasting of financial time series: A review of recent advancements: 2020–2022. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, 14(1), e1519.
    [CrossRef] [Google Scholar]

Cited By (3)

  1. Syed Amer Hussain, Sayed Akif Hussain, Syed Atif Hussain, Qiu-ling Zheng. Behavioural Project Management and Service Operations Excellence in Geographically Dispersed Solar Projects: An AI-Driven Simulation Approach. UW Journal of Management Sciences, 2026 , 10 (1).
    [CrossRef]
  2. Athaya Naufal Pranastya, Dita Pramesti, Hanif Fakhrurroja. . 2026 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), 2026 .
    [CrossRef]
  3. Jebamalar M, Mohideen AbdulKader M, K Harish, K. Divya Dharshini, Anujaa C, Prithuloma S B. . 2026 4th International Conference on Inventive Computing and Informatics (ICICI), 2026 .
    [CrossRef]
* Citation data provided by Crossref Cited-by.

Cite This Article

APA Style
Hussain, S. A., Chen, Q. S., Hussain, S. Amer, Hussain, S. Atif, Komal, A., & Khalid, M. I. (2026). Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction. ICCK Transactions on Intelligent Systematics, 3(2), 70-80. https://doi.org/10.62762/TIS.2025.976754
Export Citation
RIS Format
Compatible with EndNote, Zotero, Mendeley, and other reference managers
TY  - JOUR
AU  - Hussain, Sayed Akif
AU  - Chen, Qiu-Shi
AU  - Hussain, Syed Amer
AU  - Hussain, Syed Atif
AU  - Komal, Asma
AU  - Khalid, Muhammad Imran
PY  - 2026
DA  - 2026/04/08
TI  - Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction
JO  - ICCK Transactions on Intelligent Systematics
T2  - ICCK Transactions on Intelligent Systematics
JF  - ICCK Transactions on Intelligent Systematics
VL  - 3
IS  - 2
SP  - 70
EP  - 80
DO  - 10.62762/TIS.2025.976754
UR  - https://www.icck.org/article/abs/TIS.2025.976754
KW  - large language models
KW  - transformer
KW  - stock prediction
KW  - financial forecasting
KW  - time series
KW  - ablation study
AB  - This study proposes a novel hybrid deep learning framework that integrates a Large Language Model (LLM) with a Transformer architecture for stock price forecasting. The research addresses a critical theoretical gap in existing approaches that empirically combine textual and numerical data without a formal understanding of their interaction mechanisms. We conceptualize a prompt-based LLM as a mathematically defined signal generator, capable of extracting directional market sentiment and an associated confidence score from financial news. These signals are then dynamically fused with structured historical price features through a noise-robust gating mechanism, enabling the Transformer to adaptively weigh semantic and quantitative information. Empirical evaluations demonstrate that the proposed Hybrid LLM–Transformer model demonstrates promising improvement over a Vanilla Transformer baseline, reducing the Root Mean Squared Error (RMSE) by 5.28% (p = 0.003). Moreover, ablation and robustness analyses confirm the model’s stability under noisy conditions and its capacity to maintain interpretability through confidence-weighted attention. The findings contribute to theoretical exploration of LLM–Transformer interactions, offering a step toward explainable, noise-resilient, and semantically enriched financial forecasting systems.
SN  - 3068-5079
PB  - Institute of Central Computation and Knowledge
LA  - English
ER  - 
BibTeX Format
Compatible with LaTeX, BibTeX, and other reference managers
@article{Hussain2026Improving,
  author = {Sayed Akif Hussain and Qiu-Shi Chen and Syed Amer Hussain and Syed Atif Hussain and Asma Komal and Muhammad Imran Khalid},
  title = {Improving Financial Forecasting with a Synergistic LLM-Transformer Architecture: A Hybrid Approach to Stock Price Prediction},
  journal = {ICCK Transactions on Intelligent Systematics},
  year = {2026},
  volume = {3},
  number = {2},
  pages = {70-80},
  doi = {10.62762/TIS.2025.976754},
  url = {https://www.icck.org/article/abs/TIS.2025.976754},
  abstract = {This study proposes a novel hybrid deep learning framework that integrates a Large Language Model (LLM) with a Transformer architecture for stock price forecasting. The research addresses a critical theoretical gap in existing approaches that empirically combine textual and numerical data without a formal understanding of their interaction mechanisms. We conceptualize a prompt-based LLM as a mathematically defined signal generator, capable of extracting directional market sentiment and an associated confidence score from financial news. These signals are then dynamically fused with structured historical price features through a noise-robust gating mechanism, enabling the Transformer to adaptively weigh semantic and quantitative information. Empirical evaluations demonstrate that the proposed Hybrid LLM–Transformer model demonstrates promising improvement over a Vanilla Transformer baseline, reducing the Root Mean Squared Error (RMSE) by 5.28\% (p = 0.003). Moreover, ablation and robustness analyses confirm the model’s stability under noisy conditions and its capacity to maintain interpretability through confidence-weighted attention. The findings contribute to theoretical exploration of LLM–Transformer interactions, offering a step toward explainable, noise-resilient, and semantically enriched financial forecasting systems.},
  keywords = {large language models, transformer, stock prediction, financial forecasting, time series, ablation study},
  issn = {3068-5079},
  publisher = {Institute of Central Computation and Knowledge}
}

Article Metrics

Citations
Views
3491
PDF Downloads
573

Publisher's Note

ICCK stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and Permissions

Institute of Central Computation and Knowledge (ICCK) or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
ICCK Transactions on Intelligent Systematics
ICCK Transactions on Intelligent Systematics
ISSN: 3068-5079 (Online) | ISSN: 3069-003X (Print)
Portico
Preserved at
Portico