Morphosyntactic probing of multilingual BERT models

Judit Acs, Endre Hamerlik, Roy Schwartz, Noah A. Smith, Andras Kornai
6/9/2023
cs.CL

No confident code implementation found for this paper.

Abstract

We introduce an extensive dataset for multilingual probing of morphological information in language models (247 tasks across 42 languages from 10 families), each consisting of a sentence with a target word and a morphological tag as the desired label, derived from the Universal Dependencies treebanks. We find that pre-trained Transformer models (mBERT and XLM-RoBERTa) learn features that attain strong performance across these tasks. We then apply two methods to locate, for each probing task, where the disambiguating information resides in the input. The first is a new perturbation method that masks various parts of context; the second is the classical method of Shapley values. The most intriguing finding that emerges is a strong tendency for the preceding context to hold more information relevant to the prediction than the following context.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{acs2023morphosyntactic,
  title  = {Morphosyntactic probing of multilingual BERT models},
  author = {Judit Acs and Endre Hamerlik and Roy Schwartz and Noah A. Smith and Andras Kornai},
  year   = {2023},
  eprint = {2306.06205},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.06205v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.06205.svg)](https://codeofpaper.com/paper/2306.06205)

Discussion