Abstract
Graph Contrastive Learning (GCL) has emerged as a powerful technique for addressing data sparsity in recommendation systems. However, traditional GCL methods often rely on complex graph augmentations that introduce noise and significant computational overhead. This paper introduces L2CL, a framework that abandons view-level augmentations in favor of contrasting representations across different GNN layers. By aligning a node's initial embedding with its one-hop neighborhood representation, L2CL achieves state-of-the-art performance with significantly improved training efficiency, delivering up to a 22x speedup over competitive baselines.
Introduction
Graph Neural Networks (GNNs) have revolutionized recommender systems by capturing multi-hop relationships between users and items. Despite their success, they frequently suffer from a "supervision signal shortage" due to sparse interaction data. To mitigate this, researchers turned to Graph Contrastive Learning (GCL), which creates self-supervised signals by comparing different "views" of the same graph (e.g., via random edge dropping).
However, these traditional GCL approaches have two major flaws: they introduce noise by potentially destroying critical structural information and they incur high computational costs due to the need for multiple deep graph convolutions. L2CL addresses these issues by shifting the focus from "view-level" contrast to "layer-level" contrast.
Methodology
L2CL leverages the natural hierarchy of a GNN to generate contrastive signals without modifying the underlying graph structure. It primarily focuses on the relationship between:
- Layer 0: The raw, initialized embedding of a user or item.
- Layer 1: The representation after one round of message passing, effectively an aggregation of immediate neighbors.
One-Hop Contrastive Learning
The core mechanism is One-Hop Contrastive Learning. Instead of symmetric contrasts (e.g., User L0 vs. User L1), L2CL pulls the Layer 0 embedding of a user closer to the Layer 1 representation of the items they have interacted with (and vice versa). This asymmetric, cross-type alignment better captures the collaborative signal inherent in bipartite user-item graphs.
Training Framework
L2CL uses LightGCN as its backbone—a simplified GNN that removes heavy feature transformations. The model is trained using a joint loss function that combines the standard Bayesian Personalized Ranking (BPR) loss with an InfoNCE contrastive loss to maximize mutual information (MI) between layers.
Theoretical Motivation and Key Insights
Using information theory, the authors demonstrate that deep GNN layers often exhibit significant "subgraph overlap," which introduces task-irrelevant redundancy. By focusing on a shallow, one-hop contrastive strategy, L2CL minimizes this noise while maximizing task-relevant information.
Key findings include:
- One-Hop Superiority: Contrasting 0-hop and 1-hop representations often outperforms more complex, high-order contrasts, suggesting that direct interactions are frequently under-exploited.
- Asymmetric Advantage: Cross-type alignment (User L0 vs. Item L1) is more effective than same-type alignment for capturing collaborative signals.
Experimental Results
The model was evaluated on five real-world datasets, including Yelp, Amazon Books, and QB-video (Tencent).
- Accuracy: L2CL consistently outperformed state-of-the-art baselines like SimGCL and NCL. On Yelp and Books, it showed an average improvement of ~7.4% in Recall@10.
- Efficiency: On the QB-video dataset, L2CL achieved a 22x speedup in total training time compared to SimGCL (4 minutes vs. 87 minutes).
- Robustness: The model showed the most significant gains for "cold-start" users with few interactions, proving its structural alignment is a powerful tool for overcoming data sparsity.
- Uniformity: t-SNE visualizations confirmed that L2CL learns a more uniform distribution of embeddings on the hypersphere, avoiding representation collapse.
Conclusion
L2CL demonstrates that an "embarrassingly simple" layer-to-layer contrastive strategy can outperform complex graph augmentation methods in both accuracy and efficiency. Future work may explore adaptive layer selection and the application of this logic to heterogeneous graphs with multiple node types.
Summary updated