TL;DR
ReLaDrift (Recurrent Language Generation via Drifting) transforms one-step "Drifting Models" into recurrent generators capable of iterative refinement in continuous latent space. By training a shared model to refine its own drafts without the overhead of backpropagation through time, it enables "test-time scaling"—allowing users to trade more computation for higher accuracy—and outperforms established diffusion and flow-based language models on complex reasoning tasks.
What Problem Does This Paper Address?
In the quest for faster language generation, Drifting Models emerged as a promising alternative to autoregressive (AR) models. They map noise to data in a single function evaluation (NFE), making them incredibly fast. However, they have a major drawback: they are "one-shot" by design. Unlike diffusion or flow models, simply feeding a Drifting Model's output back into itself doesn't improve quality because the model is trained to generate from pure noise, not to refine an existing draft.
This lack of test-time scaling—the ability to improve performance by spending more compute at inference—limits Drifting Models on difficult reasoning tasks where a "first draft" is rarely perfect. The authors of ReLaDrift set out to bridge this gap, creating a model that maintains the speed of drifting while gaining the iterative refinement capabilities of diffusion.
Methods
ReLaDrift introduces a recurrent framework where a shared Drifting Model ($f_\theta$) is applied multiple times.
- Recurrent Architecture: The process starts at Round 0, where noise is transported to an initial draft ($d_1$). In subsequent rounds ($r \ge 1$), the model takes the draft from the previous round and produces a refined version. This all happens in a continuous latent space (e.g., using a frozen CodeT5 encoder).
- Efficient Training: To avoid the massive memory costs of Backpropagation Through Time (BPTT), the authors use a clever training trick. For each training step, they sample a random number of rounds ($R$). They run the first $R-1$ rounds with stop-gradients (treating the intermediate drafts as constants) and only apply the drifting loss to the final terminal round. This ensures the model learns to refine drafts of various "qualities" while only requiring the gradient of a single step.
- Source Formulation: While they explored several ways to feed drafts back (additive, conditional), the "source formulation"—where the previous draft simply replaces the initial noise as the input—proved most effective.
Datasets
The model was evaluated on two challenging reasoning benchmarks:
- Sudoku Hard: 48,000 training and 2,000 validation puzzles. This task requires satisfying global constraints to find a unique solution.
- GSM8K: Grade-school math word problems. The authors used the TinyGSM dataset (1.5M synthetic problems) for training, paired with Python solutions. Unlike Sudoku, GSM8K allows for multiple valid solution paths.
Key Insights and Ideas
- Test-Time Scaling is Real: Accuracy improves monotonically with the number of refinement rounds (NFE), even beyond the maximum number of rounds seen during training.
- The "Restoring Force": The authors found that the standard drifting loss coefficients ($\lambda^+=1, \lambda^-=1$) caused training to collapse when using few generated samples. They introduced a stronger "restoring force" toward the target ($\lambda^+=2, \lambda^-=1$), which anchors each sample to the barycenter of the positives and prevents them from drifting apart.
- Latent Space Refinement: By operating in the contextualized latent space of a frozen encoder, the model can refine semantic meaning rather than just "fixing typos" in discrete text.
- Efficiency over NFE: ReLaDrift is significantly faster per step than diffusion models like Duo. This means that even at the same NFE, ReLaDrift delivers results much faster in wall-clock time.
Key Results
ReLaDrift demonstrates impressive performance across both benchmarks, often surpassing more established iterative models.
- Sudoku Hard: ReLaDrift achieved 94.0% accuracy at NFE=180, significantly outperforming MDLM (32.6%), Duo (61.5%), and S-FLM (43.2%).
- GSM8K: It reached 29.4% accuracy at NFE=16. While some diffusion models eventually reach higher accuracies at very high NFE (e.g., Duo at NFE=1024), ReLaDrift is much more efficient in the "low-compute" regime.
- Wall-Clock Speed: On an H200 GPU, ReLaDrift hits its peak accuracy on GSM8K in just 13 seconds, whereas a comparable model like Duo takes 63 seconds to reach a similar level.
Limitations and Future Work
- Dependency on Components: On GSM8K, the model's advantage relies heavily on a verifier and a high-quality pretrained encoder (CodeT5). While scaling still happens without them, the absolute accuracy is lower.
- The AR Gap: While ReLaDrift is a leader among parallel/non-autoregressive models, it still trails behind state-of-the-art Autoregressive (AR) models in absolute accuracy on GSM8K (72.3% for AR vs 29.4% for ReLaDrift).
- Future Directions: The authors suggest that improving verifier-free training and scaling the model to broader, non-reasoning tasks are the next logical steps. Narrowing the performance gap with autoregressive models remains the "holy grail" for this line of research.
Summary updated