Document Clustering Games in Static and Dynamic Scenarios

Rocco Tripodi, Marcello Pelillo

TL;DR

This paper introduces a novel game-theoretic approach to document clustering, treating documents as "players" and clusters as "strategies." By combining an initial graph-based clustering step with evolutionary game dynamics, the system dynamically assigns clusters in a way that is globally consistent. It excels in both static and streaming data scenarios, outperforming traditional methods without always needing to know the number of clusters in advance.

What Problem Does This Paper Address?

Traditional document clustering algorithms—like matrix factorization (NMF), generative topic models, or partitional graph models (CLUTO)—suffer from two major drawbacks. First, they usually require you to know the number of clusters ($K$) in advance, which is often unrealistic in the real world. Second, they are typically designed for static datasets; they process the entire corpus at once.

If you have a continuous stream of data (like incoming tweets, emails, or news articles), these models have to be entirely recomputed as the dataset changes. This is computationally expensive and scales poorly. The authors tackle this by creating an incremental clustering algorithm that can handle streaming data sequentially and doesn't strictly require a predefined cluster count.

Methods

The authors frame clustering as a non-cooperative game played on a network.

  1. Data Preparation: Documents are processed using tf-idf and Latent Semantic Analysis (LSA) to extract semantic features and reduce dimensionality. These are mapped into a similarity graph using cosine distance, smoothed with a Gaussian kernel, and sparsified so only the strongest connections remain.
  2. Initial Clustering: A graph-based algorithm called Dominant Sets extracts highly cohesive, prototypical elements from the graph to form initial "core" clusters.
  3. Clustering Games: Documents act as "players" and clusters act as "strategies." Players from the initial core clusters are labeled; they are stubborn and always play their assigned strategy. The remaining unlabeled players play an "imitation game." They interact with their neighbors in the similarity graph and iteratively update their strategy (cluster membership) to maximize their payoff, essentially learning from the choices of similar peers.
  4. Evolutionary Dynamics: The system uses replicator dynamics (a concept from evolutionary game theory) to update player probabilities until the network reaches a Nash equilibrium—a state where no document can improve its clustering assignment by changing its mind.

Datasets

The evaluation uses 13 standard document datasets originally compiled for a comprehensive 2005 benchmark study by Zhong & Ghosh.

  • Examples: NG17-19, classic, sports, hitech, reviews, la1, tr11, etc.
  • Characteristics: They include a mix of news, reviews, and technical documents. They vary significantly in size (204 to 8,580 documents), vocabulary size, and class balance (3 to 10 classes).

Key Insights and Ideas

  • Global Consistency over Local Rules: Unlike simple streaming algorithms (like k-Nearest Neighbors) that only look at immediate neighbors to classify a new point, the game-theoretic approach allows cluster membership to emerge dynamically from network-wide interactions. This prevents arbitrary assignments for documents sitting on the ambiguous boundary between multiple clusters.
  • Handling the Unknown: By running the Dominant Set algorithm recursively with a strict similarity threshold, the system can discover natural "micro-clusters" and merge them through the game dynamics. This allows the system to effectively cluster data without needing $K$ as an input.
  • Labeled Players as Anchors: Treating a small subset of highly confident data points as "stubborn" players acts as a powerful structural anchor. These anchors guide the rest of the unlabeled network to a stable equilibrium, making the algorithm highly resistant to noise.

Key Results

  • Static Scenarios: The proposed Document Clustering Game (DCG) outperformed state-of-the-art generative models and graph partitioning algorithms on 10 out of 13 datasets in terms of Normalized Mutual Information (NMI), with improvements exceeding 5% on several datasets. It also substantially beat Non-negative Matrix Factorization (NMF) across the board in Accuracy.
  • Unknown Clusters: Even when the algorithm wasn't fed the target number of clusters ($K$), it still beat the baseline algorithms on 8 out of 13 datasets.
  • Streaming Scenarios: When simulating streaming data by feeding the datasets in 12 sequential folds, the game-theoretic model proved incredibly stable. Performance (NMI) fluctuated by only ~2% as new data was added. In contrast, a k-NN baseline was highly unstable and required nearly the entire dataset to achieve comparable accuracy.

Limitations and Future Work

Limitations: The method struggles slightly with small, highly unbalanced datasets. Because the graph sparsification step forces a minimum number of connections, elements of very small clusters can get overly influenced by larger clusters, causing the small clusters to be "absorbed" during the game dynamics. Additionally, when running without a predefined $K$, performance drops sharply if the initial Dominant Set step fails to accurately predict the natural number of clusters.

Future Work: The authors plan to apply this framework to non-textual data types. They also aim to adapt it for massive "big data" environments where datasets cannot fit into memory and must be processed in distributed chunks.

Summary updated

Abstract

In this work we propose a game theoretic model for document clustering. Each document to be clustered is represented as a player and each cluster as a strategy. The players receive a reward interacting with other players that they try to maximize choosing their best strategies. The geometry of the data is modeled with a weighted graph that encodes the pairwise similarity among documents, so that similar players are constrained to choose similar strategies, updating their strategy preferences at each iteration of the games. We used different approaches to find the prototypical elements of the clusters and with this information we divided the players into two disjoint sets, one collecting players with a definite strategy and the other one collecting players that try to learn from others the correct strategy to play. The latter set of players can be considered as new data points that have to be clustered according to previous information. This representation is useful in scenarios in which the data are streamed continuously. The evaluation of the system was conducted on 13 document datasets using different settings. It shows that the proposed method performs well compared to different document clustering algorithms.
BibTeX
@inproceedings{tripodi2016document,
  author = {Rocco Tripodi and Marcello Pelillo},
  title = {{Document Clustering Games in Static and Dynamic Scenarios}},
  booktitle = {ICPRAM (Revised Selected Papers)},
  year = {2016},
  url = {https://openreview.net/forum?id=YZKO-jLZurB},
}

Loading related content...

Figure