WasteGAN: Data Augmentation for Robotic Waste Sorting through Generative Adversarial Networks

Alberto Bacchin, Leonardo Barcellona, Matteo Terreran, Stefano Ghidoni, Emanuele Menegatti, Takuya Kiyokawa

Introduction

Robotic waste sorting presents a significant challenge for computer vision due to the chaotic and non-standardized nature of discarded materials. Unlike structured industrial environments, waste facilities deal with crushed, soiled, and overlapping objects. Training effective semantic segmentation models for these environments typically requires massive, hand-labeled datasets, which are labor-intensive to produce and often fail to generalize across different geographic regions or facilities. The authors of this paper propose WasteGAN, a generative approach to solve this "data bottleneck" by synthesizing training data from minimal real-world samples.

Methodology: The WasteGAN Framework

WasteGAN addresses data scarcity by generating high-quality synthetic images and corresponding segmentation masks from as few as 100 labeled real-world samples. The framework consists of several key technical innovations designed for industrial robustness:

  1. GenXL Generator: An enhanced generator architecture that utilizes additional "style layers" to capture the complex textures and irregular shapes characteristic of industrial waste.
  2. Symmetric Logarithm (slog) Activation: A custom activation function designed to prevent gradient saturation, ensuring stable training even when the dataset is extremely small.
  3. Multi-Component Loss Function: Specifically, the Image-Label Correlation Loss ($L_{imc}$) ensures spatial alignment between generated images and their segmentation masks, preventing the model from hallucinating labels that do not match the visual content.
  4. Grasp Point Prediction: The system translates predicted masks into actionable robotic commands. Using morphological erosion, the system identifies the "center of mass" for irregular objects, ensuring the robot targets stable suction points.
Overview of the WasteGAN pipeline, illustrating the flow from GAN training and data generation to segmentation model training and final robotic sorting.

Experimental Setup and Datasets

The primary benchmark for this study is the ZeroWaste dataset, which contains images from a real-world paper sorting facility. To simulate extreme data scarcity, the authors trained WasteGAN using only 100 labeled images. This model was then used to generate 2,500 synthetic image-mask pairs to augment the training set for various downstream segmentation models, such as DeepLabV3Plus and Unet.

Key Results and Insights

The integration of WasteGAN-generated data led to substantial improvements in segmentation performance. Models trained with this augmentation achieved up to a 13.5% increase in Mean Intersection over Union (mIoU) compared to those trained solely on the 100 real samples.

Comparison of mIoU performance across different neural network backbones, highlighting the significant performance boost provided by WasteGAN augmentation.

Efficiency and Real-World Impact

  • Generation Speed: By forcing the generator to learn the relationship between pixels and labels simultaneously, WasteGAN achieved a 20x speedup in data generation time (0.12s vs 2.2s per image) compared to previous inversion-based methods.
  • Class Distribution: WasteGAN effectively maintains the statistical distribution of different classes, which is critical for identifying rare but important contaminants like metal or rigid plastic in a stream of paper.
  • Robotic Validation: In physical experiments using a UR5 robot arm, the WasteGAN-trained model improved picking accuracy ($A_G$) from 0.29 to 0.35 and significantly reduced the False Positive Rate ($FPR$) from 0.3 to 0.2.

Conclusion and Future Work

WasteGAN demonstrates that high-fidelity data augmentation can effectively mitigate the "data bottleneck" in industrial robotics. By focusing on the correlation between images and labels and stabilizing training for small datasets, the system enables rapid deployment of waste-sorting robots in new environments with minimal manual labeling effort. Future research aims to address 3D occlusion challenges and explore augmentation directly within the latent feature space of the models.

Summary updated

BibTeX
@inproceedings{bacchin2024wastegan,
  author = {Alberto Bacchin and Leonardo Barcellona and Matteo Terreran and Stefano Ghidoni and Emanuele Menegatti and Takuya Kiyokawa},
  title = {{WasteGAN: Data Augmentation for Robotic Waste Sorting through Generative Adversarial Networks}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10802403},
}
Figure