Learning Zero-Shot Material States Segmentation, by Implanting Natural Image Patterns in Synthetic Data

Sagi Eppel, Jolina Li, Manuel S. Drehwald, Alán Aspuru-GuzikarXiv 2024 · DOI

Abstract

Identifying material states—such as the ripeness of fruit, the corrosion of metal, or the moisture level of soil—presents a unique challenge for computer vision. Unlike object segmentation, material states often lack clear boundaries and follow complex, scattered patterns. This paper proposes a novel unsupervised training paradigm called Procedural Imitation. By automatically extracting distribution patterns from natural images and "implanting" them into synthetic 3D and 2D scenes, the authors generate high-quality training data without human annotation. Their model learns pixel-wise embeddings that enable robust zero-shot segmentation, significantly outperforming foundation models like Meta’s Segment Anything Model (SAM) on the newly introduced MatSeg benchmark.

Introduction

While modern AI excels at object-level recognition, it frequently struggles with the nuanced "states" of materials. A car is easily identified, but determining which specific areas of its frame are rusted requires a different level of visual understanding. These material states are characterized by fuzzy boundaries and gradual transitions, making manual annotation both expensive and highly subjective.

Traditional synthetic data often fails to bridge the "sim-to-real" gap because it is typically too clean or generated via rigid procedural rules. To overcome this, the authors suggest that the visual complexity of the real world can be "harvested" from random photographs and infused into controlled synthetic environments.

Methodology: Procedural Imitation

The core of the proposed approach is Procedural Imitation, a method that bypasses the need for manual artistry in synthetic data generation. The process consists of three main stages:

  1. Pattern Extraction and Implanting: Instead of simulating the physics of stains or rust, the system takes random natural images and splits them into various color and intensity channels (e.g., Red, Green, Blue). The assumption is that these channels often naturally isolate material-like patterns. These extracted "maps" are then used as templates to distribute different materials within synthetic scenes.
  2. Material Extraction: To ensure the materials themselves are realistic, the authors developed a method to extract Physically Based Rendering (PBR) properties—such as albedo, roughness, and metallicity—directly from real-world texture samples.
  3. Embedding-Based Learning: The model, a U-Net architecture, is trained to produce pixel-wise embeddings. By mapping similar material states to nearby points in a high-dimensional vector space, the model enables zero-shot segmentation via point-based prompting.
The Procedural Imitation pipeline for 2D/3D scene mapping and material extraction.

Evaluation and the MatSeg Benchmark

To rigorously test the model, the authors introduced the MatSeg Benchmark, a collection of 1,220 real-world images spanning domains such as food science, agriculture, and industrial inspection. Unlike traditional masks, MatSeg uses a point-based annotation system where human annotators group points by material similarity. This approach better captures the gradual transitions inherent in material states.

The "Mixed" MatSeg model, trained on both 2D and 3D implanted data, achieved a triplet loss score of 0.92, a substantial improvement over SAM (0.74) and the previous state-of-the-art Materialistic (0.76).

Zero-shot segmentation results on the real-world MatSeg benchmark.

Key Insights and Results

The research demonstrates that "noise" in the unsupervised extraction process is not a hindrance; rather, the neural network is robust enough to distill general material distribution patterns from it. Furthermore, the model shows remarkable dominance in segmenting "scattered" shapes—like dust on a surface or spots on a leaf—where object-centric models like SAM often fail because the material state does not align with a distinct object boundary.

Conclusion and Future Work

By infusing synthetic environments with real-world patterns, this work provides a scalable path toward foundation models for material science. While limitations remain regarding complex 3D interactions (e.g., how liquids pool in crevices), the release of 300,000 extracted textures and the success of the MatSeg model suggest that "pattern implanting" is a powerful tool for bridging the sim-to-real gap in specialized visual tasks.

Summary updated

BibTeX
@misc{eppel2024learning,
  author = {Sagi Eppel and Jolina Li and Manuel S. Drehwald and Alán Aspuru-Guzik},
  title = {{Learning Zero-Shot Material States Segmentation, by Implanting Natural Image Patterns in Synthetic Data}},
  year = {2024},
  eprint = {2403.03309},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03309},
}
Figure