An advanced model integrating prompt tuning and dual-channel paradigm for enhancing public opinion sentiment classification

IF 4.9 3区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE Computers & Electrical Engineering Pub Date : 2025-04-01 Epub Date: 2025-01-06 DOI:10.1016/j.compeleceng.2024.110047
Runzhou Wang, Xinsheng Zhang, Yulong Ma
{"title":"An advanced model integrating prompt tuning and dual-channel paradigm for enhancing public opinion sentiment classification","authors":"Runzhou Wang,&nbsp;Xinsheng Zhang,&nbsp;Yulong Ma","doi":"10.1016/j.compeleceng.2024.110047","DOIUrl":null,"url":null,"abstract":"<div><div>Sentiment analysis of online comments is crucial for governments in managing public opinion effectively. However, existing sentiment models face challenges in balancing memory efficiency with predictive accuracy. To address this, we propose PRTB-BERT, a hybrid model that combines prompt tuning with a dual-channel approach. PRTB-BERT employs a streamlined soft prompt template for efficient training with minimal parameter updates, leveraging BERT to generate word embeddings from input text. To enhance performance, we integrate advanced TextCNN and BiLSTM networks, capturing both local features and contextual semantic information. Additionally, we introduce a residual self-attention (RSA) mechanism in TextCNN to improve information extraction. Extensive testing on four Chinese comment datasets evaluates PRTB-BERT’s classification performance, memory usage, and the comparison between soft and hard prompt templates. Results show that PRTB-BERT improves accuracy while reducing memory consumption, with the optimized soft prompt template outperforming traditional hard prompts in predictive performance.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"123 ","pages":"Article 110047"},"PeriodicalIF":4.9000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790624009728","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/6 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

Sentiment analysis of online comments is crucial for governments in managing public opinion effectively. However, existing sentiment models face challenges in balancing memory efficiency with predictive accuracy. To address this, we propose PRTB-BERT, a hybrid model that combines prompt tuning with a dual-channel approach. PRTB-BERT employs a streamlined soft prompt template for efficient training with minimal parameter updates, leveraging BERT to generate word embeddings from input text. To enhance performance, we integrate advanced TextCNN and BiLSTM networks, capturing both local features and contextual semantic information. Additionally, we introduce a residual self-attention (RSA) mechanism in TextCNN to improve information extraction. Extensive testing on four Chinese comment datasets evaluates PRTB-BERT’s classification performance, memory usage, and the comparison between soft and hard prompt templates. Results show that PRTB-BERT improves accuracy while reducing memory consumption, with the optimized soft prompt template outperforming traditional hard prompts in predictive performance.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一种融合提示调整和双通道范式的先进舆情分类模型
网络评论情感分析是政府有效管理舆论的关键。然而,现有的情感模型在平衡记忆效率和预测准确性方面面临挑战。为了解决这个问题,我们提出了PRTB-BERT,这是一种结合了提示调谐和双通道方法的混合模型。PRTB-BERT采用简化的软提示模板,以最小的参数更新进行有效的训练,利用BERT从输入文本生成词嵌入。为了提高性能,我们整合了先进的TextCNN和BiLSTM网络,同时捕获了局部特征和上下文语义信息。此外,我们在TextCNN中引入了残差自注意(RSA)机制来改进信息提取。在四个中文评论数据集上进行了广泛的测试,评估了PRTB-BERT的分类性能、内存使用情况以及软提示和硬提示模板之间的比较。结果表明,PRTB-BERT在提高准确率的同时减少了内存消耗,优化后的软提示模板在预测性能上优于传统的硬提示。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computers & Electrical Engineering
Computers & Electrical Engineering 工程技术-工程:电子与电气
CiteScore
9.20
自引率
7.00%
发文量
661
审稿时长
47 days
期刊介绍: The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency. Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.
期刊最新文献
EVerGen: Optimal path planning for electric vehicle using modified genetic algorithm in internet of vehicular things A dynamic risk quantification framework for Maritime-IoT security based on STRIDE-AHP-FCE GSP-enhanced embedded hardware framework for real-time multi-class road target detection in ADAS using mmWave radar Deep Tasmanian Aquila quantized Shor Simon fractal network for intelligent energy theft detection in smart grids Accelerating configuration of Reconfigurable Intelligent Surfaces through a hardware-enhanced deep learning approach
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1