Arrow Research search
Back to ICML

ICML 2023

A Study on Transformer Configuration and Training Objective

Conference Paper Accepted Paper Artificial Intelligence · Machine Learning

Abstract

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.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
International Conference on Machine Learning
Archive span
1993-2025
Indexed papers
16471
Paper id
654744252909978798
v2026.09.13