Abstract
We explore the task of instance segmentation with attribute localization, which unifies instance segmentation and fine-grained visual attribute categorization. We introduce Fashionpedia, a comprehensive framework consisting of a fashion ontology and a large-scale dataset. The ontology, built by experts, contains 27 main apparel categories, 19 apparel parts, and 294 fine-grained attributes. The dataset includes 48,825 images annotated with segmentation masks and localized attributes. We propose the Attribute-Mask R-CNN model and a novel evaluation metric, $AP_{IoU+F_1}$, to address this task. Our results demonstrate that Fashionpedia pre-training significantly improves transfer learning performance on other fashion-related tasks.
Introduction
In computer vision, the tasks of naming objects (classification) and locating them (detection/segmentation) are well-established. However, real-world domains like fashion require a deeper level of description. A model should not only detect a "jacket" but identify it as a "leather, asymmetrical, zip-up biker jacket" with specific "notched lapels."
Existing fashion datasets often suffer from a lack of localization, coarse categorization, and noisy data. To bridge this gap, we introduce the task of instance segmentation with attribute localization, requiring models to simultaneously segment object instances and describe their fine-grained properties.
The Fashionpedia Ontology and Dataset
The core of Fashionpedia is its structured ontology, which provides a formal mapping of the visual fashion world. It links 27 main categories and 19 parts to 294 attributes using relationships like meronymy (part-of).
The accompanying dataset features 48,825 images with approximately 356,000 segmentation masks. To ensure high-quality data, fashion experts (graduate students in apparel design) annotated the attributes, providing a level of detail and accuracy missing from crowd-sourced or web-scraped datasets. This expert involvement also highlighted challenges like occlusion, where attributes for garments worn underneath others are often unidentifiable.
Methodology: Attribute-Mask R-CNN
We address this unified task by extending the standard Mask R-CNN architecture. Our Attribute-Mask R-CNN incorporates a multi-label attribute prediction head that shares features with the box, class, and mask branches. This allows the model to leverage shared features for both spatial localization and property recognition.
To evaluate performance, we propose a stricter metric: $AP_{IoU+F_1}$. Unlike standard Average Precision, this metric requires the model to correctly segment the instance (IoU) and achieve a high F1 score on the predicted attributes for that specific mask.
Key Results and Insights
Our benchmarks, using backbones like SpineNet-143, reveal a significant performance gap when moving from standard segmentation to attribute localization. For the top-performing model, the score dropped from 43.1 ($AP^{mask}$) to 33.3 ($AP_{IoU+F_1}$), underscoring the difficulty of fine-grained recognition.
Key insights from our experiments include:
- Structural Understanding: Treating garment parts (sleeves, collars) as individual instances allows the model to learn a "structural" understanding of clothing, mirroring how humans describe fashion.
- Part Complexity: Detecting small parts (AP 19.3) is significantly more difficult than detecting main garments (AP 64.1) due to their scale and subtle visual cues.
- Transfer Learning: Models pre-trained on Fashionpedia achieve better transfer learning performance on other fashion datasets than those pre-trained on ImageNet, proving the dataset's utility as a foundational resource for the domain.
Conclusion
Fashionpedia provides a comprehensive framework for mapping visual attributes to localized instances. While challenges remain in distinguishing highly similar attributes and handling occlusion, this approach serves as a blueprint for other complex domains requiring both localization and fine-grained description, such as furniture or biological imaging.
Summary updated