Introduction
Fashion style recognition—identifying categories like "Lolita," "Ethnic," or "Conservative"—presents a unique challenge for computer vision. Unlike standard object detection, fashion styles are subjective, culturally nuanced, and visually complex. Building large-scale, expert-annotated datasets for these categories is both time-consuming and expensive, making few-shot learning a critical area of research.
Researchers at ZOZO Research have introduced Masked Language Prompting (MLP), a generative data augmentation strategy that leverages Large Language Models (LLMs) and text-to-image (T2I) models to synthesize diverse, style-consistent training data without requiring additional fine-tuning.
The Challenge of Generative Augmentation
Generative data augmentation uses AI to create synthetic training images. However, existing approaches often struggle with fashion styles:
- Class-name Prompts: Using a simple prompt like "a photo of a woman in ethnic style" often leads to "semantic misalignment." For instance, a model might generate a sari when the specific training set defines "ethnic" as traditional Japanese fusion patterns.
- Reference Captions: Using a literal description of an existing image (e.g., "woman in a red dress") produces images that are too similar to the original. This lack of diversity prevents the classifier from generalizing to new variations of the style.
Methods: Masked Language Prompting (MLP)
The proposed MLP method finds a middle ground by anchoring generation in the structure of real images while varying their specific attributes. The pipeline consists of four steps:
- Captioning: An LLM (GPT-4o mini) generates a detailed description of a real "seed" image.
- Masking: 50% of the nouns and adjectives in the caption are replaced with
[MASK]tokens. - Fill-in-the-masks: The LLM fills these masks with contextually appropriate alternatives, preserving the outfit's structure while changing attributes (e.g., swapping "beige silk" for "fitted pencil").
- T2I Generation: The modified caption is fed into a T2I model (SDXL-Turbo) to produce a synthetic training image.
Key Insights and Results
The effectiveness of MLP was evaluated on the FashionStyle14 dataset across 13 distinct styles.
Superior Performance in Few-shot Scenarios
MLP consistently outperformed baselines in low-data regimes. In a 1-shot setting, the MLP-augmented model achieved 42.4% accuracy, significantly higher than the "Real Only" baseline (34.7%) and simple class-name augmentation (36.6%).
Balancing Diversity and Alignment
Quantitative analysis using CLIP Maximum Mean Discrepancy (CMMD) showed that MLP-generated images align more closely with the real data distribution than generic class-based prompts. Furthermore, metrics like SSIM and LPIPS confirmed that MLP produces more diverse images than literal captioning while maintaining higher style consistency than class-based generation. This "Goldilocks" balance ensures the model learns the core components of a style without being confused by irrelevant cultural or visual drift.
Conclusion and Future Work
Masked Language Prompting offers a lightweight, fine-tuning-free method to boost fashion style recognition. By focusing on the relationship between garments (structure) rather than just individual items (attributes), it provides a robust way to explore the latent space of subjective styles. Future research may involve adding filtering steps to prevent "style drift" and extending the method to multi-label classification where outfits embody multiple overlapping styles.
Summary updated