Social Media Text Stance Detection Based on Large Language Models

Stance detection aims to analyze the attitude expressed in a text towards a given target. Social media texts are often short and evolve rapidly, which poses challenges for traditional stance detection methods due to sparse semantic information and inadequate representation of stance features. Additionally, many existing approaches overlook the role of sentiment information in stance detection. To address these issues, this paper proposes a stance detection method for social media texts leveraging large language models. A specially designed prompt template with explicit task instructions is employed to utilize the model’s pre-trained knowledge related to stance detection, mitigating the challenge of sparse semantic information. Furthermore, sentiment analysis tasks are integrated into the prompt instructions to guide the model’s focus on sentiment information, enriching the semantic cues for stance detection and addressing the underutilization of sentiment data. To enhance the model’s ability to extract and represent stance features, a task-specific adapter is integrated into the model. This improves the representation of stance features and enhances the overall performance of the model in stance detection tasks. Finally, the results from large language models with different architectures are integrated through ensemble voting to improve the stability of prediction results. To validate the method proposed in this paper, comparative experiments are constructed. The experiments conducted on the SemEval-2016 Task 6A dataset demonstrate that the proposed method achieves significantly better performance compared with existing benchmark methods.

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-05-01
DOI
https://doi.org/10.3778/j.issn.1673-9418.2408074
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Social Media Text Stance Detection Based on Large Language Models

SHILAP Revista de lepidopterología
Sentiment Analysis and Opinion Mining
article

Social Media Text Stance Detection Based on Large Language Models

article en

Abstract

Stance detection aims to analyze the attitude expressed in a text towards a given target. Social media texts are often short and evolve rapidly, which poses challenges for traditional stance detection methods due to sparse semantic information and inadequate representation of stance features. Additionally, many existing approaches overlook the role of sentiment information in stance detection. To address these issues, this paper proposes a stance detection method for social media texts leveraging large language models. A specially designed prompt template with explicit task instructions is employed to utilize the model’s pre-trained knowledge related to stance detection, mitigating the challenge of sparse semantic information. Furthermore, sentiment analysis tasks are integrated into the prompt instructions to guide the model’s focus on sentiment information, enriching the semantic cues for stance detection and addressing the underutilization of sentiment data. To enhance the model’s ability to extract and represent stance features, a task-specific adapter is integrated into the model. This improves the representation of stance features and enhances the overall performance of the model in stance detection tasks. Finally, the results from large language models with different architectures are integrated through ensemble voting to improve the stability of prediction results. To validate the method proposed in this paper, comparative experiments are constructed. The experiments conducted on the SemEval-2016 Task 6A dataset demonstrate that the proposed method achieves significantly better performance compared with existing benchmark methods.

SHILAP Revista de lepidopterología
China People's Public Security University (CN)
Quality Education
Openalex Percentile: Top 77%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.