亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Out-of-distribution generalization via composition: A lens through induction heads in Transformers

一般化 计算机科学 变压器 人工智能 作文(语言) 代表(政治) 机器学习 自然语言处理 数学 语言学 工程类 数学分析 哲学 电气工程 电压 政治 法学 政治学
作者
Jiajun Song,Zhuoyan Xu,Yiqiao Zhong
出处
期刊:Proceedings of the National Academy of Sciences of the United States of America [National Academy of Sciences]
卷期号:122 (6)
标识
DOI:10.1073/pnas.2417182122
摘要

Large language models (LLMs) such as GPT-4 sometimes appear to be creative, solving novel tasks often with a few demonstrations in the prompt. These tasks require the models to generalize on distributions different from those from training data—which is known as out-of-distribution (OOD) generalization. Despite the tremendous success of LLMs, how they approach OOD generalization remains an open and underexplored question. We examine OOD generalization in settings where instances are generated according to hidden rules, including in-context learning with symbolic reasoning. Models are required to infer the hidden rules behind input prompts without any fine-tuning. We empirically examined the training dynamics of Transformers on a synthetic example and conducted extensive experiments on a variety of pretrained LLMs, focusing on a type of component known as induction heads. We found that OOD generalization and composition are tied together—models can learn rules by composing two self-attention layers, thereby achieving OOD generalization. Furthermore, a shared latent subspace in the embedding (or feature) space acts as a bridge for composition by aligning early layers and later layers, which we refer to as the common bridge representation hypothesis.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小情绪完成签到 ,获得积分0
3秒前
YifanWang应助科研通管家采纳,获得10
3秒前
wanci应助浔初先生采纳,获得10
4秒前
9秒前
13秒前
21秒前
25秒前
酷波er应助善良胡萝卜采纳,获得10
39秒前
45秒前
46秒前
粽子大王完成签到 ,获得积分10
46秒前
keth发布了新的文献求助10
51秒前
1分钟前
1分钟前
TT发布了新的文献求助30
1分钟前
1分钟前
xtl发布了新的文献求助10
1分钟前
1分钟前
MchemG完成签到,获得积分0
1分钟前
日暮炊烟完成签到 ,获得积分10
1分钟前
小马甲应助善良胡萝卜采纳,获得10
1分钟前
1分钟前
lululu发布了新的文献求助10
1分钟前
1分钟前
hahasun完成签到,获得积分10
1分钟前
FashionBoy应助lululu采纳,获得10
1分钟前
hahasun发布了新的文献求助10
1分钟前
2分钟前
NianWang应助科研通管家采纳,获得10
2分钟前
所所应助科研通管家采纳,获得30
2分钟前
2分钟前
2分钟前
凶狠的映易完成签到 ,获得积分10
2分钟前
2分钟前
赘婿应助zzz采纳,获得10
2分钟前
2分钟前
3分钟前
3分钟前
3分钟前
现代山芙完成签到 ,获得积分10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Graphene Handbook (2019 Edition) 800
Adhesion Science: Principles & Practice 800
Signals, Systems, and Signal Processing 610
IEST-RP-CC018: Cleanroom Cleaning and Sanitization: Operating and Monitoring Procedures 600
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 600
久松真一著作集〈第5巻〉禅と芸術 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6534700
求助须知:如何正确求助?哪些是违规求助? 8327828
关于积分的说明 17839758
捐赠科研通 5636174
什么是DOI,文献DOI怎么找? 2934469
邀请新用户注册赠送积分活动 1910752
关于科研通互助平台的介绍 1769202