Manuscript Offprint

arXiv:2610.12879

One-Step Text Generation by Seq-Drifting

Jiayu Liu, Ruizhi Zhao, Tianyun Ji, Yee Whye Teh, Zhenya Huang, Ning Miao

ABSTRACT

Diffusion language models generate tokens in parallel, but still require multiple sampling steps to produce high-quality text. In this paper, we investigate whether a model can learn to generate an entire sequence in a single forward pass. We propose Seq-Drifting, a framework that applies drifting to sequences of continuous token representations and directly learns a map from Gaussian noise to text. Unlike existing DLMs that derive the supervision at each position directly from the observed token in a training sequence, Seq-Drifting builds a drift field whose position-wise targets adapt to the current generated context. At each position, attraction guides each output toward a set of contextually plausible token representations, while repulsion discourages collapse across samples and repetition within sequences. The generator learns from this drift field during training and produces all tokens jointly in one pass at inference. Empirically, Seq-Drifting achieves a generative perplexity of 36.01 on LM1B in one step and performs competitively in both unconditional and conditional generation. Experiments on translation, summarization, and reasoning further demonstrate the applicability of the framework beyond open-ended generation. These results suggest that drifting over token sequences offers a promising path toward effective one-step text generation. Our code is available at https://github.com/jyliu-ai/Seq-Drifting.

Figure

Figure 1: Seq-Drifting achieves lower generative perplexity than prior few-step distilled DLMs, and is on par with or better than multi-step DLMs, with a 4–11× speedup over the few-step baselines and a 900–2500× speedup over the multi-step ones in wall-clock time. (Gen-PPL under GPT-2 Large; dataset: LM1B, T=128. Detailed comparison in Figure 3 and Table 6.)

1 INTRODUCTION

Autoregressive (AR) language models are the dominant paradigm for text generation and have shown strong capabilities across a wide range of domains (Radford et al., 2019; Brown et al., 2020). At inference, however, they generate one token at a time, making sequential decoding a fundamental latency bottleneck that grows with sequence length. Non-autoregressive alternatives such as diffusion language models (DLM) generate multiple tokens in parallel (Sahoo et al., 2024;

1^{1}Hong Kong Institute of AI for Science, City University of Hong Kong, 2^{2}Department of Data Science, City University of Hong Kong, 3^{3}Shenzhen University, 4^{4}State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China, 5^{5}Department of Statistics, University of Oxford.

∗^{*}Correspondence to: Ning Miao (ningmiao@cityu.edu.hk)

Li et al., 2022; Hu et al., 2026; Lee et al., 2026), but they still rely on multiple refinement steps to produce high-quality samples. Distillation methods such as SDTT (Deschenaux & Gulcehre, 2025), Di4C (Hayakawa et al., 2025), and FMLM (Lee et al., 2026) reduce the number of steps, but generation quality remains limited at small sampling budgets. A key question, then, is whether we can directly learn high-quality one-step generation through a single forward pass from noise to text.

Most generative models can be seen as a map from a noise vector to data. Because this map is highly multimodal, previous methods often need to decompose it into many small steps. Drifting (Deng et al., 2026) offers a different route, learning the map directly as a single forward pass in continuous domains. Rather than learning a trajectory that is unrolled at inference, a drifting model evolves its pushforward map during training. As the parameters are updated, each noise sample is carried a little closer toward the data distribution, a movement governed by a drifting field that vanishes once the generated and data distributions match. At convergence the map can reach a fixed point, so a single forward pass can turn noise into a sample without an iterative sampler at inference.

Although drifting has shown promising results on images, transferring it to text is far from straightforward. A text sample is a sequence in which every position contains a token drawn from a finite vocabulary. Since valid text sequences are composed of discrete token choices, a continuous drift step will generally land between valid token embeddings rather than on one. The drift may therefore operate in regions containing no valid token. The space is also semantically non-smooth, as a single substituted token can overturn the meaning of a sentence or make it incoherent, which means nearness in embedding space does not necessarily imply nearness in meaning. One might hope to sidestep these issues by drifting a single sentence-level embedding, where the space is continuous. However, this only relocates the difficulty, because mapping such a vector back to a faithful token sequence is itself a hard sequence-decoding problem, and a single vector exposes none of the per-position targets a drift step needs.

In this work we introduce Seq-Drifting, which adapts drifting to sequences of continuous token representations and learns the noise-to-text map in a single forward pass. Our core idea is to provide each position with supervision from a context-dependent set of plausible tokens. This support set anchors the drift to actual vocabulary tokens and identifies which choices are compatible with the current generated context. Seq-Drifting then attracts each output toward these tokens, allowing different noise inputs to select different valid alternatives without pulling them all toward an average representation. Because the support tokens depend on the generated context, the supervision couples token choices across positions and guides the generator toward coherent sequences.

Seq-Drifting establishes a new framework for one-step text generation and brings three advantages. First, it generates a sample in a single forward pass, so its inference cost does not grow with a step budget as in multi-step diffusion and few-step distillation, while matching their quality at a fraction of the inference cost. Second, it addresses the ambiguity of one-step generation without relying on iterative refinement. Rather than assigning each noise input a unique target sequence, it allows different noise to naturally settle on their own coherent continuations while preserving multiple generation modes. Finally, it unifies two ways of learning the one-step map by constructing support sets either from corpus retrieval or scoring by a frozen language model, which opens the possibility of turning an existing autoregressive language model into a one-step generator.

Empirically, we show that Seq-Drifting combines competitive generation quality with substantially lower inference cost. For example, in Figure 1, it reaches a generative perplexity of 36.01 with an 11.2×11.2 \times wall-clock speedup over the strongest four-step distilled baseline, even outperforming several DLMs that use 1024 sampling steps. This advantage extends to prefix-conditioned generation, such as machine translation, summarization, and reasoning, which broadens its applicability beyond language continuation. Overall, these results demonstrate the feasibility of directly learning a one-step text generator and point to a new direction for diffusion language models.

References (55)

  • Block diffusion: Interpolating between autoregressive and diffusion language models
  • Encoder-decoder diffusion language models for efficient training and inference
  • Structured denoising diffusion models in discrete state-spaces
  • A suite for analyzing large language models across training and scaling
  • Advances in neural information processing systems, 33:1877–1901, 2020
  • One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling
  • Langflow: Continuous diffusion rivals discrete in language modeling (opens arXiv in a new tab)
  • Generative modeling via drifting, 2026 (opens arXiv in a new tab)
  • Implicit chain of thought reasoning via knowledge distillation (opens arXiv in a new tab)
  • Beyond autoregression: Fast llms via self-distillation through time
  • Openwebtext corpus
  • Diffuseq: Sequence to sequence text generation with diffusion models
  • Ssd-lm: Semi-autoregressive simplex-based diffusion language model for text generation and modular control
  • Training large language models to reason in a continuous latent space
  • Distillation of discrete diffusion through dimensional correlations
  • Elf: Embedded language flows (opens arXiv in a new tab)
  • Continuous diffusion model for language modeling
  • One-step language modeling via continuous denoising
  • A survey on diffusion language models (opens arXiv in a new tab)
  • Diffusion-lm improves controllable text generation
  • Tess: Text-to-text self-conditioned simplex diffusion
  • A diverse corpus for evaluating and developing english math word problem solvers
  • Don’t give me the details, just the summary! topic-aware convolutional neural networks for extreme summarization
  • Large language diffusion models (opens arXiv in a new tab)
  • Bleu: a method for automatic evaluation of machine translation
  • Are nlp models really able to solve simple math word problems? In Proceedings of the 2021 conference of the North American chapter of the association for computational linguistics: human language technologies, pp. 2080–2094, 2021
  • CANDI: Hybrid discrete-continuous diffusion models
  • OpenAI blog, 1(8):9, 2019
  • Simple and effective masked diffusion language models
  • The diffusion duality
  • Proofwriter: Generating implications, proofs, and abductive statements over natural language
  • OPT: Open Pre-trained Transformer Language Models
  • Texygen: A benchmarking platform for text generation models
  • Our generator $G_\theta$ is a 12-layer pre-LN Transformer with width 768, 12 attention heads, and an FFN width of 3072
  • For $q_{\theta} = p_{\text{data}}$ to be a fixed point of training, the drift V, and hence the loss of Eq
  • The attraction pulls $e_t$ toward the support set $S_t$ of plausible tokens, and the two repulsions push it off the other generations $N_t^{out}$ and the other positions of its own sequence $N_t^{in}$
  • At $q_{\theta} = p_{\text{data}}$ the generator reproduces the data
  • Under these conditions, $F_t$ is zero at every position and $q_\theta = p_{\text{data}}$ is a fixed point of the idealized field
  • We now quantify how such discrepancies affect the drift
  • For a support set with at least two candidates, define
  • All vocabulary embeddings have unit norm, so their pairwise distances are at most two
  • For a fixed distribution of representations satisfying the support and uniqueness conditions above, $\rho_{\tau} \to 0$ as $\tau \to 0$ by dominated convergence, since $b_t \to 0$ and $2b_t/(1 + b_t) \leq 2$
  • Self-BLEU measures the n-gram overlap among a model's own generations
  • Table 7 gives the multi-step baselines on the conditional task at the same step budgets
  • >Method</th><th rowspan=
  • We do not report OpenWebText results because no corresponding public checkpoint is available
  • LM1B ($T = 128$) and OpenWebText ($T = 1024$)
  • For XSum, the input contains up to 1024 source tokens and the model generates a 64-token summary
  • Ground-truth solution sequences define the support set for the attraction objective
  • A 64-token prefix, then a continuation (64→64 on LM1B, 64→512 on OWT)
  • The first 200k steps are the unconditional warm-up phase, during which the context is filled with a constant token
  • Gen-PPL (log scale, left axis) and unigram entropy (right axis) versus training step for the off-policy positives ablation
  • Innovations & Challenges of the Future
  • i guess he has been very, but if he did have been opportunity, if he has been very very me
  • The suspect, 26, was arrested the following day on suspicion of offences under the Terrorism Act