Logo Logo
Hilfe
Hilfe
Switch Language to English

Maronikolakis, Antonis; Dufter, Philipp und Schütze, Hinrich (November 2021): Wine is Not v i n. On the Compatibility of Tokenizations Across Languages. EMNLP 2021, Punta Cana, Dominican Republic, November 7–11, 2021. Moens, Marie-Francine; Huang, Xuanjing; Specia, Lucia und Yih, Scott Wen-tau (Hrsg.): In: Findings of the Association for Computational Linguistics: EMNLP 2021, Stroudsburg, PA: Association for Computational Linguistics. S. 2382-2399 [PDF, 3MB]

[thumbnail of 2021.findings-emnlp.205.pdf]
Vorschau
Download (3MB)

Abstract

The size of the vocabulary is a central design choice in large pretrained language models, with respect to both performance and memory requirements. Typically, subword tokenization algorithms such as byte pair encoding and WordPiece are used. In this work, we investigate the compatibility of tokenizations for multilingual static and contextualized embedding spaces and propose a measure that reflects the compatibility of tokenizations across languages. Our goal is to prevent incompatible tokenizations, e.g., “wine” (word-level) in English vs. “v i n” (character-level) in French, which make it hard to learn good multilingual semantic representations. We show that our compatibility measure allows the system designer to create vocabularies across languages that are compatible – a desideratum that so far has been neglected in multilingual models.

Dokument bearbeiten Dokument bearbeiten