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

SplitMixer:从MLP样模型修剪的脂肪

SplitMixer: Fat Trimmed From MLP-like Models

Quintic AI;University of California, Santa Barbara(加州大学圣巴巴拉分校)

Ali Borji, Sikun Lin

摘要:

我们提出了SplitMixer,一个简单而轻量级的各向同性MLP类架构,用于视觉识别。它包含两种类型的交织卷积操作,以跨空间位置(空间混合)和通道(通道混合)混合信息。第一个包括顺序地应用两个dependent 1D内核,而不是2D内核,以混合空间信息。第二种是将通道分成重叠或非重叠的段,有或没有共享参数,并应用我们提出的通道混合方法或3D卷积来混合通道信息。根据设计选择,可以构建许多SplitMixer变体,以平衡精度,参数数量和速度。我们表明,无论是理论上和实验上,SplitMixer执行与最先进的MLP类模型,同时具有显着较低的参数和FLOPS的数量。例如,在没有强大的数据增强和优化的情况下,SplitMixer在CIFAR-10上仅用0.28 M参数就实现了约94%的准确度,而ConvMixer则用约0.6 M参数实现了相同的准确度。著名的MLP混频器在17.1M参数下达到85.45%。在CIFAR-100数据集上,SplitMixer实现了约73%的准确率,与ConvMixer相当,但参数和FLOPS减少了约52%。我们希望我们的研究结果能够激发进一步的研究,以找到更有效的视觉架构,并促进MLP类模型的开发。代码可在https://github.com/aliborji/splitmixer上获得。

英文摘要:

We present SplitMixer, a simple and lightweight isotropic MLP-like architecture, for visual recognition. It contains two types of interleaving convolutional operations to mix information across spatial locations (spatial mixing) and channels (channel mixing). The first one includes sequentially applying two depthwise 1D kernels, instead of a 2D kernel, to mix spatial information. The second one is splitting the channels into overlapping or non-overlapping segments, with or without shared parameters, and applying our proposed channel mixing approaches or 3D convolution to mix channel information. Depending on design choices, a number of SplitMixer variants can be constructed to balance accuracy, the number of parameters, and speed. We show, both theoretically and experimentally, that SplitMixer performs on par with the state-of-the-art MLP-like models while having a significantly lower number of parameters and FLOPS. For example, without strong data augmentation and optimization, SplitMixer achieves around 94% accuracy on CIFAR-10 with only 0.28M parameters, while ConvMixer achieves the same accuracy with about 0.6M parameters. The well-known MLP-Mixer achieves 85.45% with 17.1M parameters. On CIFAR-100 dataset, SplitMixer achieves around 73% accuracy, on par with ConvMixer, but with about 52% fewer parameters and FLOPS. We hope that our results spark further research towards finding more efficient vision architectures and facilitate the development of MLP-like models. Code is available at https://github.com/aliborji/splitmixer.

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

↑