Learning Social Graph for Inactive User Recommendation

Nian Liu, Shen Fan, Ting Bai, Peng Wang, Mingwei Sun, Yanhu Mo, Xiaoxiao Xu, Hong Liu, Chuan Shi

Abstract

Social recommendation systems leverage social connections to mitigate data sparsity, yet they often underperform for "inactive users" whose social graphs are both sparse and noisy. We present LSIR (Learning Social Graph for Inactive User Recommendation), a framework that refines social graphs by pruning low-quality edges and strategically adding connections between inactive users and "active interest clusters." By integrating graph structure learning with a novel mimic learning objective, LSIR achieves significant performance gains—up to 129% improvement in NDCG for inactive users on benchmark datasets.

Introduction

Social recommendation is theoretically ideal for inactive users—those with minimal interaction history—as it uses social circles to infer preferences. However, empirical analysis of real-world data, such as Alibaba's Taobao platform, reveals two critical bottlenecks:

  1. Inferior Quality: Many existing social links do not reflect shared interests. Analysis shows that random user pairs often exhibit interest overlaps similar to those of "friends" in the raw graph.
  2. Insufficient Quantity: Inactive users possess significantly fewer social connections than active users, providing a weak signal for recommendation engines.

Traditional Graph Neural Networks (GNNs) treat the social graph as ground truth, while existing Graph Structure Learning (GSL) methods are often too computationally expensive for industrial-scale applications.

Analysis of social graph quality and quantity for inactive vs. active users.

The LSIR Framework

To address these challenges, we propose LSIR, which refines the social graph through three distinct stages: Collaborative Encoding, Graph Structure Learning (GSL), and Mimic Learning.

The LSIR framework architecture, illustrating the refinement of social graphs through U2U deletion, U2C addition, and mimic learning.

Collaborative Encoding

The process begins by aggregating features from user-item interactions using a standard GNN. This creates initial embeddings that capture fundamental collaborative filtering signals.

Graph Structure Learning (GSL)

The core of LSIR is the refinement phase, designed for both quality and scalability:

  • U2U Deletion (User-to-User): Multi-head cosine similarity identifies and removes "noisy" social edges. An adaptive deletion ratio is employed: the fewer items a user has interacted with, the more conservative the model is about removing their limited social links.
  • U2C Addition (User-to-Cluster): To resolve sparsity without the $O(N^2)$ complexity of traditional GSL, LSIR clusters active users into "interest clusters." New edges are then created between inactive users and the "anchor" users representing these clusters. This keeps computational complexity linear.

Mimic Learning

To enhance the model's understanding of inactive users, we utilize a "MixUp" strategy. By mixing embeddings of active and inactive users, we create "pseudo-inactive" users. A contrastive loss (InfoNCE) then forces the model to map these pseudo-users to their original interest clusters, effectively teaching the model to discern user interests even when interaction signals are weak.

Experimental Results

LSIR was evaluated on public benchmarks (Flickr, Yelp) and large-scale industrial datasets (AliData I & II).

  • Performance Gains: On the Flickr dataset, LSIR improved NDCG by 129.58% over the best baseline (e.g., DiffNet++, SimGCL).
  • Scalability: On AliData II (100k+ users, 12M interactions), LSIR remained efficient where other GNN models failed due to memory constraints, delivering a 30.73% improvement in Hit Ratio.
  • Group Fairness: Improvements for inactive users did not come at the expense of active users; performance for the latter group was maintained or slightly improved.

Conclusion

LSIR addresses the dual challenges of noise and sparsity in social graphs for inactive user recommendation. By utilizing active users as "anchors" and employing an adaptive refinement strategy, the framework provides a scalable and highly effective solution for industrial recommendation systems. Future work will explore temporal dynamics and automated optimization of cluster counts.

Summary updated

BibTeX
@inproceedings{liu2024learning,
  author = {Nian Liu and Shen Fan and Ting Bai and Peng Wang and Mingwei Sun and Yanhu Mo and Xiaoxiao Xu and Hong Liu and Chuan Shi},
  title = {{Learning Social Graph for Inactive User Recommendation}},
  booktitle = {DASFAA},
  year = {2024},
  url = {https://openreview.net/forum?id=7MJngiQG50},
}
Figure