TL;DR
Omni-Attribute is the first open-vocabulary image attribute encoder designed to extract specific visual features (like identity, expression, or art style) from a reference image while ignoring irrelevant details. By combining a dual-objective generative and contrastive training paradigm with a novel data-annotation strategy, it enables high-fidelity attribute personalization and seamless multi-image composition without requiring any test-time optimization.
What Problem Does This Paper Address?
When personalizing text-to-image models—such as generating an image of "my dog riding a bicycle"—current methods typically rely on general-purpose image encoders like CLIP or DINOv2. These encoders generate holistic embeddings that compress the entire image into a single representation.
Consequently, they entangle multiple visual factors. If you try to extract just a person's identity or a dog's breed, the encoder inadvertently leaks irrelevant details like the original image's lighting, background, or clothing. This leads to undesirable "copy-and-paste" artifacts. The authors introduce Omni-Attribute to solve this by learning to isolate and manipulate fine-grained, open-vocabulary attributes directly on the encoder side.
Methods
Omni-Attribute achieves precise attribute extraction through a joint design of data annotation and model objectives:
- Semantic Pair Annotation: The authors curate pairs of semantically linked images. They introduce an annotation scheme that labels positive attributes (shared semantics between the two images) and negative attributes (characteristics that differ). To scale this cost-effectively, they use a large 72B Multimodal LLM (MLLM) to generate initial high-quality labels, which are then used to finetune a faster 32B MLLM student model as an expert annotator.
- Model Architecture: The encoder uses a LoRA-tuned MLLM backbone followed by a lightweight, trainable connector to map visual inputs and textual attribute descriptions into attribute tokens. These tokens condition a frozen image decoder (Flux.1-dev) via a trainable IP-Adapter.
- Dual-Objective Learning: Training is guided by two complementary losses:
- Generative Loss: Forces the model to reconstruct a target image using the reference image's positive attribute embeddings, ensuring high-fidelity detail capture.
- Contrastive Loss: Pushes apart embeddings associated with negative or differing attributes, enforcing strict attribute disentanglement.
Datasets
- Training Data: A custom dataset of semantically linked image pairs automatically annotated with positive and negative attributes using their distilled MLLM pipeline.
- Evaluation Benchmark: The authors constructed a new benchmark consisting of 15 reference attributes spanning concrete objects (e.g., person identity, hairstyle) and abstract concepts (e.g., material, lighting, art style), totaling 375 evaluation samples.
- Downstream Tasks: The CelebA dataset (17.7k images) was used to evaluate attribute-oriented image retrieval, and the Animal Dataset (60 images) was used for embedding space visualization.
Key Insights and Ideas
- The Necessity of Contrastive Repulsion: Without the contrastive loss component, the encoder tends to ignore the text prompt conditions and simply encodes the entire image, falling back into the "copy-and-paste" trap. The negative attributes act as an explicit boundary telling the model what not to encode.
- LoRA vs. Full Finetuning: The authors found that LoRA tuning the MLLM backbone preserves crucial pre-trained vision-language alignment. Full finetuning, by contrast, causes catastrophic forgetting and degrades personalization performance.
- Flow-Field Composability: Because the encoder isolates attributes cleanly, multiple distinct attribute embeddings can be composed linearly using conditional flow fields. This allows users to seamlessly combine elements from different source images (e.g., taking a vase's identity from Image A, its material from Image B, and its lighting from Image C).
Key Results
Omni-Attribute was evaluated against two main baselines: standard image encoders (CLIP, DINOv2, Qwen-VL) paired with IP-Adapters, and recent image-editing models (OmniGen2, FLUX-Kontext, Qwen-Image-Edit).
- Quantitative Performance: Evaluated via both GPT-4o and a 10-participant user study, Omni-Attribute consistently achieved the highest average score across image naturalness and conditioning fidelity. It showed a particularly massive performance leap when handling abstract concepts (like texture and lighting), where traditional encoders fail due to a lack of text-guided attribute conditioning.
- Qualitative Superiority: As shown in comparative evaluations, Omni-Attribute successfully transfers target attributes into new contexts aligned with the text prompt while suppressing background and contextual leakage from the reference image.
- Attribute Retrieval: When tested on CelebA, Omni-Attribute successfully retrieved images based on specific isolated queries (e.g., finding a match based only on hairstyle or only on expression), outperforming a GPT-4o + CLIP baseline.
Limitations and Future Work
The authors note a delicate trade-off controlled by the contrastive loss hyperparameters ($\lambda_{con}$ and temperature $\tau$). Setting these values too high yields highly discriminative embeddings (excellent disentanglement) but can reduce the overall reconstruction fidelity of the target attribute. Finding an automated or adaptive way to balance high-fidelity generation with clean attribute separation remains an open area for optimization.
Summary updated