DeepMAD: Mathematical Architecture Design for Deep Convolutional Neural Network

Xuan Shen, Yaohua Wang, Ming Lin, Yilun Huang, Hao Tang +2 more
3/5/2023
cs.CVcs.ITcs.LG

No official code found. Best implementation: alibaba/lightweight-neural-architecture-search (452 stars, Apache-2.0, PyTorch, last commit 2023-08-21).

Abstract

The rapid advances in Vision Transformer (ViT) refresh the state-of-the-art performances in various vision tasks, overshadowing the conventional CNN-based models. This ignites a few recent striking-back research in the CNN world showing that pure CNN models can achieve as good performance as ViT models when carefully tuned. While encouraging, designing such high-performance CNN models is challenging, requiring non-trivial prior knowledge of network design. To this end, a novel framework termed Mathematical Architecture Design for Deep CNN (DeepMAD) is proposed to design high-performance CNN models in a principled way. In DeepMAD, a CNN network is modeled as an information processing system whose expressiveness and effectiveness can be analytically formulated by their structural parameters. Then a constrained mathematical programming (MP) problem is proposed to optimize these structural parameters. The MP problem can be easily solved by off-the-shelf MP solvers on CPUs with a small memory footprint. In addition, DeepMAD is a pure mathematical framework: no GPU or training data is required during network design. The superiority of DeepMAD is validated on multiple large-scale computer vision benchmark datasets. Notably on ImageNet-1k, only using conventional convolutional layers, DeepMAD achieves 0.7% and 1.5% higher top-1 accuracy than ConvNeXt and Swin on Tiny level, and 0.8% and 0.9% higher on Small level.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

This is a collection of our zero-cost NAS and efficient vision applications.

45258Shell, PythonApr 1, 20223 years agoApache-2.0
automlclassficationcvpr2023deepmadiclr2023+9 more

Similar Papers

Cite this paper

@article{shen2023deepmad,
  title  = {DeepMAD: Mathematical Architecture Design for Deep Convolutional Neural Network},
  author = {Xuan Shen and Yaohua Wang and Ming Lin and Yilun Huang and Hao Tang and Xiuyu Sun and Yanzhi Wang},
  year   = {2023},
  eprint = {2303.02165},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.02165v3},
  journal = {CVPR 2023 2023}
}

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

Discussion