atlas

Research map / Architectures and efficiency / Attention and transformers

PolaFormer: Polarity-aware Linear Attention for Vision Transformers

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 6 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 PolaFormer, a linear attention for vision transformers that splits query-key interactions by polarity (same- vs opposite-signed) and rescales with a learnable power function to lower attention entropy.

Problem

Linear attention approximations of softmax lose negative query-key interactions (due to non-negative feature maps) and produce high-entropy, uniform attention maps, reducing expressiveness on vision tasks.

Approach

Decompose q and k into positive and negative parts, compute same-signed and opposite-signed interactions in two value half-streams with learnable sign-aware coefficient matrices G^s and G^o, and apply a learnable channel-wise power function (exponent >1) that provably reduces positive sequence entropy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace DeiT-T self-attention with PolaFormerDeiT-T · ImageNet-1KTop-1 accuracy (%): 72.2 -> 74.6Helped
Replace Swin-T self-attention with PolaFormerSwin-T · ImageNet-1KTop-1 accuracy (%): 81.2 -> 82.6Helped
Replace PVT-T self-attention with PolaFormerPVT-T · ImageNet-1KTop-1 accuracy (%): 75.1 -> 78.8 (+3.7)Helped
Replace PVT-S self-attention with PolaFormerPVT-S · ImageNet-1KTop-1 accuracy (%): 79.8 -> 81.9 (+2.1)Helped
Replace PVTv2-b0 self-attention with PolaFormerPVTv2-b0 · ImageNet-1KTop-1 accuracy (%): 70.5 -> 72.3 (+1.8)Helped
Replace PVTv2-b1 self-attention with PolaFormerPVTv2-b1 · ImageNet-1KTop-1 accuracy (%): 78.7 -> 80.2 (+1.5)Helped
Replace Swin-S self-attention with PolaFormerSwin-S · ImageNet-1KTop-1 accuracy (%): 83.0 -> 83.6 (+0.6)Helped
Replace Swin-B self-attention with PolaFormerSwin-B · ImageNet-1KTop-1 accuracy (%): 83.5 -> 83.8 (+0.3)Helped
Replace PVT-T self-attention with PolaFormerPVT-T with RetinaNet · COCO, 1×APᵇ: 36.7 -> 39.5 (+2.8)Helped
Replace PVT-T self-attention with PolaFormerPVT-T with SemanticFPN · ADE20KmIoU (%): 35.7 -> 38.3 (+2.6)Helped
Replace Swin-T self-attention with PolaFormerSwin-T with UperNet · ADE20KmIoU (%): 44.5 -> 45.8 (+1.3)Helped
Vary the power-function scaling factor α across 3, 5, and 7 (ablation)PolaFormer · LRAAccuracy (%): 60.72; 60.47; 60.57Mixed

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K COCO ADE20K Long Range Arena

Benchmarks: ImageNet-1K COCO ADE20K Long Range Arena

Metrics: Top-1 accuracy box AP mask AP mIoU accuracy throughput peak memory

Baselines: DeiT Swin Transformer PVT PVTv2 FLatten Transformer Hydra Attention Efficient Attention Skyformer Hedgehog Performer Cosformer

Builds on: linear attention FLatten Transformer Skyformer Swin Transformer PVT

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