Transformers learn functional depth as pretraining builds cross-layer dependencies
Original title: Functional Depth Is Learned: Isolating the Computation That Layers Produce Only Together
Across Pythia, OLMo, and Amber, removing connected components hurt perplexity more than matched random directions in all 35 cells.
The paper isolates computation that appears only when specified transformer layers act together, using an inclusion-exclusion decomposition under identity ablation. Public checkpoints of Pythia, OLMo, and Amber show write-relative connected coordination strengthening during pretraining at every measured interaction order. Those components were more consequential for perplexity than norm-matched random directions, and pairwise similarity was negatively correlated with coordination but not interchangeable with it.
- Connected coordination strengthened from initialization or the earliest checkpoint at all measured orders.
- Deleting connected components damaged perplexity more than random directions in all 35 model-order cells.
- Pairwise representation similarity was negatively correlated with connected coordination across seven models.
- Similarity- and coordination-based block removal often agreed on Pythia but diverged on Amber.
From the original article
1 min read at arxiv.orgTransformer 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.
By JaeSeong Kim · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.