Breaking the Scale Barrier: One-Shot Knowledge Transfer via Frequency Transform
Organizations: School of Computer Science and Engineering, Southeast University, Nanjing, China · Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China
Abstract
Transferring knowledge by fine-tuning large-scale pre-trained networks has become a standard paradigm for downstream tasks, yet the knowledge of a pre-trained model is tightly coupled with monolithic architecture, which restricts flexible reuse across models of varying scales. In response to this challenge, recent approaches typically resort to either parameter selection, which fails to capture the interdependent structure of this knowledge, or parameter prediction using generative models that depend on impractical access to large network collections. In this paper, we identify the low-frequency components of model weights as the concrete carrier of foundational, task-agnostic knowledge, its learngene", and validate this by demonstrating its efficient inheritance by downstream models and tasks. Based on this insight, we propose FRONT (FRequency dOmain kNowledge Transfer), a novel framework that uses the Discrete Cosine Transform (DCT) to isolate the low-frequency learngene". This learngene can be seamlessly adapted to initialize models of arbitrary size via simple truncation or padding, a process that is entirely training-free. For enhanced performance, we propose an optional low-cost refinement process that introduces a spectral regularizer to further improve the learngene's transferability. Extensive experiments demonstrate that FRONT achieves the state-of-the-art performance, accelerates convergence by up to in vision tasks, and reduces training FLOPs by an average of 40.5% in language tasks. Code is available at https://github.com/LUcy0505/FRONT.
Figures & tables
| (DeiT-Ti) | (DeiT-S) | (DeiT-B) | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Methods | Epoch | Para. | 2.2 | 3.1 | 4.0 | 4.9 | 5.8 | Para. | 7.9 | 11.5 | 15.0 | 18.6 | 22.2 | Para. | 29.9 | 44.1 | 58.3 | 72.5 | 86.7 | |
| Direct | He-Init | 0 | 0 | 34.7 | 40.6 | 43.7 | 46.8 | 48.3 | 0 | 42.2 | 49.4 | 52.1 | 53.7 | 55.5 | 0 | 47.9 | 53.1 | 54.4 | 55.0 | 56.7 |
| Mimetic | 0 | 0 | 35.1 | 40.2 | 43.2 | 46.3 | 48.1 | 0 | 43.3 | 49.1 | 53.0 | 54.1 | 55.6 | 0 | 50.2 | 54.3 | 56.5 | 58.5 | 58.6 | |
| Wt Select | 0 | 3.9 | 46.1 | 52.3 | 55 | 56.8 | 58.9 | 15.0 | 50.1 | 56 | 57.5 | 61.9 | 63.3 | 58.2 | 56.7 | 61.1 | 63.6 | 64.8 | 65.9 | |
| Heur-LG | 0 | 1.7 | 41.5 | 47.4 | 50.5 | 53.5 | 55.5 | 6.1 | 52.3 | 57.3 | 61.7 | 64.4 | 65.9 | 22.8 | 60.5 | 68.7 | 72.2 | 73.6 | 74.0 | |
| Methods | Epoch | Para. | 11.5 | 25.1 | 44.1 | 98.0 | 173.1 | |
|---|---|---|---|---|---|---|---|---|
| Direct | He-Init | 0 | 0 | 49.4 | 51.5 | 53.1 | 46.6 | 31.3 |
| Mimetic | 0 | 0 | 49.1 | 48.0 | 54.3 | 47.7 | 33.0 | |
| Wt Select | 0 | 26.8 | 48.6 | 50.7 | 55.4 | / | / | |
| LiGO | 0 | 10.0 | 63.6 | 63.1 | 69.5 | 70.0 | 73.7 | |
| DeiT-Ti, 3.0M | DeiT-S, 11.3M | ||||||||||||||||||
| Methods | Para. | Flow. | CUB | Cars | C 10 | C 100 | Food | iNat. | Aver. | Para. | Flow. | CUB | Cars | C 10 | C 100 | Food | iNat. | Aver. | |
| Direct | He-Init | 0 | 53.9 | 26.1 | 19.9 | 92.4 | 68.3 | 68.4 | 52.3 | 54.5 | 0 | 57.2 | 27.3 | 23.8 | 94.0 | 66.5 | 70.6 | 54.0 | 56.2 |
| Mimetic | 0 | 52.1 | 35.0 | 20.5 | 88.9 | 63.4 | 66.9 | 49.0 | 53.7 | 0 | 57.4 | 39.6 | 34.2 | 91.6 | 65.7 | 67.1 | 52.2 | 58.3 | |
| Wt Select | 2.9 | 55.0 | 34.4 | 21.7 | 92.5 | 67.0 | 67.4 | 51.2 | 55.6 | 11.0 | 58.3 | 33.1 | 28.1 | 94.1 | 68.1 | 69.0 | 54.2 | 57.8 | |
| Heur-LG | 1.5 | 64.7 | 44.6 | 37.7 | 94.0 | 71.1 | 74.7 | 57.4 | 63.5 | 5.7 | 69.1 | 48.0 | 51.2 | 95.1 | 72.8 | 76.8 | 59.3 | 67.5 | |
| Cluster-LG | 2.4 | 62.8 | 44.8 | 36.9 | 94.1 | 74.5 | 78.6 | 56.4 | 64.0 | 5.1 | 65.5 | 45.4 | 46.3 | 95.4 | 74.6 | 78.4 | 60.4 | 66.6 | |
| Task | Scratch | KD | FRONT |
|---|---|---|---|
| SST-2 | 78.97 | 77.75 | 82.44 ( 3.47) |
| MNLI | 63.65 | 64.81 | 74.08 ( 9.27) |
| MRPC | 66.42 | 64.14 | 68.46 ( 2.04) |
| CoLA | 8.14 | 9.14 | 17.38 ( 8.24) |
| QNLI | 57.21 | 58.00 | 70.86 ( 13.65) |
| QQP | 81.50 | 80.07 | 84.93 ( 4.86) |
| ResNet50 | ResNet152 | |||||
|---|---|---|---|---|---|---|
| Rand. | FRONT | Rand. | FRONT | |||
| Image. | 74.1 | 76.1 | 2.0 | 76.8 | 77.2 | 0.4 |
| Flow. | 51.3 | 91.3 | 40.0 | 28.0 | 87.7 | 59.7 |
| CUB | 40.7 | 68.9 | 28.2 | 22.8 | 68.2 | 45.4 |
| Cars | 48.6 | 88.2 | 39.6 | 29.3 | 87.4 | 58.1 |
| C10 | 94.8 | 95.6 | 0.8 | 95.6 | 95.7 | 0.1 |
| 0.33 | 0.50 | 0.67 | 0.83 | 1.00 | |
|---|---|---|---|---|---|
| – | 60.63 | 62.74 | 64.79 | 65.06 | 66.19 |
| 66.61 | 66.64 | 66.65 | 66.58 | 66.60 | |
| 66.97 | 67.22 | 67.02 | 67.11 | 67.13 | |
| 67.08 | 67.58 | 68.02 | 67.92 | 67.88 | |
| 66.74 | 66.92 | 66.00 | 66.72 | 66.94 | |
| 1 | 66.57 | 66.76 | 66.60 | 66.69 | 66.75 |
| norm | SST-2 | MNLI | MRPC | CoLA | QNLI | QQP | STS-B | Avg | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 78.97 | 63.65 | 66.42 | 8.14 | 57.21 | 81.50 | 17.27 | 53.31 | ||||
| ✓ | 82.11 | 72.14 | 68.62 | 4.63 | 66.95 | 84.71 | 43.19 | 60.34 | |||
| ✓ | 82.34 | 66.70 | 68.87 | 10.23 | 62.57 | 81.81 | 42.79 | 59.33 | |||
| ✓ | 80.73 | 67.29 | 69.61 | 12.34 | 60.97 | 78.78 | 36.85 | 58.08 | |||
| ✓ | 80.85 | 65.69 | 67.40 | 14.35 | 61.76 | 81.50 | 42.65 | 59.17 | |||
| ✓ | ✓ | 81.19 | 72.17 | 70.34 | 16.42 | 69.98 | 84.82 | 50.35 | 63.61 |
| norm | Acc (%) | |||
|---|---|---|---|---|
| 34.7 | ||||
| ✓ | 46.5 | |||
| ✓ | 46.6 | |||
| ✓ | 54.8 | |||
| ✓ | 47.7 | |||
| ✓ | ✓ | 50.1 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Training Settings | Configuration |
|---|---|
| optimizer | AdamW |
| base learning rate | Ti: 5e-4 S: 2.5e-4 B: 1.25e-4 |
| warmup learning rate | 1e-6 |
| weight decay | 0.05 |
| optimizer momentum | 0.9 |
| batch size | Ti: 512 S: 256 B: 128 |
| Dataset | Batch Size | Epochs DeiT/ResNet | Learning Rate | Drop Last | Warmup Epochs | Droppath Rate | Color Jitter | Auto Augment | Random Erase | Mixup | Cutmix | Scheduler | Optimizer |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Oxford Flowers | 512 | 300/100 | 3e-4 | False | 0 | 0 | 0.4 | rand-m9-mstd0.5-inc1 | 0.25 | 0 | 0 | cosine | AdamW |
| CUB-200-2011 | 512 | 300/100 | 3e-4 | False | 0 | 0.1 | 0 | 0.25 | 0 | 0 | cosine | AdamW | |
| Stanford Cars | 512 | 300/100 | 3e-4 | False | 0 | 0.1 | 0 | 0.25 | 0 | 0 | cosine | AdamW | |
| CIFAR10 | 512 | 300/100 | 5e-4 | True | 0 | 0.1 | 0.4 | 0.25 | 0 | 0 | cosine | AdamW | |
| CIFAR100 | 512 | 300/100 | 5e-4 | True | 0 | 0.1 | 0.4 | 0.25 | 0 | 0 | cosine | AdamW | |
| Food101 | 512 | 300/100 | 5e-4 | True | 0 | 0.1 | 0.4 | 0.25 | 0 | 0 | cosine | AdamW |
| Dataset | Classes | Total | Training | Testing |
|---|---|---|---|---|
| Oxford Flowers ( Nilsback & Zisserman, 2008 ) | 102 | 8,189 | 2,040 | 6,149 |
| CUB-200-2011 ( Wah et al., 2011 ) | 200 | 11,788 | 5,994 | 5,794 |
| Stanford Cars ( Gebru et al., 2017 ) | 196 | 16,185 | 8,144 | 8,041 |
| CIFAR10 ( Krizhevsky & Hinton, 2009 ) | 10 | 60,000 | 50,000 | 10,000 |
| CIFAR100 ( Krizhevsky & Hinton, 2009 ) | 100 | 60,000 | 50,000 | 10,000 |
| Food101 ( Bossard et al., 2014 ) | 101 | 101,000 | 75,750 | 25,250 |
| Methods | Scratch | FRONT | DFT | DWT | PCA | SVD |
|---|---|---|---|---|---|---|
| DeiT-Ti_L12 DeiT-Ti_L6 | 40.6 | 63.3 | 60.8 | 62.0 | 57.9 | 53.0 |
| DeiT-S_L6 DeiT-Ti_L6 | 40.6 | 56.9 | 47.9 | 55.4 | 50.2 | 43.6 |
| Select Freq. | DeiT-Ti | ||||
|---|---|---|---|---|---|
| L4 | L6 | L8 | L10 | L12 | |
| He-Init | 34.7 | 40.6 | 43.7 | 46.8 | 48.3 |
| High | 32.6 | 36.0 | 35.8 | 38.9 | 39.0 |
| Mid | 34.0 | 34.6 | 37.0 | 38.1 | 38.2 |
| Low | 48.6 | 53.7 | 56.5 | 58.6 | 59.6 |
| DeiT-Ti | DeiT-S | ||||||
|---|---|---|---|---|---|---|---|
| Ancestry | |||||||
| TLEG ( Xia et al., 2024 ) | LeVit-384 (39.1M) | 60.5 | 62.9 | 65.4 | 70.5 | 72.1 | 73.8 |
| WAVE ( Feng et al., 2025b ) | LeVit-384 (39.1M) | 63.2 | 65.4 | 67.3 | 72.7 | 74.1 | 75.3 |
| FRONT + | LeVit-384 (39.1M) | 63.4 | 65.6 | 67.5 | 72.9 | 74.2 | 75.4 |
| FRONT + | RegNet-16GF (83.6M) | 63.3 ∗ | 65.2 ∗ | 67.5 | 72.4 ∗ | 74.2 | 75.3 ∗ |
| PT. Model | DeiT-Ti | ||||
|---|---|---|---|---|---|
| L4 | L6 | L8 | L10 | L12 | |
| He-Init | 34.7 | 40.6 | 43.7 | 46.8 | 48.3 |
| DeiT-B | 29.3 | 39.2 | 47.7 | 51.8 | 57.1 |
| DeiT-S | 34.8 | 45.5 | 51.9 | 56.7 | 59.7 |
| DeiT-Ti | 55.3 | 63.3 | 64.4 | 64.7 | 65.3 |
Transfer Learning
Transfer learning studies how models reuse knowledge across tasks, domains, or modalities when target data or computation are limited.
See all 417 papers