HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Translations as Additional Contexts for Sentence Classification

Reinald Kim Amplayo; Kyungjae Lee; Jinyeong Yeo; Seung-won Hwang

Translations as Additional Contexts for Sentence Classification

Abstract

In sentence classification tasks, additional contexts, such as the neighboring sentences, may improve the accuracy of the classifier. However, such contexts are domain-dependent and thus cannot be used for another classification task with an inappropriate domain. In contrast, we propose the use of translated sentences as context that is always available regardless of the domain. We find that naive feature expansion of translations gains only marginal improvements and may decrease the performance of the classifier, due to possible inaccurate translations thus producing noisy sentence vectors. To this end, we present multiple context fixing attachment (MCFA), a series of modules attached to multiple sentence vectors to fix the noise in the vectors using the other sentence vectors as context. We show that our method performs competitively compared to previous models, achieving best classification performance on multiple data sets. We are the first to use translations as domain-free contexts for sentence classification.

Code Repositories

rktamplayo/MCFA
Official
tf

Benchmarks

BenchmarkMethodologyMetrics
subjectivity-analysis-on-subjCNN+MCFA
Accuracy: 94.80
text-classification-on-trec-6CNN+MCFA
Error: 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