Dynamic Social Network Analysis using Latent Space Models

Purnamrita Sarkar, Andrew W. Moore

Introduction

Traditional social network analysis often treats relationships as static snapshots. However, real-world connections—such as friendships, communication patterns, or research collaborations—are inherently fluid. They "drift" over time as individuals' interests and social circles evolve.

To capture this evolution, researchers have introduced the Dynamic Social Network in Latent space (DSNL) model. This approach tracks how relationships in a social network change by mapping entities to moving points in a $p$-dimensional Euclidean space. By combining a two-stage optimization process with spatial data structures, the DSNL model achieves near-linear scalability, allowing it to analyze networks with over 11,000 entities—a significant leap over previous quadratic-time approaches.

The Challenge of Dynamic Networks

While "Latent Space Models" (which represent people as points in space where proximity equals a higher chance of a link) have proven successful for static data, applying them to dynamic data presents two major hurdles:

  1. Temporal Consistency: How do you ensure that the "map" of the network doesn't completely flip or rotate between time steps, making it impossible to track an individual's movement over time?
  2. Scalability: Calculating the likelihood of links between every possible pair of $n$ entities typically takes $O(n^2)$ time. For a network of 10,000 people, that requires 100 million calculations per time step, which is computationally prohibitive.

Methodology: Modeling Dynamic Networks

To make dynamic tracking tractable, the authors propose a model where each entity has a position $X_t$ that changes at each time step $t$.

Graphical model illustrating the Markov assumption for entity positions over time.

They utilize a Markov assumption: an entity's position today depends only on where it was yesterday, plus some small random "drift." To efficiently compute this, they introduced several key innovations:

  • The Sociability Radius: Instead of a global constant, each entity is assigned a "radius" based on its degree (number of connections). Popular individuals have larger radii, making them more likely to "reach" others in the latent space.
  • Kernelized Likelihood: The model uses a biquadratic kernel function that drops to zero beyond a certain distance. This "localizes" the math, meaning the algorithm only needs to evaluate entities that are relatively close to each other.
  • Two-Stage Optimization:
    1. Linear Approximation: The authors adapt Multidimensional Scaling (MDS) to include a temporal penalty, ensuring the new map remains similar to the old one. A Procrustes transform is applied to prevent the entire map from arbitrarily rotating or reflecting.
  • Nonlinear Search: The map is refined using Conjugate Gradient descent. Crucially, they use kd-trees to quickly find neighbors within an entity's radius, bringing the computational complexity down from $O(n^2)$ to $O(n \log n)$.

Datasets and Evaluation

The model was evaluated across three distinct datasets to test its accuracy and scalability:

  • Synthetic Data: Generated for six time steps with known "ground truth" drift and noise to test if the model could accurately reconstruct latent paths.
  • NIPS Co-publication Data: 12 years of data (1987–1998) tracking co-authorship among researchers at the NIPS conference.
  • Citeseer: A large-scale dataset used specifically to test the scalability of the algorithm up to 11,000 entities.

Key Insights and Results

Sparsity as a Feature

By using a kernel function that ignores distant pairs, the authors turned a dense computational problem into a sparse one. This allowed them to use spatial indexing (kd-trees) to ignore the "noise" of non-existent links. Furthermore, by framing social network analysis as a tracking problem (similar to radar tracking), they successfully leveraged established techniques like Kalman-filter-style updates to maintain temporal continuity.

Superior Accuracy and Scalability

In synthetic tests, the DSNL model consistently achieved higher AUC (Area Under the Curve) scores for link prediction compared to static MDS or simple frequency counting. Furthermore, the time taken to calculate the model's score grew nearly linearly with the number of entities, whereas standard approaches grew quadratically.

Real-World Evolution

When applied to the NIPS dataset, the model successfully visualized the "convergence" of famous researchers over time.

Latent space visualization of NIPS co-authorship data, showing the convergence of researchers like Jordan, Ghahramani, and Hinton.

For example, the latent space map clearly showed researchers like Michael Jordan, Zoubin Ghahramani, and Geoffrey Hinton moving closer together as their collaborative ties strengthened over the decade. The visualization also intuitively displays their "sociability radii" as circles, highlighting highly connected hubs.

Limitations and Future Work

While powerful, the DSNL model has a few limitations:

  • Tracking vs. Smoothing: The current model is a "tracking" model, meaning it only looks at the past to estimate the present. The authors suggest a "forward-backward" algorithm (smoothing) would be better for analyzing historical data where the future is already known.
  • Local Optima: Like many nonlinear optimization problems, the model can get stuck in local optima. While the two-stage approach mitigates this, it isn't a guaranteed global solution.
  • Dimensionality: The paper primarily focuses on 2D or low-dimensional latent spaces for visualization. How the model behaves in much higher dimensions—where kd-trees become less efficient—remains an open question for future research.

Summary updated

BibTeX
@inproceedings{sarkar2005dynamic,
  author = {Purnamrita Sarkar and Andrew W. Moore},
  title = {{Dynamic Social Network Analysis using Latent Space Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
}
Figure