HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Supervised and Semi-Supervised Text Categorization using LSTM for Region Embeddings

Rie Johnson; Tong Zhang

Supervised and Semi-Supervised Text Categorization using LSTM for Region Embeddings

Abstract

One-hot CNN (convolutional neural network) has been shown to be effective for text categorization (Johnson & Zhang, 2015). We view it as a special case of a general framework which jointly trains a linear model with a non-linear feature generator consisting of `text region embedding + pooling'. Under this framework, we explore a more sophisticated region embedding method using Long Short-Term Memory (LSTM). LSTM can embed text regions of variable (and possibly large) sizes, whereas the region size needs to be fixed in a CNN. We seek effective and efficient use of LSTM for this purpose in the supervised and semi-supervised settings. The best results were obtained by combining region embeddings in the form of LSTM and convolution layers trained on unlabeled data. The results indicate that on this task, embeddings of text regions, which can convey complex concepts, are more useful than embeddings of single words in isolation. We report performances exceeding the previous best results on four benchmark datasets.

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-imdboh-LSTM
Accuracy: 94.1
sentiment-analysis-on-yelp-binaryCNN
Error: 2.9
sentiment-analysis-on-yelp-fine-grainedCNN
Error: 32.39
text-classification-on-ag-newsCNN
Error: 6.57
text-classification-on-dbpediaCNN
Error: 0.84
text-classification-on-rcv1oh-CNN + two LSTM tv-embed.
Accuracy: 92.85

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
Supervised and Semi-Supervised Text Categorization using LSTM for Region Embeddings | Papers | HyperAI