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

视觉分类器中的捷径学习易感性

Shortcut Learning Susceptibility in Vision Classifiers

IIT Bombay(博扬理工学院)

Pirzada Suhail, Vrinda Goel, Amit Sethi

AI总结:

本研究通过引入位置和强度相关的人为捷径,系统评估CNNs、MLPs、ViTs三类视觉分类器的捷径学习易感性,发现低学习率下CNNs更难采纳捷径特征,无位置编码的ViTs易忽略图像本身特征。

摘要:

捷径学习指机器学习模型利用数据中的虚假相关性而非捕捉有意义的特征,这对构建鲁棒且可泛化的模型构成了重大挑战。这种现象在视觉、自然语言处理和语音识别等各类机器学习应用中普遍存在,模型可能会找到使训练损失最小化的非预期线索,但无法捕捉数据的底层结构。基于卷积神经网络(CNNs)、多层感知机(MLPs)和视觉Transformer(ViTs)的视觉分类器利用不同的架构原理处理空间和结构信息,因此它们对捷径学习的易感性有所不同。在本研究中,我们通过在数据集中引入与类别标签在位置上和强度上都相关的人为捷径,系统评估了这些架构,构建了一个受控设置来评估模型是依赖这些人工线索还是学习真正的区分性特征。我们通过在经捷径修改的数据集上训练,并在两个不同的测试集上测试——一个包含相同的捷径,另一个不包含——进行定量评估,以确定模型对捷径的依赖程度。此外,我们使用基于网络反演的重建技术进行定性评估,分析模型在其权重中内化了什么,旨在重建分类器所感知的训练数据。我们还评估了不同学习率下的捷径学习易感性。我们的分析表明,学习率较低时,CNNs对完全采纳捷径特征的态度更为保守,而ViTs,尤其是没有位置编码的ViTs,在存在捷径时几乎完全忽略了独特的图像特征。

英文摘要:

Shortcut learning, where machine learning models exploit spurious correlations in data instead of capturing meaningful features, poses a significant challenge to building robust and generalizable models. This phenomenon is prevalent across various machine learning applications, including vision, natural language processing, and speech recognition, where models may find unintended cues that minimize training loss but fail to capture the underlying structure of the data. Vision classifiers based on Convolutional Neural Networks (CNNs), Multi-Layer Perceptrons (MLPs), and Vision Transformers (ViTs) leverage distinct architectural principles to process spatial and structural information, making them differently susceptible to shortcut learning. In this study, we systematically evaluate these architectures by introducing deliberate shortcuts into the dataset that are correlated with class labels both positionally and via intensity, creating a controlled setup to assess whether models rely on these artificial cues or learn actual distinguishing features. We perform both quantitative evaluation by training on the shortcut-modified dataset and testing on two different test sets-one containing the same shortcuts and another without them-to determine the extent of reliance on shortcuts. Additionally, qualitative evaluation is performed using network inversion-based reconstruction techniques to analyze what the models internalize in their weights, aiming to reconstruct the training data as perceived by the classifiers. Further, we evaluate susceptibility to shortcut learning across different learning rates. Our analysis reveals that CNNs at lower learning rates tend to be more reserved against entirely picking up shortcut features, while ViTs, particularly those without positional encodings, almost entirely ignore the distinctive image features in the presence of shortcuts.

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

↑