Language Models Use Monotonicity to Assess NPI Licensing

Jaap Jumelet, Milica Denić, Jakub Szymanik, Dieuwke Hupkes, Shane Steinert-Threlkeld
5/28/2021
cs.CL

Official code: jumelet/monotonicity-npi-lm (5 stars, Jupyter Notebook, MIT, last commit 2026-09-21).

Abstract

We investigate the semantic knowledge of language models (LMs), focusing on (1) whether these LMs create categories of linguistic environments based on their semantic monotonicity properties, and (2) whether these categories play a similar role in LMs as in human language understanding, using negative polarity item licensing as a case study. We introduce a series of experiments consisting of probing with diagnostic classifiers (DCs), linguistic acceptability tasks, as well as a novel DC ranking method that tightly connects the probing results to the inner workings of the LM. By applying our experimental pipeline to LMs trained on various filtered corpora, we are able to gain stronger insights into the semantic generalizations that are acquired by these models.

View on arXivView PDF

Code Implementations(1)

MIT

Experiments of the ACL 2021 Findings paper "Language Models Use Monotonicity to Assess NPI Licensing"

50Jupyter Notebook, PythonDec 21, 20202 months agoMIT
interpretabilitylanguage-modelsmonotonicity

Similar Papers

Cite this paper

@article{jumelet2021language,
  title  = {Language Models Use Monotonicity to Assess NPI Licensing},
  author = {Jaap Jumelet and Milica Denić and Jakub Szymanik and Dieuwke Hupkes and Shane Steinert-Threlkeld},
  year   = {2021},
  eprint = {2105.13818},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.13818}
}

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

Discussion