Abstract
Social recommendation systems typically leverage social ties under the assumption of "social homophily"—the principle that friends share similar preferences. However, empirical evidence suggests that real-world social graphs are often heterophilic, containing significant noise that can degrade recommendation performance. This paper introduces SHaRe (Social Heterophily-alleviating Rewiring), a data-centric framework that restructures social graphs by pruning noisy connections and adding preference-aligned edges. Combined with a contrastive learning task to refine user representations, SHaRe consistently improves state-of-the-art recommendation models across multiple datasets, demonstrating that refining the underlying data structure is as critical as model architecture.
Introduction
Social recommendation models have long relied on the social network to bridge the gap when user-item interaction data is sparse. The foundational assumption is that social connections serve as a proxy for shared interests. Yet, in practice, social ties are formed for myriad reasons—familial bonds, professional networking, or casual acquaintance—that do not necessarily translate to shared consumer tastes. When models treat these noisy social graphs as ground truth, they introduce informational redundancy and can actually degrade the quality of recommendations. This paper challenges the homophily assumption and proposes a method to extract reliable preference signals from inherently heterophilic networks.
The Problem: The Reality of Social Noise
By analyzing popular datasets such as LastFM, Douban, and Yelp, the authors empirically demonstrate that "preference-aware homophily" is remarkably low. In many cases, the distribution of shared interests follows a power-law distribution where the vast majority of social ties exhibit near-zero overlap in item preferences. For instance, in the Yelp dataset, the graph-wise homophily ratio was found to be a mere 0.0154. This quantitative proof suggests that most social graphs are poor proxies for user preferences, necessitating a way to filter out social noise to maintain recommendation accuracy.
The SHaRe Framework
To address these challenges, the authors propose SHaRe (Social Heterophily-alleviating Rewiring), a plug-and-play framework designed to enhance existing graph-based social recommendation models. SHaRe shifts the focus from model-centric complexity to a data-centric approach through two main components:
1. Social Graph Rewiring (SGR)
Instead of blindly trusting the original social network, SHaRe uses an encoder to learn user embeddings based strictly on their item interactions. It then calculates the cosine similarity between users to determine their actual preference alignment. Using these scores, the system "rewires" the graph by:
- Cutting existing social edges that show low or negative similarity.
- Adding new edges between users who demonstrate high preference similarity, even if they were not originally connected in the social graph.
To ensure stability, SHaRe employs a "warm-up" strategy, initiating the rewiring process only after the 10th epoch once user embeddings have stabilized.
2. Homophilic Relation Augmentation (HRA)
To prevent the rewiring process from introducing new noise, the authors integrate a contrastive learning task. They identify the most reliable "positive" pairs from the original social graph—those with the highest Jaccard similarity in item interactions—and apply an InfoNCE loss function. This forces the model to pull the embeddings of truly similar users closer together while pushing dissimilar ones apart, effectively calibrating the user representations.
Experimental Evaluation
The researchers evaluated SHaRe using three widely recognized public datasets:
- LastFM: A music recommendation dataset (1,892 users, 17,632 items).
- Douban: A social networking site for movies, books, and music (2,848 users, 39,586 items).
- Yelp: A business review platform (16,239 users, 14,284 items).
Additionally, synthetic sub-graphs with varying "graph-wise homophily ratios" were created to test the model's performance under different levels of social noise.
Key Insights and Results
SHaRe was tested as an enhancement for four state-of-the-art (SOTA) models: DiffNet, DiffNet++, LightGCN+social, and MHCN. The results were consistent across the board:
- Universal Improvement: SHaRe improved the performance of all baseline models across all datasets. On the Yelp dataset, SHaRe-enhanced models saw an average improvement of over 4% in Recall@10 and NDCG@10.
- The Power of Pruning: Ablation studies revealed that removing "bad" social ties (edge cutting) often contributed more to performance gains than adding new "good" ties, particularly in the Yelp and Douban datasets. This highlights the detrimental impact of social noise.
- Robustness to Heterophily: In synthetic experiments, SHaRe-enhanced models maintained high performance even when the initial social graph had extremely low homophily, whereas vanilla models saw their performance plummet as noise increased.
Conclusion and Future Work
SHaRe demonstrates that a data-centric approach—fixing the underlying graph structure—is a highly effective strategy for social recommendation. By acknowledging and mitigating the low homophily present in real-world data, SHaRe allows models to focus on truly informative signals.
Future research may explore more nuanced similarity metrics beyond Jaccard and Cosine similarity to capture latent interests. Additionally, addressing the computational overhead of similarity calculations for extremely large-scale graphs and adapting the framework for dynamic, evolving social relations remain important avenues for further development.
Summary updated