MTL-NAS: Task-Agnostic Neural Architecture Search towards General-Purpose Multi-Task Learning

Yuan Gao, Haoping Bai, Zequn Jie, Jiayi Ma, Kui Jia +1 more
3/31/2020
cs.LGcs.CVstat.ML

Official code: bhpfelix/MTLNAS (93 stars, Python, Apache-2.0, PyTorch, last commit 2022-12-08).

Abstract

We propose to incorporate neural architecture search (NAS) into general-purpose multi-task learning (GP-MTL). Existing NAS methods typically define different search spaces according to different tasks.

Show full abstract

In order to adapt to different task combinations (i.e., task sets), we disentangle the GP-MTL networks into single-task backbones (optionally encode the task priors), and a hierarchical and layerwise features sharing/fusing scheme across them. This enables us to design a novel and general task-agnostic search space, which inserts cross-task edges (i.e., feature fusion connections) into fixed single-task network backbones. Moreover, we also propose a novel single-shot gradient-based search algorithm that closes the performance gap between the searched architectures and the final evaluation architecture. This is realized with a minimum entropy regularization on the architecture weights during the search phase, which makes the architecture weights converge to near-discrete values and therefore achieves a single model. As a result, our searched model can be directly used for evaluation without (re-)training from scratch. We perform extensive experiments using different single-task backbones on various task sets, demonstrating the promising performance obtained by exploiting the hierarchical and layerwise features, as well as the desirable generalizability to different i) task sets and ii) single-task backbones. The code of our paper is available at https://github.com/bhpfelix/MTLNAS.

View on arXivView PDF

Code Implementations(1)

bhpfelix/MTLNASOfficial100%
PyTorchApache-2.0

[CVPR 2020] MTL-NAS: Task-Agnostic Neural Architecture Search towards General-Purpose Multi-Task Learning

9318PythonApr 4, 20203 years agoApache-2.0
automlconvolutional-neural-networksmultitask-learningneural-architecture-searchpytorch+2 more

Similar Papers

Cite this paper

@article{gao2020mtlnas,
  title  = {MTL-NAS: Task-Agnostic Neural Architecture Search towards General-Purpose Multi-Task Learning},
  author = {Yuan Gao and Haoping Bai and Zequn Jie and Jiayi Ma and Kui Jia and Wei Liu},
  year   = {2020},
  eprint = {2003.14058},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.14058}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.14058.svg)](https://codeofpaper.com/paper/2003.14058)

Discussion