Abstract
Modern recommender systems often struggle with data sparsity, where limited interaction data hinders accurate predictions. While Knowledge Graphs (KGs) provide valuable external information, existing methods often fail to capture the complex structural dependencies between users and target items effectively. This paper introduces the Adaptive Target-Behavior Relational Graph (ATBRG) framework. ATBRG constructs personalized sub-graphs by adaptively connecting a user’s historical behaviors to a target item and utilizes a relation-aware Graph Neural Network (GNN) to extract deep structural features. Evaluated on large-scale industrial and public datasets, ATBRG demonstrates superior performance, achieving a 5.1% Click-Through Rate (CTR) increase in Taobao's production environment.
Introduction
Personalized recommendation is a cornerstone of modern e-commerce. However, the challenge of data sparsity remains prevalent. Knowledge Graphs (KGs) have emerged as a powerful tool to mitigate this by incorporating entity relations (e.g., shared brands or categories). Despite their potential, current KG-based recommendation methods face significant limitations.
Path-based methods typically rely on pre-defined meta-paths, which are often independent and fail to capture the holistic "web" structure of the KG. Conversely, standard GNN-based methods often process the entire graph or use random sampling, which introduces noise by including irrelevant neighbors. Furthermore, these models frequently compute user and item embeddings independently, neglecting the specific context of a user's interaction with a particular target item.
Methodology: The ATBRG Framework
ATBRG addresses these issues through a two-stage process: Adaptive Graph Construction and a specialized Model Architecture.
Adaptive Graph Construction
Rather than operating on a static or randomly sampled graph, ATBRG builds a custom sub-graph for every user-item interaction. This involves two key steps:
- Graph Connect: The system identifies paths within the KG that link a user's historical behaviors (e.g., previously clicked items) to the current target item.
- Graph Prune: To maintain relevance and efficiency, "dead-end" entities that do not contribute to bridging the history to the target are removed. This results in a dense, highly relevant sub-graph that captures the specific structural context of the potential interaction.
Model Architecture
The ATBRG architecture is designed to process these adaptive sub-graphs effectively:
- Relation-aware Extractor Layer: Unlike standard GNNs that treat all edges equally, ATBRG employs a relation-aware attention mechanism. It distinguishes between different types of relations (e.g., "same brand" vs. "same category"), allowing the model to weigh structural connections based on their relevance to the target.
- Representation Activation Layer: This layer functions as a spotlight, "activating" historical behaviors that are most relevant to the target item. For instance, if a user is viewing a "Skirt," the model prioritizes past interactions with "Blouses" over unrelated items like "Shoes."
Experimental Evaluation
The effectiveness of ATBRG was validated using both industrial and public benchmarks.
Datasets
- Taobao Dataset: An industrial-scale dataset featuring 7.2 billion interactions and a KG containing 38 billion triplets.
- Yelp Dataset: A standard benchmark for local business recommendations, used to ensure consistency across different domains.
Key Results
ATBRG consistently outperformed state-of-the-art models, including DIN, DIEN, and KGAT. On the Taobao dataset, it achieved an AUC of 0.6181, a significant improvement in a high-scale production environment. On the Yelp dataset, it reached an AUC of 0.8958.
Crucially, the model was deployed in the Taobao App, where it delivered a 5.1% increase in CTR. Despite the complexity of per-interaction graph construction, the system maintains an impressive online inference latency of just 8 milliseconds.
Conclusion and Future Work
The success of ATBRG highlights the importance of capturing the "mutual influence" between users and items through adaptive structural modeling. By focusing on the "connective tissue" within KGs that actually matters for a specific recommendation, ATBRG minimizes noise and maximizes predictive accuracy. Future research may explore incorporating causal inference to better understand the underlying drivers of user behavior and further improve the interpretability of the recommendation process.
Summary updated