[Paper Review] Object Detection using Domain Randomization and Generative Adversarial Refinement of Synthetic Images
This paper proposes a hybrid approach combining domain randomization and GAN-based image refinement to train a near real-time object detector for industrial electric parts using only synthetic data and a few hundred real images. By applying domain randomization during synthetic image generation and using a Cyclic-GAN to refine synthetic images to match real-world distribution, the method achieves over 0.95 mAP on real test data when combining randomized synthetic and GAN-refined images.
In this work, we present an application of domain randomization and generative adversarial networks (GAN) to train a near real-time object detector for industrial electric parts, entirely in a simulated environment. Large scale availability of labelled real world data is typically rare and difficult to obtain in many industrial settings. As such here, only a few hundred of unlabelled real images are used to train a Cyclic-GAN network, in combination with various degree of domain randomization procedures. We demonstrate that this enables robust translation of synthetic images to the real world domain. We show that a combination of the original synthetic (simulation) and GAN translated images, when used for training a Mask-RCNN object detection network achieves greater than 0.95 mean average precision in detecting and classifying a collection of industrial electric parts. We evaluate the performance across different combinations of training data.
Motivation & Objective
- To address the challenge of limited real-world annotated data in industrial object detection.
- To reduce the reality gap between synthetic and real-world images in simulation-based training.
- To evaluate the effectiveness of combining domain randomization and GAN-based image refinement for improving detector generalization.
- To achieve high mAP performance using only a few hundred real images and a large volume of synthetic data.
- To demonstrate that synthetic data augmented with GAN refinement and domain randomization can outperform purely synthetic or real-data-only training.
Proposed method
- Synthetic images were generated using a physics simulator (Bullet) and a ray tracer (POV-Ray), with randomized rendering parameters including lighting, object colors, textures, and camera position.
- Domain randomization was applied by varying object colors, textures, scene floor, and camera position within a defined 3D volume to increase training distribution diversity.
- A Cyclic-GAN was trained on 10K synthetic and 256 real images to translate synthetic images into a more realistic domain, using 256x256 random crops for training.
- The discriminator was enhanced with two parallel branches—one with small receptive field for fine details and one with large receptive field for global context—to preserve object colors during translation.
- The final model combined both original synthetic data and GAN-refined images for training a Mask-RCNN detector with consistent hyperparameters.
- Performance was evaluated using 100 real test images and mAP at 0.5 IoU across multiple training data combinations.
Experimental results
Research questions
- RQ1Can domain randomization alone reduce the reality gap in synthetic data for industrial object detection?
- RQ2Can GAN-based image translation alone improve generalization from synthetic to real-world data?
- RQ3Does combining domain randomization with GAN refinement yield better detection performance than either method alone?
- RQ4What is the optimal data combination of synthetic, randomized, and GAN-refined images for maximizing mAP in real-world object detection?
- RQ5How does the inclusion of a few hundred real images affect the performance of a detector trained primarily on synthetic data?
Key findings
- Training on purely synthetic data with fixed colors and textures yielded only 0.812 mAP, indicating poor generalization to real-world conditions.
- Using only GAN-refined synthetic images (S_fix→real) achieved 0.874 mAP, showing improvement but still limited performance.
- The combination of 20% S_fix→real and 80% S_rand+tex achieved 0.955 mAP, the highest performance across all tested configurations.
- A 50/50 mix of S_fix→real and S_rand+tex achieved 0.950 mAP, confirming the effectiveness of combining refined and randomized synthetic data.
- The addition of a dual-discriminator architecture with different receptive fields significantly improved color preservation during GAN translation, solving an initial failure mode.
- The method achieved over 0.95 mAP on real-world test data using only 256 real images and 10K synthetic images, demonstrating strong zero-shot generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.