A Self-Supervised Free Lunch for Flow Map Training
- Paper
- Code
- BibTeX
TL;DR: Flow-map training already evaluates a teacher on a cleaner view to build the target for a student on a noisier view. iFeCo adds one loss: early features of the noisier view predict the teacher's deep features of the cleaner view. It needs no external encoder and no extra forward pass.
Work in progress. The results on this page are preliminary: each model is trained once, and some models have not finished training.
Diffusion training seems difficult partly because of the semantic structure that has to come out of it. We have seen representation autoencoders, representation generation and representation alignment. Much of this work says the same thing: diffusion training needs some form of self-supervised signal to train faster and generate better.
Since I was mostly working on few-step models (flow maps), I noticed that they are, in principle, a knowledge distillation algorithm: a student tries to distill from a multi-step teacher. Looked at closely, the student and the teacher see two views of the same data. The teacher gets the cleaner one and the student the noisier one. This gives a consistency target in feature space, without any additional forward pass. That is the free lunch for flow map training.
One-step samples




Two views of one trajectory
The student reads the noisier view and the teacher, an EMA copy of the student, reads the cleaner view. One predictor connects the two.
One training step. The teacher's forward pass builds the flow-map target and, in the same pass, supplies the deep features that the student's early features learn to predict.
The predictor is a two-layer MLP; the consistency loss is the cosine distance between its output and the teacher's features, per token, and the predictor is discarded after training. One setting serves all three families: loss weight 0.25, student block at a quarter of the depth (block 2 of 12 at B/2), teacher block at 70% (block 7 of 12).
The teacher pass is already there
Each flow-map family passes through the cleaner view when it builds its training target. iFeCo reads the teacher's features from that pass.
Results
iFeCo reaches the baseline's final 1-step FID 1.3 to 2.9 times sooner in five of six settings. On Shortcut, the speedup grows with training. On MeanFlow XL/2, iFeCo leads until 300k steps and then falls behind.
| Model | Steps | Baseline | iFeCo | REPA | Speedup |
|---|---|---|---|---|---|
| Shortcut DiT-B/2 | 1.2M | 36.95 | 28.03 | 36.11 | 2.9× |
| Shortcut DiT-XL/2 | 1.0M | 19.34 | 13.17 | – | 2.7× |
| MeanFlow SiT-B/2 | 1.2M | 6.12 | 5.69 | 4.86 | 1.3× |
| MeanFlow SiT-XL/2 | 500k | 3.80 | 4.33 | – | – |
| LSD SiT-B/2 | 1.2M | 12.42 | 9.96 | – | 2.4× |
| LSD SiT-XL/2 | 900k | 7.72 | 7.28 | – | 1.5× |
1-step FID-50k (lower is better) with ADM reference statistics. Speedup: how many times sooner iFeCo reaches the baseline's final 1-step FID. MeanFlow XL/2 and LSD XL/2 have not finished their schedules. The MeanFlow and LSD models here use an extra EMA teacher forward pass in place of the free teacher; models with the free teacher are in training.
| Model | Sampling steps | Baseline | iFeCo | REPA |
|---|---|---|---|---|
| Shortcut DiT-B/2 | 8 | 23.89 | 18.04 | 16.14 |
| MeanFlow SiT-B/2 | 4 | 5.52 | 5.53 | – |
| LSD SiT-B/2 | 4 | 6.47 | 5.58 | – |
Multi-step sampling, FID-50k at 1.2M training steps. On Shortcut and LSD the one-step gain carries over to more sampling steps; on MeanFlow the 4-step FIDs tie.
Comparison with REPA. REPA aligns features with a frozen DINOv2 encoder. Our REPA reference uses the same student block as iFeCo, is not tuned for flow maps, and does not reproduce the published REPA. Which target is better depends on the family and on the number of sampling steps. iFeCo has the lower 1-step FID on Shortcut B/2 (28.03 against 36.11) and on LSD B/2 (10.98 against 12.07 at 900k steps). REPA is better on MeanFlow B/2 (4.86 against 5.69) and with 8 sampling steps on Shortcut B/2 (16.14 against 18.04) and LSD B/2 (4.97 against 5.78).
BibTeX
@article{awal2026ifeco,
title = {A Self-Supervised Free Lunch for Flow Map Training},
author = {Awal, Rabiul and others},
year = {2026},
note = {Preprint coming soon}
}