atlas

Research map / Architectures and efficiency / Attention and transformers

MultiMax: Sparse and Multi-Modal Attention Learning

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Sparse and structured attention · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MultiMax, a piecewise-differentiable, learnable replacement for SoftMax that modulates small and large input entries with separate temperatures to get both sparsity and multi-modality, improving ImageNet, WikiText-103 and IWSLT results.

Problem

SoftMax spreads probability mass onto irrelevant entries (poor sparsity), while existing sparse SoftMax variants need alternative losses, lose multi-modality, and have unstable training; a sparsity-multi-modality trade-off limits SoftMax expressivity.

Approach

Apply learnable piecewise (first- and second-order) modulation to the SoftMax input, using a low temperature for small entries (sparsity) and a high temperature for large entries (multi-modality), keeping full support and standard cross-entropy training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace SoftMax with MultiMax in attention and output layersDeiT-tiny · ImageNet-1kaccuracy (%): 72.8 -> 73.4Helped
Replace SoftMax with MultiMax in attention and output layersDeiT-small · ImageNet-1kaccuracy (%): 80.4 -> 81.0Helped
Use Ev-SoftMax in attention instead of SoftMaxDeiT-small · ImageNet-1kaccuracy (%): 80.4 -> 80.0Hurt
Replace SoftMax with MultiMax in attention and output layersDeiT-base · ImageNet-1kaccuracy (%): 82.1 -> 82.6Helped
Apply MultiMax in attention and output layers rather than Patch DiversificationDeiT-small · ImageNet-1kaccuracy (%): 81.2* vs 81.2No clear effect
Apply MultiMax in attention and output layers rather than AttnScaleDeiT-small · ImageNet-1kaccuracy (%): 80.9* -> 81.3Helped
Add MultiMax in attention only6-layer Transformer Decoder, 156M parameters · WikiText-103 testperplexity: 29.4 -> 29.0Helped
Add MultiMax to the output layer in addition to attention6-layer Transformer Decoder, 156M parameters · WikiText-103 testperplexity: 29.0 -> 28.7Helped
Replace SoftMax with MultiMax in attentionTransformer · IWSLT 2014 English-to-GermanBLEU: 34.4 ± 0.07 -> 34.7 ± 0.07Helped
Add term (1), modulating smaller entries (ablation)MultiMax on DeiT-small · ImageNet-1kaccuracy (%): 80.4 -> 80.6Helped
Add term (2), modulating larger entries, in addition to term (1) (ablation)MultiMax on DeiT-small · ImageNet-1kaccuracy (%): 80.6 -> 80.7Helped
Add second-order terms to terms (1) and (2) (ablation)MultiMax on DeiT-small · ImageNet-1kaccuracy (%): 80.7 -> 81.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet1K WikiText-103 IWSLT-2014 German-English

Benchmarks: ImageNet1K WikiText-103 IWSLT-2014 En-De

Metrics: top-1 accuracy perplexity BLEU patch similarity sparsity multi-modality

Baselines: SoftMax Top-k attention Ev-SoftMax SparseMax EntMax-1.5 Patch Diversification AttnScale

Builds on: SoftMax Sparsemax EntMax Ev-SoftMax DeiT

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