Augmenting Feature Representation with Gradient Penalty for Robust Text Categorization
Open Access
- 1 January 2023
- journal article
- research article
- Published by Wiley in International Journal of Intelligent Systems
- Vol. 2023 (1)
Abstract
The capabilities of deep models are constantly mined for extraction and representation of features among text classification tasks. However, these models are sensitive to changes in input data, resulting in poor robustness. Meanwhile, the model lacks information interaction and weak representation ability. In this work, for feature extraction, a joint model that consists of a convolutional neural network, a bidirectional gated recurrent unit, and an attention mechanism is proposed. This new model can improve versatility and fully discover category information in text. For feature representation, a projector under the supervised contrastive learning method is introduced. The method can improve the representation of an encoder and realize aggregation of the same category. Considering the robustness of the PCRA, the gradient penalty is added to a contrastive loss function. Experiments are performed on four datasets to assess the proposed model (PCRA and PCRA‐GP) using an accuracy metric. The experimental results show that our model is suitable for variable‐length and bilingual texts. Compared with the baseline model, it remains competitive, and it reaches SOTA on the 20 Newsgroups dataset. Moreover, the performance of the model is evaluated under different hyperparameters to clarify its working mechanism.Keywords
Funding Information
- National Key Research and Development Program of China (2019YFB1705503)
- Special Project for Research and Development in Key areas of Guangdong Province (2019B010153002)
- National Natural Science Foundation of China-Guangdong Joint Fund (U1801263)
- National Natural Science Foundation of China (62002071)
- Natural Science Foundation of Guangdong Province (2020A1515011409)
This publication has 31 references indexed in Scilit:
- A Backdoor Attack Against LSTM-Based Text Classification SystemsIEEE Access, 2019
- Bi-Level Attention Model for Sentiment Analysis of Short TextsIEEE Access, 2019
- Sentiment analysis through recurrent variants latterly on convolutional neural network of TwitterFuture Generation Computer Systems, 2019
- An Efficient Character-Level and Word-Level Feature Fusion Method for Chinese Text ClassificationJournal of Physics: Conference Series, 2019
- Few-Shot Transfer Learning for Text Classification With Lightweight Word Embedding Based ModelsIEEE Access, 2019
- Bidirectional LSTM with attention mechanism and convolutional layer for text classificationNeurocomputing, 2019
- Sentiment Analysis of Network Comments Based on GCNN2018
- Generating Adversarial Examples with Adversarial Networks2018
- Crafting adversarial input sequences for recurrent neural networks2016
- Convolutional Neural Networks for Sentence Classification2014