Revisiting Over-smoothing in BERT from the Perspective of Graph
Han Shi, Jiahui Gao, Hang Xu, Xiaodan Liang, Zhenguo Li, Lingpeng Kong, Stephen M. S. Lee, James T. Kwok
摘要
Recently over-smoothing phenomenon of Transformer-based models is observed in both vision and language fields. However, no existing work has delved deeper to further investigate the main cause of this phenomenon. In this work, we make the attempt to analyze the over-smoothing problem from the perspective of graph, where such problem was first discovered and explored. Intuitively, the self-attention matrix can be seen as a normalized adjacent matrix of a corresponding graph. Based on the above connection, we provide some theoretical analysis and find that layer normalization plays a key role in the over-smoothing issue of Transformer-based models. Specifically, if the standard deviation of layer normalization is sufficiently large, the output of Transformer stacks will converge to a specific low-rank subspace and result in over-smoothing. To alleviate the over-smoothing problem, we consider hierarchical fusion strategies, which combine the representations from different layers adaptively to make the output more diverse. Extensive experiment results on various data sets illustrate the effect of our fusion method.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 47 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Mitigating Over-smoothing in Transformers via Regularized Nonlocal Functionals 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Mitigating Over-smoothing in Transformers via Regularized Nonlocal Functionals 引用了 Language Models are Few-Shot Learners
- Vision HGNN: An Image is More than a Graph of Nodes 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
- Demystifying Oversmoothing in Attention-Based Graph Neural Networks 引用了 DropEdge: Towards Deep Graph Convolutional Networks on Node Classification
- Segmenter: Transformer for Semantic Segmentation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- On the Role of Attention Masks and LayerNorm in Transformers 引用了 ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- On the Role of Attention Masks and LayerNorm in Transformers 引用了 Demystifying Oversmoothing in Attention-Based Graph Neural Networks
- On the Role of Attention Masks and LayerNorm in Transformers 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper47
- Vision HGNN: An Image is More than a Graph of NodesYan Han, Peihao Wang, Souvik Kundu, Ying Ding 等ICCV 2023 · 86 次引用
- Demystifying Oversmoothing in Attention-Based Graph Neural NetworksXinyi Wu, Amir Ajorlou, Zihui Wu, Ali JadbabaieNeurIPS 2023 · 86 次引用
- On the Role of Attention Masks and LayerNorm in TransformersXinyi Wu, Amir Ajorlou, Yifei Wang, Stefanie Jegelka 等NeurIPS 2024 · 54 次引用
- Mitigating Over-smoothing in Transformers via Regularized Nonlocal FunctionalsTam Nguyen, Tan M. Nguyen, Richard G. BaraniukNeurIPS 2023 · 46 次引用
- TextGT: A Double-View Graph Transformer on Text for Aspect-Based Sentiment AnalysisShuo Yin, Guoqiang ZhongAAAI 2024 · 46 次引用
它引用的 Paper13
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel 等ICLR 2020 · 7,418 次引用
- Segmenter: Transformer for Semantic SegmentationRobin Strudel, Ricardo Garcia, Ivan Laptev, Cordelia SchmidICCV 2021 · 1,898 次引用
- DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 次引用
相关 Paper
- Wavy TransformerSatoshi Noguchi, Yoshinobu KawaharaNeurIPS 2025 · 1 次引用
- Graph Convolutions Enrich the Self-Attention in Transformers!Jeongwhan Choi, Hyowon Wi, Jayoung Kim, Yehjin Shin 等NeurIPS 2024 · 24 次引用
- ContraNorm: A Contrastive Learning Perspective on Oversmoothing and BeyondXiaojun Guo, Yifei Wang, Tianqi Du, Yisen WangICLR 2023 · 10 次引用
- Polynomial-based Self-Attention for Table Representation LearningJayoung Kim, Yehjin Shin, Jeongwhan Choi, Hyowon Wi 等ICML 2024 · 3 次引用
- Residual Connections and Normalization Can Provably Prevent Oversmoothing in GNNsMichael Scholkemper, Xinyi Wu, Ali Jadbabaie, Michael T. SchaubICLR 2025
