Empowering Cross-lingual Behavioral Testing of NLP Models with Typological Features

Ester Hlavnova, Sebastian Ruder
7/11/2023
cs.CLcs.LG

Official code: google-research/multi-morph-checklist (10 stars, Apache-2.0, last commit 2023-07-11).

Abstract

A challenge towards developing NLP systems for the world's languages is understanding how they generalize to typological differences relevant for real-world applications. To this end, we propose M2C, a morphologically-aware framework for behavioral testing of NLP models. We use M2C to generate tests that probe models' behavior in light of specific linguistic features in 12 typologically diverse languages. We evaluate state-of-the-art language models on the generated tests. While models excel at most tests in English, we highlight generalization failures to specific typological characteristics such as temporal expressions in Swahili and compounding possessives in Finish. Our findings motivate the development of models that address these blind spots.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
103Python, Jupyter NotebookJul 11, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{hlavnova2023empowering,
  title  = {Empowering Cross-lingual Behavioral Testing of NLP Models with Typological Features},
  author = {Ester Hlavnova and Sebastian Ruder},
  year   = {2023},
  eprint = {2307.05454},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.05454v1}
}

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/2307.05454.svg)](https://codeofpaper.com/paper/2307.05454)

Discussion