huggingface.co web signal

PixelMatte Trims Image Matting Errors 24-44% vs RenderMatte

TL;DR

  • PixelMatte reduces RenderMatte's SAD and gradient errors by 24-44% on P3M-500-NP and AM-2K, while performing competitively on AIM-500 and RM-2K.
  • The framework fine-tunes pretrained pixel-space diffusion transformers PRX-7B and HiDream-O1-Image 8B, skipping the VAE used by latent-diffusion matting approaches.
  • Two lightweight calibration modules handle residual error: LayerShift (147,456 parameters for HiDream) and a High-Pass Refiner with 1.3M parameters.

On two standard image-matting benchmarks, a new method called PixelMatte cuts RenderMatte's Sum of Absolute Differences error from 6.2 to 4.3 and from 6.5 to 4.4. That is the central claim of a paper from researchers at UC San Diego, Princeton, UC Irvine and Nanyang Technological University, posted to Hugging Face.

The authors' bet is that pixel-space diffusion beats the latent kind for cutting out hair. "Matting is a high-frequency task, yet the network of a latent model operates on a spatially compressed representation in which hair-thin structures and opacity transitions are not represented explicitly," they write. So they skip the VAE entirely and fine-tune two pretrained pixel-space backbones, PRXPixel (PRX-7B) and HiDream-O1-Image 8B, with the input image, trimap and noisy alpha matte all fed through the backbone's own patch embedding.

The predictor runs in a single forward pass. Two small calibration modules sit on top: LayerShift, a per-layer bias totalling 147,456 parameters for HiDream, and a High-Pass Refiner described as "8 dilated residual blocks, 96 channels, 1.3M parameters" that targets over-wide edges. On RenderMatte-2K the pair drops HiDream's SAD from 3.74 to 3.31; on PRX-7B, from 3.60 to 3.46.

On a single H200 GPU, PRX returns a matte at 1024² in 0.46 s and HiDream at 2048² in 0.64 s, against RenderMatte's 0.91 s at 1024². The authors are flat about what the method does not fix. "PixelMatte inherits visual priors learned primarily for image synthesis, which may not fully capture the opacity characteristics of challenging materials," they note, flagging residual low-amplitude alpha in saturated regions on RM-2K and noise-seed sensitivity for some transparent objects on AIM-500.

Code and demos live on a project page. The paper lands during a steady run of pixel-space diffusion work on our generative AI tracker, with 396 stories logged in the last 90 days.