mlsanityData to 7 Oct 2026

Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labels

arXiv 2302.05666 ↗First posted 11 Feb 2023cs.CV cs.AI cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

Intersection over Union (IoU) losses are surrogates that directly optimize the Jaccard index. Leveraging IoU losses as part of the loss function have demonstrated superior performance in semantic segmentation tasks compared to optimizing pixel-wise losses such as the cross-entropy loss alone. However, we identify a lack of flexibility in these losses to support vital training techniques like label smoothing, knowledge distillation, and semi-supervised learning, mainly due to their inability to process soft labels. To address this, we introduce Jaccard Metric Losses (JMLs), which are identical to the soft Jaccard loss in standard settings with hard labels but are fully compatible with soft labels. We apply JMLs to three prominent use cases of soft labels: label smoothing, knowledge distillation and semi-supervised learning, and demonstrate their potential to enhance model accuracy and calibration. Our experiments show consistent improvements over the cross-entropy loss across 4 semantic segmentation datasets (Cityscapes, PASCAL VOC, ADE20K, DeepGlobe Land) and 13 architectures, including classic CNNs and recent vision transformers. Remarkably, our straightforward approach significantly outperforms state-of-the-art knowledge distillation and semi-supervised learning methods. The code is available at hrefhttps://github.com/zifuwanggg/JDTLosseshttps://github.com/zifuwanggg/JDTLosses.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 68 of its 93 references that are in the map. First posted on arXiv 11 Feb 2023.

Builds on

68 of 93 references.

References · 68

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  6. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  7. 2017On Calibration of Modern Neural Networkscited by 4,860
  8. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  9. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  10. 2022A ConvNet for the 2020scited by 3,545
  11. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  12. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
38 more
  1. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  2. 2016Pyramid Scene Parsing Networkcited by 2,472
  3. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  4. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  5. 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
  6. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
  7. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
  8. 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
  9. 2019When Does Label Smoothing Help?cited by 985
  10. 2018Panoptic Segmentationcited by 796
  11. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
  12. 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
  13. 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
  14. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
  15. 2019Measuring Calibration in Deep Learningcited by 443
  16. 2022Decoupled Knowledge Distillationcited by 380
  17. 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
  18. 2018Slimmable Neural Networkscited by 301
  19. 2019Structured Knowledge Distillation for Dense Predictioncited by 277
  20. 2018DeepGlobe 2018: A Challenge to Parse the Earth through Satellite Imagescited by 276
  21. 2017Tversky loss function for image segmentation using 3D fully convolutional deep networkscited by 228
  22. 2019Universally Slimmable Networks and Improved Training Techniquescited by 219
  23. 2022Semi-Supervised Semantic Segmentation Using Unreliable Pseudo-Labelscited by 218
  24. 2022Knowledge Distillation from A Stronger Teachercited by 204
  25. 2022Metrics reloaded: Recommendations for image analysis validationcited by 190
  26. 2019Dice Loss for Data-imbalanced NLP Taskscited by 180
  27. 2022Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentationcited by 177
  28. 2018A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentationcited by 171
  29. 2020Self-Distillation Amplifies Regularization in Hilbert Spacecited by 171
  30. 2019Confidence Calibration and Predictive Uncertainty Estimation for Deep Medical Image Segmentationcited by 162
  31. 2020Channel-wise Knowledge Distillation for Dense Predictioncited by 161
  32. 2022Cross-Image Relational Knowledge Distillation for Semantic Segmentationcited by 117
  33. 2021Rethinking Soft Labels for Knowledge Distillation: A Bias-Variance Tradeoff Perspectivecited by 116
  34. 2021Perturbed and Strict Mean Teachers for Semi-supervised Semantic Segmentationcited by 113
  35. 2020Local Temperature Scaling for Probability Calibrationcited by 95
  36. 2020Understanding and Improving Knowledge Distillationcited by 83
  37. 2019Blockwisely Supervised Neural Architecture Search with Knowledge Distillationcited by 81
  38. 2022Augmentation Matters: A Simple-yet-Effective Approach to Semi-supervised Semantic Segmentationcited by 64

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 2; 2025: 4; 2026: 3.

12 papers.