Abstract
Vision-Language Alignment (VLA) models typically rely on high-dimensional latent embeddings that, while effective for retrieval, remain uninterpretable "black boxes." This paper introduces LexVLA, a framework that aligns images and text within a shared, sparse lexical space. By leveraging the local visual features of DINOv2 and the in-context reasoning capabilities of Llama 2, LexVLA achieves superior zero-shot retrieval performance and fine-grained interpretability. Notably, LexVLA outperforms models like CLIP while using significantly less training data, demonstrating that a lexical bottleneck can serve as a powerful regularizer for cross-modal learning.
Introduction
Most modern Vision-Language Alignment models, such as CLIP, represent data as dense vectors in a latent space. While these models excel at matching images to captions, they lack transparency; it is nearly impossible to discern which specific visual features correspond to specific words in a query. Furthermore, these models often require massive datasets (hundreds of millions to billions of pairs) to generalize effectively.
Lexical representations offer a promising alternative. By representing images and text as vectors of similarity scores against a fixed vocabulary, the model becomes naturally human-readable. However, training such models is historically difficult due to the lack of granular ground truth for word-to-patch alignment. Without proper constraints, lexical models often suffer from "false discoveries," where they activate meaningless tokens (like punctuation) to minimize training loss. LexVLA addresses these challenges through a combination of foundation model backbones and a novel penalty function.
Methodology
Dual-Branch Lexical Alignment
LexVLA utilizes two pre-trained uni-modal backbones to construct its shared lexical space:
- Vision Branch: The model employs DINOv2 as its visual backbone. Unlike standard ViTs, DINOv2 features are naturally "local-inclined," making them better suited for identifying specific objects and fine-grained details within an image. A trainable adapter projects these features into the lexical space.
- Language Branch: Instead of traditional text encoders, LexVLA uses Llama 2 (fine-tuned via LoRA). The authors use a specific "in-context lexical prediction" prompt to force the LLM to identify the most semantically significant words in a caption. This effectively uses the LLM’s internal knowledge as a semantic prior, filtering out noise from raw captions.
The Overuse Penalty
To combat the issue of models "cheating" by over-activating a few non-semantic tokens, the authors introduce the Overuse Penalty. While traditional sparsity losses encourage the model to use fewer tokens overall, they do not prevent the model from using the same few tokens for every sample. The Overuse Penalty discourages frequent activation of the same tokens across different samples, forcing the model to find specific, meaningful matches within the vocabulary.
PatchDis: A Metric for Interpretability
To quantify how well the model understands the relationship between visual patches and words, the authors introduce PatchDis. This metric measures zero-shot object segmentation performance by matching image patches to category names (e.g., "horse," "car") without any explicit segmentation training. This provides a rigorous benchmark for fine-grained interpretability.
Experimental Results
Zero-Shot Retrieval and Data Efficiency
LexVLA was trained on a 9.2 million image-text subset of the CC-12M dataset. Despite the relatively small training set, it achieved a zero-shot Image-to-Text R@1 score of 55.4 on MSCOCO, surpassing the original CLIP (52.4), which was trained on 400 million pairs. This suggests that the lexical representation is highly sample-efficient, requiring nearly 40x less data to achieve superior results.
Interpretability Benchmarks
In the PatchDis benchmark, LexVLA demonstrated a significant leap in interpretability. It achieved an mIoU of 36.3, vastly outperforming CLIP (5.3) and previous state-of-the-art lexical models like VDR (12.6). This confirms that LexVLA successfully aligns specific visual regions with their corresponding semantic labels.
Sparsity and Robustness
The model maintains high performance even under extreme sparsity. LexVLA remains effective when using as few as 296 active tokens out of a 17,000-word vocabulary, highlighting the efficiency of its representation.
Discussion and Limitations
While LexVLA represents a significant step forward for interpretable VLA, some limitations remain. The use of the Llama 2 tokenizer means the model occasionally operates on sub-word fragments (e.g., "play" and "ing") rather than whole words, which can slightly impact human readability. Additionally, while data-efficient in training, the use of a 7B parameter LLM as a text encoder introduces higher computational overhead compared to smaller Transformer-based encoders. Future work may involve moving toward true word-level vocabularies and further optimizing the computational footprint of the language branch.
Summary updated