Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2501.00070v2

帮助 | 高级搜索

计算机科学 > 计算与语言

arXiv:2501.00070v2 (cs)
[提交于 2024年12月29日 (v1) ,最后修订 2025年5月2日 (此版本, v2)]

标题: ICLR:表示的上下文学习

标题: ICLR: In-Context Learning of Representations

Authors:Core Francisco Park, Andrew Lee, Ekdeep Singh Lubana, Yongyi Yang, Maya Okawa, Kento Nishi, Martin Wattenberg, Hidenori Tanaka
摘要: 近期的研究表明,预训练数据指定的语义会影响大型语言模型(LLM)中不同概念表征的组织方式。然而,考虑到LLM的开放性特性,比如它们的即时学习能力,我们可以问这些模型是否会改变这些预训练语义,以采用替代性的、由上下文指定的语义。具体来说,如果我们提供一些即时示例,其中某个概念扮演的角色与预训练数据所暗示的不同,模型是否会根据这些新的语义重新组织它们的表征?为了回答这个问题,我们受到概念角色语义理论的启发,并定义了一个玩具“图追踪”任务,在这个任务中,图的节点通过训练过程中看到的概念(例如苹果、鸟等)来引用,而图的连通性则通过某种预定义的结构(例如正方形网格)来定义。给定指示图上随机游走轨迹的示例,我们分析了模型的中间表征,并发现随着上下文量的增加,存在从预训练语义表征到与图结构对齐的即时上下文表征的突然重组。此外,我们发现当参考概念在其语义上有相关性时(例如星期一、星期二等),由上下文指定的图结构仍然存在于表征中,但无法主导预训练结构。为了解释这些结果,我们将我们的任务类比为预先定义的图拓扑的能量最小化过程,提供了关于隐式优化过程推断上下文指定语义的证据。总体而言,我们的研究结果表明,扩展上下文大小可以灵活地重组模型表征,可能解锁新的能力。
摘要: Recent work has demonstrated that semantics specified by pretraining data influence how representations of different concepts are organized in a large language model (LLM). However, given the open-ended nature of LLMs, e.g., their ability to in-context learn, we can ask whether models alter these pretraining semantics to adopt alternative, context-specified ones. Specifically, if we provide in-context exemplars wherein a concept plays a different role than what the pretraining data suggests, do models reorganize their representations in accordance with these novel semantics? To answer this question, we take inspiration from the theory of conceptual role semantics and define a toy "graph tracing" task wherein the nodes of the graph are referenced via concepts seen during training (e.g., apple, bird, etc.) and the connectivity of the graph is defined via some predefined structure (e.g., a square grid). Given exemplars that indicate traces of random walks on the graph, we analyze intermediate representations of the model and find that as the amount of context is scaled, there is a sudden re-organization from pretrained semantic representations to in-context representations aligned with the graph structure. Further, we find that when reference concepts have correlations in their semantics (e.g., Monday, Tuesday, etc.), the context-specified graph structure is still present in the representations, but is unable to dominate the pretrained structure. To explain these results, we analogize our task to energy minimization for a predefined graph topology, providing evidence towards an implicit optimization process to infer context-specified semantics. Overall, our findings indicate scaling context-size can flexibly re-organize model representations, possibly unlocking novel capabilities.
评论: ICLR 2025
主题: 计算与语言 (cs.CL) ; 人工智能 (cs.AI); 机器学习 (cs.LG)
引用方式: arXiv:2501.00070 [cs.CL]
  (或者 arXiv:2501.00070v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.00070
通过 DataCite 发表的 arXiv DOI
期刊参考: International Conference on Learning Representations, 2025

提交历史

来自: Core Francisco Park [查看电子邮件]
[v1] 星期日, 2024 年 12 月 29 日 18:58:09 UTC (11,226 KB)
[v2] 星期五, 2025 年 5 月 2 日 05:27:38 UTC (11,226 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
查看许可
当前浏览上下文:
cs.CL
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-01
切换浏览方式为:
cs
cs.AI
cs.LG

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号