Differentiable Dynamic Wirings for Neural Networks
Kun Yuan, Quanquan Li, Shaopeng Guo, Dapeng Chen, Aojun Zhou, Fengwei Yu, Ziwei Liu
Abstract
A standard practice of deploying deep neural networks is to apply the same architecture to all the input instances. However, a fixed architecture may not be suitable for different data with high diversity. To boost the model capacity, existing methods usually employ larger convolutional kernels or deeper network layers, which incurs prohibitive computational costs. In this paper, we address this issue by proposing Differentiable Dynamic Wirings (DDW), which learns the instance-aware connectivity that creates different wiring patterns for different instances. 1) Specifically, the network is initialized as a complete directed acyclic graph, where the nodes represent convolutional blocks and the edges represent the connection paths. 2) We generate edge weights by a learnable module, Router, and select the edges whose weights are larger than a threshold, to adjust the connectivity of the neural network structure. 3) Instead of using the same path of the network, DDW aggregates features dynamically in each node, which allows the network to have more representation power. To facilitate effective training, we further represent the network connectivity of each sample as an adjacency matrix. The matrix is updated to aggregate features in the forward pass, cached in the memory, and used for gradient computing in the backward pass. We validate the effectiveness of our approach with several mainstream architectures, including MobileNetV2, ResNet, ResNeXt, and RegNet. Extensive experiments are performed on ImageNet classification and COCO object detection, which demonstrates the effectiveness and generalization ability of our approach.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4a534683-6671-444f-bfc0-44b45aea75d5Cited by top-tier papers3
- Designing the Topology of Graph Neural Networks: A Novel Feature Fusion PerspectiveLanning Wei, Huan Zhao, Zhiqiang HeWWW 2022 · 51 citations
- ROME: Robustifying Memory-Efficient NAS via Topology Disentanglement and Gradient AccumulationXiaoxing Wang, Xiangxiang Chu, Yuda Fan, Zhexi Zhang et al.ICCV 2023 · 5 citations
- Rewiring Neurons in Non-Stationary EnvironmentsZhicheng Sun, Yadong MuNeurIPS 2023 · 4 citations
Builds on5
- Exploring Randomly Wired Neural Networks for Image RecognitionSaining Xie, Alexander Kirillov, Ross B. Girshick, Kaiming HeICCV 2019 · 384 citations
- Dynamic Multi-Scale Filters for Semantic SegmentationJunjun He, Zhongying Deng, Yu QiaoICCV 2019 · 287 citations
- InstaNAS: Instance-Aware Neural Architecture SearchAn-Chieh Cheng, Chieh Hubert Lin, Da-Cheng Juan, Wei Wei et al.AAAI 2020 · 53 citations
- Dynamic Convolution: Attention Over Convolution KernelsYinpeng Chen, Xiyang Dai, Mengchen Liu, Dongdong Chen et al.CVPR 2020
- Designing Network Design SpacesIlija Radosavovic, Raj Prateek Kosaraju, Ross B. Girshick, Kaiming He et al.CVPR 2020
Related papers
- Dynamic Region-Aware ConvolutionJin Chen, Xijun Wang, Zichao Guo, Xiangyu Zhang et al.CVPR 2021
- Differentiable Learning-to-Group Channels via Groupable Convolutional Neural NetworksZhaoyang Zhang, Jingyu Li, Wenqi Shao, Zhanglin Peng et al.ICCV 2019 · 39 citations
- DynamicDet: A Unified Dynamic Architecture for Object DetectionZhihao Lin, Yongtao Wang, Jinhe Zhang, Xiaojie ChuCVPR 2023
- RDI-Net: Relational Dynamic Inference NetworksHuanyu Wang, Songyuan Li, Shihao Su, Zequn Qin et al.ICCV 2021 · 6 citations
- Learning Dynamic Routing for Semantic SegmentationYanwei Li, Lin Song, Yukang Chen, Zeming Li et al.CVPR 2020
