יובל דוד פינטר

אקדמי בכיר

Incorporating Context into Subword Vocabularies

Shaked Yehezkel, Yuval Pinter

Most current popular subword tokenizers are trained based on word frequency statistics over a corpus, without considering information about co-occurrence or context. Nevertheless, the resulting vocabularies are used in language models' highly contextualized settings. We present SAGE, a tokenizer that tailors subwords for their downstream use by baking in the contextualized signal at the vocabulary creation phase. We show that SAGE does a better job than current widespread tokenizers in keeping token contexts cohesive, while not incurring a large price in terms of encoding efficiency or domain robustness. SAGE improves performance on English GLUE classification tasks as well as on NER, and on Inference and NER in Turkish, demonstrating its robustness to language properties such as morphological exponence and agglutination.

שפת פרסום אנגלית
דפים 623-635
סטטוס פרסום פורסם - 01.01.2023

ASJC Scopus subject areas

Computational Theory and Mathematics
Software
Linguistics and Language
קבצים וקישורים אחרים
Link to publication in Scopus