arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.12027cs.CLcs.AI
收藏

基于多模型的深度学习框架在不平衡极小数据集下的短文本多类分类

A multi-model-based deep learning framework for short text multiclass classification with the imbalanced and extremely small data set

China University of Mining and Technology(中国矿业大学)

Jiajun Tong, Zhixiao Wang, Xiaobin Rui

摘要:

文本分类在许多实际应用中起着重要的作用。在现实世界中,有非常小的数据集。现有的方法大多采用预先训练好的神经网络模型来处理这类数据集。然而,这些方法要么是难以部署在移动设备上,因为它们的大输出大小或不能完全提取短语和子句之间的深层语义信息。本文提出了一种基于多模型的深度学习框架,用于不平衡和极小数据集的短文本多类分类。我们的框架主要包括五个层:编码层使用DISTILBERT来获得上下文相关的动态词向量,这些词向量在传统的特征工程方法中难以表示。由于这一层的Transformer部分被提取,我们的框架被压缩。然后,我们使用接下来的两层来提取深层语义信息。编码器层的输出被发送到双向LSTM网络,并通过LSTM在单词和句子级别分层提取特征矩阵,以获得细粒度的语义表示。之后,最大池化层将特征矩阵转换为低维矩阵,仅保留明显的特征。最后,将特征矩阵作为全连接softmax层的输入,该层包含一个函数,可以将预测的线性向量转换为输出值,作为文本在每个分类中的概率。在两个公共基准上的大量实验证明了我们所提出的方法在极小数据集上的有效性。它在精确度,召回率,准确度和F1得分方面保留了最先进的基线性能,并且通过模型大小,训练时间和收敛时间,我们可以得出结论,我们的方法可以在移动设备上更快,更轻地部署。

英文摘要:

Text classification plays an important role in many practical applications. In the real world, there are extremely small datasets. Most existing methods adopt pre-trained neural network models to handle this kind of dataset. However, these methods are either difficult to deploy on mobile devices because of their large output size or cannot fully extract the deep semantic information between phrases and clauses. This paper proposes a multimodel-based deep learning framework for short-text multiclass classification with an imbalanced and extremely small data set. Our framework mainly includes five layers: The encoder layer uses DISTILBERT to obtain context-sensitive dynamic word vectors that are difficult to represent in traditional feature engineering methods. Since the transformer part of this layer is distilled, our framework is compressed. Then, we use the next two layers to extract deep semantic information. The output of the encoder layer is sent to a bidirectional LSTM network, and the feature matrix is extracted hierarchically through the LSTM at the word and sentence level to obtain the fine-grained semantic representation. After that, the max-pooling layer converts the feature matrix into a lower-dimensional matrix, preserving only the obvious features. Finally, the feature matrix is taken as the input of a fully connected softmax layer, which contains a function that can convert the predicted linear vector into the output value as the probability of the text in each classification. Extensive experiments on two public benchmarks demonstrate the effectiveness of our proposed approach on an extremely small data set. It retains the state-of-the-art baseline performance in terms of precision, recall, accuracy, and F1 score, and through the model size, training time, and convergence epoch, we can conclude that our method can be deployed faster and lighter on mobile devices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑