Text classification is a classic task innatural language process(NLP).Convolutional neural networks(CNNs)have demonstrated its effectiveness in sentence and document modeling.However,most of existing CNN models are ap...Text classification is a classic task innatural language process(NLP).Convolutional neural networks(CNNs)have demonstrated its effectiveness in sentence and document modeling.However,most of existing CNN models are applied to the fixed-size convolution filters,thereby unable to adapt different local interdependency.To address this problem,a deep global-attention based convolutional network with dense connections(DGA-CCN)is proposed.In the framework,dense connections are applied to connect each convolution layer to each of the other layers which can accept information from all previous layers and get multiple sizes of local information.Then the local information extracted by the convolution layer is reweighted by deep global-attention to obtain a sequence representation with more valuable information of the whole sequence.A series of experiments are conducted on five text classification benchmarks,and the experimental results show that the proposed model improves upon the state of-the-art baselines on four of five datasets,which can show the effectiveness of our model for text classification.展开更多
基金supported by National Natural Science Foundation of China(61673079)Natural Science Foundation of Chongqing(cstc2018jcyjAX0160)。
文摘Text classification is a classic task innatural language process(NLP).Convolutional neural networks(CNNs)have demonstrated its effectiveness in sentence and document modeling.However,most of existing CNN models are applied to the fixed-size convolution filters,thereby unable to adapt different local interdependency.To address this problem,a deep global-attention based convolutional network with dense connections(DGA-CCN)is proposed.In the framework,dense connections are applied to connect each convolution layer to each of the other layers which can accept information from all previous layers and get multiple sizes of local information.Then the local information extracted by the convolution layer is reweighted by deep global-attention to obtain a sequence representation with more valuable information of the whole sequence.A series of experiments are conducted on five text classification benchmarks,and the experimental results show that the proposed model improves upon the state of-the-art baselines on four of five datasets,which can show the effectiveness of our model for text classification.