Skip to main content
QUICK REVIEW

[Paper Review] Does BERT agree? Evaluating knowledge of structure dependence through agreement relations

Geoff Bacon, Terry Regier|arXiv (Cornell University)|Aug 26, 2019
Topic ModelingComputer Science30 references14 citations
TL;DR

This paper evaluates BERT's ability to capture structure-dependent agreement relations across 26 languages and four agreement types (subject-verb, noun-determiner, noun-adjective, and predicate-adjective), using a cloze-style masked language modeling task. BERT shows strong performance overall but exhibits a gradual decline in accuracy as dependency distance and number of distractors increase, indicating robust yet limited syntactic generalization beyond English subject-verb agreement.

ABSTRACT

Learning representations that accurately model semantics is an important goal of natural language processing research. Many semantic phenomena depend on syntactic structure. Recent work examines the extent to which state-of-the-art models for pre-training representations, such as BERT, capture such structure-dependent phenomena, but is largely restricted to one phenomenon in English: number agreement between subjects and verbs. We evaluate BERT's sensitivity to four types of structure-dependent agreement relations in a new semi-automatically curated dataset across 26 languages. We show that both the single-language and multilingual BERT models capture syntax-sensitive agreement patterns well in general, but we also highlight the specific linguistic contexts in which their performance degrades.

Motivation & Objective

  • To assess whether BERT captures structure-dependent agreement relations beyond English subject-verb number agreement.
  • To expand evaluation to four types of agreement relations across 26 typologically diverse languages.
  • To investigate how dependency distance and distractor count affect BERT’s performance on agreement tasks.
  • To release a new semi-automatically curated cross-linguistic dataset for agreement relations to support future research.

Proposed method

  • Constructed a new cross-linguistic dataset of agreement relations with 26 languages, covering four types: subject-verb, noun-determiner, noun-adjective, and predicate-adjective agreement.
  • Used a cloze-style masked language modeling setup, where one word in an agreement pair is masked and BERT predicts the missing word.
  • Evaluated performance using accuracy across all agreement types and languages, with controls for distractors and dependency distance.
  • Aggregated results across languages and agreement types to assess overall robustness and sensitivity to structural complexity.
  • Applied bootstrapped 95% confidence intervals to error bars for statistical reliability in performance plots.
  • Planned future work includes dual masking (controller and target) to reduce redundancy in cues and compare evaluation schemes.

Experimental results

Research questions

  • RQ1To what extent does BERT generalize syntax-sensitive agreement patterns beyond English subject-verb number agreement?
  • RQ2How does BERT’s performance vary across different agreement types (e.g., determiner, adjective, predicate) and morphosyntactic features (e.g., number, gender)?
  • RQ3How do dependency distance and the number of distractors affect BERT’s accuracy in agreement prediction?
  • RQ4Are there language-specific patterns in BERT’s agreement performance, particularly in morphologically rich or typologically distinct languages?

Key findings

  • BERT achieves high accuracy (above 80%) on structure-dependent agreement relations across 26 languages, indicating strong generalization of syntactic structure knowledge.
  • Performance decreases slightly but consistently as the distance between controller and target increases, suggesting sensitivity to long-range dependencies.
  • The presence of more distractors (nouns with conflicting features) leads to a more noticeable drop in accuracy, especially beyond a few distractors.
  • Multilingual BERT performs comparably to monolingual BERT on most languages, though performance varies by language typology and morphological complexity.
  • The model shows robustness to distractors and long dependencies overall, but degradation patterns suggest limitations in handling high structural ambiguity.
  • The study reveals that BERT’s success is not due to simple heuristics, as performance remains strong even with multiple conflicting cues.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.