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

Temporal Relational Reasoning of Large Language Models for Detecting Stock Portfolio Crashes

Author

Listed:
  • Kelvin J. L. Koa
  • Yunshan Ma
  • Ritchie Ng
  • Huanhuan Zheng
  • Tat-Seng Chua

Abstract

Stock portfolios are often exposed to rare consequential events (e.g., 2007 global financial crisis, 2020 COVID-19 stock market crash), as they do not have enough historical information to learn from. Large Language Models (LLMs) now present a possible tool to tackle this problem, as they can generalize across their large corpus of training data and perform zero-shot reasoning on new events, allowing them to detect possible portfolio crash events without requiring specific training data. However, detecting portfolio crashes is a complex problem that requires more than basic reasoning abilities. Investors need to dynamically process the impact of each new information found in the news articles, analyze the the relational network of impacts across news events and portfolio stocks, as well as understand the temporal context between impacts across time-steps, in order to obtain the overall aggregated effect on the target portfolio. In this work, we propose an algorithmic framework named Temporal Relational Reasoning (TRR). It seeks to emulate the spectrum of human cognitive capabilities used for complex problem-solving, which include brainstorming, memory, attention and reasoning. Through extensive experiments, we show that TRR is able to outperform state-of-the-art solutions on detecting stock portfolio crashes, and demonstrate how each of the proposed components help to contribute to its performance through an ablation study. Additionally, we further explore the possible applications of TRR by extending it to other related complex problems, such as the detection of possible global crisis events in Macroeconomics.

Suggested Citation

  • Kelvin J. L. Koa & Yunshan Ma & Ritchie Ng & Huanhuan Zheng & Tat-Seng Chua, 2024. "Temporal Relational Reasoning of Large Language Models for Detecting Stock Portfolio Crashes," Papers 2410.17266, arXiv.org.
  • Handle: RePEc:arx:papers:2410.17266
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Zheng, Huanhuan, 2020. "Coordinated bubbles and crashes," Journal of Economic Dynamics and Control, Elsevier, vol. 120(C).
    2. Òscar Jordà & Moritz Schularick & Alan M. Taylor, 2017. "Macrofinancial History and the New Business Cycle Facts," NBER Macroeconomics Annual, University of Chicago Press, vol. 31(1), pages 213-263.
    3. Kris Boudt & Ellen C.S. Paulus & Dale W.R. Rosenthal, 2013. "Funding liquidity, market liquidity and TED spread : A two-regime model," Working Paper Research 244, National Bank of Belgium.
    4. Fuli Feng & Xiangnan He & Xiang Wang & Cheng Luo & Yiqun Liu & Tat-Seng Chua, 2018. "Temporal Relational Ranking for Stock Prediction," Papers 1809.09441, arXiv.org, revised Jan 2019.
    5. Muhammad Abubakr Naeem & Saba Sehrish & Mabel D. Costa, 2021. "COVID-19 pandemic and connectedness across financial markets," Pacific Accounting Review, Emerald Group Publishing Limited, vol. 33(2), pages 165-178, February.
    6. repec:eme:par000:par-08-2020-0114 is not listed on IDEAS
    7. B. B. Mandelbrot, 2001. "Scaling in financial prices: I. Tails and dependence," Quantitative Finance, Taylor & Francis Journals, vol. 1(1), pages 113-123.
    8. Boudt, Kris & Paulus, Ellen C.S. & Rosenthal, Dale W.R., 2017. "Funding liquidity, market liquidity and TED spread: A two-regime model," Journal of Empirical Finance, Elsevier, vol. 43(C), pages 143-158.
    9. Babecký, Jan & Havránek, Tomáš & Matějů, Jakub & Rusnák, Marek & Šmídková, Kateřina & Vašíček, Bořek, 2013. "Leading indicators of crisis incidence: Evidence from developed countries," Journal of International Money and Finance, Elsevier, vol. 35(C), pages 1-19.
    10. Yuezhang Che & Shuyan Chen & Xin Liu, 2022. "Sparse Index Tracking Portfolio with Sector Neutrality," Mathematics, MDPI, vol. 10(15), pages 1-22, July.
    11. David Hirshleifer & Sonya S. Lim & Siew Hong Teoh, 2011. "Limited Investor Attention and Stock Market Misreactions to Accounting Information," The Review of Asset Pricing Studies, Society for Financial Studies, vol. 1(1), pages 35-73.
    12. Zihan Chen & Lei Nico Zheng & Cheng Lu & Jialu Yuan & Di Zhu, 2023. "ChatGPT Informed Graph Neural Network for Stock Movement Prediction," Papers 2306.03763, arXiv.org, revised Sep 2023.
    13. 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.
    14. Philipp Lorenz-Spreen & Bjarke Mørch Mønsted & Philipp Hövel & Sune Lehmann, 2019. "Accelerating dynamics of collective attention," Nature Communications, Nature, vol. 10(1), pages 1-9, December.
    15. Taleb, Nassim Nicholas & Bar-Yam, Yaneer & Cirillo, Pasquale, 2022. "On single point forecasts for fat-tailed variables," International Journal of Forecasting, Elsevier, vol. 38(2), pages 413-422.
    16. Xu, Liao & Zhang, Xuan & Zhao, Jing, 2023. "Limited investor attention and biased reactions to information: Evidence from the COVID-19 pandemic," Journal of Financial Markets, Elsevier, vol. 62(C).
    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. 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.
    2. Xu, Yanyan & Huang, Dengshi & Ma, Feng & Qiao, Gaoxiu, 2019. "Liquidity and realized range-based volatility forecasting: Evidence from China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 525(C), pages 1102-1113.
    3. 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).
    4. Minxing Sun & Weike Xu, 2024. "Short selling and readability in financial disclosures: A controlled experiment," The Financial Review, Eastern Finance Association, vol. 59(2), pages 265-292, May.
    5. Sifat, Imtiaz & Zarei, Alireza & Hosseini, Seyedmehdi & Bouri, Elie, 2022. "Interbank liquidity risk transmission to large emerging markets in crisis periods," International Review of Financial Analysis, Elsevier, vol. 82(C).
    6. Gunay, Samet, 2020. "Seeking causality between liquidity risk and credit risk: TED-OIS spreads and CDS indexes," Research in International Business and Finance, Elsevier, vol. 52(C).
    7. Enoksen, F.A. & Landsnes, Ch.J. & Lučivjanská, K. & Molnár, P., 2020. "Understanding risk of bubbles in cryptocurrencies," Journal of Economic Behavior & Organization, Elsevier, vol. 176(C), pages 129-144.
    8. Moinas, Sophie & Nguyen, Minh & Valente, Giorgio, 2017. "Funding Constraints and Market Illiquidity in the European Treasury Bond Market," TSE Working Papers 17-814, Toulouse School of Economics (TSE).
    9. Basher, Syed Abul & Haug, Alfred A. & Sadorsky, Perry, 2017. "The impact of oil-market shocks on stock returns in major oil-exporting countries: A Markov-switching approach," MPRA Paper 81638, University Library of Munich, Germany.
    10. Blankespoor, Elizabeth & deHaan, Ed & Marinovic, Iván, 2020. "Disclosure processing costs, investors’ information choice, and equity market outcomes: A review," Journal of Accounting and Economics, Elsevier, vol. 70(2).
    11. Jakub Jakl, 2019. "The SER Spread Under the ECB Quantitative Easing," European Financial and Accounting Journal, Prague University of Economics and Business, vol. 2019(2), pages 43-70.
    12. Gian Piero Aielli & Davide Pirino, 2023. "Funding Liquidity and Stocks’ Market Liquidity: Structural Estimation From High-Frequency Data," CEIS Research Paper 568, Tor Vergata University, CEIS, revised 28 Nov 2023.
    13. The Editors, 2018. "Reviews of Books and Teaching Materials," The American Statistician, Taylor & Francis Journals, vol. 72(2), pages 206-212, April.
    14. Socaciu, Erzsébet-Mirjám & Nagy, Bálint-Zsolt & Benedek, Botond, 2023. "No place like home: Home bias and flight-to-quality in Group of Seven countries," Economic Modelling, Elsevier, vol. 129(C).
    15. Adeel Riaz & Assad Ullah & Li Xingong, 2024. "Does trade policy uncertainty in China and USA matter for key financial markets?," Economic Change and Restructuring, Springer, vol. 57(2), pages 1-30, April.
    16. Layal MansourIshrakieh & Leila Dagher & Sadika El Hariri, 2020. "A financial stress index for a highly dollarized developing country : The case of Lebanon," Central Bank Review, Research and Monetary Policy Department, Central Bank of the Republic of Turkey, vol. 20(2), pages 43-52.
    17. Cuñat, Vicente & Xu, Moqi, 2025. "Timing complex news to target attention," LSE Research Online Documents on Economics 122380, London School of Economics and Political Science, LSE Library.
    18. Weijie Pang & Stephan Sturm, 2020. "XVA Valuation under Market Illiquidity," Papers 2011.03543, arXiv.org.
    19. Marta Gómez-Puig & Mary Pieterse-Bloem & Simón Sosvilla-Rivero, 2022. ""Dynamic connectedness between credit and liquidity risks in EMU sovereign debt markets"," IREA Working Papers 202217, University of Barcelona, Research Institute of Applied Economics, revised Oct 2022.
    20. Dong, Mengming Michael & Stratopoulos, Theophanis C. & Wang, Victor Xiaoqi, 2024. "A scoping review of ChatGPT research in accounting and finance," International Journal of Accounting Information Systems, Elsevier, vol. 55(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:2410.17266. 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.