Hugging Face Blog

Faster Text Generation with TensorFlow and XLA

arXiv AI
Oct 12

One-Step Text Generation by Seq-Drifting

The paper introduces Seq-Drifting, a new framework that enables diffusion language models to generate an entire text sequence in a single forward pass. By applying a drift field to continuous token representations, the model learns a direct mapping from Gaussian noise to text, using attraction to guide outputs toward contextually plausible tokens and repulsion to prevent repetition and collapse. Experiments show that Seq-Drifting achieves a perplexity of 36.01 on LM1B and performs competitively in unconditional, conditional, translation, summarization, and reasoning tasks.

By Jiayu Liu, Ruizhi Zhao, Tianyun Ji, Yee Whye Teh, Zhenya Huang, Ning Miao
arXiv Machine Learning
Jul 30

MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent

arXiv:2507. 02259v2 Announce Type: replace-cross Abstract: Despite improvements by length extrapolation, efficient attention and memory modules, handling infinitely long documents with linear complexity without performance degradation during extrapolation remains the ultimate challenge in long-text processing.

By Hongli Yu, Tinghong Chen, Jiangtao Feng, Jiangjie Chen, Weinan Dai, Qiying Yu, Ya-Qin Zhang, Wei-Ying Ma, Jingjing Liu, Mingxuan Wang, Hao Zhou
arXiv Computation and Language
Oct 19

ReLaDrift: Recurrent Language Generation via Drifting for Test-Time Scaling

ReLaDrift introduces a recurrent approach to language generation that builds on Drifting Models by iteratively refining a draft in a continuous latent space. The method trains a shared drifting model, sampling the number of refinement rounds and applying the drifting loss only at the final round, thereby requiring backpropagation for just one round. Experiments on Sudoku Hard and GSM8K show that ReLaDrift can trade off test‑time computation for generation quality, achieving competitive or superior performance compared to diffusion and flow language models across various inference budgets.

By Yuki Otsuka, Daisuke Oba, Naoaki Okazaki