Toward Real-World High-Precision Image Matting and Segmentation
Haipeng Zhou, Zhaohu Xing, Hongqiu Wang, Jun Ma, Ping Li, Lei Zhu
TL;DR
This work tackles real-world high-precision image matting and dichotomous segmentation by addressing domain gaps between synthetic and real data and enabling interactive, target-specific predictions. The proposed Foreground Consistent Learning Model (FCLM) combines depth-aware distillation from a strong teacher to a compact student, foreground-consistent domain adaptation with adversarial and optimal-transport alignment, and an Object-Oriented Decoder that accepts both visual and language prompts. Key contributions include treating synthetic data as a domain adaptation problem, introducing depth-guided feature distillation, a foreground-centric alignment strategy, and a prompt-ready decoder architecture; together these yield state-of-the-art results on HIM2K, RefMatte, and DIS-5K. The framework supports flexible user interaction and semantic guidance, offering practical benefits for AR/VR, image editing, and open-world segmentation tasks with robust real-world generalization.
Abstract
High-precision scene parsing tasks, including image matting and dichotomous segmentation, aim to accurately predict masks with extremely fine details (such as hair). Most existing methods focus on salient, single foreground objects. While interactive methods allow for target adjustment, their class-agnostic design restricts generalization across different categories. Furthermore, the scarcity of high-quality annotation has led to a reliance on inharmonious synthetic data, resulting in poor generalization to real-world scenarios. To this end, we propose a Foreground Consistent Learning model, dubbed as FCLM, to address the aforementioned issues. Specifically, we first introduce a Depth-Aware Distillation strategy where we transfer the depth-related knowledge for better foreground representation. Considering the data dilemma, we term the processing of synthetic data as domain adaptation problem where we propose a domain-invariant learning strategy to focus on foreground learning. To support interactive prediction, we contribute an Object-Oriented Decoder that can receive both visual and language prompts to predict the referring target. Experimental results show that our method quantitatively and qualitatively outperforms SOTA methods.
