Cited by 34Topic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications

Roles and Utilization of Attention Heads in Transformer-based Neural Language Models

Open access
Jo, Jae-young, Myaeng, Sung-Hyon·2020·Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics

Abstract

Sentence encoders based on the transformer architecture have shown promising results on various natural language tasks.The main impetus lies in the pre-trained neural language models that capture long-range dependencies among words, owing to multi-head attention that is unique in the architecture.However, little is known for how linguistic properties are processed, represented, and utilized for downstream tasks among hundreds of attention heads inside the pre-trained transformerbased model.For the initial goal of examining the roles of attention heads in handling a set of linguistic features, we conducted a set of experiments with ten probing tasks and three downstream tasks on four pre-trained transformer families (GPT, GPT2, BERT, and ELECTRA).Meaningful insights are shown through the lens of heat map visualization and utilized to propose a relatively simple sentence representation method that takes advantage of most influential attention heads, resulting in additional performance improvements on the downstream tasks.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2020.acl-main.311

Cites

30 of 31 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Deep layers encode semantic information and distal relationships within sentences.

    “Previous research (Vig & Belinkov, 2019;Jo & Myaeng, 2020;Geva et al., 2021;Wan et al., 2022), which has shown that deep layers encode semantic information and distal relationships within sentences.”

    From From Imitation to Introspection: Probing Self-Consciousness in Language Models (2025) · cites this paper as Jo & Myaeng, 2020

    Section 4.3 reports that attention heads in upper layers are mostly activated for two tasks the authors describe as semantic. Section 6.2 qualifies this pattern: heads and layers handle both syntactic and semantic information, and the highest layers can contribute less in large models. The cited paper does not establish the claim about distal relationships within sentences. (LLM, conf=0.86)

    Experimental — accuracy not yet measured
  • Semantic information tends to activate deeper layers in transformer models.

    “As highlighted by Jo & Myaeng (2020), semantic information tends to activate deeper layers in transformer models.”

    From From Imitation to Introspection: Probing Self-Consciousness in Language Models (2025) · cites this paper as Jo & Myaeng (2020)

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

4 of the 35 references couldn’t be matched to a known paper.

Research works printed but not linked: 3

  1. Hamidreza Ghader and Christof Monz. 2017. What does attention in neural machine translation pay at- tention to? In Proceedings of the Eighth Interna- tional Joint Conference on Natural Language Pro- cessing (Volume 1: Long Papers), pages 30-39, Taipei, Taiwan. Asian Federation of Natural Lan- guage Processing.
  2. Gao Huang, Zhuang Liu, Laurens van der Maaten, and Kilian Q. Weinberger. 2017. Densely connected con- volutional networks. In The IEEE Conference on Computer Vision and Pattern Recognition (CVPR).
  3. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Gar- nett, editors, Advances in Neural Information Pro- cessing Systems 30, pages 5998-6008.

Cited by

Sorted by citations

Authors
Jo, J.-Y., & Myaeng, S.-H.
Affiliations
Korea Advanced Institute of Science and Technology (KR)
Corresponding author
Myaeng, Sung-Hyon
Venue
Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics
Published
2020
Pages
3404-3417
ISSN
0736-587X (ISSN-L)
OpenAlex
W3034256339
Cited by
33
References
35
Citations by year
2026: 1 · 2025: 7 · 2024: 4 · 2023: 7 · 2022: 6 · 2021: 7 · 2020: 1
FWCI
1.97
Type
conference paper
Language
en
Open access
Licence
cc-by
Locations
Proceedings of the conference - Association for Computational Linguistics. Meeting (publishedVersion, cc-by)
Funders
  • Korea Advanced Institute of Science and Technology
  • Ministry of Science and ICT, South Korea (2013‐0‐00131)
  • Institute for Information and Communications Technology Promotion (2013-0-00131)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
Keywords
attention heads, multi-head attention, transformer language models, probing tasks, sentence representation, pre-trained language models, linguistic features, GPT, BERT, Electra, GPT-2, heat map visualization

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review