{"title":"长文本分类的多层次特征融合方法","authors":"R. Lin, Lianglun Cheng, Jianfeng Deng, Tao Wang","doi":"10.1145/3529836.3529938","DOIUrl":null,"url":null,"abstract":"News classification task is essentially long text classification in the field of NLP (Natural Language Processing). Long text contains a lot of hidden or topic-independent information. Moreover, BERT (Bidirectional Encoder Representations from Transformer) can only process the text with a character sequence length of 512 at most, which may lose the key information and reduce the classification effectiveness. To solve above problems, the paper puts forward a model of mutli-level feature fusion based on BERT, which is suitable for the BERT through the hierarchical decomposition of long text. Then CNN (Convolutional Neural Networks) and stacked BiLSTM (Bidirectional Long Short-term Memory) based on attention mechanism are used to capture local and contextual features of text respectively. Finally, various features are spliced for classification task. The experimental results show that the model achieves 97.4% accuracy and 97.2% F1 score on THUCNews, 1.2% accuracy and 1.6% F1 score higher than that of BERT-CNN, 1.8% accuracy and 1.4% F1 score higher than that of BERT-BiLSTM, indicating that our model can significantly improve the effectiveness of news classification.","PeriodicalId":285191,"journal":{"name":"2022 14th International Conference on Machine Learning and Computing (ICMLC)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Multi-level Feature Fusion Method for Long Text Classification\",\"authors\":\"R. Lin, Lianglun Cheng, Jianfeng Deng, Tao Wang\",\"doi\":\"10.1145/3529836.3529938\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"News classification task is essentially long text classification in the field of NLP (Natural Language Processing). Long text contains a lot of hidden or topic-independent information. Moreover, BERT (Bidirectional Encoder Representations from Transformer) can only process the text with a character sequence length of 512 at most, which may lose the key information and reduce the classification effectiveness. To solve above problems, the paper puts forward a model of mutli-level feature fusion based on BERT, which is suitable for the BERT through the hierarchical decomposition of long text. Then CNN (Convolutional Neural Networks) and stacked BiLSTM (Bidirectional Long Short-term Memory) based on attention mechanism are used to capture local and contextual features of text respectively. Finally, various features are spliced for classification task. The experimental results show that the model achieves 97.4% accuracy and 97.2% F1 score on THUCNews, 1.2% accuracy and 1.6% F1 score higher than that of BERT-CNN, 1.8% accuracy and 1.4% F1 score higher than that of BERT-BiLSTM, indicating that our model can significantly improve the effectiveness of news classification.\",\"PeriodicalId\":285191,\"journal\":{\"name\":\"2022 14th International Conference on Machine Learning and Computing (ICMLC)\",\"volume\":\"4 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-02-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 14th International Conference on Machine Learning and Computing (ICMLC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3529836.3529938\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 14th International Conference on Machine Learning and Computing (ICMLC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3529836.3529938","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
新闻分类任务本质上是自然语言处理领域的长文本分类。长文本包含大量隐藏的或与主题无关的信息。此外,BERT (Bidirectional Encoder Representations from Transformer)最多只能处理字符序列长度为512的文本,这可能会丢失关键信息,降低分类效率。针对以上问题,本文提出了一种基于BERT的多层特征融合模型,该模型适用于对长文本进行分层分解的BERT。然后分别使用卷积神经网络(CNN)和基于注意机制的堆叠式双向长短期记忆(BiLSTM)捕获文本的局部特征和上下文特征。最后,对各种特征进行拼接,完成分类任务。实验结果表明,该模型在THUCNews上达到了97.4%的准确率和97.2%的F1分数,比BERT-CNN的准确率和1.6%的F1分数提高了1.2%,比BERT-BiLSTM的准确率和1.4%的F1分数提高了1.8%,表明我们的模型可以显著提高新闻分类的有效性。
Multi-level Feature Fusion Method for Long Text Classification
News classification task is essentially long text classification in the field of NLP (Natural Language Processing). Long text contains a lot of hidden or topic-independent information. Moreover, BERT (Bidirectional Encoder Representations from Transformer) can only process the text with a character sequence length of 512 at most, which may lose the key information and reduce the classification effectiveness. To solve above problems, the paper puts forward a model of mutli-level feature fusion based on BERT, which is suitable for the BERT through the hierarchical decomposition of long text. Then CNN (Convolutional Neural Networks) and stacked BiLSTM (Bidirectional Long Short-term Memory) based on attention mechanism are used to capture local and contextual features of text respectively. Finally, various features are spliced for classification task. The experimental results show that the model achieves 97.4% accuracy and 97.2% F1 score on THUCNews, 1.2% accuracy and 1.6% F1 score higher than that of BERT-CNN, 1.8% accuracy and 1.4% F1 score higher than that of BERT-BiLSTM, indicating that our model can significantly improve the effectiveness of news classification.