atlas

Research map / Architectures and efficiency / Attention and transformers

LASER: Attention with Exponential Transformation

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 2 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 LASER attention, which applies softmax attention to exp-transformed values and takes a log (with a log-weighted-sum-exp shift for numerical stability), claiming larger softmax Jacobians and gains across LLMs up to 7.7B, ViT, Conformer and BERT.

Problem

Gradients backpropagated through the softmax in attention can be small when attention probabilities are small or saturated, leading to inefficient learning of parameters preceding attention.

Approach

Compute attention on exponentially transformed values, log(softmax(QK^T) exp(V)), which admits a larger Jacobian and a log-sum-exp (soft-max-like) structure; implement it by shifting values by their column max and wrapping any standard attention kernel (e.g., FlashAttention) with exp before and log after.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace standard attention with LASER301M decoder-only Transformer · C4 test loss across the reported layer/hidden-dimension settingstest loss: 2.681 -> 2.673; 2.641 -> 2.595; 2.575 -> 2.555Helped
use LAMB optimizer with LASER attention instead of standard attention (ablation)301M decoder-only Transformer · C4 training and test lossloss: training: 2.749 vs 2.736; test: 2.758 vs 2.741Helped
replace standard attention with LASER2.2B autoregressive Transformer · One-shot downstream task averageaccuracy: 62.34% -> 63.39%Helped
replace standard attention with LASER2.2B autoregressive Transformer · SuperGLUE fine-tuning averagedecoding accuracy: 42.35 -> 44.01Helped
replace standard attention with LASER2.2B BERT · MLPerf masked language modelingprediction error rate: 0.2145 -> 0.2125Helped
replace standard attention with LASERViT-S/16 · ImageNet-1k validationerror rate: 0.2532 -> 0.2417Helped
add temperature tuning to LASER (ablation)ViT-S/16 · ImageNet-1k validationerror rate: 0.2417 -> 0.2427Hurt
add QK-normalization to LASER (ablation)ViT-S/16 · ImageNet-1k validationerror rate: 0.2417 -> 0.2372Helped
add per-dimension temperature to LASER (ablation)ViT-S/16 · ImageNet-1k validationerror rate: 0.2417 -> 0.2475Hurt
replace standard attention with LASERConformer · Librispeech validationWER: 0.083192 -> 0.082892Helped
replace standard attention with LASER7.7B autoregressive Transformer · Downstream task averageaccuracy: 52.53 -> 53.97Helped
add LASER to DiffTransformer attention (ablation)2.2B DiffTransformer · Downstream task averageaccuracy: 50.59 -> 51.52Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 ImageNet-1k LibriSpeech MLPerf Wikipedia BERT data SuperGLUE

Benchmarks: ARC BoolQ CB COPA HellaSwag MultiRC OpenBookQA PIQA RACE ReCoRD RTE StoryCloze

Metrics: test loss one-shot accuracy finetuning accuracy error rate word error rate training stability (loss spikes)

Baselines: Standard attention Standard+temp Standard+per-dim temp Standard+QK-normalization DiffTransformer

Builds on: Transformer FlashAttention Differential Transformer QK-normalization AlgoPerf

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