[Paper Review] A Unified Model with Structured Output for Fashion Images Classification
This paper proposes a unified deep learning model that jointly predicts hierarchical fashion image categories (e.g., dress, day dress) and attributes (e.g., white, floral) from visual features using a structured output approach. Inspired by Hu et al. (2016), it modifies the message passing mechanism to handle Farfetch’s category tree by removing symmetry, adding hierarchy-specific layers, and relocating message passing to an enriched latent space, achieving state-of-the-art performance across all levels with a single end-to-end architecture.
A picture is worth a thousand words. Albeit a cliché, for the fashion industry, an image of a clothing piece allows one to perceive its category (e.g., dress), sub-category (e.g., day dress) and properties (e.g., white colour with floral patterns). The seasonal nature of the fashion industry creates a highly dynamic and creative domain with evermore data, making it unpractical to manually describe a large set of images (of products). In this paper, we explore the concept of visual recognition for fashion images through an end-to-end architecture embedding the hierarchical nature of the annotations directly into the model. Towards that goal, and inspired by the work of [7], we have modified and adapted the original architecture proposal. Namely, we have removed the message passing layer symmetry to cope with Farfetch category tree, added extra layers for hierarchy level specificity, and moved the message passing layer into an enriched latent space. We compare the proposed unified architecture against state-of-the-art models and demonstrate the performance advantage of our model for structured multi-level categorization on a dataset of about 350k fashion product images.
Motivation & Objective
- To reduce the need for multiple specialized models in fashion e-commerce by unifying multi-level image categorization into a single end-to-end architecture.
- To improve image classification performance by explicitly modeling the hierarchical structure of fashion product labels (category, sub-category, attributes).
- To address the challenges of large, imbalanced, and variable-length attribute prediction in fashion images using visual features only.
- To enhance product retrieval and description generation by producing more complete and consistent annotations than manual labeling.
- To validate that a unified model can outperform specialized models across all levels of the category hierarchy.
Proposed method
- The model is based on a modified version of the structured output model by Hu et al. (2016), adapted for Farfetch’s five-level category tree.
- The message passing layer is restructured to remove symmetry and is placed in an enriched latent space to better capture hierarchical dependencies.
- Extra layers are added to ensure level-specific representation learning for each concept level (category, sub-category, attributes).
- The architecture uses a shared ResNet backbone for feature extraction, followed by a unified prediction head that jointly outputs predictions across all levels.
- Label relations are enforced via a structured prediction framework that treats the hierarchy as a graph with parent-child constraints.
- The model is trained end-to-end using cross-entropy loss with hierarchical constraints to improve generalization and consistency.
Experimental results
Research questions
- RQ1Can a unified deep learning model jointly predict multi-level fashion image categories and attributes with better performance than specialized models?
- RQ2How does incorporating hierarchical label structure improve classification accuracy across different levels of the category tree?
- RQ3To what extent can the model generalize missing attributes not present in manual annotations?
- RQ4Does the unified architecture reduce inconsistencies between category, sub-category, and attribute predictions?
- RQ5How does the modified message passing mechanism compare to the original in terms of performance and robustness?
Key findings
- The proposed unified model outperforms state-of-the-art specialized models on all levels, achieving 69.19% F1@$k on sub-category classification and 70.78% F1@$k on attribute prediction.
- The model predicts an average of 2.07 attributes per product, significantly higher than the manual average of 0.96, indicating effective generalization to missing attributes.
- Less than 1% of predicted category-subcategory or category-attribute pairs were inconsistent, demonstrating strong hierarchical consistency.
- The model with shared ResNet layers and adapted message passing (Ours - final) achieved the highest performance, validating the design choices.
- Qualitative results show the model correctly infers visually plausible attributes not in ground truth (e.g., 'long' for coats), improving annotation completeness.
- The model shows robustness to label imbalance and variable-length attribute prediction, outperforming baseline models in both precision and recall.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.