atlas

Research map / Architectures and efficiency / Attention and transformers

Memory Efficient Matting with Adaptive Token Routing

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient image transformers · 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 MEMatte, a memory-efficient ViT-based image matting framework that routes informative tokens to global attention and others to a lightweight refinement branch, plus the UHR-395 ultra high-resolution matting dataset.

Problem

Global self-attention in transformer-based image matting has quadratic memory and compute cost, making full-resolution high-resolution matting infeasible on memory-limited GPUs; fixed-ratio token pruning/merging degrades accuracy.

Approach

A local-global router before each global attention block predicts per-token routing probabilities; a Batch-constrained Adaptive Token Routing mechanism reselects branches for all tokens at every block with a batch-level compression constraint, while a Lightweight Token Refinement Module (depth-wise conv + efficient channel attention), distilled from the ViTMatte teacher, handles the rest of the to

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use adaptive token routing instead of the ViTMatte-S baselineViTMatte-S · Composition-1Kmemory (GB): 6.20 -> 0.71Helped
Use adaptive token routing instead of the ViTMatte-S baselineViTMatte-S · Composition-1KSAD: 21.46 -> 21.90Hurt
Use MEMatte-S rather than ViTMatte-SViTMatte-S · Distinctions-646SAD: 23.43 -> 21.54Helped
Use MEMatte rather than ViTMatteViTMatte-S · PPT-344SAD: 141.98 -> 117.05Helped
Fine-tune on UHR-395 training setMEMatte-S · UHR-395SAD: 623.93 -> 505.88Helped
Use MEMatte rather than ViTMatteViTMatte-S · AIM500SAD: 19.57 -> 18.88Helped
Replace adaptive routing with fixed-ratio DynamicViT compression (ablation)ViTMatte · Composition-1KSAD: 21.46 -> 33.47Hurt
Replace adaptive routing with EViT compression (ablation)ViTMatte · Composition-1KSAD: 21.46 -> 42.66Hurt
Replace adaptive routing with ToMe compression (ablation)ViTMatte · Composition-1KSAD: 21.46 -> 34.19Hurt
Set target compression degree rho to 0.10 instead of 0.25 (ablation)MEMatte · Composition-1KSAD: 21.90 -> 22.68Hurt
Add both distillation loss and LTRM (ablation)MEMatte · Composition-1KSAD: 22.67 -> 21.90Helped
Reduce maximum token number k during inference (ablation)MEMatte · high-resolution inferencematting performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: DIM Composition-1K Distinctions-646 COCO VOC2012 UHR-395 PPM-100 Transparent-460 AIM-500

Benchmarks: Composition-1K Distinctions-646 UHR-395 PPT-344 AIM-500

Metrics: SAD MSE Grad Conn memory (GB) latency (ms) GFLOPs

Baselines: ViTMatte DIM IndexNet GCA HDMatt MGMatting SIM FBA TransMatting MatteFormer RMat SparseMat

Builds on: ViTMatte DynamicViT EViT ToMe Skip-At ECA

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