计算机科学与探索2025,Vol.19Issue(5):1302-1312,11.DOI:10.3778/j.issn.1673-9418.2408074
基于大语言模型的社交媒体文本立场检测
Social Media Text Stance Detection Based on Large Language Models
摘要
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.关键词
立场检测/大语言模型/自然语言处理/多策略优化Key words
stance detection/large language models/natural language processing/multi-strategy optimization分类
计算机与自动化引用本文复制引用
李居昊,石磊,丁锰,雷永升,赵东越,陈泷..基于大语言模型的社交媒体文本立场检测[J].计算机科学与探索,2025,19(5):1302-1312,11.基金项目
中央高校基本科研业务费专项资金(2023JKF01ZK05). This work was supported by the Fundamental Research Funds for the Central Universities of China(2023JKF01ZK05). (2023JKF01ZK05)