Introduction
Large-scale Vision-Language (V&L) models like CLIP have demonstrated remarkable capabilities in open-world object recognition. However, these models typically struggle with Personalized Vision & Language (PerVL)—the ability to recognize specific, user-defined instances. While a standard model can identify a "toy wagon," it cannot inherently distinguish a user's specific toy from any other.
To address this, the authors introduce PALAVRA (Personalizing LAnguage Vision RepresentAtions), a framework that teaches frozen, pre-trained models to recognize user-specific objects from just a few images. By expanding the model's input vocabulary, PALAVRA allows for natural language reasoning about these objects without requiring negative examples or degrading the model's original zero-shot performance.
The Personalization Challenge
Existing solutions for personalizing V&L models often rely on "Adapters"—additional layers appended to the model's output. While effective for simple classification, these are often brittle, potentially "forgetting" general knowledge or failing when text queries deviate from strict templates. Furthermore, training these adapters usually requires "negative examples" (images not containing the object), which are cumbersome for end-users to provide.
The PALAVRA Framework
PALAVRA treats a new personalized object as a new "word" in the model's vocabulary, intervening at the input level rather than the output.
- Inversion Mapping: The authors utilize a "set encoder" trained on general data (like COCO) to map a set of images of an object to a single word embedding in CLIP’s input space.
- Vocabulary Expansion: When a user provides images of a new concept (e.g., "Fluffy"), the set encoder generates an initial embedding ($w_c^0$), which is treated as a new token, such as
[MY_FLUFFY]. - Contrastive Cycle-Consistent Loss: This embedding is refined using a cycle-consistent loss, ensuring that text embeddings for sentences like "A photo of a
[MY_FLUFFY]" align closely with the visual embeddings of the user's images. - Super-Concept Guidance: To eliminate the need for negative examples, the model uses the object's general category (e.g., "toy") as a "super-concept" to contrast against, helping the model isolate the unique features of that specific instance.
Benchmarking Personalization "In the Wild"
The authors introduced two new benchmarks to evaluate these capabilities:
- Personalized DeepFashion2: This benchmark focuses on retrieving specific clothing items (e.g., a unique skirt) using rich, context-heavy text queries.
- Personalized Youtube-VOS: This uses video frames to test both image retrieval and semantic segmentation of specific object instances across different scenes.
Key Insights and Results
- Input vs. Output Intervention: By adding new words to the vocabulary rather than modifying output layers, the model’s internal reasoning logic remains untouched, preserving its ability to handle complex, free-form sentences.
- The Modality Gap: The authors discovered that CLIP’s text and image embeddings do not perfectly overlap. They addressed this by learning an alignment matrix ($A$) to map text representations into the "image area" of the embedding space, significantly improving generalization.
- Contextual Distraction: In segmentation tasks, providing excessive context in a query can occasionally hurt performance, as the model's attention may "drift" toward other objects mentioned in the sentence.
Performance Metrics
PALAVRA significantly outperformed strong baselines in both retrieval and segmentation tasks:
- Retrieval: On the DeepFashion2 benchmark, PALAVRA achieved a Mean Reciprocal Rank (MRR) of 28.4%, a 51.1% improvement over the strongest baseline.
- Segmentation: In the Youtube-VOS task, the model showed a 44.69% improvement in successful segmentations (at an IoU threshold of 0.5) compared to competitors.
- Efficiency: The model learns effectively from as few as 5 to 10 images and does not require retraining the underlying CLIP model.
Conclusion and Future Work
While PALAVRA inherits some weaknesses from its base model—such as a limited understanding of spatial relations—it provides a powerful method for personalizing frozen V&L representations. Future work may extend this approach to other architectures like M-DETR, with potential applications in home robotics and personalized data organization.
Summary updated