[1]王正佳,李 霏,姬东鸿,等.基于多掩码与提示句向量融合分类的立场检测[J].计算机技术与发展,2023,33(12):156-162.[doi:10. 3969 / j. issn. 1673-629X. 2023. 12. 022]
 WANG Zheng-jia,LI Fei,JI Dong-hong,et al.Stance Detection Based on Multi-mask and Prompt Sentence Vector Fusion Classification[J].,2023,33(12):156-162.[doi:10. 3969 / j. issn. 1673-629X. 2023. 12. 022]
点击复制

基于多掩码与提示句向量融合分类的立场检测()

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年12期
页码:
156-162
栏目:
人工智能
出版日期:
2023-12-10

文章信息/Info

Title:
Stance Detection Based on Multi-mask and Prompt Sentence Vector Fusion Classification
文章编号:
1673-629X(2023)12-0156-07
作者:
王正佳李 霏姬东鸿滕 冲
武汉大学国家网络安全学院 空天信息安全与可信计算教育部重点实验室,湖北 武汉 430072
Author(s):
WANG Zheng-jiaLI FeiJI Dong-hongTENG Chong
Key Laboratory of Aerospace Information Security and Trusted Computing,Ministry of Education,School of Cyber Science and Engineering,Wuhan University,Wuhan 430072,China
关键词:
立场检测深度学习提示学习句向量多掩码
Keywords:
stance detectiondeep learningprompt learningsentence vectormulti-mask
分类号:
TP391. 1
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 12. 022
摘要:
立场检测是指分析文本对于某一目标话题表达的立场,立场通常分为支持、反对和其他。 近期的工作大多采用BERT 等方法提取文本和话题的句语义特征,通常采用 BERT 首符号隐藏状态或者句子中每个词隐藏状态取平均作为句向量。 该文对句向量的获取进行了改进,采用提示学习模板获取提示句向量,提高句向量的特征提取效果。 设计了一种基于多掩码与提示句向量融合分类的立场检测模型(PBMSV) ,将提示句向量分类与多掩码的模板-答案器结构提示学习分类结合,向句向量引入文本、话题和立场词信息,融合句向量和答案器分类结果,对模型进行联合优化。 在 NLPCC 中文立场检测数据集上的实验表明,在五个话题单独训练模型的实验中,该文方法与此前最优方法相比在三个目标上取得领先或持平,取得了 79. 3 的总 F1 值,与最优方法接近,并在句向量对比实验中,验证了提示句向量的优势。
Abstract:
Stance detection refers to the analysis of the stance expressed by the text on a target topic,which usually includes support,against and none. Existing works mostly use methods?
such as BERT to extract sentence feature vectors of the text and topic,and usually,the first token hidden state or the average of the hidden states of each word in the sentence is?
used as the sentence vector. We improve theacquisition of sentence vectors by using prompt learning templates to obtain prompt sentence vectors and enhance the feature extraction effect of sentence vectors. A stance detection model based on multiple masks and prompt sentence vector fusion classification isdesigned,which combines prompt sentence vector classification with the template - verbalizer structure of prompt learning classificationwith multiple masks,introducing text,topic,and stance words information into sentence vectors,
fusing sentence vectors and verbalizerclassification results,and jointly optimizing the model. Experiments on the NLPCC Chinese stance detection dataset show that in the experiments of training separate models for five topics,the proposed method is superior or comparable to the previous best method in threetargets,achieving a total F1 value of 79. 3,which is close to the best method. The advantage of prompt sentence vectors is verified in thesentence vector comparison experiment.

相似文献/References:

[1]陈强锐,谢世朋.基于深度学习的肺部肿瘤检测方法[J].计算机技术与发展,2018,28(04):201.[doi:10.3969/ j. issn.1673-629X.2018.04.043]
 CHEN Qiang-rui,XIE Shi-peng.Lung Cancer Detection Method Based on Deep Learning[J].,2018,28(12):201.[doi:10.3969/ j. issn.1673-629X.2018.04.043]
[2]施泽浩,赵启军.基于全卷积网络的目标检测算法[J].计算机技术与发展,2018,28(05):55.[doi:10.3969/j.issn.1673-629X.2018.05.013]
 SHI Ze-hao,ZHAO Qi-jun.Object Detection Algorithm Based on Fully Convolutional Neural Network[J].,2018,28(12):55.[doi:10.3969/j.issn.1673-629X.2018.05.013]
[3]黄法秀,张世杰,吴志红,等.数据增广下的人脸识别研究[J].计算机技术与发展,2020,30(03):67.[doi:10. 3969 / j. issn. 1673-629X. 2020. 03. 013]
 HUANG Fa-xiu,ZHANG Shi-jie,WU Zhi-hong,et al.Research on Face Recognition Based on Data Augmentation[J].,2020,30(12):67.[doi:10. 3969 / j. issn. 1673-629X. 2020. 03. 013]
[4]陈浩翔,蔡建明,刘铿然,等. 手写数字深度特征学习与识别[J].计算机技术与发展,2016,26(07):19.
 CHEN Hao-xiang,CAI Jian-ming,LIU Keng-ran,et al. Deep Learning and Recognition of Handwritten Numeral Features[J].,2016,26(12):19.
[5]高翔,陈志,岳文静,等.基于视频场景深度学习的人物语义识别模型[J].计算机技术与发展,2018,28(06):53.[doi:10.3969/ j. issn.1673-629X.2018.06.012]
 GAO Xiang,CHEN Zhi,YUE Wen-jing,et al.Human Semantic Recognition Model Based on Video Scene Deep Learning[J].,2018,28(12):53.[doi:10.3969/ j. issn.1673-629X.2018.06.012]
[6]贺飞翔,赵启军. 基于深度学习的头部姿态估计[J].计算机技术与发展,2016,26(11):1.
 HE Fei-xiang,ZHAO Qi-jun. Head Pose Estimation Based on Deep Learning[J].,2016,26(12):1.
[7]徐 融,邱晓晖.一种改进的 YOLO V3 目标检测方法[J].计算机技术与发展,2020,30(07):30.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 007]
 XU Rong,QIU Xiao-hui.An Improved YOLO V3 Object Detection[J].,2020,30(12):30.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 007]
[8]张翠肖,郝杰辉,刘星宇,等.基于 CNN-BiLSTM 的中文微博立场分析研究[J].计算机技术与发展,2020,30(07):154.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 033]
 ZHANG Cui-xiao,HAO Jie-hui,LIU Xing-yu,et al.Research on Stance Detection in Chinise Micro-blog Based on CNN-BiLSTM[J].,2020,30(12):154.[doi:10. 3969 / j. issn. 1673-629X. 2020. 07. 033]
[9]曾志平[] [],萧海东[],张新鹏[]. 基于DBN的金融时序数据建模与决策[J].计算机技术与发展,2017,27(04):1.
 ZENG Zhi-ping[] [],XIAO Hai-dong[],ZHANG Xin-peng[]. Modeling and Decision-making of Financial Time Series Data with DBN[J].,2017,27(12):1.
[10]李全兵,文 钊*,田艳梅*,等.基于 WGAN 的音频关键词识别研究[J].计算机技术与发展,2021,31(08):26.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 005]
 LI Quan-bing,WEN Zhao *,TIAN Yan-mei *,et al.Research on Audio Keywords Recognition Based on WassersteinGenerative Adversarial Network[J].,2021,31(12):26.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 005]

更新日期/Last Update: 2023-12-10