Distributional Models and Deep Learning Embeddings: Combining the Best of Both Worlds

Irina Sergienya, Hinrich Schütze

TL;DR

This paper proposes a hybrid approach to initializing word embeddings for deep learning models. By combining traditional high-dimensional distributional word representations with standard low-dimensional deep learning embeddings, they achieve better performance on word relatedness tasks, especially for rare words.

What Problem Does This Paper Address?

In natural language processing, representing words as numerical vectors (embeddings) is crucial for many tasks. Traditionally, deep learning models initialize these embeddings using "one-hot" vectors, which are essentially sparse vectors where each word is represented by a unique dimension. This approach means the model learns everything from scratch. On the other hand, "distributional models" represent words using high-dimensional vectors where each dimension corresponds to a context word, capturing semantic relationships based on co-occurrence. While effective, these high-dimensional representations can be computationally expensive. The challenge this paper addresses is how to leverage the rich semantic information from distributional models to improve the learning of efficient, low-dimensional deep learning embeddings, particularly for words that appear infrequently in training data.

Methods

The authors propose a "hybrid initialization" scheme. Instead of using one-hot vectors for all words, they initialize words with a frequency above a certain threshold ($\theta$) using one-hot vectors, and words below this threshold (rare words) using their pre-computed distributional vectors. They explore two variations of this hybrid approach:

  • Separate: The input representation is a concatenation of a one-hot vector (for frequent words) and a distributional vector (for rare words).
  • Mixed: The input representation is a single vector, which is a one-hot vector for frequent words and a distributional vector for rare words.

They also test a "non-hybrid distributional initialization" where all words are initialized with distributional vectors. The core idea is to provide a more informative starting point for the deep learning model, especially for rare words, which are difficult to learn good embeddings for with one-hot initialization.

Datasets

  • Training Data: Parts 02 to 21 of the Wall Street Journal (WSJ) corpus, approximately one million tokens and 35,000 word types.
  • Evaluation Data:
    • MEN (Bruni et al., 2012): A dataset of word pairs with human-assigned similarity scores. The authors used 2186 pairs from the original 3000 that were present in the WSJ corpus.
  • WordSim353 (Finkelstein et al., 2001): Another dataset of word pairs with human similarity scores. The authors used 303 pairs from the original 353 that were present in the WSJ corpus.

Key Insights and Ideas

  • Rare words benefit most: The core hypothesis is that distributional initialization is most beneficial for rare words, as it provides them with a semantic starting point based on their context, preventing them from being initialized randomly and potentially poorly.
  • Frequent words might be harmed: For frequent words, which often have unique properties, imposing distributional constraints might be detrimental. One-hot initialization allows for more flexibility in learning these unique embeddings.
  • Hybrid is the sweet spot: Combining both approaches (hybrid initialization) seems to offer the best of both worlds, leveraging distributional information for rare words while allowing flexibility for frequent ones.
  • Threshold matters: The performance of hybrid initialization is sensitive to the frequency threshold ($\theta$) used to distinguish between rare and frequent words. Lower thresholds generally yield better results.

Key Results

The paper reports averaged Spearman correlation coefficients between human judgments and embedding-based similarity scores on the MEN and WordSim datasets.

  • Hybrid outperforms one-hot: For low values of the frequency threshold $\theta$ (e.g., $\theta=1$ or $\theta=2$), the hybrid initialization schemes (both mixed and separate) significantly outperform the standard one-hot initialization on both MEN and WordSim datasets. For example, with $\theta=2$, hybrid initialization achieved correlations of approximately 19.05 on MEN and 20.36 on WordSim, compared to 18.02 and 17.31 for one-hot initialization.
  • Distributional initialization alone is worse: Pure distributional initialization (where all words are initialized this way) performed poorly, achieving lower correlations than even one-hot initialization. This supports the idea that distributional constraints are harmful for frequent words.
  • Performance degrades with higher thresholds: As the frequency threshold $\theta$ increases, the performance of hybrid initialization generally decreases, indicating that the benefits are concentrated on words with very low frequencies.

Limitations and Future Work

  • Corpus coverage: The authors acknowledge that the WSJ corpus has limited coverage of the words in the evaluation sets, which might negatively impact the performance of the embeddings.
  • Simple distributional representation: They used a basic binary distributional vector representation, which they suggest might have a negative effect on performance.
  • Future Work: The authors suggest testing their models on larger corpora and exploring a wider range of distributional models to produce results that are more directly comparable with other work in the field. They also plan to investigate how to better combine distributional and deep learning approaches.

Summary updated

BibTeX
@inproceedings{sergienya2013distributional,
  author = {Irina Sergienya and Hinrich Schütze},
  title = {{Distributional Models and Deep Learning Embeddings: Combining the Best of Both Worlds}},
  booktitle = {Workshops @ ICLR},
  year = {2013},
  url = {https://openreview.net/forum?id=DLAzjApIM2y},
}
Figure