atlas

Research map / Architectures and efficiency / Attention and transformers

ALGM: Adaptive Local-then-Global Token Merging for Efficient Semantic Segmentation with Plain Vision Transformers

CVPR 2024 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 19 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 ALGM, a parameter-free two-stage token merging method (local CLAP merging in layer 1, global bipartite merging mid-network, with unmerging) that speeds up plain-ViT semantic segmentation while often improving mIoU.

Problem

Token reduction for ViT-based semantic segmentation typically either hurts segmentation quality or gives limited efficiency gains, since every token needs a per-pixel prediction and existing merging methods designed for classification degrade mIoU.

Approach

Uses cosine similarity to identify mergeable tokens: local merging of similar tokens within small windows in the first layer (CLAP), followed by global bipartite merging (GBM, based on BSM/ToMe) halfway through the network, with an automatically derived threshold (mean + std of training similarities) and token unmerging before the decoder.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add ALGMSegmenter ViT-S · ADE20KmIoU (%): 45.3 -> 46.4Helped
add ALGMSegmenter ViT-S · COCO-StuffmIoU (%): 42.3 -> 43.1Helped
add ALGMSegmenter ViT-S · CityscapesmIoU (%): 76.5 -> 76.9Helped
add ALGMSegmenter ViT-S · Pascal-ContextmIoU (%): 53.0 -> 53.2Helped
use the inference threshold optimized for efficiency (ALGM*)Segmenter ViT-S with ALGM · ADE20KIm/sec: 192 -> 235Helped
increase the CLAP window from 2×2 to 4×4 (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 44.6Hurt
increase the CLAP window from 2×2 to 8×8 (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 37.2Hurt
remove GBM and retain CLAP only (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 45.6Hurt
replace first-layer CLAP with GBM (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 45.0Hurt
move GBM from layer 5 to layer 8 (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 46.5Helped
disable attention balancing while retaining denoising (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 45.6Hurt
disable denoising by selecting a random token instead of averaging (ablation)ALGM on Segmenter ViT-S · ADE20KmIoU (%): 46.4 -> 45.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ADE20K Pascal Context Cityscapes COCO-Stuff-10K

Benchmarks: ADE20K Pascal Context Cityscapes COCO-Stuff-10K

Metrics: mIoU images per second GFLOPs

Baselines: CTS ToMe ELViT AiluRus DToP DoViT

Builds on: ToMe BSM CTS

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