Retrieval-Augmented Diffusion Modeling for Stochastic Discount Factor Portfolios

Kelvin J.l. Koa, XinYang Li, Ke-Wei HuangNeurIPS 2026

TL;DR

Standard diffusion models use generic, uniform bell-curve noise, which falls apart in financial markets where risk and volatility depend heavily on the current economic climate. The authors introduce RADAR, a portfolio optimization framework that looks up similar historical market regimes to build custom, context-aware noise for a diffusion model. By cleaning up noisy price and news data using historically grounded uncertainty, RADAR learns much sharper market representations and achieves a massive jump in risk-adjusted investment returns.

What Problem Does This Paper Address?

Instead of trying to predict tomorrow’s exact stock prices—a notoriously noisy and unforgiving game—modern quantitative finance often relies on the Stochastic Discount Factor (SDF). Think of the SDF as a unified "pricing engine" that encodes both risk and return across all assets simultaneously, directly outputting optimal portfolio weights.

To estimate the SDF with deep learning, a model needs a clean representation of the current "market state." However, three big hurdles get in the way:

  1. Non-stationarity: Markets experience regime shifts (e.g., calm bull markets vs. sudden inflation panics). Rules learned in one regime fail in another.
  2. Multimodal Noise: Combining stock price time-series with financial news is helpful, but news is chaotic and full of economically irrelevant chatter, distorting the optimization landscape.
  3. Flawed Diffusion Assumptions: Diffusion models are great at denoising data, but they typically inject isotropic Gaussian noise—assuming uncertainty is uniform in all directions and independent of the current state. Financial risk isn't uniform; it is state-dependent (heteroskedastic).

Methods

To build a regime-aware denoiser, the authors propose RADAR (Retrieval-Augmented Diffusion-based Assets Representation).

Figure 2: Overview of RADAR, which learns a clean market state representation for SDF estimation.

Here is how the pipeline blends standard building blocks with a novel diffusion twist:

  • Multimodal Encoding (Standard): Historical stock prices and FinBERT-embedded news articles are passed through separate GRU encoders with attention, then blended via a bilinear layer into a joint, albeit noisy, market representation.
  • Contextual Noise Retrieval (Novel): Historical data is chunked into "event segments"—a news event paired with the price action that followed it—and stored in a context bank. At any given time step, RADAR queries this bank using cosine similarity to find the top-$K$ ($K=10$) most similar past price trajectories and news events.
  • State-Dependent Diffusion (Novel): Rather than using a zero-mean, unit-variance Gaussian for the forward diffusion process, RADAR calculates the empirical mean and variance of those retrieved historical segments. It injects this historically grounded, context-specific noise into the price and text embeddings. A self-attention denoiser, conditioned on the joint market state, then reconstructs clean representations.
  • Joint Optimization: The cleaned representations are mapped to portfolio weights and trained end-to-end by jointly minimizing the diffusion reconstruction loss and the SDF pricing error.
Figure 3: The RADAR framework. The price and text embeddings, noisy market representation and retrieved contextual noise are used in the diffusion process to obtain the clean market representation.

Datasets

  • S&P 500 + FNSPID: For the main portfolio experiments, the authors combine daily adjusted close prices from Yahoo Finance with financial news from the FNSPID corpus. This covers 377 U.S. equities over roughly 2,270 trading days (June 2011 to June 2020), evaluated using a strict rolling-window protocol (4 years training, 1 year out-of-sample testing) to prevent look-ahead bias.
  • Time-MMD: To test whether the method generalizes beyond finance, they evaluate on Time-MMD, an existing multimodal (text + numerical) time-series forecasting benchmark spanning nine diverse domains, including Agriculture, Climate, Energy, Public Health, and Traffic. No new benchmarks were introduced.

Key Insights and Ideas

  • Standard diffusion can actively hurt financial embeddings: In an eye-opening ablation study, adding standard Gaussian diffusion to learned multimodal embeddings caused the Sharpe ratio (risk-adjusted return) to plummet from 0.859 to 0.411, while volatility more than doubled. Injecting arbitrary, context-free noise didn't regularize the financial representations—it just corrupted them. Grounding that noise in retrieved historical regimes (RADAR) shot the Sharpe ratio up to 1.062.
  • Forecasting accuracy gets washed out in portfolios: Deep forecasting baselines all clustered right around the performance of a naive Equal-Weight ($1/N$) portfolio. Buying the top-50 predicted stocks neutralizes individual asset errors, suggesting that raw price-forecasting prowess matters much less than capturing cross-asset risk structures.
  • Clean embeddings reflect true economics: When asset pairs were ranked by cosine similarity in RADAR's cleaned embedding space, their actual, realized return correlations increased monotonically—proving the denoiser genuinely untangles market co-movement.

Key Results

RADAR was tested against market benchmarks, time-series forecasters (like iTransformer, StockNet, and retrieval-diffusion baseline RATD), and end-to-end SDF portfolio models:

  • Risk-Adjusted Returns: RADAR achieved state-of-the-art results across the board, hitting a Sharpe ratio of 1.062 (beating the second-best Equal Weight benchmark at 0.795, StockNet at 0.780, and the transformer SDF baseline at 0.505). It also led in Sortino ratio (1.352 vs. 0.899 best baseline) and Calmar ratio (0.924 vs. 0.406 best baseline).
  • Profitability: RADAR delivered a cumulative return of 2.502 (28.5% annualized), more than doubling StockNet's 1.218, while maintaining a competitive maximum drawdown of 0.308.
  • Generalizability: On Time-MMD, RADAR achieved the lowest error in 7 out of 9 domains (such as Energy and US Health), though non-diffusion models edged it out in cleaner domains like Security and Traffic.

Limitations and Future Work

  • News Sparsity: The open-source FNSPID news dataset has relatively sparse coverage. Because RADAR's noise quality relies on finding relevant historical matches, thin news coverage can bottleneck representation quality (though using proprietary feeds like Bloomberg would hurt reproducibility).
  • Interpretability: Classical SDF models operate directly on transparent financial characteristics (like company size or value), whereas RADAR optimizes over abstract latent embeddings. To recover feature importance, the authors suggest integrating post-hoc explainability tools like SHAP or LIME, as well as tailoring noise distributions to specific non-financial domains in future work.

Summary updated

BibTeX
@inproceedings{koa2026retrieval,
  author = {Kelvin J.L. Koa and XinYang Li and Ke-Wei Huang},
  title = {{Retrieval-Augmented Diffusion Modeling for Stochastic Discount Factor Portfolios}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Dk8yYYJtw0},
}
Figure