atlas

Research map / Architectures and efficiency / Attention and transformers

Maximizing the Position Embedding for Vision Transformers with Global Average Pooling

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 4 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 MPVG, a layer-wise position-embedding scheme for vision transformers with global average pooling that adds PE to the final LayerNorm to keep PE's counterbalancing role, improving ImageNet, CIFAR-100, COCO and ADE20K results.

Problem

Layer-wise position embedding delivery, which helps ViTs, conflicts with global average pooling: combining the two lowers accuracy compared with either alone.

Approach

Observes that in layer-wise PE, PE counterbalances token-embedding values across layers, and that this counterbalancing is lost after the last layer; MPVG re-adds PE to the final LayerNorm (Last LN) and excludes PE delivery to layer 0, with PE added to tokens before layer 0.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add initial PE to the Last LN in PVG (MPVG)DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.17 -> 73.51Helped
Add initial PE to the Last LN in PVG (MPVG)DeiT-S, DeiT-B, Swin-Ti, CeiT-Ti, and T2T-ViT-7 · ImageNet-1KTop-1 accuracy (%): 80.38 -> 80.61; 82.21 -> 82.42; 81.52 -> 81.64; 77.14 -> 77.20; 71.91 -> 72.28Helped
Add initial PE to the Last LN in PVG (MPVG)ViT-Lite and T2T-ViT-7 · CIFAR-100Top-1 accuracy (%): 76.67 -> 76.87; 83.39 -> 83.51Helped
Add initial PE to the Last LN in PVG (MPVG)ViT-Adapter-Ti · COCO 2017Box AP: +0.5Helped
Add initial PE to the Last LN in PVG (MPVG)ViT-Adapter-Ti · COCO 2017Mask AP: +0.4Helped
Add initial PE to the Last LN in PVG (MPVG)ViT-Adapter-Ti · ADE20KmIoU: +0.62Helped
Use pos_11 rather than pos_0 in the Last LN (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.51 -> 73.30Hurt
Use pos_8 rather than pos_0 in the Last LN (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.51 -> 73.38Hurt
Use pos_5 rather than pos_0 in the Last LN (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.51 -> 73.39Hurt
Exclude layer 0 when delivering PE (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.31 -> 73.51Helped
Use hierarchical rather than non-hierarchical PE delivery (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.48 -> 73.51No clear effect
Add PE to token embedding before layer 0 (ablation)MPVG on DeiT-Ti · ImageNet-1KTop-1 accuracy (%): 73.28 -> 73.51Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K CIFAR-100 COCO 2017 ADE20K

Benchmarks: ImageNet-1K CIFAR-100 COCO 2017 ADE20K

Metrics: Top-1 accuracy box AP mask AP mIoU

Baselines: Default (absolute PE) LaPE PVG

Builds on: ViT LaPE DeiT ViT-Adapter

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