[Paper Review] Multi-class segmentation under severe class imbalance: A case study in roof damage assessment
This paper proposes four techniques to improve multi-class semantic segmentation under severe class imbalance in roof damage assessment from overhead imagery. By combining a novel oversampling strategy with architectural improvements—auxiliary heads, class-specific heads, and sigmoid activation—accuracy on minority damage classes (e.g., minor, major, destroyed) improved by 39.9 percentage points in macro-averaged F1-score, significantly outperforming the baseline.
The task of roof damage classification and segmentation from overhead imagery presents unique challenges. In this work we choose to address the challenge posed due to strong class imbalance. We propose four distinct techniques that aim at mitigating this problem. Through a new scheme that feeds the data to the network by oversampling the minority classes, and three other network architectural improvements, we manage to boost the macro-averaged F1-score of a model by 39.9 percentage points, thus achieving improved segmentation performance, especially on the minority classes.
Motivation & Objective
- To address the challenge of severe class imbalance in multi-class semantic segmentation of roof damage from overhead imagery.
- To improve model performance on rare damage classes (e.g., minor, major, destroyed) that are underrepresented in post-disaster datasets.
- To evaluate and combine multiple techniques—sampling strategies and network architecture modifications—for robust performance under data scarcity.
- To demonstrate that these methods significantly enhance segmentation performance, especially for minority classes, in real-world disaster response scenarios.
Proposed method
- Proposes a novel data sampling scheme that ensures every training batch contains at least one positive example from each foreground damage class, preventing convergence to a degenerate background-only solution.
- Introduces an auxiliary head with a separate loss head for each damage class, improving feature learning for rare classes.
- Employs class-specific separate heads with individual sigmoid activations instead of shared heads, allowing independent optimization per class.
- Replaces the standard softmax output with a sigmoid activation per class and uses Dice loss for each class, improving training stability on imbalanced data.
- Uses a modified U-Net backbone with 9 downsampling layers, 3 convolutions per resolution, batch normalization, and ReLU activation, with a separate U-Net head for final prediction.
- Trains models using Dice loss per class (excluding background) and selects weights that minimize validation loss, evaluating performance via micro- and macro-averaged F1-scores.
Experimental results
Research questions
- RQ1How does a constrained sampling strategy that ensures batch diversity across all damage classes affect model performance on imbalanced roof damage segmentation?
- RQ2To what extent do architectural modifications such as auxiliary heads and class-specific heads improve segmentation of rare damage classes?
- RQ3Does replacing shared classification heads with class-specific sigmoid heads improve performance on minority classes in multi-class segmentation under imbalance?
- RQ4How do different loss and activation functions (e.g., Dice loss with sigmoid vs. cross-entropy with softmax) impact model convergence and performance in imbalanced settings?
- RQ5Can combining multiple techniques—sampling, architectural changes, and loss design—yield synergistic improvements in segmentation accuracy, especially on minority classes?
Key findings
- The proposed oversampling scheme alone improved the macro-averaged F1-score by 35.9 percentage points over the baseline, demonstrating its dominant impact.
- The full model with all four techniques achieved a 39.9 percentage point increase in macro-averaged F1-score, indicating strong synergy among the methods.
- The baseline model achieved zero F1-score for all minority classes (minor-damage, major-damage, destroyed), highlighting the severity of the class imbalance problem.
- The confusion matrix of the final model showed that the largest source of error was false negatives for the destroyed class, likely due to complete disappearance of structures in post-disaster imagery.
- The ablation study confirmed that all four techniques contributed positively to performance, with the sampling method having the most significant individual effect.
- The final model significantly reduced confusion between classes, with improved diagonal dominance in the normalized confusion matrix, especially for previously misclassified minority classes.
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.