传递性推理是指仅从已知的相邻关系(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.
School of Mathematical Sciences(数学科学学院);Shanghai Center for Mathematical Sciences(上海数学中心);Research Institute of Intelligent Complex Systems(智能复杂系统研究院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);State Key Laboratory of Medical Neurobiology(医学神经生物学国家重点实验室);MOE Frontiers Center for Brain Science(教育部脑科学前沿中心);Institute of Brain Science(脑科学研究院)
From Pixels to Explanations: Interpretable Diabetic Retinopathy Grading with CNN-Transformer Ensembles, Visual Explainability and Vision-Language Models
Department of Informatics, University of Salerno(萨勒诺大学信息学院);Department of Information Security and Communication Technology (IIK), Norwegian University of Science and Technology(挪威科技大学信息安全部)
LifeGPT: Topology-Agnostic Generative Pretrained Transformer Model for Cellular Automata
Massachusetts Institute of Technology(麻省理工学院);Schwarzmann College of Computing(施瓦茨曼计算学院);Laboratory for Atomistic and Molecular Mechanics (LAMM)(原子与分子力学实验室);Center for Computational Science and Engineering(计算科学与工程中心)
本文提出拓扑无关的仅解码器GPT模型LifeGPT,在无网格拓扑先验下以近乎完美准确度模拟Conway's Game of Life,并引入自回归自回归器实现递归,为大型语言模型框架内的通用计算及生物逆问题求解铺路。
What Language Model to Train if You Have One Million GPU Hours?
Hugging Face(Hugging Face公司);LightOn(LightOn公司);NTU, Singapore(新加坡南洋理工大学);Booz Allen(博思艾伦公司);EleutherAI(EleutherAI研究院);Naver Labs Europe(Naver欧洲实验室);University of Washington(华盛顿大学);Berkeley University(加州大学伯克利分校);Big Science(Big Science项目组);Brown University(布朗大学);LPENS(巴黎高等师范学院物理实验室);Allen Institute for AI(艾伦人工智能研究院);New York University(纽约大学)
A Percolation Model of Emergence: Analyzing Transformers Trained on a Formal Language
Harvard University(哈佛大学);University of Michigan(密歇根大学);RIKEN(理化学研究所);The University of Tokyo(东京大学);NTT Research, Inc.(NTT研究公司);RIKEN Center for Biosystems Dynamics Research(理化学研究所生物系统动力学研究中心)