Skip to main content
QUICK REVIEW

[论文解读] AutoBalance: Optimized Loss Functions for Imbalanced Data

Mingchen Li, Xuechen Zhang|arXiv (Cornell University)|Jan 4, 2022
Imbalanced Data Classification TechniquesComputer Science被引用 27
一句话总结

AutoBalance 使用双层优化框架,自动设计损失函数和个性化数据增强,以提升在不平衡数据上的公平性导向性能。

ABSTRACT

Imbalanced datasets are commonplace in modern machine learning problems. The presence of under-represented classes or groups with sensitive attributes results in concerns about generalization and fairness. Such concerns are further exacerbated by the fact that large capacity deep nets can perfectly fit the training data and appear to achieve perfect accuracy and fairness during training, but perform poorly during test. To address these challenges, we propose AutoBalance, a bi-level optimization framework that automatically designs a training loss function to optimize a blend of accuracy and fairness-seeking objectives. Specifically, a lower-level problem trains the model weights, and an upper-level problem tunes the loss function by monitoring and optimizing the desired objective over the validation data. Our loss design enables personalized treatment for classes/groups by employing a parametric cross-entropy loss and individualized data augmentation schemes. We evaluate the benefits and performance of our approach for the application scenarios of imbalanced and group-sensitive classification. Extensive empirical evaluations demonstrate the benefits of AutoBalance over state-of-the-art approaches. Our experimental findings are complemented with theoretical insights on loss function design and the benefits of train-validation split. All code is available open-source.

研究动机与目标

  • 在高容量模型的情况下,激发并解决不平衡数据集的泛化与公平性问题。
  • 开发一种原理性方法来设计在测试集上优化公平性目标的损失函数。
  • 通过参数化损失函数和类别特定增强实现对类别或组的个性化处理。
  • 提供关于损失设计、训练-验证划分及其对优化动力学影响的理论见解。
  • 在多项长尾与组别敏感的分类任务上,展示相较于现有方法的实证收益。

提出的方法

  • 提出一个双层优化框架,其中下层问题训练模型权重,上层问题调优损失函数的超参数。
  • 使用带有三个向量(w, l, Δ)的参数化交叉熵损失,以通过加性(l)和乘性(Δ)logits 与权重实现类别级调整。
  • 结合可以对每个类别或组进行个性化的数据增强策略(A_y),并通过 sigmoid 将 Δ 限制在 (0,1) 内。
  • 将下层损失形式化为 ell_train,结合 w_y、l_y、Δ_y 和增强, bias 学习以偏向少数类别。
  • 采用隐式求导计算 α 的超梯度,并使用热身阶段以满足隐函数定理的假设。
  • 通过子空间嵌入(l′, Δ′)和一个基于频度的字典 D_π 来共享相似频度类别之间的超参数,从而降低超参数搜索复杂度。
  • 基于验证集的优化用于引导损失函数设计朝向期望的公平性目标,同时在发现的 α★ 下对全部数据重新训练以实现。

实验结果

研究问题

  • RQ1我们如何自动设计一个能在不平衡数据上改进公平性相关指标(如平衡准确率)的损失函数?
  • RQ2双层优化是否能够有效定制类别或组的损失调整和增强以提升测试时的性能?
  • RQ3个性化数据增强在将决策边界向少数群体或类别倾斜方面扮演何种角色?
  • RQ4通过聚类和嵌入实现的更小超参数搜索空间是否在保持性能的同时提升收敛?

主要发现

  • AutoBalance 发现了使少数类别权重增大的损失函数超参数,与理论直觉一致。
  • 对加性(l)和乘性(Δ)logit 调整的联合学习带来优越的公平性-性能权衡。
  • 个性化数据增强(PDA)进一步提升了平衡准确率,超越单一通用增强策略。
  • Δ 和 l 的设计在 CIFAR-10-LT、CIFAR-100-LT、ImageNet-LT 和 iNaturalist 数据集上优于基线方法。
  • 用 LA 损失的 τ 初始化 AutoBalance 常常进一步提升准确率,显示热启动的好处。
  • 在表格中,AutoBalance 结合 Δ 与 l 在长尾和组敏感设置上优于现有方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。