Fine-Grained Fashion Similarity Prediction by Attribute-Specific Embedding Learning

Jianfeng Dong, Zhe Ma, Xiaofeng Mao, Xun Yang, Yuan He, Richang Hong, Shouling Ji · DOI

TL;DR

This paper introduces the Attribute-Specific Embedding Network (ASEN) to predict fine-grained fashion similarity by learning separate embedding spaces for each attribute (e.g., collar design, sleeve length). This approach allows for more nuanced similarity comparisons than general embedding methods, with applications in fashion copyright and improved retrieval.

What Problem Does This Paper Address?

Traditional fashion similarity models often focus on overall visual similarity, aiming to find identical or compatible items. However, there's a growing need for fine-grained similarity, which focuses on specific attributes or design elements (like the shape of a collar or the style of a sleeve). This is crucial for applications like fashion copyright protection (identifying design plagiarism) and for users who want to find items with a particular design feature, not just general similarity. Existing methods struggle to capture this nuanced similarity effectively.

Methods

The core of the proposed solution is the Attribute-Specific Embedding Network (ASEN), which learns multiple attribute-specific embedding spaces. ASEN employs a two-branch architecture:

  • Global Branch: Processes the entire image to extract features from a broad perspective.
  • Local Branch: Focuses on a Region of Interest (RoI) related to the specific attribute, allowing for extraction of finer details.

Both branches incorporate novel Attribute-aware Spatial Attention (ASA) and Attribute-aware Channel Attention (ACA) modules. These attention mechanisms are guided by the specific attribute being considered, helping the network to:

  • ASA: Locate relevant regions within the image for the given attribute.
  • ACA: Capture essential patterns within those regions.

The RoI for the local branch is generated using a weakly-supervised localization method that leverages the attention maps from the global branch, avoiding the need for manual bounding box annotations. The model is trained using a two-stage strategy, incorporating triplet ranking losses for both branches and an alignment loss to ensure consistency between them.

Datasets

The authors evaluated their method on three fashion datasets:

  • FashionAI: A large-scale dataset with hierarchical attribute annotations.
  • DARN: Used for attribute prediction and street-to-shop image retrieval.
  • DeepFashion: A comprehensive dataset with benchmarks for various fashion-related tasks.

The paper notes that there are no pre-existing datasets specifically for attribute-specific fashion retrieval, so they adapted these datasets for their task.

Key Insights and Ideas

  • Attribute-Specific Spaces are Key: The fundamental idea is that true fine-grained similarity can only be captured by learning separate embedding spaces for each attribute, rather than trying to cram all attribute information into a single general space.
  • Global + Local Synergy: Combining global image context with detailed local region analysis proves highly effective. The global branch helps identify relevant areas, while the local branch dives deep into those areas for attribute-specific features.
  • Attribute-Guided Attention: The novelty of the attention mechanisms lies in their explicit guidance by the attribute itself. This allows the network to focus on what's relevant for that specific attribute, rather than a generic attention mechanism.
  • Weak Supervision for Localization: The ability to generate RoIs for the local branch without explicit bounding box annotations is a significant practical advantage, reducing annotation burden.
  • Fine-grained vs. Overall Similarity: The paper clearly distinguishes between fine-grained and overall similarity, demonstrating that methods optimized for one may not perform well on the other.

Key Results

  • State-of-the-Art Performance: ASEN consistently outperformed baseline methods (including a triplet network, CSN, and its own single-branch version) across all tested datasets (FashionAI, DARN, DeepFashion) in terms of Mean Average Precision (MAP) for attribute-specific fashion retrieval.
  • Superiority over General Embeddings: The triplet network, which learns a general embedding space, performed significantly worse than ASEN, highlighting the limitations of general approaches for fine-grained tasks.
  • Effectiveness of Components: Ablation studies confirmed the importance of both the global and local branches, as well as the attribute-aware attention mechanisms. The weakly-supervised localization method also showed significant gains, especially for attributes related to smaller regions.
  • Fashion Reranking Potential: ASEN demonstrated its utility in reranking results for in-shop clothes retrieval, improving the relevance of top retrieved items based on specific attributes.
  • Visualization Insights: t-SNE visualizations showed that ASEN successfully learned distinct embedding spaces for different attributes, with images sharing the same attribute value clustering together.

Limitations and Future Work

  • Attribute Assumption: The current ASEN model assumes that images are associated with a specific attribute. If this assumption is invalid (e.g., an attribute is not present or occluded), the model may fail.
  • Attribute Discovery from Text: The authors suggest a promising future direction: discovering attributes from textual descriptions of fashion items. This could overcome the limitation of relying on explicit attribute annotations and potentially improve robustness.
  • Overlap in Embedding Spaces: While generally well-separated, some attribute embedding spaces (e.g., neckline and collar design) showed more overlap, possibly due to a high number of "invisible" attribute values. Further investigation into handling such cases could be beneficial.

Summary updated

BibTeX
@article{dong2021fine,
  author = {Jianfeng Dong and Zhe Ma and Xiaofeng Mao and Xun Yang and Yuan He and Richang Hong and Shouling Ji},
  title = {{Fine-Grained Fashion Similarity Prediction by Attribute-Specific Embedding Learning}},
  journal = {IEEE Trans. Image Process.},
  year = {2021},
  doi = {10.1109/tip.2021.3115658},
}
Figure