Innovative Label Embedding for Food Safety Comment Classification: Fusion of Self-Semantic and Self-Knowledge Features

Yiming Zhang, Haozheng Liu, Jiaming Feng, Xu Zhang
{"title":"Innovative Label Embedding for Food Safety Comment Classification: Fusion of Self-Semantic and Self-Knowledge Features","authors":"Yiming Zhang, Haozheng Liu, Jiaming Feng, Xu Zhang","doi":"10.28991/hij-2024-05-01-013","DOIUrl":null,"url":null,"abstract":"Food safety comment classification represents a specialized task within the realm of text classification. The objective is to efficiently identify a large volume of food safety comments, aiding relevant authorities in timely food analysis and safety alerts. Traditional methods typically employ one-hot encoding for label processing. However, in real-world situations, classified labels often convey valuable semantic information and guidance. This paper introduces an innovative approach to enhance the classification performance of food safety comments by embedding label information. Initially, we extracted generic sentiment pivot words from various classification labels as label description information. Subsequently, we employ a joint embedding approach to integrate this label description information into the text. This process will pool the expressions of the pivot word into the corresponding sentiment labels in the known domains after averaging to get the embedded expression. This aims to acquire highly detailed self-semantic feature vectors and self-knowledge feature vectors that are integrated with labeled descriptive information. Then, feed the semantic representation of comments and the word-embedded representation of labeled description information into a time-step-based multilayer Bi-LSTM and a step-based multilayer CNN, respectively. Ultimately, we concatenate these two feature vectors to facilitate matching, thereby fusing the self-semantic and self-knowledge features of labeled description information to train a classification model for food safety comments. Experimental results on the food safety comment dataset showcase a noteworthy improvement of 1.74% and 1.27% in Macro_Precision and Macro_F1 metrics, respectively, compared to BERT, BERT-RNN, and BERT-CNN. Through extensive ablation experiments and additional studies, our method effectively embeds labeling information, demonstrating a clear advantage over traditional methods in the task of classifying food safety comments. Doi: 10.28991/HIJ-2024-05-01-013 Full Text: PDF","PeriodicalId":121944,"journal":{"name":"HighTech and Innovation Journal","volume":"281 ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"HighTech and Innovation Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.28991/hij-2024-05-01-013","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Food safety comment classification represents a specialized task within the realm of text classification. The objective is to efficiently identify a large volume of food safety comments, aiding relevant authorities in timely food analysis and safety alerts. Traditional methods typically employ one-hot encoding for label processing. However, in real-world situations, classified labels often convey valuable semantic information and guidance. This paper introduces an innovative approach to enhance the classification performance of food safety comments by embedding label information. Initially, we extracted generic sentiment pivot words from various classification labels as label description information. Subsequently, we employ a joint embedding approach to integrate this label description information into the text. This process will pool the expressions of the pivot word into the corresponding sentiment labels in the known domains after averaging to get the embedded expression. This aims to acquire highly detailed self-semantic feature vectors and self-knowledge feature vectors that are integrated with labeled descriptive information. Then, feed the semantic representation of comments and the word-embedded representation of labeled description information into a time-step-based multilayer Bi-LSTM and a step-based multilayer CNN, respectively. Ultimately, we concatenate these two feature vectors to facilitate matching, thereby fusing the self-semantic and self-knowledge features of labeled description information to train a classification model for food safety comments. Experimental results on the food safety comment dataset showcase a noteworthy improvement of 1.74% and 1.27% in Macro_Precision and Macro_F1 metrics, respectively, compared to BERT, BERT-RNN, and BERT-CNN. Through extensive ablation experiments and additional studies, our method effectively embeds labeling information, demonstrating a clear advantage over traditional methods in the task of classifying food safety comments. Doi: 10.28991/HIJ-2024-05-01-013 Full Text: PDF
用于食品安全评论分类的创新标签嵌入:融合自我语义和自我知识特征
食品安全评论分类是文本分类领域的一项专业任务。其目的是有效识别大量食品安全评论,帮助相关部门及时进行食品分析和发出安全警报。传统方法通常采用单次编码来处理标签。然而,在现实世界中,分类标签往往传递着有价值的语义信息和指导。本文介绍了一种通过嵌入标签信息来提高食品安全评论分类性能的创新方法。首先,我们从各种分类标签中提取了通用的情感枢纽词作为标签描述信息。随后,我们采用联合嵌入法将这些标签描述信息整合到文本中。这一过程将把枢轴词的表达汇集到已知领域中相应的情感标签中,经过平均后得到嵌入表达。这样做的目的是获取与标签描述信息相融合的高度详细的自语义特征向量和自知识特征向量。然后,将评论的语义表示和标注描述信息的词嵌入表示分别输入基于时间步长的多层 Bi-LSTM 和基于步长的多层 CNN。最后,我们将这两个特征向量串联起来以促进匹配,从而融合标签描述信息的自语义特征和自知识特征来训练食品安全评论的分类模型。在食品安全评论数据集上的实验结果表明,与 BERT、BERT-RNN 和 BERT-CNN 相比,Macro_Precision 和 Macro_F1 指标分别提高了 1.74% 和 1.27%。通过广泛的消融实验和其他研究,我们的方法有效地嵌入了标签信息,在食品安全评论分类任务中与传统方法相比具有明显优势。Doi: 10.28991/HIJ-2024-05-01-013 全文:PDF
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.00
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书