Vocab Diet: Reshaping the Vocabulary of LLMs via Vector Arithmetic

Read full text
Authors: Yuval Reif, Guy Kaplan, Roy Schwartz
Cited by: 0

Abstract

Large language models (LLMs) often encode word-form variation (e.g., walk vs. walked) as linear directions in the embedding space.However, standard tokenization algorithms treat such variants as distinct words with different vocabulary entries-quickly filling the sizecapped token vocabulary with surface-form variation (e.g., walk, walking, Walk), at the expense of diversity and multilingual coverage.We show that many of these variations can be captured by transformation vectors-additive offsets that yield the appropriate word representation when applied to a base form embedding, in both the input and output spaces.Building on this, we propose a compact reshaping of the vocabulary: instead of assigning unique tokens to each surface form, we compose them from shared base form and transformation vectors (e.g., walked is walk`past tense).Our approach is lightweight-keeping the pretrained backbone frozen and only training small adaptation modules.We apply it across five languages and multiple LLMs in both pretraining and post-hoc adaptation, freeing 10-40% of vocabulary slots to be reallocated where tokenization is inefficient.Importantly, we do so while also expanding vocabulary coverage to out-of-vocabulary words, and with minimal impact on downstream performance.Our findings motivate a rethinking of vocabulary design, towards a representation that better matches the underlying structure of language and the practical needs of multilingual coverage.1

Fields of Study & Subjects

Topic Modeling Natural Language Processing Techniques Language and cultural evolution

Publication details

Journal / source
Findings of the Association for Computational Linguistics: ACL 2026
Publisher
Association for Computational Linguistics
Pages
32334–32352
Publication date
1 January 2026