DatedGPT: Preventing Lookahead Bias in Large Language Models with Time-Aware Pretraining

Yutong Yan, Raphael Tang, Zhenyu Gao, Wenxi Jiang, Yao Lu
3/12/2026
cs.CLq-fin.GN

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

In financial backtesting, large language models pretrained on internet-scale data risk introducing lookahead bias that undermines their forecasting validity, as they may have already seen the true outcome during training. To address this, we present DatedGPT, a family of twelve 1.3B-parameter language models, each trained from scratch on approximately 100 billion tokens of temporally partitioned data with strict annual cutoffs spanning 2013 to 2024. We further enhance each model with instruction fine-tuning on both general-domain and finance-specific datasets curated to respect the same temporal boundaries. Perplexity-based probing confirms that each model's knowledge is effectively bounded by its data cutoff year, while evaluation on standard benchmarks shows competitive performance with existing models of similar scale. We provide an interactive web demo that allows users to query and compare responses from models across different cutoff years.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{yan2026datedgpt,
  title  = {DatedGPT: Preventing Lookahead Bias in Large Language Models with Time-Aware Pretraining},
  author = {Yutong Yan and Raphael Tang and Zhenyu Gao and Wenxi Jiang and Yao Lu},
  year   = {2026},
  eprint = {2603.11838},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.11838v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.11838.svg)](https://codeofpaper.com/paper/2603.11838)

Discussion