HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ConvMLP: Hierarchical Convolutional MLPs for Vision

Jiachen Li Ali Hassani Steven Walton Humphrey Shi

ConvMLP: Hierarchical Convolutional MLPs for Vision

Abstract

MLP-based architectures, which consist of a sequence of consecutive multi-layer perceptron blocks, have recently been found to reach comparable results to convolutional and transformer-based methods. However, most adopt spatial MLPs which take fixed dimension inputs, therefore making it difficult to apply them to downstream tasks, such as object detection and semantic segmentation. Moreover, single-stage designs further limit performance in other computer vision tasks and fully connected layers bear heavy computation. To tackle these problems, we propose ConvMLP: a hierarchical Convolutional MLP for visual recognition, which is a light-weight, stage-wise, co-design of convolution layers, and MLPs. In particular, ConvMLP-S achieves 76.8% top-1 accuracy on ImageNet-1k with 9M parameters and 2.4G MACs (15% and 19% of MLP-Mixer-B/16, respectively). Experiments on object detection and semantic segmentation further show that visual representation learned by ConvMLP can be seamlessly transferred and achieve competitive results with fewer parameters. Our code and pre-trained models are publicly available at https://github.com/SHI-Labs/Convolutional-MLPs.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
image-classification-on-cifar-10ConvMLP-M
Percentage correct: 98.6
image-classification-on-cifar-10ConvMLP-S
Percentage correct: 98
image-classification-on-cifar-10ConvMLP-L
Percentage correct: 98.6
image-classification-on-cifar-100ConvMLP-M
Percentage correct: 89.1
image-classification-on-cifar-100ConvMLP-S
Percentage correct: 87.4
image-classification-on-cifar-100ConvMLP-L
Percentage correct: 88.6
image-classification-on-flowers-102ConvMLP-S
Accuracy: 99.5
image-classification-on-flowers-102ConvMLP-L
Accuracy: 99.5
image-classification-on-imagenetConvMLP-L
Number of params: 42.7M
Top 1 Accuracy: 80.2%
image-classification-on-imagenetConvMLP-S
Number of params: 9M
Top 1 Accuracy: 76.8
image-classification-on-imagenetConvMLP-M
Number of params: 17.4M
Top 1 Accuracy: 79%
semantic-segmentation-on-ade20kConvMLP-S
Validation mIoU: 35.8
semantic-segmentation-on-ade20kConvMLP-M
Validation mIoU: 38.6
semantic-segmentation-on-ade20kConvMLP-L
Validation mIoU: 40

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp