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

迷失在翻译中:现代神经网络仍难以应对微小的真实图像变换

Lost in Translation: Modern Neural Networks Still Struggle With Small Realistic Image Transformations

The Hebrew University of Jerusalem(耶路撒冷希伯来大学)

Ofir Shifman, Yair Weiss

AI总结:

本文针对现代视觉模型对一像素真实平移仍不稳定的问题,提出 Robust Inference by Crop Selection,在几乎不损失准确率且无需重训的情况下显著提升一致性,并实现整数循环移位 100% 稳健。

摘要:

在图像分类中取得卓越性能的深度神经网络,此前已被证明很容易被输入图像的一像素平移等微小变换所欺骗。为了解决这一问题,近年来研究人员提出了两类方法。第一种方法建议使用海量数据集并结合数据增强,希望高度多样化的训练集能够教会网络学习不变性。第二种方法则建议采用基于采样理论的架构修改,以显式处理图像平移。本文表明,这些方法在稳健处理模拟相机朝向细微变化的“自然”图像平移方面仍有不足。研究结果显示,在最先进模型(例如在 LAION-2B 上训练的 open-CLIP 或 DINO-v2)中,仅一像素的平移就会导致约 40% 的测试图像的预测图像表征发生显著变化;而那些被显式构建为对循环平移稳健的模型,在面对 1 像素真实(非循环)平移时仍有 11% 的概率被欺骗。我们提出了 Robust Inference by Crop Selection(通过裁剪选择实现稳健推理):这是一种简单方法,可被证明能够达到任意期望的一致性水平,但会与模型准确率形成适度权衡。重要的是,我们证明了采用该方法后,用 1 像素平移欺骗最先进模型的概率可降至 5% 以下,而分类准确率仅下降 1%。此外,我们还表明该方法可以轻松调整以处理循环移位。在这种情况下,我们在无需任何进一步训练的条件下,实现了对整数移位 100% 的稳健性,同时保持最先进的准确率。

英文摘要:

Deep neural networks that achieve remarkable performance in image classification have previously been shown to be easily fooled by tiny transformations such as a one pixel translation of the input image. In order to address this problem, two approaches have been proposed in recent years. The first approach suggests using huge datasets together with data augmentation in the hope that a highly varied training set will teach the network to learn to be invariant. The second approach suggests using architectural modifications based on sampling theory to deal explicitly with image translations. In this paper, we show that these approaches still fall short in robustly handling 'natural' image translations that simulate a subtle change in camera orientation. Our findings reveal that a mere one-pixel translation can result in a significant change in the predicted image representation for approximately 40% of the test images in state-of-the-art models (e.g. open-CLIP trained on LAION-2B or DINO-v2) , while models that are explicitly constructed to be robust to cyclic translations can still be fooled with 1 pixel realistic (non-cyclic) translations 11% of the time. We present Robust Inference by Crop Selection: a simple method that can be proven to achieve any desired level of consistency, although with a modest tradeoff with the model's accuracy. Importantly, we demonstrate how employing this method reduces the ability to fool state-of-the-art models with a 1 pixel translation to less than 5% while suffering from only a 1% drop in classification accuracy. Additionally, we show that our method can be easy adjusted to deal with circular shifts as well. In such case we achieve 100% robustness to integer shifts with state-of-the-art accuracy, and with no need for any further training.

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

↑