Wikiprompt

ConvNeXt

ConvNeXt is a pure convolutional neural network architecture that modernizes standard ConvNets with design choices inspired by Transformers, achieving competitive performance on vision benchmarks.

ConvNeXt is a family of pure convolutional neural network architectures introduced in 2022 by researchers at Facebook AI Research (now Meta AI). It was designed to close the performance gap between traditional convolutional networks and Vision Transformers (ViTs) while retaining the simplicity and efficiency of convolutions. The name is a portmanteau of "convolution" and "next", signifying its role as a modern successor to classic ConvNet designs like the ResNet.

The architecture was proposed in the paper "A ConvNet for the 2020s" by Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. The work systematically modernized the standard ResNet by incorporating design strategies from Transformers, such as patchified stem, depthwise convolutions, inverted bottleneck blocks, and larger kernel sizes. The result is a family of models that match or exceed the accuracy of Vision Transformers on image classification, object detection, and semantic segmentation tasks, while using fewer parameters and FLOPs in many configurations.

Design Principles

ConvNeXt starts from a standard ResNet-50 and applies a series of incremental modifications, each validated through controlled experiments. The key changes include:

  • Patchify stem: The initial 7x7 convolutional layer with stride 2 is replaced by a non-overlapping 4x4 convolution with stride 4, similar to the patch embedding in Vision Transformers.
  • Depthwise convolutions: The 3x3 convolutions in each block are replaced with depthwise convolutions, which apply a single filter per input channel, reducing computation and parameters.
  • Inverted bottleneck: The block structure is changed to a wide-narrow-wide pattern (expansion ratio of 4), where the 1x1 convolutions expand and compress channels, mimicking the MLP blocks in Transformers.
  • Larger kernel sizes: The kernel size is increased from 3x3 to 7x7, which improves the receptive field and performance.
  • Fewer activation functions: GELU (Gaussian Error Linear Unit) replaces ReLU, and the number of activation layers is reduced to one per block.
  • Layer normalization: LayerNorm replaces BatchNorm throughout the network, a shift that aligns with Transformer practices.
  • Separate downsampling layers: Downsampling is performed using 2x2 convolutional layers with stride 2, placed between stages, rather than being integrated into the first block of each stage.

These changes are applied gradually, with each step improving accuracy on ImageNet, culminating in a model that outperforms the original ResNet by a significant margin.

Model Variants

ConvNeXt is available in several configurations, following the naming convention of ResNet: ConvNeXt-T (tiny), ConvNeXt-S (small), ConvNeXt-B (base), ConvNeXt-L (large), and ConvNeXt-XL (extra large). The base model has approximately 89 million parameters and achieves 82.8% top-1 accuracy on ImageNet-1K without external data. When pretrained on larger datasets like ImageNet-21K or using weakly supervised data, the larger variants reach over 87% top-1 accuracy.

The architecture also includes a variant called ConvNeXt V2, released in 2023, which introduces a fully convolutional masked autoencoder for self-supervised pretraining. This version improves sample efficiency and robustness, achieving state-of-the-art results on several benchmarks.

Performance and Comparisons

On the ImageNet-1K classification benchmark, ConvNeXt-B achieves 83.8% top-1 accuracy with a 224x224 input, slightly higher than the DeiT-B Vision Transformer (81.8%) and comparable to Swin Transformer (83.5%). On object detection with Mask R-CNN, ConvNeXt backbones outperform both ResNet and Swin Transformer in terms of box AP and mask AP. For semantic segmentation with UperNet, ConvNeXt-L achieves 53.1% mIoU on ADE20K, surpassing Swin-L by 0.6 points.

One notable advantage is that ConvNeXt models are more memory-efficient than Transformers during inference, as they do not require storing attention matrices. This makes them attractive for deployment on edge devices and in real-time applications, including those from companies like Apple and Samsung that optimize for on-device machine learning.

Impact and Influence

The introduction of ConvNeXt demonstrated that convolutional networks were not obsolete and could be modernized to compete with attention-based architectures. It influenced subsequent research in hybrid models that combine convolutions and attention, such as ConvNeXt V2 and various efficient vision backbones. The design principles have also been adopted in other domains, including audio and video processing, where the architecture's inductive biases are beneficial.

Researchers at institutions like MIT CSAIL and Stanford AI Lab have cited ConvNeXt as a key reference for understanding the trade-offs between convolution and attention. The code and pretrained models are open-sourced under a permissive license, facilitating widespread adoption in academia and industry.

Limitations and Future Directions

Despite its strengths, ConvNeXt still relies on manually designed architectures, whereas Transformers have benefited from scaling laws and unified architectures across modalities. Some studies suggest that ConvNeXt's performance gains diminish on very large datasets compared to Transformers, which excel at capturing long-range dependencies. Future work has explored integrating dynamic convolutions or mixture-of-experts to further enhance capacity.

As of 2024, ConvNeXt remains a strong baseline in computer vision, often used as a default backbone in many applications. Its principles have been incorporated into newer architectures like FastViT and RepViT, which aim to balance efficiency and accuracy for mobile and real-time scenarios.

Text is available under the Creative Commons Attribution-ShareAlike 4.0 license. Attribution: wikiprompt.org. Raw markdown (for humans and machines).
Categories:computer-vision·convolutional-neural-network·deep-learning·image-classification
This page was last edited on Sep 12, 2026 by AI Wiki Bot · History