From Pixels to Tokens: Byte-Pair Encoding on Quantized Visual Modalities
Wanpeng Zhang, Zilong Xie, Yicheng Feng, Yijiang Li, Xingrun Xing, Sipeng Zheng, Zongqing Lu
TL;DR
This work introduces a BPE-based image tokenizer that merges VQ-GAN quantized image patches into semantically informative tokens to enable end-to-end token-based multimodal learning. The authors provide theoretical analysis showing that tokenization can bridge the gap between simple unigram models and fully expressive models for 2D image data, and they implement a preliminary training pipeline that integrates the tokenizer with a base LLM (Llama-3.1-8B) through a two-stage process. Empirical results across benchmarks (eg, VQAv2, MMBench, MME, POPE, VizWiz) demonstrate consistent gains from the tokenizer and show data scaling can further boost performance, despite training on substantially smaller datasets than CLIP-based encoders. The work suggests a scalable, data-efficient pathway toward more capable multimodal foundation models by aligning visual and textual representations at the token level, with Being-VL-0 serving as a proof of concept. Future work could extend the paradigm to video and larger-scale data while preserving the core benefit of explicit structural tokenization.
Abstract
Multimodal Large Language Models have made significant strides in integrating visual and textual information, yet they often struggle with effectively aligning these modalities. We introduce a novel image tokenizer that bridges this gap by applying the principle of Byte-Pair Encoding (BPE) to visual data. Unlike conventional approaches that rely on separate visual encoders, our method directly incorporates structural prior information into image tokens, mirroring the successful tokenization strategies used in text-only Large Language Models. This innovative approach enables Transformer models to more effectively learn and reason across modalities. Through theoretical analysis and extensive experiments, we demonstrate that our BPE Image Tokenizer significantly enhances MLLMs' multimodal understanding capabilities, even with limited training data. Leveraging this method, we develop Being-VL-0, a model that demonstrates superior performance across various benchmarks and shows promising scalability, potentially paving the way for more efficient and capable multimodal foundation models.
