TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/ViTMatte: Boosting Image Matting with Pretrained Plain Vis...

ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformers

Jingfeng Yao, Xinggang Wang, Shusheng Yang, Baoyuan Wang

2023-05-24Image Matting
PaperPDFCodeCodeCode(official)CodeCodeCodeCodeCodeCode

Abstract

Recently, plain vision Transformers (ViTs) have shown impressive performance on various computer vision tasks, thanks to their strong modeling capacity and large-scale pretraining. However, they have not yet conquered the problem of image matting. We hypothesize that image matting could also be boosted by ViTs and present a new efficient and robust ViT-based matting system, named ViTMatte. Our method utilizes (i) a hybrid attention mechanism combined with a convolution neck to help ViTs achieve an excellent performance-computation trade-off in matting tasks. (ii) Additionally, we introduce the detail capture module, which just consists of simple lightweight convolutions to complement the detailed information required by matting. To the best of our knowledge, ViTMatte is the first work to unleash the potential of ViT on image matting with concise adaptation. It inherits many superior properties from ViT to matting, including various pretraining strategies, concise architecture design, and flexible inference strategies. We evaluate ViTMatte on Composition-1k and Distinctions-646, the most commonly used benchmark for image matting, our method achieves state-of-the-art performance and outperforms prior matting works by a large margin.

Results

TaskDatasetMetricValueModel
Image MattingDistinctions-646Conn12.95ViTMatte
Image MattingDistinctions-646Grad7.03ViTMatte
Image MattingDistinctions-646MSE0.0015ViTMatte
Image MattingDistinctions-646SAD17.05ViTMatte
Image MattingComposition-1KConn14.78ViTMatte
Image MattingComposition-1KGrad6.74ViTMatte
Image MattingComposition-1KMSE3ViTMatte
Image MattingComposition-1KSAD20.33ViTMatte

Related Papers

Post-Training Quantization for Video Matting2025-06-12MP-Mat: A 3D-and-Instance-Aware Human Matting and Editing Framework with Multiplane Representation2025-04-20MaSS13K: A Matting-level Semantic Segmentation Benchmark2025-03-24VRMDiff: Text-Guided Video Referring Matting Generation of Diffusion2025-03-11Path-Adaptive Matting for Efficient Inference Under Various Computational Cost Constraints2025-03-05Object-Aware Video Matting with Cross-Frame Guidance2025-03-03Enhancing Image Matting in Real-World Scenes with Mask-Guided Iterative Refinement2025-02-24Efficient Portrait Matte Creation With Layer Diffusion and Connectivity Priors2025-01-27