Probing for the Usage of Grammatical Number - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

Probing for the Usage of Grammatical Number

Résumé

A central quest of probing is to uncover how pre-trained models encode a linguistic property within their representations. An encoding, however, might be spurious-i.e., the model might not rely on it when making predictions. In this paper, we try to find an encoding that the model actually uses, introducing a usage-based probing setup. We first choose a behavioral task which cannot be solved without using the linguistic property. Then, we attempt to remove the property by intervening on the model's representations. We contend that, if an encoding is used by the model, its removal should harm the performance on the chosen behavioral task. As a case study, we focus on how BERT encodes grammatical number, and on how it uses this encoding to solve the number agreement task. Experimentally, we find that BERT relies on a linear encoding of grammatical number to produce the correct behavioral output. We also find that BERT uses a separate encoding of grammatical number for nouns and verbs. Finally, we identify in which layers information about grammatical number is transferred from a noun to its head verb.
Fichier principal
Vignette du fichier
2022.acl-long.603.pdf (863.8 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte

Dates et versions

hal-03738565 , version 1 (26-07-2022)

Identifiants

Citer

Karim Lasri, Tiago Pimentel, Alessandro Lenci, Thierry Poibeau, Ryan Cotterell. Probing for the Usage of Grammatical Number. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics 2022, ACL, May 2022, Dublin, Ireland. pp.8818-8831, ⟨10.18653/v1/2022.acl-long.603⟩. ⟨hal-03738565⟩
28 Consultations
51 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More