Learning Versatile Neural Architectures by Propagating Network Codes

Mingyu Ding, Yuqi Huo, Haoyu Lu, Linjie Yang, Zhe Wang +3 more
3/24/2021
cs.CV

Official code: dingmyu/NCP (39 stars, Python, BSD-2-Clause, last commit 2023-02-21).

Abstract

This work explores how to design a single neural network capable of adapting to multiple heterogeneous vision tasks, such as image segmentation, 3D detection, and video recognition. This goal is challenging because both network architecture search (NAS) spaces and methods in different tasks are inconsistent.

Show full abstract

We solve this challenge from both sides. We first introduce a unified design space for multiple tasks and build a multitask NAS benchmark (NAS-Bench-MR) on many widely used datasets, including ImageNet, Cityscapes, KITTI, and HMDB51. We further propose Network Coding Propagation (NCP), which back-propagates gradients of neural predictors to directly update architecture codes along the desired gradient directions to solve various tasks. In this way, optimal architecture configurations can be found by NCP in our large search space in seconds. Unlike prior arts of NAS that typically focus on a single task, NCP has several unique benefits. (1) NCP transforms architecture optimization from data-driven to architecture-driven, enabling joint search an architecture among multitasks with different data distributions. (2) NCP learns from network codes but not original data, enabling it to update the architecture efficiently across datasets. (3) In addition to our NAS-Bench-MR, NCP performs well on other NAS benchmarks, such as NAS-Bench-201. (4) Thorough studies of NCP on inter-, cross-, and intra-tasks highlight the importance of cross-task neural architecture design, i.e., multitask neural architectures and architecture transferring between different tasks. Code is available at https://github.com/dingmyu/NCP.

View on arXivView PDF

Code Implementations(1)

dingmyu/NCPOfficial100%
BSD-2-Clause

Learning Versatile Neural Architectures by Propagating Network Codes

398PythonMar 23, 20213 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{ding2021learning,
  title  = {Learning Versatile Neural Architectures by Propagating Network Codes},
  author = {Mingyu Ding and Yuqi Huo and Haoyu Lu and Linjie Yang and Zhe Wang and Zhiwu Lu and Jingdong Wang and Ping Luo},
  year   = {2021},
  eprint = {2103.13253},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.13253}
}

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/2103.13253.svg)](https://codeofpaper.com/paper/2103.13253)

Discussion