NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automatic Self-supervised Learning for Social Recommendations

Xin He, Wenqi Fan, Mingchen Sun, Ying Wang, Xin WangarXiv 2024 · DOI

TL;DR

AusRec introduces an automated framework for social recommendation systems that eliminates the need to manually design and tune self-supervised auxiliary tasks. By leveraging a meta-learning bi-level optimization framework, it dynamically weights multiple social relation tasks to maximize recommendation accuracy while avoiding performance-degrading "negative transfer."

What Problem Does This Paper Address?

Social recommendation systems leverage user-to-user relationships (like friendships or shared communities) to improve item recommendations. Recently, Self-Supervised Learning (SSL) has been used to mine unlabeled graph data for extra supervision signals. However, existing SSL social recommenders suffer from two major flaws:

  1. Manual Task Selection: Designers must carefully choose which social structures (e.g., 1-hop neighbors vs. complex triangle relations) to focus on based on domain expertise and specific datasets.
  2. Negative Transfer: Combining multiple self-supervised auxiliary tasks blindly can cause them to compete with or dominate the primary recommendation task, degrading overall performance.

The authors illustrate this challenge in a preliminary study, demonstrating how adding unweighted auxiliary tasks often hurts a baseline model rather than helping it.

Figure 2: Performance of multiple self-supervised auxiliary tasks for the advanced social

Methods

The authors propose AusRec (Automatic Self-supervised Learning for Social Recommendations). Instead of picking just one or two auxiliary tasks or manually tuning their weights, AusRec incorporates seven distinct Self-Supervised Auxiliary (SS-A) tasks simultaneously:

  • Triangle Relations: Social Triangle and Joint Triangle relations.
  • N-hop Neighbors: 1-hop, 2-hop, and 3-hop social connections.
  • Meta-paths: User-Item-User ($u-v-u$) and User-User-Item-User ($u-u-v-u$) paths.
Examples of the various structural social relations used as auxiliary tasks.

To balance these tasks automatically, AusRec utilizes a meta-learning optimization framework formulated as a bi-level optimization problem:

  1. Stage I (Hypothetical Update): The model performs a temporary update on the recommendation encoder (built on LightGCN) using the current task weights.
  2. Stage II (Meta Update): It evaluates the performance of this temporary encoder on a small validation "meta-dataset." An automatic weighting network (a 2-layer MLP) updates its parameters to minimize validation loss, effectively learning which tasks help the primary recommendation goal.
  3. Stage III (Actual Update): The recommendation encoder is officially updated using the newly optimized task weights.

During inference, the auxiliary tasks and weighting network are completely discarded, preserving standard inference speed.

The overall bi-level optimization framework of AusRec.

Datasets

The model was evaluated on three real-world datasets with varying graph densities:

  • LastFM: A music community dataset containing 1,880 users, 4,489 items, and a highly dense social network.
  • Epinions: A product review site with 5,957 users and 11,027 items.
  • DBook: A book rating dataset from Douban, representing the largest and sparsest graph in the study (13,024 users and 22,347 items).

Key Insights and Ideas

  • One Size Does Not Fit All: Different datasets benefit from entirely different social signals. For instance, joint triangle relations are highly critical for Epinions, whereas multi-hop meta-paths matter more for LastFM. AusRec automatically discovers these preferences during training.
  • Dynamic Instance Weighting: The meta-weighting network doesn't just assign a static weight per task; it dynamically scales weights based on the loss of individual instances, providing a fine-grained optimization landscape.
  • Zero Inference Overhead: Because the entire meta-learning and auxiliary task framework is only active during training, AusRec delivers state-of-the-art accuracy without increasing latency or memory consumption during deployment.
The convergence and variation of task weights across different datasets during training.

Key Results

AusRec consistently outperformed ten state-of-the-art baselines (including LightGCN, SGL, MHCN, and HGCL) across all datasets:

  • On Epinions, it achieved an 11.99% improvement in Recall@5 and a 5.49% improvement in NDCG@5 over the best baselines.
  • Across all scenarios, it improved Recall@10 by 3.3%–10.7% and NDCG@10 by 1.4%–7.1%.
  • Ablation studies confirmed that removing the automatic weighting mechanism (setting all task weights equally to 1) caused a significant drop in performance, proving the necessity of adaptive task balancing.

Limitations and Future Work

  • Structural Homogeneity: The current auxiliary tasks are primarily structural user-user graph relations (one-hop or multi-hop). They do not yet capture richer semantic features like group-level dynamics, contextual interactions, or temporal changes in social behavior.
  • Training Complexity: The bi-level meta-optimization loop increases computational complexity and training time compared to single-task models. Finding more efficient optimization strategies is a key direction for future research.

Summary updated

BibTeX
@misc{he2024automatic,
  author = {Xin He and Wenqi Fan and Mingchen Sun and Ying Wang and Xin Wang},
  title = {{Automatic Self-supervised Learning for Social Recommendations}},
  year = {2024},
  eprint = {2412.18735},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18735},
}
Figure