Amortized Moment Matching for Visual Generation

Wenze Liu, Xintao Wang, Pengfei Wan, Xiangyu Yue
7/29/2026
cs.LG

Official code: poppuppy/amfd (1 star, MIT, last commit 2026-07-30).

Abstract

We propose amortized moment matching, utilizing neural networks to learn data moments as distributional training signals. By casting diffusion denoisers through polynomial projections, we establish a general framework for moment amortization, revealing that an $n$-th degree projection explicitly identifies data moments up to order $n+1$. Derived from the tractable affine case, we instantiate the Amortized Fréchet Distance (AMFD) loss. Unlike FD-loss which relies on explicit marginal moment calculations, AMFD is able to dynamically learn conditional moments via an alternating, matrix-free optimization pipeline that effortlessly scales to high-dimensional data. When operating on global representation features, AMFD serves as a powerful post-training objective; empirically, its neural formulation yields more robust training dynamics than exact statistical matching, substantially surpassing the FD baseline on the FDr$^6$ metric and achieving superior one-step generation on ImageNet. Furthermore, it unlocks direct exploration within native generative spaces, suggesting that the first two moments can identify target distributions only in spaces with strong semantics. Finally, when scaled to text-to-image generation, the condition-aware nature of AMFD unlocks massive gains in instruction-following capabilities, enabling our one-step models to outperform their multi-step FLUX.2 [klein] 4B teachers on the GenEval benchmark while achieving on-par performance on PickScore. Code and checkpoints are available at https://github.com/poppuppy/amfd.

View on arXivView PDF

Code Implementations(1)

poppuppy/amfdOfficial100%
MIT

Official implementation of Amortized Moment Matching for Visual Generation

10Shell, PythonJul 29, 20262 months agoMIT

Similar Papers

Cite this paper

@article{liu2026amortized,
  title  = {Amortized Moment Matching for Visual Generation},
  author = {Wenze Liu and Xintao Wang and Pengfei Wan and Xiangyu Yue},
  year   = {2026},
  eprint = {2607.26860},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.26860v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.26860.svg)](https://codeofpaper.com/paper/2607.26860)

Discussion