arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.04553cs.CVcs.LG
收藏

从假到真:基于平衡合成图像的预训练以防止图像识别中的虚假相关性

From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Spurious Correlations in Image Recognition

Boston University(波士顿大学)

Maan Qraitem, Kate Saenko, Bryan A. Plummer

AI总结:

针对图像识别模型易受虚假相关性影响的问题,提出从假到真(FFR)两步训练流程,先在平衡合成数据预训练,再用真实数据微调,在三个数据集上使最差组准确率较SOTA提升最高20%

摘要:

视觉识别模型容易学习到由有偏差训练集引发的虚假相关性,在该数据集中,某些条件$B$(例如室内场景)在某些类别$Y$(例如大型犬)中被过度表征。来自现成大规模生成模型的合成数据为缓解该问题提供了有前景的方向,可通过扩充真实数据集中表征不足的子组来实现。然而,通过使用真实数据与合成数据的混合分布,会因合成数据与真实数据之间的分布差异(例如合成伪影)引入另一种偏差来源。正如我们将展示的,现有利用合成数据纠正模型对$B$偏差的方法,无法修正模型对配对$(B, G)$的偏差,其中$G$表示样本是真实还是合成的。因此,模型可能仅基于配对$(B, G)$学习信号(例如合成室内场景)来对$Y$(例如大型犬)进行预测。为解决该问题,我们提出了一种简单、易于实现的两步训练流程,命名为从假到真(FFR)。FFR的第一步是在平衡合成数据上预训练模型,以学习跨子组的鲁棒表示;第二步是使用ERM或常见基于损失的偏差缓解方法在真实数据上微调模型。通过分别在真实数据与合成数据上训练,FFR不会让模型接触到真实与合成数据之间的统计差异,从而避免了对配对$(B, G)$的偏差问题。我们的实验表明,在三个数据集上,FFR将最差组准确率提升至比现有最佳方法高20%。代码可访问:this https URL

英文摘要:

Visual recognition models are prone to learning spurious correlations induced by a biased training set where certain conditions $B$ (\eg, Indoors) are over-represented in certain classes $Y$ (\eg, Big Dogs). Synthetic data from off-the-shelf large-scale generative models offers a promising direction to mitigate this issue by augmenting underrepresented subgroups in the real dataset. However, by using a mixed distribution of real and synthetic data, we introduce another source of bias due to distributional differences between synthetic and real data (\eg synthetic artifacts). As we will show, prior work's approach for using synthetic data to resolve the model's bias toward $B$ do not correct the model's bias toward the pair $(B, G)$, where $G$ denotes whether the sample is real or synthetic. Thus, the model could simply learn signals based on the pair $(B, G)$ (\eg, Synthetic Indoors) to make predictions about $Y$ (\eg, Big Dogs). To address this issue, we propose a simple, easy-to-implement, two-step training pipeline that we call From Fake to Real (FFR). The first step of FFR pre-trains a model on balanced synthetic data to learn robust representations across subgroups. In the second step, FFR fine-tunes the model on real data using ERM or common loss-based bias mitigation methods. By training on real and synthetic data separately, FFR does not expose the model to the statistical differences between real and synthetic data and thus avoids the issue of bias toward the pair $(B, G)$. Our experiments show that FFR improves worst group accuracy over the state-of-the-art by up to 20\% over three datasets. Code available: https://github.com/mqraitem/From-Fake-to-Real

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑