Wisdom in Sum of Parts: Multi-Platform Activity Prediction in Social Collaborative Sites

Roy Ka-Wei Lee, David Lo

TL;DR

Researchers have developed a framework that predicts a developer's activities on GitHub and Stack Overflow by analyzing their behavior across both platforms. By combining "direct" data (intra-site activity) with "cross-platform" data (inter-site activity), the model accurately recommends repositories to fork or questions to answer, effectively mitigating the "cold-start" problem for new users.

The "Cold-Start" and "Blind Spot" Problems

Most recommender systems on social collaborative platforms (SCPs) like GitHub and Stack Overflow operate in silos. If a prolific Java developer on GitHub joins Stack Overflow, the latter has no initial data to provide personalized recommendations—a classic "cold-start" problem.

Furthermore, a single platform only captures a slice of a developer's professional identity. This research addresses the "blind spots" of single-platform systems by arguing that a user’s interests are the "sum of parts" across their entire digital footprint. As illustrated in the conceptual model below, a user's interest in a specific technology (like LSTM or SVM) manifests as different actions across platforms, such as forking a repository on GitHub or answering a question on Stack Overflow.

Conceptual mapping of user interests across GitHub repositories and Stack Overflow questions.

Methodology: A Unified Prediction Framework

The authors proposed a multi-platform activity prediction framework consisting of three main stages: Data Extraction, Feature Construction, and Prediction.

  1. Data Extraction & Linkage: The team identified users with accounts on both platforms by matching email addresses and MD5 hashes. They extracted four primary activities: forking and watching on GitHub, and answering and favoriting on Stack Overflow.
  2. Feature Construction: Two types of similarity features were built:
  3. User Activity Interest Similarity: This measures how similar a new item (a repo or question) is to a user's past activities. This includes "Cross-Platform" similarity (e.g., how similar a Stack Overflow question is to the repositories a user forked on GitHub).
  4. User Co-Activity Interest Similarity: This leverages social signals by analyzing the interests of a user's "peers"—other users who have co-forked the same repositories or co-answered the same questions.
  5. Prediction: Using a Support Vector Machine (SVM) with a linear kernel, the framework was tested on four tasks: predicting if a user will answer a question, favorite a question, fork a repo, or watch a repo.

Datasets and Experimental Setup

The study utilized two massive real-world datasets spanning from October 2013 to March 2015:

  • GitHub: A MongoDB dump containing activities from approximately 2.5 million users.
  • Stack Overflow: An XML dataset containing information from approximately 1 million users.
  • Linked Dataset: By intersecting these, the authors identified 92,427 "base users" active on both platforms, forming the core of their experiment.

Key Insights

  • Interests are Portable: A developer who commits to Java-related repositories on GitHub is statistically much more likely to answer Java-related questions on Stack Overflow. Interests are person-specific rather than platform-specific.
  • Activity-Level Nuance: Interests should be learned at the activity level rather than aggregated at the platform level. For example, a user might watch many diverse repositories but only fork (contribute to) a very specific niche.
  • The Power of Peers: "Co-activity" features are highly predictive. If your "work buddies" (people you've collaborated with indirectly) are interested in a specific technology like XGBoost, you likely are too, even if you haven't interacted with it yet.
  • Expertise vs. Interest: The model performed better at predicting answering questions (which requires specific expertise) than watching repositories (which only requires general interest).

Results and Impact

Success was measured using the Area Under the ROC Curve (AUC). The "ALL" feature set, which combined direct, cross-platform, and social features, consistently outperformed single-source models.

  • Stack Overflow: The model achieved an AUC of 0.89 for predicting if a user would answer a specific question.
  • GitHub: The model achieved an AUC of 0.75 for predicting repository forks.
  • Cold-Start Success: Even when using only GitHub data to predict Stack Overflow behavior, the model achieved an AUC of 0.71. This proves that cross-platform data can effectively jump-start recommendations for new users who have no history on a specific site.

Future Directions

While successful, the authors noted challenges in account linkage due to increasing privacy restrictions on email hashes. Future work will explore "soft" linkage techniques like username matching and advanced NLP (e.g., Topic Models or Deep Learning) to better capture the semantic meaning of user interests beyond simple keyword matching. The ultimate goal is to expand this framework to other technical sites like Quora to create a holistic, multi-platform developer profile.

Summary updated

BibTeX
@inproceedings{lee2018wisdom,
  author = {Roy Ka-Wei Lee and David Lo},
  title = {{Wisdom in Sum of Parts: Multi-Platform Activity Prediction in Social Collaborative Sites}},
  booktitle = {WebSci},
  year = {2018},
  url = {https://openreview.net/forum?id=ftwhvHtkhCr},
}
Figure