atlas

Research map / Architectures and efficiency / Attention and transformers

ESPFormer: Doubly-Stochastic Attention with Expected Sliced Transport Plans

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 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 ESPFormer, a doubly-stochastic attention mechanism built from Expected Sliced Transport Plans with soft sorting along axis-aligned slices, avoiding iterative Sinkhorn normalization.

Problem

Standard softmax self-attention can over-concentrate on a few tokens; doubly-stochastic attention fixes this but existing methods (Sinkformer) need iterative Sinkhorn normalization, which is computationally costly and sequential.

Approach

Treat attention as a transport plan between queries and keys, built as an expectation over axis-aligned 1D slices of lifted optimal transport plans obtained by differentiable soft sorting, with an inverse-temperature weighting over slices; this yields doubly-stochastic attention in parallel without Sinkhorn iterations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace standard attention with ESPFormer hard sortingViT · Cats vs Dogs 1%accuracy: 55.07 $\pm$ 3.34 -> 58.52 $\pm$ 3.73Helped
replace standard attention with ESPFormer hard sortingViT · Cats vs Dogs 10%accuracy: 69.56 $\pm$ 0.32 -> 72.71 $\pm$ 0.36Helped
replace standard attention with ESPFormer hard sortingViT · Cats vs Dogs 25%accuracy: 74.86 $\pm$ 0.17 -> 75.92 $\pm$ 0.28Helped
replace standard attention with ESPFormer hard sortingViT · Cats vs Dogs 100%accuracy: 79.12 $\pm$ 0.17 -> 81.23 $\pm$ 0.11Helped
replace Sinkformer attention with ESPFormerSet Transformer · ModelNet40mean accuracy: 88.3 -> 89.4Helped
replace DiffTransformer attention with ESPFormerPoint Cloud Transformer · ModelNet40mean accuracy: 92.7 -> 92.7No clear effect
replace DiffTransformer attention with ESPFormerTransformer encoder · IMDbmean accuracy: 85.45 -> 85.47No clear effect
replace DiffTransformer attention with ESPFormerTransformer encoder · TweetEvalmean accuracy: 72.31 -> 72.36No clear effect
replace Transformer attention with ESPFormer and fine-tuneTransformer · IWSLT14 German-to-EnglishBLEU: 34.61 -> 34.64Helped
replace DiffTransformer attention with ESPFormer and fine-tuneDiffTransformer · IWSLT14 German-to-EnglishBLEU: 34.78 -> 34.83Helped
replace Transformer attention with ESPFormer plug-and-playTransformer · IWSLT14 German-to-EnglishBLEU: 33.40 -> 33.38Hurt
use a learnable slicer instead of axis-aligned slicing (ablation)ESPFormer ViT · Cats vs Dogs, $\tau=0.1$, $L=64$accuracy: 79.47 \pm 0.12 -> 78.40 \pm 0.26Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Cats and Dogs ModelNet40 IMDb TweetEval IWSLT14 German-to-English MNIST

Benchmarks: Cats and Dogs ModelNet40 IMDb TweetEval IWSLT14 German-to-English MNIST

Metrics: classification accuracy BLEU runtime

Baselines: Transformer Sinkformer DiffTransformer Set Transformer Point Cloud Transformer

Builds on: Sinkformer Expected Sliced Transport Plans SoftSort Differential Transformer FSPool

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