# Poster 31074

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/31074

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hey everyone, this is Wenpeng Zhang. Now I will introduce our work from pixels to tokens by pairing coding on quantized visual modalities. In this work, we address a fundamental challenge in MLLs that is effectively aligning visual and textual modalities. Current...
Approaches either use late fusion with specialized encoders which creates complex alignment challenges or early fusion token based methods that lack structural information. While text only LMs benefit greatly from BP tokenization, visual modalities have lacked an equivalent mechanism until now.
So our work is grounded in rigorous theory. We prove two key propositions about learning 2D Markov process data. The proposition one establishes that unigram models are bounded by the entropy Hπ, while proposition two shows that with appropriate tokenization, we can approach the optimal loss.
Critically, in Remark 1, we demonstrated that the gap between these bounds can be arbitrarily large. Our experiments confirm this theoretical insight that transformers' models consistently fail to learn 2D sequence data without proper tokenization, defaulting to a unigram-level performance regardless of model size.
So our BPE image tokenizer follows a three-step process. First, we quantize images into initial token IDs using BQGAN. Next, we learn to merge tokens based on frequency patterns similar to text BPE. Finally, we combine tokens into semantically meaningful units and incorporate structural information.
The fan analyzed the theoretical information loss and found it to be an acceptable trade-off given the benefits in learning. The core of our implementation is shown here. It tracks taken co-occurrences in adjacency matrix. This activity identifies the most frequent pairs.
And beyond an extended vocabulary, this approach allows for learning both horizontal and vertical patterns in images, creating tokens that inherently contain more semantic information in the statistical sense, making it easier for transformer models to process visual data.
We implemented our approach using Lama 3.1 AP at the base model with a two-stage training process. During pre-training, we froze original text embeddings and trained only visual embedding using approximately 1.15 million images. In the supervised fine-tuning stage, we unfroze all weights and used 1 .27 million entries from the Lava One Vision dataset.
The key difference from conventional approaches is that we achieve direct fusion of the image modality without relying on separate encoders. Our experiment consistently demonstrates that the BP image tokenizer outperforms the direct VQ approach across all benchmarks, as shown in our results table.
We see a significant improvement in visual question answering. Multimodal understanding and perception tasks. We also observe that performance improves with vocabulary size up to 8K, where we achieve a balanced utilization of both original and extended tokens.
And categories specific analyze show that particularly strong improvement in existence recognition and the common sense reasoning. So in conclusion, our work introduced the first explicit tokenization of multi-model data similar to text-only LMs provide theoretical analyzes.
Validating the benefits of tonization for 2D data and achieves significant performance gain with limited training data. We use only 0.1 % of typical clip training data.
And going forward, we plan to scale up our approach with more data applied to video understanding and explore more sophisticated tokenization strategies. So thank you for your listening.
