scimeatlas

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

ACL 2023Architectures and efficiency › Attention and transformersapproach: Efficient language transformersopen problems in this approach32 citations (OpenAlex)

EPFL · Idiap Research Institute · University of Geneva

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
9improved
1no clear effect
1mixed

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
generate token-mixing MLP with hypernetworks instead of fixed position-specific MLP (HyperMixer vs MLPMixer)MLPMixer · MNLI/SNLI/QQP/QNLI/SST validationaccuracy: QNLI 68.1 -> 78.0; QQP 83.7 -> 85.6; MNLI 63.9 -> 66.2Improved
HyperMixer instead of Transformer token mixingTransformer · test setsaccuracy: QNLI 73.2 -> 77.1; MNLI 65.8 -> 66.1Improved
HyperMixer vs Linear TransformerLinear Transformer · test setsaccuracy: MNLI 66.9 vs 66.1; QNLI 61.7 -> 77.1Mixed
remove token mixing (feature mixing only) (ablation)HyperMixer · MNLI validationaccuracy: 54.5 -> 66.2 when token mixing addedImproved
add token mixing on SST (sentiment control) (ablation)HyperMixer · SST validationaccuracy: 79.7 -> 80.7No clear effect
generate weights from input instead of one shared weight vector (ablation)HyperMixer · QNLI validationaccuracy: 65.9 -> 78.0Improved
tie the two hypernetworks (ablation)HyperMixer (untied) · validation setsaccuracy: QNLI 73.3 -> 78.0; MNLI 65.8 -> 66.2Improved
train on only 10% of data (low-resource)HyperMixer vs Transformer · SNLI, MNLIrelative improvement: about 12-14% better at 10% data vs less than 2% with full dataImproved
small hyperparameter tuning budgetHyperMixer vs Transformer · SNLIrelative expected validation performance: 6.5% better at small budgets, less than 2% at high budgetsImproved
long inputs: linear vs quadratic token mixingHyperMixer vs Transformer · single-example timewall-clock time / FOPsImproved
HyperMixer instead of MLPMixer on synthetic attention taskMLPMixer · synthetic shape-height tasktest loss: MLPMixer needs 5-10 times more dataImproved

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy