TL;DR
Real-world social networks are inherently noisy, often leading graph-based recommendation systems astray with task-irrelevant connections. To solve this, the authors propose Social Graph Invariant Learning (SGIL), a framework that avoids the impossible task of perfect graph cleaning by instead learning user preferences that remain invariant across multiple adversarially simulated noisy environments.
What Problem Does This Paper Address?
Graph-based social recommendation systems leverage the idea of social homophily—that our friends and connections influence what we like—to beat the classic "data sparsity" problem in collaborative filtering. By using Graph Neural Networks (GNNs), these systems map out high-order social relationships to predict user preferences.
However, real-world social graphs are incredibly noisy. Just because you follow a celebrity or a colleague doesn't mean you share their taste in books or restaurants. Directly feeding these noisy, task-irrelevant connections into a GNN can actually degrade recommendation performance.
While existing methods try to filter out this noise, they face a fundamental hurdle: there is no ground-truth label for what constitutes "noise" versus a "valid connection." The authors of this paper flip the script. Instead of trying to perfectly prune the graph, they ask: Can we learn stable, robust user preferences that persist despite the presence of diverse noisy environments?
Methods
SGIL tackles social graph denoising through the lens of Invariant Risk Minimization (IRM). The framework consists of two main components operating in an adversarial loop:
- Environment Simulation: The model uses $K$ independent, preference-guided environment generators parameterized by MLPs. Using a Gumbel-Softmax relaxation to maintain differentiability, these generators drop edges from the original social graph to simulate $K$ distinct, noisy social subgraphs (environments).
- Invariant Preference Learning: A GNN encoder (specifically LightGCN-S) extracts user and item representations within each simulated environment. Instead of optimizing a standard point-wise loss, the authors introduce a distribution-aligned, softmax-based empirical risk loss to align user preference distributions across all environments.
To ensure the learned preferences are truly robust, SGIL uses a variance-based invariance penalty alongside an adversarial training strategy. The environment generators act as an adversary, trying to maximize the variance of the loss across environments (i.e., making the environments as distinct and challenging as possible). Meanwhile, the recommendation encoder minimizes the loss and the variance, forcing it to find features that are invariant to whatever noise the generators throw at it.
Datasets
The authors evaluated SGIL on three widely used public social recommendation benchmarks:
- Douban-Book: A dataset capturing user-book interactions and social links from the Douban platform.
- Yelp: A business review dataset containing user-business interactions and social friendships.
- Epinions: A consumer review site dataset well-known for its explicit trust network.
For all datasets, 80% of interactions were used for training and 20% for testing. The authors also created semi-synthetic datasets by injecting varying proportions of fake social relations to explicitly test model robustness against extreme noise.
Key Insights and Ideas
- The Invariance Shift: Moving from filtering noise to surviving noise changes the game. By forcing the model to perform consistently across diverse, artificially degraded environments, it naturally latches onto the core, invariant social structures that matter for the recommendation task.
- Social Graphs Can Hurt Performance: The experiments revealed that raw, un-denoised social graphs actually caused standard GNN recommenders to perform worse than simple collaborative filtering on the Douban-Book dataset. This underscores the absolute necessity of denoising.
- Long-Tail Users Benefit Most: Sparsity analysis showed that SGIL provides the highest relative improvements for "low-activity" users. Because these users have few direct item interactions, they rely heavily on social signals; SGIL ensures those signals are stable and uncorrupted.
Key Results
SGIL consistently outperformed state-of-the-art graph-based recommenders and existing denoising baselines (like GBSR, ShaRe, and SEPT) across all metrics (Recall@N and NDCG@N):
- Baseline Improvements: Compared to the strongest baseline (GBSR), SGIL achieved relative improvements in NDCG@10 of 7.99% on Douban-Book, 10.47% on Yelp, and 5.97% on Epinions.
- Robustness to Extreme Noise: In semi-synthetic tests where fake social relations were injected, SGIL demonstrated remarkable resilience. At a high noise ratio ($\sigma = 2.0$), SGIL achieved roughly 28% gains over the backbone LightGCN-S model.
Limitations and Future Work
The primary trade-off in SGIL is computational complexity. Simulating $K$ environments and optimizing a softmax-based loss means that SGIL incurs roughly 1 to 3 times the total training time compared to the simpler LightGCN-S backbone. Although the authors note that SGIL converges quickly (often requiring $K < 5$), scaling this adversarial environment simulation to massive, industrial-scale web graphs remains a challenge for future engineering work.
Summary updated