arXiv:2609.01170cs.LGSep 2026

Manuscript Offprint

arXiv:2609.01170

Pre-carved Niches: The Formation Dynamics of Modular Task Partitions in Early LLM Training

Guangqi Li, Yongxin Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models exhibit a modular internal organization that mirrors well-studied functional networks of the human brain, but how this organization forms during training is unknown: prior work has characterized finished models, not the formation process. We track formation step by step: we train a Pythia-410M model from scratch (two trajectories, bf16 and fp32) and run attribution patching at every step, alongside probes for gradient norms, effective updates, weight norms, and first-order loss decomposition across 14 tasks in four cognitive domains. Three findings. First, the modular map is pre-carved: before any learning, the dominant task pair already overlaps at ≈3.6×\approx3.6\times the attribution substrate (a task-independent baseline), and its layer-0 concentration is an architecture-level constant on this model family. Second, the partition locks in through two sharp jumps whose amplitudes do not track the learning-rate schedule (the second reaching 20.4σ20.4\sigma quiet-window / 6.2σ6.2\sigma global), accompanied by gradient-level relative deprivation—winners receive 2.25→2.73×2.25\to2.73\times the loser's gradient supply, 9.5–11.5 standard deviations below a random control—that does not propagate to updates or weights. Third, deviation from the substrate appears only in the domain being learned, consistent with the hypothesis that modularity tracks learning. We close by separating the feature-level account we can defend from the mechanistic questions we cannot, and we pre-register the scale-threshold hypothesis behind our ongoing 2.8B experiments.

1 Introduction

Functional specialization is a hallmark of human cognition: language, formal reasoning, social reasoning, and physical reasoning are each supported by distinct, reproducible cortical networks. Whether such modular organization is a general principle of intelligent systems—or an evolutionary accident of biological brains—has become an empirically testable question with the rise of large language models. Han et al. (2026) showed that six instruction-tuned LLMs (24B–123B parameters) exhibit a modular architecture aligned with these four domains: tasks sharing a human brain network recruit overlapping sets of their top-0.1% most-attributed neurons (mean pairwise Jaccard overlap 12.9% within-domain vs. 3.0% cross-domain), and replacing one task's top-0.1% neurons with their alternative-input activations damages same-domain tasks far more than cross-domain ones (drop in both-correct accuracy—the fraction of examples where the model assigns higher likelihood to the correct continuation on both the original and the alternative inputs; chance 0.25, not standard top-1 accuracy—of 25.9% vs. 2.5%; a 10.3×10.3\times asymmetry). Yet the authors themselves leave the central question open: why does this modularity form? Their project page poses the question with no experiments attached.

Existing proposals divide into two camps. The functional-necessity view holds that modularity arises to avoid interference between simultaneously learned computations—a pressure that plausibly operates at training time. The historical-contingency view holds that the final partition is a path-dependent artifact of early training noise, not a convergent optimum. Both camps lack direct evidence, because all prior work has characterized trained networks. The formation process itself—what happens to task-specific neural populations during the earliest steps of training—has not been observed at the resolution at which it unfolds.

We close this gap by tracking module formation step by step. Attribution patching is here a borrowed instrument, not an object of study: Han et al. used it to map trained models, and we use it unmodified as a time-resolved instrument to measure formation dynamics. Our contribution is the dynamics it reveals—the pre-carved map, the lock-in jumps, the gradient-layer deprivation—plus the measurement discipline (substrate-calibrated deviation, dual-calibration of significance, multi-probe cross-checks) that converts the instrument's output into dynamics evidence. We train a Pythia-410M model from scratch and run attribution patching (the same minimal-pair localization used by Han et al.) at every training step, together with a multi-probe system that additionally records per-neuron gradient norms, effective updates, weight norms, task-conditioned gradients, and first-order loss decompositions across 14 tasks in four cognitive domains. Our contributions are:

  1. The map is pre-carved. Before training has done anything measurable, the task-overlap structure already exists (dominant pair ≈3.6× above the attribution substrate at step 0), its layer-0 concentration is stable across six corpus variants (≈40%), suggesting an architecture-level constant of the pipeline on this model family, and a construction-level separation factor is reproducible across seeds—but we explicitly resolve this to the feature level and leave the underlying mechanism open.

  2. The partition locks in through two sharp jumps, not gradual growth. Overlap rises in two sharp transitions (steps 18–25 and step ≈80), the second being the largest event of the run (+20.4σ quiet-window / 6.2σ global, defined in Section 3); the locked state is dynamically maintained under high roster churn rather than frozen.

  3. The partition is accompanied by gradient-level relative deprivation that does not propagate. Winner neurons receive 2.25→2.73× the loser's gradient supply (sum of per-neuron gradient norms; a ratio 9.5–11.5 standard deviations below a random same-size control), yet effective updates and weight magnitudes show no corresponding asymmetry; and deviation from the substrate appears only in domains whose loss is actually being driven down, establishing a tight coupling between modularity and learning.

We also report eight quantitative falsifications (of turnover, migration, absolute gradient starvation, one-shot irreversibility, a weight-equilibrium model, and three mechanistic factor hypotheses) as negative results that sharply constrain what the formation mechanism can be.