Dynamic Label Injection for Imbalanced Industrial Defect Segmentation

Abstract

In this work, we propose a simple yet effective method to tackle the problem of imbalanced multi-class semantic segmentation in deep learning systems. One of the key properties for a good training set is the balancing among the classes. When the input distribution is heavily imbalanced in the number of instances, the learning process could be hindered or difficult to carry on. To this end, we propose a Dynamic Label Injection (DLI) algorithm to impose a uniform distribution in the input batch. Our algorithm computes the current batch defect distribution and re-balances it by transferring defects using a combination of Poisson-based seamless image cloning and cut-paste techniques. A thorough experimental section on the Magnetic Tiles dataset shows better results of DLI compared to other balancing loss approaches also in the challenging weakly-supervised setup. The code is available at https://github.com/covisionlab/dynamic-label-injection.git .

Cite

Text

Caruso et al. "Dynamic Label Injection for Imbalanced Industrial Defect Segmentation." European Conference on Computer Vision Workshops, 2024. doi:10.1007/978-3-031-92805-5_4

Markdown

[Caruso et al. "Dynamic Label Injection for Imbalanced Industrial Defect Segmentation." European Conference on Computer Vision Workshops, 2024.](https://mlanthology.org/eccvw/2024/caruso2024eccvw-dynamic/) doi:10.1007/978-3-031-92805-5_4

BibTeX

@inproceedings{caruso2024eccvw-dynamic,
  title     = {{Dynamic Label Injection for Imbalanced Industrial Defect Segmentation}},
  author    = {Caruso, Emanuele and Pelosin, Francesco and Simoni, Alessandro and Boschetti, Marco},
  booktitle = {European Conference on Computer Vision Workshops},
  year      = {2024},
  pages     = {50-64},
  doi       = {10.1007/978-3-031-92805-5_4},
  url       = {https://mlanthology.org/eccvw/2024/caruso2024eccvw-dynamic/}
}