Abstract
A knowledge graph (KG) consists of a set of interconnected typed entities and their attributes. Recently, KGs are popularly used as the auxiliary information to enable more accurate, explainable, and diverse user preference recommendations. Specifically, existing KG-based recommendation methods target modeling high-order relations/dependencies from long connectivity user-item interactions hidden in KG. However, most of them ignore the cold-start problems (i.e., user cold-start and item cold-start) of recommendation analytics, which restricts their performance in scenarios when involving new users or new items. Inspired by the success of meta-learning on scarce training samples, we propose a novel meta-learning based framework called MetaKG, which encompasses a collaborative-aware meta learner and a knowledge-aware meta learner, to capture meta users' preference and entities' knowledge for cold-start recommendations. Guided by two meta learners, MetaKG can effectively capture high-order collaborative relations and semantic representations, which could be easily adapted to cold-start scenarios. Besides, we devise a novel adaptive task scheduler which can adaptively select the informative tasks for meta learning in order to prevent the model from being corrupted by noisy tasks. Extensive experiments on various cold-start scenarios using three real data sets demonstrate that our presented MetaKG outperforms all the existing state-of-the-art competitors in terms of effectiveness, efficiency, and scalability.
Introduction
Modern recommender systems increasingly rely on Knowledge Graphs (KGs) to improve accuracy by connecting items through rich side information. For example, a movie recommendation system can leverage the fact that a user likes a movie directed by a specific individual who also directed other films. This allows models to learn "high-order" connectivity and semantic relationships.
However, KG-based models are typically data-hungry. In cold-start scenarios—where a new user has minimal interactions or a new item has no reviews—these models often fail. They cannot trace long paths through the graph without sufficient interaction data, leading to overfitting or generic recommendations. While meta-learning ("learning to learn") has addressed cold-start issues in other domains, previous recommendation methods often ignored KGs or used architectures that failed to capture complex, high-order relations.
Methodology: The MetaKG Framework
MetaKG frames recommendation as a meta-learning problem on a Collaborative Knowledge Graph (CKG), which merges user-item interactions with traditional KG entity relations. In this setup, learning the preferences of a single user is treated as a distinct "task."
The framework introduces three core components:
- Collaborative-aware Meta Learner (Local Update): This component focuses on the specific task at hand. It locally updates graph aggregation layers using a few gradient steps to quickly capture a specific user's personalized preferences based on their limited interactions.
- Knowledge-aware Meta Learner (Global Update): To prevent overfitting KG embeddings to specific users, this learner globally updates entity embeddings and attention layers across all tasks. It captures the universal semantic rules of the knowledge graph.
- Adaptive Task Scheduler: In sparse datasets, random task sampling can introduce noise. MetaKG uses an LSTM-based scheduler to predict task usefulness based on loss and gradient similarity, selecting the most informative tasks for training.
Experimental Evaluation
The model was evaluated on three standard public benchmarks: Yelp2018 (local businesses), Last-FM (music), and Amazon-book (products). To test cold-start capabilities, the authors created three strict evaluation scenarios: User Cold-start (UC), Item Cold-start (IC), and User-Item Cold-start (UIC).
Key Results
- Performance Gains: MetaKG consistently outperformed state-of-the-art models like KGAT, MeLU, and MetaHIN. In the UC scenario, MetaKG achieved average performance improvements of 62.14% on Yelp2018, 74.95% on Last-FM, and 67.28% on Amazon-book.
- Efficiency: Despite its sophisticated architecture, MetaKG is highly efficient. On Yelp2018, training takes approximately 3.2 seconds per epoch, with inference taking only 0.3 seconds.
- Ablation Study: Removing the knowledge-aware meta learner led to a significant drop in Recall@20 (~6%), confirming that global KG semantics are critical for success.
Discussion and Insights
A key insight of MetaKG is the separation of concerns. By splitting learning into local and global meta-learners, the model stabilizes the graph's semantic structure while remaining flexible enough to adapt to new user preferences. Furthermore, the Adaptive Task Scheduler proved vital; in sparse cold-start environments, treating all user signals as equal can be detrimental. Meta-learning here acts as a powerful regularizer, forcing the model to learn generalizable features rather than memorizing sparse training data.
Conclusion
MetaKG effectively addresses the cold-start problem in KG-based recommendations by combining a dual-learner architecture with an adaptive task scheduler. It achieves superior accuracy and efficiency compared to existing methods. Future work will focus on improving the interpretability of recommendations and exploring non-sampling learning methods to further enhance scalability.
Summary updated