Zero-sample text classification algorithm based on BERT and graph convolutional neural network
Author:
Qiao Ying1, Li Yu1, Zhou Liangzhi2, Shang Xu2
Affiliation:
1. School of Computer Science and Software Engineering , Southwest Petroleum University , Chengdu , Sichuan , , China . 2. PetroChina Changqing Oilfield Company Oil Production PLANT NO.7 , Xi’an , Shaanxi , , China .
Abstract
Abstract
In this study, we undertake a comprehensive examination of zero-shot text classification and its associated implications. We propose the adoption of the BERT model as a method for text feature representation. Subsequently, we utilize the Pointwise Mutual Information (PMI) metric to adjust the weight values within a graph convolutional neural network, thereby facilitating the construction of a text graph. Additionally, we incorporate an attention mechanism to transform this text graph, enabling it to represent the output labels of zero-shot text classification effectively. The experimental environment is set up, and the comparison and ablation experiments of the text classification model based on BERT and graph convolutional neural network with the baseline models are carried out in several different types of datasets, and the parameter settings of λ are adjusted according to the experimental results, and the convergence of the BERT model is compared to test the robustness of the model performance and the classification effect. When λ was set to 0.60, the model achieved the best results in each dataset. When the task is set to 5-way-5-shot, the convergence rate of the model for the Snippets dataset using the penultimate layer of features can reach 74%-80% of the training accuracy at the 5,000th step. The training accuracy gradually flattens out in the first 10,000 steps, and the model achieves classification accuracy in all four learning scenarios, with good stability.
Publisher
Walter de Gruyter GmbH
Reference22 articles.
1. An, F. P. (2019). Medical image classification algorithm based on weight initialization-sliding window fusion convolutional neural network. Complexity, 2019. 2. He, Y., Dong, X., Kang, G., Fu, Y., & Yang, Y. (2019). Asymptotic soft filter pruning for deep convolutional neural networks. IEEE Transactions on Cybernetics, PP(99), 1-11. 3. Lei, F., Liu, X., Li, Z., Dai, Q., & Wang, S. (2021). Multihop neighbor information fusion graph convolutional network for text classification. Mathematical Problems in Engineering, 2021(1), 1-9. 4. Zhang, J., Zhang, W., Hu, Y., Chu, Q., & Liu, L. (2022). An improved sea ice classification algorithm with gaofen-3 dual-polarization sar data based on deep convolutional neural networks. Remote Sensing, 14. 5. Law, S., Seresinhe, C. I., Shen, Y., & Gutierrez-Roig, M. (2020). Street-frontage-net: urban image classification using deep convolutional neural networks. International Journal of Geographical Information Science, 34(4), 681-707.
|
|