arXiv Machine Learning

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

The paper introduces a transformer-based framework that learns an in‑context score operator for diffusion models, allowing the model to perform reverse‑diffusion sampling on unseen target distributions specified by a small empirical context set. By representing the task‑dependent score as a Gaussian‑kernel conditional mean and approximating it with a transformer‑based query‑dependent attention architecture, the method can adapt to new tasks without retraining or parameter updates. The authors provide theoretical generalization‑error bounds and evaluate the approach on scientific and visual datasets, noting strong performance on simple task families and limitations as task complexity grows.

arXiv Machine Learning
Sep 25

Transformers as Cross-Task Learners: Shared Structure Drives Sample Efficiency in In-Context Learning

Transformers can learn broad families of tasks during pretraining and adapt to unseen tasks from a short prompt, but a rigorous understanding of this capability is limited. This paper studies how shared cross‑task structure influences the sample complexity of in‑context learning (ICL) by characterizing task‑space complexity through covering numbers, yielding a set of anchor functions that localize unseen tasks and predict responses. The authors construct a Transformer with Softmax attention to approximate this procedure and derive an error bound that separates the effects of pretraining tasks and prompt length, showing that once enough tasks are available the dependence on prompt length becomes dimension‑free.

By Zhongjie Shi, Rongjie Lai, Alexander Cloninger, Wenjing Liao
arXiv AI
Oct 16

Multi-task Neural Diffusion Processes

The paper introduces Multi-task Neural Diffusion Processes (MT‑NDPs), extending neural diffusion models to handle multiple related tasks by incorporating a task encoder that conditions the diffusion model on a low‑dimensional representation of context observations. This design allows information sharing across tasks while maintaining permutation invariance and supporting variable‑sized context sets. Experiments on synthetic data and real‑world wind turbine and school exam datasets show that MT‑NDPs outperform single‑task diffusion baselines and compete with neural‑process and Gaussian‑process models, achieving lower coverage error and better uncertainty calibration in the wind‑energy application.

By Joseph Rawson, Domniki Ladopoulou, Petros Dellaportas
arXiv AI
Jun 2

Efficient Weighted Sampling via Score-based Generative Models

arXiv:2502. 04646v2 Announce Type: replace-cross Abstract: Weighted sampling -- sampling from a probability density function (PDF) proportional to the product of a base PDF and a weight function -- is a fundamental technique with wide-ranging applications in variance reduction, biased sampling, data augmentation, and more.

By Heasung Kim, Taekyun Lee, Hyeji Kim, Gustavo de Veciana
arXiv Computer Vision
Oct 22

How Do DiTs Denoise? An Aggregator-Predictor View of Attention and MLPs

The paper investigates how diffusion transformers (DiTs) denoise images by framing them as aggregator–predictor models that use context aggregation and patch prediction. It shows that for Gaussian Markov random field priors, a global Bayes denoiser can be approximated with a limited context, and that patchwise linear denoisers recover empirical local denoisers when aggregation is informative. Experiments confirm that DiTs trained on real images exhibit noise‑dependent denoising contexts and that replacing DiT MLPs with shared‑memory patch predictors yields competitive performance, while cross‑dataset component transplantation supports the proposed functional roles of attention and MLPs.

By Gyeonghun Kang, William Xingxu Chen, Xiang Cheng
arXiv Machine Learning
Aug 26

Generalization, memorization, and overfitting for diffusion models trained in the lazy high-dimensional regime

The paper investigates diffusion models trained in a lazy high‑dimensional regime, extending benign overfitting theory to generative settings. By analyzing denoising score matching in a vector‑valued RKHS with an inner‑product kernel, the authors derive exact risk trajectories under gradient flow when the number of samples scales proportionally with dimensionality. These trajectories reveal three distinct phases—spectral generalization, noise‑dominated interpolation, and empirical Bayes memorization—whose interplay shapes the distribution of generated samples.

By Hugo Latourelle-Vigeant, Sinho Chewi, Aram-Alexandre Pooladian, John Sous, Theodor Misiakiewicz
arXiv Statistics ML
Oct 28

Latent Nonlinear Denoising Score Matching for Enhanced Learning of Structured Distributions

The paper introduces Latent Nonlinear Denoising Score Matching (LNDSM), a method that integrates nonlinear, structure-informed latent diffusions with a variational autoencoder framework. LNDSM designs the forward diffusion to admit a chosen reference distribution, such as a Gaussian mixture, and derives a computable approximation to a cross‑entropy upper bound using Euler‑Maruyama discretization. Experiments on benchmark image datasets show that LNDSM improves sample quality, mode balance, and training efficiency compared to conventional latent score‑based generative models.

By Kaichen Shen, Wei Zhu