IDEAS home Printed from https://ideas.repec.org/a/vrn/journl/y2024i2p35-45.html
   My bibliography  Save this article

Comparing ChatGPT and LSTM in predicting changes in quarterly financial metrics

Author

Listed:
  • Vitali CHAIKO

    (University of Library Studies and Information Technologies Sofia,Bulgaria)

Abstract

In the financial industry, the ability to predict financial metrics accurately and in a timely manner can significantly impact investment decisions, risk management, and strategic planning. In recent years, machine learning has emerged as a powerful tool for such predictions. This study aims to explore the heretofore underexplored predictive potential of ChatGPT by predicting positive or negative changes in quarterly financial metrics, such as revenue and sales numbers, using textual data from social media. The performance of ChatGPT is compared against Long Short-Term Memory (LSTM) neural network models developed as part of this research. The methodology involves preprocessing large datasets from Twitter concerning major companies such as Amazon, Google, and Tesla, training LSTM models, and prompt engineering for ChatGPT-based predictions. Initial findings indicate that LSTM models can predict quarterly financial metric changes with up to 87% accuracy, significantly outperforming ChatGPT, which achieves a maximum accuracy of 67%. Therefore, at the current time, ChatGPT cannot be considered a reliable predictive tool for changes in quarterly financial metrics.

Suggested Citation

  • Vitali CHAIKO, 2024. "Comparing ChatGPT and LSTM in predicting changes in quarterly financial metrics," Business & Management Compass, University of Economics Varna, issue 2, pages 35-45.
  • Handle: RePEc:vrn:journl:y:2024:i:2:p:35-45
    as

    Download full text from publisher

    File URL: https://bi.ue-varna.bg/ojs/index.php/bmc/article/view/50/14
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ChatGPT; financial metrics prediction; LSTM; twitter;
    All these keywords.

    JEL classification:

    • O14 - Economic Development, Innovation, Technological Change, and Growth - - Economic Development - - - Industrialization; Manufacturing and Service Industries; Choice of Technology
    • P24 - Political Economy and Comparative Economic Systems - - Socialist and Transition Economies - - - National Income, Product, and Expenditure; Money; Inflation
    • C41 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Duration Analysis; Optimal Timing Strategies
    • E13 - Macroeconomics and Monetary Economics - - General Aggregative Models - - - Neoclassical

    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:vrn:journl:y:2024:i:2:p:35-45. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Yana Doneva (email available below). General contact details of provider: https://edirc.repec.org/data/uevarbg.html .

    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.