The classification of sentences is very challenging, since sentences contain the limited contextual information. In this paper, we proposed an Attention-Gated Convolutional Neural Network (AGCNN) for sentence classification, which generates attention weights from the feature's context windows of different sizes by using specialized convolution encoders. It makes full use of limited contextual information to extract and enhance the influence of important features in predicting the sentence's category. Experimental results demonstrated that our model can achieve up to 3.1% higher accuracy than standard CNN models, and gain competitive results over the baselines on four out of the six tasks. Besides, we designed an activation function, namely, Natural Logarithm rescaled Rectified Linear Unit (NLReLU). Experiments showed that NLReLU can outperform ReLU and is comparable to other well-known activation functions on AGCNN.
翻译:判决的分类非常具有挑战性,因为判决包含有限的背景信息。在本文件中,我们提议为判决分类建立一个关注的革命神经网络(AGCNN),通过使用专门的 convol conculation 编码器从地貌窗口中产生不同大小的注意权重。充分利用有限的背景信息来提取和增强重要特征对判决类别预测的影响。实验结果表明,我们的模型可以达到比标准CNN模型高出3.1%的精确度,并在六项任务中的四项基线上取得竞争性结果。此外,我们设计了一个激活功能,即自然对地线调整后调整线条单元(NLRELU)。实验显示,NLRELU可以超越RLU,并且可以与ANN的其他众所周知的激活功能相比。