Chip Foundry Services Request Assessment

Resmlp

ResMLP is a simplified all-MLP architecture for image classification that applies residual connections to a pure MLP design, using cross-patch linear layers for spatial interaction and $\text{per-patch} \mathrm{MLP}s$ for channel interaction, with Affine transformations replacing LayerNorm for normalization. ResMLP demonstrates that even simpler MLP architectures than MLP-Mixer can achieve competitive vision performance with appropriate training recipes.

Why ResMLP Matters in AI/ML:
ResMLP showed that extreme architectural simplicity—linear cross-patch layers without non-linearities for spatial mixing—can achieve strong image classification accuracy, further narrowing the gap between simple MLPs and sophisticated attention-based architectures.

• Cross-patch linear layer — Instead of MLP-Mixer's nonlinear $\text{token-mixing} \mathrm{MLP}$, ResMLP uses a single linear layer (matrix multiplication) for spatial interaction: $Y = X + A\cdot X^T$ (transposed to mix across patches), eliminating nonlinearities from the spatial mixing step entirely
• Affine normalization — ResMLP replaces LayerNorm with a simpler Affine transformation: $Aff(x) = \alpha \odot x + \beta $, where $\alpha $ and $\beta $ are learnable per-channel parameters; this is computationally cheaper and avoids the batch/instance statistics of normalization
• Per-patch channel MLP — The channel-mixing component remains a standard $\text{two-layer} \mathrm{MLP}$ with GELU activation: $\mathrm{FFN}(x) = W_2\cdot \mathrm{GELU}(W_1\cdot x + b_1) + b_2$, applied independently to each patch, identical to the feed-forward layers in standard Transformers
• Residual connections — Skip connections around both the cross-patch layer and the channel MLP stabilize training and enable deeper networks; pre-normalization (Affine before each sublayer) follows the standard Transformer convention
• Training recipe importance — ResMLP's competitive performance depends heavily on modern training techniques: data augmentation (RandAugment, Mixup, CutMix), regularization (stochastic depth, dropout), and long training schedules (400+ epochs)

ComponentResMLPMLP-MixerViT
Spatial MixingLinear (no nonlinearity)MLP (with GELU)Self-attention
Channel Mixing$\mathrm{MLP} (\mathrm{GELU})$$\mathrm{MLP} (\mathrm{GELU})$$\mathrm{MLP} (\mathrm{GELU})$
NormalizationAffineLayerNormLayerNorm
Residual ConnectionsYesYesYes
Parameters (Base)$\sim 100M$$\sim 60M$$\sim 86M$
ImageNet $Top-1$79.4% $(ResMLP-B_{24})$76.4% (Mixer-B/16)79.9% (ViT-B/16)
Training RecipesCriticalImportantImportant

ResMLP pushes the simplicity frontier of vision architectures even further than MLP-Mixer, demonstrating that linear spatial mixing without any nonlinearity combined with per-patch feed-forward networks and modern training techniques can approach the accuracy of attention-based models, reinforcing the finding that training recipes and scale matter more than architectural sophistication.