A Unified and Biologically Plausible Relational Graph Representation of Vision Transformers
Yuzhong Chen,Zhenxiang Xiao,Yu Du,Lin Zhao,Lu Zhang,Zihao Wu,Dajiang Zhu,Tuo Zhang,Dezhong Yao,Xintao Hu,Tianming Liu,Xi Jiang
DOI: https://doi.org/10.1109/tnnls.2023.3342810
IF: 14.255
2024-01-01
IEEE Transactions on Neural Networks and Learning Systems
Abstract:Vision transformer (ViT) and its variants have achieved remarkable success in various tasks. The key characteristic of these ViT models is to adopt different aggregation strategies of spatial patch information within the artificial neural networks (ANNs). However, there is still a key lack of unified representation of different ViT architectures for systematic understanding and assessment of model representation performance. Moreover, how those well-performing ViT ANNs are similar to real biological neural networks (BNNs) is largely unexplored. To answer these fundamental questions, we, for the first time, propose a unified and biologically plausible relational graph representation of ViT models. Specifically, the proposed relational graph representation consists of two key subgraphs: an aggregation graph and an affine graph. The former considers ViT tokens as nodes and describes their spatial interaction, while the latter regards network channels as nodes and reflects the information communication between channels. Using this unified relational graph representation, we found that: 1) model performance was closely related to graph measures; 2) the proposed relational graph representation of ViT has high similarity with real BNNs; and 3) there was a further improvement in model performance when training with a superior model to constrain the aggregation graph.
computer science, artificial intelligence, theory & methods,engineering, electrical & electronic, hardware & architecture