English

A Test of Lookahead Bias in LLM Forecasts

General Finance 2026-01-01 v1 Machine Learning Trading and Market Microstructure

Abstract

We develop a statistical test to detect lookahead bias in economic forecasts generated by large language models (LLMs). Using state-of-the-art pre-training data detection techniques, we estimate the likelihood that a given prompt appeared in an LLM's training corpus, a statistic we term Lookahead Propensity (LAP). We formally show that a positive correlation between LAP and forecast accuracy indicates the presence and magnitude of lookahead bias, and apply the test to two forecasting tasks: news headlines predicting stock returns and earnings call transcripts predicting capital expenditures. Our test provides a cost-efficient, diagnostic tool for assessing the validity and reliability of LLM-generated forecasts.

Keywords

Cite

@article{arxiv.2512.23847,
  title  = {A Test of Lookahead Bias in LLM Forecasts},
  author = {Zhenyu Gao and Wenxi Jiang and Yutong Yan},
  journal= {arXiv preprint arXiv:2512.23847},
  year   = {2026}
}