Sparse Overcomplete Word Vector Representations

Manaal Faruqui, Yulia Tsvetkov, Dani Yogatama, Chris Dyer, Noah A. Smith

Introduction

In modern Natural Language Processing (NLP), words are typically represented as dense, distributed vectors. While these embeddings (e.g., Word2vec, GloVe) are highly effective for machine learning, they remain "black boxes" to human observers. A single dimension in a 300-dimensional vector rarely corresponds to a discrete semantic concept. This paper addresses the gap between these opaque vectors and traditional linguistic theories, which categorize words into interpretable classes. By transforming dense vectors into sparse, overcomplete representations, we can achieve both human readability and improved performance on downstream tasks.

Methodology

The core objective is to transform existing dense vectors ($X$) into sparse, overcomplete vectors ($A$). The researchers propose two primary approaches:

  1. Sparse Coding: This method treats the transformation as an optimization problem, seeking to represent each word vector as a sparse linear combination of basis vectors in a dictionary. An $\ell_1$ penalty (Lasso) is applied to force most dimensions to zero. The resulting vectors are "overcomplete," meaning their dimensionality ($K$) is significantly larger than the original ($L$).
  2. Non-negative and Binary Projections: To further align with symbolic logic, a non-negativity constraint is added. These vectors can then be "binarized" into 1s (active) and 0s (inactive), creating a representation where features are either present or absent.
The transformation process from dense vectors (X) to sparse overcomplete vectors (A) and binary projections (B).

The optimization is performed using AdaGrad with regularized dual averaging to maintain sparsity throughout the training process.

Experimental Setup

The transformation was applied to four distinct pre-trained vector sets: GloVe (6B words), Skip-Gram (100B words), Global Context (incorporating document-level features), and Multilingual vectors. These were evaluated across word similarity benchmarks (WS-353, SimLex-999) and downstream tasks including sentiment analysis, question classification (TREC), and noun phrase bracketing.

Key Results and Interpretability

The sparse overcomplete representations yielded a "free lunch" in terms of performance and interpretability. Quantitatively, Method A (Sparse Coding) outperformed original dense vectors by an average of 4.2 points, while the binarized Method B showed a 4.8-point improvement.

Visualization of sparse vectors for semantic categories (animals vs. cities), demonstrating how sparsity highlights shared semantic features.

Beyond raw metrics, the vectors demonstrated high human interpretability. In a "Word Intrusion Test," humans correctly identified intruder words in sparse vector dimensions with 71% accuracy, compared to only 57% for dense vectors. The resulting vectors were over 90% sparse, effectively stripping away noise while isolating semantic nuances into distinct dimensions.

Discussion and Limitations

While these results are promising, the current method is a post-processing step requiring pre-trained dense vectors. Future research may focus on learning sparse overcomplete representations directly from raw corpora. Additionally, while sparse vectors are efficient for certain operations, the increased dimensionality (often $K=10L$) results in a larger memory footprint. The performance is also sensitive to the overcompleteness ratio, with a 10x expansion generally providing the best balance.

Summary updated

BibTeX
@inproceedings{faruqui2015sparse,
  author = {Manaal Faruqui and Yulia Tsvetkov and Dani Yogatama and Chris Dyer and Noah A. Smith},
  title = {{Sparse Overcomplete Word Vector Representations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1144},
}
Figure