Transferring Architecture as an Optimization Prior
Organizations: MIT CSAIL · UCSF
Abstract
Initialization determines the optimization "fate" of a model, going far beyond just setting the scale of its weights. It establishes a fundamental initial geometry over the input data, dictating certain aspects such as which examples are considered close and which representations gradient descent will naturally refine first. In this paper, we view the initial geometry of a network as an optimization prior and ask whether a network can change its optimization prior by referencing a completely different architecture. To investigate this question, we use an initialization procedure where a target network is aligned to the representational geometry of a randomly initialized guide network before any downstream training occurs. Crucially, alignment to the guide network cannot transfer learned features, never receives gradients, and does not use labels. We demonstrate that this cross-architecture transfer of "fate" benefits the target network in two key domains: (1) instilling the optimization benefits of depth into shallow networks by aligning them to deeper networks, and (2) transferring representational granularity by using fine-resolution networks to shape the geometry of networks with coarser representations. In both cases, the alignment results in improved downstream performance of the target network. Ultimately, this demonstrates that a model's architectural destiny can be decoupled from its physical structure and explicitly modified at initialization.
Figures & tables
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Alignment Epochs per Stage | Optimizer | Learning Rate (Alignment) | Learning Rate (Standard Training) | Warmup (Alignment) | Warmup (Standard Training) | Weight Decay | Gradient Clipping |
| ResNets | 1 | AdamW [ 21 ] | 3% | 5% | 0.1 | 1.0 | ||
| ViTs | 1 | AdamW | 3% | 5% | 0.1 | 1.0 | ||
| ConvNeXtV2 | 1 | AdamW | 3% | 5% | 0.1 | 1.0 | ||
| GPT-2 | 1 | AdamW | 3% | 5% | 0.1 | 1.0 |
| ImageNet Top-1 Accuracy ( ): ResNet | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Target | Baseline | CKA guide target | DiffKNN guide target | ||||||||
| RN-10 | RN-18 | RN-50 | RN-101 | RN-152 | RN-10 | RN-18 | RN-50 | RN-101 | RN-152 | ||
| RN-10 | 60.88 0.59 | 61.02 0.92 | 63.69 0.96 | 64.03 0.99 | 64.05 0.56 | 63.99 0.49 | 61.05 0.54 | 63.72 0.61 | 64.51 0.51 | 64.49 0.89 | 64.40 0.92 |
| RN-18 | 68.16 0.11 | 67.54 0.81 | 69.00 0.44 | 70.57 0.89 | 71.29 0.65 | 71.71 0.74 | 68.02 0.47 | 68.92 0.93 | 71.01 0.26 | 71.14 0.46 | 71.94 0.54 |
| RN-50 | 74.43 0.14 | 73.19 0.75 | 74.01 0.72 | 74.50 0.61 | 77.00 0.696 | 77.54 0.78 | 74.17 0.86 | 74.83 0.81 | 74.66 0.62 | 77.02 0.71 | 77.55 0.86 |
| RN-101 | 76.11 0.16 | 75.69 0.78 | 75.88 0.71 | 76.00 0.51 | 76.16 0.72 | 78.80 0.69 | 76.00 0.61 | 76.03 0.54 | 75.91 0.65 | 76.13 0.52 | 78.84 0.78 |
Neural Network Initialization
Neural network initialization studies how starting weights shape signal propagation, optimization, generalization, and reproducibility.
See all 59 papers