Skip to main content
QUICK REVIEW

[Paper Review] Simple and Effective Dimensionality Reduction for Word Embeddings

Vikas Raunak|arXiv (Cornell University)|Aug 11, 2017
Topic ModelingComputer Science9 references15 citations
TL;DR

This paper proposes a simple yet effective method that combines post-processing (PPA) with PCA-based dimensionality reduction to create lower-dimensional word embeddings. By applying PPA before PCA, the approach reduces embedding size by 50% while achieving performance equal to or better than higher-dimensional counterparts on 12 word similarity benchmarks.

ABSTRACT

Word embeddings have become the basic building blocks for several natural language processing and information retrieval tasks. Pre-trained word embeddings are used in several downstream applications as well as for constructing representations for sentences, paragraphs and documents. Recently, there has been an emphasis on further improving the pre-trained word vectors through post-processing algorithms. One such area of improvement is the dimensionality reduction of the word embeddings. Reducing the size of word embeddings through dimensionality reduction can improve their utility in memory constrained devices, benefiting several real-world applications. In this work, we present a novel algorithm that effectively combines PCA based dimensionality reduction with a recently proposed post-processing algorithm, to construct word embeddings of lower dimensions. Empirical evaluations on 12 standard word similarity benchmarks show that our algorithm reduces the embedding dimensionality by 50%, while achieving similar or (more often) better performance than the higher dimension embeddings.

Motivation & Objective

  • Address the high memory footprint of pre-trained word embeddings, especially on memory-constrained devices.
  • Improve the quality and discriminative power of word embeddings through post-processing before dimensionality reduction.
  • Develop a dimensionality reduction technique that preserves or enhances semantic performance while halving embedding dimensions.
  • Demonstrate that lower-dimensional embeddings can outperform or match higher-dimensional ones in downstream tasks.

Proposed method

  • Apply the post-processing algorithm (PPA) from [9] to remove dominant mean and principal components (D=7) from pre-trained word embeddings.
  • Perform PCA on the post-processed embeddings to reduce dimensionality to N = d/2, where d is the original dimension.
  • Use the standard PCA algorithm to project word vectors onto the first N principal components of the post-processed data.
  • Ensure the post-processing step is applied before PCA to eliminate dominant, non-discriminative directions early in the pipeline.
  • Use the scikit-learn PCA implementation for consistent and efficient computation.
  • Evaluate the method across multiple pre-trained embeddings (GloVe, fastText) and dimensionality levels (300D, 200D, 100D).

Experimental results

Research questions

  • RQ1Can combining post-processing with PCA-based dimensionality reduction yield lower-dimensional word embeddings that maintain or improve performance?
  • RQ2Does applying post-processing before PCA lead to better performance than applying it after or not at all?
  • RQ3How does the performance of 150-dimensional embeddings compare to 300-dimensional ones across standard word similarity benchmarks?
  • RQ4Can dimensionality reduction to half the original size preserve or enhance semantic quality in word embeddings?
  • RQ5Does the proposed method generalize across different pre-trained embedding types (e.g., GloVe, fastText) and initial dimensions?

Key findings

  • The proposed algorithm (Algo-N) reduces word embedding dimensionality by 50% while achieving performance equal to or better than the original 300D embeddings on 7 out of 12 word similarity benchmarks.
  • On 12 datasets, Algo-150D outperforms the original 300D embeddings in 7 tasks, with an average improvement of 2.74% across all datasets.
  • For 100D and 200D GloVe embeddings, the method achieved average performance improvements of 2.6% and 3% respectively, with Algo-100D significantly outperforming the original 100D GloVe embeddings by 6% on average.
  • The method consistently outperforms baseline approaches: PCA, PCA+P, and P+PCA, especially in preserving semantic quality during reduction.
  • The variance explained by the top 20 principal components is more balanced in post-processed embeddings, indicating reduced influence from dominant, non-discriminative directions.
  • The approach is robust across different embedding types and initial dimensions, showing consistent gains even when reducing from 200D to 100D.

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.