Fusion Token: Enhancing Compression and Efficiency in Language Model Tokenization
Abstract
In the realm of language models, data encoding is pivotal, influencing efficiency and effectiveness of model training. Byte Pair Encoding (BPE) is a well-established subword tokenization technique that balances computational efficiency and linguistic expressiveness by merging frequent byte or character pairs. As language model training requires substantial computational resources, we propose Fusion Token, a method that substantially enhances the conventional Byte Pair Encoding (BPE) approach in data encoding for language models. Fusion Token employs a more aggressive computational strategy compared to BPE, expanding the token groups from bi-grams to 10-grams. Remarkably, with the addition of 1024 tokens to the vocabulary, the compression rate significantly surpasses that of a regular BPE tokenizer with a vocabulary of one million. Overall, the Fusion Token method leads to noticeable performance improvements due to an increased data scope per compute unit. Additionally, higher compression results in faster inference times due to fewer tokens per given string. By devoting more compute resources to the tokenizer building process, Fusion Token maximizes the potential of language models as efficient data compression engines, enabling more effective language modeling systems.
BibTeX
@misc{kwiatkowski2024fusion,
author = {Robert Kwiatkowski and Zijian Wang and Robert Giaquinto and Varun Kumar and Xiaofei Ma and Bing Xiang and Ben Athiwaratkun},
title = {{Fusion Token: Enhancing Compression and Efficiency in Language Model Tokenization}},
year = {2024},
url = {https://openreview.net/forum?id=tS3gexmfeT},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.
Loading related content...