TL;DR
When you ask a modern Large Language Model (LLM) to score the sentiment of a 2018 news article, it might already "know" what happened to that company in 2020—contaminating your financial backtest with lookahead bias. This paper surveys two ways to build a clean benchmark: changing the text (anonymizing it until the LLM can't recognize the firm or date) and changing the model (training smaller LLMs strictly on data available before each historical period). The reassuring news? For daily stock-level news, lookahead bias is surprisingly modest—though it spikes dramatically for large firms, market-wide indexes, and longer time horizons.
What Problem Does This Paper Address?
Finance research relies on a strict rule: you can't peek into the future. If you test a trading strategy on historical news, your model can only use information available at the time of publication.
Modern LLMs break this rule. Because they are trained on vast corpora extending up to recent months, they may have memorized what happened after a historical article was published. Even if you strip out company names, frontier models can often deduce the firm from contextual clues (products, executives, locations) or memorized phrasing.
Consider a real example from the paper: a genuinely mixed March 2018 news article about Chipotle's incoming CEO, Brian Niccol. Over the next three months, Chipotle's stock surged 44%. A model trained through 2024 knows this turnaround happened, so it scores the 2018 article as strongly positive—not because the text is positive, but because it knows the future. Simply testing models only on post-cutoff data isn't a viable fix either, as it leaves researchers with a tiny slice of history (e.g., just 146 trading days) that is too short for robust inference.
Methods
To measure and eliminate lookahead bias, the authors survey two complementary strategies:
- Changing the Text (Entity Neutering): Instead of abandoning powerful frontier models, you scrub the input. Entity neutering uses the LLM itself as an adversarial agent: it iteratively masks identifying details (firm names, executives, dates, numbers, tickers) and paraphrases the text until a separate, independent instance of the LLM can no longer guess the firm or date.
- Changing the Model (Chronologically Consistent LLMs): You eliminate the bias at its source by training models exclusively on data available before each historical cutoff. The authors highlight
ChronoBERT(149M parameters, encoder) andChronoGPT(1.5B parameters, decoder), which are released as annual vintages from 1999 to 2024. They also coverChronoGPT-Instruct, which filters instruction-tuning datasets so that chat-capable models don't accidentally learn about future events during fine-tuning.
Datasets
- News Evaluation: Over 500,000 Dow Jones Archive news articles (2000–2022) for entity neutering, plus 390,060 articles (2008–2023) for
ChronoBERTchecks. - Chronological Pretraining: An initial ~7 billion tokens of archived news, scientific publications, and historical web content published before 2000, expanded year-by-year through 2024.
- Instruction Tuning: Over 425,000 prompt-response pairs screened by an LLM classifier to exclude any concepts, companies, or events from 2000 onward.
- Market Recall Benchmark: Daily S&P 500 closing prices from January 3, 2000, to July 31, 2024, used to test memorization across model sizes (Gemma 3 1B–27B and Gemma 4 31B).
Key Insights and Ideas
- Daily stock-level news is relatively safe: Most of the return predictability documented in recent LLM finance papers survives when you strip out lookahead bias.
- Lookahead bias is not uniform: It is concentrated where LLMs have the strongest memories—specifically for large, prominent firms, recent or high-salience periods (like high-VIX regimes or COVID-19), longer horizons (annual vs. daily), market/macro aggregates (S&P 500 vs. individual stocks), and larger models.
- The core tradeoff: Entity neutering lets you keep frontier-model intelligence, but requires you to correctly specify all channels of lookahead bias. Chronologically consistent models guarantee zero lookahead bias without any assumptions, but at the cost of smaller model capacity.
Key Results
- The Chipotle Test: On the March 2018 article, GPT-5 nano's sentiment drops from strongly positive (raw) to slightly negative (neutered). Using text embeddings, a chronologically consistent
ChronoGPT2017predicts a near-zero 0.44% three-month abnormal return, whereasChronoGPT2024predicts 18.83%. - Entity Neutering: After at most nine iterations, firm identification drops from 11.3% to 0.11% (indistinguishable from random guessing), and date identification within a two-week window is 0.03%. Neutered sentiment still agrees with raw sentiment 96% of the time, and at most 12%–36% of next-day return predictability improvement is attributable to lookahead bias.
- Chronological Models: From 2008–2023,
ChronoBERTandChronoGPTachieve long-short portfolio Sharpe ratios of ~4.8–4.9, matching the much larger Llama 3.1 (8B).ChronoGPT-Instructretains at least 54%–62% of prompt-based trading predictability. - Model Size & Memorization: When asked to recall S&P 500 closing prices, directional accuracy climbs from 49.09% (Gemma 3 1B) to 57.85% (Gemma 3 27B) and 58.14% (Gemma 4 31B)—beating the historical mean benchmark (53.52%).
Limitations and Future Work
- Neutering assumptions: Entity neutering only provides an upper bound on lookahead bias if the researcher specifies all leakage channels (and it may accidentally destroy useful predictive signal). If a channel is missed, the gap becomes a lower bound.
- Capacity constraints: Chronologically consistent models are smaller and trained on less data, which can hurt performance on complex reasoning tasks.
- Generalizability: The reassuring findings on daily, individual-stock news do not automatically extend to monthly/quarterly forecasts, macro timing, or massive frontier models.
- Next steps: The authors note ongoing work scaling
ChronoGPTup to 8B parameters and using test-time compute (reasoning) to offset the data limitations of historical training.
Summary updated