Think before you speak: Training Language Models With Pause Tokens

安全性令牌 计算机科学 任务(项目管理) 语言模型 推论 前缀 序列(生物学) 答疑 人工智能 自然语言处理 召回 操作化 过程(计算) 认知心理学 程序设计语言 心理学 语言学 哲学 经济 认识论 遗传学 管理 计算机安全 生物
作者
Sachin Goyal,Ziwei Ji,Ankit Singh Rawat,Aditya Krishna Menon,Sanjiv Kumar,Vaishnavh Nagarajan
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:2
标识
DOI:10.48550/arxiv.2310.02226
摘要

Language models generate responses by producing a series of tokens in immediate succession: the $(K+1)^{th}$ token is an outcome of manipulating $K$ hidden vectors per layer, one vector per preceding token. What if instead we were to let the model manipulate say, $K+10$ hidden vectors, before it outputs the $(K+1)^{th}$ token? We operationalize this idea by performing training and inference on language models with a (learnable) $\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 $\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\%$ EM score on the QA task of SQuAD, $8\%$ on CommonSenseQA and $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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
accheart发布了新的文献求助10
刚刚
情怀应助Sugar采纳,获得10
刚刚
myg8627发布了新的文献求助10
1秒前
111111完成签到,获得积分10
1秒前
LLL完成签到,获得积分10
1秒前
1秒前
matt完成签到,获得积分10
2秒前
科目三应助孤独蘑菇采纳,获得10
2秒前
Peng发布了新的文献求助20
3秒前
cccx发布了新的文献求助10
3秒前
3秒前
深情安青应助漂亮糖豆采纳,获得10
4秒前
丘比特应助余白薇采纳,获得10
5秒前
tjjtb完成签到,获得积分10
5秒前
二甜完成签到,获得积分20
5秒前
bkagyin应助kiara采纳,获得10
6秒前
linsunn发布了新的文献求助30
6秒前
6秒前
6秒前
完美世界应助哈哈哈哈哈采纳,获得10
6秒前
斯文败类应助Hh采纳,获得10
7秒前
Cuisine完成签到 ,获得积分10
8秒前
admin0726发布了新的文献求助10
8秒前
GFFino完成签到 ,获得积分10
8秒前
8秒前
禹宛白发布了新的文献求助20
9秒前
9秒前
糊辣椒完成签到 ,获得积分10
9秒前
憨憨发布了新的文献求助10
10秒前
嚭嚭驳回了慕青应助
10秒前
怡然的扬完成签到,获得积分10
10秒前
Candy发布了新的文献求助30
10秒前
10秒前
JFma完成签到,获得积分10
11秒前
liu完成签到 ,获得积分10
11秒前
共享精神应助Karma采纳,获得10
11秒前
11秒前
白瑾发布了新的文献求助10
12秒前
12秒前
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Navigating Normative Orders. Interdisciplinary Perspectives 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
A Case Study on Hotels as Noncongregate Emergency Living Accommodations for Returning Citizens 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7758304
求助须知:如何正确求助?哪些是违规求助? 9304409
关于积分的说明 20280319
捐赠科研通 7342020
什么是DOI,文献DOI怎么找? 3312163
关于科研通互助平台的介绍 2462795
邀请新用户注册赠送积分活动 2326004