Back to Search Start Over

Multi-head Self-attention with Role-Guided Masks

Authors :
Hiemstra, Djoerd
Moens, Marie-Francine
Mothe, Josiane
Perego, Raffaele
Potthast, Martin
Sebastiani, Fabrizio
Wang, Dongsheng
Hansen, Casper
Lima, Lucas Chaves
Hansen, Christian
Maistro, Maria
Simonsen, Jakob Grue
Lioma, Christina
Hiemstra, Djoerd
Moens, Marie-Francine
Mothe, Josiane
Perego, Raffaele
Potthast, Martin
Sebastiani, Fabrizio
Wang, Dongsheng
Hansen, Casper
Lima, Lucas Chaves
Hansen, Christian
Maistro, Maria
Simonsen, Jakob Grue
Lioma, Christina
Source :
Wang , D , Hansen , C , Lima , L C , Hansen , C , Maistro , M , Simonsen , J G & Lioma , C 2021 , Multi-head Self-attention with Role-Guided Masks . in D Hiemstra , M-F Moens , J Mothe , R Perego , M Potthast & F Sebastiani (eds) , Advances in Information Retrieval - 43rd European Conference on IR Research, ECIR 2021, Proceedings, Part II . Springer , Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) , vol. 12657 LNCS , pp. 432-439 , 43rd European Conference on Information Retrieval, ECIR 2021 , Virtual, Online , 28/03/2021 .
Publication Year :
2021

Abstract

The state of the art in learning meaningful semantic representations of words is the Transformer model and its attention mechanisms. Simply put, the attention mechanisms learn to attend to specific parts of the input dispensing recurrence and convolutions. While some of the learned attention heads have been found to play linguistically interpretable roles, they can be redundant or prone to errors. We propose a method to guide the attention heads towards roles identified in prior work as important. We do this by defining role-specific masks to constrain the heads to attend to specific parts of the input, such that different heads are designed to play different roles. Experiments on text classification and machine translation using 7 different datasets show that our method outperforms competitive attention-based, CNN, and RNN baselines.

Details

Database :
OAIster
Journal :
Wang , D , Hansen , C , Lima , L C , Hansen , C , Maistro , M , Simonsen , J G & Lioma , C 2021 , Multi-head Self-attention with Role-Guided Masks . in D Hiemstra , M-F Moens , J Mothe , R Perego , M Potthast & F Sebastiani (eds) , Advances in Information Retrieval - 43rd European Conference on IR Research, ECIR 2021, Proceedings, Part II . Springer , Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) , vol. 12657 LNCS , pp. 432-439 , 43rd European Conference on Information Retrieval, ECIR 2021 , Virtual, Online , 28/03/2021 .
Notes :
application/pdf, English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1340141561
Document Type :
Electronic Resource