CLLGNov 15, 2023

Toucan: Token-Aware Character Level Language Modeling

arXiv:2311.08620v17 citationsh-index: 60
Originality Incremental advance
AI Analysis

This work addresses a bottleneck in character-level modeling for NLP researchers and practitioners, offering an incremental improvement over existing methods.

The paper tackles the inefficiency of character-level language models in decoding by introducing Toucan, a token-aware augmentation that significantly speeds up character generation without compromising language modeling performance.

Character-level language models obviate the need for separately trained tokenizers, but efficiency suffers from longer sequence lengths. Learning to combine character representations into tokens has made training these models more efficient, but they still require decoding characters individually. We propose Toucan, an augmentation to character-level models to make them "token-aware". Comparing our method to prior work, we demonstrate significant speed-ups in character generation without a loss in language modeling performance. We then explore differences between our learned dynamic tokenization of character sequences with popular fixed vocabulary solutions such as Byte-Pair Encoding and WordPiece, finding our approach leads to a greater amount of longer sequences tokenized as single items. Our project and code are available at https://nlp.jhu.edu/nuggets/.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes