< back

Evaluating Company-specific Biases in Financial Sentiment Analysis using Large Language Models

Kei Nakagawa, Masanori Hirano, Yugo Fujimoto

2024 IEEE International Conference on Big Data, Dec. 16, 2024


Conference

2024 IEEE International Conference on Big Data (IEEE BigData 2024)

Abstract

This study aims to evaluate the sentiment of financial texts using large language models~(LLMs) and to empirically determine whether LLMs exhibit company-specific biases in sentiment analysis. Specifically, we examine the impact of general knowledge about firms on the sentiment measurement of texts by LLMs. Firstly, we compare the sentiment scores of financial texts by LLMs when the company name is explicitly included in the prompt versus when it is not. We define and quantify company-specific bias as the difference between these scores. Next, we construct an economic model to theoretically evaluate the impact of sentiment bias on investor behavior. This model helps us understand how biased LLM investments, when widespread, can distort stock prices. This implies the potential impact on stock prices if investments driven by biased LLMs become dominant in the future. Finally, we conduct an empirical analysis using Japanese financial text data to examine the relationship between firm-specific sentiment bias, corporate characteristics, and stock performance.

Keywords

large language model; sentiment analysis; bias; financial text mining;


Paper

arXiv:2411.00420 (doi.org/10.48550/arXiv.2411.00420)


bibtex

@inproceedings{Nakagawa2024-bigdata,
  title={{Evaluating Company-specific Biases in Financial Sentiment Analysis using Large Language Models}},
  author={Kei Nakagawa and Masanori Hirano and Yugo Fujimoto},
  booktitle={2024 IEEE International Conference on Big Data},
  publisher={IEEE},
  archivePrefix={arXiv},
  arxivId={2411.00420},
  year={2024}
}