arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.09788cs.CVcs.AIcs.LGeess.IV
收藏

仅用解释训练:一种防止捷径学习的新范式

Training with Explanations Alone: A New Paradigm to Prevent Shortcut Learning

University of Bologna(博洛尼亚大学);Istituto Italiano de Tecnologia(意大利技术研究所);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院)

Pedro R. A. S. Bassi, Haydr A. H. Ali, Andrea Cavalli, Sergio Decherchi

AI总结:

本文提出仅用解释训练(TEA)范式,让学生分类器仅通过匹配教师模型的解释热图来学习,从而在不使用分割器的情况下抵抗图像背景和前景偏差,在多个数据集上显著超越现有方法并提升跨医院泛化能力。

摘要:

人工智能(AI)在医疗等关键领域的应用常常受到捷径学习的阻碍,这妨碍了AI对不同医院和患者的泛化能力。捷径学习可能由背景偏差引起,例如图像背景中与分类标签存在虚假相关性的特征(如X光片中的文字)。为了减轻图像背景和前景偏差对AI的影响,我们引入了一种新的训练范式,称为仅用解释训练(TEA)。TEA仅通过使其解释热图与来自更大教师模型的目标热图匹配来训练分类器(TEA学生)。通过从解释热图中学习,TEA学生关注与教师相同的图像特征。例如,教师使用大型分割器在分类前去除图像背景,从而忽略背景偏差。通过从教师的解释热图中学习,TEA学生也学会忽略背景——但它不需要分割器。借助不同的教师,TEA学生还可以抵抗图像前景中的偏差。令人惊讶的是,仅通过热图训练,学生输出自然与教师输出匹配——无需对学生输出施加任何损失函数。我们将TEA学生与14种最先进方法在5个具有强背景或前景偏差的数据集上进行了比较,包括Waterbirds以及用于COVID-19和肺炎分类的X射线数据集。TEA学生具有更好的偏差抵抗能力,显著超越最先进方法,并且对训练中未见过的医院具有更好的泛化能力。

英文摘要:

Application of Artificial Intelligence (AI) in critical domains, like the medical one, is often hampered by shortcut learning, which hinders AI generalization to diverse hospitals and patients. Shortcut learning can be caused, for example, by background biases -- features in image backgrounds that are spuriously correlated to classification labels (e.g., words in X-rays). To mitigate the influence of image background and foreground bias on AI, we introduce a new training paradigm, dubbed Training with Explanations Alone (TEA). TEA trains a classifier (TEA student) only by making its explanation heatmaps match target heatmaps from a larger teacher model. By learning from its explanation heatmaps, the TEA student pays attention to the same image features as the teacher. For example, a teacher uses a large segmenter to remove image backgrounds before classification, thus ignoring background bias. By learning from the teacher's explanation heatmaps, the TEA student learns to also ignore backgrounds -- but it does not need a segmenter. With different teachers, the TEA student can also resist bias in the image foreground. Surprisingly, by training with heatmaps alone the student output naturally matches the teacher output -- with no loss function applied to the student output. We compared the TEA student against 14 state-of-the-art methods in 5 datasets with strong background or foreground bias, including Waterbirds and an X-Ray dataset for COVID-19 and pneumonia classification. The TEA student had better resistance to bias, strongly surpassing state-of-the-art methods, and generalizing better to hospitals not seen in training.

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

↑