
יובל דוד פינטר
אקדמי בכיר
An Analysis of BPE Vocabulary Trimming in Neural Machine Translation
We explore threshold vocabulary trimming in Byte-Pair Encoding subword tokenization, a tokenization postprocessing step that replaces rare subwords with their component subwords. The technique is available in popular tokenization libraries but has not been subjected to rigorous scientific scrutiny. While the removal of rare subwords is suggested as best practice in model implementations, both as a means to reduce model size and for improving model performance through robustness, our experiments indicate that, across a large space of hyperparameter settings, vocabulary trimming fails to consistently improve model performance, and is even prone to incurring heavy degradation.
| שפת פרסום | אנגלית |
| דפים | 48-50 |
| סטטוס פרסום | פורסם - 01.01.2024 |
ASJC Scopus subject areas
Language and Linguistics
Computational Theory and Mathematics
Computer Science Applications
Software