DDB:解决虚假相关性的扩散驱动平衡方法
DDB: Diffusion Driven Balancing to Address Spurious Correlations
AI总结:
本文提出 DDB,利用文本到图像扩散、文本反演、语言分割及样本筛选构造无虚假相关性的增强数据并重训 ERM,在多个基准上提升最差组准确率。
摘要:
使用经验风险最小化(ERM)训练的深度神经网络,在训练数据和测试数据均来自同一域时表现良好,但往往无法泛化到分布外样本。在图像分类中,这些模型可能依赖图像标签与无关特征之间经常存在的虚假相关性,从而在这些特征不存在时使预测变得不可靠。我们提出一种扩散驱动平衡(Diffusion Driven Balancing,DDB)技术,利用文本到图像扩散模型生成训练样本,以解决虚假相关性问题。首先,我们通过文本反演机制,为与样本因果成分相关的视觉特征计算最具描述性的 token。随后,利用语言分割方法和扩散模型,通过将因果成分与来自其他类别的元素相结合来生成新样本。我们还根据 ERM 模型的预测概率和归因分数,对生成样本进行细致筛选,以确保其构成符合我们的目标。最后,我们在增强后的数据集上重新训练 ERM 模型。该过程通过从精心构造、不存在这种相关性的样本中学习,降低模型对虚假相关性的依赖。实验表明,在不同基准上,我们的技术相比现有最先进方法取得了更好的最差组准确率。我们的代码可在 https://github.com/ArianYp/DDB 获取。
英文摘要:
Deep neural networks trained with Empirical Risk Minimization (ERM) perform well when both training and test data come from the same domain, but they often fail to generalize to out-of-distribution samples. In image classification, these models may rely on spurious correlations that often exist between labels and irrelevant features of images, making predictions unreliable when those features do not exist. We propose a Diffusion Driven Balancing (DDB) technique to generate training samples with text-to-image diffusion models for addressing the spurious correlation problem. First, we compute the best describing token for the visual features pertaining to the causal components of samples by a textual inversion mechanism. Then, leveraging a language segmentation method and a diffusion model, we generate new samples by combining the causal component with the elements from other classes. We also meticulously prune the generated samples based on the prediction probabilities and attribution scores of the ERM model to ensure their correct composition for our objective. Finally, we retrain the ERM model on our augmented dataset. This process reduces the model's reliance on spurious correlations by learning from carefully crafted samples in which this correlation does not exist. Our experiments show that across different benchmarks, our technique achieves better worst-group accuracy than the existing state-of-the-art methods. Our code is available at https://github.com/ArianYp/DDB.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。