🛰️ Daily AI Frontier
‹ back to 2026-10-13

Transformer-based In-Context Score Operator Learning for Diffusion Models

arXiv cs.LG Multimodal & Generative Wuzhe Xu, Zhaiming Shen, Yulong Lu, Wenjing Liao, Rongjie Lai 2026-10-09
Representative image for Transformer-based In-Context Score Operator Learning for Diffusion Models

TL;DR - This paper introduces a transformer-based in-context score operator that lets diffusion models sample from previously unseen distributions using only a small context set, without retraining or parameter updates. It provides theoretical generalization bounds and shows promising—but complexity-sensitive—results across scientific and visual datasets.

  • Treats each target distribution as a task drawn from a meta-distribution and learns its score through amortized denoising score matching.
  • Uses query-dependent attention grounded in a Gaussian-kernel conditional-mean representation and its empirical Nadaraya–Watson approximation.
  • Bounds generalization error in terms of context size, training-task count, within-task samples, model complexity, and intrinsic and ambient dimensions.
  • Evaluations on Navier–Stokes, ERA5, QuickDraw, and Food-101 show stronger performance on simpler task families and degradation as task complexity increases.

view merged work →