[Paper Review] Diffusion LLMs can think EoS-by-EoS
The paper investigates whether diffusion LLMs use trailing end-of-sequence tokens as a hidden scratchpad to improve reasoning, showing evidence through behavioral and causal intervention experiments across several tasks.
Diffusion LLMs have been proposed as an alternative to autoregressive LLMs, excelling especially at complex reasoning tasks with interdependent sub-goals. Curiously, this is particularly true if the generation length, i.e., the number of tokens the model has to output, is set to a much higher value than is required for providing the correct answer to the task, and the model pads its answer with end-of-sequence (EoS) tokens. We hypothesize that diffusion models think EoS-by-EoS, that is, they use the representations of EoS tokens as a hidden scratchpad, which allows them to solve harder reasoning problems. We experiment with the diffusion models LLaDA1.5, LLaDA2.0-mini, and Dream-v0 on the tasks Addition, Entity Tracking, and Sudoku. In a controlled prompting experiment, we confirm that adding EoS tokens improves the LLMs' reasoning capabilities. To further verify whether they serve as space for hidden computations, we patch the hidden states of the EoS tokens with those of a counterfactual generation, which frequently changes the generated output to the counterfactual. The success of the causal intervention underscores that the EoS tokens, which one may expect to be devoid of meaning, carry information on the problem to solve. The behavioral experiments and the causal interventions indicate that diffusion LLMs can indeed think EoS-by-EoS.
Motivation & Objective
- Explore how generation length affects diffusion LLMs on reasoning tasks.
- Disentangle the roles of decoding steps and trailing EoS tokens in diffusion LLMs.
- Provide causal evidence that EoS token representations contribute to reasoning.
- Compare EoS-by-EoS reasoning with overt chain-of-thought prompting across diffusion models.
Proposed method
- Study three instruction-tuned diffusion LLMs (LLaDA1.5, LLaDA2.0-mini, Dream-v0) and autoregressive baselines (Llama3.1, Qwen3).
- Use controlled prompts to vary generation length and trailing EoS tokens to observe reasoning performance.
- Patch hidden states of EoS tokens to assess causal impact on outputs (counterfactual prompts).
- Evaluate on additions, entity tracking, and Sudoku datasets to test reasoning under varying difficulty.
- Compare diffusion models’ EoS-by-EoS reasoning with chain-of-thought prompting under different token budgets.
Experimental results
Research questions
- RQ1Does increasing generation length improve diffusion LLMs’ reasoning performance across tasks?
- RQ2Do trailing EoS tokens contribute to reasoning independent of decoding steps?
- RQ3Are EoS token representations causally involved in producing the model’s answer?
- RQ4How does EoS-by-EoS reasoning compare with traditional chain-of-thought prompting in diffusion versus autoregressive models?
Key findings
- Generation length boosts diffusion LLM performance on several tasks and can surpass autoregressive models at sufficient length.
- Adding trailing EoS tokens improves accuracy for a fixed number of decoding steps, suggesting EoS tokens serve as a hidden scratchpad.
- Interventions that swap EoS token representations change outputs, indicating EoS tokens carry information used in solving tasks.
- CoT prompting yields gains for autoregressive models and can rival or exceed diffusion models under large token budgets, especially on easier tasks.
- LLaDA2.0 shows limited gains from trailing EoS tokens due to its block-causal attention design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.