Correlation Between Attention Heads of BERT

  • Yang, Seungmo
  • Kang, Mincheal
  • Seo, Jiwon
  • Kim, Younghoon
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

Recently, as deep learning achieves tremendous success in a variety of application domains, natural language processing adopting deep learning also has become very widespread in research. The performance of typical such models like Transformer, BERT and GPT models is quite excellent and near human performance. However, due to its complicate structure of operations such as self-attention, the role of internal outputs between layers or the relationship between latent vectors has been seldomly studied compared to CNNs. In this work, we calculate the correlation between the output of multiple self-attention heads in each layer of a pre-trained BERT model and investigate if there exist redundantly trained ones, that is, we test if the output latent vectors of an attention head can be linearly transformed to those of the other head. By experiments, we show that there are heads with high correlation and the result implies that such examination on the correlation between heads may help us to optimize the structure of BERT.

키워드

BERTself-attention headcorrelationComputer visionDeep learningApplications domainsBERTCorrelationHuman performanceLatent vectorsPerformanceSelf-attention headStructure of operationsNatural language processing systems
제목
Correlation Between Attention Heads of BERT
저자
Yang, SeungmoKang, MinchealSeo, JiwonKim, Younghoon
DOI
10.1109/ICEIC54506.2022.9748643
발행일
2022-04
유형
Proceedings Paper
저널명
2022 INTERNATIONAL CONFERENCE ON ELECTRONICS, INFORMATION, AND COMMUNICATION (ICEIC)
페이지
1 ~ 3