Functional Depth Is Learned: Isolating the Computation That Layers Produce Only Together
JaeSeong Kim, KyungTae Lim
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Causal and Interpretable Structures in LLM Compositional TasksarXiv · 2026
- Effective Does Not Mean Useful: Conditional Functional Substitutability for Redundancy and Scaling in TransformersarXiv · 2026
- Persistent Depth Ordering amid Shifting Block-Bypass Responses in Language Model PretrainingarXiv · 2026
- Transformers Provably Learn Graph Search: Training Dynamics and the Exponential Power of DeptharXiv · 2026
- Repair Changes Which Layers to Remove: Exact Optima for Depth Pruning of Language ModelsarXiv · 2026
- Probing Transformer Representations Layer by Layer, Module by ModulearXiv · 2026