Skip to main content
QUICK REVIEW

[论文解读] Towards Understanding How Data Augmentation Works with Imbalanced Data

Damien A. Dablain, Nitesh V. Chawla|arXiv (Cornell University)|Apr 12, 2023
Imbalanced Data Classification TechniquesComputer Science被引用 3
一句话总结

本文研究了数据增强(DA)对在不平衡数据上训练的机器学习模型的影响,发现即使准确率提升有限,DA仍会显著改变模型权重、支持向量和特征选择。关键发现是,DA通过增加数据方差,使模型能够通过学习不同特征幅度下的标签关联性来实现更好的泛化能力。

ABSTRACT

Data augmentation forms the cornerstone of many modern machine learning training pipelines; yet, the mechanisms by which it works are not clearly understood. Much of the research on data augmentation (DA) has focused on improving existing techniques, examining its regularization effects in the context of neural network over-fitting, or investigating its impact on features. Here, we undertake a holistic examination of the effect of DA on three different classifiers, convolutional neural networks, support vector machines, and logistic regression models, which are commonly used in supervised classification of imbalanced data. We support our examination with testing on three image and five tabular datasets. Our research indicates that DA, when applied to imbalanced data, produces substantial changes in model weights, support vectors and feature selection; even though it may only yield relatively modest changes to global metrics, such as balanced accuracy or F1 measure. We hypothesize that DA works by facilitating variances in data, so that machine learning models can associate changes in the data with labels. By diversifying the range of feature amplitudes that a model must recognize to predict a label, DA improves a model's capacity to generalize when learning with imbalanced data.

研究动机与目标

  • 理解数据增强(DA)如何改善不平衡数据集上模型性能的潜在机制。
  • 探究DA的影响是否更多由数值类别平衡驱动,还是由插值等特征层面操作驱动。
  • 考察增强空间选择(真实空间或潜在空间)对不同数据类型下模型行为的影响。
  • 分析DA对模型参数的影响,包括逻辑回归、SVM和CNN中的权重、支持向量和特征选择。
  • 确定DA的优势是否源于增加的数据方差,从而帮助模型将标签信息与多样的输入变化关联起来。

提出的方法

  • 在三种模型类型(逻辑回归、SVM和CNN)上应用数据增强技术——随机过采样(ROS)、特征插值和潜在空间增强。
  • 使用平衡准确率(BAC)和F1分数等标准指标,在八个不同数据集(三个图像数据集和五个表格数据集)上评估模型性能。
  • 在应用DA前后追踪模型权重、支持向量和前端特征选择的变化。
  • 比较在真实空间(输入数据)与潜在空间(模型嵌入表示)中进行增强的效果,以评估不同数据模态下的有效性。
  • 使用经验风险最小化(ERM)作为训练目标,分析DA如何改变优化景观和模型泛化能力。
  • 通过消融研究分离类别平衡与特征层面扰动在DA中的贡献。
Figure 2: This diagram demonstrates that DA consistently increases the number of support vectors over the baseline imbalanced dataset by a factor of 1 (100%) or greater.
Figure 2: This diagram demonstrates that DA consistently increases the number of support vectors over the baseline imbalanced dataset by a factor of 1 (100%) or greater.

实验结果

研究问题

  • RQ1与特征层面的插值相比,通过随机过采样(ROS)实现的简单类别平衡在性能提升方面贡献有多大?
  • RQ2增强空间的选择(真实空间或潜在空间)如何影响模型性能和内部表征,特别是在图像和表格数据之间?
  • RQ3数据增强如何影响在不平衡数据上训练的逻辑回归、SVM和CNN模型的权重、支持向量和特征选择?
  • RQ4由DA引入的数据方差与模型容量变化(如SVM中支持向量的数量)之间存在何种关系?
  • RQ5DA是否在深度和浅层模型中引发权重特化或类似记忆的行为,这种行为与不平衡设置下的泛化能力有何关联?

主要发现

  • 与特征插值相比,简单的随机过采样(ROS)对平衡准确率(BAC)和F1分数的提升贡献更大,表明数值类别平衡比特征层面的操作更具影响力。
  • 在图像数据上,潜在空间中的数据增强比在表格数据上更有效,可能是因为表格数据本身具有更高维和更紧凑的表示。
  • 即使仅复制少数类样本或应用线性特征调整,DA在逻辑回归和CNN模型中仍导致权重变化超过100%。
  • 无论增强是在真实空间还是潜在空间中进行,多数类和少数类的特征选择均发生显著变化。
  • 支持向量机在应用DA后支持向量数量显著增加,表明更高的数据方差需要更多支持向量来实现分类。
  • 观察到的权重和特征选择变化是由输入特征幅度分布的偏移所驱动,这些偏移改变了模型在经验风险最小化下的信号传播和预测方式。
Figure 3: This diagram shows the ratio of majority class support vectors vs minority class support vectors for each method and dataset.
Figure 3: This diagram shows the ratio of majority class support vectors vs minority class support vectors for each method and dataset.

阅读本论文

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

在 Nubint 中阅读本论文

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