atlas

Research map / Architectures and efficiency / Attention and transformers

Revisiting Context Aggregation for Image Matting

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Block-sparse attention kernels · 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.

Revisits context aggregation in image matting, finds plain encoder-decoder nets learn context well, and proposes AEMatter (Hybrid-Transformer backbone with appearance-enhanced axis-wise learning blocks, trained on 1024x1024 patches) that outperforms SOTA on five matting datasets.

Problem

Pooling- and affinity-based context aggregation modules in deep image matting are sensitive to context scale shift between training and inference image sizes, degrading matting accuracy.

Approach

A basic encoder-decoder without explicit context aggregation modules can learn universal context aggregation when trained on large patches with large receptive fields; AEMatter combines a Hybrid-Transformer (conv stem + Swin) encoder with appearance-enhanced axis-wise attention blocks to enlarge the receptive field.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train the basic ResNet-34 network with larger patches (256 to 1024) (ablation)BasicNet, ResNet-34 · Adobe Composition-1K validationSAD: 41.74 -> 28.08Helped
Train the basic Swin-Tiny network with larger patches (256 to 1024) (ablation)BasicNet, Swin-Tiny · Adobe Composition-1K validationSAD: 27.99 -> 19.72Helped
Replace 3 × 3 convolutions with 5 × 5 convolutions (ablation)BasicNet, ResNet-34 · Adobe Composition-1K validationSAD: 28.08 -> 26.72Helped
Replace 3 × 3 convolutions with 1 × 1 convolutions (ablation)BasicNet, ResNet-34 · Adobe Composition-1K validationSAD: 28.08 -> 31.28Hurt
Replace 3 × 3 convolutions with 5 × 5 convolutions (ablation)BasicNet, ResNet-50 · Adobe Composition-1K validationSAD: 23.82 -> 23.34Helped
Replace 3 × 3 convolutions with 1 × 1 convolutions (ablation)BasicNet, ResNet-50 · Adobe Composition-1K validationSAD: 23.82 -> 28.70Hurt
Add test-time augmentationAEMatter · Adobe Composition-1KSAD: 17.53 -> 16.89Helped
Use AEMatter instead of the strongest reported baselineMatting methods · Adobe Composition-1KSAD: 20.33 -> 17.53Helped
Use AEMatter instead of the strongest reported baselineMatting methods · Distinctions-646SAD: 22.36 -> 16.95Helped
Use AEMatter instead of the strongest reported baselineMatting methods · Transparent-460SAD: 192.36 -> 122.27Helped
Use AEMatter instead of the strongest reported baselineMatting methods · Semantic Image MattingSAD: 23.05 -> 19.51Helped
Use AEMatter instead of the strongest reported baselineMatting methods · Automatic Image Matting-500SAD: 19.43 -> 14.76Helped

Surprising findings

Limitations

Experimental setup

Datasets: Adobe Composition-1K Distinctions-646 Transparent-460 Semantic Image Matting Automatic Image Matting-500

Benchmarks: Adobe Composition-1K Distinctions-646 Transparent-460 Semantic Image Matting Automatic Image Matting-500

Metrics: SAD MSE Grad Conn

Baselines: IndexNet GCAMatting TIMI-Net FBAMatting MatteFormer ViTMatte-B DiffMatte-ViTS dugMatting DiffusionMat TransMatting LFPNet MGMatting

Builds on: IndexNet FBAMatting MatteFormer Swin Transformer TIMI-Net

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