基于PPLM模板增强的零样本方面类别情感分析模型  

Zero-Shot Aspect Category Sentiment Analysis Model with Enhanced PPLM Template

在线阅读下载全文

作  者:凤丽洲 李梦莎 王友卫[2] 杨贵军 FENG Lizhou;LI Mengsha;WANG Youwei;YANG Guijun(School of Statistics,Tianjin University of Finance and Economics,Tianjin 300222,China;School of Information,Central University of Finance and Economics,Beijing 100081,China)

机构地区:[1]天津财经大学统计学院,天津300222 [2]中央财经大学信息学院,北京100081

出  处:《计算机科学与探索》2025年第5期1322-1333,共12页Journal of Frontiers of Computer Science and Technology

基  金:国家社科一般项目(20BTJ058);天津市研究生科研创新项目(2022SKY349)。

摘  要:如今方面类别情感分析(ACSA)因标注数据稀缺而受限,如何在无特定情感标注数据下实现有效分析成为研究挑战。将零样本方面类别情感分析任务转换为自然语言推理(NLI)任务,针对传统提示模板面临语义表达不充分的问题,提出了一种基于PPLM文本限制生成模型的原因补充提示模板,结合情感极性和其原因,使得模板可以帮助模型更好地理解情感背后的原因和动机,从而提高情感分析的准确性和可解释性。为了进一步提升ACSA的分类性能,引入了性能逆序系数来确定文中多种提示模板的集成权重。在公共数据集MAMS和Restaurant的实验结果表明该模型相较于其他零样本ACSA模型,在准确率ACC上提升约7个百分点;PPLM原因补充提示模板可以提升NLI模型的零样本分类性能,其相较于其他较好传统模板在MF1上提升2.6个百分点;同时改进的权重确定策略也对模型在零样本情境下的情感分析能力有一定提升作用。Aspect category sentiment analysis(ACSA)is currently constrained by the scarcity of annotated data,making it a research challenge to achieve effective analysis without specific sentiment-labeled data.This paper transforms the zero-shot ACSA task into a natural language inference(NLI)task.Addressing the issue of inadequate semantic expression in traditional prompt templates,this paper proposes a cause supplementation prompt template based on the plug and play lan-guage model(PPLM)for text restriction generation.By combining sentiment polarity with its causes,the template helps the model better understand the reasons and motivations behind the sentiments,thereby improving the accuracy and inter-pretability of sentiment analysis.Furthermore,to enhance the classification performance of ACSA,the performance inver-sion coefficient is introduced to determine the ensemble weights of various prompt templates in the paper.Experimental results on the public datasets MAMS and Restaurant demonstrate that the proposed model outperforms other zero-shot ACSA models by approximately 7 percentage points in accuracy.The PPLM cause supplementation prompt template can enhance the zero-shot classification performance of NLI models,showing a 2.6 percentage points improvement in Macro F1 score compared with other better traditional templates.Additionally,the improved weight determination strategy also contributes to the models sentiment analysis capability in zero-shot scenarios.

关 键 词:方面类别情感分析 零样本学习 提示模板 PPLM文本限制生成 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象