---
title: "Learning Word Meta-Embeddings by Autoencoding (2018)"
description: "The paper tests whether autoencoders can combine existing word embeddings into compact representations that improve a range of…"
canonical: "https://research.elamur.ai/free/en/papers/bollegala-2018-learning-word-meta-embeddings-autoencoding/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bollegala-2018-learning-word-meta-embeddings-autoencoding/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Learning Word Meta-Embeddings by Autoencoding

# Learning Word Meta-Embeddings by Autoencoding

Paper · 2018 · Danushka Bollegala and Cong Bao

**Authors:** [Danushka Bollegala](https://md.research.elamur.ai/free/en/authors/danushka-bollegala/) and [Cong Bao](https://md.research.elamur.ai/free/en/authors/cong-bao/) · **Year:** 2018 · **Venue:** Proceedings of the 27th International Conference on Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 27th International Conference on Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/C18-1140/)
- [PDF](https://aclanthology.org/C18-1140.pdf)

## Summary

A word can have different neighbors in different sets of [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/). One set of vectors may put it close to words that mean much the same thing, while another may preserve a relationship that helps distinguish how the word is used. Choosing a single set can mean giving up distinctions available in the others. Cong Bao and Danushka Bollegala study how to combine existing vectors into a single representation for each word. Their method works with the released vectors themselves, so the texts used to train them need not be available.

The authors use an autoencoder, a network that learns a representation by trying to recover its input from that representation. Here the inputs are the vectors for the same word from different sources. The authors try three ways to combine them. The decoupled variant joins the encoded vectors side by side and reconstructs each source from its own part, while training the parts to be close. The concatenated variant keeps the side-by-side layout and lets each decoder use the entire combined vector. The averaged variant puts both encodings into the same coordinates, adds them and scales the result to unit length. Each decoder then tries to recover its source from that shared vector.

The experiments combine CBOW and GloVe over their shared vocabulary of 154,076 words. The authors evaluate the resulting vectors on word similarity, analogy completion, relation classification, short-text classification and prediction of human ratings such as arousal. The strongest variant depends on the test. On the SAT analogy benchmark, the decoupled variant scores 39.3 against 30.7 for the strongest simple baseline, singular value decomposition. On the MSR analogy benchmark, the averaged variant scores 80.0, ahead of the other variants and baselines. The decoupled variant leads on several short-text datasets.

The authors favor the averaged variant for practical use because it remains competitive at 300 dimensions, while the other autoencoded variants use 600. A separate comparison reduces all three to 200 dimensions, matching two earlier meta-embedding methods. Much of the advantage survives on the analogy, relation and short-text tests. Similarity and prediction of human ratings are more sensitive to the reduction. The findings establish that joint reconstruction can produce useful word vectors from existing ones, with the benefits depending on the benchmark and the space available for the combined representation.

## Deep dive: Learning Word Meta-Embeddings by Autoencoding

The paper tests whether autoencoders can combine existing word embeddings into compact representations that improve a range of language tasks. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Different sources preserve different relationships

A word embedding assigns a list of numbers to a word. Collecting these lists for a vocabulary gives a space in which a procedure can compare words by comparing their vectors. A useful space puts words in configurations that support some judgment of interest. For instance, nearby vectors might agree with human judgments of [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/), while directions between vectors might carry information about a lexical relation. The numbers gain their practical meaning from comparisons of this kind.

The paper places dense word vectors alongside an earlier tradition of [distributional semantics](https://md.research.elamur.ai/free/en/concepts/distributional-semantics/). In the count-based approach it describes, a word can be represented through the contexts in which it co-occurs. Such a representation can have many dimensions, with most entries empty for an individual word. Dense vector methods use fewer coordinates and learn values that can be used as features in other tasks. The authors point to work on [sentiment and emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) as well as [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) to illustrate where learned representations had already proved useful.

The choice among embeddings is consequential even when the vectors are all meant to represent the same vocabulary. An algorithm can emphasize different regularities from another algorithm, and a resource can supply kinds of evidence that a different resource supplies less often. The paper cites comparisons of embeddings learned from monolingual and bilingual text in which the sets of nearby words differed. A neighborhood is the collection of words that lie close to a given word under the space’s comparison rule. If those collections change with the training resource, some relationships may be easy to recover in one space and harder to recover in another.

The authors also point to evidence from [dependency parsing](https://md.research.elamur.ai/free/en/topics/dependency-parsing/). Earlier work combined several word representations and improved parsing accuracy. In the paper’s account, this is a reason to consider the representations complementary. It leaves open a design question. Multiple representations can help a particular parser even if each remains a distinct input. A meta-embedding is intended to give the word a single vector that can be used wherever a task expects one.

The choice of sources can bring an additional benefit through vocabulary coverage. If a word appears in one collection but is absent from another, a combination method that can use the union has access to more words than a method that requires every source to supply a vector. Coverage and quality on shared words are separate questions. The experiments in this paper emphasize the latter by evaluating on the same covered subset across the methods they compare. Earlier work supplies a way to address coverage, and the proposed methods can be used with that preliminary step.

#### Combining vectors that were trained separately

The immediate input is a set of released vectors. The paper calls these the source embeddings. The source-training algorithms and the materials on which they ran can both differ. One set may have been learned from a corpus and another from a lexical resource. Even when both rely on text, the authors explain that access to the finished vectors does not imply access to the text. They cite the Google News corpus used for a released skip-gram representation, containing 100 billion tokens, as an example of a resource unavailable for retraining other embeddings on the same material.

There is also a question of how the spaces fit together. An individual coordinate from one collection has no assumed correspondence with the coordinate in the same position in another. Two lists can have the same length and still organize their information in different directions. Joining the lists side by side sidesteps that issue because each source keeps its own coordinates. It also makes the result wider. Adding the lists coordinate by coordinate keeps the width down, but it requires a decision about which coordinates to add together. The paper studies a learned transformation as a way to make that decision.

A method that keeps the complete source vectors can carry forward useful features along with redundant ones. A method that compresses them has to determine what can be represented in fewer coordinates. The authors approach this question through reconstruction. They ask whether a shared representation contains enough information to predict the original vector for each source. This gives them a training criterion that can be applied across a shared vocabulary, using the source vectors as targets instead of collecting human judgments for every word.

#### What earlier combinations had established

The most direct predecessor in the paper is Yin and Schütze’s 1TON. It learns a representation that can be projected into each source space. A separate projection matrix handles each source, and learning minimizes the sum of squared Euclidean errors between the projected vectors and their originals. The underlying idea is already close to the question Bao and Bollegala ask. A common word vector earns its place by representing enough information to approximate several existing vectors.

The extension called 1TON+ addresses the case in which the source vocabularies differ. It uses known vectors to predict an embedding for a word where a source entry is absent, then applies the meta-embedding method to the union of the vocabularies. Yin and Schütze evaluated these methods on similarity, analogy detection and cross-domain [part-of-speech tagging](https://md.research.elamur.ai/free/en/topics/part-of-speech-tagging/). This gave Bao and Bollegala both a precedent for shared reconstruction and an existing way to prepare missing source entries if wider coverage was needed.

Other earlier studies fed several representations into a particular application. The paper describes a tagging experiment that used word2vec and [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/) together. It also describes work combining Brown clusters with CW and HLBL representations for [named entity recognition](https://md.research.elamur.ai/free/en/topics/named-entity-recognition/) and chunking. These cases motivate bringing distinct sources together because different inputs can supply useful signals for the same task. The article’s central design question concerns the combined vector itself, before it is handed to any of the evaluation procedures. [Word Representations: A Simple and General Method for Semi-Supervised Learning](https://md.research.elamur.ai/free/en/papers/turian-2010-word-representations-simple-general-method/)

Work by Goikoetxea and colleagues had shown how to join vectors learned from a corpus with vectors learned from WordNet. They also applied principal component analysis to the concatenation. That procedure replaces the original coordinates with directions derived from how the combined vectors vary. A related baseline used in this paper takes a concatenation and reduces it with singular value decomposition. These approaches show why the experiments need a strong comparison that performs compression without a nonlinear encoder.

The paper discusses an earlier multi-view method from Luo and colleagues. It used CBOW vectors learned from Wikipedia and from search-engine clickthrough data. In that case the learning procedure was shared and the resources supplied the different views. Bao and Bollegala consider settings in which both the procedure and the resource can change. They say that an unavailable implementation prevented them from testing whether the earlier method would also work in their setting.

Chandar and colleagues give another precedent for using more than one view in a neural reconstruction system. Their work encourages correlation between hidden representations of the views. Bao and Bollegala instead make the recoverability of the source vectors central to their definition of the combined representation. The distinction matters because agreement in an intermediate layer and fidelity to an original input measure different things. A hidden representation can match another hidden representation closely while both have discarded some source-specific information.

The paper also builds on the broader use of autoencoders with unlabelled data. It cites applications in domain adaptation, similarity measurement, translation and sentiment analysis. An autoencoder learns an intermediate representation by predicting an input, sometimes after receiving a deliberately corrupted version of it. The adaptation here is to give each word multiple inputs and to judge the intermediate representation by several reconstruction targets. That creates a choice about which parts of the representation each reconstruction can use. The authors turn that choice into three architectures. [A Hierarchical Neural Autoencoder for Paragraphs and Documents](https://md.research.elamur.ai/free/en/papers/li-2015-hierarchical-neural-autoencoder-paragraphs-documents/)

### The method, step by step

#### From matching word entries to a shared vector

Training starts with a word for which the source collections both have an entry. The entries are paired by word identity. Each encoder takes the vector from its own source and transforms it into another vector. The architecture then specifies how to combine the encoded vectors and what information each decoder receives. A decoder’s output is compared with the original vector in the corresponding source. This repeats across words, and the parameters change to reduce the errors.

The middle of the network is where the authors define the meta-embedding. Its coordinates are what the later experiments use to represent the word. The decoders give those coordinates a training purpose. If a decoder can recover a source from the middle representation, the middle representation has retained enough information for that particular recovery. The experiments then ask whether the same representation is useful for comparisons and predictions outside the reconstruction problem.

Learning a word vector from multiple sources The steps in order.

The reconstruction task uses ordinary word entries as training examples. For every such example the targets are already available, since the original source vectors are known. This makes the loss different from the scoring functions in the experiments. Human similarity judgments, analogy answers and text labels can assess the resulting vectors, but reconstructing a source vector does not call for any of those labels. The authors do use human similarity data to select hyper-parameters, a separate step from fitting the encoder and decoder weights.

The paper gives the method for two sources and says that the architectures can extend to more. It keeps the input dimensions general, since one source can have more coordinates than the other. The shapes of the encodings then depend on what the architecture does with them. A concatenation can accommodate separate lengths. A coordinate-wise operation such as addition or subtraction requires matching lengths for the vectors that take part in that operation.

#### Vocabulary and notation

```
V = V₁ ∩ V₂
```

Here V₁ and V₂ are the vocabularies of the source collections S₁ and S₂. The intersection sign ∩ selects the words in both vocabularies, and the equals sign defines V as that shared set. The subscripts identify the source throughout the method.

For a word w in V, s₁(w) and s₂(w) are its original entries from S₁ and S₂. The lengths of those entries are d₁ and d₂. Their elements are real numbers, and the method permits d₁ and d₂ to differ because the encoders accept the sources separately. E₁ and E₂ denote those encoders. The paper uses d′₁ and d′₂ for the lengths of their outputs. The prime marks an encoded dimension, which can differ from the original dimension of the source.

The output space is M, its dimension is dₘ, and m(w) denotes the vector for w in that space. D₁ and D₂ are the decoders whose outputs have the shapes of the original sources. A hat marks a reconstruction, as in ŝ₁(w), the approximation to s₁(w). The numbers attached as subscripts indicate source or coefficient labels. They do not refer to different occurrences of the word.

If a word is missing from one source, a preliminary regression can predict its missing vector. The paper describes fitting such a predictor on the shared vocabulary and then applying it to words outside the intersection, following Yin and Schütze. This would create an input pair for the autoencoders. In the reported experiments the proposed embeddings are created for words in the intersection. Their observed benchmark gains therefore concern combining vectors already available from both sources.

#### Separate reconstruction in DAEME

The Decoupled Autoencoded Meta-Embedding, DAEME, joins the outputs of the encoders without mixing their coordinates. A reader can picture its word vector as two adjacent blocks. The first block corresponds to a transformed version of one source, and the second block corresponds to a transformed version of the other. Each decoder receives only the block that came from its own source.

```
m(w) = E₁(s₁(w)) ⊕ E₂(s₂(w))
```

The symbol ⊕ means concatenation. Each E takes its matching source vector s for word w, and the operation places the coordinates of the resulting encodings in sequence. The expression on the left names the resulting meta-embedding.

```
dₘ = d′₁ + d′₂
```

Here dₘ is the number of coordinates in the combined vector, and d′₁ and d′₂ are the numbers produced by the encoders. The plus sign adds the lengths. It expresses how concatenation affects the dimension and does not indicate addition of the vectors themselves.

```
ŝ₁(w) = D₁(E₁(s₁(w)))
```

The first source’s original vector s₁(w) goes through its encoder E₁. The decoder D₁ acts on that encoding to produce ŝ₁(w), the first reconstruction. The nested parentheses indicate the order of those operations.

```
ŝ₂(w) = D₂(E₂(s₂(w)))
```

The second source’s original vector s₂(w) goes through E₂ and then D₂. Its reconstruction is ŝ₂(w). The computation gives D₂ access to the second encoding alone.

Separate decoding does not make the entire training problem independent across sources. The loss includes a distance between the encoder outputs for the same word. That term gives the encoders a reason to put the two outputs close together. The reconstruction terms give each encoder a reason to preserve information that its own decoder needs. The two demands can compete. A change that makes the encodings more alike is useful to the loss only to the extent that the weighted cost of the reconstructions allows it.

```
L(E₁, E₂, D₁, D₂) = ∑_{w ∈ V} (λ₁‖E₁(s₁(w)) − E₂(s₂(w))‖₂ + λ₂‖ŝ₁(w) − s₁(w)‖₂ + λ₃‖ŝ₂(w) − s₂(w)‖₂)
```

L is the loss for the four networks named inside its parentheses. The summation sign ∑ adds the parenthesized cost over words w belonging to V, as indicated by ∈. Subtracting two vectors gives their coordinate-wise difference, and ‖·‖₂ denotes its Euclidean length. The first distance is between the encodings. The following distances are between each reconstruction ŝ and its original s. The coefficients λ₁, λ₂ and λ₃ multiply the respective distances, and the plus signs combine the weighted terms for a word.

The difference in the first term requires the two encoder outputs to have compatible dimensions. The incoming vectors are still allowed to differ in length, since each encoder can transform its input to the required output size. The paper’s dimension expression records how the final concatenation is formed. The additional constraint comes from the distance in the loss. It matters because the architecture preserves separate blocks even while the objective encourages those blocks to have comparable coordinates.

The parameters are optimized jointly. For instance, an update to E₁ can affect both the discrepancy with E₂’s output and the quality of D₁’s reconstruction. A nonlinear activation changes how each encoded coordinate depends on the input. The authors use ReLU in this variant and describe nonlinearity as a way to discourage the weight matrices from settling into identity mappings. ReLU keeps positive inputs to the activation and sets negative ones to zero. The choice gives the encoder a route to learn something other than a fixed linear change of coordinates.

#### A concatenation that both decoders can read

The Concatenated Autoencoded Meta-Embedding, CAEME, uses the same joining operation as DAEME and has the same dimension rule. The change concerns the input to the decoders. Both see the complete pair of encoded blocks. This makes it possible for the reconstruction of one source to depend on coordinates that originated in the other.

```
ŝ₁(w) = D₁(m(w))
```

D₁ takes the full meta-embedding m(w) and produces the first reconstructed vector ŝ₁(w). Its output belongs to the space of the first source, even though its input includes the encodings from both sources.

```
ŝ₂(w) = D₂(m(w))
```

D₂ uses that same m(w) to produce ŝ₂(w), the approximation to the second original vector. The decoder’s output still has the dimensions required by its target source.

Since each decoding can use both blocks, a reconstruction error can influence either encoder during training. This is the tighter integration the authors describe. Suppose a feature carried by one source also helps estimate part of the other original vector. The decoder can exploit that relationship directly. The shared input permits this use of complementary information. The objective assigns no separate reward for making the encoded blocks look alike.

```
L(E₁, E₂, D₁, D₂) = ∑_{w ∈ V} (λ₁‖ŝ₁(w) − s₁(w)‖₂ + λ₂‖ŝ₂(w) − s₂(w)‖₂)
```

L is again the loss of the two encoders E₁ and E₂ and the two decoders D₁ and D₂. The sum ranges over words w in the common vocabulary V. Each subtraction forms an error vector, whose length is taken by ‖·‖₂. The coefficients λ₁ and λ₂ determine how much the first and second reconstruction errors contribute. The plus sign adds their weighted costs. The coefficients are local to this objective. Its λ₁ weights the first source reconstruction, whereas DAEME’s λ₁ weights the agreement term.

The authors illustrate the purpose of the weights by considering a larger λ₂ than λ₁. That setting would give more influence to the second source’s reconstruction error. The weights used in the experiments are selected on validation data. The encoders in CAEME may output different lengths because the decoder reads their concatenation and there is no pairwise distance between the blocks in the objective.

#### Putting both encodings in the same coordinates

The Averaged Autoencoded Meta-Embedding, AAEME, keeps the two decoders that each read the whole representation. It replaces the concatenation with a coordinate-wise sum. Each encoder therefore produces a vector of the same length. The sum is divided by its Euclidean length, so the resulting vector has unit length when the sum is non-zero. The direction is the same one that would be obtained by averaging the encodings before normalizing.

```
m(w) = (E₁(s₁(w)) + E₂(s₂(w))) / ‖E₁(s₁(w)) + E₂(s₂(w))‖₂
```

The left side is the meta-embedding for word w. The two encoder calls map the original s₁(w) and s₂(w) to equally sized vectors. The plus sign adds corresponding coordinates, and ‖·‖₂ gives the Euclidean length of the resulting sum. The division sign scales each coordinate by that length. The denominator therefore depends on the same sum as the numerator.

Both outputs contribute to each coordinate that the decoders can read. The decoders have no separate blocks identifying which source supplied which coordinate value. To reconstruct both originals, the encoders and decoders must learn to work with this combined input. The output dimension is the length of either encoding. It need not increase with the act of combining them, as it does with concatenation.

AAEME uses the same decoder equations and the same weighted reconstruction objective as CAEME. The meaning of the objective changes through the definition of its input. CAEME can keep features in separate coordinates assigned to their source blocks. AAEME allocates a single set of coordinates to the sum, so an encoder’s contribution can affect how both originals are estimated from that shared direction. Normalization also removes the total length of the unnormalized sum from the information available to the decoders.

The paper draws its motivation from an earlier result about approximately orthogonal embedding spaces. Orthogonality means that directions have zero inner product. The earlier analysis connects approximate orthogonality to conditions under which averaging can carry information similar to concatenation. AAEME introduces learned transformations before the addition. The published loss contains reconstruction terms and no term that directly tests or enforces orthogonality. The later benchmark comparisons measure the usefulness of the resulting vectors.

The authors considered adding outputs of different lengths by padding the shorter one with zeros. They report that this worked poorly in preliminary experiments and use equally sized encoder outputs in the architecture they evaluate. They also report that normalizing the sum improved performance in preliminary work. Neither observation comes with a numerical breakdown. Both choices are nonetheless part of the design of the averaged variant.

#### Fitting the networks

The experiments use a released CBOW collection trained on Google News, a corpus described as containing about 100 billion words. After phrase entries are discarded, this source has 929,019 word embeddings, each with 300 dimensions. The other collection is GloVe trained on Common Crawl. It has 1,917,494 word embeddings, also with 300 dimensions. Their intersection contains 154,076 words, which provide pairs of inputs and reconstruction targets. The authors choose these sources in part because the earlier meta-embedding study found them strong on tasks including similarity and analogy. [Distributed Representations of Words and Phrases and their Compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/)

The networks used in the experiments have a single hidden layer. Weights start from random draws from a Gaussian distribution with zero mean and a standard deviation of 0.01. The training algorithm is [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/), an optimizer that uses gradients to update the weights. The learning rate is 0.001, and training processes mini-batches of 128 examples. A mini-batch is a group of word entries used together to estimate an update before moving to another group.

Training includes 5% masking noise. Masking randomly replaces some input coordinates with zeros. The reconstruction targets remain the original entries, which makes the training objective a denoising problem. A network cannot rely on every coordinate arriving intact on each pass. It can use the remaining input and, where the decoder has access to it, information derived from the other source. The paper applies masking across the proposed methods, so the benchmark comparisons among them reflect different architectures under a shared corruption procedure.

Hyper-parameters were chosen with the Miller–Charles word similarity dataset. DAEME uses λ₁ and λ₂ of 1.0 and λ₃ of 5.0, placing a larger coefficient on the second reconstruction term. CAEME and AAEME each use 1.0 for both source reconstruction weights. ReLU is the stated activation for DAEME. The authors report comparable results from sigmoid and ReLU for the other variants. A sigmoid maps its input through a smooth bounded curve, giving another way to make the transformation nonlinear.

The resulting vectors are 600-dimensional for DAEME and CAEME and 300-dimensional for AAEME. The training table reports 361,200 trainable parameters for DAEME and the same count for AAEME. It reports 541,200 for CAEME. The reported CPU training times are 3h 57min for DAEME, 6h 53min for CAEME and 2h 10min for AAEME. These are measurements of the authors’ training runs. The paper identifies AutoencodedMetaEmbedding as the public implementation of the proposed methods.

### Experiments and results

#### The comparisons and what they control

The evaluation compares each proposed representation with both original embeddings, several ways of combining the originals, and the publicly released 1TON and 1TON+ representations. The authors use the existing releases for the latter methods. Across the meta-embedding comparisons they keep the covered benchmark words the same, so the scores compare representations on shared material. An enlarged vocabulary could matter in an application, but the experimental setup controls for it.

CONC, the concatenation baseline, first divides each source vector by its own Euclidean length. It then places the resulting vectors side by side. Unit length gives the source blocks equal weight when computing cosine similarity between the concatenated word vectors. This baseline retains separate access to the coordinates of both sources without learning an encoder. The use of normalization makes it stronger than a raw join in which large vector magnitudes could give one block disproportionate influence.

AVG performs the same normalization on the source vectors before averaging. With both sources at 300 dimensions, the average also has 300 dimensions. This gives a comparison with AAEME at the same final width. AVG adds coordinates from the released spaces directly. AAEME learns transformations before combining coordinates and trains with a reconstruction objective. Their performance difference concerns the overall effect of those choices.

SVD begins with the concatenated embeddings and compresses the space by singular value decomposition. The underlying matrix has one row per word in the shared vocabulary. Each row has the joined coordinates from the two sources. The decomposition identifies directions of variation and gives each a singular value, which indicates its contribution to the matrix approximation.

```
C = UΣVᵀ
```

C is the matrix of concatenated vectors. U and V are the matrices of left and right singular vectors, and Σ is the diagonal matrix of singular values. The superscript ᵀ means transpose, and the adjacency of the matrices denotes multiplication. In this expression V is a matrix, distinct from the vocabulary symbol V in the autoencoder equations.

```
Cₖ = UₖΣₖ
```

The subscript k is the number of retained directions. Uₖ contains the columns of U corresponding to the largest k singular values, and Σₖ contains those values on its diagonal. The product Cₖ gives the reduced word vectors in its rows. The low-rank reconstruction associated with truncating the decomposition is optimal for the matrix approximation criterion described in the paper. That criterion concerns the input matrix. Performance on a particular benchmark still requires measurement.

The authors use k equal to 300 for this baseline in the main comparison. A second use of SVD reduces the already learned autoencoded vectors to 200 dimensions for comparison with the released 1TON and 1TON+ representations. These uses answer different questions. The baseline asks how far linear compression of a simple concatenation can go. The matched-width experiment asks how much of the performance of autoencoded vectors survives when they are compressed to the same width as the earlier systems.

#### Similarity between words

To evaluate similarity, the authors take a pair of word vectors and compute their cosine similarity. Cosine compares their directions by accounting for their lengths. The resulting scores put word pairs in an order that can be compared with the order induced by human judgments. The evaluation uses Spearman correlation, which measures agreement between rankings. A representation can perform well if it orders the pairs similarly to people, even if its raw similarity values are on a different scale from the human ratings.

The four datasets are Word Similarity 353, abbreviated WS, Rubenstein–Goodenough, abbreviated RG, Miller–Charles, abbreviated MC, and MEN. The paper reports 65 word pairs for RG and 30 for MC. MEN has 3000 pairs. These benchmarks supply different collections of word pairs, so a change can improve the ranking on one and disturb it on another. MC has an additional role in the experiment as the validation dataset used to choose hyper-parameters.

On WS, DAEME scores 77.3 compared with 75.4 for GloVe, 76.8 for SVD and 76.5 for 1TON. On RG, CAEME scores 84.0, ahead of SVD at 83.3 and 1TON at 83.2. The same variant leads on MC at 89.3, where DAEME scores 89.1 and CONC and AVG each score 88.8. The MC result describes performance on the data used for tuning. The other similarity datasets are the distinct evaluation sets for judging whether those settings transfer.

Word embeddings on MEN by Spearman correlation score The averaged autoencoder leads on MEN, with the decoupled variant and 1TON close behind.

**The numbers**

| System or setting | reported Spearman correlation score |
| --- | --- |
| CBOW | 78.2 |
| GloVe | 81.7 |
| CONC | 82.5 |
| SVD | 82.6 |
| AVG | 82.5 |
| 1TON | 82.8 |
| 1TON+ | 81.8 |
| DAEME (this paper) | 83.0 |
| CAEME | 82.3 |
| AAEME | 83.2 |

MEN illustrates the size as well as the direction of the gains in similarity. Several approaches to combining the vectors perform close to one another at the upper end. The concatenated autoencoder, which leads on RG and MC, falls behind simpler combinations on MEN. The representation that works best for similarity depends on the words and judgments in the test. Across these benchmarks, the original CBOW generally leaves more room for improvement than GloVe, and neither original is the strongest of the tested representations.

#### Completing word analogies

The analogy evaluations ask which word fills the missing position in a relation. The procedure starts from the direction between the first two word vectors and applies it to the third. The resulting vector defines a search direction. A candidate is preferred when its own vector has the largest cosine similarity to that result. The paper calls this procedure CosAdd.

```
b − a + c
```

Here a, b and c denote the embeddings of the three given words in their question order. Subtracting a from b gives the offset from the first vector to the second. Adding c transfers that offset to the third vector’s position. The embedding d of the candidate answer is compared with this result using cosine similarity, and the search chooses the candidate with the largest cosine.

CosAdd evaluates a property different from ranking isolated word pairs. The vectors must support a useful offset across pairs. A representation that puts similar words close to one another may still be poor at arranging pairs that express the same relation in a consistent direction. The benchmark score is the proportion of questions answered correctly. The paper evaluates on Google, abbreviated GL, MSR, SemEval 2012 Task 2, abbreviated SE, and SAT.

GL gives SVD and AAEME the same reported score, 76.9. CONC scores 75.5 and 1TON scores 74.6. On MSR, AAEME leads with 80.0, while SVD reaches 79.8 and DAEME matches CONC at 79.4. On SE, CAEME leads with 43.9. AAEME reaches 43.8 and DAEME 43.7, with CONC and AVG each at 43.5. The strongest autoencoded variant therefore changes with the analogy set, and the margin over a simple baseline ranges from small to clearly visible in the reported scores.

Word embeddings on SAT analogy completion by accuracy Each autoencoded variant exceeds the earlier and simple combinations, with the decoupled variant leading.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CBOW | 30.2 |
| GloVe | 27.0 |
| CONC | 29.7 |
| SVD | 30.7 |
| AVG | 29.7 |
| 1TON | 22.5 |
| 1TON+ | 21.7 |
| DAEME (this paper) | 39.3 |
| CAEME | 38.0 |
| AAEME | 38.0 |

SAT provides a contrast with the tighter MSR and SE results. Simple combinations leave its score close to the strongest original source. Both released 1TON variants score below either original on this benchmark. All three autoencoded variants improve on those comparisons, including the 300-dimensional AAEME. The result shows that the improvement over the earlier systems is not reducible to having a wider representation. It also shows why the individual sources are useful baselines. On SAT they give a more demanding comparison than the released 1TON variants.

#### Classifying relations between words

DiffVec, abbreviated DV, contains 12,458 triples. Each triple associates a relation label with an ordered pair of words, and the dataset covers 15 relation types. The experiment represents a pair by subtracting the vector of the second word from the vector of the first. The subtraction makes the representation sensitive to which word occupies which position. The direction of that offset is what the classifier compares across pairs.

For a test pair, the authors measure cosine similarity between its offset and the offsets of pairs in the training data. A 1-nearest neighbor classifier assigns the relation label from the closest training pair under that comparison. The prediction is correct if the assigned label matches the benchmark label. The score is classification accuracy. This protocol gives the geometry of the offsets a direct role because there is no separate learned transformation of those offsets before the comparison.

AAEME and SVD both score 89.5 on DV. DAEME scores 88.6, CBOW scores 88.5 and CAEME scores 88.2. The released 1TON scores 87.6 and 1TON+ scores 83.9. The shared lead matters because the methods at the top produce vectors of the same dimension by different means. One compresses the original concatenation linearly. The other combines learned encodings and trains them through two reconstruction targets. The benchmark shows that both can produce offsets well suited to this classifier.

#### Classifying short texts

The short-text tests use the word vectors to construct a vector for a whole text. The authors compute its centroid, which is the coordinate-wise mean of the vectors of its words. This operation treats the text as a collection of word vectors. Two texts with the same collection of vectors have the same centroid regardless of the order in which the words appeared. The experiment then fits a binary logistic regression classifier to the training split and records classification accuracy on the test split.

There are four datasets. TR is the Stanford Sentiment Treebank, MR is Movie Review, CR is Customer Review and SUBJ is Subjectivity. The paper uses binary targets for these experiments. Holding the representation rule and classifier family constant lets the comparisons vary the source of the word vectors while preserving the general text classification procedure. [Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank](https://md.research.elamur.ai/free/en/papers/socher-2013-recursive-deep-models-semantic-compositionality/)

Word embeddings on the Customer Review test split by classification accuracy The decoupled autoencoder gives the highest accuracy under the shared text classification procedure.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CBOW | 79.2 |
| GloVe | 81.5 |
| CONC | 80.9 |
| SVD | 80.9 |
| AVG | 81.2 |
| 1TON | 81.5 |
| 1TON+ | 68.5 |
| DAEME (this paper) | 84.2 |
| CAEME | 78.9 |
| AAEME | 82.6 |

The decoupled representation also leads on TR with 82.3, compared with 81.4 for AAEME and 81.1 for AVG. On SUBJ, DAEME scores 90.8 and CONC and AVG each score 90.7. The Movie Review test has a different ordering. SVD leads with 77.0, followed by AAEME and AVG at 76.8. DAEME scores 76.6 there. Accordingly, the classification evidence supports the authors’ overall preference for DAEME among their variants on these tasks, with MR as a case in which the linear baseline is strongest.

CR also shows why simply adding another source does not assure an improvement. GloVe alone scores 81.5, above each of the simple combinations and above CAEME at 78.9. DAEME and AAEME each improve on GloVe on that dataset. The variation within a single classification setup suggests that the way information is retained or combined can matter as much as the decision to use both sources.

#### Predicting human ratings of individual words

In the [psycholinguistics](https://md.research.elamur.ai/free/en/concepts/psycholinguistics/) evaluation, each example is a word with a human rating. The targets are arousal, valence and dominance, abbreviated AS, VAL and DOM. These concern the level of activation associated with the word, the positive or negative character of the response, and the sense of control associated with it. Unlike the similarity evaluation, the procedure uses a supervised predictor to estimate each rating from a word’s coordinates.

The authors train a regression network with a single hidden layer of 100 neurons and ReLU. They report using a random 80% of words from the MRC database and ANEW for training. The evaluation protocol uses Pearson correlation between the predicted and human ratings. Pearson measures the linear association of the values. Spearman, used for word similarity, concerns their rank order. The paper’s results table gives these scores in its own reporting scale, which is retained here.

AAEME scores 7.03 on AS and 13.6 on VAL, the highest entries in their respective columns. AVG scores 3.18 on AS and 0.11 on VAL. DAEME also scores strongly at 6.97 for AS and 13.3 for VAL, and CAEME reaches 12.1 on VAL. Dominance has a different leader. The released 1TON+ has 8.27, against 7.35 for AAEME. This makes the averaged autoencoder strong across the rating tests while leaving a clear exception to a claim of overall leadership on every target.

The three types of human judgment make it possible to see that improvement on one target does not determine the ordering on another. The predictors use the same kind of word-level input and the same network design, but they are fitted to different judgments. A representation that is effective for estimating how positive a word feels can still lose to another representation when the target is the sense of control it evokes.

#### Statistical comparisons

The paper reports significance comparisons involving 1TON and 1TON+. Its results-table captions specifically define an asterisk as significance over 1TON. The prose describes Fisher-transformation intervals at p \< 0.05 for the correlation benchmarks and Clopper–Pearson exact binomial intervals at p \< 0.05 for the remaining evaluations. The paper’s description of the former groups the rating tests with Spearman correlation, while its rating protocol names Pearson. The coefficients reported for the rating task should be read with that inconsistency in mind.

The table marks favorable comparisons on several analogy, relation and rating tests. It does not provide evidence that every leading score is distinguishable from the next highest entry. On DV, for instance, AAEME’s result carries a significance mark against the earlier comparator and ties SVD numerically. These statements can both be true because the mark and the tie concern different comparisons. The charts above show reported scores, and their stars identify the authors’ methods.

### What the ablations show

#### Comparing methods with and without learned transformations

The paper compares architectural variants and simpler combinations. It does not report a full component-by-component ablation in which each training choice is independently switched off. The comparisons still narrow the explanation of the results when the methods share an operation or an output dimension.

The closest comparison for a concatenated output is CONC against DAEME and CAEME. All keep source-derived blocks side by side, and the autoencoded variants learn how to construct those blocks. CONC scores 29.7 on SAT, while both autoencoded concatenations perform substantially better. On CR, DAEME leads all methods, but CAEME scores below CONC. The common output layout leaves considerable room for training choices to matter. The difference between the two learned variants shows that the gain does not follow from nonlinear encoding alone in every task.

DAEME and CAEME offer a comparison in which the final dimension stays at 600. DAEME reconstructs each source from its own block and adds a term bringing the encoded blocks closer together. CAEME gives both decoders the entire vector and uses reconstruction alone in its objective. DAEME’s stronger scores on TR and CR favor its complete architecture under the text classification procedure. CAEME’s lead on RG and MC favors its complete architecture on those rankings. Because decoder access and the agreement term change together, these runs leave their separate effects unresolved.

The difference between CAEME and AAEME concentrates on how the meta-embedding is formed. Both reconstruct both sources from the shared representation. CAEME keeps the encoded coordinates separate, and AAEME adds and normalizes them. This change also alters final width and, in the reported networks, the parameter count. AAEME’s results on MSR and DV show that the narrower, summed representation can support useful relational geometry in spite of giving the decoders fewer coordinates. The comparison gives no independent estimate of how much of the change comes from the summation, the normalization or the dimension constraint.

AVG versus AAEME keeps the output width at 300. The contrast is especially visible in the rating results and in SAT analogy completion. The paper interprets it as evidence that transforming the vectors before combining them is useful. AAEME also benefits from training a representation to recover both sources, and it normalizes the combined vector. The score comparison assesses the package of these choices. It does not by itself identify a particular geometric property of the encodings as the cause.

#### Changing the available dimensions

The SVD baseline supplies a check on the idea that retaining a wider concatenation is necessary. It reaches 76.9 on GL and 89.5 on DV, matching AAEME on each. It produces the best MR result at 77.0. A reduction from the original concatenated space can preserve enough of its useful information for those tests. SVD does lose ground on some other comparisons, including MC, where its 86.7 is below CONC at 88.8. The matrix approximation criterion serves some benchmark geometries better than others.

The authors’ more direct dimensionality control is the second experiment. They apply SVD to the autoencoded representations to obtain 200 dimensions, the width of the released 1TON and 1TON+ vectors. This controls the width at evaluation. It still compares different learning objectives and a post-training reduction for the authors’ variants. The experiment can show whether the earlier leads survive compression and whether conditions of equal width alter the ordering.

On Google analogies, the reduced DAEME and CAEME each score 77.5 and the reduced AAEME scores 77.6. The earlier 1TON score is 74.6 and 1TON+ scores 68.1. On MSR, the reduced AAEME reaches 80.8, while CAEME scores 80.2 and DAEME 79.2. The earlier systems score 78.0 and 72.2 respectively. The reduced AAEME scores higher in these comparisons than it does in the main experiment. Preserving every direction of the initial representation is therefore unnecessary for its best performance on those tests.

The reduced vectors all score 89.7 on DiffVec, compared with 87.6 for 1TON and 83.9 for 1TON+. On CR, the reduced AAEME reaches 83.2 and the reduced DAEME 82.9. The reduced CAEME is at 79.5, below 1TON at 81.5. These results explain the paper’s account of relatively stable analogy, relation and short-text performance under width reduction. The level is frequently maintained and the earlier methods are frequently exceeded, although a method’s place in the ordering can change.

SAT is an instructive case within the analogy results. DAEME moves from 39.3 to 38.0, CAEME from 38.0 to 36.9 and AAEME from 38.0 to 35.0. Each reduced variant still exceeds the released earlier systems. The wider representations supply something useful for this benchmark, even though the direction of change is favorable for compression on Google and MSR in several cases. The effect of reducing a representation is specific to the way the task reads its geometry.

Similarity shows a broader decline. On WS, the reduced variants score 74.0 for DAEME, 73.7 for CAEME and 74.5 for AAEME. All are below 1TON at 76.5 and 1TON+ at 76.8. On MEN, the reduced scores are 82.4 for DAEME and 82.5 for the other variants, below 1TON at 82.8. On MC, the reduced AAEME scores 86.1, while 1TON scores 88.1. These comparisons qualify the advantage apparent at the original widths. Some of the favorable similarity rankings depend on retaining more of the learned space.

Ratings also show sensitivity, with differences across variants. On VAL, AAEME moves from 13.6 to 7.63, and reduced DAEME scores 8.81. Both still exceed 1TON at 5.73, while 1TON+ scores 11.7. Reduced CAEME has a reported VAL score of 0.00. The same dimensionality limit can therefore remove information especially consequential for one source of features while leaving another useful. This is more informative than treating dimensionality as a uniform penalty across every task.

#### Preliminary choices and training cost

The paper gives qualitative observations for normalization, zero padding and activation. Normalizing the sum helped in the authors’ preliminary tests, and padding a shorter encoder output with zeros did not work well enough for them to keep it. Sigmoid and ReLU performed comparably for CAEME and AAEME. Because these observations have no per-dataset scores, they explain the selected settings without establishing how sensitive each benchmark is to those choices. There is also no masking-off result that measures the contribution of denoising independently.

Training cost is reported alongside the architectures. AAEME has the shortest observed CPU training time and the same reported parameter count as DAEME, even though the latter returns a wider vector. CAEME has the largest parameter count and takes the longest in the reported runs. These measurements explain part of the authors’ practical preference for AAEME. The recommendation combines compact output, observed training time and competitive scores across different tasks. It does not depend on AAEME leading every column.

### Limitations

#### Limits identified by the authors

The paper presents two sources for the mathematical exposition and uses the same two sources throughout the experiments. The authors say that the methods can extend to more sources, but the benchmark evidence concerns the CBOW and GloVe pair. Combining additional sources would change the number of inputs and the reconstruction demands. The paper leaves multilingual meta-embeddings for future work, so it provides no multilingual experimental comparison.

The authors recognize missing vocabulary as a distinct problem. Their proposed preparatory regression could fill a missing source entry before autoencoding, following 1TON+. The main experiments build proposed representations for the intersection and compare methods over a common covered subset. This design makes the scores easier to compare as measurements of vector quality. It leaves the reliability of predicted source entries and the benefits of vocabulary expansion unmeasured.

They also flag constraints on the averaged design. Corresponding encoder outputs need the same length to be added, and their preliminary attempt to allow unequal lengths through zero padding performed poorly. CAEME allows different lengths in the concatenation. DAEME’s agreement term also needs compatible encoder output lengths. These facts distinguish the permissive assumption about original source dimensions from the constraints introduced by how the encodings are compared or combined.

The authors note that the earlier multi-view system could potentially be adapted to a broader setting. They could not investigate that possibility because its implementation was unavailable to them. The comparison with prior work therefore covers the baselines they construct and the earlier meta-embeddings they could obtain. It leaves the relative performance of that multi-view approach unresolved.

#### Limits visible in the evaluation

The results establish usefulness under particular readouts of the vectors. Similarity depends on cosine and ranking agreement. The analogy procedure depends on a chosen offset operation and cosine search. The relation classifier reads pair offsets through nearest neighbors. Short-text classification reduces a text to a centroid and fits logistic regression. The rating experiment learns a small supervised predictor. Each readout gives the vectors a specific job. An advantage in these settings leaves open how the same representations perform when a task uses word order, contextual distinctions or other ways of combining word features.

The representation is indexed by word identity. Each input word contributes a pair of released vectors and gets a single combined vector. The architecture has no occurrence-specific input that could tell it which sense of a word is intended in a sentence. Sources can still capture different information about a word’s uses, and the combined vector can preserve some of it. The experiments do not test whether an individual use can be recovered or separated from the other uses in context.

MC plays both a selection role and a reporting role. The authors use it to pick hyper-parameters, then display scores on it with the other similarity datasets. Its score is evidence about the chosen settings on MC. Evaluation on a separate dataset provides better evidence that an improvement transfers beyond the judgments used in selecting those settings. This distinction matters especially when the apparent lead is small or the rank ordering of methods varies across datasets.

The paper’s account of orthogonality is stronger than the architecture establishes. The sum in AAEME requires encodings in common coordinates, and division by the norm sets the length of the combined vector. Neither operation constrains the inner product of the individual encoder outputs. The training objective constrains the quality of reconstructions, so it could favor encodings whose geometry suits that purpose. A geometric guarantee would require a further argument or a measured property of the learned vectors. The paper gives downstream scores and no direct measurement of that property. The normalization formula also presupposes a non-zero sum, and the method description does not specify what happens in the zero case.

The experiments also leave room for several explanations of the gains. The learned methods differ from the simple baselines in their objectives and transformations. The comparisons between the learned variants change more than one property at a time. Even at equal evaluation width, the proposed vectors have been trained with reconstruction and then reduced with SVD, while the earlier vectors come from a different learning procedure. The results show advantages for the complete methods under the tested conditions. They do not give an isolated estimate of nonlinearity’s contribution or show how much uniquely source-specific information survives.

The statistical description makes some conclusions harder to verify from the reported scores. The rating protocol specifies Pearson correlation, while the significance paragraph describes correlation intervals in terms of Spearman. The captions identify marks against 1TON, while the surrounding text discusses comparisons against both earlier systems. The tables make the magnitudes and ordering of the reported results clear. The significance marks answer a narrower question about the designated comparator, and they give no general test of differences among the autoencoded variants or against the strongest simple baseline.

Finally, the paper evaluates released sources selected in part for their strong prior performance. This is an appropriate test of whether established vectors can be combined to advantage. It leaves open whether the same architecture would help when the sources have very unequal quality, when their vocabularies overlap little, or when their information is largely redundant. The weighted losses give the method a way to emphasize a reconstruction target. The experiments provide a result for the chosen weights and sources, without establishing how to choose those weights for a different pair.

### What came after

The documented later connection is to *Probing Pretrained Language Models for Lexical Semantics* (2020), which cites the autoencoding paper. Its title identifies an adjacent question about how pretrained representations can be examined for the lexical information they contain. Bao and Bollegala approach lexical information through combination. They train a vector to recover existing word representations, then use benchmark tasks to see how much useful structure the result preserves. The later work’s title places the emphasis on probing pretrained representations. [Probing Pretrained Language Models for Lexical Semantics](https://md.research.elamur.ai/free/en/papers/vulic-2020-probing-pretrained-language-models-lexical/)

The citation establishes a connection between the papers. It leaves the role of the earlier method in the later study unspecified. The documented connection therefore supports a relationship in subject matter and evaluation, with the reuse of an encoder, reconstruction objective or benchmark protocol unconfirmed.

## Cite

Cite as Danushka Bollegala and Cong Bao. 2018. Learning Word Meta-Embeddings by Autoencoding. Proceedings of the 27th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{bollegala2018learning,
  title = {{Learning Word Meta-Embeddings by Autoencoding}},
  author = {Danushka Bollegala and Cong Bao},
  booktitle = {Proceedings of the 27th International Conference on Computational Linguistics},
  year = {2018},
  url = {https://aclanthology.org/C18-1140/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
