SocialCU: Integrating Commonalities and Uniqueness of Users and Items for Social Recommendation

Shuo Li, Mingxin GanResearch 2024

Abstract

Social recommendation (SR) based on Graph Neural Networks (GNN) presents a promising avenue to significantly improve user experience by leveraging historical behavior and social data. While socially connected users share certain preferences, their tastes in other items often diverge. Current GNN-based methods typically focus on commonalities, ignoring these unique individual preferences. Furthermore, GNNs often struggle with data sparsity. We propose SocialCU, a framework that combines GNNs and contrastive learning to capture both commonalities and uniqueness. Through adaptive data augmentation and dual contrastive learning, SocialCU refines node representations and mitigates sparsity. Extensive experiments on three real-world datasets demonstrate that SocialCU outperforms state-of-the-art methods.

The Problem: Beyond the "Clone Fallacy"

Social Recommendation systems are built on the "social correlation" hypothesis: socially connected individuals likely share similar tastes. Most modern SR models utilize Graph Neural Networks (GNNs) to aggregate features from a user’s social neighbors to predict future interactions.

However, this approach has two significant drawbacks:

  1. The "Clone" Fallacy: Existing models prioritize commonalities. If Michael and Emma are friends, the model attempts to make their preference embeddings nearly identical. In reality, while they might share a broad interest (e.g., movies), their specific tastes (e.g., sci-fi vs. documentaries) remain distinct. Over-emphasizing commonality leads to "wrong" recommendations driven by social pressure rather than personal preference.
  2. Sparsity and Over-smoothing: GNNs are prone to "over-smoothing," where node representations become indistinguishable after multiple layers. Additionally, social and interaction data are often sparse. Standard data augmentation techniques, like random edge dropping, can inadvertently isolate users and degrade the graph structure.
Social and interaction data vs. weaknesses in existing social recommendation models.

Methodology: The SocialCU Framework

SocialCU addresses these limitations by balancing commonalities and uniqueness through three core modules. The mathematical foundations of the model are defined using the notations in the table below.

Mathematical notations used in the SocialCU framework.

1. Adaptive Graph Augmentation (AGA)

To combat data sparsity without losing critical structural information, SocialCU employs AGA. Unlike random dropout, AGA calculates edge importance based on node degrees. It "protects" vital edges that maintain graph connectivity, ensuring that inactive users (those with few connections) do not become isolated during the training process.

2. Enhanced User Preference Perception (Social Level)

This module leverages "Social Triangles" to identify high-quality positive examples for contrastive learning. These include Friend Triangles (three mutually connected users) and Sharing Triangles (two friends who have interacted with the same item). By focusing on these structures, the model refines preferences influenced by social circles.

3. Enhanced Embedding Perception (Representation Level)

To prevent users from blending entirely into their social groups, SocialCU introduces "microvectors"—tiny, constrained perturbations added to embeddings. This forces the model to maintain a minimum distance between nodes in the embedding space, effectively preserving each user's unique "fingerprint."

The final model is optimized using a multi-task strategy that combines a standard Bayesian Personalized Ranking (BPR) loss with two auxiliary contrastive learning losses.

Experimental Evaluation

The framework was tested on three diverse real-world datasets: Douban-book, Yelp2021, and Epinions. These datasets vary in density, providing a robust testbed for handling data sparsity.

Key Results and Insights

  • Superior Performance: SocialCU consistently outperformed state-of-the-art baselines like SEPT, SHGCN, and LightGCN. For instance, on the Douban-book dataset, it achieved a 7.15% improvement in Precision@10 and an 8.63% improvement in Recall@10.
  • Resilience to Sparsity: SocialCU maintained a significant performance lead even for "cold-start" users with minimal interactions. The contrastive signals effectively compensate for missing data points.
  • Mitigating Over-smoothing: While many GNNs degrade after two layers, SocialCU remains stable across deeper architectures, proving that its uniqueness modules successfully counter the smoothing effect.
  • The Value of Uniqueness: The results confirm that modeling individual identity alongside social influence is crucial. A "Goldilocks" embedding space—dense enough for similarity but sparse enough for individuality—is key to accurate recommendation.

Conclusion and Future Directions

SocialCU demonstrates that integrating commonalities and uniqueness is vital for effective social recommendation. However, there are opportunities for further refinement:

  • Incorporating Side Information: Future versions could integrate user demographics or item attributes to further enhance preference modeling.
  • Complex Social Dynamics: The current model treats all social links as positive. Incorporating "negative" signals could provide a more nuanced view of social influence.
  • Temporal Evolution: Transitioning from a static framework to one that models how unique tastes and social circles evolve over time would better reflect real-world user behavior.

Summary updated

BibTeX
@inproceedings{li2024socialcu,
  author = {Shuo Li and Mingxin Gan},
  title = {{SocialCU: Integrating Commonalities and Uniqueness of Users and Items for Social Recommendation}},
  booktitle = {Research},
  year = {2024},
  doi = {10.21203/rs.3.rs-3889697/v1},
}
Figure