Skip to main content
QUICK REVIEW

[Paper Review] Analysis of Training Object Detection Models with Synthetic Data

Bram Vanherle, Steven Moonen|arXiv (Cornell University)|Nov 29, 2022
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

This paper investigates how to effectively use synthetic data for training object detection models by analyzing data generation strategies and training techniques on the DIMO dataset. It finds that combining a small amount of real data via fine-tuning significantly boosts performance—achieving 83.7 AP, surpassing models trained on real data alone—while transfer learning with full network retraining outperforms feature-frozen fine-tuning when matching real-world domains.

ABSTRACT

Recently, the use of synthetic training data has been on the rise as it offers correctly labelled datasets at a lower cost. The downside of this technique is that the so-called domain gap between the real target images and synthetic training data leads to a decrease in performance. In this paper, we attempt to provide a holistic overview of how to use synthetic data for object detection. We analyse aspects of generating the data as well as techniques used to train the models. We do so by devising a number of experiments, training models on the Dataset of Industrial Metal Objects (DIMO). This dataset contains both real and synthetic images. The synthetic part has different subsets that are either exact synthetic copies of the real data or are copies with certain aspects randomised. This allows us to analyse what types of variation are good for synthetic training data and which aspects should be modelled to closely match the target data. Furthermore, we investigate what types of training techniques are beneficial towards generalisation to real data, and how to use them. Additionally, we analyse how real images can be leveraged when training on synthetic images. All these experiments are validated on real data and benchmarked to models trained on real data. The results offer a number of interesting takeaways that can serve as basic guidelines for using synthetic data for object detection. Code to reproduce results is available at https://github.com/EDM-Research/DIMO_ObjectDetection.

Motivation & Objective

  • To identify effective synthetic data generation strategies that improve generalization to real-world object detection.
  • To evaluate training techniques such as transfer learning and data augmentation for synthetic data training.
  • To determine optimal ways to integrate real images into synthetic training pipelines.
  • To benchmark performance of synthetic-only, real-only, and hybrid models on real test data.
  • To provide practical, widely applicable guidelines for industrial and research use of synthetic data in object detection.

Proposed method

  • Experiments were conducted on the DIMO dataset, which includes real images, exact synthetic copies, and synthetically varied subsets with randomized lighting, pose, and texture.
  • Models were trained using standard object detection architectures with data augmentation and transfer learning, comparing frozen vs. fine-tuned feature extractors.
  • Two real data integration strategies were evaluated: mixing real and synthetic data during training and fine-tuning pre-trained synthetic models on real data.
  • Performance was measured using mean average precision (mAP) on a held-out real test set, with ablation studies on data ratios and variation types.
  • The study used a fixed total dataset size of 3510 images, varying real-to-synthetic ratios from 1:9 to 1:1 to assess scalability and efficiency.
  • All experiments were validated on real-world data to ensure practical relevance and domain generalization.

Experimental results

Research questions

  • RQ1Which variations in synthetic data (e.g., lighting, pose, texture) most improve generalization to real images?
  • RQ2Does fine-tuning the entire network outperform freezing the feature extractor when training on synthetic data?
  • RQ3How effective is combining small amounts of real data with synthetic data for improving real-world performance?
  • RQ4What is the optimal ratio of real to synthetic data for maximizing mAP on real test sets?
  • RQ5Does domain randomization in synthetic data generation lead to better generalization than precise replication of real data?

Key findings

  • Fine-tuning a model pre-trained on fully randomized synthetic data with just 10% real images achieved 82.05 mAP, surpassing the real-data-only baseline by nearly 5 points.
  • The best-performing hybrid model, using a 1:1 ratio of real to synthetic data via fine-tuning, reached 83.7 mAP, outperforming both synthetic-only and real-only models.
  • Mixing real and synthetic data during training improved performance with even a small real data ratio, peaking at 80.13 mAP with a 5:1 synthetic-to-real ratio.
  • Re-training the entire network (including feature extractor) with transfer learning yielded better results than freezing the feature extractor, contrary to some prior work.
  • Matching lighting and pose conditions in synthetic data to the real domain improved performance, but only when combined with full fine-tuning.
  • The results demonstrate that synthetic data can be highly effective when combined with minimal real data, especially through fine-tuning, offering a cost-effective path to high-performance models.

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.