Manuscript Offprint

arXiv:2610.30068

Loopholing All the Way: Language Modeling with pure Self-Conditioning

Adrien Deschenaux, Nadezhda Ilieva, Justin Deschenaux, Manuel Madeira, Dorina Thanou, Aurélien Lucchi, Antonio Orvieto, Caglar Gulcehre, Pascal Frossard

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Recent Diffusion Language Models (DLMs) use Self-Conditioning (SC), or Loopholing, to improve their performance. While SC is traditionally seen as an auxiliary heuristic, its empirical success raises the question: can a continuous generative model be based purely on Self-Conditioning? We answer affirmatively with LAW (“Loopholing All the Way”), which propagates the Expected Embedding under the denoiser’s prediction across steps, decoding the tokens once, at the end. On Sudoku, LAW outperforms previous Discrete and Continuous Diffusion Models, including Loopholing Discrete Diffusion. On Maze, LAW is the most accurate from 2 to 64 NFE. After training on TinyGSM and sampling at temperature 1 with 1024 NFE, LAW solves 42.2% of GSM8K problems against 34.5% for uniform Loopholing Discrete Diffusion. Additionally, fine-tuning a pre-trained Uniform Diffusion Model (Duo) with LAW increases its accuracy from 17.2% to 48.1%. Finally, on OpenWebText, LAW pushes the Pareto frontier and approaches Autoregressive Models (ARMs) with 64 NFE. Find our code at https://github.com/ilievanadezhda/law.

Figure

MDLM

Duo

FLM

S-FLM (S-arch.)

LDDM-U

LDDM-M

LAW, from scratch (p = 0.9, ρ=3\rho = 3)

LAW, fine-tuned 50k steps (p = 0.9, ρ=3\rho = 3)

Figure 1: GSM8K accuracy against the Number of Function Evaluations (NFE) at T = 0.1 (left) and T = 1 (right). LAW (Sec. 4.3) trained from scratch with the training FLOPs of the baselines (solid), and fine-tuned from the Duo baseline for 50k steps (dashed). The dashed gray lines are an Autoregressive Model (ARM), sampled at T = 1 and with greedy decoding. Trained from scratch, LAW is the most accurate model from 32 NFE at T = 1, and from 4 to 512 NFE at T = 0.1. Fine-tuned from Duo, it comes closer to the ARM.

∗^{*}Equal contribution.

1 INTRODUCTION

Although Autoregressive Models (ARMs) dominate language modeling (Vaswani et al., 2017; Kaplan et al., 2020; Gemini Team et al., 2023; Grattafori et al., 2024), their generation process is sequential and their left-to-right factorization can be limiting for tasks that need bidirectional context (Kitouni et al., 2024; Papadopoulos et al., 2024; Nagarajan et al., 2025). Discrete Diffusion Models (DDMs) (Austin et al., 2021; Campbell et al., 2022; Lou et al., 2024; Sahoo et al., 2024; Shi et al., 2024; Ou et al., 2025; Sahoo et al., 2025; Schiff et al., 2025; von Rütte et al., 2025), the most common Diffusion Language Models (DLMs), instead use a bidirectional architecture and can refine tokens in parallel. For tractability, DDMs sample each position independently and discard the denoiser's prediction after each step. This causes two problems. First, factorized, parallel sampling hurts the sample quality in few-step generation (Deschenaux & Gulcehre, 2024; Feng et al., 2025). Second, discarding previous predictions means that the associated uncertainty is lost (information collapse; Jo et al., 2026).

Continuous DLMs (Dieleman et al., 2022; Li et al., 2022; Gulrajani & Hashimoto, 2023; Jo & Hwang, 2025; Batzolis et al., 2026; Chemseddine et al., 2026; Chen et al., 2026; Deschenaux & Gulcehre, 2026; Hu et al., 2026; Lee et al., 2026a; Potaptdchik et al., 2026; Roos et al., 2026; Shen et al., 2026; Yang et al., 2026; Yoo et al., 2026) instead avoid the factorized sampling by integrating an ODE or SDE from noise to data (Albergo & Vanden-Eijnden, 2023; Lipman et al., 2023; Liu et al., 2023b). However, on reasoning, they at most match DDMs. For example, FLM (Lee et al., 2026a) and §-FLM (Deschenaux & Gulcehre, 2026) remain close to MDLM and Duo on Sudoku and Maze, and §-FLM matches MDLM on GSM8K only with greedy generation.

In contrast, Self-Conditioning (SC; Strudel et al., 2022; Chen et al., 2023) feeds the previous predictions or hidden representations of the denoiser back as input, and improves both discrete and continuous DLMs. For example, Loopholing Discrete Diffusion Models (LDDMs; Jo et al., 2026) and DiffusionGemma (Google DeepMind, 2026) propagate such a state across denoising steps. On hard Sudoku puzzles, LDDM-U solves 91.0%, against 58.4% for Duo and at most 45.0% for FLMs (Sec. 4.1). So far, despite its empirical success, SC always plays an auxiliary role. We therefore ask:

“Can we find a generative model based purely on Self-Conditioning?”

We answer this question positively with “Loopholing All the Way” (LAW, Figure 2):

• We propose LAW, a continuous generative model based purely on Self-Conditioning. As in Uniform Diffusion Models (UDMs), sampling starts from a sequence of uniformly random tokens. Afterwards, LAW refines the Expected Embedding of the clean token, under the denoiser's prediction. Thus, we decode back to tokens only once, at the last sampling step.

• We identify the two choices that make pure SC work: the Expected Embedding as SC state (35.8% on GSM8K, against below 1.5% with the final-layer hidden representation of Jo et al., 2026), and temperature regularization (12), which randomly scales the denoiser's logits during training, doubles the GSM8K accuracy at T = 0.1 (24.8% to 48.8%).

• LAW surpasses LDDM-U on hard Sudoku (96.5% vs. 91.0%, Sec. 4.1) and is the most accurate model on Maze with up to 64 NFE (Sec. 4.2). On GSM8K, it outperforms the diffusion and flow baselines trained with the same FLOPs, and fine-tuning a pre-trained Duo checkpoint with LAW increases the accuracy from 17.2% to 48.1% (Sec. 4.3). On OpenWebText, at the same entropy, its Generative Perplexity (Gen. PPL) comes close to that of ARMs with 64 NFE. With 1024 NFE, LAW's samples have lower Gen. PPL than those of the AR baseline, though the entropy reaches at most 5.1–5.2 over the swept temperatures (Sec. 4.4).

References (100)

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