Leveraging Contextual Sentences for Text Classification by Using a Neural Attention Model.

Journal: Computational intelligence and neuroscience
Published Date:

Abstract

We explored several approaches to incorporate context information in the deep learning framework for text classification, including designing different attention mechanisms based on different neural network and extracting some additional features from text by traditional methods as the part of representation. We propose two kinds of classification algorithms: one is based on convolutional neural network fusing context information and the other is based on bidirectional long and short time memory network. We integrate the context information into the final feature representation by designing attention structures at sentence level and word level, which increases the diversity of feature information. Our experimental results on two datasets validate the advantages of the two models in terms of time efficiency and accuracy compared to the different models with fundamental AM architectures.

Authors

  • DanFeng Yan
    Beijing University of Posts and Telecommunications, State Key Laboratory of Networking and Switching Technology, Beijing, China.
  • Shiyao Guo
    Beijing University of Posts and Telecommunications, State Key Laboratory of Networking and Switching Technology, Beijing, China.