LLMs that remember too much
Why LLMs cannot be used for trading
GPT-4o can recall S&P 500 closing prices with a mean absolute error of 0.01% for any date inside its training window. Past the cutoff, errors explode. This is because the model isn't forecasting but retrieving memorized data (Lopez-Lira, Tang, and Zhu 2025).
This would be a footnote if LLMs were only chatbots. They're not. They now sit inside quantitative trading systems, generating hypotheses, scoring sentiment, writing strategy code, and sometimes executing trades directly. If what looks like reasoning is actually recall, every backtest result produced by these models is suspect. And there are a lot of backtests. FinGPT, FinMem, FinReport, Hedge-Agents, TradingGPT, FinAgent, QuantAgent, FinCON, MarketSenseAI 2.0. All report strong performance. All test primarily inside their models' training windows.
The evidence that this is a deep structural problem, not a teething issue, has accumulated rapidly through 2025 and into 2026. Multiple independent research groups using different methodologies on different model families have converged on the same conclusion.
The problem gets worse as models scale. It cannot be solved by better prompts. And the latest models, GPT-5.4, Claude Opus 4.6, Gemini 2.5 Pro, are more contaminated than their predecessors, not less, because they were trained on larger corpora covering more recent financial history.
This article walks through the evidence, explains why the standard mitigations fail, and describes an architecture designed to use LLMs for quantitative research while preventing their memorization from corrupting the results.
Part I: The Evidence
Live money, real losses
In October 2025, the AI research lab Nof1 launched Alpha Arena, the first public competition where frontier LLMs traded real money. Six models received $10,000 each to trade cryptocurrency perpetual contracts on the Hyperliquid exchange. All trades were public. No human intervention was allowed. The competition ran for two weeks.
Four of six frontier models lost money. GPT-5 lost $6,267. Gemini lost $5,671. The competition had real limitations, as Boris Tseitlin noted: one instance per model, short time horizon, crypto-only, no tools beyond price data, high leverage. But the directional finding was hard to dismiss. The models that scored highest on financial reasoning benchmarks lost the most capital. Nof1 observed that all models displayed "consistent biases," something resembling an investing personality baked into their weights.
A second competition followed in late November 2025 with an undisclosed "Mystery Model" that earned 12.11% in two weeks. The frontier models didn't get better. Nof1 concluded the harness itself imposed real constraints, but the underlying finding held: LLMs, when allowed to trade autonomously, lose money.
StockBench: the contamination-controlled benchmark
StockBench (Chen et al. 2025), submitted to ICLR 2026, took a more rigorous approach. The benchmark uses stock market data from March to June 2025, deliberately chosen to fall after the knowledge cutoffs of all tested models, ensuring no data contamination. Agents receive daily prices, fundamentals, and news, and must make sequential buy/sell/hold decisions over multiple months.
The models tested include GPT-5, Claude 4 Sonnet, O3, Qwen3 (multiple sizes including the 235B instruct and thinking variants), Kimi-K2, GLM-4.5, and DeepSeek. The baseline is a passive equal-weight buy-and-hold strategy returning 0.4% with a 15.2% maximum drawdown.
The finding: most LLM agents struggle to beat buy-and-hold. A few (Kimi-K2, Qwen3-235B-Instruct) managed cumulative returns above 2% with slightly reduced drawdowns. But models fine-tuned specifically for reasoning (Qwen3-235B-Think) did not outperform their instruct-tuned counterparts. The authors also documented practical failures: arithmetic errors in position sizing, schema formatting mistakes, and occasional misalignment with optimization objectives.
The conclusion is worth quoting directly from the paper's framing: excelling at static financial knowledge tasks does not translate into effective trading strategies in dynamic market environments.
Backtest contamination: the Profit Mirage
The Profit Mirage paper (Li, Zeng, Xing, Xu, and Xu 2025) provided the most precise measurement of the contamination effect. The authors selected the NASDAQ-100 and defined two evaluation periods with nearly identical market returns (+13.79% vs +13.35%): a historical period (Q2-Q3 2021) within GPT-4o's training window, and a recent period (Q3-Q4 2024) outside it. This controlled for market conditions while isolating the memorization effect.
Five state-of-the-art LLM trading agents were tested: FinMem, FinAgent, QuantAgent, FinCON, and TradingAgents, all using GPT-4o as the backbone. Every single one showed severe Sharpe decay when evaluated outside the training window:
The Profit Mirage team also developed FinLeak-Bench, a benchmark specifically designed to measure memorization in financial LLMs, and introduced FactFin, a counterfactual framework that applies perturbations to market scenarios to force agents to learn causal drivers rather than memorized outcomes. FactFin integrates a strategy code generator, RAG, Monte Carlo Tree Search, and a counterfactual simulator. In their experiments, FactFin achieved superior out-of-sample risk-adjusted returns compared to all baseline agents. This is one of the few published attempts to architecturally address the contamination problem rather than just measuring it.
FINSABER: twenty years, a hundred symbols, no edge
FINSABER (Li, Kim, Cucuringu, and Ma 2025) took yet another angle. Rather than comparing in-window to out-of-window performance, they simply ran LLM timing strategies across a longer period (2004-2024), a larger universe (100+ symbols), and with historically accurate S&P 500 constituent lists that included delisted stocks. This corrected for survivorship bias, look-ahead bias, and data-snooping bias simultaneously.
The result was blunt: previously reported LLM advantages deteriorated significantly under this broader evaluation. LLM strategies were overly conservative in bull markets, underperforming passive benchmarks, and overly aggressive in bear markets, incurring heavy losses. The strategies didn't understand market regimes. They were pattern-matching against their training data.
The scaling paradox
The Look-Ahead-Bench paper (January 2026) introduced PiT-Inference models and established what they call the "Scaling Paradox." They tested standard foundation models, including Llama 3.1 at 8B and 70B and DeepSeek 3.2, alongside their PiT (Point-in-Time) models at small (<10B), medium (<100B), and large (>500B) scales.
Standard models degrade as they scale. Bigger models memorize more, and their memorized priors become stronger false signals. PiT models, trained with strict temporal cutoffs on their training data, show the opposite pattern: scale helps.
This is probably the single most important finding for anyone building financial AI systems. It inverts the foundational assumption of the scaling era. For financial tasks, "more capable" means "more contaminated" unless you train clean.
A survey of 164 papers: nobody checks
Dimino et al. (2026) reviewed 164 papers from 2023-2025 on LLMs in financial applications and checked how many explicitly addressed the major biases. The results were sobering: no single bias (look-ahead, survivorship, narrative, objective, or cost) was discussed in more than 28% of studies. Most published results on LLM trading performance have no contamination controls at all.
Part II: Why Prompting Doesn't Work
The instinct is to fix this with prompt engineering. Tell the model to ignore its knowledge. Mask firm names and dates. Instruct the model to reason only from the provided data.
Lopez-Lira et al. tested every mitigation they could find. Explicit instructions to respect historical data boundaries failed completely. The model would generate plausible analysis on the surface while subtly anchoring to memorized outcomes underneath. They describe a "dual cognitive pathway" where one channel generates analytical reasoning and another accesses memorized knowledge of what actually happened. The output blends both, and there is no way to tell from the outside which channel produced which conclusion.
Anthropic's own interpretability research has identified the underlying mechanism: models can construct reasoning chains that work backward from a memorized conclusion while appearing to reason forward from evidence. This is sometimes called "motivated reasoning" in the AI safety literature, and it operates beneath the model's visible outputs in a way that standard evaluation cannot detect.
Entity neutering (Engelberg et al. 2025) strips company names, dates, and other identifying information before passing text to the model. This helps, but not enough. Lopez-Lira showed that LLMs reconstruct masked entities from minimal contextual clues. An anonymized earnings call from a chip company discussing "advanced packaging technology for AI accelerators" in Q3 2023 gives the model enough signal to infer it's probably NVIDIA, at which point its memorized knowledge of NVIDIA's subsequent stock performance activates.
The LAP test: quantifying contamination per prompt
Gao, Jiang, and Yan (2025) at the Chinese University of Hong Kong developed the most precise diagnostic tool. Their Lookahead Propensity (LAP) test estimates, for each individual prompt, how likely the text appeared in the model's training data. It builds on the MIN-K% PROB statistic from the membership inference attack literature (Shi et al. 2024).
The idea is elegant. For a given input text , compute the model-assigned probability of every token conditioned on the preceding tokens. Then focus on the tokens with the lowest predicted probabilities (the bottom ), because common words like "the" or "and" are always high-probability regardless of prior exposure. Rare tokens carry the information about whether the model has seen this specific text before:
Higher LAP means the model's low-probability tokens are less surprising than expected, implying prior exposure to the text.
They then formalize the detection test. Let be the LLM's prediction and be the LAP score for the prompt at time . Under lookahead bias, the LLM's prediction can be decomposed as:
where is the genuine reasoning component and is the memorization leak, scaled by the model's familiarity with the input. The detection regression is:
The key coefficient is . If , prediction accuracy increases with training-data familiarity, proving memorization is driving performance.
Applied to 91,361 Bloomberg headlines and 74,338 earnings call transcripts using Llama 3.3 70B, they found significantly positive in both cases. A one-standard-deviation increase in LAP inflated the marginal predictive effect on stock returns by roughly 37%, and on capital expenditure predictions by about 19%.
These are not small numbers. A substantial fraction of the apparent predictive power of LLMs on financial text is explained by memorization.
Why this can't be patched in the next release
Every new model generation trains on more internet data, not less. GPT-5.4 (released March 2026, knowledge cutoff extending into late 2025) has seen more market events, more price histories, more earnings outcomes, more analyst commentary than GPT-4o ever did. Claude Opus 4.6 (released February 2026) similarly extends its training data further into recent history.
The contamination zone grows with every release.
Lopez-Lira's team stated the theoretical impossibility clearly: counterfactual forecasting ability is non-identified when the model has seen the realized values. Any observed output is consistent with both genuine skill and memorization. You cannot distinguish them from the model's outputs alone. Any evidence of memorization you find represents only a lower bound on the model's actual encoded knowledge.
The fix cannot come from the model. It must come from the architecture around it.
Part III: An Architecture Built on Separation
The design principle: accept that frontier LLMs have memorized financial history, and build a system where that memorization cannot influence any truth-bearing computation.
The architecture has three components that operate in strict isolation from each other, connected by narrow typed interfaces.
Component 1: The clean model
For any task where a model must read financial text and produce a judgment about it, you use a chronologically consistent model, one trained exclusively on data available before the date of the text it's processing.
The reference implementation is ChronoBERT (149M parameters) and ChronoGPT (1.5B parameters), developed by He, Lv, Manela, and Wu at Washington University in St. Louis (2025). They trained a suite of yearly vintages spanning 1999 to 2024. The initial model (ChronoBERT-1999) was pretrained on 21 billion tokens of pre-2000 text. Each subsequent vintage adds timestamped data from the following year, accumulating an additional 65 billion tokens across the full series.
These models are provably leak-free. The team conducted a placebo test: ask ChronoGPT-2019 who won the 2020 presidential election. It doesn't know, not because of a prompt instruction, but because the training data didn't contain the answer. ChronoGPT-2020 correctly identifies the 2020 result but doesn't know about the 2024 election.
The architecture is based on ModernBERT (for ChronoBERT) and NanoGPT with rotary embeddings and flash attention (for ChronoGPT), using the Muon optimizer for efficient training under data constraints. Validation loss continues to decrease with each yearly increment, and GLUE/HellaSwag scores for nearly all vintages exceed those of the original BERT and GPT-2, despite the temporal constraint on training data.
The performance comparison on a news-based return prediction task (January 2008 to July 2023) is telling:
A 149M clean model nearly matches an 8B contaminated model 50 times its size. The contaminated model's edge is slim and could be entirely attributable to memorization rather than superior language understanding.
The team also discovered an "envelope" phenomenon. When they plotted the Sharpe ratio of each yearly vintage, the real-time model (the vintage whose cutoff matches the evaluation date) consistently outperformed later vintages that have strictly more knowledge. If memorization drove performance, the final 2024 model, which knows the most, should dominate everywhere. It doesn't. What matters is temporal alignment: being calibrated to the language, narrative conventions, and statistical regularities of the period you're operating in.
A parallel effort, DatedGPT (Yan and Tang, March 2026), follows the same approach with explicit web demos showing that DatedGPT-2020 has no knowledge of ChatGPT when queried. The PiT-Inference project (2026) is scaling the concept to 500B+ parameters.
What the clean model does in the architecture: news sentiment scoring, earnings call tone analysis, regime classification from textual sources. It outputs structured data objects only: sentiment scores (float), regime labels (enum), entity lists (strings), confidence levels (float). Never prose. Never analysis. Never recommendations. These structured outputs flow to the next component.
Component 2: The frontier model under schema isolation
The frontier LLM (Claude Opus 4.6, GPT-5.4, or equivalent) handles the tasks that require sophisticated reasoning: hypothesis generation, strategy code authorship, research narrative synthesis. These are the tasks where the model's intelligence genuinely matters and where the smaller clean models can't compete.
But the frontier model operates under schema isolation, a pattern borrowed from Microsoft Research's RD-Agent architecture. Schema isolation means the model never sees raw market data: no prices, no returns, no volumes, no raw news text, no earnings transcripts, no equity curves. Instead, it receives a schema tuple: a formal description of the data interfaces, column names, API signatures, constraints, and cost model parameters.
The model's task is to express a financial hypothesis as executable code against this schema. Here is a concrete example of what the model receives:
Available interfaces:
get_prices(tickers, as_of: AsOf, lookback: int) -> DataFrame[date, ticker, open, high, low, close, volume]
get_fundamentals(tickers, as_of: AsOf) -> DataFrame[ticker, pe, pb, roe, debt_equity, ...]
get_sentiment(tickers, as_of: AsOf) -> DataFrame[ticker, score, confidence]
get_regime(as_of: AsOf) -> RegimeLabel # {bull, bear, risk_off, transition}
Current regime: risk-off (from clean model, Component 1) Cost model: Almgren-Chriss temporary + permanent impact, half-spread, commission Universe: US equities, top 1000 by liquidity Rebalance: daily
The model also receives retrieved context: summaries of similar past strategy attempts (successes and, critically, failures) from an episodic memory store, and relevant excerpts from academic literature on factor research.
From this, it generates code:
def compute_signal(universe: list[str], as_of: AsOf) -> pd.DataFrame:
"""Short-term reversal amplified by sentiment divergence.
Hypothesis: In risk-off regimes, 5-day reversals in small-cap stocks
strengthen because liquidity providers withdraw. When sentiment
disagrees with recent price action (positive sentiment + negative
return), the reversal signal is more reliable.
"""
prices = get_prices(universe, as_of, lookback_days=30)
sentiment = get_sentiment(universe, as_of)
ret_5d = prices.groupby('ticker')['close'].pct_change(5).iloc[-1]
vol_20d = prices.groupby('ticker')['close'].pct_change().rolling(20).std().iloc[-1]
# Volatility-normalized reversal
reversal = -ret_5d / vol_20d
# Sentiment divergence: positive sentiment + negative return = stronger reversal signal
sent_divergence = sentiment['score'] * (-ret_5d)
combined = 0.6 * reversal.rank(pct=True) + 0.4 * sent_divergence.rank(pct=True)
return combined
The model wrote this without seeing a single price. It expressed a financial idea as code. The actual numerical computation happens later, inside a sandboxed backtesting engine the model has no access to.
The AsOf token: type-level enforcement
The mechanism that makes schema isolation more than a convention is the AsOf token. This is a frozen dataclass representing a point in time, created and injected by the system orchestrator. No model can construct an AsOf token. No model can modify one.
@dataclass(frozen=True)
class AsOf:
_date: date
@classmethod
def create(cls, d: date) -> "AsOf":
if d > date.today():
raise ValueError("Point-in-time violation: cannot query future data")
return cls(_date=d)
@property
def date(self) -> date:
return self._date
Every data query in the system requires an AsOf argument. The data access layer's type signature enforces this:
class PitDataSource(Protocol):
def get_prices(self, tickers: list[str], as_of: AsOf, lookback: int) -> DataFrame: ...
def get_fundamentals(self, tickers: list[str], as_of: AsOf) -> DataFrame: ...
def get_universe(self, as_of: AsOf) -> list[str]: ...
Python's static type checker (mypy) enforces this at analysis time. If strategy code tries to query data without a valid AsOf token, the code fails before it ever runs. This is a type-system constraint, not a prompt instruction. The model doesn't need to cooperate. The type system makes non-compliance impossible.
A middleware layer logs every data access as (agent_id, as_of, table, query_hash) for audit. No query without a valid AsOf token can reach the data layer.
Component 3: The deterministic validation kernel
After the strategy code runs against real data in the backtesting engine, the results enter the validation kernel. This is the only component with genuine authority over whether a strategy moves forward, and it contains no models of any kind. No LLMs, no ML classifiers, no neural networks. Pure deterministic statistics, version-locked and frozen.
The global trial counter
Before any backtest runs, the strategy is structurally hashed and registered in an append-only counter. "Structural hash" means the hash captures the strategy's logical structure (which operators, which data fields, which lookback windows), not the exact code text. Two strategies that compute 5-day momentum with slightly different variable names produce the same structural hash.
The counter maintains two numbers:
where is the return-correlation matrix of all registered strategies' backtest results, and ONC is the Optimal Number of Clusters algorithm. If you've submitted 500 strategies but 300 of them are minor variations on momentum, reflects the true number of independent hypotheses, which might be 80.
The counter is enforced at the database level. A Postgres write trigger denies UPDATE and DELETE on the trial table. This is not an application-level convention that a developer might forget. It is a database constraint that the application physically cannot circumvent.
This component exists because of a result proven by López de Prado and Fabozzi (2026): the false discovery rate cannot be identified retroactively. If you don't count your trials prospectively from day one, no statistical correction applied after the fact can recover the true significance of your results. The math is unambiguous on this point. Retroactive correction is formally invalid.
No existing open-source framework ships this. Not Qlib, not QuantConnect, not Zipline, not any of the LLM-agent trading libraries. It is novel.
CPCV: Combinatorial Purged Cross-Validation
Standard k-fold cross-validation is invalid for time series because it ignores temporal dependence. A model trained on January data can be tested on the prior December, allowing information leakage through autocorrelation. Walk-forward validation is better but produces a single performance path, which gives you a point estimate rather than a distribution.
CPCV (López de Prado 2018) solves both problems. Data is split into groups. For each configuration, groups are designated as test sets, and the remaining groups form the training set. The number of unique configurations is:
For , : this yields unique train/test splits and 5 backtest paths per configuration, producing a distribution of Sharpe ratios rather than a single number.
Two additional mechanisms prevent leakage. The purge window removes training observations that are temporally close to test-set boundaries. Its width equals the maximum label horizon of the strategy (for a daily strategy predicting 5-day returns, the purge is 5 business days). The embargo extends the purge by a fixed number of bars (typically 5 for daily, 1 for weekly) to catch residual serial correlation that the purge might miss.
PBO: Probability of Backtest Overfitting
Given the distribution of paths from CPCV, PBO computes the probability that the best in-sample configuration is among the worst out-of-sample. It uses Combinatorial Symmetric Cross-Validation:
where is the out-of-sample performance rank of the configuration that looked best in-sample, and is the full distribution of out-of-sample ranks across all configurations.
PBO > 0.5 means the strategy is more likely overfit than not. The institutional bar, following López de Prado, is PBO < 0.3. A strategy with PBO of 0.1 means there's only a 10% chance that its apparent performance is the result of overfitting.
DSR: The Deflated Sharpe Ratio
The DSR adjusts the observed Sharpe ratio for the number of strategies tried. It answers the question: given that independent strategies were tested, how likely is it that the best one achieved its Sharpe by chance?
The 2026 closed-form (López de Prado, Lipton, and Zoonekynd, Journal of Portfolio Management 52(6)) handles serial correlation and joint non-normality without the approximations of the original 2014 formulation:
where:
- is the observed Sharpe ratio
- is the number of return observations
- is the skewness of returns
- is the excess kurtosis
- is the reference Sharpe, computed from
The reference Sharpe is the expected maximum Sharpe from independent trials under the null hypothesis of zero alpha:
If you test 200 strategies, the expected best Sharpe under the null is not zero, it's the order statistic of 200 draws from a standard normal, scaled by . DSR adjusts for this. A strategy must beat the "best by luck" threshold, not just beat zero.
DSR > 0 is necessary. PSR > 95% is required for capital allocation.
The lockbox: one shot, no do-overs
The lockbox is the final arbiter. It is a physically separated data partition covering a time period that postdates the start of research. The lockbox start date is chosen before any research begins and is recorded immutably. No agent, no LLM, no researcher has read access to lockbox data during the research phase. Access is controlled by a durable workflow that requires explicit human authorization.
Each strategy receives exactly one evaluation against lockbox data. If the lockbox Sharpe matches the CPCV out-of-sample Sharpe within tolerance, the strategy has genuine evidence of alpha. If it collapses, contamination or overfitting was driving the result, and the strategy is rejected.
The lockbox solves a problem that no amount of cross-validation can fully address: the possibility that the entire research process, across all its folds and splits, has been subtly influenced by information that shouldn't have been available. The lockbox is data that is guaranteed untouched.
Part IV: How Information Flows
The three components are connected by narrow, typed, one-directional interfaces.
Clean model → Frontier model: structured labels only. Regime tags ("risk-off"), sentiment scores (0.73 negative, 0.81 confidence), sector classifications, extracted entity lists. Never raw text, never headlines, never transcripts. The frontier model receives the distilled signal without the source material that could trigger its memorization.
Frontier model → Backtest engine: code artifacts only, with an orchestrator-injected AsOf token. The model has no access to the engine during execution and no access to results until the validation kernel has processed them.
Engine → Validation kernel: structured metrics. Returns series, Sharpe ratio, drawdown curve, turnover statistics, cost breakdown. All deterministic, all independently verifiable.
There is no reverse channel. The frontier model cannot influence what the clean model processes. No model can write to the validation kernel's state. These constraints are enforced architecturally, not by convention.
Part V: Defense Coverage
The memorization problem has multiple attack surfaces. Each architectural layer addresses different surfaces, and they compound:
Direct price recall: the frontier model never sees prices (schema isolation blocks it). The clean model sees text but can't anchor to outcomes it wasn't trained on.
Code-level bias: a model that "knows" momentum crashed in March 2020 might write code that subtly avoids momentum-like signals. Schema isolation reduces this (the model works with generic interfaces), CPCV catches non-stationary performance, and the lockbox exposes temporal patterns that don't generalize.
Sentiment anchoring: a December 2019 headline about "a novel respiratory illness in Wuhan" might get an inappropriately extreme negative score from a contaminated model. ChronoGPT-2019 scores this headline neutrally, because it has no knowledge of the pandemic.
Narrative fabrication: LLMs produce confident causal explanations that are post-hoc. The architecture treats all model-generated narrative as text, never as evidence. The validation kernel's numbers are the truth. The model explains afterward.
Statistical luck: even a perfectly clean research process will find strategies that look good by chance. The trial counter and DSR correction handle this, and the lockbox provides the final check.
Part VI: What Exists and What Is New
Published individually across separate papers: Schema isolation (RD-Agent, Microsoft 2025). Chronologically consistent models (ChronoBERT/ChronoGPT, He et al. 2025). LAP test (Gao et al. 2025). CPCV, PBO, DSR (López de Prado 2014-2026). Entity neutering (Engelberg et al. 2025). DatedGPT (Yan and Tang 2026). Lockbox protocol (López de Prado 2018). FactFin counterfactual framework (Li et al. 2025). PiT-Inference models (2026).
Novel in this architecture:
- Contamination-risk routing. Explicitly splitting tasks between clean and frontier models based on whether the task requires contact with market text. The routing decision is the contribution: which model class handles which task, determined by contamination surface analysis.
- The global trial counter as engineered infrastructure. Append-only Postgres with database-level write triggers, ONC-clustered computation, monotonic guarantees enforced outside application code, wired directly to DSR computation. López de Prado describes the mathematics. Nobody has shipped the database.
- Typed narrow interfaces with enforced directionality. The one-way information flow between components, where AsOf tokens and structured schemas are the only permitted communication, and where no reverse channel exists. This prevents contamination backflow where a frontier model's outputs could influence upstream processing.
- Defense-in-depth composition. Five layers (schema isolation, clean model, LAP screening, statistical validation, lockbox) that compound rather than substitute. Each layer addresses different attack surfaces, and a failure in any single layer is caught by the others.
Part VII: The Capability-Cleanliness Tradeoff
The honest limitation of this architecture is that it rests on a tradeoff the field hasn't resolved.
Clean models are small. ChronoGPT is 1.5B parameters. It handles text classification tasks well: sentiment scoring, regime labeling, entity extraction. It cannot write strategy code. It cannot generate complex multi-step financial hypotheses. It cannot reason about how momentum, value, and carry interact across regimes. It cannot synthesize academic literature into novel research directions.
Frontier models (GPT-5.4 at ~1.8T parameters estimated, Claude Opus 4.6) can do all of those things. But they're structurally contaminated for any task that touches historical market data.
The architecture manages this tradeoff by routing. It doesn't resolve it. The question is whether the tradeoff is permanent.
PiT-Inference (2026) is scaling clean models past 500B parameters. If a clean model reaches frontier reasoning capability, the dual-model architecture collapses into a single clean model and the contamination problem dissolves entirely. The early evidence from PiT's scaling curves suggests this is possible: clean models improve with scale on the same trajectory as standard models, just starting from a lower base.
Machine unlearning, selectively removing financial data from a frontier model's weights while preserving reasoning, is the alternative path. As of early 2026, unlearning remains unreliable. You cannot selectively delete market prices from GPT-5.4's parameters without degrading its general performance in unpredictable ways. The field lacks the tools to do targeted knowledge removal at this scale.
Until one of these paths matures, the dual-model architecture with contamination-risk routing is the most defensible design for any system that puts LLMs anywhere near quantitative research.
Part VIII: The Institutional Precedent
Man Group, one of the largest systematic hedge funds in the world, runs something structurally similar with AlphaGPT, their internal agentic research system built in partnership with Anthropic. As reported by Bloomberg in July 2025, the system autonomously mines data, writes signal code, backtests, and produces candidate signals for review. Several dozen signals had been approved for live trading at the time of reporting. The critical design choice: a human approval gate between automated research and any live capital deployment. Senior portfolio managers review every signal.
Two Sigma's 2026 internal guidance crystallized the core design tension in one sentence: LLMs widen idea generation but amplify overfitting. Every piece of the architecture described in this article is oriented around that tension. Use frontier LLMs for the widening. Build the overfitting controls into the foundations of the system, not at its edges.
Renaissance Technologies, the ceiling for systematic trading, operates at a bar that makes the above look permissive. Public accounts describe a process that discards over 99% of candidate signals and requires statistical evidence at approximately before a signal enters their portfolio. They maintain roughly 8,000 simultaneous positions inside a single monolithic model with decades of accumulated data and petabyte-scale infrastructure. That bar is unreachable without their specific resources. But the direction is instructive: the best systematic fund in history is defined not by its signal generation, but by the rigor of its signal rejection.
References
- Chen, Z. et al. (2025). StockBench: Can LLM agents trade stocks profitably in real-world markets? arXiv:2510.02209.
- Dimino, A. et al. (2026). Evaluating LLMs in finance requires explicit bias consideration. arXiv:2602.14233.
- Engelberg, J. et al. (2025). Entity-neutering prompting for look-ahead bias mitigation.
- Gao, Z., Jiang, W., and Yan, Y. (2025). A test of lookahead bias in LLM forecasts. arXiv:2512.23847.
- He, S., Lv, L., Manela, A., and Wu, J. (2025). Chronologically consistent large language models. arXiv:2502.21206.
- Li, W., Kim, H., Cucuringu, M., and Ma, T. (2025). Can LLM-based financial investing strategies outperform the market in long run? (FINSABER). arXiv:2505.07078.
- Li, X., Zeng, Y., Xing, X., Xu, J., and Xu, X. (2025). Profit Mirage: Revisiting information leakage in LLM-based financial agents. arXiv:2510.07920.
- Look-Ahead-Bench (2026). A standardized benchmark of look-ahead bias in point-in-time LLMs for finance. arXiv:2601.13770.
- Lopez-Lira, A., Tang, Y., and Zhu, M. (2025). The memorization problem: Can we trust LLMs' economic forecasts? arXiv:2504.14765.
- López de Prado, M. (2018). Advances in Financial Machine Learning. Wiley.
- López de Prado, M., Lipton, A., and Zoonekynd, V. (2026). On the distribution of the Sharpe ratio. Journal of Portfolio Management, 52(6).
- López de Prado, M. and Fabozzi, F. (2026). False discovery rate and the prospective trial counter.
- Nof1 (2025). Alpha Arena Season 1 results. nof1.ai.
- Shi, W. et al. (2024). Detecting pretraining data from large language models. ICLR 2024.
- Yan, Y. and Tang, R. (2026). DatedGPT: Preventing lookahead bias with time-aware pretraining. arXiv:2603.11838.