Abstract
Detecting political stances on social media is a complex task due to the nuanced emotional layers embedded in political discourse. This paper introduces PoliStance-VAE, a novel framework that utilizes a Variational Autoencoder (VAE) to disentangle specific emotional dimensions—Valence, Arousal, and Dominance (VAD)—from textual content. By explicitly modeling these latent emotional features alongside stance, the model achieves state-of-the-art performance on benchmark datasets, significantly outperforming strong baselines like BERTweet and GPT-4o, particularly in challenging cross-target scenarios.
Introduction
Stance detection aims to determine whether a text is in favor of, against, or neutral toward a specific target. While sentiment and stance are inherently correlated, existing models face two primary challenges: poor generalization across different targets and the use of low-granularity sentiment categories (e.g., Positive/Negative/Neutral) that fail to capture the complexity of political speech. This research addresses these gaps by integrating fine-grained emotional dimensions into a generative multi-task learning framework.
Methods
The core of the proposed approach is the PoliStance-VAE architecture, which leverages latent variable disentanglement to separate emotional features from general text content.
As shown in Figure 1, the process involves several key components:
- Target-Aware Encoding: Input tweets and target entities are processed through a RoBERTa-Large encoder to generate contextualized representations.
- Latent Disentanglement: The VAE maps these representations into four distinct latent variables: three dedicated to emotion (V, A, and D) and one for general "Content."
- Supervised VAD Learning: To ensure the latent variables capture meaningful emotional data, the model is supervised using continuous scores from the NRC-VAD lexicon.
- Text Reconstruction: A BART-Large decoder attempts to reconstruct the original tweet from the latent space, ensuring the preservation of critical context.
- Multi-Task Optimization: The model is trained simultaneously on stance detection, auxiliary sentiment classification, VAD score prediction, and text reconstruction.
Experimental Setup and Datasets
The model was evaluated on two major benchmarks:
- P-STANCE: A dataset of 21,574 tweets from the 2020 U.S. presidential election targeting Donald Trump, Joe Biden, and Bernie Sanders. The authors enhanced this dataset with 7-class sentiment labels generated via an advanced affective LLM (EmoLLMs).
- SemEval-2016 (Task 6): A standard dataset covering diverse targets like Climate Change and Atheism, utilizing 3-class sentiment labels.
Key Results
PoliStance-VAE demonstrated superior performance across both in-target and cross-target evaluations:
- In-Target Performance: On the P-STANCE dataset, the model achieved an average F1-score of 83.79, surpassing BERTweet (80.53) and zero-shot GPT-4o (81.79). On SemEval-2016, it reached an F1-score of 74.01.
- Cross-Target Generalization: The model showed remarkable robustness when tested on unseen targets. For instance, when trained on Bernie Sanders and tested on Joe Biden, it achieved an F1-score of 79.37, a significant improvement over the BERTweet baseline of 72.99.
- Ablation Study: Removing the VAD disentanglement module led to a dramatic 15.45% performance drop on P-STANCE, confirming that fine-grained emotional features are essential for high-accuracy stance detection.
Discussion and Conclusion
The findings suggest that emotion is the key to cross-target generalization. While traditional models often memorize target-specific vocabulary, disentangling underlying emotional dimensions allows the model to learn universal patterns of how support or opposition is expressed.
One limitation noted was the marginal utility of the text reconstruction module, likely due to the structural simplicity of short tweets. Future work will explore applying this framework to datasets with even richer human-annotated emotional data to further refine the disentangled representations. Overall, PoliStance-VAE represents a significant step forward in creating sentiment-aware models that can navigate the complexities of political discourse.
Summary updated