arXiv cs.AI· Zhiwei Tang, Yuanyu He, Yizheng Han, Wangbo Zhao, Jiasheng Tang, Fan Wang, Bohan Zhuang·· 3 小时前AI 评分34
K-Forcing:基于 Push-Forward 语言建模的联合多 token 解码方法
K-Forcing: Joint Next-K-Token Decoding via Push-Forward Language Modeling
AI 导读
K-Forcing 是一种 push-forward 语言建模范式,可将自回归模型蒸馏为条件映射,在单次前向传播中生成 k 个 token。在 LM1B 和 OpenWebText 上、以标准因果 Transformer 为骨干的评测中,k = 4 配置下相对 AR 教师实现约 2.4-3.5x 加速,质量仅有轻微下降。该方法兼容标准 AR 推理基础设施,面向高负载批量部署场景。
正文 · 原文
Abstract:Autoregressive (AR) language modeling is the dominant paradigm for text generation, yet its sequential token-by-token decoding makes inference memory-bound and inefficient. Existing acceleration approaches, such as speculative decoding and diffusion language models, can yield speedups under certain conditions but do not directly address high-load batch serving--the scenario most critical for industrial-scale deployment. We introduce K-Forcing, a push-forward language modeling paradigm for joint next-k-token decoding. K-Forcing distills an existing AR model into a conditional push-forward mapping--one that transforms independent uniform noise variables into a joint sample of multiple future tokens in a single forward pass. This design preserves fixed-length outputs, reuses the AR teacher backbone, and remains compatible with standard AR serving infrastructure. We train this mapping via progressive self-forcing distillation, which gradually expands the prediction window while enabling the student to closely match the sequence distribution of the AR teacher. We evaluate K-Forcing on LM1B and OpenWebText using a standard causal Transformer backbone. When aggressively configured to generate k = 4 tokens per forward pass, K-Forcing delivers approximately 2.4-3.5x speedup across different batch sizes, while incurring modest quality degradation relative to its AR teacher. As inference increasingly dominates the lifetime compute cost of modern LLMs, K-Forcing offers a promising route toward accelerating AR generation under real-world high-load deployment.
| Comments: | Code: this https URL |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2606.10820 [cs.LG] |
| (or arXiv:2606.10820v3 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2606.10820 arXiv-issued DOI via DataCite |
Submission history
From: Zhiwei Tang [view email]
[v1]
Tue, 9 Jun 2026 13:02:00 UTC (1,342 KB)
[v2]
Wed, 10 Jun 2026 06:43:22 UTC (1,342 KB)
[v3]
Thu, 26 Nov 2026 10:42:11 UTC (1,347 KB)
来源:arXiv cs.AI · arxiv.org