MP-Mat: A 3D-and-Instance-Aware Human Matting and Editing Framework with Multiplane Representation

Siyi Jiao, Wenzheng Zeng, Yerong Li, Huayu Zhang, Changxin Gao, Nong Sang, Mike Zheng Shou

Overview

MP-Mat is a novel framework designed to tackle the complex problem of human instance matting—extracting precise, high-detail silhouettes for multiple people within a single image. By representing a scene through 3D-aware and instance-specific "planes," MP-Mat achieves state-of-the-art accuracy in complex occlusion scenarios. Furthermore, it enables high-quality, zero-shot image editing (such as moving people or changing depth ordering) that outperforms specialized generative models.

Visual comparison of MP-Mat against existing methods for both instance matting and editing tasks.

The Challenge of Human Instance Matting

Traditional human matting assumes a single subject per frame. Real-world scenes, however, are crowded. "Human instance matting" seeks to estimate an individual alpha matte (transparency mask) for every person. This presents two main challenges:

  1. Disentanglement: When people overlap, assigning "mingled pixels"—especially around fine structures like hair or thin clothing—to the correct person is incredibly difficult.
  2. 3D Blindness: Most matting models treat images as flat 2D planes, ignoring the spatial depth that naturally separates subjects. They also frequently ignore the background or fail to provide the color information necessary for downstream image editing tasks.

The MP-Mat Approach: Multiplane Representation

The authors introduce a dual-layered "Multiplane Representation," inspired by Multiplane Images (MPI) used in 3D vision but adapted for semantic understanding.

  • Scene Geometry-Level Multiplane (SG-MP): Instead of working purely at the pixel level, MP-Mat builds a feature-level representation. A Plane Generation Network (PGN) uses an estimated depth map to split the scene into multiple depth-based planes. This injects "3D awareness," providing spatial clues to separate instances based on their 3D positioning.
  • Instance-Level Multiplane (Inst-MP): The model then transitions to an instance-centric view, using learnable queries to capture features for each person. Crucially, it treats the background as a special instance. For every instance (including the background), the model predicts both an alpha matte and the foreground color.
  • Refinement Module: To handle intricate details like hair, the model generates uncertainty maps to identify ambiguous pixels and applies self-attention to refine those specific regions.

Key Innovations

  • 3D as a Prior for Matting: Forcing the model to decompose the scene into depth planes provides a natural sorting mechanism, drastically reducing the chance of accidentally assigning background pixels to a foreground subject.
  • The Power of Color + Matte: By explicitly predicting the color for every layer alongside the alpha mask, MP-Mat creates a layered image representation. This makes editing tasks mathematically straightforward (e.g., re-ordering or removing layers) rather than requiring complex generative hallucination.
  • Background Awareness: Treating the background as its own instance helps the model better understand the boundary where a human ends and the environment begins, minimizing artifacts in occlusion zones.

Performance and Results

MP-Mat was evaluated across several benchmarks, including HIM-100K, SMPMat, and a newly introduced synthetic dataset, ORHuman, designed specifically for occlusion reordering tasks.

  • Superior Matting: MP-Mat achieved a 26.75 SAD (Sum of Absolute Differences) on the HIM-100K dataset, significantly outperforming the previous state-of-the-art method, Maggie (29.48 SAD).
  • Zero-Shot Editing Excellence: In tasks like instance removal and dragging, MP-Mat's zero-shot inference outperformed specialized, heavy-duty models like DragonDiffusion. For instance removal, it achieved a 3.73% Mean L1 Loss, compared to DragonDiffusion's 12.13%.
  • Efficiency: Once the multiplane representation is built, editing operations are nearly instantaneous, whereas diffusion-based models require computationally expensive denoising steps.

Limitations and Future Directions

Currently, the framework is optimized primarily for human instances. While it shows some generalization to other categories (like animals), it relies heavily on high-quality multi-instance training data, which is scarce for non-human objects. Future work will focus on extending the framework to general object categories and exploring its utility in 3D photography, where fine-grained boundary handling is essential for realistic depth effects.

Summary updated

BibTeX
@inproceedings{jiao2025mp,
  author = {Siyi Jiao and Wenzheng Zeng and Yerong Li and Huayu Zhang and Changxin Gao and Nong Sang and Mike Zheng Shou},
  title = {{MP-Mat: A 3D-and-Instance-Aware Human Matting and Editing Framework with Multiplane Representation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Xw0fCEMFss},
}
Figure