Abstract
The RECipe framework introduces a multi-modal knowledge graph (MMKG) designed to handle three distinct recommendation tasks—behavior-based, text-based, and image-based—within a single unified system. By leveraging knowledge graph embeddings (KGE) and a novel KGE-guided variational autoencoder, the system outperforms traditional neural collaborative filtering and effectively addresses the "cold start" problem for new users.
Introduction
While recommendation systems (RSs) for media like movies and books are highly mature, recipe recommendation remains a complex and underserved frontier. Food is inherently multi-modal: consumer choices are driven by past behavior (historical preferences), textual descriptions (searching for specific flavors or dietary needs), and visual appeal (the aesthetic of a dish).
Existing solutions often suffer from three primary issues: modality silos, where systems focus on only one input type; the cold start problem, where new users lack historical data; and preference overlap, where a single user's diverse tastes (e.g., keto salads vs. decadent desserts) are averaged into a single, mediocre representation.
The RECipe Framework
The authors propose RECipe, a holistic framework built on a Knowledge Graph (KG) backbone. The system integrates three specialized subsystems to handle different recommendation modalities.
Multi-Modal Recommendation Subsystems
- Behavior-based Recommender: This subsystem utilizes the RotatE KGE model to predict links between "Person" and "Recipe" entities. It treats recommendation as a high-dimensional link prediction task, allowing the system to model complex user-item interactions.
- Review-based Recommender: To process natural language queries (e.g., "Thanksgiving meals"), the framework uses a fine-tuned MPNet to generate text embeddings. An Alignment Network then maps these NLP embeddings into the KG’s latent space, enabling the system to contextualize search queries within the graph structure.
- Image-based Recommender: This features a novel KG-Guided Variational Autoencoder (KG-VAE). Unlike standard VAEs, this model is guided by the KG embeddings of recipes during training. This forces images of similar recipe families to cluster together, significantly improving retrieval accuracy even with limited visual data.
Key Insights: Decoupling and Guidance
A pivotal innovation in RECipe is the "decoupling" of user preferences through Conditional Recommendation. Instead of a single node for a user, the system creates multiple nodes representing different preference clusters (e.g., "User A @ Spicy" and "User A @ Dessert"). This prevents the model from "blurring" distinct tastes, leading to sharper, more relevant suggestions.
Furthermore, the KG-VAE Guidance addresses the data-hungry nature of standard visual models. By using the Knowledge Graph to provide guidance signals, the authors achieved superior image-based retrieval with fewer training examples. This alignment also enables Zero-Shot capabilities, allowing the system to recommend recipes to brand-new users based solely on a short text description or profile.
Experimental Results
The researchers evaluated RECipe using structured Knowledge Graphs derived from Food.com and Allrecipes.com. The results demonstrate that the RotatE-based KG model consistently outperforms established neural baselines such as MLP, NeuMF, and CFGAN across standard metrics.
Key findings include:
- KGE Superiority: RotatE (at d=768) achieved the highest Hit@10, nDCG@10, and MRR@10 scores on both datasets.
- Contextual Gains: Incorporating sub-graphs (like ingredient-to-ingredient relationships) improved overall performance, proving that deeper food-domain knowledge enhances recommendations.
- Conditional Performance: Implementing user node decoupling provided a massive performance jump, with Hit@10 increasing by approximately 37% on the Food.com dataset compared to non-conditional versions.
Conclusion and Future Work
RECipe represents a significant advancement in multi-modal recommendation. While the system shows great promise, future work will focus on expanding the graph to include nutritional and health-specific data. Additionally, the authors plan to transition from K-Means to Gaussian Mixture Models (GMMs) for clustering, better reflecting the "fuzzy" and overlapping nature of culinary categories.
Summary updated