Abstract

Convolutional Neural Network (CNNs) are widely used in NLP tasks for their powerful ability to capture n-gram features. An effective way to improve CNNs performance is to incorporate prior knowledge or external resources like topic distribution. This paper considers sentence classification problem as semantic matching problem and proposes a topic matching CNN model, referred to as TM-CNN. Firstly, topic words are extracted directly from training data by a novel Naive Bayes weighting technique. Then a convolutional neural network is applied on a topic matching matrix whose entries represent the soft similarity interaction between words in sentence and those topic words, which allows model to extract both word level and n-gram level matching signals. Experiments demonstrate the effectiveness of TM-CNN on seven text classification tasks, including sentiment analysis and topic classification.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.