Striking the Right Balance: Recall Loss for Semantic Segmentation
Class imbalance is a fundamental problem in computer vision applications such as semantic segmentation. Specifically, uneven class distributions in a training dataset often result in unsatisfactory performance on under-represented classes. Many works have proposed to weight the standard cross entropy loss function with pre-computed weights based on class statistics, such as the number of samples and class margins. There are two major drawbacks to these methods: 1) constantly up-weighting minority classes can introduce excessive false positives in semantic segmentation; 2) a minority class is not necessarily a hard class. The consequence is low precision due to excessive false positives. In this regard, we propose a hard-class mining loss by reshaping the vanilla cross entropy loss such that it weights the loss for each class dynamically based on instantaneous recall performance. We show that the novel recall loss changes gradually between the standard cross entropy loss and the inverse frequency weighted loss. Recall loss also leads to improved mean accuracy while offering competitive mean Intersection over Union (IoU) performance. On Synthia dataset, recall loss achieves $9\%$ relative improvement on mean accuracy with competitive mean IoU using DeepLab-ResNet18 compared to the cross entropy loss. Code available at https://github.com/PotatoTian/recall-semseg.
Code (1)
Tasks
Semantic SegmentationSimilar Papers 제목 키워드 기반
Speech-Image Semantic Alignment Does Not Depend on Any Prior Classification Tasks
Semantically-aligned $(speech, image)$ datasets can be used to explore "visually-grounded speech". In a majority of existing investigations, features of an image signal are extracted using neural networks "pre-trained" o…
General ClassificationRetrievalTransfer LearningRecall Loss for Imbalanced Image Classification and Semantic Segmentation
Class imbalance is a fundamental problem in computer vision applications such as semantic segmentation and image classification. Specifically, uneven class distributions in a training dataset often result in unsatisfacto…
ClassificationGeneral Classificationimage-classificationImage Classification+3Striking the Right Balance with Uncertainty
Learning unbiased models on imbalanced datasets is a significant challenge. Rare classes tend to get a concentrated representation in the classification space which hampers the generalization of learned boundaries to new…
AttributeClassificationFace VerificationGeneral Classification+1Multi-Task Triplet Loss for Named Entity Recognition using Supplementary Text
Retail item data contains many different forms of text like the title of an item, the description of an item, item name and reviews. It is of interest to identify the item name in the other forms of text using a named en…
named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NER+2Show, Recall, and Tell: Image Captioning with Recall Mechanism
Generating natural and accurate descriptions in image cap-tioning has always been a challenge. In this paper, we pro-pose a novel recall mechanism to imitate the way human con-duct captioning. There are three parts in ou…
Image CaptioningRetrievalText RetrievalText Summarization