MO-EMT-NAS: Multi-objective Continuous Transfer of Architectural Knowledge Between Tasks from Different Datasets

Peng Liao, Xilu Wang, Yaochu Jin, Wenli Du

Neural Architecture Search (NAS) has traditionally focused on optimizing a single model for a single task, often prioritizing accuracy above all else. However, real-world applications demand a spectrum of models—from lightweight versions for mobile devices to high-capacity versions for server-side deployment. This multi-objective challenge is further complicated by the "small model trap," where evolutionary algorithms prematurely converge on smaller models because they train faster, ignoring larger models that might eventually achieve superior performance.

The MO-EMT-NAS framework addresses these challenges by searching for Pareto-optimal architectures across multiple distinct datasets simultaneously. By leveraging evolutionary multi-tasking (EMT), the framework enables the transfer of architectural "DNA" between tasks, significantly accelerating the search process while maintaining a diverse set of high-performing models.

Methodology

The core of MO-EMT-NAS is a Multi-Objective Evolutionary Multi-Tasking framework that treats architecture search as a collaborative process across different datasets.

The MO-EMT-NAS framework overview, illustrating the evolutionary search process (Process ID 0) and parallelized task evaluation (Process ID 1 & 2).

Key components include:

  • Evolutionary Multi-Tasking (EMT): The population is split into subpopulations for different tasks. A "Random Mating Probability" (RMP) allows individuals to exchange genetic material (architectural blocks) across tasks. This means a structure that works well for CIFAR-10 can be tested and adapted for CIFAR-100.
  • Task-Specific Supernets: To prevent negative transfer—where learning one task hurts another—each task maintains its own weight-sharing supernet.
  • The $f_a$ Auxiliary Objective: To combat the "small model trap," the authors introduced a third objective, $f_a$. This objective uses an exponential distribution to prioritize models that achieve competitive accuracy relative to their size, ensuring the evolutionary process maintains a healthy variety of small, medium, and large architectures.
  • Parallelized Evaluation: By exploiting the independence of task-specific supernets, the framework parallelizes training and validation, reducing the overall search time by up to 77%.

Experimental Setup

The framework was evaluated across seven diverse datasets to test its robustness and transferability:

  • General Vision: CIFAR-10, CIFAR-100, and ImageNet.
  • Medical Imaging (MedMNIST): PathMNIST, OrganMNIST_Axial, OrganMNIST_Coronal, and OrganMNIST_Sagittal. These datasets provided a rigorous testbed for multi-tasking across different medical imaging planes and pathologies.

Results and Discussion

The experimental results highlight the efficiency and effectiveness of the MO-EMT-NAS approach.

Efficiency Gains: The framework achieved a search speedup of 59.7% to 77.7% compared to running individual multi-objective searches for each task. This demonstrates that searching for multiple tasks simultaneously is more efficient than sequential searching, thanks to knowledge transfer and parallelization.

Overcoming the Small Model Trap: The introduction of the $f_a$ objective proved critical for maintaining population diversity.

Comparison of population evolution across different objective sets. Subfigure (d) shows how the $f_a$ objective (Ours) maintains a diverse Pareto front across generations, avoiding the premature convergence to small models seen in other configurations.

As shown in Figure 2, without the $f_a$ objective, the population tends to cluster around low-parameter models early on. With $f_a$, the search maintains a broad Pareto front, eventually discovering high-accuracy models that would have otherwise been discarded.

Performance and Transferability: Models found on CIFAR datasets outperformed state-of-the-art baselines like DARTS and CARS. When transferred to ImageNet, a model discovered by MO-EMT-NAS achieved 75.47% top-1 accuracy with only 3.25M parameters, showcasing the robustness of the discovered architectural knowledge.

Conclusion

MO-EMT-NAS demonstrates that architectural insights are transferable across different datasets and that multi-tasking can significantly accelerate the NAS process. By introducing the $f_a$ auxiliary objective, the framework successfully navigates the trade-off between model size and accuracy without falling into the "small model trap."

While highly effective, the benefits of transfer are somewhat dependent on task similarity. Future work may explore more sophisticated metrics for task relatedness to further optimize knowledge exchange. Additionally, expanding the search space beyond cell-based architectures to include macro-structures like Transformers could broaden the framework's applicability.

Summary updated

BibTeX
@inproceedings{liao2024mo,
  author = {Peng Liao and Xilu Wang and Yaochu Jin and Wenli Du},
  title = {{MO-EMT-NAS: Multi-objective Continuous Transfer of Architectural Knowledge Between Tasks from Different Datasets}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72897-6\_2},
}
Figure