Introduction
Inferring political leaning on social media has traditionally been a "loud person's game." Most existing models rely heavily on interaction data—such as who a user follows or retweets. While this approach is effective for political activists and party members, it often fails for the average user who engages with political content only occasionally. Furthermore, most research simplifies political landscapes into a binary "Liberal vs. Conservative" framework, ignoring the complexity of multi-party systems.
Researchers have developed HTIM (Hybrid Text-Interaction Modeling) to address these gaps. HTIM is a framework designed to identify the political leanings of "quiet" users in diverse, multi-party regional landscapes by combining what users say (text) with who they interact with (retweets).
Methods
HTIM is a fusion framework that integrates three distinct types of data to create a robust user representation:
- Interaction Features: The model uses graph-based methods like Relational Embeddings (RE), DeepWalk, and Node2vec to transform a user's retweet network into a mathematical vector.
- Tweet-Level Text: Individual tweets are processed using NLP techniques ranging from TF-IDF and Word2vec to advanced Transformer models like mBERT and XLM-RoBERTa.
- User-Level Text: To overcome the "short text" limitation of single tweets, the framework averages a user's tweet vectors to create a stable "author profile."
By concatenating these interaction and text vectors, HTIM can leverage network data when available and fall back on linguistic "anchor terms" (specific political keywords) when a user's social graph is sparse.
Datasets and Engagement Levels
The study focuses on the United Kingdom, specifically three regions with distinct multi-party systems: Scotland (SCT), Wales (WAL), and Northern Ireland (NIR). To test the model's robustness, the authors categorized users into three levels of engagement:
- Members: Officially affiliated or highly active users.
- Supporters: Users who follow five or more members of a specific party.
- Sympathizers: The most challenging group to classify—users who follow two or fewer members per party.
This tiered approach provides a benchmark for how inference models degrade as user activity decreases, highlighting the difficulty of classifying the "Sympathizer" group.
Key Insights
- The "Quiet" User Solution: While interaction-based models are highly effective for party members, their performance drops significantly for sympathizers. Adding text features (specifically TF-IDF) acts as a stabilizer, providing context that network connections lack.
- TF-IDF vs. Transformers: Interestingly, the "old school" TF-IDF often outperformed sophisticated Transformers in the hybrid model. This suggests that specific "anchor terms"—such as local politician names or policy jargon—are more predictive for political leaning than general semantic understanding.
- Ideological Blurring: The model faced challenges with parties sharing similar goals, such as the SNP and the Scottish Greens in Scotland. This indicates that political leaning is often defined by shared ideological confluences rather than just party labels.
Results and Performance
The HTIM approach, specifically the combination of RE + tfidf, achieved the best overall results with a macro-F1 score of 84.9 across all datasets.
For the most difficult "Sympathizer" group in Northern Ireland, adding text to the interaction model boosted the F1 macro score by over 15 points. While standalone text models were mediocre and standalone interaction models were volatile, the hybrid HTIM remained robust across all regions and engagement levels, proving that multi-modal data is essential for broadening the scope of political inference.
Summary updated