Skip to content

Summoning the Oracle to Slay It: Mitigating Look-Ahead Bias in Financial Backtesting with Large Language Models

May 2026 · arXiv.org · Vol abs/2605.24564 · 2 citations · 47 references
Computer Science

TL;DR

FinCAD is proposed, an inference-time adaptation of Context-Aware Decoding that attenuates contributions from memorised historical outcomes without retraining and raises the subset-averaged in-sample/out-of-sample Spearman correlation on an eleven-model leaderboard.

Abstract

Backtesting large language models (LLMs) on historical financial data is unreliable when their pre-training data include the evaluated events. An LLM trained in 2024 may already encode how stocks moved during 2018-2020. We name this failure parametric look-ahead bias and propose FinCAD, an inference-time adaptation of Context-Aware Decoding that attenuates contributions from memorised historical outcomes without retraining. FinCAD pairs an adversarial bias-discovery pipeline that learns a model-specific memory-activating prior prompt with an entity- and date-adaptive rule that scales the CAD strength using a per-(entity, date) confidence signal. Across five 7-14B LLMs and five mega-cap equities, the largest model-level mean in-sample return correction is -67.1%. For the three larger models, 2025 out-of-sample returns remain within $8K and mean Sharpe within $\pm$0.10 of baseline; mean general-benchmark accuracy remains positive or within -1.7 points for four of five models. On an eleven-model leaderboard, FinCAD raises the subset-averaged in-sample/out-of-sample Spearman correlation from +0.779 to +0.846, yielding rankings that are more closely aligned with post-cutoff performance.

View source

Similar papers

#natural language process... Preprint Sep 2026

Time-Incremental Continued Pretraining of LLMs: Knowledge Updates Without Catastrophic Forgetting

This work evaluates continued pretraining on FineWeb-Edu dumps drawn strictly from after each model's knowledge cutoff, evaluated across six open-weight models spanning three families and four parameter scales, painting a more optimistic picture of time-incremental CPT than the prior continual learning literature sugge...

Firat Öncel, S. Ali, M. Ravanelli et al. · 0 citations
#machine learning Preprint Sep 2026

PALM: Point-in-Time Adaptation for Financial Language Models

It is shown that the annual pretraining run is not necessary, and it is found that a small adapter is enough to add a new period to the knowledge an old checkpoint already encodes, and that this outperforms continued pretraining.

Seung-Han Lee, Jun Seo, Jaehoon Lee et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Alignment Forecasting: Predicting Misalignment From Training Data

Training a language model on data with a narrow flaw can sometimes make the model broadly misaligned. Inspecting the data at face value often does not settle whether it will emerge, and today it is caught only after training, by auditing the resulting model. To complement post-hoc audits, we introduce Alignment Forecas...

Chen Yueh-Han, Bruce W. Lee, Ilia Sucholutsky et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Self-Generated Feedback Destabilizes Test-Time Training: A Causal Decomposition of Long-Horizon Adaptation

Test-time training (TTT) lets a model store information in its weights during inference. When the model learns from its own output, however, each update also changes the model that generates the next training example. Across 128K-token streams, retaining generated-text updates worsens prediction on independent human-wr...

Cheng-Zhi Luo, Bing Li, Bernard Ghanem · 0 citations
#artificial intelligence Review Aug 2026

Blog: Survey of Optimizers

This survey organizes recent optimizers and training optimization methods along four largely independent axes: temporal estimation, update geometry, horizon management, and representation and systems.

Ruo-Ran Xu · 0 citations
Preprint Aug 2026

Measure, Don't Optimize: Forecasting Recovery in LLM Unlearning

J-Access is proposed, an inference-time audit that uses the Jacobian lens to map intermediate representations into vocabulary space and measures how often target concepts remain accessible along the model's output pathway, positioning J-Access as a model-level diagnostic for assessing residual susceptibility in unlearn...

Zirui Song, Hua-Xing Liu, Xiang Wang et al. · 1 citation

Related blog posts

MIT News · Artificial Intelligence Sep 29, 2026

Who we become when we talk to machines

Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.