ECO: Evolving Core Knowledge for Efficient Transfer

Fu Feng, Yucheng Xie, Ruixiao Shi, Jianlu Shen, Jing Wang, Xin GengNeurIPS 2025

TL;DR

ECO (Evolving COre knowledge) moves away from the "copy-paste" approach of traditional transfer learning by evolving compact, modular neural components called learngenes. By simulating biological evolution through a process called Genetic Transfer Learning, ECO produces "genetic blueprints" that can initialize diverse model architectures, achieving superior performance with up to 14.5× less storage and significantly better data efficiency.

What Problem Does This Paper Address?

In the current AI landscape, transfer learning usually means taking a massive pre-trained model and fine-tuning its entire parameter set. The authors argue this is fundamentally flawed for two main reasons:

  1. Knowledge Entanglement: Knowledge in neural networks is "messy" and spread out. Reusing everything often brings along unwanted biases. For example, a model might learn to recognize a "Malamute" based on the snow in the background rather than the dog itself. When transferred to a "Lion" in the snow, this leads to negative transfer.
  2. Structural Rigidity: Current methods like LoRA or full fine-tuning are often "locked" to a specific architecture. You cannot easily transfer knowledge from a large VGG network to a small MobileNet without heavy-handed heuristics or complex distillation.
Knowledge entanglement and the biological inspiration for ECO

ECO looks to biology for a solution: animals don't inherit their parents' entire brain structure; they inherit genes—compact instructions that initialize essential neural circuits, allowing newborns to learn rapidly and adapt to their environments.

Methods: Genetic Transfer Learning

The authors introduce Genetic Transfer Learning (GTL), a framework that treats neural network training as an evolutionary process.

  • Learngenes as Circuits: Instead of seeing a model as a flat list of weights, ECO defines "learngenes" as continuous neural circuits—specific paths of interconnected kernels across layers.
  • Architecture Agnostic Transfer: To handle different model shapes, the authors developed specific inheritance strategies: Zero-padding for wider models, Index Reordering for narrower ones, and Partial Identity Mapping (PIM) to bridge gaps in deeper models.
The Genetic Transfer Learning (GTL) evolutionary loop

The evolutionary loop operates as a Lamarckian process where models acquire "experience" during their training "lifetime" and pass the refined core of that experience down to their "offspring":

  1. Population Training: A population of models is trained on various randomly sampled tasks.
  2. Mutation: To ensure diversity, the framework randomly adds or removes filters/kernels within the learngene circuits.
  3. Tournament Selection: Models compete; the highest-performing individuals (those whose learngenes provide the best "head start") are selected.
  4. Inheritance: The winning learngenes are passed to the next generation.

Key Insights and Ideas

  • Evolution as a Noise Filter: By forcing knowledge through hundreds of generations of "environmental pressure" (different tasks and mutations), the network naturally sheds task-specific "noise" and retains only the most robust, transferable feature extractors.
  • The "Instinct" Effect: The authors describe the initialization provided by learngenes as a model's "instinct." Visualization via Class Activation Maps (CAM) shows that ECO-initialized models focus immediately on semantically meaningful objects, whereas randomly initialized or even some traditionally pre-trained models often get distracted by background elements.
  • O(1) Deployment: Unlike distillation methods that require training a new "student" for every "teacher," ECO's evolved genes can be dropped into a new model of almost any size for immediate, high-quality initialization.

Experimental Results

The evolutionary phase (extracting the genes) was conducted on CIFAR-FS, miniImageNet, and ImageNet-1K. The resulting learngenes were then evaluated on diverse downstream "novel" datasets (Oxford Flowers, CUB-200-2011, Stanford Cars, Food-101) to test generalization.

  • Massive Efficiency: ECO achieved a 14.5× reduction in storage compared to full fine-tuning for VGG11, while maintaining or exceeding accuracy.
  • Cross-Architecture Success: Learngenes evolved in a VGG11 architecture were successfully used to initialize a ResNet18, outperforming models trained from scratch.
  • Few-Shot Dominance: In low-resource regimes (e.g., 5-shot or 10-shot learning), ECO consistently outperformed established meta-learning baselines like MAML and ProtoNet.
  • Speed: ECO supports $O(1)$ initialization, enabling fast deployment across varying model scales without the computational overhead of traditional pre-training.

Limitations and Future Work

  • Architecture Scope: Currently, the work focuses heavily on Convolutional Neural Networks (CNNs). While CNNs remain vital, the authors acknowledge the need to extend this "genetic" modularity to Transformer-based models.
  • Scaling Up: The experiments were conducted on small to medium-sized models. Testing whether these evolutionary dynamics hold (or become even more powerful) in the era of Large Language Models (LLMs) is a clear next step.
  • Upfront Cost: While transferring the genes is cheap, the initial evolutionary training requires running multiple generations of populations, which has a non-trivial upfront computational cost (though the authors note it's comparable to training one medium-scale model).

Summary updated

BibTeX
@inproceedings{feng2025eco,
  author = {Fu Feng and Yucheng Xie and Ruixiao Shi and Jianlu Shen and Jing Wang and Xin Geng},
  title = {{ECO: Evolving Core Knowledge for Efficient Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=tejdm1EMXK},
}
Figure