atlas

Research map / Detection and segmentation / CNN features

EFormer: Enhanced Transformer towards Semantic-Contour Features of Foreground for Portraits Matting

CVPR 2024 · Detection and segmentation › CNN features · approach: Local features and context in CNNs · 1 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 EFormer, a transformer decoder with cross-attention between high- and low-resolution features plus semantic/contour branches, for trimap-free portrait matting, outperforming prior methods on VideoMatte240K and AIM.

Problem

Self-attention in transformers captures low-frequency semantics but neglects high-frequency contour details, biasing portrait matte boundaries.

Approach

Uses cross-attention between high-resolution (1/8) and low-resolution (1/16) features to locate and emphasize high-frequency contour regions, cascaded with self-attention in a Semantic and Contour Detector, followed by separate MLP contour-edge and semantic extraction branches whose outputs are fused for the matte head.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use EFormer instead of RVMPortrait matting · VideoMatte240K-JPEG-SD test (512×288)MSE: 1.1700 -> 0.6637Helped
Use EFormer instead of RVMPortrait matting · AIM testMAD: 14.84 -> 7.47Helped
Use EFormer instead of RVMPortrait matting · VideoMatte240K-JPEG-SD test (224×224)MAD: 6.1357 -> 4.1357Helped
Train for 25 rather than 20 epochs (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.1357 -> 4.1811Hurt
Train for 5 rather than 20 epochs (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.1357 -> 4.3953Hurt
Add self-attention after cross-attention (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.2762 -> 4.1357Helped
Add cross-attention before self-attention (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.1710 -> 4.1357Helped
Use Fenc 1/4 for FHR and Fenc 1/8 for FLR instead of Fenc 1/8 and Fenc 1/16 (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.1357 -> 3.9970Helped
Use Fenc 1/4 for FHR and Fenc 1/16 for FLR instead of Fenc 1/8 and Fenc 1/16 (ablation)EFormer · VideoMatte240K-JPEG-SD test (224×224)MAD: 4.1357 -> 3.9730Helped

Surprising findings

Limitations

Experimental setup

Datasets: VideoMatte240K (JPEG SD Format) Adobe Image Matting (AIM) BG10K

Benchmarks: VideoMatte240K-JPEG-SD test set AIM test set

Metrics: MAD MSE Grad Conn

Baselines: DeepLabV3 MODNet BGMv2 RVM

Builds on: DETR Inception Transformer (IFormer) ResNet BGMv2

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