Automated Self-Supervised Learning for Recommendation

Lianghao Xia, Chao Huang, Chunzhen Huang, Kangyi Lin, Tao Yu, Ben Kao · DOI

TL;DR

This paper introduces AutoCF, a novel framework that automates the process of data augmentation for graph-based recommender systems. By learning to generate effective self-supervised signals, AutoCF overcomes the limitations of manual augmentation in existing contrastive learning methods, leading to more robust and accurate recommendations, especially in the presence of noisy or sparse data.

What Problem Does This Paper Address?

Recommender systems are crucial for navigating information overload, and Graph Neural Networks (GNNs) have become a leading approach for collaborative filtering (CF). To improve performance with limited data, contrastive self-supervised learning (SSL) has gained traction. However, current SSL methods for recommendation heavily rely on manually designed data augmentation strategies to create "contrastive views." This manual approach is brittle, failing to generalize across different datasets and tasks, and is susceptible to noise and data biases. The core problem is the lack of an adaptive and automated way to generate high-quality self-supervised signals for recommendation, making existing methods vulnerable to real-world data imperfections.

Methods

AutoCF tackles this by proposing a unified, automated framework for self-supervised learning in recommendation. Its key components are:

  • Automated Graph Augmentation: Instead of manual augmentation, AutoCF employs a "learn to mask" paradigm. This involves:
  • Infomax-based Semantic Relatedness: A mechanism to identify "centric" nodes within subgraphs by measuring their semantic relatedness. This helps in selecting informative parts of the graph for augmentation.
  • Gumbel Distribution for Masking: Using Gumbel noise to probabilistically select nodes for masking, enabling adaptive data augmentation.
  • Masked Graph Autoencoder: A generative self-supervised learning framework.
  • Graph Convolution-based Encoder: Captures high-order connectivity within the (masked) interaction graph.
  • Graph Self-Attention Decoder: Aggregates global information and reconstructs masked user-item edges, enhancing representation discrimination.
  • Unified Training Paradigm: The model is trained with a joint loss function that combines the recommendation objective with self-supervised objectives, including graph structure reconstruction and node-subgraph mutual information maximization.

Datasets

The authors evaluated AutoCF on three public datasets:

  • Gowalla: A location-based dataset recording user check-ins.
  • Yelp: User-venue rating interactions.
  • Amazon: User implicit feedback on book items.

These datasets represent different recommendation tasks (products, venues, locations) and varying degrees of sparsity and long-tail distributions.

Key Insights and Ideas

  • Manual Augmentation is a Bottleneck: The paper strongly demonstrates that relying on manual, heuristic-based data augmentation for SSL in recommendation is a significant limitation, leading to poor generalization and robustness.
  • Automation is Key: AutoCF's success hinges on its ability to learn how to augment data, rather than being told. This adaptive approach is crucial for handling diverse and noisy real-world data.
  • Infomax for Noise Filtering: The infomax-based semantic relatedness is a clever way to identify informative subgraphs and filter out noisy interactions during the augmentation process, leading to more robust gradients for training.
  • Generative SSL for Reconstruction: Using a masked graph autoencoder to reconstruct masked edges provides a powerful generative SSL signal that complements traditional discriminative contrastive methods.
  • Global Attention for Better Representations: The self-attention mechanism in the decoder helps aggregate global information, mitigating the over-smoothing issues common in GNNs and leading to more discriminative embeddings.

Key Results

  • Superior Performance: AutoCF consistently outperformed 14 baseline methods, including state-of-the-art GNN-based and SSL-enhanced recommenders, across all three datasets in terms of Recall@20, Recall@40, NDCG@20, and NDCG@40.
  • Robustness to Noise and Sparsity: The paper shows that AutoCF is significantly more robust to data noise and long-tail distributions compared to existing methods, as evidenced by experimental results and ablation studies.
  • Faster Convergence: AutoCF demonstrated faster convergence during training compared to other SSL methods, attributed to the improved gradients provided by its automated augmentation strategy.
  • Efficiency: Despite its advanced capabilities, AutoCF achieved competitive computational efficiency, comparable to other state-of-the-art methods.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper investigates hyperparameter sensitivity, some parameters (like the number of centric nodes and subgraph scale) still require careful tuning for optimal performance.
  • Scalability on Extremely Large Datasets: While the paper shows competitive efficiency on large datasets, further investigation into scalability on truly massive, web-scale datasets might be beneficial.
  • Interpretability: The paper presents a case study for interpreting semantic relatedness and embedding distributions, but further work could explore deeper interpretability of the learned augmentation strategies.
  • Generalization to Other Graph Tasks: While focused on recommendation, exploring the applicability of AutoCF's automated augmentation to other graph-based learning tasks could be a promising future direction.

Summary updated

BibTeX
@inproceedings{xia2023automated,
  author = {Lianghao Xia and Chao Huang and Chunzhen Huang and Kangyi Lin and Tao Yu and Ben Kao},
  title = {{Automated Self-Supervised Learning for Recommendation}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583336},
}
Figure