Black Big Boxes: Tracing Adjective Order Preferences in Large Language Models

Jaap Jumelet, Lisa Bylinina, Willem Zuidema, Jakub Szymanik
7/2/2024
cs.CL

No official code found. Best implementation: jumelet/lm-adjorder (0 stars, Apache-2.0, last commit 2024-07-02).

Abstract

In English and other languages, multiple adjectives in noun phrases follow intricate ordering patterns. These patterns have been widely studied in linguistics and provide a useful test case for assessing how language models (LMs) acquire graded and context-sensitive word order preferences. We ask to what extent adjective order preferences in LMs can be explained by distributional learning alone, and where models exhibit behaviour that goes beyond surface co-occurrence patterns. We find that LM predictions are largely explained by training data frequencies: simple n-gram statistics account for much of their behaviour and closely mirror the preferences learned during training. However, by analysing learning dynamics we reveal that models also generalize robustly to unseen adjective combinations, indicating that their behaviour cannot be reduced to memorization of observed orders alone. Moreover, we show how LMs leverage word order cues from sentence context, demonstrating with feature attribution methods that contextual cues are an additional driver of adjective order in LM output.

View on arXivView PDF

Code Implementations(1)

jumelet/lm-adjorderCommunity100%
Apache-2.0

Repository for "Black Big Boxes: Do Language Models Hide a Theory of Adjective Order?"

00Jul 2, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{jumelet2024black,
  title  = {Black Big Boxes: Tracing Adjective Order Preferences in Large Language Models},
  author = {Jaap Jumelet and Lisa Bylinina and Willem Zuidema and Jakub Szymanik},
  year   = {2024},
  eprint = {2407.02136},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02136v2}
}

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

Discussion