TL;DR
Seq-Drifting is a novel framework that enables high-quality text generation in a single forward pass, bypassing the iterative sampling bottleneck of traditional diffusion models. By learning a "drift field" that attracts generated tokens toward contextually plausible alternatives while repelling repetitions, it achieves a massive 900–2500× speedup over multi-step models while maintaining competitive quality.
What Problem Does This Paper Address?
Current Large Language Models (LLMs) primarily use autoregressive (AR) decoding, generating text one token at a time. This creates a linear latency bottleneck: the longer the sequence, the longer you wait.
Diffusion Language Models (DLMs) were proposed as a parallel alternative, but they typically require hundreds or thousands of iterative refinement steps to produce coherent text. While "distillation" can reduce this to a few steps (e.g., 4 steps), the generation quality often degrades significantly at very low step counts. The authors ask: Can we learn to map Gaussian noise to high-quality text in exactly one step?
Methods
The authors introduce Seq-Drifting, which treats text generation as a direct mapping from a noise vector to a sequence of continuous token representations.
1. The Spherical Generator
Unlike standard models that operate in Euclidean space, Seq-Drifting projects token embeddings onto a unit sphere ($S^{D-1}$). This ensures that "repulsion" forces change the direction (identity) of a token rather than just blowing up its vector norm. Decoding is then handled via simple cosine similarity to a frozen vocabulary table.
2. The Drift Field
Instead of training the model to hit a single, fixed target sequence (which is difficult for one-step models due to the multi-modal nature of language), Seq-Drifting uses a dynamic drift field composed of two forces:
- Attraction: A "support set" of plausible tokens is generated for each position (using a frozen "support" LM). The model is pulled toward the nearest plausible token in this set.
- Repulsion: To prevent the model from outputting the same token everywhere (repetition) or collapsing all noise inputs to the same average sentence (mode collapse), a repulsive force pushes tokens away from other positions in the same sequence and other samples in the batch.
3. Geodesic Updates
The model is trained to minimize the distance between its current output and a "target" calculated by taking a single geodesic step along the drift force on the sphere.
Datasets
The model was evaluated across a diverse range of tasks:
- Unconditional Generation: LM1B (One Billion Word) and OpenWebText.
- Conditional Generation: WMT14 (German-English translation) and XSum (summarization).
- Reasoning: SVAMP, ASDiv (math word problems), and ProofWriter (logical reasoning).
Key Insights and Ideas
- On-Policy Support is Key: The authors found that using a frozen LM to suggest plausible tokens based on the current generated context ("on-policy") works much better than just using tokens from a fixed corpus ("off-policy"). This allows the supervision to adapt as the generator learns.
- Spherical Geometry is Essential: In Euclidean space, repulsive forces often cause the training to diverge as the model tries to push embeddings infinitely far apart. The sphere provides a bounded geometry that keeps training stable.
- Mode-Seeking vs. Mean-Seeking: By attracting the model to the nearest plausible token rather than the average of all plausible tokens, the model maintains distinct "modes" (different valid ways to continue a sentence) rather than producing blurry, incoherent text.
Key Results
Seq-Drifting sets a new state-of-the-art for one-step non-autoregressive generation:
- Performance: On the LM1B benchmark, it achieved a generative perplexity (Gen-PPL) of 36.01, outperforming several models that use 1024 sampling steps.
- Speed: It provides a 4–11× wall-clock speedup over the best few-step distilled models and a staggering 900–2500× speedup over multi-step DLMs.
- Efficiency: As shown in Figure 1, Seq-Drifting achieves a latency of just 6.1 ms per sample for sequences of length 128.
Limitations and Future Work
- Quality Gap: While Seq-Drifting beats many multi-step models, a small quality gap remains compared to the very best 1024-step systems and top-tier AR models.
- Support Model Dependency: The training process requires a frozen "support" language model to provide the drift targets. While this model isn't needed at inference time, it adds complexity to the training pipeline.
- Future Directions: The authors suggest that using even stronger support models (like larger LLMs) or incorporating richer semantic supervision could further close the gap with multi-step generation.
Summary updated