RealPatch:一个基于真实样本的模型修补统计匹配框架
RealPatch: A Statistical Matching Framework for Model Patching with Real Samples
摘要:
机器学习分类器通常被训练为最小化数据集上的平均误差。不幸的是,在实践中,该过程经常利用由训练数据内的子组不平衡引起的虚假相关性,从而导致高平均性能但跨子组的性能高度可变。最近的工作,以解决这个问题,提出了模型修补与CAMEL。这种先前的方法使用生成对抗网络来执行类内子群间数据增强,这需要(a)训练许多计算昂贵的模型,以及(b)给定域的模型合成输出的足够质量。在这项工作中,我们提出了RealPatch,一个更简单,更快,更有效的数据增强的基础上统计匹配的框架。我们的框架通过用真实样本扩充数据集来执行模型修补,从而减轻了为目标任务训练生成模型的需要。我们证明了RealPatch在三个基准数据集CelebA,Waterbirds和iWildCam子集上的有效性,显示了最坏情况下的子组性能和二进制分类中的子组性能差距的改进。此外,我们进行实验的imSitu数据集与211类,一个设置生成基于模型的修补,如CAMEL是不切实际的。我们证明了RealPatch可以成功地消除数据集泄漏,同时减少模型泄漏并保持高实用性。RealPatch的代码可以在https://github.com/wearepal/RealPatch上找到。
英文摘要:
Machine learning classifiers are typically trained to minimise the average error across a dataset. Unfortunately, in practice, this process often exploits spurious correlations caused by subgroup imbalance within the training data, resulting in high average performance but highly variable performance across subgroups. Recent work to address this problem proposes model patching with CAMEL. This previous approach uses generative adversarial networks to perform intra-class inter-subgroup data augmentations, requiring (a) the training of a number of computationally expensive models and (b) sufficient quality of model's synthetic outputs for the given domain. In this work, we propose RealPatch, a framework for simpler, faster, and more data-efficient data augmentation based on statistical matching. Our framework performs model patching by augmenting a dataset with real samples, mitigating the need to train generative models for the target task. We demonstrate the effectiveness of RealPatch on three benchmark datasets, CelebA, Waterbirds and a subset of iWildCam, showing improvements in worst-case subgroup performance and in subgroup performance gap in binary classification. Furthermore, we conduct experiments with the imSitu dataset with 211 classes, a setting where generative model-based patching such as CAMEL is impractical. We show that RealPatch can successfully eliminate dataset leakage while reducing model leakage and maintaining high utility. The code for RealPatch can be found at https://github.com/wearepal/RealPatch.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。