X-Matte speeds up and improves single-step image matting accuracy
X-Matte: VAE-Free Pixel-Space Flow Matching for Single-Step Image Matting
Computer Vision and Pattern Recognition
Summary
Image matting means precisely separating a subject from an image background by estimating transparency levels, which is tricky and usually slow with detailed edges. The paper’s authors created X-Matte, a new method that skips old techniques that compress images and lose detail. Instead, it works directly with pixels to predict accurate transparent edges in just one step and much faster. Their tests showed it matches or beats other methods and works well on new images without extra training.
What this means in practice
- •For photo editors: Produce high-quality cutouts with fine details faster by using X-Matte’s single-step pixel-space matting without extra fine-tuning.
- •For augmented reality developers: Integrate real-time subject extraction in AR apps with improved speed and accuracy from X-Matte’s VAE-free matting approach.
Authors
Zanyi Wang, Jiaang Li, Dengyang Jiang, Ziru Wang, Chengzu Li, Davit Abrahamyan, Harry Yang, Serge Belongie, Mengmeng Wang
Abstract
Pre-trained generative models offer rich visual priors for image matting, but their adaptation often relies on variational autoencoders (VAEs), whose spatial compression can degrade fine alpha details and introduce additional inference overhead. To address these limitations, we propose X-Matte, a VAE-free pixel-space flow matching framework for single-step image matting. By eliminating latent compression, X-Matte formulates the RGB-to-alpha transition as a continuous flow directly in pixel space. We adopt trajectory-wide x-prediction with transition-aware alpha supervision, enabling the model to learn from intermediate states while directly predicting the target alpha matte in a single forward pass. This design avoids both VAE encoding and decoding and iterative sampling. Extensive experiments demonstrate performance competitive with state-of-the-art trimap-free matting methods on P3M benchmarks, together with promising zero-shot generalization to RWP-636 and AIM-500. Moreover, X-Matte achieves up to a 9.4x inference speedup over a constructed single-step latent counterpart at high resolution, demonstrating the effectiveness of VAE-free pixel-space modeling for accurate and efficient image matting.