Lune

ICLR2024顶会

Think before you speak: Training Language Models With Pause Tokens

Sachin Goyal, Ziwei Ji, Ankit Singh Rawat, Aditya Krishna Menon, Sanjiv Kumar, Vaishnavh Nagarajan

2024年份
240被引次数
99顶会引用

摘要

Language models generate responses by producing a series of tokens in immediate succession: the (K+1)th(K+1)^{th} token is an outcome of manipulating KK hidden vectors per layer, one vector per preceding token. What if instead we were to let the model manipulate say, K+10K+10 hidden vectors, before it outputs the (K+1)th(K+1)^{th} token? We operationalize this idea by performing training and inference on language models with a (learnable) pause\textit{pause} token, a sequence of which is appended to the input prefix. We then delay extracting the model's outputs until the last pause token is seen, thereby allowing the model to process extra computation before committing to an answer. We empirically evaluate pause-training\textit{pause-training} on decoder-only models of 1B and 130M parameters with causal pretraining on C4, and on downstream tasks covering reasoning, question-answering, general understanding and fact recall. Our main finding is that inference-time delays show gains when the model is both pre-trained and finetuned with delays. For the 1B model, we witness gains on 8 of 9 tasks, most prominently, a gain of 18%18\% EM score on the QA task of SQuAD, 8%8\% on CommonSenseQA and 1%1\% accuracy on the reasoning task of GSM8k. Our work raises a range of conceptual and practical future research questions on making delayed next-token prediction a widely applicable new paradigm.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper99

问问它们各自怎么用它

它引用的顶会 Paper22

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖