Score: 2

Overcoming Vocabulary Constraints with Pixel-level Fallback

Published: April 2, 2025 | arXiv ID: 2504.02122v2

By: Jonas F. Lotz , Hendra Setiawan , Stephan Peitz and more

BigTech Affiliations: Apple

Potential Business Impact:

Helps computers understand any language, even new ones.

Business Areas:
Natural Language Processing Artificial Intelligence, Data and Analytics, Software

Subword tokenization requires balancing computational efficiency and vocabulary coverage, which often leads to suboptimal performance on languages and scripts not prioritized during training. We propose to augment pretrained language models with a vocabulary-free encoder that generates input embeddings from text rendered as pixels. Through experiments on English-centric language models, we demonstrate that our approach substantially improves machine translation performance and facilitates effective cross-lingual transfer, outperforming tokenizer-based methods. Furthermore, we find that pixel-based representations outperform byte-level approaches and standard vocabulary expansion. Our approach enhances the multilingual capabilities of monolingual language models without extensive retraining and reduces decoding latency via input compression.

Country of Origin
πŸ‡ΊπŸ‡Έ πŸ‡¦πŸ‡ͺ πŸ‡©πŸ‡° Denmark, United States, United Arab Emirates

Page Count
27 pages

Category
Computer Science:
Computation and Language