Cheap and Cheerful: Trading Speed and Quality for Scalable Social-Recommenders

Anne-Marie Kermarrec, François Taïani, Juan Manuel TiradoDAIS 2015

TL;DR

This paper tackles the challenge of providing accurate and scalable recommendations in massive social networks. The authors propose a method that combines graph-based and content-based features using supervised classifiers, and crucially, introduce data grouping to significantly reduce training time without sacrificing recommendation quality. This work is important because it addresses the practical trade-off between recommendation accuracy and computational cost, a critical factor for deploying systems in real-world, large-scale environments.

What Problem Does This Paper Address?

Recommender systems are essential for navigating the overwhelming amount of information on online platforms, especially social networks like Facebook, Twitter, and LinkedIn. These platforms deal with millions of users and vast amounts of data, demanding recommendation algorithms that are not only accurate but also lightweight and scalable to distributed infrastructures. While traditional methods often rely on simple topological metrics (like common neighbors) which are fast but can be suboptimal, more advanced supervised classifiers offer better accuracy by learning complex patterns. However, training these sophisticated models can be computationally expensive, posing a significant barrier to their practical deployment. This paper addresses the gap in understanding the trade-off between the computational cost of advanced recommendation techniques and the quality gains they offer, aiming to provide practical solutions for scalable social recommenders.

Methods

The core of the proposed approach lies in using supervised classifiers to predict user connections, thereby recommending potential links or content. The authors leverage a combination of:

  • Score Functions: They utilize various similarity metrics, categorized into content-based (e.g., Jensen-Shannon divergence, Jaccard coefficient on user-generated text) and graph-based (e.g., Jaccard coefficient, Adamic-Adar on social connections). These functions quantify the similarity between two users.
  • Supervised Classifiers: Instead of relying solely on these scores, they train classifiers (like gradient boosted models, decision trees, random forests) using these scores as features. The classifiers learn to predict the probability of a connection based on a combination of these features.
  • Data Grouping: To mitigate the high computational cost of training, they introduce a novel data grouping strategy. Users are partitioned into groups based on their number of outgoing links (followers). The intuition is that users with similar numbers of connections might share similar characteristics, allowing for more efficient and personalized model training within each group. This approach aims to reduce training time and potentially improve recommendation quality by creating more focused models.

Datasets

The evaluation was performed using a dataset extracted from Twitter via its public API. This dataset comprises:

  • 106,385 users.
  • 11,111,386 following links.
  • 21 million tweets.

The data was collected for users in the London area, focusing on their tweets and following lists prior to July 28th, 2013. This is a real-world dataset, reflecting the complexity and scale of social network data.

Key Insights and Ideas

  • The Trade-off is Real and Quantifiable: The paper provides concrete evidence that there's a significant trade-off between the computational cost of training advanced recommenders and the quality of recommendations. This is a crucial insight for practitioners making design decisions.
  • Supervised Classifiers Outperform Unsupervised: By combining multiple similarity metrics (graph and content) and training them with supervised classifiers, the authors achieve a substantial improvement in recommendation quality compared to using single-score, unsupervised methods.
  • Data Grouping is a Game Changer for Scalability: The introduction of data grouping based on user followings is a key contribution. It significantly reduces training time (up to 6x) while often improving recommendation quality, making complex models more feasible for large-scale deployment.
  • Context Matters for Grouping: The effectiveness of grouping can depend on the dataset. While grouping by the number of outgoing links proved beneficial here, exploring other grouping strategies (e.g., based on topology) is a promising avenue.

Key Results

  • Improved Recommendation Quality: The proposed approach, combining supervised classifiers with graph and content features, improved recommendation quality by up to 22% compared to lightweight, unsupervised solutions.
  • Significant Speedup: Data grouping reduced the average training time for classifiers by a factor of 6.
  • Classifier Performance: The gbm (Gradient Boosted Modelling) classifier generally yielded the best results across various scenarios.
  • Impact of Social Distance: Increasing the social distance d used for selecting training examples generally improved recommender performance.
  • Graph vs. Content: Graph-based recommenders were generally more accurate than content-based ones, especially for users with more followings.

Limitations and Future Work

  • Dataset Specificity: The authors acknowledge that the observed improvements from combining graph and content-based features might vary across different datasets.
  • Grouping Strategy: The paper explored one specific grouping strategy (based on the number of outgoing links). They suggest that exploring other grouping techniques, particularly those based on topological features, is a promising direction for future work.
  • Evaluation Completeness: The authors admit that the evaluation presented is not exhaustive and that many aspects of recommendation systems remain to be explored.
  • Future Directions: They plan to extend their study to investigate the effects of different data grouping strategies on recommendation quality and scalability, and to evaluate their approach on other datasets. They also highlight the potential for parallelization of the recommendation process due to reduced training times.

Summary updated

BibTeX
@inproceedings{kermarrec2015cheap,
  author = {Anne-Marie Kermarrec and François Taïani and Juan Manuel Tirado},
  title = {{Cheap and Cheerful: Trading Speed and Quality for Scalable Social-Recommenders}},
  booktitle = {DAIS},
  year = {2015},
  doi = {10.1007/978-3-319-19129-4\_11},
}
Figure