Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labels
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2022A ConvNet for the 2020scited by 3,545
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
38 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
- 2019When Does Label Smoothing Help?cited by 985
- 2018Panoptic Segmentationcited by 796
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2019Measuring Calibration in Deep Learningcited by 443
- 2022Decoupled Knowledge Distillationcited by 380
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2018Slimmable Neural Networkscited by 301
- 2019Structured Knowledge Distillation for Dense Predictioncited by 277
- 2018DeepGlobe 2018: A Challenge to Parse the Earth through Satellite Imagescited by 276
- 2017Tversky loss function for image segmentation using 3D fully convolutional deep networkscited by 228
- 2019Universally Slimmable Networks and Improved Training Techniquescited by 219
- 2022Semi-Supervised Semantic Segmentation Using Unreliable Pseudo-Labelscited by 218
- 2022Knowledge Distillation from A Stronger Teachercited by 204
- 2022Metrics reloaded: Recommendations for image analysis validationcited by 190
- 2019Dice Loss for Data-imbalanced NLP Taskscited by 180
- 2022Revisiting Weak-to-Strong Consistency in Semi-Supervised Semantic Segmentationcited by 177
- 2018A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentationcited by 171
- 2020Self-Distillation Amplifies Regularization in Hilbert Spacecited by 171
- 2019Confidence Calibration and Predictive Uncertainty Estimation for Deep Medical Image Segmentationcited by 162
- 2020Channel-wise Knowledge Distillation for Dense Predictioncited by 161
- 2022Cross-Image Relational Knowledge Distillation for Semantic Segmentationcited by 117
- 2021Rethinking Soft Labels for Knowledge Distillation: A Bias-Variance Tradeoff Perspectivecited by 116
- 2021Perturbed and Strict Mean Teachers for Semi-supervised Semantic Segmentationcited by 113
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2020Understanding and Improving Knowledge Distillationcited by 83
- 2019Blockwisely Supervised Neural Architecture Search with Knowledge Distillationcited by 81
- 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
Citing papers per year: 2023: 3; 2024: 2; 2025: 4; 2026: 3.
12 papers.
- 2023Revisiting Evaluation Metrics for Semantic Segmentation: Optimization and Evaluation of Fine-grained Intersection over Unioncited by 17
- 2023Dice Semimetric Losses: Optimizing the Dice Score with Soft Labelscited by 5
- 2024SiNGR: Brain Tumor Segmentation via Signed Normalized Geodesic Transform Regressioncited by 4
- 2026Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?cited by 4
- 2023ChatGPT-Crawler: Find out if ChatGPT really knows what it's talking aboutcited by 3
- 2025Federated Learning With L0 Constraint Via Probabilistic Gates For Sparsitycited by 1
- 2024Image-level Regression for Uncertainty-aware Retinal Image Segmentationcited by 0
- 2025TipSegNet: Fingertip Segmentation in Contactless Fingerprint Imagingcited by 0
- 2025From Text to Talent: A Pipeline for Extracting Insights from Candidate Profilescited by 0
- 2025RangeSAM: On the Potential of Visual Foundation Models for Range-View represented LiDAR segmentationcited by 0
- 2026Complementary Text-Guided Attention for Zero-Shot Adversarial Robustnesscited by 0
- 2026Mosaic: Compositional Multi-Concept Erasure via Vector Field Blendingcited by 0
- 2026Mosaic: Compositional Multi-Concept Erasure via Vector Field Blending25 May 2026
- 2026Complementary Text-Guided Attention for Zero-Shot Adversarial Robustness19 Mar 2026
- 2026Small molecule retrieval from tandem mass spectrometry: what are we optimizing for?18 Feb 2026
- 2025Federated Learning With L0 Constraint Via Probabilistic Gates For Sparsity28 Dec 2025
- 2025RangeSAM: On the Potential of Visual Foundation Models for Range-View represented LiDAR segmentation19 Sep 2025
- 2025From Text to Talent: A Pipeline for Extracting Insights from Candidate Profiles21 Mar 2025
- 2025TipSegNet: Fingertip Segmentation in Contactless Fingerprint Imaging9 Jan 2025
- 2024Image-level Regression for Uncertainty-aware Retinal Image Segmentation27 May 2024
- 2024SiNGR: Brain Tumor Segmentation via Signed Normalized Geodesic Transform Regression27 May 2024
- 2023Revisiting Evaluation Metrics for Semantic Segmentation: Optimization and Evaluation of Fine-grained Intersection over Union30 Oct 2023
- 2023ChatGPT-Crawler: Find out if ChatGPT really knows what it's talking about6 Apr 2023
- 2023Dice Semimetric Losses: Optimizing the Dice Score with Soft Labels28 Mar 2023