概述
结合一个物体的形状与另一个物体纹理的线索冲突图像揭示了哪个线索占主导地位。在特定 ImageNet 训练的卷积神经网络中观察到的纹理偏好是一项研究发现,并非声称所有卷积神经网络总是忽略形状。
深入探讨
Humans often recognize an object across changes in surface pattern, though people also use texture. A classifier may learn a different balance. Geirhos and colleagues used images in which shape and texture pointed to different categories to test ImageNet-trained convolutional neural networks. In those experiments, the tested CNNs often followed texture more than human observers did. The team also explored stylized training images to encourage greater shape use. The finding is about evaluated models and procedures; architecture, data and task can change the balance. A cue-conflict image is diagnostic because the two sources of evidence disagree. Imagine the outline and body parts of a cat filled with a surface pattern associated with an elephant. A texture-based decision and a shape-based decision now produce different labels. Ordinary accuracy on images where both cues agree cannot reveal that preference. A shape-bias score summarizes choices on a defined cue-conflict set, not an absolute measure of human-like understanding or all kinds of robustness. Texture can be legitimately useful. A fabric inspector may need to detect weave defects, and a material classifier is supposed to use surface properties. The concern arises when a product must recognize object identity after lighting, paint, camera or background changes. Increasing shape preference may help some shifts, but it can also harm tasks where texture carries the intended signal. Stylized training changes both visual statistics and data distribution, so evaluation must include clean images, cue-conflict tests and target deployment conditions. To investigate, specify the task and create controlled images that preserve shape while changing texture and vice versa. Check whether generated images introduce artifacts that themselves become shortcuts. Compare models and human annotations under the same label rule. Do not claim a universally superior cue from one benchmark. The useful outcome is knowing what information the model relies on and whether that reliance will hold when its environment changes.
现实世界的实施
研究人员测试了一张具有大象纹理的猫形图像,并记录分类器选择了哪个类别。
对制造模型在相同部件但采用新饰面的情况下进行检查,以查看纹理变化是否会压倒其几何形状。
一个团队比较了普通训练数据和风格化训练数据,但随后在真实部署照片上对两者进行了验证。
评估者将形状线索决策与干净图像准确率分开报告,而不是将它们称为同一指标。
卷积神经网络中纹理与形状偏差的未来
架构和训练方案可能让团队对图像模型使用的线索拥有更多控制权。更好的目标不是为每个应用追求最大的形状偏差;而是符合任务需求且在预期变化后仍然有用的特征偏好。未来的评估可以包括受控的线索冲突,以及饰面、光照和相机的自然变化。同时报告干净准确率和线索依赖度,有助于解释为什么一个模型比另一个模型迁移得更好。团队应继续测试真实部署示例,因为合成冲突集无法重现产品将遇到的所有视觉条件。
付诸实践
为什么这很重要
- 速度与规模. 视觉人工智能可以大规模自动化检查、检测和标记任务。
- 构建选择. 创意团队可以通过更少的手动修改更快地构建概念原型。
- 团队与工作流程. 操作可以使用以前难以处理的图像和视频信号。
留意
- 如果出处不明,肖像权和同意可能会成为法律风险。
- 模型性能可能因光照、人口统计和环境的不同而有所不同。
- 除非监控置信阈值,否则误报可能会被忽视。
后续步骤
- 定义精确度、召回率和错误成本的接受标准。
- 使用符合实际生产条件的数据进行测试。
- 为低置信度或高影响力的预测添加人工审核。
- 跟踪模型漂移并在相机或数据集更改后重新验证。
不断探索
常见问题
什么是卷积神经网络中的纹理与形状偏差?
卷积图像分类器可能更依赖于局部表面纹理,而非物体的全局轮廓,具体取决于其训练情况。结合一个物体的形状与另一个物体纹理的线索冲突图像揭示了哪个线索占主导地位。在特定 ImageNet 训练的卷积神经网络中观察到的纹理偏好是一项研究发现,并非声称所有卷积神经网络总是忽略形状。
卷积神经网络中纹理与形状偏差的下一步是什么?
架构和训练方案可能让团队对图像模型使用的线索拥有更多控制权。更好的目标不是为每个应用追求最大的形状偏差;而是符合任务需求且在预期变化后仍然有用的特征偏好。未来的评估可以包括受控的线索冲突,以及饰面、光照和相机的自然变化。同时报告干净准确率和线索依赖度,有助于解释为什么一个模型比另一个模型迁移得更好。团队应继续测试真实部署示例,因为合成冲突集无法重现产品将遇到的所有视觉条件。
Geirhos 及其同事的研究对其评估的卷积神经网络观察到了什么?
该结果仅限于受测模型和线索冲突程序。
哪个指标最能描述形状偏差分数?
该分数在定义的刺激集上操作化了决策。