Large scale pretraining (PT) followed by fine-tuning (FT) is the central paradigm of modern deep learning, yet how PT shapes FT generalization remains poorly understood. We use a synthetic setup in which the ground-truth concept geometry of entities is known, as a controlled testbed to study how representational geometry affects model behavior and how PT representations determine FT generalization. We first show that models differing only in training seed can closely match in PT loss yet vary substantially in FT generalization. We hypothesize that a representational lottery underlies this phenomenon: the random seed dependent geometry formed during PT determines what FT can reach. We confirm this causally. First, injecting the ground-truth concept geometry into the model yields near-ceiling FT generalization, showing that good representations directly drive generalization. Then, distilling a lucky seed's learned representation into an unlucky seed unlocks FT generalization, while distilling the same model's behavior does not. Furthermore, representation distillation can merge entities that never interacted during PT, which FT alone cannot. Finally, we show that regularizing representational drift during FT enables naturalistic learning: only models with good representations learn the task, and they generalize, while models with poor representations fail to fit it. Under plain FT, by contrast, models with poor representations fit the training objective by reshaping their pretrained representations. We reproduce the distillation result in Pythia-160M and Pythia-410M, each pretrained multiple times with different random seeds, and show that the transferable representation lives in the deep layers at both scales. Overall, PT acts as a lottery over representations, and the representation a model draws determines how it adapts during FT in a way that behavior alone does not explain.
Figures & tables
Figure 1: Overview. A representation lottery during pretraining determines fine-tuning generalization. a. World Setup. 5,175 cities with known geometry constitute the underlying world, and geometric tasks are defined on top of them. The cities are split into two groups, the Americas (A) and the rest of the world (R) (Sec. 2 ). b. Training Data. The pretraining data consist of strings generated by plugging cities into geometric tasks, tokenized at the character level (Sec. 2 ). c. Fine-tuning Task. An unseen fine-tuning task, sangle, is trained on within-group instances and tested across groups (Sec. 2 ). d. Multi-seed experiments. We pretrain multiple runs that differ only in their seed. Different runs form different representations, and their fine-tuning performance varies substantially (Sec. 3 ). e. Oracle Representations. Injecting the true coordinates as representations greatly improves FT generalization (Sec. 4.1 ). f. Representation Distillation. Distilling a good run’s representation into a poor run improves its FT generalization, while distilling behavior does not help (Sec. 4.2 ). g. Representation Adaptation. A representation left split during PT can be merged via representation distillation, but not via FT (Sec. 4.3 ).
Figure 2: Same pretraining loss, different fine-tuning. Runs that differ only in their PT seed reach similar PT loss but fine-tune very differently. a. Pretraining Loss. PT loss curves of all 278 runs, colored by tier; the tiers do not cleanly separate by PT loss (App. C.1.1 ). b. Similar Loss, Different Generalization. Within a 5% band of final PT loss, FT generalization varies 7.2 -fold and correlates only weakly with the loss ( r=−0.41 ). c. ID vs OOD Accuracy. After plain FT, most runs fit the FT task in distribution, including runs that do not generalize OOD. d. Pretraining Seed is the Dominant Factor. Seven PT runs, each fine-tuned with fourteen FT seeds: super , good , and bad runs keep their tier, and only boundary runs show significant spread (App. C.1.2 ).
Figure 3: Oracle representations fine-tune at ceiling. Supplying the ground-truth representation lifts FT generalization to near ceiling; supplying one with the wrong geometry does not. a. Ground-truth representation input. Each city’s true coordinates are projected into the residual stream and added at the city’s last id token, at every layer after the first (App. C.3.1 ). b. OOD Performance. FT generalization without injection (Base), with shuffled coordinates (Shuffle), and with the true coordinates (Oracle Inj.); bars are means over PT seeds with standard errors, dots individual PT seeds, and the dotted line chance. c. Layer-5 Representation. Layer-5 representations of the three models, colored by true longitude.
Figure 4: Distilling a good representation transfers FT generalization. A good run’s layer-5 representation can be distilled into a poor run to improve its FT generalization while distilling the same teacher’s behavior does not. a. Representation distillation. Stage 1: continued pretraining on ordinary PT text but with the loss pulling the recipient’s layer-5 activations toward the teacher’s. Stage 2: FT with the distillation loss still active, to persist the installed geometry through FT. b. FT Generalization per Recipient. Two bad recipients’ FT generalization after plain FT (Nothing), distillation toward their own pretrained states, distillation of the teacher’s behavior, and distillation of the teacher’s representation; dots are FT seeds. c. 274 Teachers into One Recipient. Distilling each of 274 runs into the same bad-tier recipient, the recipient’s FT generalization tracks the teacher’s regularized FT generalization ( r=0.65 against the logarithm of the teacher’s score, as plotted; 0.70 on a linear scale).
Figure 5: A joint representation can be installed where pretraining made it impossible. a. An ortho model is trained on data where cities in A never interact with cities in R, and thus doesn’t have a common representation space relating both groups. Stage 1 pulls its layer-5 representations toward those of a teacher pretrained with mixed groups and a joint map assembles in the recipient; Stage 2 applies the RD loss through FT as in Sec. 4.2 b. FT generalization of the ortho recipient over FT: it rises only with representation distillation, and stays at the floor with behavior distillation or plain FT.
Figure 6: Representation Regularization reveals learnability. Under representation regularization, only runs with a good representation learn the task, in distribution and out of distribution, while runs with a bad representation learn less. a. Plain FT. In-distribution accuracy against FT generalization for all 278 runs, colored by tier: most runs are pressed against the in-distribution ceiling (median 0.89 ) whether or not they generalize ( r=+0.51 ). b. Regularized FT. The same runs under representation regularization: in-distribution accuracy spreads over [0.10,0.86] and tracks generalization ( r=+0.67 ). c. Forgetting. Forgetting of the PT tasks against the regularization strength λ : representation regularization cuts forgetting for the super run; the other three are unchanged, with no replay data.
Figure 7: Representation distillation transfers to Pythia. Representation distillation from a strong seed (coloured) beats plain FT (dashed line), but only from deep layers; representation regularization toward the weak seed’s own base states (gray) helps at 160M and for the first of the two 410M recipients. a. Pythia-160M. The worst of ten seeds, distilled at layers 2, 6, and 10 of its 12 layers. Plain FT gives 0.222 ; representation regularization gives 0.244 – 0.291 ; representation distillation at layer 10 gives 0.403 , while layer 2 adds nothing beyond regularization. b. Pythia-410M. The worst seed, distilled from two strong seeds at weight 0.1 . Bars are means and dots individual FT seeds.
Appendix
Topic
Main-text reference
A
Related work
all
Experimental setup
B.1
Notation and terminology
all
B.2
Synthetic model and training
§ 2
B.3
FT generalization metric
§ 2 , § 5
B.4
Representation extraction and probing
§ 2 , Fig. 1
Table 1: Appendix guide.
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 8: Fine-tuning curves by composition. All 278 runs, colored by tier, for the two in-distribution compositions (top left) and the four cross-group compositions whose mean is the paper’s FT generalization. Every tier fits the task in distribution; the tiers separate on each cross-group composition individually.
recipient 1 (plain 0.278 )
recipient 2 (plain 0.370 )
layer
weight
teacher A
teacher B
control
teacher A
teacher B
control
16
0.05
0.402
0.358
0.355
0.491
0.444
0.423
16
0.1
0.394
0.388
0.355
0.455
0.445
0.467
16
0.2
0.394
0.389
0.370
0.456
0.484
0.461
20
0.05
0.480
0.537
0.344
0.487
0.491
0.367
20
0.1
0.467
0.539
0.381
0.523
0.511
0.358
Appendix
Table 2: Pythia-410M distillation sweep. Two-hop OOD accuracy (mean of four FT seeds) after representation distillation from teacher A or teacher B into each recipient, at each layer and weight, compared with the self-regularization control. Plain FT gives 0.278 and 0.370 for the two recipients. Bold marks cells where every treated run exceeds every control run.
Figure 9: PT and FT trajectories by tier. (a) PT loss over the first 5 k steps ( 47 sampled runs); (b) held-out error on the distance task across the full 656 k steps (all 278 runs), both colored by final tier; neither metric separates the tiers. (c) FT generalization under the plain protocol for the same 278 runs; the tiers separate early in FT and remain separated.
Figure 10: Matching PT loss does not remove the variation in FT generalization. (a) FT generalization for each of 266 seeds, fine-tuned from its checkpoint at held-out loss 0.960±0.005 , plotted against the step at which it reached that loss and colored by eventual tier. (b) The same results plotted against FT generalization from each run’s final PT checkpoint.
tier
n
min
median
max
range
super
14
0.336
0.392
0.446
0.110
good
14
0.315
0.342
0.355
0.040
boundary
14
0.169
0.228
0.347
0.178
boundary
14
0.139
0.231
0.308
0.168
boundary
14
0.093
0.129
0.308
0.214
bad
14
0.049
0.060
0.098
0.050
Appendix
Table 3: Variation across FT seeds. FT generalization across fourteen FT seeds per PT seed, for seven seeds spanning the tiers.
Figure 11: Interaction between initialization and data order across ten seeds. Crossing the weight initializations and data orders of ten PT seeds; each cell reports FT generalization after full PT and plain FT, with boxed diagonal cells showing the original combinations. Rows and columns are seeds 1 – 10 , ordered by their original scores. Recombination scores cannot be predicted from initialization alone or from data order alone. The highest-scoring recombination ( 0.36 ) exceeds the original (diagonal) scores of both source seeds.
Figure 12: Step-0 answer readout. (a, b) The step-0 answer readout at the = position of the pretrained checkpoint (method detailed in this appendix) predicts the outcomes achieved after regularized FT: in-distribution learning ( r=0.48 ) and FT generalization ( r=0.64 ; color indicates FT generalization, n=278 ). Labels mark one good-tier seed and two bad-tier seeds.
Figure 13: Static metrics are weak predictors of FT generalization. Ten scalar summaries of the pretrained model against eventual FT generalization across the seeds, each panel annotated with its correlation and the fraction of good runs in its top decile (base rate 5% ). The step-0 answer readout (bottom right, orange) is the strongest selector.
Figure 14: Detecting runs that will generalize, without OOD data. (a) Every pretrained model is at chance on the FT task before fine-tuning. (b) Accuracy after the first 4% of FT already orders the seeds. (c) Under regularized FT, in-distribution accuracy with a fixed threshold of 0.70 separates the seeds that generalize (AUC 0.95 ).
pipeline variant
recipient A
recipient B
plain FT (no intervention)
0.09
0.07
matched additional PT, no distillation
0.10
—
regularized FT only, no initial distillation
0.09
0.10
initial distillation, then plain FT
0.20→0.13
0.10
distillation + fixed-target regularization
0.15
0.12
distillation + periodic regularization
0.16
0.17
Appendix
Table 4: Distillation stage ablations. FT generalization for variants of the two-stage pipeline on two bad-tier recipients using the same initial distillation protocol. The full-pipeline row is the matched grid of Fig. 4 b (mean of four FT seeds); the other rows are single runs under the same 24 -segment protocol.
Figure 19
policy
test
runs
range
above the null band
shared
across-generalization
278
0.07 – 0.50
62 (the lottery, Sec. 3 )
ortho
across-generalization
30
0.05 – 0.20
0
weak
across-generalization
25
0.06 – 0.19
0
Appendix
Table 5: Across-generalization across seeds. Across replications by PT policy, no ortho or weak run exceeds the null band (0.20) on across-generalization.
Figure 17: Parameter change and fixed-target regularization. (a) Across 276 seeds, parameter change during plain FT is negatively correlated with FT generalization ( r=−0.40 ). (b) Four seeds that end plain FT ( λ=0 ) at 0.10 – 0.23 ; by tier, which is assigned by the peak reached under plain FT, they are one super, one boundary, and two bad seeds. (c) Forgetting over the same sweep, measured as the held-out error on the PT distance task at the end of FT (coordinate units). Without replay data, regularization reduces this error for the super seed; the other three retain high error.
Figure 18: Per-layer parameter change. Relative parameter change during plain FT by layer, with thin lines for individual runs and bold lines for tier means. The tiers differ in the embedding through layer 5 and show similar parameter changes at layer 6 and the output head.
Figure 19: Plain FT, fixed-target, and periodic regularization. Final-checkpoint FT generalization under plain FT, fixed-target regularization, and periodic regularization at two strengths. For the good-tier seeds, periodic regularization gives the highest final scores, while strong fixed-target regularization lowers both seeds’ tiers. The bad-tier seed remains within its tier under all conditions.
Figure 20: Variation across randomly sampled PT seeds. Forty-three PT seeds, each fine-tuned under ten FT seeds (dots), sorted by their mean FT generalization (bar) and colored by the mean’s tier. The between-seed standard deviation ( 0.036 ) exceeds the within-seed standard deviation ( 0.021 ), with an intraclass correlation of 0.74 .
s43
sd816
ortho
KL to teacher, before → after
0.060→0.026
0.095→0.021
0.275→0.020
top-1 agreement, before → after
0.81→0.83
0.81→0.84
0.76→0.81
FT generalization, plain FT
0.096
0.075
0.080
FT generalization, behavior distillation
0.073
0.073
0.078
FT generalization, representation distillation
0.280
0.271
0.320
FT generalization, behavior at 5× weight
0.110
0.104
—
Appendix
Table 25
Figure 21: Behavior distillation in Pythia. Behavior distillation against representation distillation, with the same teacher. The percentage under each orange bar is the share of next tokens on which student and teacher agree at the end of fine-tuning.
Figure 22: Representation maps across PT seeds. Layer-5 representation maps for seeds (rows) at ten PT checkpoints (columns), with a basis fitted separately at each checkpoint. Distinct maps emerge early in PT and persist. Label colors indicate each seed’s FT generalization tier; static summaries of the representation are compared with tier in App. C.2.2 . Continued in Figs. 23 – 28 .
Figure 23: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Figure 24: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Figure 25: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Figure 26: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Figure 27: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Figure 28: Representation maps across PT seeds (continued). Additional seeds in the layout of Fig. 22 .
Large language models are now adapted through chains of post-training stages rather than through a single instruction-tuning pass. This paper studies whether such sequential post-training gradually compresses internal representations into low-rank, anisotropic, and homogeneous feature spaces. We define a measurement suite for hidden states, logits, token trajectories, and LoRA updates, and we use it to analyze supervised fine-tuning, preference optimization, safety/refusal tuning, math and code specialization, and long chain-of-thought tuning under controlled stage orderings. The central hypothesis is that excessive representation concentration is not merely a geometric curiosity: it predicts reduced plasticity during later adaptation, weaker out-of-domain generalization, and poorer calibration. We further evaluate lightweight interventions, including mixed-domain replay, feature refresh, representation diversity regularization, and LoRA update decorrelation, as ways to preserve future learnability without giving up the behavioral gains of post-training.
Yichen Liu, Mingyu Chen, Hao Wang +7
Hangzhou Dianzi University · Zhejiang Gongshang University · Ningbo University +1
Not all facts a language model can recall support further learning equally well. We distinguish active facts, which support generalization beyond their own recall, from inert facts, which can be recalled but do not support such generalization in a given task. We study this distinction by constructing new relations from existing ones. Take the relation that maps a place to its continent (Paris -> Europe) and assign each of its answers an arbitrary new label (Europe -> crab, Asia -> zebra). The new relation then maps Paris -> crab. We fine-tune the model on the new relation for a subset of subjects, without telling it the original relation or the relabeling rule, and test whether it assigns the corresponding labels to held-out subjects that share an answer in the original relation. Having learned Paris -> crab, does it answer Munich -> crab? Across eleven language models and 70 relations, how linearly readable the original relation is in pretrained representations strongly predicts this generalization. Within each model, the two correlate across relations at Pearson r = 0.87 to 0.92. This association persists when controlling, separately and jointly, for the number of fine-tuning subjects and answers, the model's accuracy on the original relation, and how often the subjects occur in pretraining text. It is also robust to re-randomizing the label assignment and fine-tuning seed, and to replacing the animal labels with labels from thirteen other semantic categories. When we map a fine-tuned model's wrong label back to the original answer it was assigned to, Munich -> zebra becomes Munich -> Asia. Answers recovered this way are more often among the linear probe's top answers for the subject than among the pretrained model's own. Whether a new relation generalizes depends less on whether its facts can be recalled than on how readily their shared structure can be read out linearly.
Faridoun Mehri, Hinrich Schütze
Center for Information and Language Processing, LMU Munich Munich Center for Machine Learning (MCML)
People typically assume that LMs stably mature from pattern-matching parrots to generalizable intelligence during pre-training. We build a toy eval suite and show this mental model is wrong: throughout pre-training, LMs frequently and suddenly hop between parrot-like and intelligence-like computations. We call this mode-hopping. Across our suite, LMs suddenly latch onto memorized or in-context patterns instead of in-context learning, use System 1 instead of System 2 thinking, pick up what sounds true instead of what is true, fail at multi-hop persona QA, out-of-context reasoning, and emergent misalignment -- then just as suddenly revert and generalize. Mode-hopping is not explained by standard optimization dynamics: it is locally stable and cannot be fixed by checkpoint averaging. We instead think of it as a capacity allocation problem: in a capacity-bounded model, generalizable circuits must compete with the shallow ones learned early in training, and the data in each pre-training window may decide which circuits win. Our suite provides a new efficient lens on generalization. We demonstrate two concrete applications: (i) select intermediate pre-training checkpoints that strongly generalize reasoning and alignment, better than the final pre- or mid-training checkpoints, and (ii) select pre-training data that controls and stabilizes generalization dynamics.
Jiaxin Wen, Zhengxuan Wu, Dawn Song +1
UC Berkeley · Stanford University, Google DeepMind