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 被引量: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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Ava应助gaojiaqi采纳,获得10
刚刚
刚刚
1秒前
吖咪完成签到,获得积分20
1秒前
2秒前
2秒前
2秒前
哈喽发布了新的文献求助20
2秒前
阿猫完成签到 ,获得积分10
3秒前
liushoujia发布了新的文献求助10
3秒前
4秒前
4秒前
4秒前
kaka完成签到,获得积分10
5秒前
Mr强完成签到 ,获得积分10
6秒前
洛洛发布了新的文献求助20
6秒前
7秒前
聪明的宛菡完成签到,获得积分10
7秒前
duyi0521发布了新的文献求助10
7秒前
华仔应助黄影采纳,获得30
7秒前
June17发布了新的文献求助10
8秒前
wyz完成签到,获得积分10
9秒前
xiaoda发布了新的文献求助10
9秒前
9秒前
Copyright应助yyyyds采纳,获得10
9秒前
9秒前
华仔应助kaka采纳,获得10
9秒前
深情安青应助内向的店员采纳,获得10
10秒前
10秒前
临河盗龙完成签到,获得积分20
10秒前
dada发布了新的文献求助10
11秒前
吖咪关注了科研通微信公众号
11秒前
11秒前
11秒前
11秒前
yejq发布了新的文献求助10
12秒前
打打应助wyz采纳,获得10
12秒前
jinjin关注了科研通微信公众号
12秒前
ALKaid发布了新的文献求助10
13秒前
临河盗龙发布了新的文献求助10
13秒前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Microvascular Surgery in Head and Neck Reconstruction 500
Petrology and Plate Tectonics 500
Writing Systems 500
Media Today Mass Communication in a Converging World 9th Edition 400
Understanding Modeling and Simulation of Polymerization Reactions 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6840729
求助须知:如何正确求助?哪些是违规求助? 8549392
关于积分的说明 18189841
捐赠科研通 6190525
什么是DOI,文献DOI怎么找? 3040080
关于科研通互助平台的介绍 2029826
邀请新用户注册赠送积分活动 2017554