Self-supervised Learning for Large-scale Item Recommendations

Tiansheng Yao, Xinyang Yi, Derek Zhiyuan Cheng, Felix X. Yu, Ting Chen, Aditya Krishna Menon, Lichan Hong, Ed H. Chi, Steve Tjoa, Jieqi Jay Kang, Evan Ettinger · DOI

TL;DR

This paper introduces a novel self-supervised learning (SSL) framework for large-scale item recommendation systems. By leveraging data augmentation and contrastive learning, the framework significantly improves item representation learning, especially for sparse and long-tail data, leading to better recommendation performance and successful deployment in a real-world commercial application.

What Problem Does This Paper Address?

Modern recommendation systems, like those used by e-commerce platforms or streaming services, often deal with massive item catalogs (millions to billions of items). A key challenge is that users interact with only a tiny fraction of these items, leading to a highly skewed, power-law distribution of user feedback. This sparsity makes it difficult for traditional supervised learning models to learn effective representations for "long-tail" items (those with very little interaction data). The paper aims to address this label sparsity problem by using self-supervised learning to improve item representations, thereby enhancing recommendation quality, particularly for less popular items.

Methods

The core contribution is a multi-task self-supervised learning (SSL) framework designed for large-scale item recommendation models, specifically two-tower deep neural networks (DNNs).

Here's a breakdown of the key techniques:

  • Two-Tower Architecture: The paper builds upon the common two-tower DNN architecture, where one tower encodes query features and the other encodes item features into embeddings. These embeddings are then used for recommendation.
  • Self-Supervised Learning (SSL) Task: The SSL framework introduces an auxiliary task to learn better item representations. This involves:
  • Data Augmentation: Creating two augmented versions of an item's features. The paper proposes Correlated Feature Masking (CFM), a novel method that intelligently masks features based on their mutual information (correlation). This is a key differentiator from standard augmentation techniques. They also explore Random Feature Masking (RFM) as a baseline.
  • Contrastive Learning: Using a contrastive loss function to encourage the embeddings of augmented versions of the same item to be similar, while pushing embeddings of different items further apart. This is inspired by contrastive learning methods in computer vision and NLP.
  • Multi-Task Training: The primary supervised recommendation loss and the auxiliary SSL loss are jointly optimized. This allows the SSL task to regularize and improve the item representations used in the main recommendation task.
  • Feature Sharing: The embedding layers for categorical features are shared between the supervised and SSL tasks, promoting efficient learning.

Datasets

The paper evaluates its framework on two large-scale datasets:

  • Wikipedia: A dataset focused on link prediction between Wikipedia pages, where each page is represented by categorical features (ID, n-grams, categories).
  • App-to-App Install (AAI): A proprietary dataset collected from a commercial app store, focusing on app recommendations. Each app is represented by categorical features (ID, developer name, categories, title unigrams).

The paper also mentions using a 10% down-sampled version of these datasets to specifically study the impact of data sparsity.

Key Insights and Ideas

  • SSL for Item Representation is Crucial: The paper strongly suggests that SSL is not just a regularization technique but a powerful way to learn semantically richer item representations, especially when data is sparse.
  • Data Augmentation Matters: The effectiveness of SSL is heavily dependent on the data augmentation strategy. Correlated Feature Masking (CFM) significantly outperforms random masking, highlighting the importance of exploiting feature relationships.
  • Sparsity Amplifies Gains: The benefits of SSL are most pronounced on "tail" items or in scenarios with less supervision (e.g., smaller datasets, less frequent items). This is a critical finding for real-world recommendation systems.
  • Complementary Information is Key: The contrastive learning approach, when applied to augmented views that retain complementary information, is more effective than methods that might lose too much information or create redundant views.
  • Beyond Image/Text: The paper demonstrates that SSL techniques, adapted for categorical features, can be successfully applied to recommendation systems, which have different data characteristics than vision or NLP tasks.

Key Results

  • Offline Performance: The proposed SSL framework with CFM consistently outperformed baseline models and other regularization techniques (Feature Dropout, Spread-out Regularization) on both Wikipedia and AAI datasets across various metrics (MAP@10, MAP@50, Recall@10, Recall@50). For example, on the AAI dataset, their method improved Recall@10 by 8.69% over the next best method.
  • Sparsity Impact: When trained on 10% of the data, the CFM method showed even larger relative improvements compared to the full dataset, demonstrating its robustness to data sparsity. For instance, on the 10% Wikipedia dataset, CFM improved Recall@10 by 20.6% compared to the baseline.
  • Head vs. Tail: The SSL framework showed larger gains on "tail" items than on "head" items. In AAI, Recall@10 improved by over 51.5% on tail items versus 8.57% on head items.
  • Live A/B Testing: The framework was successfully deployed in a web-scale commercial app recommender system. It led to significant improvements in key business metrics, including a +0.67% increase in overall user engagement and a +1.5% increase in a top business metric. Improvements were also observed for fresh apps (+4.5% engagement) and international markets with sparser data (+5.47% top business metric).
  • Qualitative Improvement: t-SNE visualizations of app embeddings showed that the SSL-trained model produced clusters that were more semantically coherent and better separated by category compared to the baseline model.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while their method improves performance, the exact impact of the SSL parameters (like the loss multiplier $\alpha$ and dropout rate $d_r$) needs careful tuning. They observed that too high a regularization strength or dropout rate could degrade performance.
  • The current framework focuses on item representation learning. While it's architecture-agnostic, its direct application to ranking models is mentioned as a potential extension.
  • Future Work:
    • Investigate different training schemes, such as pre-training with SSL and then fine-tuning on the supervised task.
  • Extend the technique for deep models in other application domains like search ranking or predictive click-through rate (pCTR) prediction.
  • Explore how different training schemes impact model quality.

Summary updated

BibTeX
@inproceedings{yao2021self,
  author = {Tiansheng Yao and Xinyang Yi and Derek Zhiyuan Cheng and Felix X. Yu and Ting Chen and Aditya Krishna Menon and Lichan Hong and Ed H. Chi and Steve Tjoa and Jieqi Jay Kang and Evan Ettinger},
  title = {{Self-supervised Learning for Large-scale Item Recommendations}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  doi = {10.1145/3459637.3481952},
}
Figure