ELF-REG: Scaling Continuous Diffusion Language Models to Reasoning Tasks

<sup>1</sup> Duke University   <sup>2</sup> Tsinghua University

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.

MATH-500

Prompt

Question: If $3x + 2(1 + x) = 17$, what is the value of $6x + 5$?
Step-by-Step Answer:

Generated response

 First, solve the equation for $x$:
\[ 3x + 2 + 2x = 17 \Rightarrow 5x + 2 = 17 \Rightarrow 5x = 15 \Rightarrow x = 3 \]
Now substitute the value of into the equation:
\[ 6x + 5 = 6(3) + 5 = 18 + 5 = \boxed{23} \]
Final answer: $\boxed{23}$