CVJul 11, 2023

Class Instance Balanced Learning for Long-Tailed Classification

U of Toronto
arXiv:2307.05322v1h-index: 45
Originality Incremental advance
AI Analysis

This addresses the imbalance in real-world datasets for image classification, offering a method to balance performance across head and tail classes, though it is incremental as it builds on existing cross-entropy and contrastive learning approaches.

The paper tackles long-tailed image classification by proposing a class instance balanced loss (CIBL) that reweights cross-entropy and contrastive loss contributions based on class frequencies, achieving competitive results on CIFAR-100-LT and ImageNet-LT.

The long-tailed image classification task remains important in the development of deep neural networks as it explicitly deals with large imbalances in the class frequencies of the training data. While uncommon in engineered datasets, this imbalance is almost always present in real-world data. Previous approaches have shown that combining cross-entropy and contrastive learning can improve performance on the long-tailed task, but they do not explore the tradeoff between head and tail classes. We propose a novel class instance balanced loss (CIBL), which reweights the relative contributions of a cross-entropy and a contrastive loss as a function of the frequency of class instances in the training batch. This balancing favours the contrastive loss for more common classes, leading to a learned classifier with a more balanced performance across all class frequencies. Furthermore, increasing the relative weight on the contrastive head shifts performance from common (head) to rare (tail) classes, allowing the user to skew the performance towards these classes if desired. We also show that changing the linear classifier head with a cosine classifier yields a network that can be trained to similar performance in substantially fewer epochs. We obtain competitive results on both CIFAR-100-LT and ImageNet-LT.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes