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

面向CIFAR10的小型视觉Transformer的强效设计

Powerful Design of Small Vision Transformer on CIFAR10

Surrey Institute for People-Centred AI(萨里以人为本人工智能研究所)

Gent Wu

AI总结:

针对视觉Transformer在小型数据集上性能弱于CNN的问题,本文以CIFAR-10为基准探索微型ViT的优化,验证了低秩压缩等策略的效果,为高效ViT设计提供了实用框架。

摘要:

视觉Transformer(ViTs)已在大规模数据集上取得显著成效,但在小型数据集上的性能往往不及卷积神经网络(CNNs)。本文以CIFAR-10为基准,探索面向小型数据集的微型ViT(Tiny ViT)的设计与优化。我们系统评估了数据增强、补丁令牌初始化、低秩压缩以及多类令牌策略对模型性能的影响。实验表明,多头潜在注意力(MLA)中查询的低秩压缩带来的性能损失极小,说明ViT存在冗余性。此外,引入多个CLS令牌可提升全局表征能力,提高准确率。这些发现为优化微型ViT提供了全面框架,为高效且有效的设计提供了实用思路。代码可在https://github.com/erow/PoorViTs获取。

英文摘要:

Vision Transformers (ViTs) have demonstrated remarkable success on large-scale datasets, but their performance on smaller datasets often falls short of convolutional neural networks (CNNs). This paper explores the design and optimization of Tiny ViTs for small datasets, using CIFAR-10 as a benchmark. We systematically evaluate the impact of data augmentation, patch token initialization, low-rank compression, and multi-class token strategies on model performance. Our experiments reveal that low-rank compression of queries in Multi-Head Latent Attention (MLA) incurs minimal performance loss, indicating redundancy in ViTs. Additionally, introducing multiple CLS tokens improves global representation capacity, boosting accuracy. These findings provide a comprehensive framework for optimizing Tiny ViTs, offering practical insights for efficient and effective designs. Code is available at https://github.com/erow/PoorViTs.

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

↑