Introduction
Modern recommendation systems frequently leverage feature hierarchies (FH)—structured taxonomies like "Clothing > Women’s > Shoes"—to organize items. However, most existing models only exploit the vertical "parent-child" relationships within these hierarchies. This paper introduces HieVH, a novel framework that simultaneously models the horizontal dimension. By identifying whether sibling features are "complementary" (frequently co-purchased) or "alternative" (mutually exclusive), HieVH significantly enhances recommendation accuracy and interpretability.
The Challenge of Sparse Data and Rigid Hierarchies
Recommendation systems often struggle with data sparsity and the cold start problem, where new items or users have little historical interaction data. While using feature hierarchies helps by allowing systems to "borrow" knowledge from related categories, current approaches are limited:
- Flattening the Hierarchy: Treating specific tags like "Running Shoes" and "Formal Heels" as independent loses the structural context that they both belong to the "Shoes" category.
- Vertical-Only Influence: Modeling how a parent category (e.g., "Athletic Clothing") influences its children ignores how sibling categories (e.g., "Athletic Pants" vs. "Athletic Shoes") interact.
The authors argue that horizontal relationships—specifically distinguishing between substitutes and complements—are vital for capturing nuanced user intent.
The HieVH Framework
The HieVH (Hierarchical Vertical and Horizontal) framework is built upon a Latent Factor Model (LFM) with two core innovations:
Vertical Modeling ($\Phi$)
Instead of using a static item vector, HieVH adapts an item's latent factor by incorporating a weighted aggregation of all its ancestor features' latent factors. These weights are learned automatically, enabling the model to determine which level of the hierarchy (e.g., the broad "Clothing" level vs. the specific "Shoes" level) is most influential for a given item.
Horizontal Modeling ($\Psi$)
This component uses Item Co-occurrence (IC) to quantify relationships between sibling features:
- Alternative Relationships: For features rarely bought together (e.g., Men’s Shoes vs. Women’s Shoes), the model applies a regularizer that pushes their latent vectors apart.
- Complementary Relationships: For features often bought together (e.g., Athletic Shoes and Athletic Pants), the model pulls their latent vectors closer.
These constraints are integrated into a unified objective function that balances prediction error with structural hierarchy constraints.
Experimental Setup and Results
The researchers evaluated HieVH using four large-scale datasets from the Amazon Web Store: Clothing, Shoes & Jewelry; Electronics; CDs & Vinyl; and Home & Kitchen. These datasets feature deep hierarchies, some reaching up to seven layers.
Performance Gains
HieVH consistently outperformed six state-of-the-art baselines, including Matrix Factorization (MF) and Factorization Machines (FM). The model achieved an average 5.23% improvement in AUC across all datasets.
Addressing the Cold Start
A key strength of HieVH is its performance for "cold start" users (those with five or fewer ratings). The model showed a 5.11% improvement in this category, demonstrating that the structural information from the hierarchy effectively compensates for missing interaction data.
Key Insights
- The Power of Horizontal Signals: Analysis revealed that while leaf-level features are highly influential, horizontal relationships (like identifying "Women's Watches" and "Men's Watches" as complementary for gift-buyers) provide the nuance necessary for high-quality recommendations.
- Semantic Latent Space: By mapping complementarity to "closeness" and substitutability to "distance" in the latent space, the model naturally clusters items in a way that reflects real-world shopping behavior.
- Interpretability: Because HieVH explicitly tracks complementarity and alternativity, it can provide "explanations" for its outputs—for instance, recommending a bag because it complements a previously purchased pair of shoes.
Conclusion
HieVH demonstrates that exploiting the full structure of feature hierarchies—both vertical and horizontal—leads to more robust and interpretable recommendation systems. While the model depends on the quality of pre-defined hierarchies, its ability to learn layer weights and sibling relationships automatically makes it a powerful tool for tackling data sparsity in e-commerce. Future work may involve integrating broader Knowledge Bases to further enrich the horizontal dimensions of the model.
Summary updated