Cross-Target Stance Classification with Self-Attention Networks

Chang Xu, Cécile Paris, Surya Nepal, Ross Sparks

Abstract

Stance classification often fails when applied to new, unseen targets because models overfit to target-specific keywords. We present CrossNet, a neural architecture that leverages self-attention to identify domain-level aspects, enabling effective cross-target generalization. By focusing on broader domain concerns rather than specific entities, CrossNet achieves significant improvements in F1-score for cross-target tasks compared to existing baselines.

Introduction

Stance classification—determining if a text is "in favor of," "against," or "neutral" toward a target—is a critical task in social media analysis. However, traditional models are target-specific; a classifier trained on "Climate Change" typically performs poorly on "Mining Projects." Building labeled datasets for every new target is prohibitively expensive. This paper addresses the "cross-target" gap by proposing that related targets share a broader domain (e.g., environment, human rights). By identifying these shared domain-level aspects, models can generalize across targets.

Methods

CrossNet is designed to bridge the gap between source and destination targets through four primary layers:

  1. Embedding Layer: Words are represented using pre-trained GloVe vectors.
  2. Context Encoding Layer: A Bi-directional LSTM (BiLSTM) uses conditional encoding, where the target's representation initializes the sentence's LSTM. This forces the model to interpret the sentence specifically through the lens of the target.
  3. Aspect Attention Layer: This core component utilizes a self-attention mechanism to discover "domain-specific aspects." It calculates compatibility scores for words relative to the sentence's overall semantics, highlighting concepts like "equality" or "pollution" that transcend specific targets within a domain.
  4. Prediction Layer: A multilayer perceptron (MLP) produces the final stance label.
Architecture of the CrossNet model showing the flow from embedding to prediction.

Experimental Setup

The model was evaluated on the SemEval-2016 Task 6 benchmark, containing stance-bearing tweets on five targets: Climate Change (CC), Feminist Movement (FM), Hillary Clinton (HC), Legalization of Abortion (LA), and Donald Trump (DT). Additionally, a custom Australian Mining Project (AM) dataset was used for qualitative analysis to verify if a model trained on "Climate Change" could identify relevant aspects in "Mining" tweets.

Results and Discussion

CrossNet demonstrated superior generalization, outperforming the state-of-the-art BiCond model in nearly all cross-target configurations.

Performance comparison of BiLSTM, BiCond, and CrossNet across in-target and cross-target scenarios.

Key findings include:

  • Superior Generalization: CrossNet showed an average improvement of 6.6% in F1-score for cross-target tasks.
  • In-Target Boost: The model also improved in-target performance by about 3.0%, suggesting that identifying domain aspects helps even when the target isn't changing.
  • Transfer Ratio: CrossNet maintained a higher transfer ratio than baselines, proving it is more robust for generalization across related topics.
  • Qualitative Interpretability: Attention weight visualizations confirmed the model focuses on domain-relevant terms (e.g., "reef," "disaster") rather than target-specific noise.

Conclusion

While CrossNet shows promise, selecting the optimal "source" target currently relies on human intuition. Future work will focus on automating source selection and exploring multi-source learning to capture a wider array of domain aspects. Additionally, capturing rare target-specific nuances remains a challenge for attention-based generalization.

Summary updated

BibTeX
@inproceedings{xu2018cross,
  author = {Chang Xu and Cécile Paris and Surya Nepal and Ross Sparks},
  title = {{Cross-Target Stance Classification with Self-Attention Networks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-2123},
}
Figure