Group and Topic Discovery from Relations and Their Attributes

Xuerui Wang, Natasha Mohanty, Andrew McCallumNeurIPS 2005

This paper, "Group and Topic Discovery from Relations and Their Attributes" by Xuerui Wang, Natasha Mohanty, and Andrew McCallum, presents a significant step forward in Social Network Analysis (SNA). It moves beyond simple "who-knows-whom" links to incorporate the context of those interactions, simultaneously clustering entities into groups and text into topics.

The Problem: Disconnected Models

Traditional social network analysis often focuses on the presence or absence of a relationship—like a link between two people or a vote between two politicians. While "Block-models" have long been used to cluster entities based on these patterns, they typically ignore the attributes of the relationship.

For example, two Senators might vote together on environmental issues but oppose each other on tax reform. A standard block-model might average these behaviors, missing the fact that their "group" membership is actually dependent on the topic at hand. Conversely, standard topic models (like Latent Dirichlet Allocation) cluster text based on word co-occurrence but ignore how people actually behave regarding those topics.

The gap the authors address is the lack of a unified model that treats group membership as a function of the topic being discussed.

The Group-Topic (GT) Model

To bridge this gap, the authors introduce the Group-Topic (GT) model, a probabilistic framework that allows the "what" (textual attributes) to inform the "who" (group structure), and vice versa.

Graphical representation of the Group-Topic model and its notation

The GT model operates as a directed graphical model extending the stochastic block-model through three key mechanisms:

  1. Generative Process: For every event (like a Senate bill), the model first picks a latent topic. This topic generates the words describing the event. Simultaneously, the topic determines the group assignments for all participating entities. Finally, the observed relations (e.g., whether two people voted the same way) are generated based on which groups the entities belong to for that specific topic.
  2. Joint Inference: Instead of finding topics first and then groups (a serial approach), the GT model uses Gibbs sampling to learn both at once. If a set of bills has a very distinct voting pattern, the model might "pull" those bills into a specific topic, even if the words alone weren't perfectly clustered.
  3. Modality Balancing: Because there are usually many more word tokens than voting pairs, the authors use a weighting factor (raising the text likelihood to a power) to ensure the text doesn't completely overwhelm the relational data during training.

Datasets

The model was evaluated on two primary datasets:

  • U.S. Senate (1989–2005): Voting records for the 101st through 109th Senates, including the text of 3,423 resolutions.
  • United Nations General Assembly (1990–2003): Voting records for 192 countries on 931 resolutions, including resolution text.

Key Insights and Discoveries

  • Topics are Behavioral, Not Just Textual: One of the most striking findings was in the UN dataset. A standard text-only model grouped all nuclear-related resolutions into one "Everything Nuclear" topic. The GT model, however, split this into "Nuclear Nonproliferation" and "Nuclear Arms Race." Because countries vote very differently on managing waste versus the historic US-Russia arms race, the behavior (voting) revealed a topical distinction the words alone missed.
  • Dynamic Group Membership: The model captures "maverick" behavior. It identifies that certain Senators might cluster with the Democratic core on "Education + Domestic" topics but remain with the Republican core on "Economic" topics.
  • Mutual Reinforcement: The core breakthrough is that joint inference improves both sides of the coin. Using voting data makes the topics more relevant to real-world outcomes, and using text makes the groups more cohesive and better at predicting future behavior.

Quantitative Results

To measure success, the authors used the Agreement Index (AI)—a metric evaluating how similarly members of a group vote.

Average Agreement Index (AI) comparing the GT model to the baseline

The GT model produced groups with significantly higher AI scores ($p < 0.01$) compared to a baseline that performed topic and group discovery separately.

Qualitatively, the GT model discovered nuanced topics that baseline models missed. In the Senate data, it identified a "Social Security + Medicare" topic that had a very distinct voting pattern but lacked enough word-coherence to emerge in a text-only baseline.

Limitations and Future Work

While powerful, the model has a few limitations:

  • Hyperparameter Sensitivity: The number of topics ($T$) and groups ($G$) must be set manually. The authors chose these somewhat arbitrarily (e.g., 4 topics and 4 groups for the Senate).
  • Computational Weighting: The need for a manual "weighting factor" to balance text and relations suggests the model's performance is sensitive to the scale of the input data.

Future directions include extending the model to handle categorical, multi-dimensional, or continuous attributes, and applying it to academic citation networks where entities are authors and attributes are the text of the papers they cite.

Reference: Wang, X., Mohanty, N., & McCallum, A. (2005). Group and Topic Discovery from Relations and Their Attributes. Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI).

Summary updated

BibTeX
@inproceedings{wang2005group,
  author = {Xuerui Wang and Natasha Mohanty and Andrew McCallum},
  title = {{Group and Topic Discovery from Relations and Their Attributes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
  url = {https://openreview.net/forum?id=HJNbxuWObr},
}
Figure