Material Classification in theWild: Do Synthesized Training Data Generalise Better than Real-world Training Data?

Grigorios Kalliatakis, Anca Sticlaru, George Stamatiadis, Shoaib Ehsan, Ales Leonardis, Juergen Gall, Klaus D. McDonald-Maier

TL;DR

This paper investigates whether synthetic training data can outperform real-world data for material classification tasks using Convolutional Neural Networks (CNNs). The authors demonstrate that synthetic data, when used for training, leads to significantly better generalization on unseen real-world datasets, suggesting a promising avenue to overcome the limitations of real-world data collection.

What Problem Does This Paper Address?

Classifying materials in real-world environments is challenging due to variations in viewing angles, illumination, and inherent material properties. Traditional approaches rely on large datasets of real-world images, which are difficult and time-consuming to collect and annotate comprehensively. This often leads to datasets that don't fully capture the intra-class variance of materials or the diversity of real-world conditions, potentially limiting the generalization ability of trained models. The paper questions the necessity of relying solely on real-world data and explores if synthetically generated data can offer a more effective and scalable solution for training robust material classifiers.

Methods

The core of the methodology involves a material classification pipeline where the feature extractor (CNN architecture) is varied, while the rest of the pipeline remains fixed. They employ pre-trained CNN architectures (specifically, variations of "Fast," "Medium," and "Slow" CNNs, similar to those used in prior work like Krizhevsky et al. and Zeiler & Fergus) that have been trained on the ImageNet dataset. These CNNs are used to extract features from material images, which are then fed into linear SVM classifiers.

A key aspect is the use of transfer learning, where pre-trained CNNs are adapted for the material classification task. The paper also extensively uses data augmentation techniques (flip, crop, and combinations thereof) to increase the diversity of training samples. They compare the performance of models trained on real-world datasets against models trained on synthetic datasets, evaluating their generalization capabilities on unseen real-world test sets through cross-dataset experiments.

Datasets

The paper utilizes the following datasets:

  • Real-world Training/Testing:
    • Flickr Material Database (FMD)
    • ImageNet7 dataset (a subset of ImageNet with 7 material categories)
    • MINC-2500 (a patch classification dataset with 2500 samples per category)
  • Synthetic Training:
    • University of Bonn dataset (UBO2014) - used for generating synthetic images.

The authors note that the real-world datasets do not necessarily have the same number of images or categories, necessitating careful handling for cross-dataset evaluation. For evaluation, they consider common classes across datasets and use a fixed set of negative training and testing data.

Key Insights and Ideas

  • Synthetic Data Outperforms Real-World Data for Generalization: The most striking finding is that models trained on synthetic data (UBO2014) consistently achieve higher mean average precision (mAP) on real-world test datasets (FMD, ImageNet7, MINC-2500) compared to models trained on real-world datasets. This suggests that synthetic data can better capture the necessary variations for robust generalization.
  • Overcoming Dataset Bias: Synthetic data appears to be a promising approach to mitigate the "dataset bias" problem inherent in real-world datasets, which may not fully represent the diversity of real-world scenarios.
  • Importance of Data Volume and Diversity: The significant performance gains observed with synthetic data are attributed to its ability to cover a large fraction of viewing and illumination conditions, as well as intra-class variance, which is often limited in smaller real-world datasets like FMD.
  • CNN Architectures and Feature Dimensionality Matter: While synthetic data shows promise, the choice of CNN architecture and the dimensionality of extracted features (e.g., 128 vs. 2048 feature points) still play a crucial role in achieving optimal performance, even when using synthetic training data.

Key Results

  • Cross-Dataset Performance: The best performing pre-trained CNN architectures achieved up to 91.03% mAP in cross-dataset scenarios when trained on real-world data.
  • Synthetic Data Improvement: Using synthetic data for training resulted in an improvement in mAP ranging from approximately 5% to 19% across the tested real-world databases, compared to training with real-world data.
  • Specific Gains: For instance, when training on UBO2014 (synthetic) and testing on MINC-2500, an increase of about 19% in performance was observed compared to training on FMD. Similarly, testing on ImageNet7 also showed UBO2014 having an edge.
  • FMD Limitations: The FMD dataset, being small, showed better performance when used for training with reduced feature dimensionality, highlighting the impact of dataset size and feature extraction choices.

Limitations and Future Work

  • Limitations:
    • The paper focuses on a specific set of CNN architectures and a particular synthetic dataset. The findings might not generalize to all synthetic data generation methods or all CNN architectures.
  • The cross-dataset analysis is limited to common classes between datasets, which might not fully represent the performance on all possible material categories.
  • The paper acknowledges that FMD is a small real-world dataset, which inherently limits its effectiveness as a training set.
  • Future Work:
    • Investigate whether combining synthetic and real images for training can further improve accuracy and generalization abilities of CNNs.
  • Explore different synthetic data generation techniques and their impact on material classification performance.
  • Extend the analysis to a wider range of CNN architectures and material datasets.

Summary updated

BibTeX
@inproceedings{kalliatakis2018material,
  author = {Grigorios Kalliatakis and Anca Sticlaru and George Stamatiadis and Shoaib Ehsan and Ales Leonardis and Juergen Gall and Klaus D. McDonald-Maier},
  title = {{Material Classification in theWild: Do Synthesized Training Data Generalise Better than Real-world Training Data?}},
  booktitle = {VISIGRAPP (4: VISAPP)},
  year = {2018},
  doi = {10.5220/0006634804270432},
}
Figure