Abstract
Personalized outfit recommendation is a complex task that requires balancing internal item compatibility with individual user style preferences. This paper introduces the Hierarchical Fashion Graph Network (HFGN), a framework that models fashion data as a three-level hierarchical graph consisting of items, outfits, and users. By propagating stylistic and compatibility signals across these layers using Graph Neural Networks and multi-view attention, HFGN ensures that recommended outfits are both internally cohesive and tailored to the user. Evaluated on the large-scale POG dataset, HFGN significantly outperforms existing baselines in both recommendation precision and compatibility matching.
Introduction
Recommending a fashion outfit is inherently more difficult than recommending a single item. A successful recommendation must satisfy two distinct criteria: compatibility (do the items in the outfit go together?) and personalization (does the outfit match the user's specific style?).
Most existing models struggle because they treat these as isolated problems, either focusing purely on visual item-to-item matching or treating outfits as "black box" features for collaborative filtering. This ignores the rich, hierarchical relationships between items, the ensembles they form, and the users who wear them. HFGN addresses this by organizing fashion data into a structured graph that captures high-order connectivity between all three levels.
Methodology
HFGN organizes data into a three-level hierarchical graph: Items (bottom), Outfits (middle), and Users (top). The model uses Graph Neural Networks (GNNs) to propagate information upward through these layers to refine representations.
Hierarchical Information Propagation
- Item-Level Propagation: Before forming outfits, item embeddings are refined by looking at their neighbors in a "category graph" constructed from co-occurrence frequencies (e.g., how often shirts are paired with jeans). This encodes coarse-grained compatibility into the base representations.
- Item-to-Outfit Propagation: Outfit representations are built by aggregating the refined embeddings of their constituent items. Unlike simple averaging, HFGN uses learned compatibility signals to weight the aggregation.
- Outfit-to-User Propagation: A user’s profile is refined by aggregating the representations of outfits they have interacted with, capturing their holistic "dressing style."
Joint Learning and Attention
The model is trained simultaneously on two tasks: Personalized Recommendation and Compatibility Matching. To identify which items are most influential in defining an outfit's style, HFGN employs a multi-view self-attention mechanism.
Datasets
The study utilizes the POG (Personalized Outfit Generation) dataset from Alibaba iFashion, which is currently the only large-scale dataset suitable for this task. It contains 1.01 million outfits, 583,000 individual items, and click actions from 3.57 million users. The authors filtered this to a high-quality subset of ~54k users and ~28k outfits for evaluation.
Key Results
HFGN significantly outperformed state-of-the-art baselines across both tasks:
- Recommendation: On the POG dataset, HFGN achieved a 9.35% improvement in Precision@10 over Neural Graph Collaborative Filtering (NGCF). It also outperformed specialized fashion models like FHN and FPITF by massive margins, proving that simple item-averaging is insufficient for outfit modeling.
- Compatibility: In "Fill-in-the-Blank" tests, HFGN achieved 87.97% accuracy, outperforming the previous SOTA model, NGNN (84.22%).
Key Insights
- Hierarchy Captures High-Order Connectivity: The graph structure allows the model to realize that if two users interact with the same outfit, or different outfits containing similar items, their tastes are closely linked.
- Compatibility as a Message: Instead of treating compatibility as a final output score, HFGN treats it as a "passing message" that refines embeddings before the recommendation occurs.
- Items Aren't Equal: The multi-view attention mechanism acknowledges that some items (like a flamboyant dress) define an outfit's style more than others (like basic socks).
Conclusion and Future Work
HFGN demonstrates that modeling the hierarchical nature of fashion data leads to superior recommendation performance. Future work could further refine these results by incorporating textual features (descriptions, tags) into the graph nodes and exploring "attentive" user profiling to prioritize a user's most recent or distinct style choices.
Summary updated