Summary: | Text classification is a classical task in natural language processing. Prior traditional text classification methods rely on manually extracted features to a great extent, which are easily influenced by human subjectivity. Some existing text classification methods based on the artificial neural networks sometimes neglect the contextual semantic relationships of discontinuous word sequences, resulting in poor learning results. To alleviate these problems, we propose an attention-based gated graph neural network in the framework of coupled P systems (CPGANN) to automatically extract feature representations of nodes. The gating unit with attention is introduced to aggregate neighbor information to capture context semantic relations, and effectively alleviate the long-term dependence on discontinuous words. In order to obtain more discriminative nodes for classification, the attention mechanism is employed in CPGANN to extract keyword nodes before readout to aggregate subgraph representations. Extensive experiments on four real-world datasets demonstrate that CPGANN outperforms all other state-of-the-art baseline algorithms.
|