CoSD: Collaborative stance detection with contrastive heterogeneous topic graph learning

Yinghan Cheng, Qi Zhang, Chongyang Shi, Liang Xiao, Shufeng Hao, Liang HuKnowledge-Based Systems 2024

Abstract

Stance detection seeks to identify the viewpoints of individuals either in favor or against a given target or a controversial topic. Current advanced neural models for stance detection typically employ fully parametric softmax classifiers. However, these methods suffer from several limitations, including lack of explainability, insensitivity to the latent data structure, and unimodality, which greatly restrict their performance and applications. To address these challenges, we present a novel collaborative stance detection framework called (CoSD) which leverages contrastive heterogeneous topic graph learning to learn topic-aware semantics and collaborative signals among texts, topics, and stance labels for enhancing stance detection. During training, we construct a heterogeneous graph to structurally organize texts and stances through implicit topics via employing latent Dirichlet allocation. We then perform contrastive graph learning to learn heterogeneous node representations, aggregating informative multi-hop collaborative signals via an elaborate Collaboration Propagation Aggregation (CPA) module. During inference, we introduce a hybrid similarity scoring module to enable the comprehensive incorporation of topic-aware semantics and collaborative signals for stance detection. Extensive experiments on two benchmark datasets demonstrate the state-of-the-art detection performance of CoSD, verifying the effectiveness and explainability of our collaborative framework.

Introduction

Stance detection—determining if a person is "for" or "against" a target like "Climate Change" or "Legalization of Abortion"—is a critical task in natural language processing. Most current models use standard parametric softmax classifiers, which map a single text directly to a label. However, the authors identify three major flaws in this approach: a lack of explainability, insensitivity to latent data structures, and a unimodal assumption that fails to capture the multi-faceted reasons people hold specific stances.

To address these, the researchers introduced CoSD, a framework that treats stance detection as a "collaborative" problem. By building a heterogeneous graph that links texts through shared implicit topics, the model can identify subtle viewpoints and shared arguments that traditional classifiers miss.

Methodology

The CoSD framework utilizes Contrastive Heterogeneous Topic Graph Learning to bridge the gap between raw text and stance labels. The process begins with Implicit Topic Discovery, using Latent Dirichlet Allocation (LDA) to identify underlying themes (e.g., "Legislation," "Equity," "Health") that act as connective tissue between different texts.

The CoSD framework architecture, illustrating the collaborative training and hybrid inference stages.

As illustrated in the architecture above, the model constructs a Heterogeneous Graph where nodes represent texts, topics, and stance labels. A custom Collaboration Propagation Aggregation (CPA) module allows information to flow across multiple "hops" in the graph. This allows the model to "borrow" certainty from similar training examples; if Text A and Text B share a topic, the CPA module helps the model realize they likely share the same stance, even with different wording. Finally, a Contrastive Learning objective pulls similar stance representations together in the embedding space while pushing opposing ones apart.

Experimental Results

The authors evaluated CoSD on two widely used benchmarks: SemEval-2016 Task 6 (English tweets) and the UKP Dataset (argument sentences). CoSD outperformed 16 different baseline models, including heavyweights like BERT and specialized stance detection architectures.

Performance comparison on the SemEval-2016 Task 6 dataset, showing CoSD's improvement over existing state-of-the-art methods.

On the SemEval-2016 benchmark, CoSD achieved a 1.91% improvement in Macro-F1 and a significant 5.52% boost in Micro-F1 over previous state-of-the-art (SOTA) models. On the larger UKP dataset, it showed a 3.27% improvement in Macro-F1. Ablation studies confirmed that the "hybrid" approach—combining deep semantics from BERT with graph-based topic signals—is essential for this performance gain.

Conclusion

CoSD demonstrates that topics are more stable "connective tissue" than raw words for stance detection. By treating the dataset as a collaborative network, the model achieves superior accuracy and provides better explainability through its focus on meaningful topical phrases. Future work will focus on extending this collaborative logic to zero-shot stance detection for unseen targets.

Summary updated

BibTeX
@article{cheng2024cosd,
  author = {Yinghan Cheng and Qi Zhang and Chongyang Shi and Liang Xiao and Shufeng Hao and Liang Hu},
  title = {{CoSD: Collaborative stance detection with contrastive heterogeneous topic graph learning}},
  journal = {Knowledge-Based Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=F3qfVVGrUM},
}
Figure