arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12368cs.LGcs.AI
收藏

混淆条件下的反事实生成

Counterfactual Generation Under Confounding

IIT Hyderabad(印度理工学院海得拉巴分校);Microsoft Research(微软研究院)

Abbavaram Gowtham Reddy, Saloni Dash, Amit Sharma, Vineeth N Balasubramanian

摘要:

在训练数据中观察到或未观察到的混杂因素的影响下,机器学习模型可以学习虚假的相关性,并且在部署时无法推广。对于图像分类器,使用反事实示例来增强训练数据集已被经验证明可以打破虚假的相关性。然而,随着混淆水平的增加,反事实生成任务本身变得更加困难。用于在混杂下生成反事实的现有方法考虑了一组固定的干预(例如,纹理、旋转),并且不够灵活以捕获不同的数据生成过程。给定一个因果生成过程,我们正式描述了混淆对任何下游任务的不利影响,并表明生成因素(属性)之间的相关性可以用来定量测量生成因素之间的混淆。为了最大限度地减少这种相关性,我们提出了一种反事实生成方法,该方法学习修改图像中任何属性的值,并在给定一组观察到的属性的情况下生成新图像,即使数据集高度混淆。然后,这些反事实图像用于正则化下游分类器,使得学习的表示在以类标签为条件的各种生成因子中是相同的。我们的方法计算效率高,易于实现,适用于任何数量的生成因子和混杂变量。我们在合成(MNIST变体)和真实世界(CelebA)数据集上的实验结果表明了我们方法的实用性。

英文摘要:

A machine learning model, under the influence of observed or unobserved confounders in the training data, can learn spurious correlations and fail to generalize when deployed. For image classifiers, augmenting a training dataset using counterfactual examples has been empirically shown to break spurious correlations. However, the counterfactual generation task itself becomes more difficult as the level of confounding increases. Existing methods for counterfactual generation under confounding consider a fixed set of interventions (e.g., texture, rotation) and are not flexible enough to capture diverse data-generating processes. Given a causal generative process, we formally characterize the adverse effects of confounding on any downstream tasks and show that the correlation between generative factors (attributes) can be used to quantitatively measure confounding between generative factors. To minimize such correlation, we propose a counterfactual generation method that learns to modify the value of any attribute in an image and generate new images given a set of observed attributes, even when the dataset is highly confounded. These counterfactual images are then used to regularize the downstream classifier such that the learned representations are the same across various generative factors conditioned on the class label. Our method is computationally efficient, simple to implement, and works well for any number of generative factors and confounding variables. Our experimental results on both synthetic (MNIST variants) and real-world (CelebA) datasets show the usefulness of our approach.

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

↑