[Paper Review] Rethinking Token-Mixing MLP for MLP-based Vision Backbone
This paper proposes Circulant Channel-Specific (CCS) token-mixing MLP, a spatial-invariant and channel-specific alternative to standard token-mixing MLPs in pure-MLP vision backbones. By leveraging a circulant weight structure and group-wise channel-specific operations, CCS reduces parameters by up to 90% while improving ImageNet1K top-1 accuracy from 77.2% to 79.8% in MLP-Mixer and from 79.8% to 80.6% in ResMLP, with fewer parameters and FLOPs.
In the past decade, we have witnessed rapid progress in the machine vision backbone. By introducing the inductive bias from the image processing, convolution neural network (CNN) has achieved excellent performance in numerous computer vision tasks and has been established as \emph{de facto} backbone. In recent years, inspired by the great success achieved by Transformer in NLP tasks, vision Transformer models emerge. Using much less inductive bias, they have achieved promising performance in computer vision tasks compared with their CNN counterparts. More recently, researchers investigate using the pure-MLP architecture to build the vision backbone to further reduce the inductive bias, achieving good performance. The pure-MLP backbone is built upon channel-mixing MLPs to fuse the channels and token-mixing MLPs for communications between patches. In this paper, we re-think the design of the token-mixing MLP. We discover that token-mixing MLPs in existing MLP-based backbones are spatial-specific, and thus it is sensitive to spatial translation. Meanwhile, the channel-agnostic property of the existing token-mixing MLPs limits their capability in mixing tokens. To overcome those limitations, we propose an improved structure termed as Circulant Channel-Specific (CCS) token-mixing MLP, which is spatial-invariant and channel-specific. It takes fewer parameters but achieves higher classification accuracy on ImageNet1K benchmark.
Motivation & Objective
- To address the spatial sensitivity and channel-agnostic limitations of existing token-mixing MLPs in pure-MLP vision backbones.
- To improve model robustness to spatial translation while enhancing feature representation through channel-specific mixing.
- To reduce the number of parameters in token-mixing MLP layers without sacrificing performance.
- To achieve higher accuracy on ImageNet1K with fewer parameters and FLOPs compared to vanilla MLP-based models.
- To demonstrate the effectiveness of circulant structures and group-wise channel-specific operations in vision transformer-like architectures.
Proposed method
- Proposes a Circulant Channel-Specific (CCS) token-mixing MLP that replaces standard fully connected layers with circulant weight matrices to achieve spatial invariance.
- Implements channel-specific mixing by dividing channels into groups and applying distinct circulant matrices per group, enhancing representational capacity.
- Uses fast Fourier transform (FFT) to efficiently compute matrix-vector multiplication with circulant matrices, reducing computational cost.
- Introduces a group-wise design where each group of channels undergoes independent token mixing, enabling richer pattern encoding.
- Replaces the standard token-mixing MLP in MLP-Mixer and ResMLP with the proposed CCS module to evaluate performance and efficiency.
- Employs a hyperparameter G (number of groups) to control the trade-off between model capacity and parameter count.
Experimental results
Research questions
- RQ1How does the spatial-specific design of standard token-mixing MLPs affect model robustness to spatial translation?
- RQ2To what extent does the channel-agnostic nature of existing token-mixing MLPs limit feature representation in vision backbones?
- RQ3Can a circulant weight structure enable spatial invariance while reducing parameter count in token-mixing MLPs?
- RQ4Does channel-specific mixing improve performance in pure-MLP vision architectures?
- RQ5Can the proposed CCS module achieve higher accuracy than standard token-mixing MLPs with fewer parameters and FLOPs?
Key findings
- Replacing the vanilla token-mixing MLP in MLP-Mixer-B/16 with CCS increases top-1 accuracy from 77.2% to 79.8% on ImageNet1K with only 57M parameters.
- In ResMLP-36, the CCS module boosts top-1 accuracy from 79.8% to 80.6% while reducing parameters from 44M to 43M.
- The model with G=8 groups achieves the best balance between accuracy and parameter efficiency, with top-1 accuracy of 80.6% and 43M parameters.
- Increasing G beyond 8 leads to accuracy saturation but increases parameters from 43M to 46M, indicating diminishing returns.
- CCS achieves comparable or better performance than S²-MLP-wide and S²-MLP-deep with fewer parameters and FLOPs.
- The circulant structure enables efficient computation via FFT, though the benefit is less pronounced when the number of patches is small (e.g., N=196).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.