One-for-All Model Initialization with Frequency-Domain Knowledge

Jianlu Shen, Fu Feng, Yucheng Xie, Jiaqi Lv, Xin Geng · Submission to ICLR 2026 · Rejected

TL;DR

Researchers have discovered that a neural network's foundational, task-agnostic knowledge—its "learngene"—is stored primarily in the low-frequency components of its weights. By using the Discrete Cosine Transform (DCT), the proposed FRONT framework can extract this knowledge and "resize" it to initialize models of any depth or width, accelerating convergence by up to 15× without requiring expensive generative training.

What Problem Does This Paper Address?

In the current AI landscape, we usually transfer knowledge by fine-tuning massive, pre-trained "monolithic" models. However, this knowledge is often "locked" into a specific architecture. If you want to move knowledge from a large model to a smaller one (or one with a different shape), you usually have two suboptimal choices:

  1. Parameter Selection: Picking specific layers or neurons, which often breaks the structural interdependencies of the weights.
  2. Generative Prediction: Training a separate "hypernetwork" to predict weights for new architectures. This requires a "model zoo" (a huge collection of trained models) and massive computational power.

The authors address the "learngene" challenge: how can we extract a compact, architecture-agnostic "genetic code" from a single model and use it to jumpstart training for models of any size?

Methods

The core innovation is moving from the spatial domain (individual weight values) to the frequency domain.

  1. 3D Discrete Cosine Transform (DCT): Much like how a JPEG image is compressed by keeping low-frequency color data and discarding high-frequency noise, the authors apply 3D-DCT to weight tensors. This separates the "core" structural knowledge (low frequency) from task-specific details (high frequency).
  2. FRONT (Direct Extraction): This is the plug-and-play version. You take an off-the-shelf model, transform its weights via DCT, and keep the low-frequency coefficients. To initialize a target model of a different size, you simply truncate (if the target is smaller) or zero-pad (if the target is larger) these coefficients in the frequency domain, then perform an Inverse DCT (IDCT).
  3. FRONT+ (Refinement): For even better results, the authors introduce a "spectral regularizer." During a brief refinement phase, this loss function penalizes high-frequency energy, effectively "distilling" the model's knowledge into the low-frequency spectrum to make it more transferable.

Datasets

The authors validated FRONT across diverse domains:

  • Vision: Pre-trained on ImageNet-1K. Downstream evaluation included Oxford Flowers, CUB-200-2011, Stanford Cars, CIFAR-10/100, Food101, and iNat-2019. They also tested object detection on COCO and segmentation on DeepGlobe, ISIC, Chest X-Ray, and FSS-1000.
  • Language: Pre-trained on English Wikipedia and the Toronto Book Corpus. Downstream performance was measured using the GLUE benchmark (SST-2, MNLI, QNLI, etc.).

Key Insights and Ideas

  • The Stability of Low Frequencies: Empirical analysis showed that during fine-tuning, low-frequency components remain remarkably stable across different tasks, while high-frequency components are volatile and task-specific. This confirms that the "learngene" is spectral.
  • Architecture-Agnosticism: Because padding and truncation happen in the frequency domain, the "shape" of the knowledge is decoupled from the specific number of layers or neurons.
  • Theoretical "Aha!": The authors provide a formal analysis showing that optimization gradients are naturally concentrated in the high-frequency subspace. This explains why low-frequency initialization provides such a robust "foundation" that doesn't get washed away during training.
  • Cross-Paradigm Success: Surprisingly, the method works even when transferring between different paradigms, such as moving knowledge from a BERT (Encoder) to a GPT (Decoder).

Key Results

  • Massive Speedups: In vision tasks, FRONT-initialized models achieved the performance of a standard 150-epoch training schedule in just 10 epochs (a 15× acceleration).
  • Efficiency in Language: For models like BERT and GPT-2, FRONT reduced the required training FLOPs by an average of 40.5% compared to training from scratch.
  • State-of-the-Art: FRONT consistently outperformed other initialization methods like LiGO, Wt Select, and Mimetic-Init, especially when there was a significant size mismatch between the source and target models.
  • Zero-Cost Initialization: The extraction and resizing process takes mere milliseconds on a standard CPU.

Limitations and Future Work

  • Extreme Architectural Gaps: The authors note that transferring knowledge between fundamentally different structures—like moving from a Transformer to a pure CNN—still leads to performance degradation. This is because these architectures don't share the same "tensor-axis semantics."
  • High-Frequency Potential: Currently, FRONT mostly discards high-frequency information. Future work could explore adaptive ways to transfer some of these "fine details" if the source and target tasks are highly similar.
  • Axis Misalignment: The authors aim to develop intermediate representations that are more robust to models that don't align perfectly along the standard depth/width axes.

Summary updated

BibTeX
@inproceedings{shen2026one,
  author = {Jianlu Shen and Fu Feng and Yucheng Xie and Jiaqi Lv and Xin Geng},
  title = {{One-for-All Model Initialization with Frequency-Domain Knowledge}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=h6xWMCDjo0},
}
Figure