Hugging Face Blog

DiScoFormer: One transformer for density and score, across distributions

arXiv Machine Learning
Oct 9

Density Ratio Estimation with Stein Displacement Fields

The paper introduces a method that estimates the density ratio between a target and a base distribution by parametrizing the log-ratio through a displacement field acting on the base distribution. This approach models the log-ratio as the negative Stein operator applied to the field, enabling a single convex optimization to capture both statistical and dynamical aspects of distribution shift. Two inference algorithms—push-forward and pull-back—are derived, allowing either model updates or data adjustments, and the method is demonstrated on simulation-based inference and nonlinear independent component analysis.

By Song Liu
arXiv AI
Oct 19

OrderFlowDiT: Transport-Regularized Diffusion Transformer for Probabilistic Limit-Order Supply Forecasting

OrderFlowDiT is a conditional Diffusion Transformer designed to forecast limit‑order volume over the next five minutes, jointly modeling price placement, total volume, and predictive uncertainty. The model uses unnormalized bid and ask volume‑at‑price fields and incorporates an unbalanced optimal‑transport (UOT) auxiliary loss to better capture price displacement and volume information. In a validation study across 30 U.S. equities, adding UOT reduced transport cost by 45.8% and transport energy score by 26.1% compared to mean‑squared‑error training, improving accuracy for every stock.

By Jung Hun Phee, Tucker Balch
arXiv Machine Learning
Jul 10

Multi-Distribution Robust Conformal Prediction

arXiv:2601. 02998v2 Announce Type: replace Abstract: In many fairness and distribution robustness problems, one has access to labeled data from multiple source distributions yet the test data may come from an arbitrary member or a mixture of them.

By Yuqi Yang, Ying Jin
arXiv Machine Learning
Oct 7

Stability of Measure-to-Measure Transformers on Sub-Gaussian Data

This paper provides a mathematical analysis of measure-to-measure transformers, showing that they map sub‑Gaussian inputs to sub‑Gaussian outputs and are Hölder continuous with respect to the 1‑Wasserstein distance on suitable spaces. It establishes error‑propagation estimates for transformers applied to empirical approximations of sub‑Gaussian data and investigates a mean‑field analogue of cross‑attention, revealing distinct Hölder regularity and sample‑complexity for its two inputs. The results culminate in approximation guarantees for measure‑to‑measure transformers, offering a rigorous stability and finite‑sample theory for transformers on sub‑Gaussian data.

By Frank Cole, Nicholas H. Nelsen, Takashi Furuya
arXiv Statistics ML
Oct 16

Optimal score function estimation via derivatives constraints

The paper develops a statistical framework showing that empirical score matching can achieve minimax optimal performance for diffusion generative models when data lie on a low‑dimensional manifold. It establishes convergence rates for empirical risk minimization over constrained Sobolev classes and demonstrates that the resulting score estimators yield minimax optimal Wasserstein‑1 rates for the generated distribution, up to logarithmic factors. The analysis reveals that the statistical rates depend on the intrinsic dimension of the data manifold rather than its ambient dimension, providing conditions under which score‑based generative modeling generalizes rather than overfits.

By Thomas Bonis, Thanh Mai Pham Ngoc, Viet Chi Tran