Research map / Architectures and efficiency / Attention and transformers
HyperMixer: An MLP-based Low Cost Alternative to Transformers
Florian Mai, Arnaud Pannatier, Fabio Fehr, Haolin Chen, François Marelli, François Fleuret, James Henderson
EPFL · Idiap Research Institute · University of Geneva
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- QNLI leaderboard accuracy 77.1 · rank 77 of 92 papers
- SNLI leaderboard accuracy 81.7 · rank 95 of 111 papers
- MNLI leaderboard accuracy 66.1 · rank 71 of 78 papers
- QQP leaderboard accuracy 84.1 · rank 42 of 47 papers
- SST leaderboard accuracy 81.4 · rank 21 of 38 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| generate token-mixing MLP with hypernetworks instead of fixed position-specific MLP (HyperMixer vs MLPMixer) | MLPMixer · MNLI/SNLI/QQP/QNLI/SST validation | accuracy: QNLI 68.1 -> 78.0; QQP 83.7 -> 85.6; MNLI 63.9 -> 66.2 | Improved |
| HyperMixer instead of Transformer token mixing | Transformer · test sets | accuracy: QNLI 73.2 -> 77.1; MNLI 65.8 -> 66.1 | Improved |
| HyperMixer vs Linear Transformer | Linear Transformer · test sets | accuracy: MNLI 66.9 vs 66.1; QNLI 61.7 -> 77.1 | Mixed |
| remove token mixing (feature mixing only) (ablation) | HyperMixer · MNLI validation | accuracy: 54.5 -> 66.2 when token mixing added | Improved |
| add token mixing on SST (sentiment control) (ablation) | HyperMixer · SST validation | accuracy: 79.7 -> 80.7 | No clear effect |
| generate weights from input instead of one shared weight vector (ablation) | HyperMixer · QNLI validation | accuracy: 65.9 -> 78.0 | Improved |
| tie the two hypernetworks (ablation) | HyperMixer (untied) · validation sets | accuracy: QNLI 73.3 -> 78.0; MNLI 65.8 -> 66.2 | Improved |
| train on only 10% of data (low-resource) | HyperMixer vs Transformer · SNLI, MNLI | relative improvement: about 12-14% better at 10% data vs less than 2% with full data | Improved |
| small hyperparameter tuning budget | HyperMixer vs Transformer · SNLI | relative expected validation performance: 6.5% better at small budgets, less than 2% at high budgets | Improved |
| long inputs: linear vs quadratic token mixing | HyperMixer vs Transformer · single-example time | wall-clock time / FOPs | Improved |
| HyperMixer instead of MLPMixer on synthetic attention task | MLPMixer · synthetic shape-height task | test loss: MLPMixer needs 5-10 times more data | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Transformer — TranSFormer: Slow-Fast Transformer for Machine Translation (ACL 2023) · better on 5 of 5 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in efficient language transformers
Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?
- Experiments stop at small models, often 1B parameters or fewer. · 10 papers state it
- The method is slower or heavier than its baseline in training or inference. · 10 papers state it
- Only English or alphabetic languages were tested. · 9 papers state it
Closest papers by meaning
- Hyperdecoders: Instance-specific decoders for multi-task NLP (EMNLP 2022 · similarity 0.86)
- Beyond Prompt Engineering: A Reinforced Token-Level Input Refinement for Large Language Models (AAAI 2025 · similarity 0.85)
- Separations in the Representational Capabilities of Transformers and Recurrent Architectures (NeurIPS 2024 · similarity 0.85)
- Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Models (NeurIPS 2025 · similarity 0.85)
- Hierarchical Autoregressive Transformers: Combining Byte- and Word-Level Processing for Robust, Adaptable Language Models (ICLR 2025 · similarity 0.85)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.