LLMs to the Moon? Reddit Market Sentiment Analysis with Large Language Models
Open Access
- 30 April 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1014-1019
Abstract
Market sentiment analysis on social media content requires knowledge of both financial markets and social media jargon, which makes it a challenging task for human raters. The resulting lack of high-quality labeled data stands in the way of conventional supervised learning methods. In this work, we conduct a case study approaching this problem with semi-supervised learning using a large language model (LLM). We select Reddit as the target social media platform due to its broad coverage of topics and content types. Our pipeline first generates weak financial sentiment labels for Reddit posts with an LLM and then uses that data to train a small model that can be served in production. We find that prompting the LLM to produce Chain-of-Thought summaries and forcing it through several reasoning paths helps generate more stable and accurate labels, while training the student model using a regression loss further improves distillation quality. With only a handful of prompts, the final model performs on par with existing supervised models. Though production applications of our model are limited by ethical considerations, the model’s competitive performance points to the great potential of using LLMs for tasks that otherwise require skill-intensive annotation.Keywords
This publication has 13 references indexed in Scilit:
- Making Large Language Models Better Reasoners with Step-Aware VerifierarXiv, 2023
- Least-to-Most Prompting Enables Complex Reasoning in Large Language ModelsarXiv, 2023
- Self-Consistency Improves Chain of Thought Reasoning in Language ModelsarXiv, 2023
- PaLM: Scaling Language Modeling with PathwaysarXiv, 2022
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?2022
- Knowledge Distillation: A SurveyInternational Journal of Computer Vision, 2021
- WWW'18 Open Challenge2018
- Undue Influence? The Effect of Social Media Advice on Investment DecisionsSSRN Electronic Journal, 2017
- Textual Analysis in Accounting and Finance: A SurveyJournal of Accounting Research, 2016
- When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10‐KsThe Journal of Finance, 2011