TIMME: Twitter Ideology-detection via Multi-task Multi-relational Embedding

Zhiping Xiao, Weiping Song, Haoyan Xu, Zhicheng Ren, Yizhou Sun

TL;DR

This paper introduces TIMME, a multi-task, multi-relational Graph Neural Network designed to predict the political ideology of Twitter users. By leveraging heterogeneous social network links (like, follow, retweet) rather than relying solely on text, TIMME overcomes challenges like sparse labels and the "silent majority" problem, significantly outperforming state-of-the-art models in both accuracy and computational efficiency.

What Problem Does This Paper Address?

Understanding the political ideology of ordinary citizens is highly valuable for social science and policy-making. Traditionally, this required expensive, labor-intensive surveys. While social media platforms like Twitter offer a massive alternative data source, they present unique challenges:

  1. The "Silent Majority": Most users consume content but rarely post their own political opinions, making text-based NLP approaches ineffective for the general population.
  2. Extreme Label Sparsity: Ground-truth political labels are usually only available for a tiny fraction of users (e.g., verified politicians), often accounting for less than 1% of the network.
  3. Heterogeneous Data: Twitter interactions aren't just simple connections; they come in multiple distinct flavors (follow, retweet, reply, mention, like) that mean different things.
  4. Scale and Incompleteness: The graphs are massive, and user features (like profile text) are often missing or incomplete. Existing Graph Neural Networks (GNNs) struggle to handle this specific mix of scale, sparsity, and heterogeneity without overfitting or consuming massive compute resources.

Methods

To tackle these issues, the authors propose TIMME (Twitter Ideology-detection via Multi-task Multi-relational Embedding).

  • Multi-Relational Encoder: TIMME uses a modified Graph Convolutional Network (GCN) that processes the five different types of Twitter relations simultaneously. Instead of splitting the graph into separate views, it uses a scaled dot-product self-attention mechanism to capture the complex interactions between different relation types during layer-wise propagation. It also elegantly handles missing input features by treating unknown feature rows as trainable parameters.
  • Multi-Task Decoder: To combat label sparsity, TIMME uses multi-task learning. The primary task is node classification (predicting ideology). The auxiliary tasks are link predictions for the five relation types. By forcing the model to learn the network's structure, it generates rich embeddings even for unlabeled users.
  • TIMME-hierarchical: A variant of the decoder that uses self-attention to weigh the importance of the different link-prediction losses, allowing the model to learn which specific types of interactions are most indicative of political ideology.

Datasets

The authors crawled and constructed a new political-centered Twitter dataset, which they have open-sourced as a benchmark for heterogeneous information networks.

  • It started with a seed of 583 US politicians and expanded to their followers/followees.
  • The data is split into four subsets based on user political engagement: PureP (politicians only), P50 (highly political users), P20~50 (moderately political), and P+all (a massive union set including random outliers, totaling ~20.8k users and ~6.5M links).
  • Labels are binary (liberal/conservative). To improve evaluation, the authors manually expanded the ground-truth labels from just the 583 politicians to about 3,000 users by parsing profile descriptions.

Key Insights and Ideas

  • Links Speak Louder Than Words: The authors found that network structure (who you interact with) is a stronger, less noisy predictor of ideology than the actual text of tweets. In fact, running TIMME with simple one-hot encoded node features (pure structure) outperformed using text-based GloVe embeddings.
  • "Follow" is the Ultimate Tell: The hierarchical decoder revealed that the follow relation contributes the most to accurate ideology prediction, outweighing likes, retweets, or mentions.
  • Interaction Asymmetry: Relations trigger each other differently depending on the user's political engagement. For highly political users, a like often leads to a retweet. For ordinary users, once they like a post, they are actually less likely to retweet it.
  • Twitter's Demographic Bias: By mapping user predictions geographically across the US, the authors confirmed that conservative voices are systematically under-represented on Twitter compared to actual offline voting demographics.

Key Results

  • Classification Accuracy: TIMME and TIMME-hierarchical consistently beat baseline models (GCN, r-GCN, HAN). On the largest and most difficult dataset (P+all), TIMME-hierarchical achieved an F1-score of 0.9580, compared to standard GCN (0.9076), r-GCN (0.9327), and HAN (0.9238).
  • Link Prediction: TIMME also dominated the auxiliary link prediction tasks, achieving ~0.99 ROC-AUC on follow links in the P+all dataset.
  • Efficiency and Stability: Unlike the baseline HAN (Heterogeneous Graph Attention Network), which easily overfits and requires >32GB of memory for the large dataset, TIMME is highly stable, robust to hyperparameter changes, and runs in under 4GB of memory.

Limitations and Future Work

  • Limitations: The model assumes a strict binary political spectrum (liberal vs. conservative), which oversimplifies real-world political nuances and centrist views. Furthermore, while it solves the "silent majority" problem on Twitter, it cannot account for the offline silent majority—people who simply do not use the platform (often rural populations).
  • Future Work: The authors suggest extending this multi-task, multi-relational framework to other social networks (like Facebook) and applying it to predict entirely different user tendencies, such as brand preferences or pop culture affinities.

Summary updated

BibTeX
@inproceedings{xiao2020timme,
  author = {Zhiping Xiao and Weiping Song and Haoyan Xu and Zhicheng Ren and Yizhou Sun},
  title = {{TIMME: Twitter Ideology-detection via Multi-task Multi-relational Embedding}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  url = {https://openreview.net/forum?id=7jWljjP5X42},
}

Loading related content...

Figure