Manuscript Offprint
arXiv:2610.19628Self-Conditioning Enables Deep Sequential Reasoning in Flow Matching
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 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 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.
Corresponding authors.
Our code is available in the GitHub repository.

w/o self-conditioning w/ self-conditioning
Figure 1: Controlled experiments on three synthetic tasks: line tracing, long multiplication, and long text rendering ( ). 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 ( ).
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 ( ). 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 , 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 ( ).
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 ( ). 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 ( ). 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 or 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 ( ). In contrast, SELFCONDFM enables an model to simulate space-bounded Turing machines, deciding P/poly with polynomial steps and PSPACE/poly with at most exponential steps ( ). These results extend to more general settings ( ).
• Empirical validation. We support these theoretical results through controlled experiments on three synthetic tasks with known circuit complexity: NC -complete line tracing, and TC -complete long multiplication and long text rendering ( ). 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) ( ).
2.1 BACKGROUND
Flow matching. Flow matching (Lipman et al., 2022; Liu et al., 2022) is a generative modeling framework. Given a data distribution and a prior , we define the probability path as the distribution of for independent random vectors and . The velocity field that generates this path is given by . Flow matching aims to find a parameterized field to approximate , so that the solution of the ODE with follows the marginals for .
Flow-matching models are trained by minimizing the conditional flow-matching loss . Lipman et al. (2022) prove that minimizing is equivalent to minimizing , so the trained model regresses onto the target field . At inference time, a sample is generated by solving the ODE with a numerical scheme such as Euler's method (Hairer et al., 1993; Liu et al., 2022; Esser et al., 2024).
For conditional generation, such as text-to-image and image editing, the model is conditioned on context ctx, with now a joint distribution over pairs . This amounts to learning a velocity field minimizing .
Circuit complexity. We measure the expressive power of a model by the complexity of the languages it can decide. A language is a subset , and to decide is to determine whether a given input belongs to . We abstract the model as a circuit family , where each is a Boolean circuit that handles inputs of length (Arora et al., 2009). The size of a circuit is the number of gates and its depth is the length of the longest input-to-output path. Depth measures sequential computation, whereas size measures total work.
For , , , and denote the non-uniform classes of languages decided by polynomial-size, depth- circuit families with bounded-fan-in Boolean, unbounded-fan-in Boolean, and unbounded-fan-in Boolean plus MAJORITY gates, respectively. We call circuits of unbounded-fan-in AND, OR, NOT, and MAJORITY gates majority circuits. The class comprises the efficiently parallelizable problems. The advice classes P/poly and PSPACE/poly consist of languages decided by polynomial-time and polynomial-space Turing machines, respectively, with polynomial-length advice depending only on the input length. Standard relations among these classes, such as , are collected in Appendix A.1.
These classes bound the power of common neural network architectures: a constant-depth log-precision transformer without chain-of-thought (CoT) lies in (Merrill et al., 2022; Merrill & Sabharwal, 2023; Chiang, 2024), and variants such as unique hard-attention transformers (Hao et al., 2022) and constant-precision transformers (Li et al., 2024) lie in instead. Surpassing these bounds requires more layers or, as with CoT, additional sequential calls (Li et al., 2024). This motivates studying whether flow matching, which sequentially invokes such a network many times, extends what the model can decide.
2.2 THEORETICAL SETUP AND NOTATION
To formally analyze the expressive power of flow matching, we establish our theoretical setup below, adapting the flow-matching framework into a concrete computational model.
Modeling flow matching. We consider flow matching under finite-precision arithmetic with fractional bits. The representable numbers form . All arithmetic operations are evaluated over the reals and then rounded coordinate-wise via .
A model is a map acting on binary encodings of arbitrary length. It receives an encoded triple , where , and the length of ctx are non-negative integers read from the encoding, and outputs the velocity . On an input problem , vanilla flow matching VANILLAFM( ) sets and runs the Euler method for steps, starting from , where is an arbitrary prior distribution whose support we additionally restrict to (Algorithm 1).
Model regularity and acceptance. A model is -bounded if for all , , and , and -Lipschitz continuous if for all , , and equal-length , . The Lipschitz condition is joint in and uniform over . For simplicity we measure Lipschitzness in the norm, but the analysis carries over to any norm; see §3.4.
Given an inference algorithm and a constant independent of , we say that accepts a language with margin under if, for every and , the output satisfies, with probability 1 over the randomness in , for all coordinates when and for all when . Acceptance with a margin represents a robust decision, in which every output coordinate is separated from the threshold 0 by at least . For asymptotic analysis, the precision , state dimension , and step count may grow with the problem size .
3 SELF-CONDITIONING INCREASES EXPRESSIVE POWER
In this section, we first show that, under the mild regularity conditions below, vanilla flow-matching inference is confined to constant-depth circuit classes ( ), which restricts the problems it can solve. We then consider self-conditioning ( ), a simple mechanism that allows the same models to attain substantially greater expressive power ( ).
3.1 VANILLA FLOW MATCHING IS CONFINED TO CONSTANT DEPTH
Although VANILLAFM makes K sequential model evaluations, as long as the model outputs satisfy certain mild regularity conditions, this sequential depth is an illusion: the same decision can be reached in sequential rounds of parallel evaluations of the model, regardless of how large K is. When L is a constant, these are constantly many rounds, so the decided language stays within the model's own complexity class. Below we view K as a function of the problem size m, and state the theorem under the setup of §2.2.
Theorem 1 (Upper bounds on the expressiveness of vanilla flow matching). Let be a constant integer, be a circuit complexity class, be a model that can be computed by circuits in , and be any language that can be accepted by with margin 1 under VANILLAFM. Assume that for some constants and independent of , the model is -bounded and -Lipschitz continuous. Then as long as the state dimension satisfies , and the number of fractional bits satisfies
we have .
See Appendix A.2.4 for the proof. The case recovers the canonical constant-depth classes: under vanilla flow matching, log-precision softmax-attention transformers in (Merrill et al., 2022; Merrill & Sabharwal, 2023; Chiang, 2024) remain in , and the unique hard-attention and constant-precision variants in (Hao et al., 2022; Li et al., 2024) remain in . Thus, ODE iteration alone adds no expressive power in this setting.
The core technique behind the proof is a parallel Picard iteration (Hairer et al., 1993). The ODE under which VANILLAFM samples can amplify an initial error by a factor of . A naive simulation that reruns the Euler method with fewer steps to reproduce the full K-step trajectory therefore takes steps to reach constant accuracy. We instead iteratively update all K positions in parallel using the previous iterate, making the propagated error decay at a factorial rate across rounds up to an additive floor, so that rounds suffice. This yields the following lemma.
Lemma 1. Under the same setup as Theorem 1, assume that u is B-bounded for a constant B > 0 and -Lipschitz continuous with . Then there exist a constant ,
Algorithm 1 Vanilla Flow Matching
1: function VANILLAFM(w; u, K) 2: for 3: Sample 4: 5: for do 6: 7: 8: 9: end for 10: return 11: end function
Algorithm 2 Self-Conditioning Flow Matching
1: function SELFCONDFM(w; u, K) 2: for 3: Sample 4: 5: for do 6: 7: 8: 9: end for 10: return 11: end function
independent of m, and an inference algorithm that runs for iterations, making at most parallel calls to u per iteration, such that as long as the number of fractional bits satisfies
u accepts L with margin 1/2 under that algorithm.
See Appendix A.2.2 for the proof. For constant L, these are constantly many rounds, and the arithmetic accompanying the model calls is shallow enough to be absorbed into the model's own circuit class, yielding Theorem 1. The bound also lets us extend the analysis to a growing ( ).
3.2 SELF-CONDITIONING
The expressivity bottleneck in Theorem 1 stems from how information flows along the continuous ODE: consecutive steps in VANILLAFM transfer information solely through the state , which changes only by a small increment scaled by a step size of : . This small ODE update is what allows the Picard iteration in Lemma 1 to compress all K sampling steps into iterations. One potential way to overcome this bottleneck is to make a larger update per step, for example, by introducing an extra input component that can change abruptly between sampling steps.
We find that a simple mechanism achieves this: self-conditioning (Chen et al., 2022), originally proposed for discrete diffusion models and later

Figure 2: Overview of self-conditioning. Each prediction is obtained by extrapolating the state along its velocity to .
adapted to other settings (Strudel et al., 2022; Stärk et al., 2023; Gupta et al., 2024). As stated in Algorithm 2, self-conditioning feeds the model an additional endpoint prediction , which is a linear approximation of , obtained by extrapolating along the previous velocity: for , with .
For training, we use a two-pass heuristic inspired by prior work (Chen et al., 2022). Given
where stops the gradient. The first pass imitates the initial sampling step, at which , and the second imitates later steps. Both passes are weighted equally via the following objective:
Consequently, by training on predictions that closely recover , the model learns to leverage the actual generated in the preceding sampling step, requiring only one extra forward pass during training. Figure 2 provides an overview of the mechanism.
Self-conditioning in practice. Self-conditioning is particularly natural for visual-space reasoning: the fed-back prediction approximates the clean sample and is therefore near the target data manifold in image space. Modern image generation models already accept images as conditions (Black Forest Labs et al., 2025; Wu et al., 2025), so it is reasonable to expect knowledge from image-conditioned pretraining to transfer to self-conditioning, even though that pretraining involves no self-conditioning. The initialization is a placeholder for cleaner theoretical analysis. In actual implementation, for better efficiency, it is omitted both in the first training pass and at the first sampling step, without affecting empirical performance.
3.3 SELF-CONDITIONING REACHES PSPACE/poly
We now formally show that self-conditioning expands the expressiveness of flow matching. Since the extra input is a fresh prediction rather than an increment on , it is unconstrained by the step size and can change abruptly between sampling steps. Thus, the convergence behind Lemma 1 is lost, and the constant-depth barrier disappears altogether: constant-depth models with self-conditioning can decide P/poly in polynomially many steps and PSPACE/poly in at most exponentially many steps.
Theorem 2 (Lower bounds on the expressiveness of flow matching with self-conditioning). For any language in PSPACE/poly, there exists a model that accepts with margin 1 under SELFCONDFM and satisfies the following conditions: (a) can be computed by circuits; (b) is 4-bounded and 8-Lipschitz continuous; (c) , , . If moreover , then the same result holds with (1) satisfied.
The proof makes the sampler simulate a Turing machine with advice. The prediction holds the machine's tape and state, and each model call advances the machine by one step, so calls run the machine for steps. See Appendix A.3.2 for the construction.
In the P/poly case, all the regularity hypotheses of Theorem 1 are retained, so the two theorems concern the same model class and the gap comes from the inference algorithm alone. For , the two samplers therefore separate across the barrier P/poly \ D: given any language , Theorem 2 supplies an model accepting it under SELFCONDFM, whereas Theorem 1 leaves no D model satisfying its hypotheses capable of accepting it under VANILLAFM. For , the separation always holds since (Furst et al., 1984); for , it holds under the conjecture (Vollmer, 1999), which implies that .
3.4 EXTENSIONS
Beyond the main results above, the analysis extends to more general settings. Lemma 1 directly implies an NC upper bound for VANILLAFM when the Lipschitz constant grows as , or upper bounds when further for any constant integer (Appendix B.1). Restricting to be Lipschitz continuous under norms rather than norms preserves both Theorem 1 and Theorem 2 (Appendix B.2). Replacing the Euler method with any fixed explicit Runge–Kutta method (Hairer et al., 1993) whose nodes lie in [0, 1], such as Heun's method (Karras et al., 2022), leaves the asymptotic results for VANILLAFM unchanged (Appendix B.3).
On the other hand, the bound of Lemma 1 is tight with respect to circuit depth: any polynomial-size majority circuit of depth can be simulated under VANILLAFM in sequential rounds by an -Lipschitz continuous model computed by circuits. The bound of Lemma 1 therefore cannot be improved to rounds of the same form unless the depth hierarchy for polynomial-size majority circuits collapses (Appendix B.4).
4 EXPERIMENTS
The analysis in §3 establishes an expressivity separation under the stated assumptions: SELFCONDFM can decide languages beyond the reach of VANILLAFM. Whether models trained on finite data realize this expressive advantage remains an empirical question. Therefore, we conduct controlled experiments to empirically validate the expressivity separation (§4.2). We further extend the evaluation to the five structured visual-reasoning tasks used by He et al. (2025) through controlled comparisons and larger-scale experiments (§4.3). Finally, we provide supporting analyses that assess the applicability of our theory to trained models and characterize the inference behavior of VANILLAFM and SELFCONDFM (§4.4).
4.1 EXPERIMENTAL SETUP
Within each task, VANILLAFM and SELFCONDFM share the same backbone architecture, training dataset, optimizer, and noise schedule. The only difference is that SELFCONDFM passes the endpoint prediction from one backbone model evaluation to the next as an additional condition ( ). During training, SELFCONDFM makes two forward passes per example instead of one, costing extra compute, so we match the two methods on cumulative training FLOPs. Appendix D.1 provides the complete configurations and FLOPs accounting.
Since both VANILLAFM and SELFCONDFM make one backbone call per sampling step, we compare them by default at the same number of function evaluations (NFE), which directly measures sequential computation and equals the step count K in Algorithms 1 and 2. Unless otherwise stated, we use 50 NFEs; the NFE-scaling study in §4.2 varies the number of evaluations.
4.2 EMPIRICAL VALIDATION OF THE EXPRESSIVITY SEPARATION
To empirically validate the expressivity separation, we first compare the two methods on three tasks with natural step-by-step solutions: line tracing, long multiplication, and long text rendering (Figure 1). Each task, formally defined and analyzed in Appendix C, has circuit complexity matching the separation barrier identified in §3.1 for either or backbones (the latter case assumes ). Consequently, we expect these tasks to lie beyond the expressive power of vanilla flow matching with the corresponding backbone.
Tasks. We denote the problem scale for each task by m. Line tracing (NC -complete) requires coloring five long polylines that go through m permutation stages; long multiplication (TC -complete) entails completing a step-by-step long multiplication worksheet to compute the product of two integers, each with at most m digits; and long text rendering (TC -complete) requires rendering some paragraphs containing a total of m words onto a fixed-width canvas. We compare the methods on finite-scale synthetic datasets. For line tracing, we report the mean longest correct prefix (LCP), which is the average number of initial stages through which all five polylines remain correctly colored; for the other tasks, we report instance-level accuracy. See Appendix D.2 for more details.
Backbone architectures. All three tasks use FLUX.2-based architectures with their pretrained VAE kept frozen for image encoding and decoding (Black Forest Labs, 2026). For line tracing, we train a model from scratch; for the other two tasks, we fine-tune FLUX.2-klein-base-4B to leverage its prior knowledge of character recognition and generation.
Results. Figure 1 plots performance against training FLOPs. On line tracing, both methods are evaluated at 100 NFEs. SELFCONDFM reaches the maximum LCP of at training FLOPs, while VANILLAFM plateaus near 8. On long multiplication, SELFCONDFM exceeds 90% accuracy within half the budget, a level VANILLAFM never reaches over the evaluated compute range. On long text rendering, SELFCONDFM's accuracy rises with training compute, while VANILLAFM's stays near zero for most of training. Self-conditioning thus converges faster and performs better on all three tasks, consistent with our theoretical separation. See Appendix D.2.1 for multi-seed evaluation and Appendix D.2.2 for generated examples.
NFE scaling. We further examine how the two methods use additional inference steps. Our theory in §3 suggests a contrasting behavior: under its assumptions, VANILLAFM is confined to constant reasoning depth, whereas SELFCONDFM can realize sequential reasoning depth that grows with the number of sampling steps. We test whether this predicted difference emerges on the line tracing task by varying the NFE.
Table 1: Controlled experiments on the DiffThinker tasks (accuracy, %). Under matched training FLOPs and NFE, SELFCONDFM outperforms VANILLAFM on every task.
| Method | VSP-Super | Maze | TSP | Sudoku | Jigsaw | Avg. |
|---|---|---|---|---|---|---|
| VANILLAFM | 89.0 | 64.3 | 51.0 | 60.5 | 64.7 | 65.9 |
| SELFCONDFM | 92.0 (+3.0) | 70.7 (+6.4) | 66.7 (+15.7) | 80.0 (+19.5) | 74.3 (+9.6) | 76.7 (+10.8) |
Table 2: Large-scale comparison on the DiffThinker tasks (accuracy, %). Each column header is a difficulty level, following the evaluation of Dai et al. (2026), from which the baseline numbers are taken. The best results are in bold and the second best are underlined. For unified training, each method uses a single adapter trained jointly on data from all four tasks.
| Method | VSP-Super | Maze | TSP | Sudoku | Avg. | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 16 | 32 | 8 | 16 | 32 | 12 | 15 | 18 | 45 | 40 | 35 | 30 | ||
| Task-specific training | |||||||||||||
| Qwen3-VL-8B (SFT) | 61 | 8 | 53 | 37 | 0 | 59 | 60 | 43 | 30 | 17 | 2 | 0 | 30.8 |
| Qwen3-VL-8B (GRPO) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0 |
| DiffThinker | 99 | 80 | 100 | 100 | 65 | 76 | 72 | 59 | 97 | 94 | 55 | 13 | 75.8 |
| EndoCoT | 99 | 85 | 100 | 100 | 90 | 77 | 77 | 73 | 100 | 100 | 95 | 64 | 88.3 |
| Ours | 100 | 86 | 100 | 100 | 95 | 79 | 74 | 72 | 100 | 100 | 98 | 76 | 90.0 |
| Unified training | |||||||||||||
| DiffThinker | 97 | 84 | 98 | 99 | 66 | 64 | 49 | 34 | 94 | 45 | 26 | 37 | 66.1 |
| EndoCoT | 100 | 80 | 97 | 98 | 52 | 64 | 55 | 46 | 100 | 88 | 80 | 59 | 76.6 |
| Ours | 100 | 86 | 100 | 100 | 96 | 78 | 75 | 65 | 100 | 100 | 97 | 85 | 90.2 |
We select two checkpoints with matched training FLOPs, and evaluate both at different NFEs. Figure 3 shows that both methods begin with a mean LCP of 0 at NFE = 1, but diverge as NFE increases. SELFCONDFM reaches 49.84 at NFE = 10, whereas VANILLAFM reaches 7.66 at NFE = 6 and remains below 8.0 through NFE = 50. The extra steps thus yield deeper reasoning for SELFCONDFM, confirming that self-conditioning lets the model make better use of more sampling steps. Full details and inference-FLOP-aligned comparisons are provided in Appendix D.3.

Figure 3: SELFCONDFM's performance scales strongly with NFE, while that of VANILLAFM saturates early.
4.3 EVALUATION ON STRUCTURED VISUAL-REASONING TASKS
We next investigate whether the gains observed in §4.2 extend to the five structured visual-reasoning tasks of He et al. (2025): large-scale visual spatial planning (VSP-Super), Maze, the traveling salesperson problem (TSP), Sudoku, and Jigsaw. See Appendix D.4 for detailed setup and illustrations.
Controlled experiments. Following the setup in §4.1, we train VANILLAFM and SELFCONDFM as FLUX.2-klein-base-4B LoRA adapters on the same data for each task, and evaluate them at matched training FLOPs and NFE.
As reported in Table 1, SELFCONDFM improves over VANILLAFM on every task, raising the average accuracy from to . Larger gains appear on TSP and Sudoku , while notable improvements are also observed on the other tasks. Thus self-conditioning extends its advantage from our validation tasks to the task suite of He et al. (2025). Appendix D.4.2 shows some generated examples.
Large-scale comparisons. To evaluate the method at a larger scale, we fine-tune SELFCONDFM as a LoRA adapter on the 20B-parameter Qwen-Image-Edit-2511 backbone (Qwen Team, 2025) following the setup of Dai et al. (2026), and compare it with the published baselines. Jigsaw is reported separately in Appendix D.4.1, because EndoCoT (Dai et al., 2026) does not evaluate it.
As shown in Table 2, task-specific SELFCONDFM adapters achieve 90.0% average accuracy, outperforming the purely visual-generative DiffThinker baseline (75.8%). EndoCoT (88.3%) additionally guides image generation using latent CoT in a multimodal language model, so we include it as a reference rather than a directly comparable baseline. A single adapter trained jointly on the four tasks reaches 90.2%, matching the per-task adapters and exceeding the unified DiffThinker (66.1%) and EndoCoT (76.6%) results by large margins.
4.4 ADDITIONAL EMPIRICAL ANALYSES
Finally, we provide some empirical analyses to illustrate how the trained models behave during inference (detailed in Appendix D.5):
• Lipschitzness. We estimate the Lipschitz constant of a VANILLAFM model trained on mixed-length line tracing instances. The estimate levels off at a roughly constant value of 400 for , consistent with the bounded-Lipschitz regime assumed in §3.1 (Appendix D.5.1).
• Attention allocation. The endpoint prediction in SELFCONDFM receives a nontrivial share of attention throughout the generation, with a larger share early on when is still noisy. This indicates that the model indeed uses to guide its generation (Appendix D.5.2).
• Parallel and revisable reasoning. Reasoning with flow matching has some intrinsic advantages, and SELFCONDFM preserves them well. The model can form multiple local results in parallel within one trajectory and correct a wrong mid-trajectory generation in place (Appendix D.5.3).
5 RELATED WORK
Generative visual reasoning. Multimodal large language models (MLLMs) typically treat images as static inputs and externalize reasoning through textual CoT. The emerging thinking with images paradigm instead turns vision into an intermediate workspace that can be repeatedly inspected or modified (Su et al., 2025b). Early approaches manipulate images through tool calls (Su et al., 2025a; 2026; Lai et al., 2026), while other approaches internalize visual intermediates within the model, in the form of generated images, latent visual states, or learned visual representations (Xu et al., 2026; Yang et al., 2026; Zhang et al., 2025; Qin et al., 2025; Wang et al., 2026a; Gu et al., 2026; Li et al., 2026; Cheng et al., 2026). These intermediates give the model a richer workspace for reasoning than text alone.
Video generation offers another medium for reasoning, representing evolving intermediate states as a sequence of frames (Wiedemer et al., 2025; Tong et al., 2026). Recent works further suggest that video diffusion models (Ho et al., 2022; Xing et al., 2024) reason across denoising steps: they explore candidate solutions, correct earlier mistakes, and commit early to high-level plans (Wang et al., 2026b; Newman et al., 2026).
Recent work moves reasoning into image generation itself: DiffThinker uses direct image-to-image generation (He et al., 2025), while EndoCoT bridges latent states in an MLLM's CoT to image generation (Dai et al., 2026). However, the computational structure of generative visual reasoning remains underexplored. Liu (2025) establishes a TC upper bound for optimal denoising diffusion probabilistic models, but requires the model to match the score function exactly, an assumption that rarely holds for practical trained models.
Self-conditioning. Self-conditioning feeds a model's endpoint prediction back into a subsequent denoising step. It was introduced by Chen et al. (2022) for diffusion over discrete data, and has since been adapted to continuous diffusion language modeling, image and video generation, and molecular flow matching (Strudel et al., 2022; Jabri et al., 2022; Gupta et al., 2024; Stark et al., 2023). Prior work primarily studies generation quality and efficiency empirically; we instead treat self-conditioning as maintaining a computational state and analyze its expressive power.
Computational Expressiveness. The expressive power of transformers (Vaswani et al., 2017) has been studied extensively through circuit complexity, formal languages, and logic (Strobl et al., 2024). Depending on the attention mechanism and numerical precision, constant-depth transformers are upper-bounded by or (Hao et al., 2022; Merrill et al., 2022; Merrill & Sabharwal, 2023; Chiang, 2024), and such circuit bounds extend to modern components such as rotary positional embeddings (Chen et al., 2025). Chiang et al. (2023) further tighten both the upper and lower bounds through a logical characterization.
Repeated model calls can lift computation beyond these single-evaluation bounds. With chain-of-thought (Wei et al., 2022), a constant-depth transformer writes its intermediate results into the autoregressive context and can thereby solve inherently serial problems (Li et al., 2024; Feng et al., 2023; Merrill & Sabharwal, 2024). Amiri et al. (2025) complement this with lower bounds on the number of chain-of-thought steps that hard-attention transformers need for various algorithmic problems. Beyond autoregressive generation, Feng et al. (2025) establish theoretical bounds for masked diffusion language models, proving that while constant sampling steps suffice for distribution matching, sequential reasoning requires sampling steps that scale with sequence length.
6 CONCLUSION AND DISCUSSION
This work reveals a previously unrecognized role of self-conditioning in generative reasoning. We show that vanilla flow matching cannot deepen sequential reasoning through additional sampling steps. Self-conditioning breaks this bottleneck by passing endpoint predictions across steps, which lets additional sampling steps translate into reasoning depth. Experiments across diverse visual-reasoning tasks confirm this separation: self-conditioning achieves better performance and consistently benefits from more sampling steps.
These theoretical guarantees, however, rely on certain regularity assumptions. In particular, the upper bound in Theorem 1 requires a fairly strong Lipschitz restriction. Moreover, the Lipschitz estimates in §4.4 are relatively large and provide empirical rather than certified bounds (Appendix D.5.1). Since the dependence on the Lipschitz constant is tight up to constant factors (§3.4), future work may explore alternative forms of regularity conditions.
Although we focus on image-space visual reasoning, our theoretical analysis does not depend on the data modality. It therefore applies wherever flow matching serves as the sampling backbone, including video generation (Kong et al., 2024; Ifriqi et al., 2026), continuous diffusion language modeling (Chen et al., 2026), and visuomotor policy learning (Black et al., 2024). Whether self-conditioning delivers similar empirical gains remains an open question. Nevertheless, this perspective may inform future sampler design in settings where iterative generation is expected to reason.
AI DISCLOSURE
For this work, we used generative AI tools to (i) generate synthetic datasets for the tasks in §4.2; (ii) provide insights into reducing the number of sequential rounds from to by replacing the Euler method with Picard iterations in §3.1; (iii) assist in writing the proofs; and (iv) implement the training codebase. We did not use generative AI tools to develop theoretical models or conceptual frameworks, formulate mathematical claims, design or provide feedback on research methodology or experiments, support qualitative or thematic data analysis, or interpret results. The tasks of proposing or refining hypotheses, translating text, and cleaning or reformatting datasets were not applicable to this work. Additionally, we used generative AI tools to create and refine figures, to assist in drafting and editing the paper at the paragraph level to improve readability, to identify relevant literature, and to format references.
We have reviewed all AI-assisted work. All AI-assisted proof writing was reviewed by at least two authors other than the original writers. All AI-assisted language editing was reviewed by at least one author other than those who originally drafted the corresponding text. The core experimental codebase and synthetic datasets were reviewed by at least one author. All figures, relevant literature, and the final reference formatting were verified by at least one author. We take full responsibility for the final content of this work, including all text, claims, and artifacts produced with the aid of generative AI.
REPRODUCIBILITY STATEMENT
For the theoretical results, §2.2 specifies the theoretical setup, and §3 states the assumptions of each theorem. Appendices A and B give complete proofs of the main theorems and their extensions, and Appendix C formally defines the three synthetic tasks in §4.2 and proves their circuit-complexity classifications. For the experiments, Appendix D.1 describes the backbones, the implementation of self-conditioning, and the training-FLOP accounting. Appendix D.2 details the data generation, training hyperparameters, and evaluation protocol for each synthetic task, Appendix D.2.1 reports results over multiple seeds, and Appendix D.3 elaborates the selection of checkpoints and the evaluation for our NFE-scaling study. Appendix D.4 describes the data preparation, evaluators, and training configurations for the structured visual-reasoning tasks in §4.3, which follow Dai et al. (2026) and He et al. (2025).
REFERENCES
El Mehdi Achour, François Malgouyres, and Franck Mamalet. Existence, stability and scalability of orthogonal convolutional neural networks. Journal of Machine Learning Research, 23(347):1–56, 2022.
Miklós Ajtai. Approximate counting with uniform constant-depth circuits. Advances in computational complexity theory, 13:1–20, 1990.
Alireza Amiri, Xinting Huang, Mark Rofin, and Michael Hahn. Lower bounds for chain-of-thought reasoning in hard-attention transformers. arXiv preprint arXiv:2502.02393, 2025.
Sanjeev Arora, Boaz Barak, et al. Computational complexity: a modern approach, volume 1. Cambridge University Press Cambridge, 2009.
David A. Mix Barrington. Bounded-width polynomial-size branching programs recognize exactly those languages in NC . In Proceedings of the Eighteenth Annual ACM Symposium on Theory of Computing, pp. 1–5, 1986. doi: 10.1145/12130.12131.
David A. Mix Barrington, Kevin J. Compton, Howard Straubing, and Denis Thérien. Regular languages in NC . Journal of Computer and System Sciences, 44(3):478–499, 1992. doi:10.1016/0022-0000(92)90014-A.
Kevin Black, Noah Brown, Danny Driess, Adnan Esmail, Michael Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom, Karol Hausman, Brian Ichter, et al. : A vision-language-action flow model for general robot control. arXiv preprint arXiv:2410.24164, 2024.
Black Forest Labs. Flux.2 [klein] 4b base. https://huggingface.co/black-forest-1abs/FLUX.2-klein-base-4B, 2026. Hugging Face model card.
Black Forest Labs, Stephen Batifol, Andreas Blattmann, Frederic Boesel, Saksham Consul, Cyril Diagne, Tim Dockhorn, Jack English, Zion English, Patrick Esser, et al. Flux. 1 kontext: Flow matching for in-context image generation and editing in latent space. arXiv preprint arXiv:2506.15742, 2025.
Ashok K Chandra, Larry Stockmeyer, and Uzi Vishkin. Constant depth reducibility. SIAM Journal on Computing, 13(2):423–439, 1984.
Bo Chen, Xiaoyu Li, Yingyu Liang, Jiangxuan Long, Zhenmei Shi, Zhao Song, and Jiahao Zhang. Circuit complexity bounds for rope-based transformer architecture. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 11091–11108, 2025.
Ting Chen, Ruixiang Zhang, and Geoffrey Hinton. Analog bits: Generating discrete data using diffusion models with self-conditioning. arXiv preprint arXiv:2208.04202, 2022.
Yuxin Chen, Chumeng Liang, Hangke Sui, Ruihan Guo, Chaoran Cheng, Jiaxuan You, and Ge Liu. Langflow: Continuous diffusion rivals discrete in language modeling. arXiv preprint arXiv:2604.11748, 2026.
Dongjie Cheng, Yongqi Li, Zhixin Ma, Hongru Cai, Yupeng Hu, Wenjie Wang, Liqiang Nie, and Wenjie Li. Omni-R1: Towards the unified generative paradigm for multimodal reasoning. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 38907–38924. Association for Computational Linguistics, 2026. doi: 10.18653/v1/2026.findings-acl.1937.
David Chiang. Transformers in uniform TC . arXiv preprint arXiv:2409.13629, 2024.
David Chiang, Peter Cholak, and Anand Pillay. Tighter bounds on the expressivity of transformer encoders. In International Conference on Machine Learning, pp. 5544–5562. PMLR, 2023.
Xuanlang Dai, Yujie Zhou, Long Xing, Jiazi Bu, Xilin Wei, Yuhong Liu, Beichen Zhang, Kai Chen, and Yuhang Zang. Endocot: Scaling endogenous chain-of-thought reasoning in diffusion models. arXiv preprint arXiv:2603.12252, 2026.
Ronen Eldan and Yuanzhi Li. Tinystories: How small can language models be and still speak coherent english? arXiv preprint arXiv:2305.07759, 2023.
Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, et al. Scaling rectified flow transformers for high-resolution image synthesis. In Forty-first international conference on machine learning, 2024.
Guhao Feng, Bohang Zhang, Yuntian Gu, Haotian Ye, Di He, and Liwei Wang. Towards revealing the mystery behind chain of thought: a theoretical perspective. Advances in neural information processing systems, 36:70757–70798, 2023.
Guhao Feng, Yihan Geng, Jian Guan, Wei Wu, Liwei Wang, and Di He. Theoretical benefit and limitation of diffusion language model. Advances in Neural Information Processing Systems, 38: 24415–24459, 2025.
Merrick Furst, James B Saxe, and Michael Sipser. Parity, circuits, and the polynomial-time hierarchy. Mathematical systems theory, 17(1):13–27, 1984.
Jiawei Gu, Yunzhuo Hao, Huichen Wang, Linjie Li, Michael Qizhe Shieh, Yejin Choi, Ranjay Krishna, and Yu Cheng. Thinkmorph: Emergent properties in multimodal interleaved chain-of-thought reasoning. In International Conference on Learning Representations, volume 2026, pp. 141405–141447, 2026.
Agrim Gupta, Lijun Yu, Kihyuk Sohn, Xiuye Gu, Meera Hahn, Fei-Fei Li, Irfan Essa, Lu Jiang, and José Lezama. Photorealistic video generation with diffusion models. In European Conference on Computer Vision, pp. 393–411. Springer, 2024.
Ernst Hairer, Gerhard Wanner, and Syvert P Nørsett. Solving ordinary differential equations I: Nonstiff problems. Springer, 1993.
András Hajnal, Wolfgang Maass, Pavel Pudlák, Mario Szegedy, and György Turán. Threshold circuits of bounded depth. Journal of Computer and System Sciences, 46(2):129–154, 1993.
Yiding Hao, Dana Angluin, and Robert Frank. Formal language recognition by hard attention transformers: Perspectives from circuit complexity. Transactions of the Association for Computational Linguistics, 10:800–810, 2022.
John Hastad. Almost optimal lower bounds for small depth circuits. In Proceedings of the eighteenth annual ACM symposium on Theory of computing, pp. 6–20, 1986.
Zefeng He, Xiaoye Qu, Yafu Li, Tong Zhu, Siyuan Huang, and Yu Cheng. Diffthinker: Towards generative multimodal reasoning with diffusion models. arXiv preprint arXiv:2512.24165, 2025.
William Hesse, Eric Allender, and David A Mix Barrington. Uniform constant-depth threshold circuits for division and iterated multiplication. Journal of Computer and System Sciences, 65(4): 695–716, 2002.
Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J. Fleet. Video diffusion models. In Advances in Neural Information Processing Systems, volume 35, pp. 8633–8646, 2022.
Yushi Hu, Weijia Shi, Xingyu Fu, Dan Roth, Mari Ostendorf, Luke Zettlemoyer, Noah A Smith, and Ranjay Krishna. Visual sketchpad: Sketching as a visual chain of thought for multimodal language models. Advances in Neural Information Processing Systems, 37:139348–139379, 2024.
Tariq Berrada Ifriqi, John Nguyen, Karteek Alahari, Jakob Verbeek, and Ricky TQ Chen. Flowception: Temporally expansive flow matching for video generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 16185–16195, 2026.
Allan Jabri, David Fleet, and Ting Chen. Scalable adaptive computation for iterative generation. arXiv preprint arXiv:2212.11972, 2022.
Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. Advances in neural information processing systems, 35:26565–26577, 2022.
Akitoshi Kawamura. Lipschitz continuous ordinary differential equations are polynomial-space complete. Computational Complexity, 19(2):305–332, 2010.
Weijie Kong, Qi Tian, Zijian Zhang, Rox Min, Zuozhuo Dai, Jin Zhou, Jiangfeng Xiong, Xin Li, Bo Wu, Jianwei Zhang, et al. Hunyuanvideo: A systematic framework for large video generative models. arXiv preprint arXiv:2412.03603, 2024.
Xin Lai, Junyi Li, Wei Li, Tao Liu, Tianjian Li, and Hengshuang Zhao. Mini-o3: Scaling up reasoning patterns and interaction turns for visual search. In International Conference on Learning Representations, volume 2026, pp. 76722–76746, 2026.
Sangyun Lee, Zinan Lin, and Giulia Fanti. Improving the training of rectified flows. Advances in neural information processing systems, 37:63082–63109, 2024.
Bangzheng Li, Ximeng Sun, Jiang Liu, Ze Wang, Jialian Wu, Xiaodong Yu, Emad Barsoum, Muhao Chen, and Zicheng Liu. Latent visual reasoning. In International Conference on Learning Representations, 2026.
Zhiyuan Li, Hong Liu, Denny Zhou, and Tengyu Ma. Chain of thought empowers transformers to solve inherently serial problems. In International Conference on Learning Representations, volume 2024, pp. 11911–11943, 2024.
Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.
Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.
Yuxi Liu. Perfect diffusion is tc0–bad diffusion is turing-complete. arXiv preprint arXiv:2507.12469, 2025.
Edward James McShane. Extension of range of functions. Bulletin of the American Mathematical Society, 40(12):837–842, 1934.
William Merrill and Ashish Sabharwal. The parallelism tradeoff: Limitations of log-precision transformers. Transactions of the Association for Computational Linguistics, 11:531–545, 2023.
William Merrill and Ashish Sabharwal. The expressive power of transformers with chain of thought. In International Conference on Learning Representations, volume 2024, pp. 7690–7706, 2024.
William Merrill, Ashish Sabharwal, and Noah A Smith. Saturated transformers are constant-depth threshold circuits. Transactions of the Association for Computational Linguistics, 10:843–856, 2022.
Kaleb Newman, Tyler Zhu, and Olga Russakovsky. Video models reason early: Exploiting plan commitment for maze solving. arXiv preprint arXiv:2603.30043, 2026.
Yiming Qin, Bomin Wei, Jiaxin Ge, Konstantinos Kallidromitis, Stephanie Fu, Trevor Darrell, and XuDong Wang. Chain-of-visual-thought: Teaching vlms to see and think better with continuous visual tokens. arXiv preprint arXiv:2511.19418, 2025.
Qwen Team. Qwen-image-edit-2511. https://huggingface.co/Qwen/Qwen-Image-Edit-2511, 2025. Hugging Face model card.
Qwen Team. Qwen3.8-Flash-Next: A new architecture, towards ultimate cost-efficiency, August 2026. URL https://qwen.ai/blog?id=qwen3.8-flash-next.
Andy Shih, Suneel Belkhale, Stefano Ermon, Dorsa Sadigh, and Nima Anari. Parallel sampling of diffusion models. Advances in Neural Information Processing Systems, 36:4263–4276, 2023.
Hannes Stärk, Bowen Jing, Regina Barzilay, and Tommi Jaakkola. Harmonic self-conditioned flow matching for multi-ligand docking and binding site design. arXiv preprint arXiv:2310.05764, 2023.
Lena Strobl, William Merrill, Gail Weiss, David Chiang, and Dana Angluin. What formal languages can transformers express? a survey. Transactions of the Association for Computational Linguistics, 12:543–561, 2024.
Robin Strudel, Corentin Tallec, Florent Altché, Yilun Du, Yaroslav Ganin, Arthur Mensch, Will Grathwohl, Nikolay Savinov, Sander Dieleman, Laurent Sifre, et al. Self-conditioned embedding diffusion for text generation. arXiv preprint arXiv:2211.04236, 2022.
Alex Su, Haozhe Wang, Weiming Ren, Fangzhen Lin, and Wenhu Chen. Pixel reasoner: Incentivizing pixel space reasoning via curiosity-driven reinforcement learning. Advances in Neural Information Processing Systems, 38:8222–8251, 2026.
Zhaochen Su, Linjie Li, Mingyang Song, Yunzhuo Hao, Zhengyuan Yang, Jun Zhang, Guanjie Chen, Jiawei Gu, Juntao Li, Xiaoye Qu, et al. Openthinkimg: Learning to think with images via visual tool reinforcement learning. arXiv preprint arXiv:2505.08617, 2025a.
Zhaochen Su, Peng Xia, Hangyu Guo, Zhenhua Liu, Yan Ma, Xiaoye Qu, Jiaqi Liu, Yanshu Li, Kaide Zeng, Zhengyuan Yang, et al. Thinking with images for multimodal reasoning: Foundations, methods, and future frontiers. arXiv preprint arXiv:2506.23918, 2025b.
Jingqi Tong, Yurong Mou, Hangcheng Li, Mingzhe Li, Yongzhuo Yang, Ming Zhang, Qiguang Chen, Tianyi Liang, Xiaomeng Hu, Yining Zheng, et al. Thinking with video: Video generation as a promising multimodal reasoning paradigm. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 41121–41129, 2026.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
Heribert Vollmer. Introduction to circuit complexity: a uniform approach. Springer Science & Business Media, 1999.
Qixun Wang, Yang Shi, Yifei Wang, Yuanxing Zhang, Pengfei Wan, Kun Gai, Xianghua Ying, and Yisen Wang. Monet: Reasoning in latent visual space beyond image and language. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 12030–12040, 2026a.
Ruisi Wang, Zhongang Cai, Fanyi Pu, Junxiang Xu, Wanqi Yin, Maijunxian Wang, Ran Ji, Chenyang Gu, Bo Li, Ziqi Huang, et al. Demystifying video reasoning. arXiv preprint arXiv:2603.16870, 2026b.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems, 35:24824–24837, 2022.
Thaddäus Wiedemer, Yuxuan Li, Paul Vicol, Shixiang Shane Gu, Nick Matarese, Kevin Swersky, Been Kim, Priyank Jaini, and Robert Geirhos. Video models are zero-shot learners and reasoners. arXiv preprint arXiv:2509.20328, 2025.
Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng-ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, et al. Qwen-image technical report. arXiv preprint arXiv:2508.02324, 2025.
Zhen Xing, Qijun Feng, Haoran Chen, Qi Dai, Han Hu, Hang Xu, Zuxuan Wu, and Yu-Gang Jiang. A survey on video diffusion models. ACM Computing Surveys, 57(2):1–42, 2024.
Yi Xu, Chengzu Li, Han Zhou, Xingchen Wan, Caiqi Zhang, Anna Korhonen, and Ivan Vulić. Visual planning: Let's think only with images. In International Conference on Learning Representations, volume 2026, pp. 36706–36739, 2026.
Yao-Yuan Yang, Cyrus Rashtchian, Hongyang Zhang, Russ R Salakhutdinov, and Kamalika Chaudhuri. A closer look at accuracy vs. robustness. Advances in neural information processing systems, 33:8588–8601, 2020.
Zeyuan Yang, Xueyang Yu, Delin Chen, Maohao Shen, and Chuang Gan. Machine mental imagery: Empower multimodal reasoning with latent visual tokens. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 33510–33520, 2026.
Huanyu Zhang, Wenshan Wu, Chengzu Li, Ning Shang, Yan Xia, Yangyu Huang, Yifan Zhang, Li Dong, Zhang Zhang, Liang Wang, et al. Latent sketchpad: Sketching visual thoughts to elicit multimodal reasoning in mlms. arXiv preprint arXiv:2510.24514, 2025.
CONTENTS
1 Introduction 1
2 Preliminaries 3
2.1 Background 3
2.2 Theoretical Setup and Notation 3
3 Self-Conditioning Increases Expressive Power 4
3.1 Vanilla Flow Matching Is Confined to Constant Depth 4
3.2 Self-Conditioning 5
3.3 Self-Conditioning Reaches PSPACE/poly 6
3.4 Extensions 6
4 Experiments 6
4.1 Experimental Setup 7
4.2 Empirical Validation of the Expressivity Separation 7
4.3 Evaluation on Structured Visual-Reasoning Tasks 8
4.4 Additional Empirical Analyses 9
5 Related Work 9
6 Conclusion and Discussion 10
A Proofs of Main Expressivity Theorems 18
A.1 Conventions and Preliminary Facts 18
A.2 Expressiveness Upper Bound for VANILLAFM 19
A.2.1 The Error Recurrence 19
A.2.2 Proof of Lemma 1 20
A.2.3 Approximate Normalized Prefix Sums in 22
A.2.4 Proof of Theorem 1 22
A.3 Expressiveness Lower Bound for SELFCONDFM 24
A.3.1 Local Simulation of Space-Bounded Machines 24
A.3.2 Proof of Theorem 2 24
B Proofs of Theoretical Extensions 27
B.1 The Growing Lipschitz Constant 27
B.2 Lipschitz Condition 27
B.3 Runge–Kutta Samplers 29
B.4 Matching the Circuit Depth 32
C Formalization and Circuit Complexity of the Tasks in §4.2 34
C.1 Task Descriptions ..... 34
C.2 Preliminaries for the Complexity Analysis ..... 34
C.3 Line Tracing ..... 35
C.4 Long Multiplication ..... 35
C.5 Long Text Rendering ..... 36
D Experimental Details ..... 39
D.1 Overall Setup ..... 39
D.2 Setup and Evaluation for the Tasks in §4.2 ..... 39
D.2.1 Multi-Seed Evaluation ..... 40
D.2.2 Generated Examples ..... 42
D.3 NFE Scaling ..... 46
D.4 Setup and Results for Structured Visual-Reasoning Tasks ..... 46
D.4.1 Jigsaw Results ..... 46
D.4.2 Generated Examples ..... 47
D.5 Additional Empirical Analyses ..... 53
D.5.1 Empirical Lipschitz Estimation ..... 53
D.5.2 Attention Allocation ..... 53
D.5.3 Parallel and Revisable Reasoning ..... 54
A PROOFS OF MAIN EXPRESSIVITY THEOREMS
This appendix proves the two main theoretical results from §3: Theorem 1 and Theorem 2. Building on the theoretical setup in §2.2, Appendix A.1 first fixes the notation and the encoding in which circuits read and write elements of , and collects the preliminary facts. Appendix A.2 then proves Theorem 1 with the help of Lemma 1, and Appendix A.3 proves Theorem 2. The extension results of §3.4 are proved separately in Appendix B.
A.1 CONVENTIONS AND PRELIMINARY FACTS
Throughout this appendix, denotes the problem size and denotes a circuit complexity class for a constant integer ; we abbreviate , , , and . All circuit families are non-uniform.
Relations among complexity classes. It is known that for all (Arora et al., 2009). Consequently, . Furthermore, because (Furst et al., 1984; Hastad, 1986), whereas is widely conjectured but open (Vollmer, 1999). By definition, and . Moreover, the class is exactly the class of languages decidable by polynomial-size families of Boolean circuits (Arora et al., 2009), so . Both inclusions are widely conjectured to be strict (Arora et al., 2009).
Encoding of scalars. Fix a binary encoding of the scalars of in which a scalar of magnitude at most occupies bits. Every scalar in the runs of this appendix has magnitude at most , i.e., , and all circuit constructions have . Their encodings thus have bits. When is additionally constrained to , the encodings have bits.
Circuits for models. We say that a model is computed by D circuits if, under the encoding above, its restriction to inputs of each total encoded length is computed by a D circuit of size polynomial in that length. The Boolean input needs no convention of its own, since .
Finite-precision arithmetic. The grid is closed under addition, under subtraction, and under multiplication by an integer, so these operations need no rounding. Iterated sums are independent of the association order. For every we have , and is nondecreasing and fixes (i.e., for all ).
Time grid. Both samplers (Algorithms 1 and 2) use discrete time steps with ; write . Since is nondecreasing and fixes 0 and 1, we have
and gives .
Hardwiring the initialization. In both samplers the initial state ranges over the finite set , since is supported on , and the rest of the run is deterministic given . If a model accepts with margin under a fixed sampler, the acceptance criterion holds for every occurring with positive probability. Since does not depend on , fixing one such value for each turns the sampler into a deterministic algorithm with the same guarantee. We do this whenever a sampler is regarded as a circuit family.
The table bound. A function of few bits is shallow, however complicated it is: writing each output bit of an arbitrary as a disjunctive normal form over the input literals gives an unbounded-fan-in circuit of depth two and size , hence of size poly once and . We call this the table bound; it exploits no structure of , only how many bits reads and writes. In the proofs below, we frequently invoke it for maps on constantly many scalars, each of bits.
A.2 EXPRESSIVENESS UPPER BOUND FOR VANILLAFM
The K Euler steps of VANILLAFM are sequential, so a circuit that follows them has depth growing with K. We replace them by a Picard iteration (Hairer et al., 1993) that updates all K positions at once, and whose propagated error decays factorially across iteration rounds, up to an additive error floor (Appendix A.2.1). Therefore, rounds already approximate the sampler's output to within a constant error; this proves Lemma 1 in Appendix A.2.2. Aside from the K parallel model calls, each round computes normalized prefix sums of the velocities, which Appendix A.2.3 approximates in up to a constant error, small enough for acceptance with margin (see §2.2). Appendix A.2.4 substitutes these approximate sums into the Picard iteration to prove Theorem 1.
A.2.1 THE ERROR RECURRENCE
Appendices A.2.2 and A.2.4 both compare an approximate trajectory with the exact one through the same error recurrence, so we bound it here once and for all. The error accumulates over multiple steps. At each step, the error at each position is bounded by a fixed linear transformation of the sum of the errors at all preceding positions in the previous step, plus an additive error. Consequently, the initial error decays factorially across steps, while the additive errors accumulate to a magnitude of order .
Lemma 2. Let be a positive integer, , , and be real numbers, and let . Recall that (Appendix A.1). Let be nonnegative reals such that, for all and all ,
Then for all and ,
where and the sum is read as empty when . In particular, .
Proof. We prove (5) by induction on . For the right-hand side is , so (5) is (3). Assume that (5) holds for and all . Since the function is nondecreasing on and , every integer satisfies the Riemann bound
Summing (5) over and applying (6) termwise gives
By (4), adding to this bound yields (5) for .
For the last claim, put and in (5), so that . Stirling's inequality together with gives , whence and
The remaining sum satisfies , and adding the three terms yields
which completes the proof.
A.2.2 PROOF OF LEMMA 1
Up to rounding, the Euler updates of Algorithm 1 state that the trajectory solves the fixed-point system , with as in Appendix A.1. Algorithm 3 solves this fixed-point system by a Picard iteration (Hairer et al., 1993): iteration recomputes all positions in parallel from the previous iterate , replacing the rounded step sizes by the uniform nominal step , implemented by dividing each prefix sum by (line 8 of Algorithm 3). We show that iterations bring its endpoint within of , thereby proving Lemma 1.
Algorithm 3 Parallel Picard Inference
1: function PARALLELPICARD(w; u, K, C) 2: for 3: Sample 4: for 5: for do 6: in parallel for : 7: for 8: in parallel for : 9: end for 10: return 11: end function
Proof of Lemma 1. Fix and , and write . Let be a constant to be chosen at the end of the proof, and take the inference algorithm to be PARALLELPICARD() with
Both VANILLAFM and PARALLELPICARD draw from and round it, so we may couple the two runs by giving them the same . The estimates below hold for every realization of , which is the only random quantity in either run, and therefore hold with probability 1.
The two trajectories. Let be the VANILLAFM trajectory and . In line 7 of Algorithm 1, the subtraction and the addition are exact in (Appendix A.1). Only the product needs rounding, so , and each step contributes a rounding residual of size at most . Summing these residuals into gives
Likewise the prefix sum in line 7 of Algorithm 3 is a sum of elements of and hence exact, and , so line 8 rounds only once. Writing for this rounding residual, line 8 gives
We bound the difference between (7) and (8) in two steps: we first verify the hypotheses (3) and (4) of Lemma 2 for it, and then apply the lemma. The two expressions differ in three respects, which the first step tracks: the weights against , the velocities against , and the rounding residuals and .
Verifying the conditions of Lemma 2. Put , and set and . For , using , , (Appendix A.1), and the -boundedness of , we have
where the last step uses for . This is (3) in Lemma 2. For , subtract (7) from (8):
The two velocities in the first sum are evaluated at the same time and the same condition : and . Therefore, -Lipschitz continuity of gives . By -boundedness and (Appendix A.1), the second sum is bounded by . By the residual bounds in (7) and (8), the last two terms are bounded by . Thus,
which is (4) in Lemma 2.
Applying Lemma 2. With (3) and (4) verified, Lemma 2, applied with the parameters above and the same , yields . Since , the precision hypothesis (2) is equivalent to , so, using ,
Choose so that ; then .
Since accepts with margin 1 under VANILLAFM, every coordinate of is at least 1 when and at most otherwise, so every coordinate of the returned value is at least in the first case and at most in the second. Thus accepts with margin under Algorithm 3, which runs for iterations because and is a constant, and makes parallel calls to in each iteration.
Aside from the model calls in line 6, one iteration of Algorithm 3 performs only the prefix sums of line 7 and the normalization of line 8. When and , the prefix sums are iterated additions of polynomially many numbers of bits each, while each normalization uses addition and division by the hardwired , and circuits compute all these operations exactly (Vollmer, 1999; Hesse et al., 2002). For constant , Lemma 1 together with this observation essentially gives the part of Theorem 1 (Appendix A.2.4 gives the complete proof for every D). The same iteration gives the growing-L extension in §3.4, i.e., Corollary 1.
Picard iterations have also been used to accelerate diffusion sampling (Shih et al., 2023), with a worst-case guarantee of as many iterations as sampling steps and fewer iterations observed empirically. We instead use Picard iteration as a proof device for expressivity: Lemma 1 shows that the K sequential steps of VANILLAFM collapse into parallel rounds regardless of K, which caps the sequential depth that VANILLAFM can exploit.
As a side remark, this collapse relies on approximating the endpoint only to constant accuracy, which suffices for acceptance with margin. When exponentially small additive error is required, even a Lipschitz continuous ODE can be hard to solve: Kawamura (2010) constructs an ODE with a polynomial-time computable, Lipschitz continuous right-hand side whose solution is PSPACE-complete, with the answer encoded in the solution at precision .
A.2.3 APPROXIMATE NORMALIZED PREFIX SUMS IN
The exact prefix sums in line 7 of Algorithm 3, however, lie beyond : the low-order bit of a sum is the parity of the summands' low-order bits (Furst et al., 1984; Hastad, 1986). To obtain the part of Theorem 1, we approximate the sums, which suffices because the Picard iteration needs each normalized prefix sum only to within a constant additive error, which merely enlarges in (4). Quantizing the summands to constantly many levels makes each normalized prefix sum an affine function of a count of ones, and approximates such a count to within any constant fraction of the string length (Ajtai, 1990). Formally, we have the following lemma.
Lemma 3. Let and be constant reals. Let be a positive integer, and let the number of fractional bits satisfy . There is a family of circuits of size that maps any input to outputs with
Proof. Fix a constant . For each , let be the integer nearest to and put , so that . Write for the unary encoding of . Since occupies bits, the table bound (as in Appendix A.1) maps to at depth two. For each , the string has length and exactly ones. circuits can count these ones up to any constant fraction of the length, i.e., output with (Ajtai, 1990). Taking gives . As , set
Here and are hardwired and occupies bits, so the table bound maps to at depth two as well. Composing these three stages, each of constant depth and size poly, gives the claimed family. It remains to bound the error of . Inserting the intermediate quantities and and applying the triangle inequality,
the three terms being the rounding, counting, and quantization errors, and the second inequality using .
A.2.4 PROOF OF THEOREM 1
To place the VANILLAFM sampler in D, we split on the number of steps: a bounded K is handled by unrolling the K Euler steps directly, and otherwise we substitute the approximate prefix sums of Lemma 3 into the Picard iteration of Lemma 1 (Algorithm 3). The substitution perturbs the error recurrence (4) by one constant per round, small enough for the endpoint to stay within a constant acceptance margin, and it keeps the circuit at constant depth over the model calls.
Proof of Theorem 1. By (1) there is a constant such that for all but finitely many . Let satisfy
(9) and split the proof into the two cases and . Since the circuit families are non-uniform, each may use the construction of its own case.
Small K. Suppose first that . Then K is bounded: only finitely many such m have by (1), and every other one satisfies , hence , a constant.
We then reproduce the sampler directly. Fix and a hardwired initialization as in Appendix A.1. The circuit runs the Euler steps of Algorithm 1 from with the time grid hardwired: step evaluates with one copy of and then sets coordinate-wise, where . This reproduces the VANILLAFM trajectory exactly, so its endpoint has every coordinate at least 1 when and at most otherwise, and the sign of the first coordinate decides .
The circuit lies in D. Each of the constantly many steps makes one call to the D circuit . Each coordinate-wise update is a map on constantly many scalars of bits, since and, with bounded in this case, every state and velocity has magnitude bounded by a constant. The table bound places this map in (Appendix A.1). Composing constantly many D circuits keeps the result in D, so in this case.
Large K. Otherwise . We construct the circuit by running Algorithm 3 with its exact prefix sums replaced by the approximate ones of Lemma 3, and then show that it decides and lies in D. Set and , and use the same as in Appendix A.2.2. This lower bound on is equivalent to , which with (9) gives and, by (1), .
The circuit. Fix and a hardwired initialization as in Appendix A.1, and let be the circuit of Lemma 3 for , , and , whose hypotheses hold by the previous paragraph and (1). On input , the circuit runs rounds of Algorithm 3 from , with the time grid hardwired and lines 7 and 8 replaced by . Here are the outputs of applied coordinate-wise to the velocities . Each therefore approximates the normalized prefix sum . -boundedness puts the velocities in as Lemma 3 requires. Their normalized prefix sums also lie in , so every scalar here has constant magnitude and hence bits, as the table bound below requires.
Correctness. We show that the circuit decides by the sign of . Compare with the VANILLAFM run from , with and as in (7), and put . Since , the new update involves no rounding, so subtracting (7) from gives
The first term is bounded by by Lemma 3; the remaining three terms are bounded by , , and exactly as in Appendix A.2.2, with absent. Thus (3) holds with the same and (4) with , and Lemma 2 gives
using , then and , and finally (9). As in Appendix A.2.2, acceptance with margin 1 under VANILLAFM at the positive-probability initialization (Appendix A.1) now gives if and otherwise.
Size and depth. The run consists of rounds, each consisting of parallel calls to surrounded by circuits of size , namely copies of , one per state coordinate, and, by the table bound, the addition of . Since and , are , the whole circuit has size poly(m) and depth over the copies of . The surrounding arithmetic lies in , and composing these layers of parallel copies of the circuit keeps the result in . Since the sign test reads only the bits of one scalar, the table bound computes it in , correctly outputting . Hence .
A.3 EXPRESSIVENESS LOWER BOUND FOR SELFCONDFM
We now prove Theorem 2 by making SELFCONDFM simulate a Turing machine, using the endpoint prediction as the Turing machine's tape. Appendix A.3.1 puts a space-bounded Turing machine with advice into a form in which the new value of each cell is determined by that cell and its two neighbors. Appendix A.3.2 then builds a model that applies this rewrite rule to coordinate-wise, so that each output coordinate reads constantly many inputs and the model stays in . Since the extrapolation (line 8 of Algorithm 2) carries the current velocity with sufficient magnitude while is small, the tape can advance one machine step per sampling step, and taking large enough lets the simulated Turing machine halt. The tape then freezes on the verdict, which keeps the velocity constant and decides the sign of .
A.3.1 LOCAL SIMULATION OF SPACE-BOUNDED MACHINES
To prepare the machine for the coordinate-wise simulation of Appendix A.3.2, we flatten it into a cellular automaton: the initial tape is the input followed by one hardwired string carrying the advice, and the machine fills the tape with one of two verdict symbols before halting.
Lemma 4. Let be any language in PSPACE/poly. There exist an alphabet of constant size containing two symbols acc and rej, a boundary symbol , a local rule , a tape length , a horizon , and strings , such that the following holds for every . The sequence
with the convention , satisfies for all if , and otherwise. If moreover , then .
Proof. Take a deterministic Turing machine that decides on the cells , for some , from the tape initialization , with a separator and an advice string of length . Being deterministic and halting, never repeats one of its at most configurations, so it halts within steps, and within steps in the P/poly case, where can be taken polynomial-time. We may assume that starts in an initial state with its head on the separator and, before halting, overwrites every cell with acc or rej according to its verdict.
Fold the head and its state into the alphabet: , where is the tape alphabet and the state set. The whole run of is then local: each cell's next content is determined by itself and its two neighboring cells. We encode this one-step update by the rule , with read as an end-marker and a halting head dissolving into its verdict. Since a cell changes only when the head acts on it, the headless all-acc and all-rej configurations are fixed points. Taking makes the initial configuration, so is the configuration after steps. A halting head thus appears by and dissolves one step later, leaving the tape filled with the verdict, a fixed point. Hence works.
A.3.2 PROOF OF THEOREM 2
To make the sampler simulate the machine of Lemma 4, we store the binary encoding of in the prediction , one bit per coordinate, and take . The simulation then runs at times , where the extrapolation delivers the velocity with sufficient magnitude, so decodes exactly to the next configuration computed by the model. Once the tape freezes on the verdict, the velocity stays pinned at , ensuring that every coordinate of clears the acceptance margin with the sign of the verdict.
Proof of Theorem 2. Let , , , , and be as in Lemma 4. Put and fix an injection with and , calling the codeword of . Extend to configurations cell by cell, , and set
The codeword of cell thus occupies the block of coordinates , so, with , coordinate carries bit of the codeword of cell . Let and let collect the blocks of cell and of its neighbors on the tape, and let if and otherwise. The precision is fixed at the end of the proof. Everything below holds for any choice with and . The next three paragraphs construct and verify conditions (a) and (b) of Theorem 2, the paragraph The run proves acceptance, and the paragraph Parameters fixes to meet condition (c).
Encoding a bit. A coordinate of the prediction encodes one bit of a configuration, or the placeholder when not yet initialized, via the encoding set and the decoding map dec given by
The three bands , , and are deliberately wide and pairwise at distance at least 2. Therefore, the encoding can tolerate the sampler's perturbation, while an 8-Lipschitz model can still tell the bands apart.
The local maps. Define by
with the convention at the tape ends. The first two cases initialize the tape and the third advances the machine by one step, so that with and for ,
The model. Write , a finite nonempty subset of , and define by
where dec is applied coordinate-wise to . Then is 8-Lipschitz on in the maximum norm: if two points have different values, they differ in a Boolean coordinate or lie in different bands at some E coordinate, so they differ by at least 1 in that coordinate, while the values differ by 8.
Extend to all of by a clipped McShane extension (McShane, 1934),
Then is 8-Lipschitz and 4-bounded, and agrees with on . It needs no rounding, because is closed under the arithmetic involved.
For every , define the restriction of the single model with , , and by
and set on all other encoded inputs. Since each output coordinate is of a fixed subtuple of the condition, the model is 4-bounded and 8-Lipschitz continuous in the sense of §2.2. Each reads scalars, and an circuit first clips them to . This leaves unchanged, since and a scalar of magnitude at least 8 forces . The clipped scalars have bits, so the table bound (Appendix A.1) computes at depth two and size . Hence is computed by circuits, and conditions (a) and (b) of Theorem 2 hold.
The run. We now prove that accepts with margin 1 under SELFCONDFM. Fix and run SELFCONDFM. The estimates below hold for every realization of , which is the only randomness in the run, and therefore hold with probability 1. By line 6 of Algorithm 2, its condition at step is concat, of length exactly , so . The run splits at step . For the first phase, when , one sampling step advances the tape by one machine step, so that decodes to . For the second phase, from on, Lemma 4 freezes the tape on the verdict, the velocity stays pinned at , and inherits this sign. We prove these two claims in turn.
For the first phase, we show that decodes to for every . This phase runs at small times: since , we have , so , and gives
We prove by induction on the stronger claim that for every : (a) with for all ; (b) ; and (c) all arithmetic up to step is exact. All three hold at . Given them at some , claim (a) puts the argument of in , where agrees with , so that is if and otherwise, by (10). As is closed under multiplication by integers, both updates in lines 7 and 8 of Algorithm 2 are exact, giving (c) and , which is (b). For (a), if then lies in by (b) and (11), and symmetrically in if . This completes the induction, so decodes to , the encoded verdict tape.
For the second phase, we show that the velocity stays at from step on, so that every coordinate of has the sign of the verdict and magnitude at least 1. The first-phase bound on relied on , which fails as approaches 1, so we use instead that the tape is frozen. Suppose that . Then Lemma 4 and give for all . We show by induction on that for all , and exactly. At , is (a) with , and is trivial. Given them at some , puts the argument of in with , so (10) and give for every . Line 7 of Algorithm 2 then gives at , and in line 8 the two terms cancel:
by (b) and (11) at , which is at . Thus stops moving and the velocity stays at until the end. Taking in and using gives for every . Symmetrically, if , then for , the velocity stays at , and . Hence accepts with margin 1 under SELFCONDFM.
Parameters. Finally, we fix and read off the two cases of Theorem 2. For , Lemma 4 gives and , and meets the sole requirement made above. If moreover , the same lemma gives and hence , while must in addition satisfy the bound (1) on its fractional bits. The choice
satisfies , and hence (1). Since is now polynomial, this is , and the construction remains valid. In both cases condition (c) holds, which completes the proof.
B PROOFS OF THEORETICAL EXTENSIONS
This appendix proves the extension results presented in §3.4. Appendix B.1 establishes Corollary 1, the circuit analogue of Lemma 1 for a growing Lipschitz constant . Appendix B.2 extends the analyses from to Lipschitz continuity for any fixed . Appendix B.3 extends the upper bounds for VANILLAFM from the Euler method to fixed explicit Runge–Kutta samplers. Finally, Appendix B.4 encodes majority circuits into VANILLAFM, demonstrating that the rounds of Lemma 1 match circuit depth and cannot be improved without collapsing the majority-circuit depth hierarchy.
B.1 THE GROWING LIPSCHITZ CONSTANT
The proof of Lemma 1 bounds the number of Picard rounds by without using the constancy of , so the lemma already allows a growing . Since the exact prefix sums of each round are computable in when and , the whole run then becomes a majority circuit of depth instead of .
Corollary 1. Let u be a model that can be computed by circuits in , and be any language that can be accepted by u with margin 1 under VANILLAFM. Assume that u is B-bounded for a constant and -Lipschitz continuous for some that may grow with m. Then there exists a constant , independent of m, such that as long as the state dimension and the number of steps satisfy and , and the number of fractional bits satisfies
can be decided by majority circuits of size and depth . In particular, if for a constant integer , and if .
Proof. We turn the algorithm of Lemma 1 into a majority circuit. The lower bound in (12) is exactly the hypothesis (2) of Lemma 1, with the constant of that lemma. Hence the lemma's algorithm, namely Algorithm 3 with rounds, run from a hardwired initialization (Appendix A.1), accepts with margin : every coordinate of its output is at least when and at most otherwise.
As noted after the proof of Lemma 1, one round of that algorithm consists of parallel calls to followed by prefix sums and normalizations, which computes exactly since and are poly (Vollmer, 1999; Hesse et al., 2002). Since is itself computed by circuits, composing the rounds with the indicator yields a majority circuit deciding . Its depth is , and its size is polynomial because each round has size poly and the precision hypothesis (12) bounds by , so that .
If , the depth is and by definition. If , then for some constant , so (Appendix A.1).
B.2 LIPSCHITZ CONDITION
We now extend Theorems 1 and 2 to the norm for a fixed . We say that is -Lipschitz in if
for all , equal-length ctx, ctx' , and .
Proposition 1 (Upper bound under ). Theorem 1 remains true if its Lipschitz hypothesis is replaced by an Lipschitz hypothesis for any fixed .
Proof. The small-K case of Appendix A.2.4 re-runs the sampler exactly and is independent of the Lipschitz norm, so it carries over unchanged. For the large-K case, we follow the proof of Theorem 1 in Appendix A.2.4, measuring every error in the normalized norm , with . Two observations carry the argument over. Boundedness gives
, and a perturbation bounded by in every coordinate changes the normalized norm by at most , both because . The Lipschitz hypothesis gives , since the two velocities share and .
We run the construction of Appendix A.2.4 with in place of , choosing the constant of (9) large enough that and . In the large-K case we have , which is equivalent to and thus gives , so Lemma 3 applies with exactly as there, and every other parameter is unchanged.
The error analysis of Appendix A.2.4 then carries over: with and the same and as there,
Indeed, the four terms of the decomposition of Appendix A.2.4 are bounded exactly as there: the prefix-sum error contributes , the velocity differences by the second observation, the weight mismatch at most by the first, and the rounding residuals since , and similarly for the initial bound.
Lemma 2 with gives , and as in Appendix A.2.4 the precision hypothesis bounds , so that .
It remains to read off the decision, for which a single coordinate no longer suffices. If , every coordinate of is at least 1, so a coordinate with satisfies . Such coordinates form at most a fraction of the coordinates, where if , since their contribution alone gives , and if . In either case , because and .
At least of the coordinates of are therefore positive, and symmetrically at least are negative if . The table bound computes the sign of each coordinate, and approximate counting in (Ajtai, 1990), applied to these signs, estimates the fraction of positive coordinates to within . The estimate is thus at least if and at most if , so comparing it with decides . This count replaces the single-coordinate comparison at the end of Appendix A.2.4 and lies in for all three choices of . Hence .
Proposition 2 (Lower bound under ). For every fixed , Theorem 2 remains true with the Lipschitz requirement in condition (b) replaced by -Lipschitz continuity in , for some constant depending only on . In the P/poly case its precision can be chosen to further satisfy (1).
Proof. We reuse the model u of Appendix A.3.2 as it stands: each coordinate of its condition is read by constantly many of the windows , and this bounded overlap already makes u Lipschitz continuous in every norm. All other conditions of Theorem 2, and acceptance with margin 1, are unaffected, since the model and the run are unchanged.
To compute the constant, write for the difference of two equal-length conditions and split it into its input part and its endpoint-prediction part . Since ignores and each is 8-Lipschitz in the norm of its window, each output coordinate changes by at most 8 times the largest change inside its window. Raising to the -th power, bounding that maximum by a sum, and summing over give, for ,
In this double sum, each input coordinate appears in for the coordinates of its block, and each endpoint-prediction coordinate appears in for at most coordinates , those of its own block and of the two neighboring blocks. The double sum is therefore at most
, where the last step uses , so is -Lipschitz in . The same argument with the maximum kept in place of the sum handles , recovering the constant 8 of Theorem 2. As for every , we may take , which depends only on the alphabet of Lemma 4 and hence only on .
In the P/poly case, the parameter choice of Appendix A.3.2 sets , which does not depend on the Lipschitz constant and therefore still satisfies (1).
B.3 RUNGE–KUTTA SAMPLERS
The upper bounds above are stated for vanilla flow matching with the Euler method. We extend them to any fixed explicit Runge–Kutta method. Let R be such a method with stages per step, whose tableau is specified by nodes , weights , and coefficients for (Hairer et al., 1993). Algorithm 4 gives the resulting sampler, RKFM, using the rounded tableau entries , , and . The Euler method is the special case , while Heun's method, another common flow-matching sampler (Karras et al., 2022; Lee et al., 2024), has .
As in Algorithm 3, we simulate RKFM by a parallel Picard iteration for R. The analysis of Appendices A.2.2 and A.2.4 then carries over with L scaled by a constant depending only on the tableau, at the cost of qK parallel model calls per round.
Algorithm 4 Runge–Kutta Flow Matching
Fixed: an explicit Runge–Kutta method R with constant stage count and rounded tableau entries , , and
1: function RKFM(w; u, K) 2: for 3: for ; 4: Sample ; 5: for do 6: for do 7: 8: 9: end for 10: 11: end for 12: return 13: end function
Proposition 3 (Runge–Kutta samplers). Let be a constant integer and be any fixed explicit Runge–Kutta method with stages, whose nodes lie in . There is a constant , depending only on , such that the following hold with VANILLAFM replaced by RKFM:
• Lemma 1 remains true once the precision condition (2) is replaced by
where the constant now also depends on , and the bound on the parallel calls per round is replaced by .
• Corollary 1 remains true once the lower bound in (12) is replaced by (13).
• Theorem 1 remains true.
Proof. We simulate the Runge–Kutta sampler of Algorithm 4 by the parallel Picard iteration of Algorithm 5, following the same strategy as the Euler case: write the RKFM trajectory as a fixed-point system, solve it by Algorithm 5, and bound the error with Lemma 2. The only new feature is that each step has q stages, so the system has qK positions instead of K. Each stage depends on earlier stages in the same step as well as on all stages of previous steps.
The fixed-point system. Fix and couple the two algorithms through a common initial . Let and denote the true stages and states of Algorithm 4, and write . Since
Algorithm 5 Parallel Runge–Kutta Picard Inference
Fixed: an explicit Runge–Kutta method R with constant stage count and rounded tableau entries , , and
1: function PARALLELRK() 2: for 3: for , 4: Sample 5: for all 6: for do 7: in parallel for all : 8: for 9: for all 10: in parallel for all : 11: 12: end for 13: return 14: end function
and is nondecreasing and fixes , every stage time satisfies , so the boundedness and Lipschitz hypotheses apply at every stage. Each displayed in Algorithms 4 and 5 evaluates its argument over the reals and rounds the result once. Unrolling the rounded updates gives the fixed-point equations
and
We now index all positions in dependency order. Put index 0 for , index for stage with and , and index for the endpoint . For each , write for the corresponding quantity (the stage when , and the endpoint when ), and for write for the corresponding stage velocity . Then the fixed-point equations for all positions can be written uniformly as
where, by (14) and (15), each coefficient is either 0, some , or some . Put , a constant depending only on the tableau, so that every rounded tableau entry has magnitude at most . The precision condition (13) gives , so , and hence every coefficient satisfies
Error analysis. For each position , define as follows: if is a stage, then ; if is the endpoint, then ; and , since both runs share . Put , , , and , constants depending only on and . Since the iteration starts every position at , bounding the at most velocities in the uniform equation by gives
the last step because .
For the inductive step, write and for the iterate and velocity of Algorithm 5 at position , in the indexing above, and let be the nominal coefficients, obtained from by replacing the step or with . Each rounded tableau entry has magnitude at most , so , and bounds the mismatch by . Expanding the update of Algorithm 5 in the same indexing,
where collects the roundings of the at most products in and the at most products in , each of size at most and divided by , together with the outer rounding. Subtracting the uniform equation from this expansion and taking norms,
In the first sum, the two velocities at position share the stage time and the condition, so Lipschitz continuity gives , and because . The second sum has fewer than terms, each at most , so it is at most . The two residuals add at most . Hence, by the choice of ,
This is exactly the recurrence of Lemma 2, with its parameters set to , , , , and . Applying that lemma with gives
The precision condition (13) implies . Choosing with makes . Thus accepts with margin under Algorithm 5 whenever it accepts with margin 1 under RKFM, and the algorithm runs for rounds with parallel model calls per round. This proves the first item.
Expressiveness upper bounds. For the analogue of Theorem 1, where , we split as in Appendix A.2.4, now at . The small-K case again re-runs the sampler directly, now making stage calls per step, and lies in D by the same argument as in Appendix A.2.4. In the large-K case, we replace the normalized prefix sums by the approximate ones of Lemma 3, applied with and accuracy to the rounded products , which are bounded by a constant, and rescaled by the integer , as in Appendix A.2.4. All remaining updates depend on only scalars of bits. With the time grid and stage times hardwired, they can be computed exactly by the table bound. The approximation adds to the additive constant of the recurrence, so Lemma 2, now with , gives
Taking and choosing with gives . Since , this choice also gives , as Lemma 3 requires. The size and depth argument of Appendix A.2.4 then places in D, which proves the third item.
For the analogue of Corollary 1, where , arithmetic with the hardwired rounded tableau entries and the exact prefix sums lies in (Vollmer, 1999; Hesse et al., 2002), so the depth is as in Corollary 1. This proves the second item and hence the proposition.
B.4 MATCHING THE CIRCUIT DEPTH
Corollary 1 shows that any run of VANILLAFM can be compressed into sequential rounds. Here we show that these rounds match circuit depth up to constant factors: given any polynomial-size target majority circuit of depth d, VANILLAFM can simulate it using a model with Lipschitz constant , while each model evaluation can be computed by a constant-depth circuit. The construction proceeds in three phases, determined by the current time t: resetting the sampler state, evaluating one layer of the target circuit per sampling step, and finally amplifying the resulting verdict to satisfy the acceptance margin.
Proposition 4 (Encoding majority circuits into VANILLAFM). Let be a sequence of positive integers, and be a language decided by polynomial-size majority circuits of depth . Then there are , and satisfying (2) with and , and a model , computed by circuits, such that is 8-bounded and -Lipschitz continuous and accepts with margin 1 under VANILLAFM.
Proof. Every gate of the circuit is a threshold gate with weights in and an integer threshold. An AND, OR, or MAJORITY gate of fan-in has unit weights and threshold , 1, or , respectively, and a NOT gate has weight -1 and threshold 0.
We construct the model explicitly. Recode Boolean values by and . A gate keeps its weights , and its threshold becomes the integer . Index the state coordinates by the gates, let be the number of gates, and write * for the output gate. The run stores the output of each gate in the state coordinate . The layer of a gate is its depth . Every gate reads only primary inputs and gates of earlier layers.
Let be the least power of two with , so that and . We will choose at the end of the proof. Since is a power of two and round fixes , the time grid is exact: and .
Encodings and gate extensions. Write clip(y; c) := max{-c, min{c, y}} for the truncation of a scalar y to . Gate outputs are stored at scale 1/K: one Euler step with velocity writes exactly into a coordinate. A state coordinate is therefore decoded by clip(Kx_\gamma; 1), which maps the stored encodings to . An input bit is decoded by clip(2w_j - 1; 1), which maps 0 to -1 and 1 to 1.
Consider a gate with weights and integer threshold , and set . On a vertex , the gate fires if and only if reaches , that is, if and only if at least of the values equal 1. The recoded gate value is therefore the -th largest of the when , and a constant otherwise. Accordingly, extend the gate to by letting be the -th largest of , with if and if . Then equals the recoded gate value on the vertices, and every value of is one of the or , so maps into and the model needs no rounding.
The model. Let denote of gate applied to its decoded inputs. We define coordinatewise by
on valid inputs with parameters , and on all other encoded inputs.
The run. We now show that accepts with margin 1 under VANILLAFM. In the first phase, one step maps to 0 if and otherwise moves it toward 0 by , so from the state reaches 0 within steps and stays there.
The second phase evaluates one circuit layer per step. A coordinate has zero velocity at every second-phase step except its own layer step, so a value once written persists. By construction, step writes the value of every layer- gate, encoded as , into its coordinate.
The third phase amplifies the verdict: after step every gate value is written, so the decoded output clip( ; 1) is the verdict . The shared velocity 8 clip( ; 1) stays pinned at for the remaining steps. Every final coordinate is then at least on acceptance and at most -1 on rejection, so accepts with margin 1.
The run is exact: every velocity lies in or equals , so every Euler increment is , or , all in .
Lipschitz constant and circuit complexity. We first check that is 1-Lipschitz. Suppose that , so that for every . The -th largest is nondecreasing in every coordinate and grows by exactly when every coordinate grows by . Hence , and exchanging and gives the reverse bound.
The model is 8-bounded. For fixed , the velocity is -Lipschitz in the reset phase and -Lipschitz in the amplification phase, as clip is 1-Lipschitz. In the layer phase, the velocity is -Lipschitz: the state decoder clip(; 1) is -Lipschitz, the input decoder clip(; 1) is 2-Lipschitz, and is 1-Lipschitz. Since the Lipschitz condition of §2.2 constrains each separately, is -Lipschitz continuous.
It remains to check that is computed by circuits. Every scalar involved occupies polynomially many bits in the input length. Comparisons, additions, and multiplexing lie in (Vollmer, 1999), and multiplication by is a bit shift, as is a power of two.
The only nontrivial computation is , the -th largest of the scalars . This value is the largest candidate with . The circuit compares all pairs of the scalars in parallel, tests each candidate by one threshold gate over its comparison bits, and selects the largest passing candidate by multiplexing. These blocks have constant depth and polynomial size, so is computed by circuits.
Parameters. Finally, we fix the parameters. The quantities and are , and
satisfies and (2) with and .
Remark. Proposition 4 and Corollary 1 show that the rounds of Lemma 1 cannot be improved in general without collapsing the depth hierarchy of majority circuits. Suppose that some inference algorithm simulates VANILLAFM in rounds, each consisting of polynomially many parallel calls to and arithmetic. The model of Proposition 4 has and is computed by majority circuits of constant depth, so polynomial-size majority circuits of depth would collapse to polynomial-size majority circuits of depth , which is unlikely. For example, the depth hierarchy of majority circuits within would collapse to a constant depth, whereas it is widely conjectured to be infinite (Hajnal et al., 1993).
C FORMALIZATION AND CIRCUIT COMPLEXITY OF THE TASKS IN §4.2
This appendix formalizes the three synthetic tasks introduced in §4.2 and establishes the circuit-complexity claims used there. Specifically, we show that line tracing is NC -complete, while long multiplication and long text rendering are TC -complete, matching the separation barriers between VANILLAFM and SELFCONDFM in §3.1 for TC and AC backbones, respectively. As in Appendix A.1, all circuit classes considered below are non-uniform.
C.1 TASK DESCRIPTIONS
We first describe the three task families before giving their formal definitions and complexity analyses. The tasks are illustrated in Figure 1.
Line tracing. The input is an image containing five black polylines that traverse permutation stages from left to right, with one polyline starting in each of the five rows. At stage , a permutation reroutes the polyline entering row to row , where denotes the group of even permutations on five elements. The target is a colored version of the input in which each polyline is assigned a fixed color determined by its starting row. Whenever two polylines cross within a stage, we resolve occlusion by rendering the polyline entering the stage from the higher row on top.
Long multiplication. The input is an image containing a multiplication problem of two positive integers A and B, each with at most m digits and no leading zeros. The two integers are rendered with their digits aligned by column and their least significant digits in the rightmost column. The target is a complete step-by-step long-multiplication worksheet: writing , it displays the shifted partial products , the digitwise carries, their vertical summation, and the final product AB. The worksheet follows a digit-aligned grid layout, with each digit rendered in a separate cell and carry digits placed at the upper left of the corresponding cells. Additional line segments indicate the summation of the partial products.
Long text rendering. The input is a text passage of m words sampled from the TinyStories (Eldan & Li, 2023) dataset, given to the model as a text condition. The target is a monospaced rendering of the passage on a canvas of fixed usable width W. The first word begins at the left margin; each subsequent word is placed on the current line if it fits after a single interword space, and otherwise starts a new line. At each paragraph break, one line is left blank, and the next paragraph begins at the left margin.
C.2 PRELIMINARIES FOR THE COMPLEXITY ANALYSIS
Next, we formalize these three image-space tasks and establish their circuit complexities through their underlying symbolic functions.
Completeness for functions. Each of the three tasks produces a long output rather than a single bit, so we phrase completeness through the output bits. For a function f whose output has polynomial length, put
As in Theorem 1, we write D for a circuit class. We call f D-complete when and every language in D is decided by circuits with oracle gates for , that is, when f is complete for D under Turing reductions. The three propositions below use this notion with for line tracing and for the other two tasks.
Symbolic and image-space tasks. Line tracing and long multiplication map images to images, whereas long text rendering maps a word sequence with paragraph boundaries to an image. We call these three image-output mappings image-space tasks, distinguishing them from their underlying symbolic functions. For each task, we establish the circuit complexity of its symbolic function, then give bidirectional Turing reductions between that function and the corresponding image-space task.
Asymptotic interpretation. The propositions below concern asymptotic task families as m grows. In practice, our experiments in §4.2 instantiate these families over a finite range of problem sizes m and report a single score for each task. A line-tracing instance with m = 50 contains every shorter prefix length as a subproblem. Long multiplication draws operands of five to seven digits, and long text rendering draws passages of varying word count m. Circuit complexity is a property of the family, so the propositions describe the computation that the tasks demand as m grows.
C.3 LINE TRACING
A line-tracing instance, as illustrated in the left column of Figure 1, can be viewed as a sequence , where denotes the alternating group on five elements. Here reroutes the polyline entering row of stage to row . With the identity of , set
so that the polyline starting in row occupies row after stages. Each polyline keeps the color of its starting row , so row carries the color after stages. The colored target is exactly the sequence of prefix permutations .
Proposition 5 (Line tracing). The line-tracing task, mapping a black-and-white input image to its colored target, is NC -complete under AC Turing reductions.
Proof. We first consider the symbolic function . Since is fixed, multiplying two encoded permutations is a constant-size lookup, so a balanced tree computes any with depth . Computing all prefix products independently still uses only polynomial size, so the output-bit relation of is in .
To establish NC -hardness, we use Barrington’s result that the word problem for every fixed non-solvable group is NC -complete under AC reductions (Barrington, 1986). Since is non-solvable, that result applies to the word problem of deciding whether . An encoded group element occupies a constant number of bits, so a constant number of oracle queries returns the final component of the trace, and an AC test compares it with e. Hence Trace is NC -complete.
Parallel local lookups decode from the black-and-white stage templates and from the colored target, and conversely render both sequences as images. These conversions lie in , so the classification transfers to the line-tracing task.
C.4 LONG MULTIPLICATION
We write for the complete decimal worksheet of two positive integers and , shown in the middle column of Figure 1. For , put and . The worksheet contains the shifted partial products , the successive partial sums for , the digitwise carries used in these multiplications and additions, and the final product , all in decimal.
Proposition 6 (Long multiplication). The long-multiplication task, mapping an operand image to its rendered worksheet, is -complete under Turing reductions.
Proof. We first analyze the symbolic worksheet function LMul. To show that LMul ∈ TC⁰, recall that fixed-base conversion, iterated addition, multiplication, division, and remainder are computable by constant-depth threshold circuits (Chandra et al., 1984; Hesse et al., 2002). These operations compute every , every , and every decimal output digit in parallel, and each displayed carry is obtained from the corresponding fixed-base quotient and remainder. The number of worksheet entries and the length of each entry are polynomial in the input length, so the complete worksheet is in TC⁰.
We now prove -hardness. For , the exact-counting function is
with its output written in binary. This function is -complete under Turing reductions (Chandra et al., 1984). To establish -hardness, it therefore suffices to reduce to LMul.
Given x, we set
and define the positive decimal integers A and B by
Their decimal encodings consist of -digit blocks and are produced by an circuit, since every output digit is either a constant or an input bit . When is written in base , every coefficient is at most , so no carry crosses a -digit block, and the coefficient of is exactly .
The final row of the worksheet contains AB, from which an readout extracts this block. Its decimal digits have an -bit encoding. A non-uniform lookup on these bits has entries and converts the block to binary in . Thus , and hence every language in , reduces to LMul.
The fixed digit glyphs and worksheet grid similarly allow parallel local lookups to decode from the operand image and LMul from the worksheet image, and conversely to render both as images. These conversions lie in , so the same classification holds for the long-multiplication task.
C.5 LONG TEXT RENDERING
As illustrated in the right column of Figure 1, long text rendering uses a fixed monospaced raster font over a finite alphabet with . We call the font nontrivial if its glyph-raster map is not constant, that is, if some two characters render differently. We normalize horizontal distances to character cells, so the width budget is an integer .
An input consists of a sequence where is the -th word and is a paragraph-boundary indicator. By convention, . For , means that begins a new paragraph after one blank line, whereas means that it continues the current paragraph.
The words determine the glyph content, while the auxiliary wrapping function below determines their positions. Let be the length of word . We define three auxiliary variables for each word: is its line index, starting from 1; is its horizontal starting position, starting from 0; and is the occupied width of the line after placing , equivalently the exclusive right boundary of .
With , we define, for ,
and denote the sequence by . The three cases are the greedy rule stated in the task descriptions above, where a word joins the current line whenever it fits with a single interword space.
The long text rendering task is the function . On input , it returns the full-height rasterization of these words under the rule above. Its canvas has character cells per line and line slots, with unused slots left white. The largest line index is , so the canvas accommodates every input and has a fixed output length given .
Proposition 7 (Long text rendering). For every fixed and fixed nontrivial monospaced raster font over an alphabet with , the function is -complete under Turing reductions.
Proof. We first classify the auxiliary wrapping function. To show that , we track the occupied width with a finite automaton. For each input pair , its transition on the state set is
and we let be the transition monoid generated under composition by .
For any initial state , reading the first i input pairs yields
We arrange the states in cyclic order. For , the list advances in that order, wraps around at most once, and may repeat ; for , the transition is constant. Both are orientation-preserving transformations of the cycle, and such transformations are closed under composition.
Every subgroup of is cyclic. To see this, let be the identity of and . Although need not fix every state, it fixes every element of . Since , each is determined by its restriction to , where it acts as a cyclic-order-preserving permutation. Restriction to therefore embeds into the rotation group of . Since this rotation group is cyclic, so is . In particular, every subgroup of is solvable.
By the characterization of regular languages recognized by finite monoids with solvable subgroups (Barrington et al., 1992), every state predicate of this automaton lies in . Applying these state-predicate circuits to every prefix gives a one-hot encoding of every , still with constant depth and polynomial size. The first word needs no special treatment: since , the map is constant with value , so applying it to any initial state returns .
For each , the automatic-wrap indicator and the total line increment are
and computing them requires only a constant-size lookup once , and are known. Threshold circuits compute all prefix sums
in constant depth, and the starting position is when and otherwise. Thus the entire wrapping function is in .
To establish -hardness, we use the single-paragraph subfamily, setting and for every , and reduce MAJORITY to a single query of . Given , we begin with a sentinel word of width , so that the first line is full, and encode each input bit by the two-word gadget given by
The gadgets are appended after the sentinel.
Whenever a gadget begins, the current line is full. The 0-gadget starts one new line and fills it exactly, because , while the 1-gadget starts two new lines, each filled by one width-W word. Both gadgets therefore end with a full line, contributing one and two line breaks respectively, so the final word has line index
The width sequence is an encoding of the input bits, and an comparison of the returned line index with a hardwired threshold decides MAJORITY. Since MAJORITY generates under Turing reductions (Chandra et al., 1984), the wrapping function is -hard.
We now transfer this classification to the rendered image. To compute with an oracle for , first obtain each by a constant-size lookup and query the word positions . Each output pixel is then a fixed glyph lookup on the characters of , followed by an OR over the words, all in . Since , this reduction places in .
For the reverse reduction, nontriviality provides two characters whose glyph rasters differ at a fixed pixel. For each word index , form two rendering inputs with the same paragraph indicators. Both inputs represent word by for every . In the second input, replace the first of the -th word by .
The two inputs have identical layouts because the font is monospaced. Comparing their bitmaps at that pixel offset in every character cell gives a one-hot encoding of the starting cell . An circuit converts this encoding to binary. All pairs are queried in parallel with polynomially many oracle gates. This gives an Turing reduction from to . Since is -hard, is -hard as well.
D EXPERIMENTAL DETAILS
D.1 OVERALL SETUP
Backbones. For line tracing, we train a multimodal diffusion transformer (MMDiT) with 9M parameters from random initialization, following the FLUX. 2 architecture (Black Forest Labs, 2026). It has three joint-attention blocks and three single-stream blocks, each with four attention heads and head dimension 64. Other runs fine-tune pretrained backbones with LoRA adapters (rank and alpha 32, no dropout). Long multiplication, long text rendering, and the controlled comparison of §4.3 use FLUX. 2-klein-base-4B (Black Forest Labs, 2026). The large-scale comparison in §4.3 instead uses Qwen-Image-Edit-2511 (Qwen Team, 2025).
Implementation of self-conditioning. All backbones encode images into VAE latents and pack each latent patch into one image token. In the second training pass and at each sampling step after the first, SELFCONDFM concatenates the tokens of the endpoint prediction with the tokens of the noisy target and of any conditioning image before the transformer blocks. The FLUX.2 backbones append the tokens of the endpoint prediction with a distinct positional encoding offset, and Qwen-Image-Edit places them after the tokens of the target image. No attention mask separates these blocks of tokens. Both placements follow the backbones' own design for image-conditioned generation. Thus self-conditioning changes the input sequence but not the transformer architecture.
Training FLOPs. We match training compute by cumulative FLOPs, the total number of floating-point operations a run performs. We estimate it as the training FLOPs per micro-batch, averaged over 100 micro-batches, multiplied by the number of micro-batches processed across all devices. Each measurement covers the complete training computation, including VAE encoding, the second SELFCONDFM training pass, and the longer self-conditioned token sequence, so the extra cost of self-conditioning is fully counted. The plotted budgets in Figure 1 are FLOPs for line tracing, for long multiplication, and for long text rendering.
D.2 SETUP AND EVALUATION FOR THE TASKS IN §4.2
Shared configuration. All training runs are conducted on four NVIDIA A100 80GB GPUs, using AdamW, bfloat16 precision, and a constant learning rate schedule with 1,000 warmup steps. Within each task, the two methods share the data, optimizer, noise schedule, and evaluation procedure. The SELFCONDFM runs use the two-pass training scheme of §3.2.
Line tracing. The training set contains random instances with . We train with a global batch size of 32 and a learning rate of . After FLOP alignment, the plotted curves end at step 60k for VANILLAFM and step 53k for SELFCONDFM.
We evaluate checkpoints on a held-out set of 20 instances using 100 NFE. The evaluator samples interior locations on the five expected segments of each stage and requires their local average RGB values to match the ground-truth rendering within a fixed tolerance. Our evaluation metric is the longest correct prefix (LCP), defined for each instance as the length of the longest prefix of stages for which all five segments match.
Long multiplication. The training set contains problems with operands of five to seven digits, where the number of digits of each operand is drawn independently and uniformly from . Each operand is then sampled uniformly at random from the integers with the chosen number of digits, so it contains no leading zeros. We use a global batch size of 8 and a learning rate of , training SELFCONDFM for five epochs and VANILLAFM for 15 epochs to cover a comparable FLOP range.
We evaluate checkpoints on a test split of 100 instances drawn from the same distribution as the training set, using 50 NFE. We use Qwen3.8-Flash (Qwen Team, 2026) as the judge, prompting it to compare the generated and reference worksheets. A sample counts as correct only when the two worksheets agree throughout, from the final product to every intermediate row. The full judge prompt is given in Figure 4.
You are evaluating a visual reasoning model on a column-multiplication task. You will see a problem setup image (the two numbers to multiply, written in column form), the correct solution image (the fully worked-out column multiplication with the correct final product), and the model's predicted solution image.
Decide whether the predicted solution is correct: it must correspond to the same problem setup as the correct solution, the final product it shows must equal the correct product, and the intermediate steps, including the carries, must match the correct solution as well. If the predicted solution is blank, truncated, or unreadable, answer ‘[NO]’. Provide a brief explanation, then answer ‘[YES]’ if the predicted solution is correct and ‘[NO]’ if it is not.
Figure 4: Judge prompt for evaluating long multiplication.
Long text rendering. The training set contains text samples as conditions, with their monospaced renderings as targets. The corpus is drawn from the TinyStories dataset (Eldan & Li, 2023). During preprocessing, we truncate each text to the longest prefix that fits on the canvas. We use a global batch size of 16 and a learning rate of , training VANILLAFM for 12 epochs and SELFCONDFM for four epochs.
We evaluate 100 held-out instances using 50 NFE, parsing the text from the reference and generated images with Qwen3.8-Flash (Qwen Team, 2026), prompted to preserve all line breaks and whitespace. The rate of perfect rendering is the fraction of instances whose two parsed texts match exactly.

Figure 5: Character error rate (CER) of parsed text from the long text rendering evaluation, against cumulative training FLOPs. SELFCONDFM keeps improving throughout training, whereas VANILLAFM plateaus nearly an order of magnitude above the final SELFCONDFM value.
Beyond exact matching, we also compute the character error rate (CER) between the two parsed texts (Figure 5), defined as , where and are the parsed text of the reference and generated images, respectively. The Levenshtein distance is the minimum number of character edits required to transform into , where each edit inserts, deletes, or substitutes one character and has unit cost. SELFCONDFM ends at CER 0.005, while VANILLAFM plateaus between 0.03 and 0.1 and stands at 0.046 at the matched budget of FLOPs.
D.2.1 MULTI-SEED EVALUATION
We further train VANILLAFM and SELFCONDFM with 3 different seeds (i.e., 2 seeds in addition to the one used in Figure 1) on line tracing and long multiplication. We evaluate line tracing on the same held-out set of 20 instances as the single-seed evaluation at 100 NFE, and long multiplication on the same held-out set of 100 instances as its single-seed evaluation at 50 NFE. Due to limited computational resources, we train long multiplication with a smaller compute budget and do not run multi-seed experiments for long text rendering.
Figures 6 and 7 show the mean evaluation curve of each method against training FLOPs, with a band of one standard deviation around the mean. For line tracing, at the checkpoints with matched training FLOPs (SELFCONDFM@53k vs. VANILLAFM@60k), SELFCONDFM saturates at a mean LCP of , while VANILLAFM reaches only . For long multiplication, at its smaller matched budget (SELFCONDFM@50k vs. VANILLAFM@125k), SELFCONDFM attains accuracy while VANILLAFM reaches . These multi-seed results thus confirm that SELFCONDFM outperforms VANILLAFM on line tracing and long multiplication, consistent with the single-seed evaluations in Figure 1.

Figure 6: Training curves of line tracing with 3 different seeds, plotting mean LCP on the held-out set of 20 instances at 100 NFE against training FLOPs. For each method, the curve shows the mean over the 3 runs, and the shaded band shows the mean ± one standard deviation. SELFCONDFM saturates at , while VANILLAFM reaches at the matched budget.

Figure 7: Training curves of long multiplication with 3 different seeds, plotting the mean accuracy on the held-out set under 50 NFE against training FLOPs. As in Figure 6, each curve and its shaded band show the mean and the mean ± one standard deviation over the 3 runs. VANILLAFM reaches while SELFCONDFM is higher at under the fixed budget.
D.2.2 GENERATED EXAMPLES
Figures 8 to 10 present selected held-out examples on which VANILLAFM fails while SELFCONDFM succeeds, with annotations highlighting the errors made by VANILLAFM. They are generated by the checkpoints at the final evaluation point of Figure 1, namely VANILLAFM@60k and SELFCONDFM@53k for line tracing, VANILLAFM@312.5k and SELFCONDFM@125k for long multiplication, and VANILLAFM@190k and SELFCONDFM@74k for long text rendering.
(a) Sample 00001: stages 1 to 9
Black box: first error at stage 8
VanillaFM (LCP 7)

SelfCondFM (LCP 50)
(b) Sample 00002: stages 1 to 15
Black box: first error at stage 14
VanillaFM (LCP 13)

SelfCondFM (LCP 50)
Figure 8: Examples on line tracing. For visualization, each trajectory is truncated shortly after the first error of VANILLAFM; the full trajectory contains 50 stages. VANILLAFM first fails at stages 8 and 14 in (a) and (b), respectively, by incorrectly switching colors at line crossings. Black boxes mark the errors. In contrast, SELFCONDFM preserves each line’s color throughout all 50 stages in both examples (LCP = 50).
(a) 29471 x 21965
VanillaFM
| 2 | 9 | 4 | 7 | 1 | |||||
|---|---|---|---|---|---|---|---|---|---|
| × | 2 | 1 | 9 | 6 | 5 | ||||
| 5 | 5 | ||||||||
| 2 | 6 | ||||||||
| 5 | 1 | 5 | |||||||
| 3 | 9 | ||||||||
| 4 | 3 | 5 | 1 | 5 | |||||
| 4 | 7 | 1 | |||||||
| 7 | 5 | 1 | 5 | ||||||
| 8 | 4 | 2 | |||||||
| 3 | 3 | 5 | 1 | 5 |
2 incorrect digits
(b) 65667 x 661484
VanillaFM
| 6 | 5 | 6 | 6 | 7 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| × | 6 | 6 | 1 | 4 | 8 | 4 | |||||
| 8 | |||||||||||
| 6 | |||||||||||
| 1 | 2 | 8 | |||||||||
| 8 | |||||||||||
| 1 | 7 | 2 | 8 | 2 | 8 | ||||||
| 6 | 5 | 6 | 6 | 7 | |||||||
| 4 | 9 | 8 | 2 | 8 | |||||||
| 2 | |||||||||||
| 3 | 7 | 4 | 9 | 8 | 2 | 8 | |||||
| 2 | |||||||||||
| 3 | 4 | 3 | 7 | 6 | 9 | 8 | 2 | 8 |
2 incorrect digits
SelfCondFM
| 2 | 9 | 4 | 7 | 1 | |||||
|---|---|---|---|---|---|---|---|---|---|
| × | 2 | 1 | 9 | 6 | 5 | ||||
| 5 | 5 | ||||||||
| 2 | 6 | ||||||||
| 5 | 1 | 5 | |||||||
| 3 | 9 | ||||||||
| 4 | 3 | 5 | 1 | 5 | |||||
| 4 | 7 | 1 | |||||||
| 7 | 0 | 5 | 1 | 5 | |||||
| 8 | 4 | 2 | |||||||
| 3 | 3 | 0 | 5 | 1 | 5 |
Correct
SelfCondFM
| 6 | 5 | 6 | 6 | 7 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| × | 6 | 6 | 1 | 4 | 8 | 4 | |||||
| 8 | |||||||||||
| 6 | |||||||||||
| 1 | 2 | 8 | |||||||||
| 8 | |||||||||||
| 1 | 7 | 2 | 8 | 2 | 8 | ||||||
| 6 | 5 | 6 | 6 | 7 | |||||||
| 4 | 9 | 8 | 2 | 8 | |||||||
| 2 | |||||||||||
| 3 | 7 | 4 | 6 | 9 | 8 | 2 | 8 | ||||
| 2 | |||||||||||
| 3 | 4 | 3 | 7 | 6 | 6 | 9 | 8 | 2 | 8 |
Correct
Figure 9: Examples on long multiplication. VANILLAFM makes accumulation errors in both cases, resulting in incorrect final answers, with the erroneous digits highlighted in red boxes. In contrast, SELFCONDFM produces the correct product for both examples.
(a) Sample 00007_000082
VanillaFM
Once upon a time, there was a little duck named Ducky. Ducky loved to play in the pond with his friends. One day, Ducky saw a yellow butterfly and he wanted to catch it. He rushed after the butterfly, but he didn't notice a big rock in his way. Ducky tripped and fell into the mud.
Ducky was very sad because he was all dirty. He wanted to be clean again. Ducky's friends saw him and wanted to help him. They rushed to find some clean water to wash him off. They found a bucket of clean water and poured it over Ducky.
Ducky was happy to be clean again. He thanked his friends for helping him. They all played together in the pond, happy and clean. The end.
SelfCondFM
Once upon a time, there was a little duck named Ducky. Ducky loved to play in the pond with his friends. One day, Ducky saw a yellow butterfly and he wanted to catch it. He rushed after the butterfly, but he didn't notice a big rock in his way. Ducky tripped and fell into the mud.
Ducky was very sad because he was all dirty. He wanted to be clean again. Ducky's friends saw him and wanted to help him. They rushed to find some clean water to wash him off. They found a bucket of clean water and poured it over Ducky.
Ducky was happy to be clean again. He thanked his friends for helping him. They all played together in the pond, happy and clean. The end.
CER = 0.0106
Red boxes: text errors
Blue dashed boxes: line-break and whitespace errors
CER = 0.0000
(b) Sample 00018_000043
VanillaFM
Once upon a time, there was a little girl named Lily. She went on a tour with her family to see animals like lions and monkeys. It was so much fun! But then, they had to go home. Lily started to feel sad because she would miss the animals and the crazy things they did.
When they got home, Lily looked at all the pictures she took on the tour. She felt happy again because she remembered all the fun she had. Her mom told her they you could another tour soon. Lily was excited and couldn't wait cat see mor orer ainal sand have more fun.
SelfCondFM
Once upon a time, there was a little girl named Lily. She went on a tour with her family to see animals like lions and monkeys. It was so much fun! But then, they had to go home. Lily started to feel sad because she would miss the animals and the crazy things they did.
When they got home, Lily looked at all the pictures she took on the tour. She felt happy again because she remembered all the fun she had. Her mom told her they could go on another tour soon. Lily was excited and couldn't wait to see more animals and have more fun.
CER = 0.0410
Red boxes: text errors
Blue dashed boxes: line-break and whitespace errors
CER = 0.0000
Figure 10: Examples on long text rendering. VANILLAFM produces text errors as well as line-break and whitespace errors, yielding CERs of 0.0106 and 0.0410 in (a) and (b), respectively. Red boxes highlight text errors, and blue dashed boxes indicate line-break and whitespace errors. In contrast, SELFCONDFM renders both passages correctly with zero CER.
D.3 NFE SCALING
For Figure 3, we evaluate the checkpoints of Appendix D.2 for line tracing at matched training FLOPs, VANILLAFM@60k and SELFCONDFM@53k, on 200 held-out instances with . The NFE grid covers every integer from 1 to 50, and the two methods share the same initial noise for each instance at every NFE. The LCP is computed with the evaluator described in Appendix D.2.
Beyond the comparison at matched NFE in Figure 3, we also plot the mean LCP against cumulative inference FLOPs in Figure 11.

Figure 11: Mean LCP in the NFE scaling comparison of Figure 3, plotted against cumulative inference FLOPs. Both methods have zero mean LCP at NFE = 1. SELFCONDFM reaches 49.84 at FLOPs. VANILLAFM reaches 7.66 at FLOPs, ending below 8.0 up to FLOPs (which corresponds to NFE = 50).
D.4 SETUP AND RESULTS FOR STRUCTURED VISUAL-REASONING TASKS
Datasets and evaluators. We prepare the training data with the pipeline of Dai et al. (2026) for VSP-Super, Maze, TSP, and Sudoku, and with that of He et al. (2025) for Jigsaw. The evaluation data and protocol for all five tasks follow He et al. (2025).
Controlled experiments. In the controlled experiments of §4.3, for each of VSP-Super, Maze, TSP, Sudoku, and Jigsaw, we train separate FLUX. 2-klein-base-4B LoRA adapters under the shared configuration of the tasks in §4.2, with a global batch size of 16 and a learning rate of . Checkpoints are compared at matched cumulative training FLOPs, at which SELFCONDFM has been trained for 16k steps, and all results use 50 NFE.
Large-scale comparisons. Following the setup of Dai et al. (2026), we train two kinds of SELFCONDFM models. For task-specific training, we train one Qwen-Image-Edit-2511 LoRA adapter per task. For unified training, a single adapter is trained on the union of the VSP-Super, Maze, TSP, and Sudoku data. All adapters are trained for five epochs to ensure convergence.
D.4.1 JIGSAW RESULTS
Since EndoCoT (Dai et al., 2026) does not evaluate Jigsaw, we compare our large-scale result on Jigsaw with the baselines reported by He et al. (2025). Our SELFCONDFM adapter attains the best average accuracy, 96.0% versus 92.3% for DiffThinker, with the largest gain at the hardest level; see Table 3.
Table 3: Jigsaw accuracy (%) at difficulty levels 2 to 4. “Avg.” is the unweighted mean over the three levels. The best results are in bold and the second best are underlined.
| Method | 2 | 3 | 4 | Avg. |
|---|---|---|---|---|
| Gemini-3-Flash | 71 | 16 | 0 | 29.0 |
| GPT-5 | 30 | 0 | 0 | 10.0 |
| Qwen3-VL-8B | 7 | 0 | 0 | 2.3 |
| Qwen3-VL-8B (SFT) | 95 | 56 | 9 | 53.3 |
| Qwen3-VL-8B (GRPO) | 6 | 0 | 0 | 2.0 |
| DiffThinker | 99 | 98 | 80 | 92.3 |
| Ours | 98 | 100 | 90 | 96.0 |
D.4.2 GENERATED EXAMPLES
To illustrate the qualitative differences between VANILLAFM and SELFCONDFM on the five structured visual-reasoning tasks, we select two held-out instances per task from the controlled comparison in Table 1 on which VANILLAFM fails while SELFCONDFM succeeds. The examples are shown in Figures 12 to 16, with annotations highlighting the errors made by VANILLAFM.
(a) 16 x 16 grid
VanillaFM

Disconnected route
(b) 32 x 32 grid
VanillaFM
SelfCondFM

Connected route

Disconnected route
SelfCondFM

Connected route
Figure 12: VSP-Super examples on and grids. The VANILLAFM routes contain disconnected segments. In contrast, the SELFCONDFM routes correctly connect the endpoints.
(a) 8 x 8 maze
VanillaFM

Disconnected route
(b) 16 x 16 maze
VanillaFM
SelfCondFM

Reaches the endpoint

Stops before the endpoint
SelfCondFM

Reaches the endpoint
Figure 13: Maze examples on and grids. In (a), VANILLAFM leaves separate path fragments; in (b), its route stops before reaching the blue endpoint. In contrast, SELFCONDFM completes both routes.
(a) 12 cities
VanillaFM

Longer than optimal (+0.45)
SelfCondFM
(b) 15 cities
VanillaFM

Optimal

Longer than optimal (+0.67)
SelfCondFM

Optimal
Figure 14: TSP examples with 12 and 15 cities. VANILLAFM fails to find the optimal tour in both cases, yielding excess tour lengths of +0.45 and +0.67, respectively. In contrast, SELFCONDFM produces the optimal solution for both instances.
(a) 35 given digits
| 1 | 2 | 6 | 7 | 8 | 3 | 9 | 4 | 5 |
|---|---|---|---|---|---|---|---|---|
| 7 | 9 | 3 | 2 | 5 | 4 | 6 | 1 | 8 |
| 8 | 4 | 5 | 9 | 6 | 1 | 2 | 2 | 3 |
| 4 | 1 | 2 | 3 | 9 | 8 | 7 | 5 | 6 |
| 6 | 8 | 7 | 4 | 1 | 5 | 3 | 9 | 2 |
| 5 | 3 | 9 | 6 | 2 | 7 | 4 | 8 | 1 |
| 2 | 7 | 1 | 5 | 4 | 6 | 8 | 3 | 9 |
| 9 | 6 | 8 | 1 | 3 | 2 | 5 | 7 | 4 |
| 3 | 5 | 4 | 8 | 7 | 9 | 1 | 6 | 2 |
5 incorrect cells
(b) 45 given digits
| VanillaFM | ||||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 7 | 3 | 4 | 6 | 2 | 5 | 9 | 8 |
| 6 | 9 | 2 | 5 | 7 | 8 | 4 | 1 | 3 |
| 5 | 4 | 8 | 3 | 1 | 9 | 6 | 7 | 2 |
| 7 | 8 | 1 | 9 | 2 | 4 | 3 | 5 | 6 |
| 9 | 2 | 4 | 1 | 3 | 5 | 1 | 8 | 7 |
| 3 | 5 | 1 | 7 | 8 | 6 | 2 | 4 | 9 |
| 4 | 1 | 7 | 2 | 9 | 3 | 8 | 6 | 5 |
| 8 | 3 | 9 | 6 | 5 | 1 | 7 | 2 | 4 |
| 2 | 6 | 5 | 8 | 4 | 7 | 9 | 3 | 1 |
5 incorrect cells
SelfCondFM
| 1 | 2 | 6 | 7 | 8 | 3 | 9 | 4 | 5 |
|---|---|---|---|---|---|---|---|---|
| 7 | 9 | 3 | 2 | 5 | 4 | 6 | 1 | 8 |
| 8 | 4 | 5 | 9 | 6 | 1 | 7 | 2 | 3 |
| 4 | 1 | 7 | 3 | 9 | 8 | 2 | 5 | 6 |
| 6 | 8 | 2 | 4 | 1 | 5 | 3 | 9 | 7 |
| 5 | 3 | 9 | 6 | 2 | 7 | 4 | 8 | 1 |
| 2 | 7 | 1 | 5 | 4 | 6 | 8 | 3 | 9 |
| 9 | 6 | 8 | 1 | 3 | 2 | 5 | 7 | 4 |
| 3 | 5 | 4 | 8 | 7 | 9 | 1 | 6 | 2 |
Correct
SelfCondFM
| 1 | 7 | 3 | 4 | 6 | 2 | 5 | 9 | 8 |
|---|---|---|---|---|---|---|---|---|
| 6 | 9 | 2 | 5 | 7 | 8 | 4 | 1 | 3 |
| 5 | 4 | 8 | 3 | 1 | 9 | 6 | 7 | 2 |
| 7 | 8 | 1 | 9 | 2 | 4 | 3 | 5 | 6 |
| 9 | 2 | 4 | 6 | 3 | 5 | 1 | 8 | 7 |
| 3 | 5 | 6 | 7 | 8 | 1 | 2 | 4 | 9 |
| 4 | 1 | 7 | 2 | 9 | 3 | 8 | 6 | 5 |
| 8 | 3 | 9 | 1 | 5 | 6 | 7 | 2 | 4 |
| 2 | 6 | 5 | 8 | 4 | 7 | 9 | 3 | 1 |
Correct
Figure 15: Sudoku examples with 35 and 45 given digits. VANILLAFM produces incorrect solutions with explicit Sudoku constraint violations: row 3 in (a) contains two 2s, while row 5 in (b) contains two 1s. The red boxes highlight these errors. In contrast, SELFCONDFM correctly solves both puzzles.
(a) 2 x 2 puzzle
VanillaFM

Bottom two tiles are swapped
(b) 3 x 3 puzzle
VanillaFM
SelfCondFM

Correct arrangement

First two top-row tiles are swapped
SelfCondFM

Correct arrangement
Figure 16: Jigsaw examples on and tile grids. VANILLAFM fails in both examples: it swaps the two bottom tiles of (a), giving the order 3, 2 instead of 2, 3, and swaps the first two tiles in the top row of (b), giving 1, 7 instead of 7, 1. SELFCONDFM matches the reference permutation in both examples. Tile identifiers are part of the original images.
D.5 ADDITIONAL EMPIRICAL ANALYSES
D.5.1 EMPIRICAL LIPSCHITZ ESTIMATION
Theorem 1 assumes that the model has a bounded Lipschitz constant. To empirically support this assumption, we estimate the Lipschitz constant, in the joint norm on used in §2.2, of a VANILLAFM model for line tracing. The checkpoint is separately trained on approximately examples of mixed lengths, using about training FLOPs.
For a state visited at time , we use projected gradient ascent to maximize
We jointly perturb the noisy state and the condition latent with radii 0.003, 0.01, 0.03, 0.1, and 0.3, and cover every state of an inference trajectory with 50 steps. For each problem length , we estimate L on 30 held-out trajectories and report the maximum estimate over all tested states, radii, and trajectories.

Figure 17: Maximum joint empirical Lipschitz estimate among 30 held-out trajectories at each problem length.
As shown in Figure 17, the maximum Lipschitz estimate at each problem length rises for small m and levels off around 400 for , with an overall maximum of 580. The largest observed velocity norm is below 10. The estimates thus show no continued growth with m over the tested range.
Remark. These estimates are not certified upper bounds. Nevertheless, estimating Lipschitz constants via adversarial search is common practice (Yang et al., 2020; Achour et al., 2022), and the absence of continued growth in the estimated L with m still provides empirical support for the regime of bounded Lipschitz constants assumed in §3.1.
D.5.2 ATTENTION ALLOCATION
We measure how the first joint-attention layer of the SELFCONDFM checkpoint for line tracing allocates attention from queries at the token positions to the keys from three input sources at sampling step : the noisy state , the conditioning image , and the endpoint prediction . The experiment uses 50 test instances with and 50 NFE. At every step after the first, we normalize the attention mass over the three sources and average it over heads and instances.
As shown in Figure 18, the attention share of the endpoint prediction stays between 20.0% and 31.3% and declines nearly monotonically along the sampling trajectory. Thus the model relies on throughout sampling and uses it most heavily at early steps, where the noisy state is less informative.

Figure 18: Normalized attention mass of the first layer to each input source. Endpoint prediction maintains a nontrivial share throughout the trajectory, declining nearly monotonically from 31.3% to 20.0%, thus peaking at early steps, where noise dominates.
D.5.3 PARALLEL AND REVISABLE REASONING
By inspecting the sampling trajectories of the checkpoints for long multiplication, we observe two properties of visual generative reasoning with flow matching that SELFCONDFM preserves: parallel local computation and in-place error correction, which are usually not possible in autoregressive reasoning. The following paragraphs provide empirical evidence for each.
Parallel local computation. For each generated worksheet, we score every shifted partial product against the reference, repeating the evaluation over every integer NFE from 1 to 50. As shown in Figure 19, the accuracy of partial products for both methods stays above 98% at every NFE, even at NFE = 1. This shows that even a single model evaluation can produce multiple correct local results simultaneously within the same worksheet. By contrast, common autoregressive reasoning methods, such as CoT, generate reasoning steps sequentially and do not produce multiple local results in parallel.

Figure 19: Parallel local computation. Accuracy of partial products on long multiplication at every NFE from 1 to 50: both methods keep nearly all partial products correct within a single generated worksheet.
In-place error correction. For pairs of problems with different answers, we sample with 50 NFE, conditioning on for the first steps and swapping to for the rest. We repeat this for every from 1 to 50, and judge each output against the reference worksheet of .
As shown in Figure 20, SELFCONDFM keeps the accuracy of matching around 90% whenever the swap falls in the first half of the trajectory, and the accuracy falls to zero only once exceeds 35. VANILLAFM also corrects early swaps in place, but its accuracy is only 65% at and decays to zero by .
Both methods therefore revise a wrong generation in place in the middle of the trajectory, with SELFCONDFM performing particularly well in the first half of the trajectory. Autoregressive reasoning, in contrast, retains the reasoning steps once they are generated and cannot correct them in place.

Figure 20: In-place error correction on long multiplication. The condition changes from w to after step k, and the curves show the accuracy of matching as k varies: the output of SELFCONDFM is redirected in place to the new problem when the swap falls in the first half of the trajectory, whereas VANILLAFM follows the new problem only partially.