CLJun 4, 2024

Probing the Category of Verbal Aspect in Transformer Language Models

arXiv:2406.02335v132 citations
Originality Synthesis-oriented
AI Analysis

This work addresses the problem of understanding linguistic feature encoding in language models for researchers in NLP and linguistics, but it is incremental as it applies existing probing methods to a new grammatical category.

The study investigated how pretrained language models encode the grammatical category of verbal aspect in Russian, finding that BERT and RoBERTa encode aspect mostly in their final layers, with counterfactual interventions affecting perfective and imperfective aspects in opposite ways consistent with grammar, and practical implications showing fine-tuning only the last layers is faster and more effective.

We investigate how pretrained language models (PLM) encode the grammatical category of verbal aspect in Russian. Encoding of aspect in transformer LMs has not been studied previously in any language. A particular challenge is posed by "alternative contexts": where either the perfective or the imperfective aspect is suitable grammatically and semantically. We perform probing using BERT and RoBERTa on alternative and non-alternative contexts. First, we assess the models' performance on aspect prediction, via behavioral probing. Next, we examine the models' performance when their contextual representations are substituted with counterfactual representations, via causal probing. These counterfactuals alter the value of the "boundedness" feature--a semantic feature, which characterizes the action in the context. Experiments show that BERT and RoBERTa do encode aspect--mostly in their final layers. The counterfactual interventions affect perfective and imperfective in opposite ways, which is consistent with grammar: perfective is positively affected by adding the meaning of boundedness, and vice versa. The practical implications of our probing results are that fine-tuning only the last layers of BERT on predicting aspect is faster and more effective than fine-tuning the whole model. The model has high predictive uncertainty about aspect in alternative contexts, which tend to lack explicit hints about the boundedness of the described action.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes