Liquid AI Expands LFM2 Tokenizer to 128K In-Place, Boosting Multilingual Decoding

Liquid AI released a technical report and blog post detailing an in-place tokenizer expansion for their pretrained model LFM2.5-8B-A1B. This method successfully scales the vocabulary from 65K to 128K without retraining the model from scratch, aiming to fix the previous tokenizer's issue of over-segmenting certain languages and thereby improving multilingual processing efficiency.

Confirmed

According to summaries by @pmttyji and @kastnerkyle, the research team did not simply hard-add new words to the vocabulary. Instead, they continued Byte-Pair Encoding (BPE) learning and applied leaf-based vocabulary pruning to remove redundant tokens. This in-place expansion method effectively balances the increased vocabulary size with the retention of the original model's knowledge.

Why it matters

The expanded tokenizer has delivered immediate results in multilingual support. @maximelabonne noted that for Thai, the optimized tokenizer reduces the token count by approximately 4 times. Furthermore, doubling the vocabulary did not slow down performance; instead, it achieved up to a 3.7x increase in decoding speed on edge devices, demonstrating high practical engineering value.

2026-07-21 ~ 2026-07-23 · 5 related posts

Primary sources