A Study on Transformer Configuration and Training Objective
Fuzhao Xue, Jianghai Chen, Aixin Sun, Xiaozhe Ren, Zangwei Zheng, Xiaoxin He, Yongming Chen, Xin Jiang, Yang You
摘要
Transformer-based models have delivered impressive results on many tasks, particularly vision and language tasks. In many model training situations, conventional configurations are often adopted. For example, we usually set the base model with hidden size (i.e., model width) to be 768 and the number of transformer layers (i.e., model depth) to be 12. In this paper, we revisit these conventional configurations by studying the the relationship between transformer configuration and training objective. We show that the optimal transformer configuration is closely related to the training objective. Specifically, compared with the simple classification objective, the masked autoencoder is effective in alleviating the over-smoothing issue in deep transformer training. Based on this finding, we propose "Bamboo", a notion of using deeper and narrower transformer configurations, for masked autoencoder training. On ImageNet, with such a simple change in configuration, the re-designed Base-level transformer achieves 84.2% top-1 accuracy and outperforms SoTA models like MAE by 0.9%. On language tasks, re-designed model outperforms BERT with the default setting by 1.1 points on average, on GLUE benchmark with 8 datasets.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Emerging Properties in Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Emerging Properties in Self-Supervised Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
- Edge-RecViT: Efficient Vision Transformer via Semantic-Refined Dynamic Recursion 引用了 Emerging Properties in Self-Supervised Vision Transformers
- Improving Language Model Distillation through Hidden State Matching 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models 引用了 Training data-efficient image transformers & distillation through attention
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Polynomial-based Self-Attention for Table Representation Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Polynomial-based Self-Attention for Table Representation Learning 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper5
- Multi-Factor Adaptive Vision Selection for Egocentric Video Question AnsweringHaoyu Zhang, Meng Liu, Zixin Liu, Xuemeng Song 等ICML 2024 · 23 次引用
- Transformers Get Stable: An End-to-End Signal Propagation Theory for Language ModelsAkhil Kedia, Mohd Abbas Zaidi, Sushil Khyalia, Jungho Jung 等ICML 2024 · 16 次引用
- Polynomial-based Self-Attention for Table Representation LearningJayoung Kim, Yehjin Shin, Jeongwhan Choi, Hyowon Wi 等ICML 2024 · 3 次引用
- Edge-RecViT: Efficient Vision Transformer via Semantic-Refined Dynamic RecursionYiZhou Li, Jinyi Xu, Mingyu Yin, Xianyi ZhaoCVPR 2026
- Improving Language Model Distillation through Hidden State MatchingSayantan Dasgupta, Trevor CohnICLR 2025
它引用的 Paper20
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用
相关 Paper
- Training compute-optimal transformer encoder modelsMegi Dervishi, Alexandre Allauzen, Gabriel Synnaeve, Yann LeCunEMNLP 2025 · 1 次引用
- MosaicBERT: A Bidirectional Encoder Optimized for Fast PretrainingJacob P. Portes, Alexander Trott, Sam Havens, Daniel King 等NeurIPS 2023 · 46 次引用
- Representation Deficiency in Masked Language ModelingYu Meng, Jitin Krishnan, Sinong Wang, Qifan Wang 等ICLR 2024 · 12 次引用
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 等EMNLP Findings 2020 · 1,787 次引用
- How does the task complexity of masked pretraining objectives affect downstream performance?Atsuki Yamaguchi, Hiroaki Ozaki, Terufumi Morishita, Gaku Morio 等ACL Findings 2023 · 3 次引用
