Self-Conditioning Enables Deep Sequential Reasoning in Flow Matching
cs.CV, cs.LG
Submitted: 2026-10-14
Updated: 2026-10-14
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: Recent work has explored visual reasoning through image generation, where models solve visual-reasoning problems by directly generating solution images.
Terminology
Abstract
Recent work has explored visual reasoning through image generation, where models solve visual-reasoning problems by directly generating solution images. Intuitively, iterative samplers such as flow matching are well suited to this task, since each sampling step may resemble one reasoning step. However, in this work, from a circuit complexity perspective, we show that this intuition is misleading. We prove that as long as the model outputs satisfy certain mild regularity conditions, the trajectory of the vanilla flow-matching sampler can be simulated by a constant number of sequential rounds of parallel model evaluations. Consequently, additional sampling steps cannot increase the expressive power of a constant-depth backbone model under the standard complexity-theoretic model of transformers. We then reveal that self-conditioning, which conditions the model on the previous step's estimate of the final image, plays a previously unrecognized role in removing this bottleneck. Controlled experiments on diverse visual-reasoning tasks show that flow matching with self-conditioning achieves higher accuracy and greater reasoning depth than vanilla flow matching, and its performance improves with more sampling steps. Theoretically, we prove that with self-conditioning, a constant-depth backbone can achieve expressive power equivalent to that of space-bounded Turing machines. Our study suggests a design principle for future visual reasoning research: carry more information between sampling steps, so that additional steps translate into deeper reasoning.
Sources
- Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers
- $\pi_0$: A Vision-Language-Action Flow Model for General Robot Control
- FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Space
- Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioning
- LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling
- Transformers in Uniform TC$^0$
- EndoCoT: Scaling Endogenous Chain-of-Thought Reasoning in Diffusion Models
- TinyStories: How Small Can Language Models Be and Still Speak Coherent English?
- DiffThinker: Towards Generative Multimodal Reasoning with Diffusion Models
- Scalable Adaptive Computation for Iterative Generation
- HunyuanVideo: A Systematic Framework For Large Video Generative Models
- Flow Matching for Generative Modeling
- Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow
- Perfect diffusion is $\mathsf{TC}^0$ -- Bad diffusion is Turing-complete
- Video Models Reason Early: Exploiting Plan Commitment for Maze Solving
- Chain-of-Visual-Thought: Teaching VLMs to See and Think Better with Continuous Visual Tokens
- Harmonic Self-Conditioned Flow Matching for Multi-Ligand Docking and Binding Site Design
- Self-conditioned Embedding Diffusion for Text Generation
- OpenThinkIMG: Learning to Think with Images via Visual Tool Reinforcement Learning
- Thinking with Images for Multimodal Reasoning: Foundations, Methods, and Future Frontiers
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models