IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2503.22192.html
   My bibliography  Save this paper

An Advanced Ensemble Deep Learning Framework for Stock Price Prediction Using VAE, Transformer, and LSTM Model

Author

Listed:
  • Anindya Sarkar
  • G. Vadivu

Abstract

This research proposes a cutting-edge ensemble deep learning framework for stock price prediction by combining three advanced neural network architectures: The particular areas of interest for the research include but are not limited to: Variational Autoencoder (VAE), Transformer, and Long Short-Term Memory (LSTM) networks. The presented framework is aimed to substantially utilize the advantages of each model which would allow for achieving the identification of both linear and non-linear relations in stock price movements. To improve the accuracy of its predictions it uses rich set of technical indicators and it scales its predictors based on the current market situation. By trying out the framework on several stock data sets, and benchmarking the results against single models and conventional forecasting, the ensemble method exhibits consistently high accuracy and reliability. The VAE is able to learn linear representation on high-dimensional data while the Transformer outstandingly perform in recognizing long-term patterns on the stock price data. LSTM, based on its characteristics of being a model that can deal with sequences, brings additional improvements to the given framework, especially regarding temporal dynamics and fluctuations. Combined, these components provide exceptional directional performance and a very small disparity in the predicted results. The present solution has given a probable concept that can handle the inherent problem of stock price prediction with high reliability and scalability. Compared to the performance of individual proposals based on the neural network, as well as classical methods, the proposed ensemble framework demonstrates the advantages of combining different architectures. It has a very important application in algorithmic trading, risk analysis, and control and decision-making for finance professions and scholars.

Suggested Citation

  • Anindya Sarkar & G. Vadivu, 2025. "An Advanced Ensemble Deep Learning Framework for Stock Price Prediction Using VAE, Transformer, and LSTM Model," Papers 2503.22192, arXiv.org.
  • Handle: RePEc:arx:papers:2503.22192
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2503.22192
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    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. Hongcheng Ding & Xuanze Zhao & Zixiao Jiang & Shamsul Nahar Abdullah & Deshinta Arrova Dewi, 2024. "EUR-USD Exchange Rate Forecasting Based on Information Fusion with Large Language Models and Deep Learning Methods," Papers 2408.13214, arXiv.org.
    2. Jian Guo & Saizhuo Wang & Lionel M. Ni & Heung-Yeung Shum, 2022. "Quant 4.0: Engineering Quantitative Investment with Automated, Explainable and Knowledge-driven Artificial Intelligence," Papers 2301.04020, arXiv.org.
    3. Yuze Lu & Hailong Zhang & Qiwen Guo, 2023. "Stock and market index prediction using Informer network," Papers 2305.14382, arXiv.org.
    4. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    5. Shima Nabiee & Nader Bagherzadeh, 2023. "Stock Trend Prediction: A Semantic Segmentation Approach," Papers 2303.09323, arXiv.org.
    6. Matej Steinbacher, 2023. "Predicting Stock Price Movement as an Image Classification Problem," Papers 2303.01111, arXiv.org.
    7. Abdellilah Nafia & Abdellah Yousfi & Abdellah Echaoui, 2023. "Equity-Market-Neutral Strategy Portfolio Construction Using LSTM-Based Stock Prediction and Selection: An Application to S&P500 Consumer Staples Stocks," IJFS, MDPI, vol. 11(2), pages 1-48, March.
    8. Tristan Lim, 2024. "Predictive crypto-asset automated market maker architecture for decentralized finance using deep reinforcement learning," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-29, December.
    9. Jiahao Chen & Xiaofei Li & Junjie Du, 2025. "Analysis of Frequent Trading Effects of Various Machine Learning Models," Computational Economics, Springer;Society for Computational Economics, vol. 65(3), pages 1707-1740, March.
    10. Opeyemi Sheu Alamu & Md Kamrul Siam, 2024. "Stock Price Prediction and Traditional Models: An Approach to Achieve Short-, Medium- and Long-Term Goals," Papers 2410.07220, arXiv.org.
    11. Adrian Millea, 2021. "Deep Reinforcement Learning for Trading—A Critical Survey," Data, MDPI, vol. 6(11), pages 1-25, November.
    12. Matteo Prata & Giuseppe Masi & Leonardo Berti & Viviana Arrigoni & Andrea Coletta & Irene Cannistraci & Svitlana Vyetrenko & Paola Velardi & Novella Bartolini, 2023. "LOB-Based Deep Learning Models for Stock Price Trend Prediction: A Benchmark Study," Papers 2308.01915, arXiv.org, revised Sep 2023.
    13. Joy Dip Das & Ruppa K. Thulasiram & Christopher Henry & Aerambamoorthy Thavaneswaran, 2024. "Encoder–Decoder Based LSTM and GRU Architectures for Stocks and Cryptocurrency Prediction," JRFM, MDPI, vol. 17(5), pages 1-23, May.
    14. Iqbal Murtza & Ayesha Saadia & Rabia Basri & Azhar Imran & Abdullah Almuhaimeed & Abdulkareem Alzahrani, 2022. "Forex Investment Optimization Using Instantaneous Stochastic Gradient Ascent—Formulation of an Adaptive Machine Learning Approach," Sustainability, MDPI, vol. 14(22), pages 1-13, November.
    15. Yugo Fujimoto & Kei Nakagawa & Kentaro Imajo & Kentaro Minami, 2022. "Uncertainty Aware Trader-Company Method: Interpretable Stock Price Prediction Capturing Uncertainty," Papers 2210.17030, arXiv.org, revised Nov 2022.
    16. Cheng Zhang & Nilam Nur Amir Sjarif & Roslina Ibrahim, 2023. "Deep learning models for price forecasting of financial time series: A review of recent advancements: 2020-2022," Papers 2305.04811, arXiv.org, revised Sep 2023.
    17. Kamil {L}. Szyd{l}owski & Jaros{l}aw A. Chudziak, 2024. "Hidformer: Transformer-Style Neural Network in Stock Price Forecasting," Papers 2412.19932, arXiv.org.
    18. Branka Hadji Misheva & Joerg Osterrieder, 2023. "A Hypothesis on Good Practices for AI-based Systems for Financial Time Series Forecasting: Towards Domain-Driven XAI Methods," Papers 2311.07513, arXiv.org.
    19. Srivinay & B. C. Manujakshi & Mohan Govindsa Kabadi & Nagaraj Naik, 2022. "A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network," Data, MDPI, vol. 7(5), pages 1-11, April.
    20. Reza Yarbakhsh & Mahdieh Soleymani Baghshah & Hamidreza Karimaghaie, 2023. "Predicting risk/reward ratio in financial markets for asset management using machine learning," Papers 2311.09148, arXiv.org.

    More about this item

    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:arx:papers:2503.22192. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.