TL;DR
This paper investigates the historical financial knowledge of Large Language Models (LLMs), finding they perform better on recent data and larger companies but struggle with older information. Interestingly, LLMs are also more prone to "hallucinate" (generate incorrect information) for larger companies, especially with recent data, highlighting critical biases for financial applications.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly used for financial information retrieval and analysis. While it's understood they have a knowledge cutoff date, their ability to access and accurately recall historical financial data is less clear. This gap is crucial because financial decisions often rely on understanding past performance. Furthermore, biases in LLM knowledge could lead to suboptimal investment strategies and disproportionately harm less experienced investors. This paper aims to quantify these historical knowledge gaps and explore how company-specific characteristics influence LLM accuracy and the propensity for generating factual errors (hallucinations).
Methods
The researchers constructed a novel dataset of over 197,000 revenue-related questions for U.S. publicly traded companies spanning 43 years (1980-2022). They then evaluated several leading LLMs (including GPT-4o, GPT-4o-mini, Llama-3, Gemini, and DeepSeek) by comparing their answers to ground truth financial data. To analyze biases, they employed two main approaches:
- Temporal Analysis: Examining how LLM performance changes over time, particularly before and after the SEC's EDGAR system became widely accessible in 1995.
- Cross-Sectional Analysis: Investigating how company characteristics like market capitalization (size), retail investor attention (Robinhood data), institutional investor attention (Bloomberg AIA), SEC filing access, and financial report readability (Bog Index) correlate with LLM accuracy and hallucination rates.
They defined "success" as an answer within 10% of the ground truth and "hallucination" as a factual discrepancy exceeding this threshold.
Datasets
- Revenue Prompt Dataset (RPD): A newly constructed dataset of over 197,000 question-answer pairs about company revenues, sourced from Compustat-IQ, covering 17,621 unique U.S. companies from 1980 to 2022.
- Company Characteristic Data: Data on market capitalization (CRSP), retail investor attention (Robintrack), institutional investor attention (Bloomberg AIA), SEC filing access (SEC-EDGAR), and financial report readability (Bog Index).
- Existing Benchmarks: The study also references and uses subsets of data for evaluating other models, such as RPD200perYear and RPD430, to ensure robustness and manage API costs.
Key Insights and Ideas
- Retrograde Knowledge Bias: LLMs are significantly better at recalling recent financial data than historical data, with performance dropping sharply for years before 1995. This suggests a "recency bias" in their training data.
- Size Matters (Mostly): LLMs generally perform better for larger companies (higher market capitalization). This is intuitive, as larger companies often have more readily available and widely discussed financial information.
- The Hallucination Paradox: Counterintuitively, LLMs are more likely to hallucinate for larger companies, especially for recent data, even though they are more accurate for these companies overall. This suggests a potential overconfidence in their knowledge for well-known entities.
- Temporal vs. Cross-Sectional Trade-offs: While LLMs show a clear temporal bias towards recent data, their cross-sectional biases (e.g., favoring larger firms) are also significant and can lead to skewed financial insights.
Key Results
- Temporal Performance: Llama-3-70B-Chat, for instance, accurately answered revenue values for 54.17% of companies in 2017 but only 6.32% in 1995.
- Market Cap Impact: A tenfold increase in market capitalization was associated with a 1.0091 rise in the log odds ratio of accurately answering revenue questions for Llama-3-70B-Chat.
- Hallucination Rates: A tenfold increase in market capitalization also resulted in a 0.1914 rise in the log odds ratio of hallucinating revenue for Llama-3-70B-Chat.
- Recent Dip: An interesting finding was a noticeable dip in LLM performance for all models in 2021 and 2022, despite generally better performance on recent years.
- Readability Matters: Less readable financial filings (higher Bog Index score) correlated with decreased LLM performance.
Limitations and Future Work
- API Costs: The study acknowledges that evaluating all models on the full dataset was cost-prohibitive, leading to the use of smaller subsets for some models (GPT-4.5, DeepSeek-V3, Gemini 1.5 Pro).
- Model Availability: The researchers were unable to analyze finance-domain-specific pre-trained LLMs like BloombergGPT due to their unavailability.
- Future Work: The authors suggest exploring the reasons behind the recent dip in performance (2021-2022), further investigating the hallucination paradox, and expanding the methodology to other domains beyond finance. They also emphasize the need for researchers to consider stratified biases in their LLM evaluations.
Summary updated