We introduce Equilibrium Matching (EqM), a generative modeling framework built from an equilibrium dynamics perspective. EqM discards the non-equilibrium, time-conditional dynamics in traditional diffusion and flow-based generative models and instead learns the equilibrium gradient of an implicit energy landscape. Through this approach, we can adopt an optimization-based sampling process at inference time, where samples are obtained by gradient descent on the learned landscape with adjustable step sizes, adaptive optimizers, and adaptive compute. Empirically, EqM achieves the best FID among the tested methods, reaching 1.90 on ImageNet 256×256, while remaining competitive on other metrics. Theoretically, we show under standard assumptions that real images are attracting critical points of the learned field and the energy interpretation applies when the field is conservative. Beyond generation, EqM is a flexible framework that naturally handles tasks including partially noised image denoising, OOD detection, and image composition. By replacing time-conditional velocities with a unified equilibrium landscape, EqM offers a tighter bridge between flow and energy-based models and a simple route to optimization-driven inference.
Figures & tables
Figure 1: Conceptual 2D Visualization. We compare the conceptual 2D dynamics of Equilibrium Matching and Flow Matching under 2 ground truths (marked by stars). Left : Flow Matching learns non-equilibrium velocity that varies over time. Right : Equilibrium Matching learns an equilibrium gradient that is time-invariant.
Figure 11: Partially Noised Image Denoising. EqM’s generation quality improves with less noise while an FM baseline without the noise level drops.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
metric
EqM
SiT
Precision ( k=3 )
0.806
0.802
Recall ( k=3 )
0.609
0.597
Density ( k=5 )
1.130
1.143
Coverage ( k=5 )
0.9997
0.9997
Mean per-class coverage
0.943 (0.068)
0.943 (0.070)
DINOv2 Fréchet distance
101.3
117.3
Appendix
Table 9: EqM achieves competitive additional metrics. Distributional metrics for EqM and SiT under the identical XL/2 protocol. Parentheses denote the standard deviation of per-class coverage.
mean NFE
FID-10k
657
36.0
241
36.5
168
38.1
141
39.6
250 (fixed)
36.4
Appendix
Table 10: Quality–compute trade-off for adaptive stopping on EqM-B/2.
starting noise level
method
0.8
0.4
0.0
EqM
59.2
20.2
6.2
SiT w/o noise-level input
125.0
164.2
138.1
Oracle SiT
58.2
20.2
5.4
Appendix
Table 11: EqM matches oracle FM without time input. FID-10k for partially noised inputs. Oracle SiT is provided the true starting noise level, whereas EqM and standard SiT are not.
Figure 12: Energy Evolution During Sampling. We report the energy curve during sampling on EqM-E. The energy value decreases smoothly and consistently, matching our expectation.
setting
top-5 accuracy
single-class control
0.2%
EqM composed samples
1.8%
Appendix
Table 12: EqM composes classes with higher accuracy. To measure composition, we report ResNet-50 top-5 classification on both labels of EqM composed image and compare against a single-class control paired with a random second class. EqM’s composed samples provide much stronger signal to classification on both classes.
sampler
FID-10k
Recall
GD
20.42
0.627
NAG-GD
20.34
0.634
Annealed Langevin
21.11
0.634
Appendix
Table 13: EqM supports stochastic sampling. Stochastic sampling results for EqM-B/2. Annealed Langevin sampling uses a cosine schedule with T0=0.01 .
model
S/2
B/2
L/2
XL/2
model configurations
params (M)
33
130
458
675
depth
12
12
24
28
hidden dim
384
768
1024
1152
patch size
2
2
2
2
heads
6
12
16
16
Appendix
Table 14: Equilibrium Matching Configurations.
Table 19
sampler
GD
NAG-GD
Adam
FID
32.85
32.97
36.35
Appendix
Table 17: EqM Sampling with Adam. We find that Adam without momentum achieves decent generation quality on EqM-B/2.