Abstract
Knowledge Graphs (KGs) are a vital resource for recommender systems, providing rich context about items. However, standard Graph Neural Network (GNN) approaches often suffer from "semantic pollution" by blurring distinct attributes during aggregation. This paper introduces the Attentive Knowledge Graph Attribute Network (AKGAN), a framework designed to preserve attribute independence through concatenation-based aggregation and a flexible interest-aware attention mechanism. AKGAN significantly outperforms state-of-the-art models across multiple benchmarks, particularly in scenarios with high interaction density.
Introduction
Knowledge Graphs (KGs) provide essential context for items—such as a movie's director, genre, or lead actors. However, most current Graph Neural Network (GNN) approaches suffer from "semantic pollution," where distinct attributes are accidentally blurred together during the message-passing process. Standard KG-based recommenders typically use weighted sums or averages to pool information from neighboring nodes. The authors, researchers at the Chinese Academy of Sciences, identify three major flaws in this approach:
- Semantic Pollution: Mixing signals (e.g., "actor" and "singer") loses the distinct nature of user preferences.
- Distance vs. Importance: Standard GNNs decay influence based on hop distance, even if a distant neighbor is highly relevant to a user's specific interest.
- Coarse-grained User Interests: Existing methods fail to capture that a user might only care about a specific subset of an item's attributes (e.g., watching a movie solely for its lead actor).
Methods
The Attentive Knowledge Graph Attribute Network (AKGAN) addresses these limitations through two primary modules: the Knowledge Graph Attribute Network (KGAN) and the Interest-aware Attention Network (IAAN).
Knowledge Graph Attribute Network (KGAN)
To prevent semantic pollution, KGAN adopts a heterogeneous design consisting of two key layers:
- Attribute Modeling Layer (AML): Instead of a single general embedding, each entity is embedded into multiple attribute spaces. These are then concatenated rather than summed, ensuring that information like "Actor" and "Director" remains in distinct vector slots.
- Attribute Propagation Layer (APL): This layer propagates information across the graph while maintaining these distinct element-wise slots, preventing the signal of important high-order neighbors from decaying prematurely.
Interest-aware Attention Network (IAAN)
On the user side, AKGAN uses a novel attention mechanism to distill which attributes a user actually cares about. Standard attention mechanisms (like softmax) force weights to sum to 1, which can dilute signals in attribute-rich items. IAAN introduces a new activation unit using Tanh and ReLU that allows the model to reserve the true intensity of a user's interest in specific attributes without this artificial constraint.
Evaluation and Key Results
The model was evaluated on three diverse benchmark datasets: Amazon-Book, Last-FM (high interaction density), and Alibaba-iFashion. AKGAN consistently outperformed state-of-the-art baselines like KGAT and KGIN:
- Significant Performance Gains: On the Last-FM dataset, AKGAN achieved a 23.62% improvement in Recall@20 and a 25.71% improvement in NDCG@20 over the strongest baseline.
- The Power of Concatenation: Ablation studies confirmed that replacing standard "sum" or "mean" pooling with concatenation dramatically improved performance by keeping attributes semantically separate.
- Explainability: The model provides clear "interest scores" for attributes, allowing for better interpretation of user behavior. For instance, it can accurately identify a user's deep interest in "trench coats" while showing indifference to "handbags."
Conclusion
AKGAN demonstrates that maintaining the purity of Knowledge Graph attributes is crucial for high-quality recommendations. By avoiding semantic pollution and employing a flexible attention mechanism, the model captures fine-grained user interests more effectively than traditional GNN-based approaches. Future work will focus on modeling the temporal dynamics of user interests and exploring complex feature interactions.
Summary updated