Abstract
In fashion image retrieval, balancing exact instance-level matching with the ability to perform attribute-specific queries (e.g., changing color or pattern) remains a significant challenge. This paper introduces Feature-Level Attribute Manipulation (FLAM), a semi-supervised framework that allows users to tweak specific attributes of a query item directly within the feature embedding space. By manipulating mathematical features rather than pixels, FLAM preserves the fine-grained identity of items while remaining computationally efficient for billion-scale databases. Our method achieves state-of-the-art performance on major fashion benchmarks, significantly outperforming existing retrieval models.
Introduction
Fashion AI systems typically serve two primary functions: Fashion Instance-level Image Retrieval (FIR), which focuses on finding an exact match for a query item, and Fashion Attribute Manipulation (FAM), which involves finding similar items with specific modifications. Historically, these tasks have been at odds; models optimized for exact retrieval often lack the flexibility for attribute manipulation, while generative models for FAM frequently lose the fine-grained details necessary for precise matching.
Furthermore, storing multiple feature vectors for every possible attribute combination in a large database is practically impossible. FLAM addresses this by enabling on-the-fly manipulation of a single, high-quality retrieval feature, allowing for a "best of both worlds" approach to fashion search.
Methodology
FLAM is structured into two distinct stages designed to decouple attribute understanding from feature transformation.
1. The Attribute-specific Embedder ($\phi$)
To manipulate features effectively, the system must first define what specific attributes look like in the embedding space. Small sub-networks are trained to map general fashion features into 32-dimensional "attribute-specific" spaces. Using a triplet loss objective, the embedder ensures that items sharing the same attribute (e.g., "hoodies" or "striped") are clustered closely together, while items with different attributes are pushed apart.
2. The Query Feature Manipulator (G)
This core component utilizes a Generative Adversarial Network (GAN) architecture to transform features:
- Generator ($G$): Synthesizes a new "fake" feature by combining the original feature with a target attribute embedding.
- Discriminator ($D$): Ensures the synthesized features are indistinguishable from real features in the database.
- Cycle Consistency: To prevent the loss of the item's original identity, the model enforces a cycle-consistency loss, ensuring that a feature manipulated to a target attribute and then back to its original state matches the starting feature.
- Feature Matching: The manipulated feature is validated against the embeddings from Stage 1 to ensure it accurately reflects the target attribute.
Experimental Results
FLAM was evaluated using prominent benchmarks including DeepFashion (In-shop and C2S), DARN, and Shopping100k. To ensure real-world scalability, the researchers also utilized the Naver Fashion Dataset (NFD), containing 4 million high-resolution images.
Retrieval Performance
On the DeepFashion (In-shop) benchmark, FLAM achieved a Recall@1 of 0.887, a substantial improvement over previous state-of-the-art models like FashionNet (0.533). This demonstrates that the feature-level manipulation does not degrade the underlying retrieval quality.
Attribute Manipulation Quality
Qualitative results show that FLAM can successfully modify attributes such as shape, color, and pattern while maintaining the core identity of the original garment. The model proved robust across various neural network backbones (ResNet, DenseNet, Inception), indicating its versatility as a "plug-in" solution for existing retrieval pipelines.
Discussion and Conclusion
A key innovation of FLAM is its use of Online Sampling (OS) during training. By selecting target attributes that are likely to exist for a given item type, the model avoids generating "unrealistic" feature combinations, such as a "floral" version of a heavy winter coat that might not exist in reality. This semi-supervised approach allows the model to learn from sparsely labeled data, making it highly practical for large-scale industry applications.
While FLAM excels at handling standard attributes, future work will focus on more subjective qualities like "style" or "occasion." Nonetheless, FLAM represents a significant step forward in creating flexible, high-precision fashion search engines.
Summary updated