arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06983cs.CVcs.LG
收藏

去噪掩码自编码器有助于稳健的分类

Denoising Masked AutoEncoders Help Robust Classification

Peking University(北京大学);Microsoft Research Asia(微软亚洲研究院)

Quanlin Wu, Hang Ye, Yuntian Gu, Huishuai Zhang, Liwei Wang, Di He

摘要:

在本文中,我们提出了一种新的自我监督的方法,这是所谓的去噪掩码自编码器(DMAE),学习认证的鲁棒分类器的图像。在DMAE中,我们通过向每个像素值添加高斯噪声并随机掩蔽几个补丁来破坏每个图像。然后训练基于变换器的编码器-解码器模型,以从损坏的图像重建原始图像。在这种学习范式中,编码器将学习捕获下游任务的相关语义,这对高斯加性噪声也是鲁棒的。我们表明,预训练的编码器可以自然地用作高斯平滑模型中的基本分类器,在高斯平滑模型中,我们可以分析计算任何数据点的认证半径。虽然所提出的方法是简单的,它产生了显着的性能改善下游分类任务。我们表明,DMAE ViT-Base模型,它只是使用1/10的参数,在最近的工作arXiv:2206.10550开发的模型,实现竞争力或更好的认证精度在各种设置。DMAE ViT-Large模型显著超越了之前的所有结果,在ImageNet数据集上建立了一个新的最先进的模型。我们进一步证明了预训练模型对CIFAR-10数据集具有良好的可移植性,表明其具有广泛的适应性。模型和代码可在https://github.com/quanlin-wu/dmae上获得。

英文摘要:

In this paper, we propose a new self-supervised method, which is called Denoising Masked AutoEncoders (DMAE), for learning certified robust classifiers of images. In DMAE, we corrupt each image by adding Gaussian noises to each pixel value and randomly masking several patches. A Transformer-based encoder-decoder model is then trained to reconstruct the original image from the corrupted one. In this learning paradigm, the encoder will learn to capture relevant semantics for the downstream tasks, which is also robust to Gaussian additive noises. We show that the pre-trained encoder can naturally be used as the base classifier in Gaussian smoothed models, where we can analytically compute the certified radius for any data point. Although the proposed method is simple, it yields significant performance improvement in downstream classification tasks. We show that the DMAE ViT-Base model, which just uses 1/10 parameters of the model developed in recent work arXiv:2206.10550, achieves competitive or better certified accuracy in various settings. The DMAE ViT-Large model significantly surpasses all previous results, establishing a new state-of-the-art on ImageNet dataset. We further demonstrate that the pre-trained model has good transferability to the CIFAR-10 dataset, suggesting its wide adaptability. Models and code are available at https://github.com/quanlin-wu/dmae.

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

↑