功能深度是学出来的:Pythia、OLMo、Amber 研究揭示 Transformer 层间协同计算如何随预训练形成
Functional Depth Is Learned: Isolating the Computation That Layers Produce Only Together
AI 导读
一项 arXiv 研究提出精确的容斥分解方法,隔离出只有在指定层集合共同作用时才出现的“连通分量”计算,并追踪 Pythia、OLMo 和 Amber 的公开 checkpoint。结果显示这种层间协同随预训练持续增强,删除它们在全部 35 个模型阶单元格中比删除同位置范数匹配的随机方向更严重地损害困惑度。七个模型中层对表示相似性与协同度呈一致负相关,但两信号不可互换。
正文 · 原文
Abstract:Transformer performance scales with depth, but layer count merely counts the opportunities for sequential computation: layers could still behave as nearly independent refinements that barely depend on one another. We study how transformers develop functional depth during pretraining, introducing an exact inclusion-exclusion decomposition that isolates the connected component, i.e., the computation that appears only when a specified set of layers acts together under identity ablation. Tracking this quantity across public checkpoints of Pythia, OLMo, and Amber yields three findings. First, write-relative connected coordination strengthens from its initialization or earliest-checkpoint baseline as pretraining proceeds, across all measured interaction orders. Second, these connected components are behaviorally consequential under direct intervention: deleting them damages perplexity more than deleting a norm-matched random direction at the same site in all 35 measured model-order cells. Third, pairwise representation similarity is consistently negatively correlated with pairwise connected coordination across seven models, yet the two signals are not interchangeable: similarity- and coordination-based block-removal criteria often agree in Pythia but diverge on Amber. Together, these results suggest that architectural depth provides the opportunity for sequential computation, while pretraining progressively organizes cross-layer dependencies within that depth.
| Comments: | 9 pages, 2 figures |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.27911 [cs.AI] |
| (or arXiv:2611.27911v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.27911 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jae Seong Kim [view email]
[v1]
Fri, 20 Nov 2026 17:50:26 UTC (501 KB)
来源:arXiv cs.AI · arxiv.org