Hugging Face Blog

Benchmarking Text Generation Inference

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 AI
Sep 24

FLEET: From Logits Entropy to Enhanced Trajectories in Text Generation

FLEET is a new method for text generation that adds a memory mechanism to large language models. It represents each generation as a sparse trajectory of high‑entropy states and uses these trajectories to compute per‑token utility scores that adjust the logits. Benchmarks show that FLEET matches the accuracy of repeated sampling while being three times faster and improving accuracy on complex coding tasks, all with minimal changes to existing pipelines.

By Oleksii Streltsov, Oleksandra Vitko
arXiv Computation and Language
Nov 9

HiFlow: Hierarchical Feedback-Driven Optimization for Constrained Long-Form Text Generation

The paper introduces LoopWeaver, a hierarchical workflow for constrained long‑form text generation that addresses the multi‑objective optimization problem of balancing global structure, local coherence, and constraint satisfaction. LoopWeaver consists of two offline preference‑optimization stages: constraint‑aware planning to produce structured plans, and feasibility filtering to remove invalid plans, followed by a shared deterministic reward that generates preference pairs for both plan‑level and generation‑level direct preference optimization (DPO). During inference, the system remains feed‑forward, generating and revising a complete plan, filtering it, and then producing text segments conditioned on the current sub‑plan and running narrative, achieving improved constraint accuracy and text quality across four LongGenBench‑style scenarios on multiple open‑source backbones.

By Yifan Zhu, Guanting Chen, Bing Wei, Haoran Luo