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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
qishui完成签到,获得积分10
1秒前
1秒前
赘婿的应助被阿瓦达采纳,获得10
2秒前
Rocky发布了新的文献求助10
2秒前
Keoi完成签到,获得积分10
3秒前
4秒前
zhaoyang完成签到 ,获得积分10
4秒前
5秒前
li完成签到,获得积分10
6秒前
李天恩发布了新的文献求助10
6秒前
完美世界的应助被chens627采纳,获得30
7秒前
想办法给发布了新的文献求助10
7秒前
8秒前
sx发布了新的文献求助10
8秒前
小蘑菇的应助被王姐夫采纳,获得10
9秒前
科研通AI65的应助被悦耳语堂采纳,获得10
9秒前
Annora完成签到,获得积分10
9秒前
ZJ完成签到,获得积分20
9秒前
10秒前
10秒前
李同学完成签到,获得积分10
10秒前
11秒前
13秒前
阿瓦达发布了新的文献求助10
13秒前
14秒前
14秒前
云舒完成签到,获得积分10
14秒前
Rocky完成签到,获得积分10
15秒前
执着的幻灵完成签到,获得积分20
15秒前
15秒前
15秒前
16秒前
爆米花发布了新的文献求助10
16秒前
Ran发布了新的文献求助10
16秒前
harriet发布了新的文献求助30
17秒前
17秒前
18秒前
Nini完成签到 ,获得积分10
18秒前
18秒前
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
基于结构调控的功能化水诱导发电材料与器件研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8199680
求助须知:如何正确求助?哪些是违规求助? 9584720
关于积分的说明 21895802
捐赠科研通 7801396
什么是DOI,文献DOI怎么找? 3439450
关于科研通互助平台的介绍 2562300
邀请新用户注册赠送积分活动 2486468