HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformers

Jingfeng Yao Xinggang Wang Shusheng Yang Baoyuan Wang

ViTMatte: Boosting Image Matting with Pretrained Plain Vision Transformers

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.

Benchmarks

BenchmarkMethodologyMetrics
image-matting-on-composition-1k-1ViTMatte
Conn: 14.78
Grad: 6.74
MSE: 3.0
SAD: 20.33
image-matting-on-distinctions-646ViTMatte
Conn: 12.95
Grad: 7.03
MSE: 0.0015
SAD: 17.05
Trimap:

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp