Abstract
We present Graph Attention Collaborative Similarity Embedding (GACSE), a new recommendation framework that exploits collaborative information in the user-item bipartite graph for representation learning. Our framework consists of two parts: the first part is to learn explicit graph collaborative filtering information such as user-item association through embedding propagation with attention mechanism, and the second part is to learn implicit graph collaborative information such as user-user similarities and item-item similarities through auxiliary loss. We design a new loss function that combines BPR loss with adaptive margin and similarity loss for the similarities learning. Extensive experiments on three benchmarks show that our model is consistently better than the latest state-of-the-art models.
Introduction
Collaborative Filtering (CF) remains a cornerstone of modern recommender systems, leveraging the collective behavior of users to predict preferences. However, traditional approaches like Matrix Factorization often struggle with the inherent complexity and sparsity of real-world user-item interaction graphs. Standard models frequently treat all interactions with equal weight, failing to distinguish between significant preferences and incidental noise. Furthermore, they often overlook indirect collaborative signals—such as latent similarities between users who share similar tastes but have no direct overlap in items.
To address these challenges, we propose Graph Attention Collaborative Similarity Embedding (GACSE). GACSE enhances representation learning by integrating graph attention networks with a novel loss function designed to capture both explicit interactions and implicit structural similarities.
Methods
The GACSE framework employs a multi-layered architecture to refine user and item embeddings through structured propagation.
Two-Stage Embedding Propagation
The model processes the bipartite graph in two distinct stages:
- Warm-up Layer: Initially, a standard Graph Convolutional (GCN) approach aggregates information from neighbors using uniform weights. This stage establishes a baseline understanding of the graph's global structure.
- Attention Layer: Following the warm-up, an attention mechanism is applied to assign variable weights to different neighbors. This allows the model to prioritize the most informative interactions, effectively filtering out noise and focusing on the most relevant collaborative signals for each user or item.
Adaptive Margin BPR and Similarity Loss
Beyond architectural improvements, GACSE introduces a sophisticated training objective:
- Adaptive Margin BPR Loss: Traditional Bayesian Personalized Ranking (BPR) loss is augmented with an adaptive margin. This forces the model to create a larger separation between positive and negative items when they are structurally similar, leading to more robust ranking performance.
- Similarity Loss: By utilizing random walks to identify second-order neighbors (e.g., users with similar item sets), GACSE incorporates an auxiliary loss. This explicitly encourages the embeddings of similar entities to converge, even in the absence of a direct link, thereby mitigating the effects of data sparsity.
Experimental Results
GACSE was evaluated against state-of-the-art baselines, including NGCF and Multi-GCCF, across three large-scale datasets: Gowalla, Yelp2018, and Amazon-book.
The results demonstrate consistent superiority:
- Amazon-book: GACSE achieved a 7.16% improvement in NDCG and a 6.34% improvement in Recall over the strongest baseline.
- Gowalla: The model showed a 3.70% improvement in Recall.
Ablation studies highlighted the critical role of the new loss components. Removing the adaptive margin resulted in a performance drop of up to 15%, confirming that the training objective is as vital as the neural architecture itself.
Conclusion
GACSE represents a significant advancement in graph-based recommendation. By combining attention-driven propagation with a similarity-aware loss function, it effectively captures both explicit and implicit collaborative signals. Future work will explore the integration of side information (e.g., item metadata) and the application of GACSE to heterogeneous graphs with diverse interaction types.
Summary updated