Skip to main content
QUICK REVIEW

[Paper Review] Learning Word Representations with Hierarchical Sparse Coding

Dani Yogatama, Manaal Faruqui|arXiv (Cornell University)|Jun 8, 2014
Topic ModelingComputer Science12 references33 citations
TL;DR

This paper proposes hierarchical sparse coding with group lasso regularization to learn word representations that reflect coarse-to-fine semantic organization, inspired by lexical semantics and cognitive science. The method uses a stochastic proximal algorithm to efficiently train on billion-token corpora, achieving state-of-the-art or competitive performance on word similarity, analogies, sentence completion, and sentiment tasks, with models publicly released at http://www.ark.cs.cmu.edu/dyogatam/wordvecs/.

ABSTRACT

We propose a new method for learning word representations using hierarchical regularization in sparse coding inspired by the linguistic study of word meanings. We show an efficient learning algorithm based on stochastic proximal methods that is significantly faster than previous approaches, making it possible to perform hierarchical sparse coding on a corpus of billions of word tokens. Experiments on various benchmark tasks---word similarity ranking, analogies, sentence completion, and sentiment analysis---demonstrate that the method outperforms or is competitive with state-of-the-art methods. Our word representations are available at \url{http://www.ark.cs.cmu.edu/dyogatam/wordvecs/}.

Motivation & Objective

  • To develop a scalable method for learning word representations that encode hierarchical semantic structure.
  • To improve word representation quality by enforcing a coarse-to-fine organization of latent dimensions through structured regularization.
  • To enable efficient training on large-scale corpora (billions of tokens) using stochastic optimization.
  • To demonstrate state-of-the-art or competitive performance across multiple NLP benchmark tasks.
  • To release trained word vectors for public use and reproducibility.

Proposed method

  • Uses sparse coding to factorize a co-occurrence matrix of words and contexts into a dictionary D and code matrix A.
  • Applies a forest-structured group lasso regularizer to A, enforcing that higher-level latent dimensions activate before lower-level ones.
  • The regularizer ensures that a node in the hierarchy can only be non-zero if all its ancestors are non-zero, enforcing a coarse-to-fine activation order.
  • Employs a stochastic proximal method to optimize the non-convex objective, making training feasible on large-scale, sparse corpora.
  • Leverages pointwise mutual information (PMI) as the input representation for word-context co-occurrence statistics.
  • Uses alternating minimization with ADMM for mini-batch updates, enabling scalability to 400,000 word types and billions of tokens.

Experimental results

Research questions

  • RQ1Can hierarchical regularization in sparse coding improve the quality of word representations by modeling semantic hierarchy?
  • RQ2Does enforcing a coarse-to-fine activation order in latent dimensions lead to better performance on downstream NLP tasks?
  • RQ3Can stochastic proximal optimization scale hierarchical sparse coding to billion-token corpora?
  • RQ4How does the method compare to state-of-the-art word embedding models on standard benchmarks?
  • RQ5Can the learned representations capture both semantic and syntactic analogies effectively?

Key findings

  • The FOREST model achieved a word similarity correlation of 0.66 on the M=520 setting, outperforming NNSE (0.05), CBOW-HS (0.50), and SG-HS (0.57).
  • On syntactic analogies, FOREST scored 48.00 out of 100, surpassing CBOW-HS (46.00) and SG-HS (50.40) at M=520.
  • For semantic analogies, FOREST achieved 41.33 out of 100, significantly outperforming NNSE (0.57), CBOW-HS (8.00), and SG-HS (31.05).
  • In sentence completion, FOREST reached 35.86% accuracy at M=520, exceeding CBOW-HS (25.80%) and SG-HS (27.79%).
  • On sentiment analysis, FOREST achieved 81.90% accuracy at M=520, outperforming SG-HS (79.57%) and CBOW-HS (78.50%).
  • The method scales efficiently to 400,000 word types and billions of tokens using stochastic proximal optimization, enabling training on large-scale corpora.

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.