Publication: A Comparison of LLM-Based and Stock-Return-Based Financial Sentiment Classifiers
| datacite.rights | restricted | |
| dc.contributor.advisor | Xiong, Wei | |
| dc.contributor.advisor | Heide, Felix | |
| dc.contributor.author | Pesendorfer, Alexander | |
| dc.date.accessioned | 2024-07-17T13:57:50Z | |
| dc.date.accessioned | 2026-09-29T21:56:51Z | |
| dc.date.available | 2024-07-17T13:57:50Z | |
| dc.date.available | 2026-09-29T21:56:51Z | |
| dc.date.created | 2024-05-06 | |
| dc.date.issued | 2024-07-17 | |
| dc.description.abstract | In this paper, we build on existing applications of large language models, including both chat models and embedding models, for the purpose of sentiment classification of financial news articles. We evaluate two types of classification models: general GPT-based models that do not incorporate information about stock returns and a specialized model that is trained on stock returns. Through comparisons of classification performance and sentiment-based portfolio performance, we show that GPT-based models perform as well as context-specific, stock-return-based models. One drawback of using a chat model for sentiment classification is that it does not generate a ranking over the set of articles. Thus, we are limited to acting on all articles in our trading strategies. We show that a logistic regression model that utilizes embeddings as features and labels generated directly by GPT as targets can be used to improve on the performance of direct-GPT-based trading strategies because it allows us to rank the articles by confidence in positive or negative labels. Finally, we explore model performance across various categories of news and find that articles about earnings expectations or earnings reports are the most informative. All models classify high-impact earnings news accurately, and, as a result, earnings-related news is found to be a significant driver of returns in our sentiment-based portfolios. | en_US |
| dc.format.mimetype | application/pdf | |
| dc.identifier.uri | http://arks.princeton.edu/ark:/88435/dsp01gx41mn21n | |
| dc.identifier.uri | https://theses-dissertations.princeton.edu/handle/88435/dsp01gx41mn21n | |
| dc.language.iso | en | en_US |
| dc.title | A Comparison of LLM-Based and Stock-Return-Based Financial Sentiment Classifiers | en_US |
| dc.type | Princeton University Senior Theses | |
| dspace.entity.type | Publication | |
| pu.certificate | Finance Program | en_US |
| pu.certificate | Center for Statistics and Machine Learning | |
| pu.contributor.authorid | 920245428 | |
| pu.date.classyear | 2024 | en_US |
| pu.department | Computer Science | en_US |
| pu.mudd.walkin | No | en_US |
| pu.pdf.coverpage | SeniorThesisCoverPage |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- PESENDORFER-ALEXANDER-THESIS.pdf
- Size:
- 710.52 KB
- Format:
- Adobe Portable Document Format
Download
License bundle
1 - 1 of 1
Loading...
- Name:
- LICENSE.txt
- Size:
- 258 B
- Format:
- Plain Text
- Description:
Download