Abstract
Personalizing text-to-image models—such as placing a specific pet or person into a new scene—is a core goal of generative AI. However, current methods often suffer from "information leakage," where irrelevant background, lighting, or camera angles from the reference image are inadvertently copied into the result. This paper introduces Omni-Attribute, an open-vocabulary attribute encoder designed to disentangle fine-grained visual features. By employing a dual-objective training paradigm and a novel semantic data pairing strategy, Omni-Attribute enables high-fidelity personalization and complex attribute composition without the "copy-and-paste" artifacts common in holistic encoders.
Introduction
The primary challenge in visual personalization is entanglement. Standard image encoders (e.g., CLIP, DINOv2) compress an entire image into a single embedding. When this embedding guides a generative model, it is difficult to isolate a specific feature, such as a person's face, from their clothing or the environment. Consequently, a request to "put this person on a roller coaster" often results in the model attempting to synthesize the original background into the new scene, leading to incoherent or unnatural images. Omni-Attribute addresses this by learning to extract specific, user-defined attributes in an open-vocabulary manner.
Methodology
The researchers developed a two-pronged approach involving data curation and a specialized training objective.
Semantic Data Pairing
The team curated a dataset of 23.7 million semantically linked image pairs. Using Large Multimodal Models (MLLMs), they annotated these pairs with positive attributes (shared features to be preserved) and negative attributes (differing features to be ignored). This explicit labeling teaches the encoder to distinguish between the target concept and its context.
Dual-Objective Learning
The model is trained using two primary losses:
- Generative Loss: A reconstruction-based loss ensuring the attribute embeddings retain enough detail to faithfully recreate the target feature.
- Contrastive Loss: This objective applies a repulsive force between embeddings of negative attributes, forcing the model to discard irrelevant visual cues and focus solely on the specified attribute.
The architecture utilizes a LoRA-tuned Qwen2.5-VL as the backbone, with a lightweight connector mapping embeddings to a frozen FLUX.1-dev generator.
Key Insights and Ideas
The strength of Omni-Attribute lies in its ability to handle both concrete objects and abstract concepts with high precision.
- Disentanglement: By training on negative samples, the model learns what not to encode. This allows for "Person Identity" extraction that ignores the original shirt or background.
- Compositionality: The learned embeddings are additive. Users can extract "Identity" from one image and "Artistic Style" from another, combining them to create a single coherent output.
- Open-Vocabulary Flexibility: Unlike previous methods limited to fixed categories, Omni-Attribute can process complex, phrase-level descriptions (e.g., "a man with a hat looking at the camera").
Results and Evaluation
Omni-Attribute consistently outperforms baselines like CLIP and DINOv2 in both qualitative and quantitative metrics.
Qualitative Performance
The model avoids the "copy-and-paste" look typical of existing methods. For instance, when transferring an artistic style, the model captures the brushwork and color palette without distorting the underlying geometry of the new scene.
Quantitative Gains
In automated MLLM evaluations and human studies, Omni-Attribute achieved superior scores for "Conditioning Fidelity" and "Image Naturalness." It showed a significant lead in handling abstract concepts like lighting and tone, which are traditionally difficult for holistic encoders to isolate.
Limitations and Future Work
While highly effective, the model faces challenges with correlated attributes. If a person always appears with the same hairstyle in reference data, the model may struggle to separate the hair from the identity. Additionally, the contrastive loss requires careful hyperparameter tuning. Future research will explore adapting these embeddings for localized in-painting and image editing.
Summary updated