Research ·
Self-Conditioning Enables Deep Sequential Reasoning in Flow Matching
A new paper proves vanilla flow matching samplers collapse to constant sequential depth, and shows self-conditioning removes this limit, enabling deeper visual reasoning across tasks like mazes, Sudoku, and multiplication.

A paper on Hugging Face challenges the intuition that each flow matching sampling step acts as a reasoning step. Using circuit complexity analysis, the authors prove that under mild regularity conditions, a vanilla flow-matching sampler's trajectory can be simulated by a constant number of rounds of parallel model evaluations, so extra sampling steps add no expressive power for constant-depth transformer backbones.
The fix is self-conditioning: the model is conditioned on the previous step's estimate of the final image, acting as an evolving visual scratchpad that carries information between steps. Theoretically, the authors show this lets a constant-depth backbone match the expressive power of space-bounded Turing machines. Experiments on tasks including line tracing, long multiplication, text rendering, maze solving, Sudoku, TSP, VSP, and Jigsaw show higher accuracy and greater reasoning depth than vanilla flow matching at matched training FLOPs, with performance improving as sampling steps increase.
For builders, the practical takeaway is a design principle: carry information between sampling steps so more compute at inference actually buys deeper reasoning. Code, models, and datasets are available on GitHub and Hugging Face under the self-conditioning-deep-reasoning project.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz