TL;DR
MVFormer is a new Vision Transformer (ViT) architecture that boosts efficiency by rethinking two core components: normalization and spatial mixing. By introducing Multi-View Normalization (MVN)—which learns to blend Batch, Layer, and Instance normalization—and a Multi-View Token Mixer (MVTM) that uses stage-specific multiscale convolutions, MVFormer achieves state-of-the-art performance on image classification and segmentation tasks with fewer parameters and lower computational costs than its predecessors.
What Problem Does This Paper Address?
In the race to make Vision Transformers (ViTs) faster and more accurate, most research has focused on the "token mixer"—the part of the model that helps pixels "talk" to each other across the image. However, the authors of MVFormer argue that we’ve been ignoring a crucial partner in this process: feature normalization.
Standard ViTs typically rely on Layer Normalization (LN). While effective, LN treats all channels equally and can "over-smooth" spatial details. Meanwhile, other methods like Batch Normalization (BN) or Instance Normalization (IN) offer different "views" of the data distribution. Furthermore, many current convolutional ViTs use fixed-size filters throughout the network, failing to adapt to the fact that early layers need to see local details while later layers need a global "big picture" view.
Methods
The authors propose two primary innovations integrated into the MetaFormer block:
- Multi-View Normalization (MVN): Instead of picking one normalization method, MVN calculates BN, LN, and IN simultaneously. It then combines them using a learnable weighted sum. This allows the model to adaptively decide which type of normalization is most beneficial for a specific layer. For instance, it might use more BN/IN in early layers to preserve edges and more LN in later layers for stable training.
- Multi-View Token Mixer (MVTM): This is a convolutional mixer that splits the input channels into three groups:
- Local: 3x3 filters for fine details.
- Intermediate: 7x7 filters for mid-range patterns.
- Global: Large kernels (up to 55x1/1x55) to capture long-range dependencies.
- Stage Specificity: Unlike models that use the same filter sizes everywhere, MVTM changes its "mix" depending on the stage of the network. Early stages focus on local/intermediate patterns, while later stages shift heavily toward global mixing.
Datasets
The researchers evaluated MVFormer across several standard computer vision benchmarks:
- ImageNet-1K: For large-scale image classification (1.28M training images).
- COCO 2017: For object detection and instance segmentation (using Mask R-CNN and RetinaNet frameworks).
- ADE20K: For semantic segmentation (using a Semantic FPN backbone).
Key Insights and Ideas
- Normalization Synergy: The "aha moment" is that different normalization techniques aren't just interchangeable; they provide complementary information. BN captures batch-level statistics, LN handles channel-level stability, and IN focuses on sample-specific spatial details. Combining them provides a "diverse feature space" that makes the token mixer's job easier.
- The "Smoothing" Effect: Visualizations in the paper show that LN tends to smooth out images significantly. By blending in BN and IN, MVFormer retains sharper spatial details that are often lost in standard Transformers.
- Adaptive Receptive Fields: By using "stage specificity," the model mimics the hierarchical nature of the human visual system—starting with small details and gradually building up to a global understanding of the scene.
Key Results
MVFormer consistently outperforms current state-of-the-art (SOTA) models like ConvNeXt, Swin, and ConvFormer:
- Classification: MVFormer-T (Tiny) achieves 83.4% top-1 accuracy on ImageNet-1K with 27M parameters and 3.9G MACs, outperforming the previous best, ConvFormer-S18 (83.0%), with the same parameter count.
- Detection/Segmentation: On the COCO benchmark, MVFormer-T reached 46.2 AP for object detection, significantly higher than Swin-T (42.2 AP) while using fewer computational resources (231G vs 264G MACs).
- Semantic Segmentation: On ADE20K, MVFormer-S achieved 48.8% mIoU, a notable jump over competitors like InceptionNeXt-S (45.6%).
Limitations and Future Work
While MVN provides a performance boost, the paper does not deeply explore the hardware-level latency of calculating three different normalizations per block. In high-speed deployment scenarios, the overhead of computing BN, LN, and IN might offset some of the efficiency gains in MACs.
The authors suggest that future work could explore how MVN interacts with attention-based token mixers (rather than just convolutional ones) and investigate its applicability in other domains like video processing or natural language tasks.
Summary updated