ReLaDrift enables faster and better iterative language generation
ReLaDrift: Recurrent Language Generation via Drifting for Test-Time Scaling
Computation and Language
Summary
Language models that generate text in one step are fast but can't improve their output by trying again. The authors propose ReLaDrift, a method that starts with a rough draft created from random noise and then improves it step-by-step using the same model repeatedly. This approach allows better trade-offs between how much computing power is used and the quality of the generated text. Tests on puzzle solving tasks show ReLaDrift matches or beats other methods that also generate text iteratively.
What this means in practice
- •For natural language processing engineers: Implement a language generation system that can balance quality and speed by iteratively refining outputs using the same drifting model.
- •For ai puzzle game developers: Use ReLaDrift to generate and iteratively improve puzzle solutions for games like Sudoku within limited computing budgets.
Authors
Yuki Otsuka, Daisuke Oba, Naoaki Okazaki
Abstract
Drifting Models generate a sample with a single function evaluation, making them attractive for fast parallel language generation, but their one-step formulation does not support iterative refinement. We propose Recurrent Language Generation via Drifting (ReLaDrift), which uses a shared Drifting Model to generate an initial draft from noise and iteratively refine it in a continuous latent space. We train this recurrence by sampling the number of rounds and applying the drifting loss only at the final round, stopping gradients through preceding rounds so that only one round requires backpropagation. Unlike the one-step Drifting Model, whose accuracy does not improve when iterated, ReLaDrift enables a trade-off between test-time computation and generation quality, as diffusion and flow language models do. On Sudoku Hard and GSM8K, it achieves competitive or superior performance compared with these iterative-generation approaches across a range of inference budgets. Our code is available at https://github.com/Yuki-Ots/ReLaDrift