Stance Detection with Collaborative Role-Infused LLM-Based Agents

Authors

  • Xiaochong Lan Department of Electronic Engineering, BNRist, Tsinghua University
  • Chen Gao Department of Electronic Engineering, BNRist, Tsinghua University
  • Depeng Jin Department of Electronic Engineering, BNRist, Tsinghua University
  • Yong Li Department of Electronic Engineering, BNRist, Tsinghua University

DOI:

https://doi.org/10.1609/icwsm.v18i1.31360

Abstract

Stance detection automatically detects the stance in a text towards a target, vital for content analysis in web and social media research. Despite their promising capabilities, LLMs encounter challenges when directly applied to stance detection. First, stance detection demands multi-aspect knowledge, from deciphering event-related terminologies to understanding the expression styles in social media platforms. Second, stance detection requires advanced reasoning to infer authors' implicit viewpoints, as stances are often subtly embedded rather than overtly stated in the text. To address these challenges, we design a three-stage framework COLA (short for Collaborative rOle-infused LLM-based Agents) in which LLMs are designated distinct roles, creating a collaborative system where each role contributes uniquely. Initially, in the multidimensional text analysis stage, we configure the LLMs to act as a linguistic expert, a domain specialist, and a social media veteran to get a multifaceted analysis of texts, thus overcoming the first challenge. Next, in the reasoning-enhanced debating stage, for each potential stance, we designate a specific LLM-based agent to advocate for it, guiding the LLM to detect logical connections between text features and stance, tackling the second challenge. Finally, in the stance conclusion stage, a final decision maker agent consolidates prior insights to determine the stance. Our approach avoids extra annotated data and model training and is highly usable. We achieve state-of-the-art performance across multiple datasets. Ablation studies validate the effectiveness of each role design in handling stance detection. Further experiments have demonstrated the explainability and the versatility of our approach. Our approach excels in usability, accuracy, effectiveness, explainability and versatility, highlighting its value.

Downloads

Published

2024-05-28

How to Cite

Lan, X., Gao, C., Jin, D., & Li, Y. (2024). Stance Detection with Collaborative Role-Infused LLM-Based Agents. Proceedings of the International AAAI Conference on Web and Social Media, 18(1), 891-903. https://doi.org/10.1609/icwsm.v18i1.31360