# SynthHair: Leveraging MetaHumans for a High-Quality 4K Hair Matting Dataset

*Markus Karmann, Shile Li, Philip Torr, Puneet Dokania, Qi Zhang, Peng-Tao Jiang, Bo Li, Onay Urfalioglu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139817) · [OpenReview](https://openreview.net/forum?id=2xR9SbLJIE) · [Open on the map](../papers.html#p139817)

Category: [3D Vision & Image Restoration](../pcat/2.md) › [3D Surface Reconstruction](../pgroup/422.md) · Type: benchmark or dataset · Keywords: synthetic hair matting dataset, high-resolution image annotation, scale-invariant label complexity metric, domain generalization, 4K portrait matting

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Visual Multimodal Evaluation › Deepfake Detection; [Computer Vision & 3D](../areas/computer-vision.md) › 3D Reconstruction and Generation › Avatar Reconstruction

## Summary
SynthHair is a synthetic 4K hair matting dataset created with MetaHuman Creator and Unreal Engine, along with a scale-invariant label complexity metric to evaluate matting difficulty.

## Explained to a 5-year-old
We made a big collection of pictures of hair that look real. These pictures are super sharp, like 4K. We used a special computer program to draw people with fancy hair. We also made a new way to measure how hard it is to separate hair from the background. This helps computers learn to do that job better.

## Explained to a 5-year-old, longer
We wanted to help computers understand hair in very detailed pictures. Regular pictures of hair are hard to find because they need tiny details that are difficult to draw by hand. So we used a tool that creates realistic people with complex hair and a game engine to render them at 4K resolution. We gave each picture labels that tell the computer exactly where the hair is, how it grows, and its depth. To check how hard the hair is to separate, we created a new measurement that works the same no matter the picture size. This measurement shows that hair at 4K is much more complex than regular portrait backgrounds. Then we trained computer models on these synthetic pictures and tested them on real pictures. The models got much better at handling high-resolution hair, and most people liked the results better than before. This new dataset and measurement give researchers a powerful tool to improve hair-segmentation technology.

## For a technical reader
The work introduces a large synthetic dataset of 4K RGBA portraits with precise hair annotations, generated via MetaHuman Creator and Unreal Engine. A scale-invariant complexity metric derived from the isoperimetric inequality quantifies matting difficulty, revealing significantly higher complexity for hair at 4K. Models trained on this data show strong domain generalization and outperform existing approaches on high-resolution images, as confirmed by user preference tests.

## Problem
Accurately segmenting hair in high-resolution images requires sub-pixel fine annotations, which are costly and rarely available. Existing datasets for hair matting therefore suffer from low resolution and poor annotation quality, limiting model performance.

## Method
The dataset is created using MetaHuman Creator and Unreal Engine to render high-resolution RGBA portraits with detailed hair annotations. A scale-invariant label complexity metric based on the isoperimetric inequality quotient is introduced to measure matting difficulty. Models are trained on the synthetic data and evaluated on existing real-world datasets to test domain generalization.

## Results
The label complexity metric indicates a substantial increase in difficulty at 4K resolution (≈325) versus typical portrait matting datasets (≈10). Models trained on the synthetic data achieve strong domain generalization and clear improvements on high-resolution images, with over 80% of users preferring the generated results in A/B testing.

## Contributions
A large-scale synthetic 4K hair matting dataset with detailed annotations and a scale-invariant label complexity metric for evaluating matting difficulty. The dataset enables training of models that generalize well to high-resolution hair images, as shown by quantitative and user studies.

## Practical relevance
The dataset and metric provide a realistic, high-resolution benchmark for hair matting, enabling the development of models that perform well in professional imaging and video production.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139817)
