Stance Detection with Bidirectional Conditional Encoding

Isabelle Augenstein, Tim Rocktäschel, Andreas Vlachos, Kalina Bontcheva

Abstract

Stance detection is the task of classifying the attitude expressed in a text towards a target such as Hillary Clinton to be "positive", "negative", or "neutral". Previous work has assumed that either the target is mentioned in the text or that training data for every target is given. This paper considers the more challenging version of this task, where targets are not always mentioned and no training data is available for the test targets. We experiment with conditional LSTM encoding, which builds a representation of the tweet that is dependent on the target, and demonstrate that it outperforms encoding the tweet and the target independently. Performance is improved further when the conditional model is augmented with bidirectional encoding. We evaluate our approach on the SemEval 2016 Task 6 Twitter Stance Detection corpus achieving performance second best only to a system trained on semi-automatically labelled tweets for the test target. When such weak supervision is added, our approach achieves state-of-the-art results.

Introduction

Stance detection involves identifying whether a text expresses a "for" or "against" position toward a specific target. Unlike sentiment analysis, which focuses on the emotional tone of a message, stance detection is concerned with the position relative to a target—even if that target is not explicitly mentioned. This paper addresses two primary challenges: implicit targets and the "unseen target" problem, where models must generalize to new topics without target-specific training data.

Methodology: Bidirectional Conditional Encoding

The core innovation of this work is the Bidirectional Conditional LSTM (BiCond). Traditional models often encode the tweet and target independently. In contrast, conditional encoding builds a target-aware representation of the tweet by initializing the tweet-processing LSTM with the final state of a target-processing LSTM.

The BiCond architecture: the target sequence initializes the tweet sequence encoding in both directions.

As illustrated in the architecture above, the process begins by feeding the target (e.g., "Legalization of Abortion") into an LSTM. The final internal state of this target LSTM initializes the tweet-processing LSTM. By using bidirectional encoding, the model captures context from both directions, which is vital for the informal and often fragmented language found on Twitter. Additionally, the authors utilize unsupervised pre-training on a large unlabeled corpus (~395k tweets) to improve word embeddings.

Experimental Setup and Datasets

The model was evaluated using the SemEval 2016 Task 6 Twitter Stance Detection corpus:

  • Task A (Seen Targets): Five targets with labeled training data (Atheism, Climate Change, Feminism, Hillary Clinton, Abortion).
  • Task B (Unseen Target): A zero-shot scenario where the model is trained on Task A targets but tested on "Donald Trump" without any target-specific training labels.

Results and Discussion

The BiCond model demonstrates superior performance in both seen and unseen target scenarios. In the challenging Task B (unseen target), the model effectively transfers learned logic about stance expression to a novel topic.

Performance comparison on Task B (unseen target), highlighting the BiCond model's superior macro F1-score.

As shown in the results for Task B, the BiCond model achieved a macro F1-score of 0.4901, significantly outperforming the Bag-of-Words (BoWV) and standard LSTM (TweetOnly) baselines. The "aha moment" of this approach is that a tweet's representation is not static; it is encoded differently depending on the target it is being compared against. When augmented with a small amount of "weakly supervised" data (automatically labeled via hashtags), the performance improved further to 0.5803, setting a new state-of-the-art for the benchmark.

Conclusion

This work highlights that target-conditioned encoding is a powerful mechanism for stance detection, particularly when targets are implicit or unseen. While the model shows robust transferability, future work could integrate external knowledge bases or attention mechanisms to further refine the representation of complex social and political stances.

Summary updated

BibTeX
@inproceedings{augenstein2016stance,
  author = {Isabelle Augenstein and Tim Rocktäschel and Andreas Vlachos and Kalina Bontcheva},
  title = {{Stance Detection with Bidirectional Conditional Encoding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1084},
}
Figure