HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

A C-LSTM Neural Network for Text Classification

Chunting Zhou; Chonglin Sun; Zhiyuan Liu; Francis C.M. Lau

A C-LSTM Neural Network for Text Classification

Abstract

Neural network models have been demonstrated to be capable of achieving remarkable performance in sentence and document modeling. Convolutional neural network (CNN) and recurrent neural network (RNN) are two mainstream architectures for such modeling tasks, which adopt totally different ways of understanding natural languages. In this work, we combine the strengths of both architectures and propose a novel and unified model called C-LSTM for sentence representation and text classification. C-LSTM utilizes CNN to extract a sequence of higher-level phrase representations, and are fed into a long short-term memory recurrent neural network (LSTM) to obtain the sentence representation. C-LSTM is able to capture both local features of phrases as well as global and temporal sentence semantics. We evaluate the proposed architecture on sentiment classification and question classification tasks. The experimental results show that the C-LSTM outperforms both CNN and LSTM and can achieve excellent performance on these tasks.

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-sst-2-binaryC-LSTM
Accuracy: 87.8
sentiment-analysis-on-sst-5-fine-grainedC-LSTM
Accuracy: 49.2
text-classification-on-trec-6C-LSTM
Error: 5.4

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
A C-LSTM Neural Network for Text Classification | Papers | HyperAI