Paper: arXiv 2612.05165
Authors: Joseph Engelberg, Songrun He, Linying Lv, Asaf Manela, William Mullins, Luka Vulicevic, Jimmy Wu
Abstract
Large language models are increasingly central to finance research, yet their training on recent data raises lookahead bias concerns. Whether this bias materially affects a given application is an empirical question, but answering it requires benchmarks themselves free of lookahead bias. We survey two complementary strategies. The first, changing the text, anonymizes inputs so the model cannot link them to its training data; we focus on entity neutering, which uses the language model itself to iteratively remove identifying information. The second, changing the model, trains models exclusively on data available before each historical period; we focus on chronologically consistent language models for pretraining and instruction tuning. We illustrate both approaches when predicting stock returns from news and offer guidance on tool selection across research contexts.
Complexity vs Empirical Score
- Math Complexity: 3.5/10
- Empirical Rigor: 6.0/10 (capped from 6.5: transaction costs not modelled; reported Sharpe ratio of 4.9 is implausibly high for daily or lower-frequency data; see penalty flags)
- Quadrant: Street Traders — empirical and applied, lower math complexity (effective empirical rigor capped from 6.5)
Why this score: The paper provides a clear, highly practical survey of measuring and mitigating lookahead bias in LLMs using entity neutering and chronologically consistent models. While mathematical derivations are light, the empirical strategy and focus on real-world financial applications are robust and well-grounded.
Research Flowchart
flowchart TD
A["Research Goal: Measure & Mitigate Lookahead Bias in LLMs"] --> B["Data & Inputs: Financial News & Stock Return Datasets"]
B --> C["Methodology Step 1: Text Modification via Entity Neutering"]
B --> D["Methodology Step 2: Chronologically Consistent Model Training"]
C --> E["Computational Process: Iterative ID Removal & Return Prediction"]
D --> E
E --> F["Outcomes: Reduced Bias, Validated Benchmarks & Tool Selection Guidance"]
Evidence Card
What the authors claim, on what data, and who has checked it. Read from the paper's own text by a language model: every quote is verbatim, nothing was re-run. How to read this card
Proposes
The paper proposes two complementary mitigation strategies: entity neutering of text inputs and chronologically consistent language models that are pretrained and instruction‑tuned only on data available up to each historical period.
Source sentence
The first, changing the text, anonymizes inputs so the model cannot link them to its training data; we focus on entity neutering, which uses the language model itself to iteratively remove identifying information. The second, changing the model, trains models exclusively on data available before each historical period; we focus on chronologically consistent language models for pretraining and instruction tuning.
Assumes 3
- Sentiment scores from the language model are assumed to reflect only information available at the time of publication. statistical
Source sentence
This inference rests on the assumption that the model’s sentiment scores reflect only information available at the time of publication.
- The bias analysis assumes that models trained on data extending through recent years may have seen future outcomes. model
Source sentence
That assumption fails when frontier language models are trained on text extending through recent years.
- Financial research assumes that prices reflect information available at the time, i.e., market efficiency. market
Source sentence
Finance research depends on the principle that prices reflect information available at the time.
Data
2008-01 – 2023-07 · US equities (news‑driven stocks) · equities · daily
- historical news articles text-news public
Source sentence
2 The Lookahead Bias Problem Consider a simple research design: extract sentiment from historical news articles using a language model, then test whether sentiment predicts subsequent stock returns. If positive sentiment predicts positive returns, the researcher infers that news articles contain value-relevant information not yet reflected in prices.
- stock returns market-prices public
Source sentence
If positive sentiment predicts positive returns, the researcher infers that news articles contain value-relevant information not yet reflected in prices.
- VIX index macro public
Source sentence
For strongly negative news, the difference in next-day abnormal returns rises from 3.3 bps when VIX is below its 75th percentile to 9.5 bps when it is above it. Lopez-Lira et al. (2026) find that GPT-4o’s mean absolute percentage error in recalling VIX falls from 6.7% over 1990–2023 to 0.34% in the final ten years before its October 2023 cutoff.
- S&P 500 daily closing prices (2000‑2024) market-prices public
Source sentence
We repeat this prompt for every S&P 500 trading day from January 3, 2000, to July 31, 2024, which precedes the knowledge cutoffs of the Gemma models we use. Table 2. Forecast Accuracy of LLM Recall by Model Size Forecast Performance Model MAPE (%) DA (%) Panel A: LLM forecasts Gemma 3 (1B) 64.570 49.093 Gemma 3 (4B) 16.913 53.907 Gemma 3 (12B) 4.047 54.457 Gemma 3 (27B) 4.158 57.847 Gemma 4 (31B) 2.556 58.139 Panel
Costs
Not modeled
Source sentence
9The Sharpe ratios reported in this exercise are based on gross strategy returns and therefore do not account for transaction costs.
Finds 5
Sharpe 4.90
- Sentiment extracted from neutered text agrees with raw text 96% of the time and its return predictability nearly matches that of raw text. predictive-accuracy
Source sentence
The sentiment extracted from neutered text agrees with the sentiment from raw text 96% of the time.4 More importantly, the return predictability of neutered text nearly matches that of raw text. Stocks with positive sentiment on a given day earn similar next-day abnormal returns whether that sentiment is extracted from raw or neutered articles.
- The performance gap between raw and neutered text provides an upper bound on lookahead bias, which appears modest in daily news‑based return prediction. statistical
Source sentence
Results from both strategies suggest that lookahead bias in daily news-based return prediction appears modest. The strong predictability documented in this recent research largely survives when researchers eliminate or control for lookahead bias.
- LLM recall forecasts achieve a directional accuracy of 58%, which the authors attribute to lookahead bias. predictive-accuracy
Source sentence
A directional accuracy of 58% is large and likely reflects lookahead bias: Lopez-Lira et al. (2026) show that when the same prompt targets dates after the knowledge cutoff, accuracy falls sharply.
- Lookahead bias is larger for large, prominent firms, recent or salient periods, and longer (annual) horizons. statistical
Source sentence
The scope for lookahead bias is likely greater for large, prominent firms, more recent or salient periods, annual horizons, market and macroeco-nomic aggregates, and larger models.
- Sharpe ratios reported are based on gross returns and do not account for transaction costs. performance
Source sentence
9The Sharpe ratios reported in this exercise are based on gross strategy returns and therefore do not account for transaction costs.
Checked by others
Supported by
- Your AI, Not Your View: The Bias of LLMs in Investment Analysis
Compare the findings
This paper: Lookahead bias is larger for large, prominent firms, recent or salient periods, and longer (annual) horizons.
That paper: Bias scores consistently decline as company size decreases, and the gap between highest- and lowest-bias quantiles is statistically significant across all models evaluated.
Contradicted by
- Anonymization and Information Loss
Compare the findings
This paper: Sentiment extracted from neutered text agrees with raw text 96% of the time and its return predictability nearly matches that of raw text.
That paper: Sentiment scores from raw transcripts are a strong signal of contemporaneous returns (coeff. = 2.487, t = 18.832), and this explanatory power is substantially attenuated after anonymization.
Qualified by
- Predictive Power of LLMs in Financial Markets
Compare the findings
This paper: The performance gap between raw and neutered text provides an upper bound on lookahead bias, which appears modest in daily news‑based return prediction.
That paper: The authors report an unavoidable look-ahead bias in GPT regardless of prompt quality, and find that the Beige Book contains correlation information but GPT has too much look-ahead bias.
- Look-Ahead-Bench: a Standardized Benchmark of Look-ahead Bias in Point-in-Time LLMs for Finance
Compare the findings
This paper: The performance gap between raw and neutered text provides an upper bound on lookahead bias, which appears modest in daily news‑based return prediction.
That paper: Standard LLMs show significant lookahead bias, with alpha decay exceeding -15 percentage points between the in-sample and out-of-sample periods, while Pitinf models maintain stable performance.
Extracted 2026-12-05 · same card as JSON · A language model chose these items: check the source sentence before relying on one.
Cited References (33)
- Sample-Dependent Results Using Accounting and Market Data: Some Evidence (1986) — link
- Survivorship Bias in Performance Studies (1992) — link
- Mutual Fund Survivorship (2002) — link
- Extracting Training Data from Large Language Models (2021) — link
- Quantifying Memorization Across Neural Language Models (2023) — link
- Survivorship Bias and Attrition Effects in Measures of Performance Persistence (1999) — link
- Expected Returns and Large Language Models (2026) — link
- Total Recall? Evaluating the Macroeconomic Knowledge of Large Language Models (2025) — link
and 25 more
- AI ’s Predictable Memory in Financial Analysis (2025) — link
- Entity Neutering (2026) — link
- Assessing Look-Ahead Bias in Stock Return Predictions Generated by GPT Sentiment Analysis — → 2309.17322
- Time Travel in LLM s: Tracing Data Contamination in Large Language Models (2024) — link
- Chronologically Consistent Large Language Models — → 2502.21206
- Chronologically Consistent Reasoning Models (2025) — link
- NoLBERT : A No Lookahead(back) Foundational Language Model (2025) — link
- Robust Performance Hypothesis Testing with the S harpe Ratio (2008) — link
- Caution Ahead: Numerical Reasoning and Look-Ahead Bias in AI Models (2026) — link
- Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models — → 2304.07619
- The Memorization Problem: Can We Trust LLM s’ Economic Forecasts? (2026) — link
- Large Language Models: An Applied Econometric Framework (2026) — link
- Data Contamination: From Memorization to Exploitation (2022) — link
- Proving Test Set Contamination in Black-Box Language Models (2024) — link
- To the Cutoff… and Beyond? A Longitudinal Perspective on LLM Data Contamination (2024) — link
- StoriesLM : A Family of Language Models with Time-Indexed Training Data (2024) — link
- Lookahead Bias in Pretrained Language Models (2025) — link
- BERT : Pre-training of Deep Bidirectional Transformers for Language Understanding (2019) — link
- The Llama 3 Herd of Models (2024) — link
- Language Models are Unsupervised Multitask Learners (2019) — link
- GLUE : A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding (2019) — link
- HellaSwag : Can a Machine Really Finish Your Sentence? (2019) — link
- Gemma 3 Technical Report (2025) — link
- Gemma 4 Technical Report (2026) — link
- FlashAttention : Fast and memory-efficient exact attention with IO -awareness (2022)
3 of 33 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2716 linked papers.