Domain-Agnostic Tuning-Encoder for Fast Personalization of Text-To-Image Models
Moab Arar, Rinon Gal, Yuval Atzmon, Gal Chechik, Daniel Cohen-Or, Ariel Shamir, Amit H. Bermano
TL;DR
This work addresses the challenge of personalizing text-to-image diffusion models across diverse concepts without relying on domain-specific datasets. It introduces a domain-agnostic tuning-encoder that combines a nearest-neighbor contrastive embedding regularization with a HyperNetwork that predicts low-rank LoRA-style weight modulations, enabling inference-time tuning in as few as $12$ steps and reducing memory usage. The approach achieves high-quality personalization across multiple domains, matching or surpassing state-of-the-art encoders and optimization-based methods while requiring only a single example. This has practical impact by making rapid, personalized image synthesis accessible on more modest hardware, accelerating creative workflows.
Abstract
Text-to-image (T2I) personalization allows users to guide the creative image generation process by combining their own visual concepts in natural language prompts. Recently, encoder-based techniques have emerged as a new effective approach for T2I personalization, reducing the need for multiple images and long training times. However, most existing encoders are limited to a single-class domain, which hinders their ability to handle diverse concepts. In this work, we propose a domain-agnostic method that does not require any specialized dataset or prior information about the personalized concepts. We introduce a novel contrastive-based regularization technique to maintain high fidelity to the target concept characteristics while keeping the predicted embeddings close to editable regions of the latent space, by pushing the predicted tokens toward their nearest existing CLIP tokens. Our experimental results demonstrate the effectiveness of our approach and show how the learned tokens are more semantic than tokens predicted by unregularized models. This leads to a better representation that achieves state-of-the-art performance while being more flexible than previous methods.
