Fast Few shot Self-attentive Semi-supervised Political Inclination Prediction

Souvic Chakraborty, Pawan Goyal, Animesh Mukherjee · DOI

Introduction

Understanding political leanings at scale is a critical task for social scientists, journalists, and policymakers. While social media platforms like Twitter provide a wealth of data for this purpose, traditional algorithmic approaches—particularly those relying on Graph Convolutional Networks (GCNs)—face significant practical hurdles. These models are often "data-hungry," requiring massive amounts of manually annotated training data. Furthermore, they rely on persistent relational graphs of users and their connections, which creates significant privacy concerns and conflicts with the GDPR "right to erasure" (Article 17). Finally, the computational latency involved in crawling "second-degree" features (friends of friends) makes these models slow and difficult to scale under API rate limits.

To address these challenges, this research introduces the Fast Self-attentive Semi-supervised Political Inclination Predictor (FSSPIP). FSSPIP is a novel framework designed to predict political inclination with high accuracy using minimal (few-shot) or even zero annotated data, while operating significantly faster than current state-of-the-art methods.

Methodology

FSSPIP moves away from persistent global graphs toward an agile, feature-based approach. The architecture is built on four primary pillars:

1. Multi-Modal Feature Extraction

Instead of relying on network topology, the model extracts 22 different feature types directly at inference time. These include hashtags, media domains, user bios, and mentions. To process the textual components of these features, the framework utilizes BERTweet, a pre-trained language model specifically optimized for the nuances of Twitter data.

2. Dynamic Self-Attention

Recognizing that not all features are equally informative for every user, FSSPIP employs a dynamic dot-product attention mechanism. This allows the model to learn which signals—such as a specific hashtag versus a user’s bio—are most predictive for a given individual, allowing for a more nuanced representation than static feature weighting.

3. Weak and Self-Supervision

To bypass the need for expensive manual labeling, the researchers utilize "silver labels." This approach assumes that followers of a specific political party's official handle likely share that party's leaning. Additionally, the model employs self-supervision by pre-training to predict masked non-textual features, allowing it to learn the underlying structure of political discourse without explicit labels.

4. Dynamic Augmentation

To ensure robustness in data-sparse environments, the framework uses techniques like Mixup, which creates synthetic user profiles by mixing features of real users. This, combined with feature dropout, prevents overfitting and improves performance in few-shot scenarios.

Experimental Evaluation

The model was evaluated across several diverse datasets to test its generalizability:

  • US Political Dataset: A benchmark of ~3,000 labeled Republican and Democrat users.
  • Media Bias Dataset: 806 media houses labeled by ideological leaning.
  • Indian Multi-party Dataset: A new dataset of 1,000 users following the BJP, INC, or AAP, testing the model in a non-English, multi-party context.
  • Thematic Datasets: Focused crawls on specific issues like #GunControl and #Vaccination.

Key Results and Insights

High Accuracy and Few-Shot Performance

FSSPIP achieved a remarkable 97.1% accuracy with only 50 training examples on the US "PureP" dataset. This significantly outperforms GCN-based baselines like TIMME, which require much larger datasets to reach comparable performance.

Zero-Shot Capabilities

The "silver label" strategy proved highly effective. Training on weak labels alone yielded a 93.7% zero-shot accuracy in the US context. In the more complex Indian multi-party system, the model achieved 81.9% accuracy without any manual training, demonstrating its ability to navigate multi-polar political landscapes.

Efficiency and Speed

By eliminating the need to crawl and process massive neighborhood graphs, FSSPIP is approximately 10x faster at inference than second-order relational models. This makes it viable for real-time applications and large-scale demographic studies.

Feature Importance and Temporal Stability

Ablation studies revealed that hashtags are the most influential feature type; their removal caused the most significant drop in model performance. Furthermore, the researchers found that political leanings are remarkably stable over time, with 91% of users maintaining consistent leanings in tweets spanning several years.

Privacy and Ethical Considerations

FSSPIP is designed with "Privacy by Design" principles. By collecting features at inference time rather than maintaining a permanent relational database, the model remains "stateless" regarding user connections. This ensures compliance with modern privacy laws like GDPR, as a user's data is not permanently embedded in a stored graph.

However, the authors acknowledge the potential for misuse by malicious entities for surveillance. To mitigate this risk, they advocate for the reporting of aggregate statistics rather than individual-level labels and emphasize that the tool should be used to support social science research rather than targeted profiling.

Conclusion

FSSPIP represents a significant step forward in political inclination prediction. By combining self-attention with weak supervision and multi-modal feature extraction, it provides a high-accuracy, high-speed, and privacy-respecting alternative to traditional graph-based models. Future work will focus on detecting implicit political leanings and integrating aspect-specific sentiment analysis to further refine the model's predictive power.

Summary updated

BibTeX
@inproceedings{chakraborty2022fast,
  author = {Souvic Chakraborty and Pawan Goyal and Animesh Mukherjee},
  title = {{Fast Few shot Self-attentive Semi-supervised Political Inclination Prediction}},
  booktitle = {ICADL},
  year = {2022},
  url = {https://openreview.net/forum?id=aevRdUjdso},
}
Figure