Spelling convention sensitivity in neural language models

Elizabeth Nielsen, Christo Kirov, Brian Roark
3/6/2023
cs.CL

No confident code implementation found for this paper.

Abstract

We examine whether large neural language models, trained on very large collections of varied English text, learn the potentially long-distance dependency of British versus American spelling conventions, i.e., whether spelling is consistently one or the other within model-generated strings. In contrast to long-distance dependencies in non-surface underlying structure (e.g., syntax), spelling consistency is easier to measure both in LMs and the text corpora used to train them, which can provide additional insight into certain observed model behaviors. Using a set of probe words unique to either British or American English, we first establish that training corpora exhibit substantial (though not total) consistency. A large T5 language model does appear to internalize this consistency, though only with respect to observed lexical items (not nonce words with British/American spelling patterns). We further experiment with correcting for biases in the training data by fine-tuning T5 on synthetic data that has been debiased, and find that finetuned T5 remains only somewhat sensitive to spelling consistency. Further experiments show GPT2 to be similarly limited.

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{nielsen2023spelling,
  title  = {Spelling convention sensitivity in neural language models},
  author = {Elizabeth Nielsen and Christo Kirov and Brian Roark},
  year   = {2023},
  eprint = {2303.03457},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.03457v1}
}

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

Discussion