Investigation of the impact of synthetic training data in the industrial application of terminal strip object detection

Nico Baumgart, Markus Lange‐Hegermann, Mike Mücke · DOI

TL;DR

This paper tackles the challenge of applying deep learning for object detection in industrial settings, where collecting and annotating real-world data is prohibitively expensive. By developing a sophisticated synthetic data generation pipeline that combines domain randomization with specific industrial knowledge, the authors demonstrate that it's possible to achieve high detection performance on complex, visually similar objects like terminal strips, even with minimal real-world data.

What Problem Does This Paper Address?

Industrial manufacturing relies heavily on visual inspection and object detection for tasks like quality control and assembly. Deep learning (DL) models offer immense potential to automate and improve these processes, but their effectiveness hinges on large, well-annotated datasets. For industrial applications, acquiring such datasets is a major bottleneck due to the high cost and effort involved in collecting and labeling images, especially when dealing with dynamic environments or numerous, visually similar components. This paper specifically addresses the problem of detecting terminal strips, which are often densely packed, visually similar, and can have subtle differences that are hard for DL models to distinguish, particularly when trained solely on synthetic data. The core challenge is bridging the "sim-to-real" gap – ensuring that models trained on synthetic data perform well on actual, real-world objects.

Methods

The authors propose a novel image synthesis pipeline designed for industrial object detection. Key aspects include:

  • Domain Randomization (DR) with Domain Knowledge: Instead of purely randomizing everything, they incorporate specific knowledge about terminal strips. This includes understanding how they are mounted (on DIN rails), their common accessories (bridges, covers), and their typical arrangement. This guided randomization aims to create more realistic and relevant synthetic data.
  • 3D Model-Based Synthesis: They leverage existing 3D CAD models of terminal blocks, which are readily available in industrial settings.
  • Realistic Rendering: The pipeline focuses on generating high-fidelity images by carefully modeling materials, lighting conditions (using HDRIs), and viewpoints.
  • Automated Annotation: A significant advantage of synthetic data is the automatic generation of ground-truth annotations (bounding boxes), eliminating manual labeling errors and costs.
  • Addressing the Scale Domain Gap: A crucial finding was the impact of object scale. The authors explored various methods to mitigate this, including simple scaling, training a regression model to predict scaling factors, and using Bayesian optimization for optimal scaling per image.

Datasets

  • Synthetic Dataset: The authors generated a dataset of 30,000 synthetic images of terminal strips. These images feature 36 different terminal block models, various accessories, and randomized environmental conditions.
  • Real-World Dataset: A smaller dataset of 300 manually annotated real-world images of terminal strips was created for evaluation. This dataset is crucial for assessing the sim-to-real performance.

Key Insights and Ideas

  • Domain Knowledge is Crucial for Industrial DR: Simply randomizing everything isn't enough for complex industrial tasks. Incorporating specific knowledge about how objects are arranged and used significantly improves the realism and utility of synthetic data.
  • Scale is a Major Hurdle: The sim-to-real domain gap is heavily influenced by the scale of objects. Models trained on synthetic data often struggle when the scale of objects in real images differs significantly from the training data.
  • Synthetic Data Can Provide a Strong Baseline: Even without any real-world data for fine-tuning, the proposed synthetic data pipeline, when combined with appropriate scaling strategies, can achieve performance levels that are highly relevant for industrial applications.
  • Transformer Models Show Promise: Among the tested object detectors, the transformer-based DINO model demonstrated the best performance, highlighting the potential of newer architectures in this domain.

Key Results

  • Synthetic Performance: Standard object detectors achieved very high performance (e.g., >94% [email protected]) on the synthetic test set, indicating that the detection task itself is well-defined within the simulated environment.
  • Unscaled Real-World Performance: When evaluated on unscaled real images, the performance dropped dramatically (e.g., DINO achieved only 87.30% [email protected]), highlighting the significant sim-to-real domain gap.
  • Impact of Scaling:
    • A constant scaling factor of 1.5 improved performance significantly, with DINO reaching 95.60% [email protected].
  • Using a learned regression model for scaling further boosted performance, with DINO achieving 97.40% [email protected].
  • Optimized scaling per image (real (Opt)) resulted in the best performance, with DINO reaching 98.40% [email protected] and a domain gap of less than 2% for several models.
  • Model Robustness: The study evaluated multiple architectures (RetinaNet, Faster R-CNN, YOLOv8, DINO), showing that while performance varies, the overall trend of sim-to-real gap and improvement with scaling is consistent.

Limitations and Future Work

  • Scale Dependency: The authors acknowledge that the scale issue is application-specific and may not transfer directly to all industrial parts detection tasks. They suggest further investigation into learned scaling strategies.
  • Object Class Complexity: The current dataset focuses on terminal blocks. Future work could involve expanding the dataset to include a wider range of industrial components, as manufacturers often have product portfolios of thousands of parts.
  • Orthographic vs. Perspective Views: The current work uses perspective views. Investigating orthographic images could be beneficial for certain applications, especially for edge regions.
  • Material Properties: While realism was improved, the authors suggest that further exploration of material properties and their randomization could enhance robustness.
  • Data Augmentation Comparison: The paper briefly mentions a comparison with data augmentation but suggests further in-depth analysis is needed, especially in scenarios where no real-world ground truth data is available.

Summary updated

BibTeX
@inproceedings{baumgart2024investigation,
  author = {Nico Baumgart and Markus Lange‐Hegermann and Mike Mücke},
  title = {{Investigation of the impact of synthetic training data in the industrial application of terminal strip object detection}},
  booktitle = {Machine Vision and Applications},
  year = {2024},
  doi = {10.1007/s00138-025-01770-0},
}
Figure