Overcoming Vocabulary Constraints with Pixel-level Fallback

Jonas F. Lotz, Hendra Setiawan, Stephan Peitz, Yova Kementchedjhieva
4/2/2025
cs.CL

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lotz2025overcoming,
  title  = {Overcoming Vocabulary Constraints with Pixel-level Fallback},
  author = {Jonas F. Lotz and Hendra Setiawan and Stephan Peitz and Yova Kementchedjhieva},
  year   = {2025},
  eprint = {2504.02122},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.02122v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.02122.svg)](https://codeofpaper.com/paper/2504.02122)

Discussion