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

局部比较训练下Transformer中涌现的序数几何

Emergent Ordinal Geometry in Transformers Trained on Local Comparisons

Birla Institute of Technology and Science, Pilani(比拉理工学院和科学学院,皮兰)

Nishit Singh

AI总结:

通过仅训练相邻比较,Transformer模型在未见远距离对上展现出泛化能力,并形成一维序数几何结构,其决策置信度与排名距离单调相关,类似于符号距离效应。

摘要:

传递性推理是指仅从已知的相邻关系(A < B, B < C)推断出A < C的挑战。人类和动物解决这一问题并非通过逻辑链,而是借助一个模拟的心理数字线,其标志是符号距离效应:远距离比较比近距离比较更容易。我们探究Transformer是否获得相同的原始能力,仅使用隐藏全序中的相邻比较训练小型模型,并评估对未见远距离对的泛化。我们发现,分布外泛化伴随着惊人的几何重组:实体嵌入坍缩到一维流形上,其主轴以近乎完美的保真度恢复隐藏的秩序,并且这种结构对优化方式敏感,产生类似grokking的瞬态动力学。关键的是,即使准确率达到上限,决策置信度和几何分离度都随秩距离单调变化,直接反映了在人类、灵长类和啮齿类动物数十年的行为实验中观察到的符号距离效应。这些结果将50年来的行为规律建立在学习表示的几何基础上,为连接认知科学和现代神经网络的传递性推理提供了机制性解释。

英文摘要:

Transitive inference is the challenge of inferring that A < C from knowing only adjacent relations (A < B, B < C). It is solved by humans and animals not through logical chaining but via an analogue mental number line, whose signature is the symbolic distance effect: distant comparisons are easier than nearby ones. We ask whether Transformers acquire the same primitive, training small models exclusively on adjacent comparisons from a hidden total order and evaluating generalization to unseen distant pairs. We find that out-of-distribution generalization emerges alongside a striking geometric reorganization: entity embeddings collapse onto a one-dimensional manifold whose principal axis recovers the hidden rank order with near-perfect fidelity, and this structure is sensitive to optimization in ways that produce grokking-like transient dynamics. Critically, even when accuracy is at ceiling, decision confidence and geometric separation both scale monotonically with rank distance, directly mirroring the symbolic distance effect observed across decades of behavioural experiments on humans, primates, and rodents. We further show the same rank-aligned geometry in a pretrained large language model, where it tracks the topology of each ordinal relation: linear for sizes and digits, cyclic for months. These results ground a 50-year-old behavioural regularity in the geometry of learned representations, offering a mechanistic account of transitive inference that bridges cognitive science and modern neural networks.

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

↑