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

WaveMix:资源高效的图像令牌混合

WaveMix: Resource-efficient Token Mixing for Images

Indian Institute of Technology Bombay(印度理工学院孟买分校)

Pranav Jeevan, Amit Sethi

摘要:

尽管某些视觉Transformer(ViT)和CNN架构在视觉任务上具有很好的泛化能力,但由于它们对训练甚至测试的计算要求,将它们用于绿色、边缘或桌面计算通常是不切实际的。我们提出WaveMix作为一种替代神经架构,它使用多尺度2D离散小波变换(DWT)进行空间令牌混合。与ViTs不同,WaveMix既不展开图像,也不需要二次复杂度的自我关注。此外,DWT还引入了另一种归纳偏差(除了卷积滤波),以利用图像的2D结构来提高泛化能力。与CNN相比,DWT的多尺度性质也降低了对更深架构的要求,因为后者依赖于部分空间混合的池化。WaveMix模型在多个数据集上显示出与ViT、CNN和令牌混合器竞争的泛化能力,同时需要更低的GPU RAM(训练和测试)、计算次数和存储。WaveMix在EMNIST Byclass和EMNIST Balanced数据集中取得了最先进的(SOTA)结果。

英文摘要:

Although certain vision transformer (ViT) and CNN architectures generalize well on vision tasks, it is often impractical to use them on green, edge, or desktop computing due to their computational requirements for training and even testing. We present WaveMix as an alternative neural architecture that uses a multi-scale 2D discrete wavelet transform (DWT) for spatial token mixing. Unlike ViTs, WaveMix neither unrolls the image nor requires self-attention of quadratic complexity. Additionally, DWT introduces another inductive bias -- besides convolutional filtering -- to utilize the 2D structure of an image to improve generalization. The multi-scale nature of the DWT also reduces the requirement for a deeper architecture compared to the CNNs, as the latter relies on pooling for partial spatial mixing. WaveMix models show generalization that is competitive with ViTs, CNNs, and token mixers on several datasets while requiring lower GPU RAM (training and testing), number of computations, and storage. WaveMix have achieved State-of-the-art (SOTA) results in EMNIST Byclass and EMNIST Balanced datasets.

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

↑