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

面向视觉任务的白盒Transformer扩展研究

Scaling White-Box Transformers for Vision

UC Santa Cruz(加州大学圣克鲁兹分校);UC Berkeley(加州大学伯克利分校)

Jinrui Yang, Xianhang Li, Druv Pai, Yuyin Zhou, Yi Ma, Yaodong Yu, Cihang Xie

AI总结:

本文针对白盒视觉Transformer架构CRATE的可扩展性问题,提出经小幅修改的CRATE-$α$与轻量训练方案,证明其可随模型和数据规模扩展提升性能,同时保留甚至增强可解释性。

摘要:

CRATE是一种旨在学习压缩稀疏表示的白盒Transformer架构,因其固有的数学可解释性,成为标准视觉Transformer(ViTs)的一种颇具吸引力的替代方案。尽管学界已对语言和视觉Transformer的扩展规律开展了大量研究,但CRATE的可扩展性仍是一个悬而未决的问题,本文正是致力于解决这一问题。具体而言,我们提出了CRATE-$α$,它对CRATE架构设计中的稀疏编码模块进行了具有策略性且幅度极小的修改,同时配套了一套轻量训练方案,旨在提升CRATE的可扩展性。通过大量实验,我们证明CRATE-$α$能够随着模型规模和数据集规模的增大实现有效扩展。例如,我们的CRATE-$α$-B在ImageNet分类任务上的准确率比此前最优的CRATE-B模型高出3.7%,达到83.2%的准确率。同时,当进一步扩展规模时,我们的CRATE-$α$-L取得了85.1%的ImageNet分类准确率。更值得注意的是,这些模型性能提升是在保留、甚至可能增强所训练CRATE模型可解释性的前提下实现的——我们通过实验证明,随着训练的CRATE-$α$模型规模不断增大,其学习到的token表示能生成质量越来越高的无监督图像目标分割结果。项目主页为https://rayjryang.github.io/CRATE-alpha/。

英文摘要:

CRATE, a white-box transformer architecture designed to learn compressed and sparse representations, offers an intriguing alternative to standard vision transformers (ViTs) due to its inherent mathematical interpretability. Despite extensive investigations into the scaling behaviors of language and vision transformers, the scalability of CRATE remains an open question which this paper aims to address. Specifically, we propose CRATE-$α$, featuring strategic yet minimal modifications to the sparse coding block in the CRATE architecture design, and a light training recipe designed to improve the scalability of CRATE. Through extensive experiments, we demonstrate that CRATE-$α$ can effectively scale with larger model sizes and datasets. For example, our CRATE-$α$-B substantially outperforms the prior best CRATE-B model accuracy on ImageNet classification by 3.7%, achieving an accuracy of 83.2%. Meanwhile, when scaling further, our CRATE-$α$-L obtains an ImageNet classification accuracy of 85.1%. More notably, these model performance improvements are achieved while preserving, and potentially even enhancing the interpretability of learned CRATE models, as we demonstrate through showing that the learned token representations of increasingly larger trained CRATE-$α$ models yield increasingly higher-quality unsupervised object segmentation of images. The project page is https://rayjryang.github.io/CRATE-alpha/.

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

↑