Self-Generated Error Training for Token Editing in Diffusion Language Models

21d ago · Global · primary source: export.arxiv.org

Researchers have proposed a new training method for token-editing mechanisms in diffusion language models, designed to improve accuracy while reducing the intensity of edits needed during text generation, according to a preprint posted on arXiv [1]. The method addresses a specific mismatch in how the LLaDA2.1 model's token-to-token (T2T) editor is trained versus how it operates during actual use. The standard recipe trains the editor on random vocabulary corruptions, but at inference time the model encounters its own fluent, high-confidence draft errors, a discrepancy that can lead to failures [1, 2]. The new approach, called self-generated T2T, performs a no-gradient draft pass, fills masked positions with predicted tokens, and then supervises recovery in a second pass under these self-generated corruptions [1, 2]. Diffusion models, which underpin this work, are a class of generative models that learn to reverse a process of adding noise to data. While they have seen widespread commercial use in image generation through systems like Stable Diffusion and DALL-E, their application to natural language processing tasks such as text generation is a more recent development [3]. The LLaDA2.1 model uses a block-diffusion decoding process, where the T2T editor can revise tokens that have already been committed, a capability the researchers sought to refine [1, 2]. The update was implemented as a short LoRA continued-pretraining pass on the LLaDA2.1-mini variant and evaluated on several benchmarks under the official Q-Mode T2T procedure with unchanged inference parameters [1, 2]. The results showed that the method generally improves accuracy while reducing T2T edit intensity. It specifically mitigated failure modes such as final-digit transcription errors occurring after otherwise correct reasoning, and excessive self-correction before short factual answers [1, 2]. The preprint was submitted to arXiv on June 15, 2026. arXiv, an open-access repository for electronic preprints, hosts papers across physics, mathematics, computer science, and related fields, and is a primary venue for sharing machine learning research before peer review [7]. Large language models, the broader category to which diffusion language models belong, are machine learning models with many parameters trained on vast amounts of text for natural language processing tasks [9].

research-papermodel-releaseapplication

Background sources we checked (8)
  • arxiv.org ↗ Token-to-token (T2T) editing lets LLaDA2.1 revise committed tokens during block-diffusion decoding. The released recipe trains this editor on random vocabulary corruptions, but at inference the editor sees the model's own fluent, high-confidence draft errors instead. We study thi…
  • en.wikipedia.org ↗ In machine learning, diffusion models, also known as diffusion-based generative models or score-based generative models, are a class of latent variable generative models. A diffusion model consists of two major components: the forward diffusion process, and the reverse sampling p…
  • en.wikipedia.org ↗ Prompt engineering is the process of structuring natural language inputs (known as prompts) to produce specified outputs from a generative artificial intelligence (GenAI) model. Context engineering is the related area of software engineering that focuses on the management of non-…
  • en.wikipedia.org ↗ Generative Pre-trained Transformer 4 (GPT-4) is a large language model developed by OpenAI and the fourth in its series of GPT foundation models. GPT-4 is preceded by GPT-3.5 and followed by its successor GPT-5. GPT-4V is a version of GPT-4 that can process images in addition t…
  • en.wikipedia.org ↗ In machine learning, a neural network (NN) or neural net, is a computational model inspired by the structure and functions of biological neural networks. A neural network consists of connected units or nodes called artificial neurons, which loosely model the neurons in the brain.…
  • en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
  • en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…
  • en.wikipedia.org ↗ A large language model (LLM) is a type of machine learning model designed for natural language processing tasks such as language generation. LLMs are language models with many parameters, and are trained with self-supervised learning on a vast amount of text.…

Sources

Spot something wrong? Report an issue