解决图像分类中数据不平衡下的对比学习失效问题
Equilibrium contrastive learning for imbalanced image classification
- 设计几何平衡机制,统一特征、类别中心与分类器的关系
- 在多个长尾数据集上超越现有最先进方法,提升显著
- 特别适合医疗等类别不均衡场景的图像分类任务
对比学习(CL)在图像分类中广泛应用,但在数据不平衡时表现受限。尽管已有监督式CL方法试图在表示空间中构建理想正单纯形结构(类内特征坍缩、类间均值均匀分布),但存在两大缺陷:一是未考虑类别均值/原型与分类器之间的对齐,影响泛化;二是原型方法将原型视为每类仅一个额外样本,其贡献随批次中类实例数变化,导致类别贡献不均衡。为此,本文提出均衡对比学习(ECL),一种面向不平衡数据的监督式CL框架,旨在实现特征、类别均值与分类器间的几何均衡。ECL通过两个核心组件实现:一是促进表示几何均衡(正单纯形结构),同时平衡类别均值特征与原型的贡献;二是建立分类器-类别中心的几何均衡,通过对齐分类器权重与类别原型。在三个长尾数据集(CIFAR-10(0)-LT、ImageNet-LT)及两个不平衡医学数据集(ISIC 2019、LCCT)上的实验表明,ECL显著优于现有针对不平衡分类的SOTA监督式CL方法。
原文摘要 · Abstract (English)
Contrastive learning (CL) is a predominant technique in image classification, but they showed limited performance with an imbalanced dataset. Recently, several supervised CL methods have been proposed to promote an ideal regular simplex geometric configuration in the representation space-characterized by intra-class feature collapse and uniform inter-class mean spacing, especially for imbalanced datasets. In particular, existing prototype-based methods include class prototypes, as additional samples to consider all classes. However, the existing CL methods suffer from two limitations. First, they do not consider the alignment between the class means/prototypes and classifiers, which could lead to poor generalization. Second, existing prototype-based methods treat prototypes as only one additional sample per class, making their influence depend on the number of class instances in a batch and causing unbalanced contributions across classes. To address these limitations, we propose Equilibrium Contrastive Learning (ECL), a supervised CL framework designed to promote geometric equilibrium, where class features, means, and classifiers are harmoniously balanced under data imbalance. The proposed ECL framework uses two main components. First, ECL promotes the representation geometric equilibrium (i.e., a regular simplex geometry characterized by collapsed class samples and uniformly distributed class means), while balancing the contributions of class-average features and class prototypes. Second, ECL establishes a classifier-class center geometric equilibrium by aligning classifier weights and class prototypes. We ran experiments with three long-tailed datasets, the CIFAR-10(0)-LT, ImageNet-LT, and the two imbalanced medical datasets, the ISIC 2019 and our constructed LCCT dataset. Results show that ECL outperforms existing SOTA supervised CL methods designed for imbalanced classification.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。