HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

All-but-the-Top: Simple and Effective Postprocessing for Word Representations

Jiaqi Mu; Suma Bhat; Pramod Viswanath

All-but-the-Top: Simple and Effective Postprocessing for Word Representations

Abstract

Real-valued word representations have transformed NLP applications; popular examples are word2vec and GloVe, recognized for their ability to capture linguistic regularities. In this paper, we demonstrate a {\em very simple}, and yet counter-intuitive, postprocessing technique -- eliminate the common mean vector and a few top dominating directions from the word vectors -- that renders off-the-shelf representations {\em even stronger}. The postprocessing is empirically validated on a variety of lexical-level intrinsic tasks (word similarity, concept categorization, word analogy) and sentence-level tasks (semantic textural similarity and { text classification}) on multiple datasets and with a variety of representation methods and hyperparameter choices in multiple languages; in each case, the processed representations are consistently better than the original ones.

Code Repositories

woctezuma/steam-descriptions
tf
Mentioned in GitHub
nlpAThits/WOMBAT
Mentioned in GitHub
lgalke/vec4ir
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
sentiment-analysis-on-mrGRU-RNN-WORD2VEC
Accuracy: 78.26
sentiment-analysis-on-sst-5-fine-grainedGRU-RNN-WORD2VEC
Accuracy: 45.02
subjectivity-analysis-on-subjGRU-RNN-GLOVE
Accuracy: 91.85
text-classification-on-trec-6GRU-RNN-GLOVE
Error: 7.0

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
All-but-the-Top: Simple and Effective Postprocessing for Word Representations | Papers | HyperAI