TL;DR
LANIT (LANguage-driven Image-to-image Translation) is a novel framework that achieves high-quality, multi-attribute image translation on unlabeled datasets using only dataset-level text descriptions. By leveraging vision-language models with adaptive thresholding and prompt learning, it eliminates the need for tedious per-sample annotations while providing human-interpretable, multi-hot control over image styles.
What Problem Does This Paper Address?
Unpaired image-to-image (I2I) translation models (like StarGANv2) excel at changing the style or domain of an image—such as turning a cat into a dog or making a face look older. However, conventional frameworks suffer from two major bottlenecks:
- Heavy reliance on per-sample annotations: They require every training image to be explicitly labeled with its domain, which is labor-intensive and error-prone.
- The "one-hot" assumption: They assume an image belongs to exactly one distinct domain. In reality, an image often contains multiple overlapping attributes (e.g., a face can simultaneously be "male," "smiling," and have "blond hair").
To avoid manual labeling, recent unsupervised methods use clustering to automatically group images. Unfortunately, these clusters often lack clear semantic meaning, making them difficult for humans to interpret or control, and they still struggle to handle multiple attributes at once.
LANIT addresses this gap by introducing dataset-level supervision. Instead of labeling every image, users simply provide a general list of candidate text descriptions for the entire dataset.
Methods
LANIT bridges vision and language by utilizing a pre-trained CLIP model to dynamically assign multi-hot pseudo-labels to unlabeled images. The architecture consists of several key components:
- Adaptive Thresholding with a Base Prompt: Calculating raw similarity between images and text prompts in CLIP can be noisy. LANIT resolves this by comparing the similarity of a specific attribute prompt (e.g., "a face with blond hair") against a neutral base prompt (e.g., "a face of"). If the specific prompt scores higher than the base prompt, the attribute is considered active. This naturally yields a multi-hot binary vector representing multiple concurrent attributes.
- Multi-hot Style Aggregation: Rather than selecting a single style code, LANIT takes the style vectors from all active domains identified by the pseudo-label and averages them. This aggregated style vector guides the generator to synthesize images reflecting multiple target attributes simultaneously.
- Prompt Learning: To account for suboptimal initial text descriptions, the framework treats the text prompt templates as learnable continuous parameters. This refines the text embeddings during training to better align with the image dataset.
- Domain Regularization Loss ($\mathcal{L}_{dl}$): To ensure the generator faithfully reflects the target attributes, LANIT introduces a regularization loss. It generates pairs of images with opposite styles for a given attribute (e.g., forcing an attribute from 1 to 0) and uses a binary cross-entropy loss to sharpen the model's understanding of domain boundaries.
Datasets
The authors evaluated LANIT across a diverse set of standard image synthesis benchmarks:
- CelebA-HQ (Facial attributes)
- AnimalFaces-10 (Animal categories)
- Food-10 (Food categories)
- LHQ (Landscape House Quality)
- MetFace (Artistic portraits)
- Anime (Anime faces)
- LSUN-Car & LSUN-Church (Vehicles and architecture)
Key Insights and Ideas
- The Power of Dataset-Level Text: Specifying a global list of attributes for a dataset is vastly easier than labeling thousands of individual images. LANIT proves that this minimal linguistic guidance is enough to match or exceed fully supervised performance.
- Linear Style Compositionality: A key "aha moment" is that style codes representing distinct semantic attributes can be aggregated linearly to represent joint domains. This allows the network to scale gracefully to complex multi-attribute translations without needing explicit combinatorial training data.
- Stage-Wise Training Matters: The authors found that optimizing the text prompts from day one introduces instability. Instead, a stage-wise approach—where prompt learning begins after the generative network has started to converge—significantly boosts performance because well-generated images provide cleaner feedback for prompt refinement.
Key Results
LANIT demonstrates remarkable quantitative and qualitative improvements over both unsupervised and fully supervised baselines:
- Outperforming Supervised Baselines: On the CelebA-HQ dataset, LANIT achieved a mean Fréchet Inception Distance (mFID) of 27.96, outperforming the fully supervised StarGAN2 baseline (32.16), which requires ground-truth per-sample labels.
- Superior Fidelity and Diversity: LANIT consistently achieved higher Density and Coverage (D&C) scores across CelebA-HQ, AnimalFaces-10, and Food-10 compared to truly unsupervised methods like TUNIT, proving it generates higher quality and more diverse images.
- Human Preference: In a user study involving 204 participants evaluating image quality, content preservation, and style relevance, LANIT ranked first across all tasks against competing methods.
Limitations and Future Work
Because LANIT relies on a pre-trained vision-language model (CLIP) to bootstrap its pseudo-labels, it inherently inherits the biases and limitations of that embedding space. If the initial vision-language alignment fails completely for a highly abstract or rare attribute, the adaptive thresholding mechanism can generate inaccurate pseudo-labels, which ultimately degrades the translation quality.
The authors note that future work will focus on making the pseudo-labeling process even more robust against inherent vision-language model noise.
Summary updated