Exploring the Role of BERT Token Representations to Explain Sentence Probing Results

Hosein Mohebbi, Ali Modarressi, Mohammad Taher Pilehvar

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

Abstract

Several studies have been carried out on revealing linguistic features captured by BERT. This is usually achieved by training a diagnostic classifier on the representations obtained from different layers of BERT. The subsequent classification accuracy is then interpreted as the ability of the model in encoding the corresponding linguistic property. Despite providing insights, these studies have left out the potential role of token representations. In this paper, we provide a more in-depth analysis on the representation space of BERT in search for distinct and meaningful subspaces that can explain the reasons behind these probing results. Based on a set of probing tasks and with the help of attribution methods we show that BERT tends to encode meaningful knowledge in specific token representations (which are often ignored in standard classification setups), allowing the model to detect syntactic and semantic abnormalities, and to distinctively separate grammatical number and tense subspaces.
Original languageEnglish
Title of host publicationProceedings of the 2021 Conference on Empirical Methods in Natural Language Processing
Place of PublicationOnline
PublisherAssociation for Computational Linguistics
Pages792-806
Number of pages15
DOIs
Publication statusPublished - 2021
Externally publishedYes
EventThe 2021 Conference on Empirical Methods in Natural Language Processing - Punta Cana, Punta Cana, Dominica
Duration: 7 Nov 202211 Nov 2022
https://2021.emnlp.org/

Conference

ConferenceThe 2021 Conference on Empirical Methods in Natural Language Processing
Abbreviated titleEMNLP 2021
Country/TerritoryDominica
CityPunta Cana
Period7/11/2211/11/22
Internet address

Fingerprint

Dive into the research topics of 'Exploring the Role of BERT Token Representations to Explain Sentence Probing Results'. Together they form a unique fingerprint.

Cite this