Latent Multi-group Membership Graph Model

Myunghwan Kim, Jure Leskovec

TL;DR

The Latent Multi-group Membership Graph (LMMG) model is a generative framework that jointly models network topology and node features by allowing nodes to belong to multiple independent latent groups simultaneously. By tying group memberships to both a logistic feature model and flexible link-affinity matrices, LMMG enables highly accurate cross-modal predictions, such as predicting a node's links purely from its features, or vice versa.

What Problem Does This Paper Address?

In network analysis, researchers usually face a divide: models either excel at capturing graph topology (who connects to whom) or node attributes (user profiles, document text), but rarely both in a unified way. Traditional latent variable models decompose network structures based on hidden connectivity patterns but ignore rich node features. Conversely, relational topic models often force nodes into a single group or use restrictive distributions that fail to capture complex network behaviors like heterophily (opposites attract) or core-periphery structures.

This paper addresses the challenge of simultaneously modeling network links and node features. Doing so is crucial for real-world applications dealing with incomplete data, such as predicting missing user profile attributes based on a social graph, or recommending friends to a brand-new user based solely on their profile text (the classic cold-start problem).

Methods

The authors introduce the Latent Multi-group Membership Graph (LMMG) model, which relies on two key architectural innovations:

  1. Independent Multi-Group Membership: Unlike traditional topic models that use a multinomial distribution (where a node's total affinity across all groups must sum to 1), LMMG models group membership as a series of independent Bernoulli random variables. This means a node can highly belong to multiple groups at once without a zero-sum trade-off.
  2. Dual-Purpose Latent Groups: Each latent group simultaneously drives the generation of both node features and network links.
Figure 1. Latent Multi-group Membership Graph model. A node belongs to multiple latent groups at once. Based on group mem- berships features of a node are generated using a logistic model. Links are modeled via link-affinity matrices which allows for rich interactions between members and non-members of groups.
  • For Node Features: The probability of a binary feature being present is determined by a logistic model where the input features are the node's latent group memberships. The authors apply $L_1$ (LASSO) regularization to keep the feature-group relationships sparse and interpretable.
  • For Network Links: LMMG builds on the Multiplicative Attributes Random Graph (MAG) model. Each latent group $k$ is assigned a $2 \times 2$ link-affinity matrix ($\Theta_k$). The probability of a link between node $i$ and node $j$ is the product of the corresponding entries chosen from each group's matrix, based on whether the two nodes share group membership.
Figure 2. Plate model representation of LMMG model.

Because exact maximum likelihood estimation is computationally intractable due to the combinatorial explosion of latent states, the authors derive an efficient parameter estimation algorithm using coordinate ascent on a variational lower bound (applying Jensen's inequality) and Taylor expansions to approximate unlinked node pairs.

Datasets

The model was evaluated on four distinct real-world datasets containing both network structures and node attributes:

  • AddHealth (AH): A school friendship network (458 nodes, 2,130 edges) with 35 school-related features (e.g., GPA, courses taken).
  • Egonet (EGO): A Facebook ego-network (227 nodes, 6,348 edges) with 14 manually labeled binary features (e.g., same high school, same age).
  • Facebook100 (FB): A network of Caltech students (769 nodes, 33,312 edges) with 24 university-related features (e.g., major, dormitory).
  • WebKB (WKB): A hyperlink network of computer science webpages from Cornell University (195 nodes, 304 edges), using the occurrences of 993 words as binary features.

Key Insights and Ideas

  • The Power of the Matrix: By utilizing $2 \times 2$ link-affinity matrices for each group, LMMG can capture diverse structural paradigms—such as homophily, heterophily, and core-periphery structures—simultaneously across different latent dimensions.
Figure 3. Link structures modeled by link-affinity matrices.
  • Breaking the Multinomial Constraint: Switching from multinomial topic modeling to independent Bernoulli variables allows the network to represent realistic social scenarios. For instance, a user being a member of a "sports club" group doesn't mathematically force them to be less of a member of an "academic major" group.
  • Cross-Modal Synergy: Features and links act as regularizers for each other during training. The latent space is forced to find representations that are simultaneously predictive of both text/attributes and graph topology.

Key Results

The authors evaluated LMMG against several baselines, including Collective Classification (using Naive Bayes and Logistic Regression) and the state-of-the-art Relational Topic Model (RTM), across three predictive tasks:

  1. Predicting Missing Node Features: LMMG achieved the highest log-likelihood across all datasets, outperforming the runner-up by up to 23%.
  2. Predicting Missing Links: LMMG consistently outperformed baselines in log-likelihood and AUC. Notably, while RTM was competitive at predicting features, it failed significantly at link prediction, highlighting the necessity of LMMG's flexible link-affinity matrices.
  3. Supervised Node Classification: LMMG improved classification accuracy by up to 5% and log-likelihood by up to 20% compared to local network dependency methods.

Limitations and Future Work

  • Binary Feature Restriction: The current formulation of LMMG limits its focus to binary-valued features. While continuous or categorical features can be binarized (as done in the experiments), a native extension to continuous distributions would be more elegant.
  • Scalability: Although the authors developed an efficient variational approximation using Taylor series for non-edges, scaling the model to massive graphs with millions of nodes remains a challenge due to the coordinate ascent approach over all node-group pairs.

Summary updated

BibTeX
@inproceedings{kim2012latent,
  author = {Myunghwan Kim and Jure Leskovec},
  title = {{Latent Multi-group Membership Graph Model}},
  booktitle = {International Conference on Machine Learning},
  year = {2012},
}
Figure