Multi-Head Self-Attention with Role-Guided Masks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 22 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 0; 2024: 0; 2025: 1.
3 papers.
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Accelerationcited by 4
- 2021Representation Learning for Efficient and Effective Similarity Search and Recommendationcited by 0
- 2021Sequential Modelling with Applications to Music Recommendation, Fact-Checking, and Speed Readingcited by 0
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration6 Jun 2025
- 2021Sequential Modelling with Applications to Music Recommendation, Fact-Checking, and Speed Reading11 Sep 2021
- 2021Representation Learning for Efficient and Effective Similarity Search and Recommendation4 Sep 2021