Continuous Adversarial MeanFlow Transfer
Organizations: LIVIA · ILLS · ÉTS Montreal · Mila – Quebec AI Institute ·
Abstract
Training fast generators on new domains with limited data remains challenging for two reasons. First, adapting a pretrained diffusion or flow model to a new domain leaves its costly multi-step sampling unaddressed, and existing acceleration methods are tied to the source parameterization--, , , or --leaving heterogeneous pretrained models with no common acceleration target. Second, while adversarial refinement is proven effective for few-step quality, it is formulated only for instantaneous-velocity flows, not for the finite-interval average velocities that MeanFlow (MF) models predict. We address both problems. We propose MeanFlow-Transfer, which maps heterogeneous source outputs into a shared velocity representation, uses it to initialize an MF generator from the source weights, and optimizes an MF objective on the target domain. This unifies adaptation and acceleration in a single training loop across a broad range of pretrained models. We then introduce Continuous Adversarial MeanFlow, a post-training stage that extends continuous adversarial flow models from instantaneous velocities to MF's finite-interval average velocities. CAMF contrasts changes in a learned potential between real and predicted interval endpoints, recovering fine detail that MF regression averages away, and reduces to the instantaneous criterion in the vanishing-interval limit. Adapting four ImageNet-based source models--DiT (), SiT (), JiT (), iMF ()--to five target domains, MF-T with CAMF matches or exceeds the fine-tuned teacher in FID and FDD at up to fewer Neural Function Evaluations (NFEs), while CAMF improves MF-T's few-step FID by on average.
Figures & tables
| Source prediction space | |||
| Source prediction | |||
| Recovered instantaneous velocity | |||
| MeanFlow-Transfer initialization | |||
| FID | FDD | |||||||||||||
| ImageNet Init. | Method | NFE | ArtB. | Calt. | CUB | Food | Cars | Avg. | ArtB. | Calt. | CUB | Food | Cars | Avg. |
| AFM | {\color[rgb]{0.55,0.55,0.55}15.84} | {\color[rgb]{0.55,0.55,0.55}55.97} | {\color[rgb]{0.55,0.55,0.55}9.86} | {\color[rgb]{0.55,0.55,0.55}11.86} | {\color[rgb]{0.55,0.55,0.55}12.39} | {\color[rgb]{0.55,0.55,0.55}290.57} | {\color[rgb]{0.55,0.55,0.55}1007.22} | {\color[rgb]{0.55,0.55,0.55}570.89} | {\color[rgb]{0.55,0.55,0.55}476.94} | {\color[rgb]{0.55,0.55,0.55}440.94} | ||||
| CAMF | {\color[rgb]{0.55,0.55,0.55}10.80} | {\color[rgb]{0.55,0.55,0.55}44.42} | {\color[rgb]{0.55,0.55,0.55}9.34} | {\color[rgb]{0.55,0.55,0.55}10.60} | {\color[rgb]{0.55,0.55,0.55}11.19} | {\color[rgb]{0.55,0.55,0.55}221.40} | {\color[rgb]{0.55,0.55,0.55}812.31} | {\color[rgb]{0.55,0.55,0.55}367.57} | {\color[rgb]{0.55,0.55,0.55}409.74} | {\color[rgb]{0.55,0.55,0.55}293.50} | ||||
| MF-T | {\color[rgb]{0.55,0.55,0.55}10.60} | {\color[rgb]{0.55,0.55,0.55}27.54} | {\color[rgb]{0.55,0.55,0.55}7.26} | {\color[rgb]{0.55,0.55,0.55}10.58} | {\color[rgb]{0.55,0.55,0.55}9.69} | {\color[rgb]{0.55,0.55,0.55}273.28} | {\color[rgb]{0.55,0.55,0.55}471.09} | {\color[rgb]{0.55,0.55,0.55}310.62} | {\color[rgb]{0.55,0.55,0.55}465.38} | {\color[rgb]{0.55,0.55,0.55}276.53} | ||||
| MF-T + AFM | {\color[rgb]{0.55,0.55,0.55}8.67} | {\color[rgb]{0.55,0.55,0.55}22.19} | {\color[rgb]{0.55,0.55,0.55}3.01} | {\color[rgb]{0.55,0.55,0.55}7.03} | {\color[rgb]{0.55,0.55,0.55}4.13} | {\color[rgb]{0.55,0.55,0.55}180.29} | {\color[rgb]{0.55,0.55,0.55}371.61} | {\color[rgb]{0.55,0.55,0.55}75.72} | {\color[rgb]{0.55,0.55,0.55}298.54} | {\color[rgb]{0.55,0.55,0.55}141.25} | ||||
| MF-T + CAMF | {\color[rgb]{0.55,0.55,0.55}6.71} | {\color[rgb]{0.55,0.55,0.55}22.10} | {\color[rgb]{0.55,0.55,0.55}2.88} | {\color[rgb]{0.55,0.55,0.55}4.65} | {\color[rgb]{0.55,0.55,0.55}3.07} | {\color[rgb]{0.55,0.55,0.55}146.40} | {\color[rgb]{0.55,0.55,0.55}378.09} | {\color[rgb]{0.55,0.55,0.55}84.24} | {\color[rgb]{0.55,0.55,0.55}239.28} | {\color[rgb]{0.55,0.55,0.55}102.37} | ||||
| FID | FDD | |||||
|---|---|---|---|---|---|---|
| Centering penalty | ArtB. | CUB | Cars | ArtB. | CUB | Cars |
| {\color[rgb]{0.55,0.55,0.55}7.49} | {\color[rgb]{0.55,0.55,0.55}2.85} | {\color[rgb]{0.55,0.55,0.55}3.13} | {\color[rgb]{0.55,0.55,0.55}160.24} | {\color[rgb]{0.55,0.55,0.55}86.10} | {\color[rgb]{0.55,0.55,0.55}111.71} | |
| {\color[rgb]{0.55,0.55,0.55}7.81} | {\color[rgb]{0.55,0.55,0.55}2.79} | {\color[rgb]{0.55,0.55,0.55}3.24} | {\color[rgb]{0.55,0.55,0.55}157.70} | {\color[rgb]{0.55,0.55,0.55}82.70} | {\color[rgb]{0.55,0.55,0.55}125.14} | |
| {\color[rgb]{0.55,0.55,0.55}6.88} | {\color[rgb]{0.55,0.55,0.55}2.80} | {\color[rgb]{0.55,0.55,0.55}3.36} | {\color[rgb]{0.55,0.55,0.55}151.95} | {\color[rgb]{0.55,0.55,0.55}84.60} | {\color[rgb]{0.55,0.55,0.55}128.25} | |
| {\color[rgb]{0.55,0.55,0.55}8.11} | {\color[rgb]{0.55,0.55,0.55}2.85} | {\color[rgb]{0.55,0.55,0.55}3.24} | {\color[rgb]{0.55,0.55,0.55}170.76} | {\color[rgb]{0.55,0.55,0.55}83.89} | {\color[rgb]{0.55,0.55,0.55}104.18} | |
| {\color[rgb]{0.55,0.55,0.55}7.68} | {\color[rgb]{0.55,0.55,0.55}2.77} | {\color[rgb]{0.55,0.55,0.55}3.27} | {\color[rgb]{0.55,0.55,0.55}159.88} | {\color[rgb]{0.55,0.55,0.55}82.37} | {\color[rgb]{0.55,0.55,0.55}123.60} | |
| FID | FDD | ||||||
|---|---|---|---|---|---|---|---|
| Method | ArtB. | Calt. | CUB | ArtB. | Calt. | CUB | |
| CAMF | {\color[rgb]{0.55,0.55,0.55}12.18} | {\color[rgb]{0.55,0.55,0.55}59.80} | {\color[rgb]{0.55,0.55,0.55}12.52} | {\color[rgb]{0.55,0.55,0.55}231.13} | {\color[rgb]{0.55,0.55,0.55}974.38} | {\color[rgb]{0.55,0.55,0.55}454.71} | |
| CAMF | |||||||
| MF-T + CAMF | {\color[rgb]{0.55,0.55,0.55}7.59} | {\color[rgb]{0.55,0.55,0.55}24.02} | {\color[rgb]{0.55,0.55,0.55}3.23} | {\color[rgb]{0.55,0.55,0.55}159.11} | {\color[rgb]{0.55,0.55,0.55}408.27} | {\color[rgb]{0.55,0.55,0.55}98.86} | |
| MF-T + CAMF | |||||||
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Training | Inference | ||||||
| Family | Stage | Updates | Batch | GPU-h | NFE | TFLOPs/img | Latency (ms) |
| iMF | MF-T | ||||||
| CAMF | |||||||
| SiT | FT (baseline) | ||||||
| MF-T | |||||||
| CAMF | |||||||
| IS | ||||||||
| ImageNet Init. | Method | NFE | ArtB. | Calt. | CUB | Food | Cars | Avg. |
| AFM | {\color[rgb]{0.55,0.55,0.55}6.98} | {\color[rgb]{0.55,0.55,0.55}17.27} | {\color[rgb]{0.55,0.55,0.55}5.14} | {\color[rgb]{0.55,0.55,0.55}4.16} | {\color[rgb]{0.55,0.55,0.55}3.33} | |||
| CAMF | {\color[rgb]{0.55,0.55,0.55}7.94} | {\color[rgb]{0.55,0.55,0.55}23.54} | {\color[rgb]{0.55,0.55,0.55}6.16} | {\color[rgb]{0.55,0.55,0.55}5.28} | {\color[rgb]{0.55,0.55,0.55}3.66} | |||
| MF-T | {\color[rgb]{0.55,0.55,0.55}7.36} | {\color[rgb]{0.55,0.55,0.55}31.46} | {\color[rgb]{0.55,0.55,0.55}6.08} | {\color[rgb]{0.55,0.55,0.55}6.37} | {\color[rgb]{0.55,0.55,0.55}3.41} | |||
| MF-T + AFM | {\color[rgb]{0.55,0.55,0.55}7.62} | {\color[rgb]{0.55,0.55,0.55}36.69} | {\color[rgb]{0.55,0.55,0.55}5.67} | {\color[rgb]{0.55,0.55,0.55}5.47} | {\color[rgb]{0.55,0.55,0.55}3.36} | |||
| MF-T + CAMF | {\color[rgb]{0.55,0.55,0.55}8.03} | {\color[rgb]{0.55,0.55,0.55}36.16} | {\color[rgb]{0.55,0.55,0.55}5.69} | {\color[rgb]{0.55,0.55,0.55}5.76} | {\color[rgb]{0.55,0.55,0.55}3.23} | |||
| iMF-XL/2 | SiT-XL/2 | DiT-XL/2 | JiT-H/16 | |
| Source model | ||||
| Parameters | 610M | 675M + 49M | 675M + 49M | 953M |
| Reference NFE | ||||
| Reference FID | 2.06 | 2.27 | 1.86 | |
| Prediction space | ||||
| Loss space | ||||