Frustratingly Easy Meta-Embedding -- Computing Meta-Embeddings by\n Averaging Source Word Embeddings

Joshua Coates, Danushka Bollegala · DOI

Abstract

Creating accurate meta-embeddings from pre-trained source embeddings has received attention lately. Methods based on global and locally-linear transformation and concatenation have shown to produce accurate meta-embeddings. In this paper, we show that the arithmetic mean of two distinct word embedding sets yields a performant meta-embedding that is comparable or better than more complex meta-embedding learning methods. The result seems counter-intuitive given that vector spaces in different source embeddings are not comparable and cannot be simply averaged. We give insight into why averaging can still produce accurate meta-embedding despite the incomparability of the source vector spaces.

Introduction

In Natural Language Processing (NLP), word embeddings are foundational representations of lexical meaning. However, different training methods (e.g., Skip-gram, GloVe) and corpora yield embeddings with distinct strengths and weaknesses. "Meta-embedding" aims to combine these various sets into a single, superior representation.

Traditionally, this was thought to require complex alignment or neural network projections because different embedding spaces are "incomparable"—dimension 5 in a GloVe vector has no inherent relationship to dimension 5 in a Word2Vec vector. While concatenation is effective, it doubles dimensionality (e.g., combining two 300d sets creates a 600d set), significantly increasing computational overhead for downstream tasks.

Methodology

The authors propose a "frustratingly easy" approach: simple arithmetic averaging.

  1. Preprocessing: To handle varying dimensions (e.g., 100d vs 300d), smaller vectors are zero-padded to match the largest source.
  2. Normalization: Vectors are $\ell_2$-normalized to unit length.
  3. Averaging: For a word $u$ present in two source sets $S_1$ and $S_2$, the meta-embedding is simply $(u_{S1} + u_{S2}) / 2$.

The study utilized three well-known pre-trained sets: GloVe (300d), CBOW (300d), and HLBL (100d). Evaluation spanned standard benchmarks for semantic similarity (RG, MC, WS, RW, SL) and word analogy (GL).

Theoretical Justification: The Blessing of Dimensionality

The core insight of the paper is geometric. In high-dimensional spaces, vectors from independently trained models tend to be approximately orthogonal (at a 90-degree angle). The authors demonstrate that if the "difference vectors" between words in two source spaces are orthogonal, the distance in the averaged space is directly proportional to the distance in a concatenated space.

Distribution of angles between difference vectors in high-dimensional embedding spaces.

Empirical measurements confirm this theory: the distribution of angles between difference vectors across GloVe, CBOW, and HLBL is a tight Gaussian centered almost exactly at $\pi/2$ radians (approximately 1.57). This approximate orthogonality allows averaging to act as a "compressed" version of concatenation, preserving semantic relationships from both sources simultaneously without increasing dimensionality.

Key Results

Experimental results show that Averaging (AVG) performs remarkably close to Concatenation (CONC) across nearly all benchmarks, often outperforming the original source embeddings.

Performance comparison of source embeddings, averaging (AVG), and concatenation (CONC) across various benchmarks.

On the SimLex-999 (SL) similarity task, GloVe+CBOW averaging achieved a score of 46.5, slightly outperforming concatenation's 46.3. In the Google Analogy (GL) task, averaging GloVe and CBOW (73.8) significantly improved upon individual sources (68.7 and 67.1) and nearly matched the 600-dimensional concatenation (75.5). These results highlight that averaging provides a highly efficient alternative to more complex meta-embedding techniques while maintaining a compact 300-dimensional representation.

Conclusion

This work demonstrates that simple averaging is a powerful and efficient baseline for meta-embeddings. By leveraging the geometric properties of high-dimensional spaces, it achieves performance comparable to concatenation without the associated computational costs. While the study focused on the vocabulary intersection and simple arithmetic means, future work may explore weighted averages or alternative distance metrics to further refine this "frustratingly easy" approach.

Summary updated

BibTeX
@inproceedings{coates2018frustratingly,
  author = {Joshua Coates and Danushka Bollegala},
  title = {{Frustratingly Easy Meta-Embedding -- Computing Meta-Embeddings by\textbackslash\{\}n Averaging Source Word Embeddings}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-2031},
}
Figure