Skip to main content
QUICK REVIEW

[Paper Review] All-but-the-Top: Simple and Effective Postprocessing for Word Representations

Jiaqi Mu, Suma Bhat|arXiv (Cornell University)|Feb 5, 2017
Topic ModelingComputer Science127 citations
TL;DR

A simple postprocessing technique that removes the nonzero mean and the top dominating PCA directions from word vectors to make representations more isotropic, yielding consistent improvements across intrinsic and extrinsic NLP tasks.

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.

Motivation & Objective

  • Motivate and demonstrate that a simple postprocessing step can enhance off-the-shelf word representations across languages and methods.
  • Identify and quantify common structural properties (nonzero mean and dominated directions) in word vectors.
  • Show that removing these components yields more isotropic embeddings with improved linguistic regularities.

Proposed method

  • Compute the mean vector across all word representations and subtract it from each word vector.
  • Perform PCA on the mean-centered vectors to obtain top D dominating directions.
  • Project each word vector away from the top D PCA directions to obtain postprocessed vectors.
  • Provide a heuristic: choose D ≈ d/100 where d is the vector dimension, and validate across languages and embedding methods.

Experimental results

Research questions

  • RQ1Do common mean and dominating directions in word embeddings degrade linguistic regularities, and can removing them consistently improve performance?
  • RQ2How does postprocessing affect intrinsic tasks (word similarity, categorization, analogy) and extrinsic tasks (semantic textual similarity, text classification, sentence modeling)?
  • RQ3Is the proposed isotropy-enforcing postprocessing robust across languages, embedding methods, and downstream architectures?

Key findings

  • Postprocessing yields consistent improvements across seven word similarity datasets with WORD2VEC and GloVe (average improvement ~2.3%).
  • Concept categorization reports average gains of about 2.5–4.5% across three datasets after postprocessing.
  • Word analogy shows improvements, though smaller, especially for semantic/syntactic subsets, due to cancellation effects in the analogies.
  • Semantic textual similarity (STS) improved on average by about 4% across 21 datasets when using sentence representations from averaged word vectors.
  • Neural network text classification (CNN and RNN variants) benefits in many settings, with average gains around 2–3% in several configurations.
  • Postprocessing enhances downstream sentiment classification tasks across multiple datasets and architectures in a majority of cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.