Between words and characters: A Brief History of Open-Vocabulary Modeling and Tokenization in NLP

By Sabrina J. Mielke, Zaid Alyafeai, Elizabeth Salesky, Colin Raffel, Manan Dey, Matthias Gallé, Arun Raja, Chenglei Si, Wilson Y. Lee, Benoît Sagot and 1 more. 2021

222 citations recorded by the source corpus.

What are the units of text that we want to model? From bytes to multi-word expressions, text can be analyzed and generated at many granularities. Until recently, most natural language processing (NLP) models operated over words, treating those as discrete and atomic tokens, but starting with byte-pair encoding (BPE), subword-based approaches have become dominant in many areas, enabling small vocabularies while still allowing for fast inference. Is the end of the road character-level model or byte-level processing? In this survey, we connect several lines of work from the pre-neural and neural era, by showing how hybrid approaches of words and characters as well as subword-based approaches based on learned segmentation have been proposed and evaluated. We conclude that there is and likely will never be a silver bullet singular solution for all applications and that thinking seriously about tokenization remains important for many applications.

Subfields: Artificial Intelligence, Molecular Biology, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Yejin Choi
  4. Noah A. Smith
  5. Percy Liang
  6. Graham Neubig
  7. Yonatan Belinkov
  8. Jianfeng Gao

In Molecular Biology

  1. Kyle Lo
  2. Iz Beltagy
  3. Pascale Fung
  4. Verena Rieser
  5. Margot Mieskes
  6. Miruna Clinciu
  7. Sebastian Gehrmann
  8. Stella Biderman

In Natural Language Processing

  1. Mohit Bansal
  2. Noah A. Smith
  3. Yonatan Belinkov
  4. Yejin Choi
  5. Sebastian Gehrmann
  6. Graham Neubig
  7. Samuel R. Bowman
  8. Luke S. Zettlemoyer

Citations in the corpus