{"article":{"slug":"elf-reg-scaling-continuous-diffusion-language-models-to-reasoning-tasks","title":"ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks","subtitle":null,"summary":"Research write-up extending ELF continuous diffusion language models to math and code reasoning via representation alignment and entanglement (REPA+REG), plus early-stop generation for strong few-step performance without dedicated few-step training.","content_type":"research","language":"en","canonical_url":"https://lizeyu090312.github.io/blog/elf-reg/","author":{"name":"Zeyu Michael Li","url":"https://lizeyu090312.github.io/","person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"Zeyu Michael Li","url":"https://lizeyu090312.github.io/","listing_slug":null,"listing":null},"topics":[{"name":"AI","slug":"ai","url":"https://listedarticles.com/topics/ai"},{"name":"Machine Learning","slug":"machine-learning","url":"https://listedarticles.com/topics/machine-learning"},{"name":"Research","slug":"research","url":"https://listedarticles.com/topics/research"},{"name":"LLMs","slug":"llms","url":"https://listedarticles.com/topics/llms"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":1875,"reading_minutes":8,"published_at":"2026-10-07T00:00:00.000Z","added_at":"2026-10-12T11:20:14.323Z","updated_at":"2026-10-12T11:20:14.323Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/elf-reg-scaling-continuous-diffusion-language-models-to-reasoning-tasks","markdown_url":"https://listedarticles.com/articles/elf-reg-scaling-continuous-diffusion-language-models-to-reasoning-tasks.md","example":false,"citation":"Zeyu Michael Li, Zeyu Michael Li. \"ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks.\" 7 Oct 2026. https://lizeyu090312.github.io/blog/elf-reg/ (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://lizeyu090312.github.io/blog/elf-reg/"},"body_markdown":"# ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks\n\n<sup>1</sup> Duke University   <sup>2</sup> Tsinghua University\n\n**TL;DR.** We extend ELF, a fully continuous diffusion language model, to mathematical reasoning and code generation using representation alignment and entanglement (REPA+REG). We also analyse early-stop generation, which achieves strong few-step performance without dedicated few-step training.\n\n### MATH-500\n\n#### Prompt\n\n```\nQuestion: If $3x + 2(1 + x) = 17$, what is the value of $6x + 5$?\nStep-by-Step Answer:\n```\n#### Generated response\n\n```\n First, solve the equation for $x$:\n\\[ 3x + 2 + 2x = 17 \\Rightarrow 5x + 2 = 17 \\Rightarrow 5x = 15 \\Rightarrow x = 3 \\]\nNow substitute the value of into the equation:\n\\[ 6x + 5 = 6(3) + 5 = 18 + 5 = \\boxed{23} \\]\nFinal answer: $\\boxed{23}$\n```\n### HumanEval\n\n#### Prompt\n\n```\nWrite a complete Python solution. Return only code.\ndef get_positive(l: list):\n    \"\"\"Return only positive numbers in the list.\n    >>> get_positive([-1, 2, -4, 5, 6])\n    [2, 5, 6]\n    >>> get_positive([5, 3, -5, 2, -3, 3, 9, 0, 123, 1, -10])\n    [5, 3, 2, 3, 9, 123, 1]\n    \"\"\"\nPython solution:\n```\n#### Generated response\n\n```\ndef get_positive(l: list) -> list:\n    \"\"\"Return only positive numbers in the list l.\"\"\"\n    return [num for num in l if num > 0]\n```\n## Reasoning with continuous representations\n\nELF jointly denoises continuous representations for the entire response and decodes all response tokens in parallel at the end. [Block-autoregressive dLMs](https://arxiv.org/abs/2503.09573) generate successive blocks using diffusion, conditioning each block on previously generated blocks.\n\nOur work builds on [ELF: Embedded Language Flows](https://arxiv.org/abs/2605.10938). We extend ELF to math (GSM8K, MATH-500) and coding (HumanEval, MBPP) benchmarks using [representation alignment](https://arxiv.org/abs/2410.06940) and [entanglement](https://arxiv.org/abs/2507.01467) (REPA+REG). We supervise ELF with representations from a frozen autoregressive teacher, aligning intermediate features and jointly denoising a global teacher representation with the response. We call the resulting method **ELF-REG**.\n\nWe train separate ELF baseline and ELF-REG models for GSM8K and code generation, then fine-tune their GSM8K-trained models on MATH data. Each task-specific checkpoint is evaluated across budgets measured in network function evaluations (NFE), without dedicated few-step training.\n\nOn math benchmarks, ELF-REG-L reaches 55.96% pass@1 on GSM8K at 64 NFE and 13.39% on MATH-500 at 128 NFE (paper Table 2). On MBPP-378, ELF-REG-L trained on coding data reaches 46.39% pass@10 at 8 NFE, compared with 40.49% for PlaidQ-D16 at 17 NFE (paper Table 17). ELF-REG-B also achieves strong early-stop performance on GSM8K at a smaller task-training token budget than the comparison models in Figure 1.\n\n## Fully continuous generation, building on ELF\n\nOur architecture and implementation build on ELF and its [open-source PyTorch implementation](https://github.com/lillian039/ELF/tree/pytorch_elf). A frozen Qwen3-0.6B-Base encoder maps clean text to continuous representations. During training, we mix the response representations with Gaussian noise and hold the prompt fixed. A bidirectional transformer predicts the clean response representations from this corrupted input.\n\nAt inference, the response starts from noise. The denoiser uses its clean prediction to update the continuous state. ELF’s self-conditioning guidance also supplies the previous clean prediction to the next evaluation. Bidirectional attention lets all response positions exchange information throughout denoising; one final evaluation of the same transformer decodes the response tokens in parallel.\n\nAt every denoising evaluation, the model predicts clean response representations. This estimate of the clean response representations is refined throughout denoising. Early-stop decodes the latest estimate before the end of the denoising trajectory, saving the remaining denoising evaluations.\n\n## Learning with REPA and REG\n\nWe adapt [representation alignment (REPA)](https://arxiv.org/abs/2410.06940) and [entanglement (REG)](https://arxiv.org/abs/2507.01467) from image generation to ELF. A separate frozen Qwen3-1.7B-Base autoregressive teacher processes the clean prompt and response to provide training targets for representation alignment and entanglement.\n\n**REPA** supervises intermediate denoiser features at each token position. A learned projector maps these features to the teacher’s dimension, and a cosine-alignment loss increases their alignment with the teacher’s clean representations at the corresponding positions. The denoiser therefore learns to recover features of clean text while its input is noisy. Its attention remains bidirectional even though the teacher is autoregressive.\n\n**REG** adds a global representation to the denoising task. We standardize the teacher’s last content-token state, corrupt it with noise, and append it as an additional REG token. This token exchanges information with the response through self-attention. The model predicts its clean state alongside the clean text representations, with REPA supervision at the REG token position as well.\n\nThe teacher and REPA projector are used only during training. At inference, both the response and the REG token start from noise and are denoised jointly. The REG token remains available to the decoder, which emits only text.\n\n| Paper Table 5. ELF-B on GSM8K at epoch 6, NFE 64, with early-stop (ρ = 8). We report mean accuracy (pass@1) across 16 generation seeds. REPA+REG corresponds to ELF-REG-B; stripped and unstripped REPA+REG share trained weights. |  | \n|---|---|\n| Training / inference condition | pass@1 (%) | \n|---|---|\n| Baseline | 21.74 | \n| REPA-only | 24.56 | \n| REPA+REG | 28.92 | \n| Stripped REPA+REG | 28.66 | \n| REPA+OLT | 25.60 | \n\nTraining the model to denoise the REG token jointly with the text improves accuracy beyond REPA-only on GSM8K (paper Table 5). **Stripped REPA+REG** removes the REG token at inference while retaining the trained text-model weights. Most of this improvement remains when the REG token is removed at inference. **REPA+OLT**, which adds one learnable token to REPA, produces a smaller improvement than REPA+REG.\n\n## Results\n\nWe train separate models for GSM8K, MATH, and code generation. For MATH, we fine-tune the corresponding GSM8K-trained models on MATH data and evaluate them on MATH-500. The code models are evaluated on HumanEval and MBPP-378. At matched NFE, ELF-REG-L improves over ELF-L baseline on all four benchmarks (paper Tables 1–2).\n\n| Selected results from paper Tables 1–2. Zero-shot pass@1 (%), with early-stop (ρ = 8). We report mean accuracy (pass@1) across 16 generation seeds; values in parentheses are standard deviations. MBPP-378 uses base tests. |  |  |  | \n|---|---|---|---|\n| Benchmark | NFE | ELF-L baseline | ELF-REG-L | \n|---|---|---|---|\n| GSM8K | 64 | 51.85 (0.88) | 55.96 (0.94) | \n| MATH-500 | 128 | 10.55 (0.90) | 13.39 (1.03) | \n| HumanEval | 128 | 19.66 (1.52) | 22.56 (2.25) | \n| MBPP-378 | 128 | 26.75 (1.58) | 28.92 (1.38) | \n\nGSM8K pass@1 increases from 51.85% to 55.96% at 64 NFE, and MATH-500 from 10.55% to 13.39% at 128 NFE. The gains on HumanEval and MBPP-378 show that REPA+REG also improves code generation. These comparisons use the headline sampler, with a logit-normal time grid and Euler updates. Clean-prediction re-noising combined with a power time grid yields further gains with the same checkpoints.\n\n## Early-stop: useful answers before responses stabilize\n\nFor a budget of N NFE, early-stop constructs the longer time grid for 8N NFE, runs its first N−1 denoiser evaluations, and decodes the latest clean prediction. Full-span generation uses all N−1 denoiser evaluations to traverse the full denoising interval, then decodes the final updated state. In matched-NFE GSM8K experiments, early-stop improves ELF-REG-B over full-span generation at every evaluated budget (paper Table 6).\n\nNumerical answers often stabilize before complete responses. At NFE 64, numerical answers match those at the endpoint of the same NFE-512 trajectories in 87.11% of paired cases for ELF-REG-B on GSM8K (paper Table 11). Complete responses match in only 8.61% of cases (paper Figure 2d; Table 11). Continuing to NFE 512 changes correctness in both directions, with a net accuracy gain of 0.64 percentage points (paper Table 11), while the accuracy curve stays nearly flat after the early exit (paper Figure 2e). Many responses change after the early exit without changing the extracted answer.\n\nThe intermediate clean prediction estimates the endpoint using the current denoising velocity. If this velocity changes little over the remaining trajectory, the estimate can stay close to the endpoint. Decoding also allows some representation error: a token remains unchanged as long as its logit stays above its competitors. A larger winning margin tolerates a larger change in the representation, provided the decoder’s logits do not change too sharply. The paper relates these conditions through endpoint error and decoder margins, building on [decoder-interface analysis](https://arxiv.org/abs/2606.08810).\n\nThis intuition concerns agreement with the endpoint, not correctness. Task accuracy can remain similar even when complete responses differ, as the numerical-answer comparison in paper Table 11 shows. Early-stop avoids the remaining evaluations while retaining strong aggregate accuracy in these experiments.\n\n[Prior work](https://arxiv.org/abs/2305.10818) has also explored [early stopping in continuous language diffusion](https://aclanthology.org/2024.naacl-long.261/). We examine it here empirically for ELF diffusion language models on reasoning benchmarks, comparing intermediate clean predictions, decoded responses, and answer accuracy along the same trajectories. Additionally, we draw a theoretical connection between early-stop and flow maps (paper Section 4).\n\n## Sampler choice: clean-prediction re-noising\n\nThe headline sampler uses a logit-normal time grid with Euler updates. We compare it with **clean-prediction re-noising combined with a power time grid**, changing both the time schedule and the update that constructs the next noisy state without retraining the model.\n\nA power time schedule with exponent 0.5 places more evaluations near the exit than uniform spacing, retaining the headline sampler’s final prediction time. At each nonterminal evaluation, we combine the clean prediction with fresh Gaussian noise, weighted for the next timestep and using a noise multiplier of 1.2. The REG token receives the same update with independent noise; the prompt remains fixed, and the previous clean prediction still supplies self-conditioning. The final evaluation decodes the clean prediction directly.\n\nEach update constructs a new noisy input from the current clean estimate, which the denoiser then refines. The comparison uses the same ELF-REG-L checkpoint for both samplers within each benchmark and holds NFE fixed (paper Table 4).\n\n| Selected results from paper Table 4. ELF-REG-L, zero-shot pass@1 (%), at matched NFE and the same checkpoints. We report mean accuracy (pass@1) across four generation seeds; values in parentheses are standard deviations. The headline sampler uses a logit-normal time grid with Euler updates; the alternative combines clean-prediction re-noising with a power time grid. MBPP-378 uses base tests. |  |  |  | \n|---|---|---|---|\n| Benchmark | NFE | Headline sampler | Clean-prediction re-noising | \n|---|---|---|---|\n| GSM8K | 64 | 55.91 (0.61) | 60.37 (0.48) | \n| MATH-500 | 128 | 13.15 (0.91) | 20.15 (1.29) | \n| HumanEval | 128 | 23.93 (1.68) | 33.08 (3.16) | \n| MBPP-378 | 128 | 27.84 (1.37) | 38.76 (1.09) | \n\nClean-prediction re-noising combined with a power time grid improves pass@1 on all four math and coding benchmarks at NFE 16 and above, but performs worse at NFE 4. Its benefit therefore depends on the generation budget. We explain the clean-prediction re-noising sampler and include sampling ablations in Appendix D.1.1 of the paper.\n\n## Toward stronger continuous language models\n\nREPA+REG improves task-specific ELF models, and early-stop obtains strong few-step performance from those same checkpoints. Harder mathematical reasoning remains challenging: even with the improvements on MATH-500, absolute accuracy leaves substantial room for progress. Extending these results to a generalist continuous model is another open direction.\n\nThe [paper](https://arxiv.org/abs/2609.29102) contains the full experiments and analysis. The [code repository](https://github.com/lizeyu090312/scaling_dLM) provides task datasets, checkpoints, and evaluation procedures.\n\n## BibTeX\n\n```\n@misc{li2026elfreg,\n  title={ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks}, \n  author={Zeyu Michael Li and William Xingxu Chen and Bingshuo Qian and Jiayin Liu and Xiang Cheng},\n  year={2026},\n  eprint={2609.29102},\n  archivePrefix={arXiv},\n  primaryClass={cs.CL},\n  url={https://arxiv.org/abs/2609.29102}, \n}\n```\n## Acknowledgements\n\nWe thank the authors of [ELF: Embedded Language Flows](https://github.com/lillian039/ELF) for open-sourcing the architecture and PyTorch training and evaluation implementation on which this work builds. We also credit the authors of [REPA](https://arxiv.org/abs/2410.06940) and [REG](https://arxiv.org/abs/2507.01467) for the representation-supervision methods we adapt here.\n\nWe acknowledge the Duke Compute Cluster (DCC), maintained by Duke Research Computing, for providing computational resources used in this work. We also acknowledge the computational resources provided by NCShare, which is supported by National Science Foundation (NSF) grants OAC-2201525, OAC-2201105, and OAC-2430141.","body_html":"<h1 id=\"elf-reg-scaling-continuous-diffusion-language-models-to-reasonin\">ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks</h1>\n<p>&lt;sup&gt;1&lt;/sup&gt; Duke University   &lt;sup&gt;2&lt;/sup&gt; Tsinghua University</p>\n<p><strong>TL;DR.</strong> We extend ELF, a fully continuous diffusion language model, to mathematical reasoning and code generation using representation alignment and entanglement (REPA+REG). We also analyse early-stop generation, which achieves strong few-step performance without dedicated few-step training.</p>\n<h3 id=\"math-500\">MATH-500</h3>\n<h4 id=\"prompt\">Prompt</h4>\n<pre><code>Question: If $3x + 2(1 + x) = 17$, what is the value of $6x + 5$?\nStep-by-Step Answer:</code></pre>\n<h4 id=\"generated-response\">Generated response</h4>\n<pre><code> First, solve the equation for $x$:\n\\[ 3x + 2 + 2x = 17 \\Rightarrow 5x + 2 = 17 \\Rightarrow 5x = 15 \\Rightarrow x = 3 \\]\nNow substitute the value of into the equation:\n\\[ 6x + 5 = 6(3) + 5 = 18 + 5 = \\boxed{23} \\]\nFinal answer: $\\boxed{23}$</code></pre>\n<h3 id=\"humaneval\">HumanEval</h3>\n<h4 id=\"prompt-2\">Prompt</h4>\n<pre><code>Write a complete Python solution. Return only code.\ndef get_positive(l: list):\n    &quot;&quot;&quot;Return only positive numbers in the list.\n    &gt;&gt;&gt; get_positive([-1, 2, -4, 5, 6])\n    [2, 5, 6]\n    &gt;&gt;&gt; get_positive([5, 3, -5, 2, -3, 3, 9, 0, 123, 1, -10])\n    [5, 3, 2, 3, 9, 123, 1]\n    &quot;&quot;&quot;\nPython solution:</code></pre>\n<h4 id=\"generated-response-2\">Generated response</h4>\n<pre><code>def get_positive(l: list) -&gt; list:\n    &quot;&quot;&quot;Return only positive numbers in the list l.&quot;&quot;&quot;\n    return [num for num in l if num &gt; 0]</code></pre>\n<h2 id=\"reasoning-with-continuous-representations\">Reasoning with continuous representations</h2>\n<p>ELF jointly denoises continuous representations for the entire response and decodes all response tokens in parallel at the end. <a href=\"https://arxiv.org/abs/2503.09573\" rel=\"nofollow ugc noopener\">Block-autoregressive dLMs</a> generate successive blocks using diffusion, conditioning each block on previously generated blocks.</p>\n<p>Our work builds on <a href=\"https://arxiv.org/abs/2605.10938\" rel=\"nofollow ugc noopener\">ELF: Embedded Language Flows</a>. We extend ELF to math (GSM8K, MATH-500) and coding (HumanEval, MBPP) benchmarks using <a href=\"https://arxiv.org/abs/2410.06940\" rel=\"nofollow ugc noopener\">representation alignment</a> and <a href=\"https://arxiv.org/abs/2507.01467\" rel=\"nofollow ugc noopener\">entanglement</a> (REPA+REG). We supervise ELF with representations from a frozen autoregressive teacher, aligning intermediate features and jointly denoising a global teacher representation with the response. We call the resulting method <strong>ELF-REG</strong>.</p>\n<p>We train separate ELF baseline and ELF-REG models for GSM8K and code generation, then fine-tune their GSM8K-trained models on MATH data. Each task-specific checkpoint is evaluated across budgets measured in network function evaluations (NFE), without dedicated few-step training.</p>\n<p>On math benchmarks, ELF-REG-L reaches 55.96% pass@1 on GSM8K at 64 NFE and 13.39% on MATH-500 at 128 NFE (paper Table 2). On MBPP-378, ELF-REG-L trained on coding data reaches 46.39% pass@10 at 8 NFE, compared with 40.49% for PlaidQ-D16 at 17 NFE (paper Table 17). ELF-REG-B also achieves strong early-stop performance on GSM8K at a smaller task-training token budget than the comparison models in Figure 1.</p>\n<h2 id=\"fully-continuous-generation-building-on-elf\">Fully continuous generation, building on ELF</h2>\n<p>Our architecture and implementation build on ELF and its <a href=\"https://github.com/lillian039/ELF/tree/pytorch_elf\" rel=\"nofollow ugc noopener\">open-source PyTorch implementation</a>. A frozen Qwen3-0.6B-Base encoder maps clean text to continuous representations. During training, we mix the response representations with Gaussian noise and hold the prompt fixed. A bidirectional transformer predicts the clean response representations from this corrupted input.</p>\n<p>At inference, the response starts from noise. The denoiser uses its clean prediction to update the continuous state. ELF’s self-conditioning guidance also supplies the previous clean prediction to the next evaluation. Bidirectional attention lets all response positions exchange information throughout denoising; one final evaluation of the same transformer decodes the response tokens in parallel.</p>\n<p>At every denoising evaluation, the model predicts clean response representations. This estimate of the clean response representations is refined throughout denoising. Early-stop decodes the latest estimate before the end of the denoising trajectory, saving the remaining denoising evaluations.</p>\n<h2 id=\"learning-with-repa-and-reg\">Learning with REPA and REG</h2>\n<p>We adapt <a href=\"https://arxiv.org/abs/2410.06940\" rel=\"nofollow ugc noopener\">representation alignment (REPA)</a> and <a href=\"https://arxiv.org/abs/2507.01467\" rel=\"nofollow ugc noopener\">entanglement (REG)</a> from image generation to ELF. A separate frozen Qwen3-1.7B-Base autoregressive teacher processes the clean prompt and response to provide training targets for representation alignment and entanglement.</p>\n<p><strong>REPA</strong> supervises intermediate denoiser features at each token position. A learned projector maps these features to the teacher’s dimension, and a cosine-alignment loss increases their alignment with the teacher’s clean representations at the corresponding positions. The denoiser therefore learns to recover features of clean text while its input is noisy. Its attention remains bidirectional even though the teacher is autoregressive.</p>\n<p><strong>REG</strong> adds a global representation to the denoising task. We standardize the teacher’s last content-token state, corrupt it with noise, and append it as an additional REG token. This token exchanges information with the response through self-attention. The model predicts its clean state alongside the clean text representations, with REPA supervision at the REG token position as well.</p>\n<p>The teacher and REPA projector are used only during training. At inference, both the response and the REG token start from noise and are denoised jointly. The REG token remains available to the decoder, which emits only text.</p>\n<div class=\"table-wrap\"><table><thead><tr><th>Paper Table 5. ELF-B on GSM8K at epoch 6, NFE 64, with early-stop (ρ = 8). We report mean accuracy (pass@1) across 16 generation seeds. REPA+REG corresponds to ELF-REG-B; stripped and unstripped REPA+REG share trained weights.</th><th></th></tr></thead><tbody><tr><td>Training / inference condition</td><td>pass@1 (%)</td></tr><tr><td>---</td><td>---</td></tr><tr><td>Baseline</td><td>21.74</td></tr><tr><td>REPA-only</td><td>24.56</td></tr><tr><td>REPA+REG</td><td>28.92</td></tr><tr><td>Stripped REPA+REG</td><td>28.66</td></tr><tr><td>REPA+OLT</td><td>25.60</td></tr></tbody></table></div>\n<p>Training the model to denoise the REG token jointly with the text improves accuracy beyond REPA-only on GSM8K (paper Table 5). <strong>Stripped REPA+REG</strong> removes the REG token at inference while retaining the trained text-model weights. Most of this improvement remains when the REG token is removed at inference. <strong>REPA+OLT</strong>, which adds one learnable token to REPA, produces a smaller improvement than REPA+REG.</p>\n<h2 id=\"results\">Results</h2>\n<p>We train separate models for GSM8K, MATH, and code generation. For MATH, we fine-tune the corresponding GSM8K-trained models on MATH data and evaluate them on MATH-500. The code models are evaluated on HumanEval and MBPP-378. At matched NFE, ELF-REG-L improves over ELF-L baseline on all four benchmarks (paper Tables 1–2).</p>\n<div class=\"table-wrap\"><table><thead><tr><th>Selected results from paper Tables 1–2. Zero-shot pass@1 (%), with early-stop (ρ = 8). We report mean accuracy (pass@1) across 16 generation seeds; values in parentheses are standard deviations. MBPP-378 uses base tests.</th><th></th><th></th><th></th></tr></thead><tbody><tr><td>Benchmark</td><td>NFE</td><td>ELF-L baseline</td><td>ELF-REG-L</td></tr><tr><td>---</td><td>---</td><td>---</td><td>---</td></tr><tr><td>GSM8K</td><td>64</td><td>51.85 (0.88)</td><td>55.96 (0.94)</td></tr><tr><td>MATH-500</td><td>128</td><td>10.55 (0.90)</td><td>13.39 (1.03)</td></tr><tr><td>HumanEval</td><td>128</td><td>19.66 (1.52)</td><td>22.56 (2.25)</td></tr><tr><td>MBPP-378</td><td>128</td><td>26.75 (1.58)</td><td>28.92 (1.38)</td></tr></tbody></table></div>\n<p>GSM8K pass@1 increases from 51.85% to 55.96% at 64 NFE, and MATH-500 from 10.55% to 13.39% at 128 NFE. The gains on HumanEval and MBPP-378 show that REPA+REG also improves code generation. These comparisons use the headline sampler, with a logit-normal time grid and Euler updates. Clean-prediction re-noising combined with a power time grid yields further gains with the same checkpoints.</p>\n<h2 id=\"early-stop-useful-answers-before-responses-stabilize\">Early-stop: useful answers before responses stabilize</h2>\n<p>For a budget of N NFE, early-stop constructs the longer time grid for 8N NFE, runs its first N−1 denoiser evaluations, and decodes the latest clean prediction. Full-span generation uses all N−1 denoiser evaluations to traverse the full denoising interval, then decodes the final updated state. In matched-NFE GSM8K experiments, early-stop improves ELF-REG-B over full-span generation at every evaluated budget (paper Table 6).</p>\n<p>Numerical answers often stabilize before complete responses. At NFE 64, numerical answers match those at the endpoint of the same NFE-512 trajectories in 87.11% of paired cases for ELF-REG-B on GSM8K (paper Table 11). Complete responses match in only 8.61% of cases (paper Figure 2d; Table 11). Continuing to NFE 512 changes correctness in both directions, with a net accuracy gain of 0.64 percentage points (paper Table 11), while the accuracy curve stays nearly flat after the early exit (paper Figure 2e). Many responses change after the early exit without changing the extracted answer.</p>\n<p>The intermediate clean prediction estimates the endpoint using the current denoising velocity. If this velocity changes little over the remaining trajectory, the estimate can stay close to the endpoint. Decoding also allows some representation error: a token remains unchanged as long as its logit stays above its competitors. A larger winning margin tolerates a larger change in the representation, provided the decoder’s logits do not change too sharply. The paper relates these conditions through endpoint error and decoder margins, building on <a href=\"https://arxiv.org/abs/2606.08810\" rel=\"nofollow ugc noopener\">decoder-interface analysis</a>.</p>\n<p>This intuition concerns agreement with the endpoint, not correctness. Task accuracy can remain similar even when complete responses differ, as the numerical-answer comparison in paper Table 11 shows. Early-stop avoids the remaining evaluations while retaining strong aggregate accuracy in these experiments.</p>\n<p><a href=\"https://arxiv.org/abs/2305.10818\" rel=\"nofollow ugc noopener\">Prior work</a> has also explored <a href=\"https://aclanthology.org/2024.naacl-long.261/\" rel=\"nofollow ugc noopener\">early stopping in continuous language diffusion</a>. We examine it here empirically for ELF diffusion language models on reasoning benchmarks, comparing intermediate clean predictions, decoded responses, and answer accuracy along the same trajectories. Additionally, we draw a theoretical connection between early-stop and flow maps (paper Section 4).</p>\n<h2 id=\"sampler-choice-clean-prediction-re-noising\">Sampler choice: clean-prediction re-noising</h2>\n<p>The headline sampler uses a logit-normal time grid with Euler updates. We compare it with <strong>clean-prediction re-noising combined with a power time grid</strong>, changing both the time schedule and the update that constructs the next noisy state without retraining the model.</p>\n<p>A power time schedule with exponent 0.5 places more evaluations near the exit than uniform spacing, retaining the headline sampler’s final prediction time. At each nonterminal evaluation, we combine the clean prediction with fresh Gaussian noise, weighted for the next timestep and using a noise multiplier of 1.2. The REG token receives the same update with independent noise; the prompt remains fixed, and the previous clean prediction still supplies self-conditioning. The final evaluation decodes the clean prediction directly.</p>\n<p>Each update constructs a new noisy input from the current clean estimate, which the denoiser then refines. The comparison uses the same ELF-REG-L checkpoint for both samplers within each benchmark and holds NFE fixed (paper Table 4).</p>\n<div class=\"table-wrap\"><table><thead><tr><th>Selected results from paper Table 4. ELF-REG-L, zero-shot pass@1 (%), at matched NFE and the same checkpoints. We report mean accuracy (pass@1) across four generation seeds; values in parentheses are standard deviations. The headline sampler uses a logit-normal time grid with Euler updates; the alternative combines clean-prediction re-noising with a power time grid. MBPP-378 uses base tests.</th><th></th><th></th><th></th></tr></thead><tbody><tr><td>Benchmark</td><td>NFE</td><td>Headline sampler</td><td>Clean-prediction re-noising</td></tr><tr><td>---</td><td>---</td><td>---</td><td>---</td></tr><tr><td>GSM8K</td><td>64</td><td>55.91 (0.61)</td><td>60.37 (0.48)</td></tr><tr><td>MATH-500</td><td>128</td><td>13.15 (0.91)</td><td>20.15 (1.29)</td></tr><tr><td>HumanEval</td><td>128</td><td>23.93 (1.68)</td><td>33.08 (3.16)</td></tr><tr><td>MBPP-378</td><td>128</td><td>27.84 (1.37)</td><td>38.76 (1.09)</td></tr></tbody></table></div>\n<p>Clean-prediction re-noising combined with a power time grid improves pass@1 on all four math and coding benchmarks at NFE 16 and above, but performs worse at NFE 4. Its benefit therefore depends on the generation budget. We explain the clean-prediction re-noising sampler and include sampling ablations in Appendix D.1.1 of the paper.</p>\n<h2 id=\"toward-stronger-continuous-language-models\">Toward stronger continuous language models</h2>\n<p>REPA+REG improves task-specific ELF models, and early-stop obtains strong few-step performance from those same checkpoints. Harder mathematical reasoning remains challenging: even with the improvements on MATH-500, absolute accuracy leaves substantial room for progress. Extending these results to a generalist continuous model is another open direction.</p>\n<p>The <a href=\"https://arxiv.org/abs/2609.29102\" rel=\"nofollow ugc noopener\">paper</a> contains the full experiments and analysis. The <a href=\"https://github.com/lizeyu090312/scaling_dLM\" rel=\"nofollow ugc noopener\">code repository</a> provides task datasets, checkpoints, and evaluation procedures.</p>\n<h2 id=\"bibtex\">BibTeX</h2>\n<pre><code>@misc{li2026elfreg,\n  title={ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks}, \n  author={Zeyu Michael Li and William Xingxu Chen and Bingshuo Qian and Jiayin Liu and Xiang Cheng},\n  year={2026},\n  eprint={2609.29102},\n  archivePrefix={arXiv},\n  primaryClass={cs.CL},\n  url={https://arxiv.org/abs/2609.29102}, \n}</code></pre>\n<h2 id=\"acknowledgements\">Acknowledgements</h2>\n<p>We thank the authors of <a href=\"https://github.com/lillian039/ELF\" rel=\"nofollow ugc noopener\">ELF: Embedded Language Flows</a> for open-sourcing the architecture and PyTorch training and evaluation implementation on which this work builds. We also credit the authors of <a href=\"https://arxiv.org/abs/2410.06940\" rel=\"nofollow ugc noopener\">REPA</a> and <a href=\"https://arxiv.org/abs/2507.01467\" rel=\"nofollow ugc noopener\">REG</a> for the representation-supervision methods we adapt here.</p>\n<p>We acknowledge the Duke Compute Cluster (DCC), maintained by Duke Research Computing, for providing computational resources used in this work. We also acknowledge the computational resources provided by NCShare, which is supported by National Science Foundation (NSF) grants OAC-2201525, OAC-2201105, and OAC-2430141.</p>","headings":[{"level":1,"text":"ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks","id":"elf-reg-scaling-continuous-diffusion-language-models-to-reasonin"},{"level":3,"text":"MATH-500","id":"math-500"},{"level":3,"text":"HumanEval","id":"humaneval"},{"level":2,"text":"Reasoning with continuous representations","id":"reasoning-with-continuous-representations"},{"level":2,"text":"Fully continuous generation, building on ELF","id":"fully-continuous-generation-building-on-elf"},{"level":2,"text":"Learning with REPA and REG","id":"learning-with-repa-and-reg"},{"level":2,"text":"Results","id":"results"},{"level":2,"text":"Early-stop: useful answers before responses stabilize","id":"early-stop-useful-answers-before-responses-stabilize"},{"level":2,"text":"Sampler choice: clean-prediction re-noising","id":"sampler-choice-clean-prediction-re-noising"},{"level":2,"text":"Toward stronger continuous language models","id":"toward-stronger-continuous-language-models"},{"level":2,"text":"BibTeX","id":"bibtex"},{"level":2,"text":"Acknowledgements","id":"acknowledgements"}]}}