Attentive Representation Learning with Adversarial Training for Short Text Clustering

Wei Zhang, Chao Dong, Jianhua Yin, Jianyong Wang · DOI

TL;DR

This paper introduces ARL-Adv, a novel method for clustering short texts that tackles the challenge of data sparsity by integrating representation learning and clustering with an attention mechanism. It further enhances robustness through adversarial training, leading to significant improvements over existing methods on various real-world datasets.

What Problem Does This Paper Address?

Short texts, like tweets or social media posts, are notoriously sparse and challenging to cluster effectively. Traditional methods struggle with this sparsity, leading to unsatisfactory results. Existing deep learning approaches often separate representation learning from the clustering objective, limiting their effectiveness. This paper aims to bridge this gap by creating a unified model that learns robust text representations tailored for clustering, specifically addressing the unique challenges of short, often noisy, text data.

Methods

The core of the proposed method, ARL-Adv, lies in its Attentive Representation Learning (ARL) component. It first uses word embeddings and a simple mean-pooling technique to create dense representations for short texts. The novelty comes with cluster-level attention, which learns the correlation between text representations and trainable cluster representations. This attention mechanism allows the model to determine cluster assignments.

To further improve robustness, ARL-Adv incorporates robust adversarial training. This involves injecting small, intentional perturbations into the cluster representations. The model is then trained to perform well on both original and perturbed data through a minimax game, optimizing model parameters to minimize reconstruction error while simultaneously optimizing perturbations to maximize it. This process enhances the model's resilience to noise and variations inherent in short texts. The entire process is trained end-to-end.

Datasets

The authors evaluated their model on four real-world short text datasets:

  • TREC: Derived from the Text Retrieval Conference (2011-2015 tweet tracks), organized by queries and relevance levels.
  • GoogleNews: Composed of news titles and snippets from Google News.
  • Event: Extracted from a tweet dataset crawled in 2016, with prior knowledge about events, time windows, entities, and keywords from Wikipedia.
  • StackOverflow: Created from questions posted on Stack Overflow, where tags are used as ground-truth cluster labels.

Key Insights and Ideas

  • Unified Representation Learning and Clustering: The paper demonstrates that jointly learning text representations and cluster assignments, rather than treating them as separate stages, leads to superior performance.
  • Cluster-Level Attention for Short Texts: Applying attention not just between words but between text representations and cluster representations is a key innovation for short text clustering.
  • Adversarial Training for Robustness: Injecting perturbations into cluster representations during training significantly improves the model's robustness and performance, especially for noisy short texts. This is a novel application of adversarial training in the unsupervised clustering setting.
  • Mean-Pooling's Effectiveness: Surprisingly, a simple mean-pooling technique for text representation proved more effective than complex methods for short texts, likely due to its simplicity and ability to avoid overfitting to noisy data.

Key Results

  • Superior Performance: ARL-Adv consistently outperformed several strong baselines, including traditional methods (K-means, LDA), deep learning general clustering models (DEC, VaDE), and specialized short text clustering methods (STCC, GSDMM, BTM), across all four datasets and three evaluation metrics (NMI, ARI, ACC).
  • Robustness Gains: The full ARL-Adv model showed significant improvements over its non-adversarially trained counterpart (ARL), particularly on datasets like GoogleNews, Event, and StackOverflow, highlighting the benefit of adversarial training.
  • Effective Component Contributions: Ablation studies confirmed the importance of each component: representation learning, cluster-level attention, and adversarial training. Removing adversarial training or cluster representation learning led to noticeable performance drops.
  • Qualitative Improvements: Visualizations using t-SNE showed that ARL-Adv generates highly separable semantic clusters compared to baselines. The learned topical words also demonstrated a better ability to capture nuanced semantic relationships.
  • Cluster-Based Retrieval Application: ARL-Adv's generated clusters also improved performance in a downstream cluster-based retrieval task, demonstrating its practical utility.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper explores the influence of hyperparameters like $\alpha$ (adversarial strength) and $\epsilon$ (perturbation norm), it notes that optimal values can vary across datasets. The authors suggest that a proper scope for $\epsilon$ is crucial for reasonable results.
  • Streaming Data: The current work focuses on the general clustering setting. The authors mention that adapting the model to streaming short texts is a direction for future work.
  • Computational Cost: While comparable to other methods, the training time for ARL-Adv is still a factor, especially for very large datasets. However, the authors note that adversarial training does not add a prohibitively heavy burden.

Summary updated

BibTeX
@article{zhang2019attentive,
  author = {Wei Zhang and Chao Dong and Jianhua Yin and Jianyong Wang},
  title = {{Attentive Representation Learning with Adversarial Training for Short Text Clustering}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2019},
  doi = {10.1109/tkde.2021.3052244},
}
Figure