MDMLP:使用MLP对小数据集进行图像分类
MDMLP: Image Classification from Scratch on Small Datasets with MLP
摘要:
注意力机制已经成为自然语言处理和计算机视觉任务的首选技术。最近,MLP混合器和其他基于MLP的架构,简单地基于多层感知器(MLP),与CNN和注意力技术相比也很强大,并提出了一个新的研究方向。然而,基于MLP的网络的高性能严重依赖于大量的训练数据,并且与视觉Transformer(ViT)或ConvNets相比缺乏解释能力。当在小数据集上训练时,它们通常比ConvNets获得更差的结果。为了解决这个问题,我们提出了(i)多维MLP(MDMLP),一个概念上简单和轻量级的基于MLP的架构,但在小规模数据集上从头开始训练时实现了SOTA;(ii)多维MLP注意力工具(MDAttnTool),一种基于MLP的新型高效注意力机制。即使没有强大的数据增强,MDMLP在CIFAR 10上仅用0.3M参数就达到了90.90%的准确率,而众所周知的MLP-Mixer在17.1M参数下达到了85.45%。此外,轻量级MDAttnTool突出显示图像中的对象,表明其解释能力。我们的代码可在https://github.com/Amoza-Theodore/MDMLP上获得。
英文摘要:
The attention mechanism has become a go-to technique for natural language processing and computer vision tasks. Recently, the MLP-Mixer and other MLP-based architectures, based simply on multi-layer perceptrons (MLPs), are also powerful compared to CNNs and attention techniques and raises a new research direction. However, the high capability of the MLP-based networks severely relies on large volume of training data, and lacks of explanation ability compared to the Vision Transformer (ViT) or ConvNets. When trained on small datasets, they usually achieved inferior results than ConvNets. To resolve it, we present (i) multi-dimensional MLP (MDMLP), a conceptually simple and lightweight MLP-based architecture yet achieves SOTA when training from scratch on small-size datasets; (ii) multi-dimension MLP Attention Tool (MDAttnTool), a novel and efficient attention mechanism based on MLPs. Even without strong data augmentation, MDMLP achieves 90.90% accuracy on CIFAR10 with only 0.3M parameters, while the well-known MLP-Mixer achieves 85.45% with 17.1M parameters. In addition, the lightweight MDAttnTool highlights objects in images, indicating its explanation power. Our code is available at https://github.com/Amoza-Theodore/MDMLP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。