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

Fine-Tuning Large Language Models for Stock Return Prediction Using Newsflow

Author

Listed:
  • Tian Guo
  • Emmanuel Hauptmann

Abstract

Large language models (LLMs) and their fine-tuning techniques have demonstrated superior performance in various language understanding and generation tasks. This paper explores fine-tuning LLMs for stock return forecasting with financial newsflow. In quantitative investing, return forecasting is fundamental for subsequent tasks like stock picking, portfolio optimization, etc. We formulate the model to include text representation and forecasting modules. We propose to compare the encoder-only and decoder-only LLMs, considering they generate text representations in distinct ways. The impact of these different representations on forecasting performance remains an open question. Meanwhile, we compare two simple methods of integrating LLMs' token-level representations into the forecasting module. The experiments on real news and investment universes reveal that: (1) aggregated representations from LLMs' token-level embeddings generally produce return predictions that enhance the performance of long-only and long-short portfolios; (2) in the relatively large investment universe, the decoder LLMs-based prediction model leads to stronger portfolios, whereas in the small universes, there are no consistent winners. Among the three LLMs studied (DeBERTa, Mistral, Llama), Mistral performs more robustly across different universes; (3) return predictions derived from LLMs' text representations are a strong signal for portfolio construction, outperforming conventional sentiment scores.

Suggested Citation

  • Tian Guo & Emmanuel Hauptmann, 2024. "Fine-Tuning Large Language Models for Stock Return Prediction Using Newsflow," Papers 2407.18103, arXiv.org, revised Aug 2024.
  • Handle: RePEc:arx:papers:2407.18103
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Tian Guo & Nicolas Jamet & Valentin Betrix & Louis-Alexandre Piquet & Emmanuel Hauptmann, 2020. "ESG2Risk: A Deep Learning Framework from ESG News to Stock Volatility Prediction," Papers 2005.02527, arXiv.org.
    2. David E. Allen & Michael McAleer & Abhay K. Singh, 2019. "Daily market news sentiment and stock prices," Applied Economics, Taylor & Francis Journals, vol. 51(30), pages 3212-3235, June.
    3. Ang, Andrew, 2014. "Asset Management: A Systematic Approach to Factor Investing," OUP Catalogue, Oxford University Press, number 9780199959327.
    4. Fama, Eugene F & French, Kenneth R, 1996. "Multifactor Explanations of Asset Pricing Anomalies," Journal of Finance, American Finance Association, vol. 51(1), pages 55-84, March.
    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. Cederburg, Scott & O’Doherty, Michael S. & Wang, Feifei & Yan, Xuemin (Sterling), 2020. "On the performance of volatility-managed portfolios," Journal of Financial Economics, Elsevier, vol. 138(1), pages 95-117.
    2. Adam Zaremba & Jacob Koby Shemer, 2018. "Price-Based Investment Strategies," Springer Books, Springer, number 978-3-319-91530-2, February.
    3. Lu Zhang, 2017. "The Investment CAPM," European Financial Management, European Financial Management Association, vol. 23(4), pages 545-603, September.
    4. Calvet, Laurent E. & Betermier, Sebastien & Jo, Evan, 2019. "A Supply and Demand Approach to Equity Pricing," CEPR Discussion Papers 13974, C.E.P.R. Discussion Papers.
    5. Kewei Hou & Chen Xue & Lu Zhang, 2017. "Replicating Anomalies," NBER Working Papers 23394, National Bureau of Economic Research, Inc.
    6. Harrison Hong & Terence Lim & Jeremy C. Stein, 2000. "Bad News Travels Slowly: Size, Analyst Coverage, and the Profitability of Momentum Strategies," Journal of Finance, American Finance Association, vol. 55(1), pages 265-295, February.
    7. Eun, Cheol & Lee, Kyuseok & Wei, Fengrong, 2023. "Dual role of the country factors in international asset pricing: The local factors and proxies for the global factors," International Review of Financial Analysis, Elsevier, vol. 89(C).
    8. Muhammad Kashif & Thomas Leirvik, 2022. "The MAX Effect in an Oil Exporting Country: The Case of Norway," JRFM, MDPI, vol. 15(4), pages 1-16, March.
    9. Pastor, Lubos & Stambaugh, Robert F., 2003. "Liquidity Risk and Expected Stock Returns," Journal of Political Economy, University of Chicago Press, vol. 111(3), pages 642-685, June.
    10. Abugri, Benjamin A. & Dutta, Sandip, 2014. "Are we overestimating REIT idiosyncratic risk? Analysis of pricing effects and persistence," International Review of Economics & Finance, Elsevier, vol. 29(C), pages 249-259.
    11. Philip A. Stork, 2011. "The intertemporal mechanics of European stock price momentum," Studies in Economics and Finance, Emerald Group Publishing Limited, vol. 28(3), pages 217-232, August.
    12. Robert P. Flood & Andrew K. Rose, 2005. "Financial Integration: A New Methodology And An Illustration," Journal of the European Economic Association, MIT Press, vol. 3(6), pages 1349-1359, December.
    13. Dimitrios D. Thomakos & Michail S. Koubouros, 2011. "The Role of Realised Volatility in the Athens Stock Exchange," Multinational Finance Journal, Multinational Finance Journal, vol. 15(1-2), pages 87-124, March - J.
    14. Tobias J. Moskowitz & Mark Grinblatt, 2002. "What Do We Really Know About the Cross-Sectional Relation Between Past and Expected Returns?," Yale School of Management Working Papers ysm259, Yale School of Management.
    15. Borovička, Jaroslav & Hansen, Lars Peter, 2014. "Examining macroeconomic models through the lens of asset pricing," Journal of Econometrics, Elsevier, vol. 183(1), pages 67-90.
    16. Alan Gregory & Julie Whittaker, 2013. "Exploring the Valuation of Corporate Social Responsibility—A Comparison of Research Methods," Journal of Business Ethics, Springer, vol. 116(1), pages 1-20, August.
    17. John H. Cochrane, 1999. "New facts in finance," Economic Perspectives, Federal Reserve Bank of Chicago, vol. 23(Q III), pages 36-58.
    18. Chongsoo An & John J. Cheh & Il-woon Kim, 2017. "Do Value Stocks Outperform Growth Stocks in the U.S. Stock Market?," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 7(2), pages 1-7.
    19. Gniadkowska-Szymańska Agata, 2017. "The impact of trading liquidity on the rate of return on emerging markets: the example of Poland and the Baltic countries," Financial Internet Quarterly (formerly e-Finanse), Sciendo, vol. 13(4), pages 136-148, December.
    20. Tim Brailsford & Clive Gaunt & Michael A O’Brien, 2012. "Size and book-to-market factors in Australia," Australian Journal of Management, Australian School of Business, vol. 37(2), pages 261-281, August.

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