[Paper Review] A Comparative Study of Deep Learning Loss Functions for Multi-Label Remote Sensing Image Classification
This paper conducts a comprehensive comparative analysis of seven deep learning loss functions—cross-entropy, focal loss, weighted cross-entropy, Hamming loss, Huber loss, ranking loss, and sparseMax loss—for multi-label remote sensing image classification. Using the BigEarthNet-19 benchmark, it evaluates their performance in terms of accuracy, class imbalance handling, convexity/differentiability, and training efficiency, concluding that sparseMax loss achieves the highest F1-score (69.9%) and is most effective for balanced, high-accuracy classification, while focal and weighted cross-entropy are superior for imbalanced datasets.
This paper analyzes and compares different deep learning loss functions in the framework of multi-label remote sensing (RS) image scene classification problems. We consider seven loss functions: 1) cross-entropy loss; 2) focal loss; 3) weighted cross-entropy loss; 4) Hamming loss; 5) Huber loss; 6) ranking loss; and 7) sparseMax loss. All the considered loss functions are analyzed for the first time in RS. After a theoretical analysis, an experimental analysis is carried out to compare the considered loss functions in terms of their: 1) overall accuracy; 2) class imbalance awareness (for which the number of samples associated to each class significantly varies); 3) convexibility and differentiability; and 4) learning efficiency (i.e., convergence speed). On the basis of our analysis, some guidelines are derived for a proper selection of a loss function in multi-label RS scene classification problems.
Motivation & Objective
- To analyze and compare seven deep learning loss functions in the context of multi-label remote sensing (RS) image classification.
- To evaluate the performance of these loss functions in terms of overall accuracy, class imbalance awareness, convexity and differentiability, and learning efficiency.
- To provide practical guidelines for selecting the most suitable loss function based on specific application requirements such as class imbalance, training speed, and model reliability.
- To validate theoretical findings experimentally using the BigEarthNet-19 benchmark dataset with a standard CNN architecture.
Proposed method
- The study evaluates seven loss functions: cross-entropy (CEL), focal loss (FL), weighted cross-entropy (W-CEL), Hamming loss (HAL), Huber loss (HL), ranking loss (RL), and sparseMax loss (SML).
- Each loss function is theoretically analyzed for convexity, differentiability, and sensitivity to class imbalance.
- Experiments are conducted on the BigEarthNet-19 dataset using a standard CNN with 1024 units in the final fully connected layers, trained for 80 epochs with RMSprop and an initial learning rate of 10⁻⁴.
- Performance is measured using precision, recall, and F1-score; LRP (Layer-wise Relevance Propagation) is used to generate heatmaps for interpretability and visualization of model attention.
- The loss functions are compared across four criteria: overall accuracy, class imbalance awareness, convexity and differentiability, and learning efficiency (convergence speed).
- Theoretical and empirical analyses are combined to derive selection guidelines for loss functions in multi-label RS classification.
Experimental results
Research questions
- RQ1Which deep learning loss function achieves the highest overall classification accuracy in multi-label remote sensing image classification?
- RQ2How do different loss functions perform in handling class-imbalanced training sets common in remote sensing datasets?
- RQ3Which loss functions are convex and differentiable, and how does this affect training stability and convergence?
- RQ4How does the learning efficiency (i.e., convergence speed) of each loss function compare during training?
- RQ5How do the attention maps (heatmaps) generated via LRP reflect the reliability and interpretability of predictions across different loss functions?
Key findings
- The sparseMax loss (SML) achieves the highest F1-score of 69.9%, outperforming all other loss functions in overall classification accuracy.
- Focal loss (FL) and weighted cross-entropy loss (W-CEL) show superior performance in handling class imbalance, with FL focusing on hard negatives and W-CEL assigning higher weights to underrepresented classes.
- Huber loss (HL) and ranking loss (RL) exhibit high precision and recall, respectively, but their combined F1-scores are low due to trade-offs in performance, indicating suboptimal balance.
- The SML and RL loss functions demonstrate the fastest convergence, achieving higher F1-scores earlier in training compared to other methods.
- Loss functions with convexity and differentiability—such as SML, W-CEL, and FL—produce more reliable and interpretable LRP heatmaps, while HAL and RL show irregular, less trustworthy attention patterns.
- Theoretical and empirical analysis confirms that SML provides the best trade-off between accuracy, interpretability, and learning efficiency, making it most suitable for high-accuracy multi-label RS classification.
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.