arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.14095cs.LGcs.AI
收藏

通过递归潜在空间推理解锁Transformer的分布外泛化能力

Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoning

Department of Statistics & Data Science, Yale University(统计与数据科学系,耶鲁大学)

Awni Altabaa, Siyu Chen, John Lafferty, Zhuoran Yang

AI总结:

本研究提出四种架构机制(输入自适应递归、算法监督、离散瓶颈锚定表示、显式纠错),在计算图模块化算术任务上显著提升Transformer的分布外泛化,并通过可解释性分析揭示其内在机理。

摘要:

在训练分布之外进行系统性、组合性的泛化,仍然是机器学习中的核心挑战,也是现代语言模型涌现推理能力的关键瓶颈。本研究以计算图上的GSM8K风格模块化算术任务为测试平台,探讨Transformer网络中的分布外(OOD)泛化问题。我们引入并探索了四种旨在增强OOD泛化的架构机制:(i)输入自适应递归;(ii)算法监督;(iii)通过离散瓶颈实现锚定潜在表示;(iv)显式纠错机制。这些机制共同构成了一种在Transformer网络中实现原生且可扩展的潜在空间推理的架构方法,并具备稳健的算法泛化能力。我们通过详细的机制可解释性分析补充了这些实证结果,揭示了这些机制如何促成稳健的OOD泛化能力。

英文摘要:

Systematic, compositional generalization beyond the training distribution remains a core challenge in machine learning -- and a critical bottleneck for the emergent reasoning abilities of modern language models. This work investigates out-of-distribution (OOD) generalization in Transformer networks using a GSM8K-style modular arithmetic on computational graphs task as a testbed. We introduce and explore a set of four architectural mechanisms aimed at enhancing OOD generalization: (i) input-adaptive recurrence; (ii) algorithmic supervision; (iii) anchored latent representations via a discrete bottleneck; and (iv) an explicit error-correction mechanism. Collectively, these mechanisms yield an architectural approach for native and scalable latent space reasoning in Transformer networks with robust algorithmic generalization capabilities. We complement these empirical results with a detailed mechanistic interpretability analysis that reveals how these mechanisms give rise to robust OOD generalization abilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑