Scaling Choice Models of Relational Social Data

Jan Overgoor, George Pakapol Supaniratisai, Johan Ugander

Abstract

Discrete choice models are foundational in economics for understanding decision-making, yet they face significant computational hurdles when applied to massive social networks. This paper introduces a scalable framework for discrete choice modeling in large-scale relational data. By "de-mixing" mixture models into disjoint choice sets and utilizing stratified importance sampling, we enable the analysis of datasets with millions of nodes and hundreds of millions of events. Our approach, validated on synthetic data and the public Venmo transaction history, demonstrates that importance sampling can reduce estimation error by an order of magnitude while uncovering distinct behavioral dynamics in local versus global social contexts.

Introduction

In social networks, every interaction—whether a message, a payment, or a friend request—can be viewed as a relational event. These events are effectively "choices": when a user sends a payment, they select one recipient from millions of potential alternatives. While the conditional logit model is the standard tool for such analysis, it suffers from two primary limitations at scale. First, the $O(n)$ size of the choice set makes calculating probabilities across millions of alternatives computationally prohibitive. Second, standard mixture models, which account for heterogeneous human behavior (e.g., interacting with close friends vs. celebrities), do not easily integrate with negative sampling techniques used to accelerate computation.

Methodology

To bridge the gap between econometric theory and big data, we propose two primary innovations: de-mixing and stratified importance sampling.

De-mixing Mixture Models

Standard mixture models assume any choice could originate from any behavioral "mode." This creates a mathematical dependency that prevents simple negative sampling. We propose de-mixing, where modes operate over disjoint choice sets. For instance, a "Local Mode" might apply only to choices within a user's immediate social neighborhood, while a "Global Mode" applies to the rest of the network. This allows the mixture to collapse into independent conditional logit models that can be solved in parallel.

Stratified Importance Sampling

Uniformly sampling "negative" alternatives (those not chosen) is inefficient in social contexts where interactions are highly concentrated among friends. We employ stratified importance sampling, partitioning the network into buckets: friends, friends-of-friends (FoFs), and the remainder of the network.

Figure 1: Stratified sampling partitions the network into local (Friends, Friends-of-Friends) and global (Rest) neighborhoods to enable efficient de-mixing and importance sampling.

By oversampling from the local neighborhood and applying importance weights, we ensure the model accurately learns the subtle drivers of choice (like reciprocity) that are rare in the general population but dominant in social interactions.

Evaluation and Results

We validated our framework using both synthetic simulations and a massive real-world dataset of 501 million public Venmo transactions involving 25 million users.

Efficiency Gains

On synthetic data, importance sampling demonstrated a dramatic improvement in statistical efficiency. As shown in our benchmarks, it reduced the Mean Squared Error (MSE) of parameter estimates by an order of magnitude compared to uniform sampling, while maintaining consistency as the number of data points increased.

Figure 4: Comparison of Uniform vs. Importance sampling on synthetic data. Importance sampling significantly reduces Mean Squared Error (MSE) and provides more stable parameter estimates across varying sample sizes.

Venmo Social Dynamics

Our analysis of the Venmo dataset revealed that 82.9% of transactions occur within the local neighborhood. We found stark differences between behavioral modes:

  • Local Mode: Characterized by strong reciprocity and triadic closure. Users are highly likely to pay those who have paid them or share mutual friends.
  • Global Mode: Driven by a super-linear relationship with in-degree (popularity). High-degree nodes in this mode likely represent businesses or organizations rather than individual social peers.

Conclusion

Scaling discrete choice models to the level of modern social networks requires a departure from uniform sampling. By leveraging the inherent structure of social data through de-mixing and stratified sampling, researchers can maintain econometric rigor while processing hundreds of millions of events. Future work will explore extending these techniques to more complex latent class models and non-logit utility structures.

Summary updated

BibTeX
@inproceedings{overgoor2020scaling,
  author = {Jan Overgoor and George Pakapol Supaniratisai and Johan Ugander},
  title = {{Scaling Choice Models of Relational Social Data}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403250},
}
Figure