PixelMatte: High-Fidelity Image Matting with Pixel-Space Diffusion Transformers
Adapting pretrained pixel-space diffusion transformers for one-step, VAE-free high-fidelity image matting with LayerShift and High-Pass Refiner — reducing SAD and gradient errors by 24–44% on P3M-500-NP and AM-2K.
New preprint out (arXiv coming soon). * Equal contribution, † Corresponding author.
Abstract
Diffusion models have shown strong potential for image matting by transferring generative priors learned from large-scale pretraining. However, existing approaches largely rely on latent diffusion models, whose compressed representations and VAE-based reconstruction introduce a mismatch with the high-frequency precision required for matting. We present PixelMatte, a framework that adapts pretrained pixel-space diffusion transformers for high-fidelity image matting. We show that strong image-conditioned matting capabilities can be acquired even from a pure text-to-image model without paired image-to-image pretraining. Our approach reuses the backbone’s native patch embedding to jointly process the input image, trimap, and noisy alpha matte as spatially aligned tokens, enabling direct pixel-space prediction without additional condition encoders or adapters. With pixel-accurate synthetic supervision and real-image fine-tuning, PixelMatte predicts alpha mattes in a single forward pass. Two lightweight calibration modules, LayerShift and High-Pass Refiner, further improve regional opacity accuracy and boundary fidelity. Experiments across four benchmarks and two distinct pixel diffusion backbones demonstrate substantial improvements over existing methods, reducing SAD and gradient errors by 24–44% relative to RenderMatte on P3M-500-NP and AM-2K, while achieving competitive performance on AIM-500 and RenderMatte-2K.
![]()
Method
Latent diffusion matting predicts the matte as a compressed code between a frozen VAE encoder and decoder. PixelMatte removes both: a pretrained pixel-space diffusion transformer reads the image, trimap, and noisy matte as pixel tokens and predicts the alpha matte directly.
- Spatially aligned conditioning — The image, trimap, and noisy matte share one spatial grid via the backbone’s native patch embedding, requiring no extra condition encoder or adapter.
- One-step prediction — Fine-tuned on pixel-accurate synthetic composites and real photographs, predicting the full alpha matte in a single forward pass.
- LayerShift — One learned vector per transformer layer added to unknown-region tokens (backbone frozen) to calibrate regional opacity.
- High-Pass Refiner — A lightweight residual network passed through a high-pass operator to sharpen fine boundary transitions.
![]()
Results
Evaluated with two pixel-space diffusion backbones (PRX-7B and HiDream-O1-Image 8B) in a single forward pass without test-time augmentation:
- 24–44% lower SAD & Grad error relative to RenderMatte on P3M-500-NP (SAD
4.3, Grad4.6) and AM-2K (SAD4.4, Grad3.1). - State-of-the-art / competitive across AIM-500 (SAD
12.6, Grad7.7) and RenderMatte-2K (SAD3.3, Grad2.8).
![]()
Citation
@article{yang2026pixelmatte,
title = {High-Fidelity Image Matting with Pixel-Space Diffusion Transformers},
author = {Yang, Baihan and Lin, Xin and Wei, Yufan and Li, Baiang and Liu, Yuheng and Tian, Juanxi and Xie, Xiaohui and Nguyen, Truong},
journal = {arXiv preprint},
year = {2026}
}
