TL;DR
This paper introduces a method to learn personalized visual representations—models that understand a specific object instance (like your dog or your favorite mug)—using only about three real images. By leveraging personalized Text-to-Image (T2I) generators to create a vast synthetic dataset and then contrastively fine-tuning a vision backbone, the authors achieve significant performance gains across tasks like recognition, detection, and segmentation.
The Challenge of Personalization
Modern computer vision models are masters of broad categories. They can easily tell a "dog" from a "cat," but they struggle with personalization: recognizing your specific dog across different lighting, poses, and backgrounds.
Learning personalized representations faces two major hurdles:
- Data Scarcity: A user typically only has a handful of photos of their specific object.
- Fine-grained Discrimination: The model must distinguish a specific instance from others in the exact same category (e.g., distinguishing one Golden Retriever from another).
While recent advances in T2I models (like DreamBooth) allow us to generate images of a specific object, this paper asks a new question: Can we use those synthetic images to teach a vision model a robust, reusable representation of that object for downstream tasks?
Methods: Bridging Generation and Representation
The authors propose a three-stage pipeline to transform generative capabilities into robust visual representations.
- Personalized Generation: Given roughly three real images of an object, the authors fine-tune a Stable Diffusion model using DreamBooth. This creates a specialized generator capable of producing the specific object in novel contexts.
- Synthetic Data Scaling: The personalized generator is then used to create a large synthetic dataset. To ensure diversity, the team uses GPT-4 to generate rich, varied captions (e.g., "a [object] on a wooden desk") and varies the Classifier-Free Guidance (CFG) scale. Crucially, they also generate "negatives"—images of the generic category (e.g., "a photo of a dog")—to help the model learn what makes the specific instance unique.
- Contrastive Fine-Tuning: Finally, they take a general-purpose backbone (like DINOv2 or CLIP) and fine-tune it using LoRA (Low-Rank Adaptation) with an InfoNCE loss. This contrastive loss "pulls" the representations of real and synthetic images of the target object together while "pushing" away the generic category negatives.
As a baseline, they also explore a "cheap" alternative called Cut-and-Paste, where the object is digitally "carved" from real images and pasted onto diverse backgrounds, bypassing the need for heavy T2I fine-tuning.
Datasets and Evaluation
The authors evaluate their approach on three instance-level datasets, including reformulations of DeepFashion2 (DF2) and DogFaceNet to focus on specific instance retrieval and detection.
Notably, they introduce PODS (Personal Object Discrimination Suite), a new dataset of 100 unique household objects (mugs, shoes, bottles, etc.).
PODS captures these objects in four controlled scenarios to rigorously test the models: in-distribution, pose variation, distractor objects, and a combination of both.
Key Insights and Results
The "Personalized" versions of the models (denoted with a -P) consistently and significantly outperformed their pretrained counterparts across multiple metrics:
- Massive Performance Leaps: DINOv2-P saw an average 48% improvement in detection and a 32% improvement in retrieval across the datasets. Meanwhile, CLIP-P classification accuracy on the DF2 dataset jumped from 12.7% to 26.7%.
- Improved Localization: The personalized representations were much better at localizing the target object. In segmentation tasks, DINOv2-P improved the F1 score on the Dogs dataset from 20.9% to 26.2% when integrated into the PerSAM pipeline.
- The Fidelity-Diversity Tradeoff: The best representations come from synthetic data that balances fidelity (how much it looks like the real object) and diversity (how many different contexts it appears in). If the generator is too "creative," the model learns the wrong features; if it's too rigid, the model overfits to the training poses.
- Generator Biases: Different data sources have different strengths. DreamBooth-trained models excel at handling pose variations, while Cut-and-Paste models are more robust against distractor objects because the object boundaries remain perfectly sharp.
- Synthetic Data as a "Force Multiplier": Even as more real images are added (scaling from 3 to 20), synthetic augmentation continues to provide a performance boost, though the relative gain is highest in the extreme low-data regime.
Limitations and Future Work
While highly effective, the approach has limitations. Fine-tuning a T2I model like DreamBooth and generating hundreds of images is computationally expensive compared to simple augmentations. Furthermore, the vision model may inherit the "hallucinations" or biases of the T2I generator (e.g., if the generator always puts a mug on a table, the model might struggle to recognize the mug being held in a hand).
Future directions include exploring more efficient T2I personalization methods and investigating how these personalized representations can be deployed in robotics or assistive devices for users with low vision to identify personal belongings.
Summary updated