跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2408.09503 (cs)
[提交于 2024年8月18日 (v1),最后修订于 2024年12月28日 (此版本, v2)]

标题:Out-of-distribution generalization via composition: a lens through induction heads in Transformers

作者:Jiajun Song, Zhuoyan Xu, Yiqiao Zhong
查看论文《Out-of-distribution generalization via composition: a lens through induction heads in Transformers》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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 components 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.
评论: 46 pages, 27 figures
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 机器学习 (cs.LG); 机器学习 (stat.ML)
引用方式: arXiv:2408.09503 [cs.CL]
  (或者 arXiv:2408.09503v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2408.09503

提交历史

来自:Yiqiao Zhong
[v1] 2024年8月18日 星期日 14:52:25 UTC
[v2] 2024年12月28日 星期六 17:15:28 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-12
切换浏览方式为:
cs.CL
cs.AI
cs.LG
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站