arXiv:2610.19628cs.CVOct 2026

Manuscript Offprint

arXiv:2610.19628

Self-Conditioning Enables Deep Sequential Reasoning in Flow Matching

Zeyang Zhang, Linxiang Gao, Meiqi Gu, Xingyan Chen, Minrui Luo, Kaifeng Lyu, Tianxing He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

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. 1^{1}

1 INTRODUCTION

Recent advances in visual generative models have sparked growing interest in generative visual reasoning, where models plan and reason directly in image space (Su et al., 2025b; Hu et al., 2024; Tong et al., 2026). This paradigm is natural for spatial planning, combinatorial optimization, and structured rendering (He et al., 2025; Dai et al., 2026). Intuitively, flow matching (Lipman et al., 2022; Liu et al., 2022) is well suited to this setting: it turns noise into an image through K evaluations of a velocity model, providing K sequential rounds for reasoning to unfold. He et al. (2025) put this intuition into practice, solving visual reasoning tasks via flow-matching image generation.

However, in this work we show that this apparent reasoning depth is an illusion. Through circuit complexity analysis, we find that the expressive power of vanilla flow matching (VANILLAFM) does not grow with the number of sampling steps K. The intuition lies in how flow matching generates images: the sampling process discretizes an ordinary differential equation (ODE), making only a small incremental update of scale O(1/K)O(1/K) to its state at each step. Because the full trajectory is governed by this continuous ODE, we show that it can be simulated by an alternative ODE solver in

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

1^{1}Our code is available in the GitHub repository.

Figure

w/o self-conditioning w/ self-conditioning

Figure 1: Controlled experiments on three synthetic tasks: line tracing, long multiplication, and long text rendering ( §4.2§4.2). The top row shows an example input and target output for each task, and the bottom row plots performance against training FLOPs. Across all three tasks, self-conditioning improves the performance of flow matching by large margins.

a constant number of steps, regardless of how large K is. Consequently, running VANILLAFM with a constant-depth backbone leaves its expressive power collapsed to constant reasoning depth ( §3.1§3.1).

To overcome this barrier, we uncover a previously unrecognized role of self-conditioning (Chen et al., 2022). In flow matching with self-conditioning (SELFCONDFM), the model still simulates the ODE, but its input is augmented with a prediction of its own sampling trajectory's endpoint, i.e., an estimate of the final image ( §3.2§3.2). This endpoint prediction acts as an internal scratchpad on which the model records and refines intermediate partial solutions. Unlike the continuous state, which changes only by O(1/K)O(1/K), this scratchpad can change abruptly between steps. Therefore, the resulting trajectory can no longer be simulated by an ODE solver in a constant number of steps. This prevents the collapse of expressive power, enabling deep sequential reasoning ( §3.3§3.3).

We establish this advantage of self-conditioning both theoretically and empirically. Theoretically, we prove that self-conditioning can lift the expressive power of flow matching from constant-depth circuits to space-bounded Turing machines ( §3§3). Empirically, controlled experiments on diverse synthetic tasks demonstrate that self-conditioning substantially improves the performance of flow matching (Figure 1), and its advantage also extends to broader visual-reasoning tasks ( §4§4). Our contributions are as follows:

• Self-conditioning as an internal scratchpad. We reveal a previously unrecognized role of self-conditioning in generative reasoning: rather than serving merely as an empirical regularizer, its endpoint prediction provides an internal scratchpad that carries rich information, enabling deep sequential computation across sampling steps.

• Circuit complexity separation. We formalize this mechanism through circuit complexity analysis. We prove that as long as the model outputs satisfy certain mild regularity conditions, VANILLAFM with an AC0AC^{0} or TC0TC^{0} backbone collapses to constantly many sequential model evaluations, deciding only languages in the backbone’s circuit complexity class regardless of the number of sampling steps ( §3.1§3.1). In contrast, SELFCONDFM enables an AC0AC^{0} model to simulate space-bounded Turing machines, deciding P/poly with polynomial steps and PSPACE/poly with at most exponential steps ( §3.3§3.3). These results extend to more general settings ( §3.4§3.4).

• Empirical validation. We support these theoretical results through controlled experiments on three synthetic tasks with known circuit complexity: NC 1^{1}-complete line tracing, and TC 0^{0}-complete long multiplication and long text rendering ( §4.2§4.2). Under matched training FLOPs, SELFCONDFM outperforms VANILLAFM by large margins (Figure 1). Moreover, in agreement with our theory, SELFCONDFM keeps improving with more sampling steps, whereas VANILLAFM saturates early (Figure 3). Self-conditioning also brings consistent improvements on five broader visual-reasoning tasks from He et al. (2025) ( §4.3§4.3).

References (100)

Couldn't load all references. Reload the page to try again.