Visual Lexicon: Rich Image Features in Language Space
XuDong Wang, Xingyi Zhou, Alireza Fathi, Trevor Darrell, Cordelia Schmid
TL;DR
ViLex presents a visual lexicon that maps images into the text space of diffusion-based language models, enabling rich semantic and visual fidelity within a lightweight, text-prompt-like representation. Trained in a self-supervised autoencoder framework using a frozen T2I diffusion model as decoder, ViLex supports both image generation and understanding, including zero-shot DreamBooth-style re-contextualization without fine-tuning diffusion models. Empirically, ViLex improves image reconstruction (lower FID, higher IS) and enhances vision-language benchmarks across 15 tasks, outperforming strong baselines when used alone or combined with natural language prompts. This approach offers a practical, versatile visual encoder that can plug into existing VLMs with minimal token overhead, advancing multimodal generation and understanding in a unified framework.
Abstract
We present Visual Lexicon, a novel visual language that encodes rich image information into the text space of vocabulary tokens while retaining intricate visual details that are often challenging to convey in natural language. Unlike traditional methods that prioritize either high-level semantics (e.g., CLIP) or pixel-level reconstruction (e.g., VAE), ViLex simultaneously captures rich semantic content and fine visual details, enabling high-quality image generation and comprehensive visual scene understanding. Through a self-supervised learning pipeline, ViLex generates tokens optimized for reconstructing input images using a frozen text-to-image (T2I) diffusion model, preserving the detailed information necessary for high-fidelity semantic-level reconstruction. As an image embedding in the language space, ViLex tokens leverage the compositionality of natural languages, allowing them to be used independently as "text tokens" or combined with natural language tokens to prompt pretrained T2I models with both visual and textual inputs, mirroring how we interact with vision-language models (VLMs). Experiments demonstrate that ViLex achieves higher fidelity in image reconstruction compared to text embeddings--even with a single ViLex token. Moreover, ViLex successfully performs various DreamBooth tasks in a zero-shot, unsupervised manner without fine-tuning T2I models. Additionally, ViLex serves as a powerful vision encoder, consistently improving vision-language model performance across 15 benchmarks relative to a strong SigLIP baseline.
