Skip to main navigation Skip to search Skip to main content

Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge

  • Khuyagbaatar Batsuren
  • , Ekaterina Vylomova
  • , Verna Dankers
  • , Tsetsuukhei Delgerbaatar
  • , Omri Uzan
  • , Yuval Pinter
  • , Gábor Bella

Research output: Working paper/PreprintPreprint

2 Downloads (Pure)

Abstract

The popular subword tokenizers of current language models, such as Byte-Pair Encoding (BPE), are known not to respect morpheme boundaries, which affects the downstream performance of the models. While many improved tokenization algorithms have been proposed, their evaluation and cross-comparison is still an open problem. As a solution, we propose a combined intrinsic-extrinsic evaluation framework for subword tokenization. Intrinsic evaluation is based on our new UniMorph Labeller tool that classifies subword tokenization as either morphological or alien. Extrinsic evaluation, in turn, is performed via the Out-of-Vocabulary Generalization Challenge 1.0 benchmark, which consists of three newly specified downstream text classification tasks. Our empirical findings show that the accuracy of UniMorph Labeller is 98%, and that, in all language models studied (including ALBERT, BERT, RoBERTa, and DeBERTa), alien tokenization leads to poorer generalizations compared to morphological tokenization for semantic compositionality of word meanings.
Original languageEnglish
PublisherarXiv
Number of pages13
DOIs
StatePublished - 20 Apr 2024

Keywords

  • cs.CL
  • cs.AI

Fingerprint

Dive into the research topics of 'Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challenge'. Together they form a unique fingerprint.

Cite this