Skip to main content
QUICK REVIEW

[Paper Review] MODNet: Real-Time Trimap-Free Portrait Matting via Objective Decomposition

Zhanghan Ke, Jiayu Sun|arXiv (Cornell University)|Nov 24, 2020
Image Enhancement TechniquesComputer Science5 citations
TL;DR

MODNet is a lightweight, real-time portrait matting network that achieves state-of-the-art performance without requiring trimaps or multi-stage inference. It simultaneously optimizes sub-objectives via explicit constraints using a single input image, employing an Efficient Atrous Spatial Pyramid Pooling (e-ASPP) module and a self-supervised sub-objective consistency (SOC) strategy to enhance efficiency and robustness, achieving 67 FPS on a 1080Ti GPU and outperforming prior trimap-free methods on both Adobe and the newly proposed PPM-100 benchmarks.

ABSTRACT

Existing portrait matting methods either require auxiliary inputs that are costly to obtain or involve multiple stages that are computationally expensive, making them less suitable for real-time applications. In this work, we present a light-weight matting objective decomposition network (MODNet) for portrait matting in real-time with a single input image. The key idea behind our efficient design is by optimizing a series of sub-objectives simultaneously via explicit constraints. In addition, MODNet includes two novel techniques for improving model efficiency and robustness. First, an Efficient Atrous Spatial Pyramid Pooling (e-ASPP) module is introduced to fuse multi-scale features for semantic estimation. Second, a self-supervised sub-objectives consistency (SOC) strategy is proposed to adapt MODNet to real-world data to address the domain shift problem common to trimap-free methods. MODNet is easy to be trained in an end-to-end manner. It is much faster than contemporaneous methods and runs at 67 frames per second on a 1080Ti GPU. Experiments show that MODNet outperforms prior trimap-free methods by a large margin on both Adobe Matting Dataset and a carefully designed photographic portrait matting (PPM-100) benchmark proposed by us. Further, MODNet achieves remarkable results on daily photos and videos. Our code and models are available at https://github.com/ZHKKKe/MODNet, and the PPM-100 benchmark is released at https://github.com/ZHKKKe/PPM.

Motivation & Objective

  • To develop a real-time, trimap-free portrait matting method that avoids costly auxiliary inputs and multi-stage pipelines.
  • To address the domain shift problem in trimap-free matting by improving generalization to real-world data.
  • To design a lightweight, single-stage network that optimizes multiple matting sub-objectives simultaneously for higher efficiency and accuracy.
  • To establish a new, high-quality benchmark (PPM-100) for fair evaluation of trimap-free portrait matting methods.

Proposed method

  • MODNet uses explicit constraints to optimize multiple matting sub-objectives (e.g., foreground, background, and alpha prediction) simultaneously in a single-stage architecture with only a single RGB input.
  • It introduces an Efficient Atrous Spatial Pyramid Pooling (e-ASPP) module that reduces parameters and FLOPs to 1% of standard ASPP while maintaining comparable multi-scale feature fusion performance.
  • The e-ASPP module applies channel reduction, multi-scale feature extraction, feature fusion, and inter-channel fusion to accelerate semantic estimation.
  • A self-supervised sub-objective consistency (SOC) strategy is proposed to improve robustness by enforcing consistency among predicted sub-objectives during training, reducing domain shift effects.
  • The model is trained end-to-end, enabling efficient optimization without complex pipelines or auxiliary supervision.
  • The method is evaluated on the Adobe Matting Dataset and a new, high-quality PPM-100 benchmark designed for diverse, real-world portrait images.

Experimental results

Research questions

  • RQ1Can a single-stage, trimap-free portrait matting network achieve real-time inference while maintaining high accuracy?
  • RQ2How can multi-scale feature fusion be made efficient without sacrificing semantic representation in portrait matting?
  • RQ3Can self-supervised consistency among sub-objectives improve generalization to real-world data and reduce domain shift?
  • RQ4How does the proposed method compare to existing trimap-free and multi-stage approaches in terms of speed, accuracy, and robustness?
  • RQ5Can a new, high-quality benchmark improve the fairness and reproducibility of portrait matting evaluations?

Key findings

  • MODNet achieves 67 frames per second inference speed on a GTX 1080Ti GPU with a 512×512 input, significantly outpacing contemporaneous methods.
  • On the Adobe Matting Dataset, MODNet achieves a mean squared error (MSE) of 0.0082 and mean absolute difference (MAD) of 0.0157, outperforming prior trimap-free methods.
  • With the self-supervised SOC strategy, MODNet reduces MSE to 0.0033 and MAD to 0.0084 on the CRGNN-R benchmark, demonstrating improved robustness.
  • On the newly proposed PPM-100 benchmark, MODNet achieves state-of-the-art performance, validating its effectiveness on diverse, real-world portrait images.
  • MODNet outperforms background matting (BM) in dynamic scenes, such as when moving objects enter the background, due to its robustness to background changes.
  • The e-ASPP module reduces parameters and FLOPs to 1% of standard ASPP while maintaining competitive performance, proving its efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.