All models

TransitionMatching

A Transition Matching image generator: a large transformer backbone feeding a small flow head for each transition.

Diffusion and generative · 616 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (17 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
240.5M
Operations
616
Framework
PyTorch
Recurrent
No
Published
NeurIPS (arXiv 2025)
Cited by
0 (as of 21 October 2026)
Authors
Neta Shaul, Uriel Singer, Itai Gat, Yaron Lipman
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3198
Graph hash
3113a2e25b05828f5456d5e6f631ed14df865c7083c9e8933c04becd886dcc52
Skeleton hash
d545ec35b811844be364e9e9ee3e4e10c6e60573e656cfb07ef7ca55ff167a2e
Architecture hash
ae836bcc41f52d07162976312cb6375de6940af413c210635406d36637946375
Diagram SHA-256
d3ea464cd87f69ca8be518471299282715ef8362a8ac1425aa149a5c8de53a1c
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Transition Matching (TM) is a discrete-time, continuous-state approach to generative modeling that its paper presents as unifying diffusion and flow models with continuous autoregressive generation. Like diffusion and flow models, it breaks a complex generation task down into a series of simpler Markov transitions. Unlike them, it allows expressive non-deterministic transition kernels.

This model follows the Difference Transition Matching (DTM) variant, a generalization of flow matching to discrete time that directly learns the transition probabilities of consecutive states in the linear process instead of just its expectation. Its architecture pairs a large backbone with a small head: the head generates all tokens in a batch and is fed with latents from the backbone. The paper names one limitation of this design, that in each transition step each token is generated independently. As the number of steps increases, DTM converges to flow matching with Euler steps.

In the paper's sampling comparison, DTM uses 16 backbone forwards where flow matching requires 128 for optimal quality, which the paper counts as an almost 7-fold speedup. The code for this model comes from the repository that implements a different paper, Demystifying Transition Matching: When and Why It Can Beat Flow Matching. That repository's image generation code is built upon MAR.

Key idea. Transition Matching frames generation as a series of learned discrete-time Markov transitions, a formulation the paper presents as unifying diffusion and flow models with continuous autoregressive generation.

  • transition matching
  • tm
  • dtm
  • difference transition matching
  • flow matching
  • image generation
  • generative model
  • markov transition kernel

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{shaul2025transitionmatchingscalableflexible,
      title={Transition Matching: Scalable and Flexible Generative Modeling}, 
      author={Neta Shaul and Uriel Singer and Itai Gat and Yaron Lipman},
      year={2025},
      eprint={2506.23589},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2506.23589}, 
}