---
title: "How much do word embeddings encode about syntax? (2014)"
description: "This study tests whether word embeddings help a constituency parser handle unfamiliar words, share lexical evidence, and recover phrase…"
canonical: "https://research.elamur.ai/free/en/papers/andreas-2014-how-much-do-word-embeddings/"
---
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/andreas-2014-how-much-do-word-embeddings/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2014](https://md.research.elamur.ai/free/en/papers/2014/) / How much do word embeddings encode about syntax?

# How much do word embeddings encode about syntax?

Paper · 2014 · Jacob Andreas and Dan Klein

**Authors:** [Jacob Andreas](https://md.research.elamur.ai/free/en/authors/jacob-andreas/) and [Dan Klein](https://md.research.elamur.ai/free/en/authors/dan-klein/) · **Year:** 2014 · **Venue:** Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

[**51** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2251703179) · [Cited by **26** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/andreas-2014-how-much-do-word-embeddings/cited-by/) · [Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)](https://aclanthology.org/volumes/P14-2/) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/P14-2133/)
- [PDF](https://aclanthology.org/P14-2133.pdf)
- [DOI 10.3115/v1/p14-2133](https://doi.org/10.3115/v1/p14-2133)
- [OpenAlex](https://openalex.org/W2251703179)

Citations: OpenAlex, 2026-10-14.

## Summary

A parser that learns from annotated sentences can recognize familiar grammatical patterns and still struggle when those patterns contain unfamiliar words. [Word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) offer a possible source of evidence. They represent words as vectors learned from the contexts in which the words appear. If words that occur in similar contexts also behave alike grammatically, an embedding might help a parser apply what it knows about one word to another. Jacob Andreas and Dan Klein test that possibility in [constituency parsing](https://md.research.elamur.ai/free/en/concepts/parsing/), the task of recovering nested phrases and their grammatical categories in a sentence. They start with a statistical parser that already learns fine distinctions from annotated phrase trees, then ask how much the vectors add to what it can learn there.

The authors test different ways of putting the vectors to work. When the parser encounters a word absent from its annotated training set, it can look up a nearby training word in the embedding space and use that word in its place. For words it has already seen, it can pool evidence from nearby words when estimating which grammatical categories produce them. A feature-based lexicon can also use the location of a word along individual embedding coordinates. These interventions give different meanings to the claim that an embedding contains useful syntax. A vector can point to a suitable substitute, identify words whose counts should be shared, or supply a feature that helps distinguish grammatical behavior.

On the Wall Street Journal test set, the combination selected on development data raises parsing F₁ from 72.02 to 72.43 with 300 annotated training sentences and from 84.09 to 84.36 with 3000. Both improvements pass the paper’s paired significance test. With the full training set of 39,832 sentences, the same combination takes the score from 90.70 to 90.11. The coordinate features improve on a lexicon that uses word identity features alone, while the standard generative baseline scores higher in all of those comparisons. The combined approach also yields statistically indistinguishable results from the baseline when training on Wall Street Journal text and testing on Brown, and in a French treebank experiment.

The results suggest that the vectors carry some grammatical evidence a parser can use when annotated sentences are scarce. Much of that evidence appears to overlap with distinctions this parser family can learn from a [treebank](https://md.research.elamur.ai/free/en/topics/treebanks/), a collection of sentences with annotated parse trees. The authors propose that preterminal tags, the categories immediately above words in a constituency tree, may help explain the overlap. They leave that explanation open for direct testing. Their experiments establish how these particular ways of adding embeddings fare against a strong discrete parser, under conditions ranging from very little labeled training data to the full treebank training set.

## Deep dive: How much do word embeddings encode about syntax?

This study tests whether word embeddings help a constituency parser handle unfamiliar words, share lexical evidence, and recover phrase structure. · 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

#### What a word vector might tell a parser

In a constituency tree, words sit at the bottom and labeled groups of words make up the structure above them. A parser has to decide which spans form phrases, what categories to assign those phrases, and how the phrases fit together. These decisions involve several kinds of evidence. A phrase can occur in a familiar position in the sentence, and the words inside it can make one category more plausible than another. The evidence about an individual word can be particularly sparse. A word encountered at test time may appear rarely in the training trees, or it may be missing from them entirely.

A word embedding gives the parser a potential way to connect those cases to evidence it already has. An embedding assigns a word a point in a space with real-valued coordinates. A word’s position reflects regularities learned from the contexts it occurs in. As a consequence, words can be close in that space even when each has limited annotated evidence of its own. For parsing, the useful question is whether the proximity tracks a grammatical property that matters for a particular decision. A neighbor may be a good stand-in for an unfamiliar word if the parser can sensibly assign the two words similar lexical categories. The same neighborhood may be less helpful when the categories needed by the parser are finer than the distinction the vectors capture.

The paper illustrates the possibility with [English determiners](https://md.research.elamur.ai/free/en/topics/english/). It plots their embeddings after projecting them onto the first two principal components, directions chosen to show variation in the original vectors. In that view, *each* lies near *every*, while *few* lies near *most*. The authors also see a tendency for definiteness to align with the vertical direction, with *a* as an exception. The plot puts grammatical differences within a broad lexical category on display. A parser may want to treat words carrying the same broad tag differently, and the distribution of points suggests that some such distinctions are available in the vectors.

The plot motivates a question about how to use the information. Closeness between two plotted words is evidence about a relationship between their positions. A pattern along one direction is evidence about how positions vary across a set of words. Those observations invite different ways of making an embedding useful. One involves finding neighbors and borrowing their statistics. The other involves letting the parser learn what a coordinate value predicts. A pattern among determiners can motivate either mechanism, while its value for parsing has to be established by testing the resulting sentence analyses.

The projection also helps explain why the authors ask how much a parser can learn from annotated trees. Several distinctions visible in the determiner example are of the kind the Berkeley parser’s state-splitting procedure is designed to discover. For instance, the parser can learn that words sharing a broad tag participate in different structures. A pattern may therefore be linguistically informative and still add very little to the parser. The relevant comparison is with the grammar and lexicon that the parser learns when left to use its usual sources of evidence.

#### Why previous work left the question open

The paper places embeddings in a line of work that includes latent semantic analysis for [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/). Latent semantic analysis used distributional statistics to obtain a representation useful for relating items through their usage. The authors also identify newer unsupervised methods for learning word vectors, including the work behind the representations they use in their experiments. The common idea is that observed contexts provide a source of information about words beyond the counts available in a task’s labeled data. [Natural Language Processing (almost) from Scratch](https://md.research.elamur.ai/free/en/papers/collobert-2011-natural-language-processing-almost-scratch/) and [Distributed Representations of Words and Phrases and their Compositionality](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/) describe the sources of the embedding sets used in the paper.

Related work had already applied distributional information to tasks such as [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), and chunking. A part-of-speech tag identifies a word’s grammatical category in context. Chunking identifies groups of words of the sort that can form parts of a larger tree. Success in those settings gave the authors a reason to try embeddings in a phrase parser. It left open how a parser with a learned grammar and multiple levels of syntactic structure would use the extra lexical evidence. The paper discusses [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/) in this strand of work.

The paper also describes a connection in the other direction. A syntactic analysis can help in building a vector representation for a phrase from the words inside it. In that setting, the parse tells the composition procedure something about how the words fit together. Andreas and Klein investigate the direction from lexical representation to parse. The evidence required for that claim is a comparison between parsers with and without access to the vectors, since the usefulness of an existing parse for composing vectors leaves the contribution of vectors to obtaining a parse an open question.

Prior work on [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/) offered a closer point of comparison. A dependency analysis describes grammatical relations between words through links from heads to their dependents. The paper notes gains in this kind of parsing when distributional statistics are represented as discrete word clusters. A cluster label lets related words contribute to a common category. Prior results also suggested gains when the added evidence came from embeddings of the kind Andreas and Klein consider. Those gains motivate asking what a phrase parser already gets from its grammar and tag inventory. The paper discusses cluster evidence in [Simple Semi-supervised Dependency Parsing](https://md.research.elamur.ai/free/en/papers/koo-2008-simple-semi-supervised-dependency-parsing/) and embedding evidence in [Tailoring Continuous Word Representations for Dependency Parsing](https://md.research.elamur.ai/free/en/papers/bansal-2014-tailoring-continuous-word-representations-dependency/).

Existing constituency parsers also gave a reason to examine the contribution more closely. Some parsers represent lexical items as real-valued vectors internally. Others start with pretrained vectors for their words. In such systems the representation participates in a larger architecture. A competitive parsing score then reflects the combination of the lexical representation, the operations that combine information above the words, and the way the whole system scores possible analyses. The score alone leaves the contribution of the pretrained vectors unresolved. The paper includes [Parsing with Compositional Vector Grammars](https://md.research.elamur.ai/free/en/papers/socher-2013-parsing-compositional-vector-grammars/) as an example of a parser using pretrained lexical vectors.

The authors therefore choose a strong parser that already works with discrete grammatical states. They can change the treatment of words while keeping the general grammatical architecture in place. This design asks a narrower question than whether a parser built around continuous representations can work well. It asks whether the information in pretrained vectors helps once the parser has access to the supervised categories and has learned its own refinements of them. [Improved Inference for Unlexicalized Parsing](https://md.research.elamur.ai/free/en/papers/petrov-2007-improved-inference-unlexicalized-parsing/) is the work the paper cites for the Berkeley parser.

#### Why the paper asks several questions about one representation

The first question concerns vocabulary coverage. The author’s example is *hey*, imagined as absent from the parser’s annotated training set. The treebank tag UH covers interjections, including greetings, and the parser assigns a low probability to the unknown word coming from that tag in the example. The embedding for *hey* lies near that of the known word *hello*. If the parser uses *hello* in the lexical calculation, it gains access to whatever evidence its training supplied for that word. Here the embedding supplies the connection between an unseen word and a known one.

The second question applies to words that do occur in the training trees. The authors use first names as an example. Each name may have a small count, leaving its individual behavior poorly estimated, while the names form a group in the embedding space. Pooling evidence would allow occurrences of nearby names to influence the estimate for a particular name. The parser could still distinguish words within a group, according to how much evidence it had for them and how strongly it pooled the counts. This is a question about obtaining more reliable statistics for known words.

The third question concerns the coordinates themselves. If a word’s location along a direction reflects a grammatical property, a lexical feature might allow the parser to respond to it. The determiner projection gives a way to picture such a regularity. The experiment implements the idea through features on ranges of individual embedding coordinates. The paper cites prior observations of systematic structure across a broader variety of parts of speech in [Linguistic Regularities in Continuous Space Word Representations](https://md.research.elamur.ai/free/en/papers/mikolov-2013-linguistic-regularities-continuous-space-word/).

These hypotheses can hold at the same time. The vector for a rare word can have a useful nearest neighbor, while other areas of the space support broader groups worth pooling. An individual dimension can also carry evidence that helps a featured lexicon. By implementing the hypotheses through separate interventions, the authors can examine whether each route helps and under which training conditions. The later combined experiment asks a further question about the joint behavior of the changes selected on development data.

### The method, step by step

#### From a phrase tree to a word probability

The base of the study is the Berkeley parser and the related Maryland parser. The Berkeley parser learns a probabilistic context-free grammar, a grammar in which rules for expressing a category as a sequence of smaller units have probabilities. The parser can compare alternative trees by using the probabilities of the rules and lexical emissions that the trees require. A lexical emission is the step in which a grammatical tag produces an actual word. For instance, an interjection tag can produce a greeting, and the lexicon supplies the weight for using that word under the tag.

The state-splitting procedure adds more specific categories beneath the categories exposed in the treebank. If an observed category is called V, the parser can distinguish refined versions V₁, V₂, and others. V denotes the observed category, and the subscripts distinguish the refinements associated with it. These refinements are latent, meaning that the training trees specify the observed category while the parser estimates which finer state accounts for each occurrence. The labels on the refined states serve to distinguish them in the learned grammar. Their grammatical interpretation comes from the behavior the parser learns for them.

The refinement applies to the tags immediately above the words, called preterminals. A broad tag may occur above words with several kinds of grammatical behavior. The familiar example from the paper is that words under a shared tag can behave as articles or as demonstrative pronouns. A refined tag can favor some words or contexts over others, giving the grammar a way to use the distinction when scoring a larger phrase. The authors’ interest in the lexicon follows from its role in connecting the surface word to these finer categories.

The original Berkeley lexicon stores a probability for each relevant combination of a word and a refined tag. During scoring, the parser can retrieve that value directly. The Maryland featured parser retains the general state-splitting approach and provides a different way to calculate lexical emissions. Its log-linear lexicon assigns weights to features and combines the weights of the features active for a word and tag when computing a score. This gives the authors a natural place to insert features based on the embedding coordinates.

The experiments run both the standard generative lexicon and its pooled variant using Maryland’s implementation of the Berkeley parser. The featured experiments use the Maryland featured parser. The paper identifies Google Code as the distribution source for those implementations. The two lexicons matter when interpreting the comparisons. The pooling extension changes the construction of word probabilities in the generative lexicon, while the coordinate extension changes the information made available to the featured lexicon.

How the parser receives and evaluates embedding evidence The steps in order.

#### Use a known neighbor for an unseen word

An out-of-vocabulary word, abbreviated OOV, is a word absent from the annotated training vocabulary. The parser has a general procedure for such words. The extension tests whether a vector can provide a more specific source of lexical evidence. If an unknown word has an embedding, the procedure finds the closest word in the training vocabulary for which that comparison can be made. It substitutes that neighbor for the unknown word in the parser’s treatment of it. If the word has no embedding, the parser falls back to its usual unknown-word procedure.

The restriction to the training vocabulary is important. A nearby word is a useful substitute for this procedure because the parser can already assign it lexical probabilities learned from the treebank. An equally nearby word outside that vocabulary would still confront the parser with the original problem. The vector lookup therefore connects two sources of evidence. The embedding space gives an ordering of candidate substitutes by distance, and the treebank-trained lexicon determines the grammatical behavior the chosen substitute brings with it.

In the authors’ greeting example, *hey* triggers the OOV procedure if it is absent from the training vocabulary. Its proximity to *hello* makes *hello* a candidate for carrying over evidence about interjections. The parser still evaluates the word as part of a sentence. It uses the grammar to decide which analysis fits the lexical evidence together with the rest of the sentence. This makes the effect more specific than assigning the unseen word a tag directly from the embedding. The nearest neighbor changes what the lexicon offers to the parser, and the whole parse determines how that evidence affects the output.

This intervention also has a clear boundary. Words already in the annotated vocabulary keep their usual treatment in this comparison. Words missing from the vector dictionary use the existing fallback. Thus the extension can help through covered OOV cases in which the selected neighbor supplies useful evidence, and the overall parsing score reflects how often those cases matter for phrase structure. The plain substitution offers a direct test of using lexical similarity to expand the effective reach of the training vocabulary.

#### Pool lexical counts across nearby words

The pooling intervention starts with a different problem. A word can have an entry in the parser’s lexicon and still have too few occurrences to support a stable estimate for a particular refined tag. If nearby words behave similarly, their counts under that tag can help. The authors implement this intuition with a distance-sensitive function that transfers more evidence from close neighbors and less from distant words. The result is a smoothed probability of producing a word given a refined tag.

The full expression appears as Equation 1 in the paper.

```
p(w | t) = (1/Z) ∑_{w′} α_{t,w′} e^(−β ‖ϕ(w) − ϕ(w′)‖²)
```

Here p(w | t) is the probability of emitting word w from refined tag t, and the vertical bar means “given.” The equals sign defines that probability in terms of the sum on the right. The index w′ runs over vocabulary words that serve as sources of evidence. The summation sign adds their contributions. The factor α_{t,w′} is the weight learned for the pair consisting of tag t and source word w′. The commas in the subscripts separate the tag and the word. The function ϕ maps a word to its embedding, so ϕ(w) is the vector for the word being scored and ϕ(w′) is the vector for the source word.

The subtraction inside the double bars takes the difference between the two vectors. The bars give its length, and the superscript squares that distance. The symbol e is the base of the exponential function, and the minus sign makes the exponent decrease as distance increases for positive β. The parameter β controls how quickly a source word’s contribution decays with distance. Multiplying the exponential factor by the weight assigns more of a nearby source word’s evidence to w than an equally weighted distant source can contribute. Z is the factor that normalizes the scores for a fixed tag, making them sum to one over possible output words. The leading 1/Z divides the weighted sum by that factor.

Each weight represents an estimated count. The parser’s training procedure assigns expected counts to word and refined-tag pairs because the training trees expose the broad tags and leave the finer ones latent. A word occurrence can contribute to the expected count for each refined tag according to the parser’s current estimate of the assignment. In the maximization step of training, called the M step, the parser sets the basis weight for a word and tag to the corresponding expected count. The kernel then determines how much that count contributes to the score of each word around it.

This is a tag-by-tag calculation. If a first name often receives a particular refined tag during training, its expected count can strengthen that tag’s emission probability for a nearby first name. The same pair of words can interact differently for another tag because the counts for that tag are different. The embedding space identifies where sharing is plausible, and the training trees still supply the evidence being shared. A close neighbor with little expected count under the current tag contributes little on that tag’s behalf.

The authors describe the behavior at opposing limits of β. At β = 0, the full kernel gives every embedding distance the same weight, so its normalized distribution is uniform over the vocabulary in the equation. As β increases, contributions from distant words diminish. In the limit described as β = ∞, each word retains its own contribution and the construction recovers the original lookup lexicon. These limits describe the full kernel and explain the role of the parameter. The useful region, if there is one, lies where related words share evidence while the lexicon retains distinctions needed for a parse.

The full sum would be expensive to evaluate during parsing. The original lexicon retrieves a word and tag probability in constant time. Summing over every source word can take time proportional to the vocabulary for each calculation. The authors address that cost by computing a nearest-neighbor graph in advance. At scoring time the sum uses the stored neighborhood. Since the exponential factor declines with distance, the approximation preserves the nearby contributions that are supposed to carry most of the informative shared weight.

The graph parameter k specifies how many nearest neighbors are used. The authors report that k = 20 gives adequate performance and that increasing it seems to leave the parser’s behavior much the same. This is an empirical observation about the approximation in their experiments. The most relevant neighbors under their smoothing settings can be represented by a small part of the vocabulary. With much broader smoothing, the full equation’s uniform limit describes a different calculation from the truncated neighborhood used for efficiency.

A training word can also lack a vector. The authors treat those words as isolated from the embedding space, so they neither receive evidence from its neighbors nor contribute to their estimates. They describe retaining the word’s own weight in that case. The word therefore still has a lexical treatment based on its training evidence. Together with the large-β limit, this handling preserves the connection between the new lexicon and the ordinary word-specific Berkeley lexicon.

#### Turn positions in the embedding into lexical features

The featured parser lets the authors ask whether individual coordinates carry useful information. A feature in this setting is a property the parser can use when scoring a lexical emission. Word identity is one such property. An identity indicator is active when the current word is the particular lexical item associated with that indicator. The experiment also creates indicators that are active when a coordinate lies in a particular interval.

The authors divide the range of each coordinate into linearly spaced buckets. For a given coordinate of a word’s embedding, the parser activates the indicator for the bucket containing its value. Words whose coordinates fall in the same bucket activate a common feature. They can activate different features along other dimensions. By learning weights for these indicators, the featured lexicon can learn associations between parts of the embedding space and refined lexical categories.

This mechanism and the pooling kernel exploit geometry differently. Pooling works from the distance between complete vectors and transfers estimated counts between neighboring words. The featured lexicon uses the positions along individual dimensions and learns how much their bucket indicators contribute. The projected determiner plot illustrates the intuition that a direction can correlate with grammatical behavior. The feature experiment uses the coordinates of the actual embeddings, with the discretization determining which values the lexicon treats alike.

The authors retain word identity indicators and remove the Maryland parser’s morphological features, which describe properties of the word form. They compare a featured lexicon using identity alone with versions that also use the coordinate indicators. This arrangement tests whether the embeddings add evidence to that identity-based configuration. The generative lexicon provides a separate comparison for whether the new features make the parser more accurate than its ordinary alternative. These comparisons answer different questions because the featured lexicon and the generative lexicon estimate word emissions differently.

#### Set up the training regimes and choose a combination

The authors use the Wall Street Journal portion of the [English Penn Treebank](https://md.research.elamur.ai/free/en/topics/treebanks/). Their full supervised training set contains 39,832 sentences from sections 2 through 21. The restricted sets consist of the first 3000 and the first 300 sentences of the training material. These choices vary the amount of annotated evidence available to the parser. As the training set changes, it can change both the number of word types that are known and the estimates the parser can make for words it has already seen.

Each training regime uses a different degree of grammar refinement. The parser goes through two rounds of splitting with 300 sentences, four with 3000, and six with the full training set. The authors give overfitting as the reason for restraining the amount of splitting in the smaller regimes. A more finely divided grammar can make distinctions that the available training trees are too sparse to estimate reliably. Within a training regime, the embedding interventions are evaluated against the corresponding baseline.

The experiments use 50-dimensional embeddings. The vectors labeled C & W come from Collobert and colleagues. Mikolov and colleagues supplied the items labeled CBOW, which were trained using a context window of size 2. A context window sets the span of surrounding text considered when learning from occurrences of a word. Testing both sets gives the authors a way to see whether the same parser intervention behaves similarly under two choices of the underlying geometry.

For the pooling comparison, the authors search over exponentially spaced values of β on the development set for each training size. The development set is used to choose settings and compare options before the final test. They then take a combination of the unknown-word substitution and lexicon pooling, both using C & W vectors, with pooling at β = 0.3. The substitution carries evidence to a word outside the training vocabulary, while the pooled lexicon changes the evidence attached to words in its neighborhoods. The combined system goes to the Wall Street Journal test set and is also evaluated in the Brown and French conditions.

### Experiments and results

#### What the scores measure

The reported parsing metric is F₁. For constituency parsing, precision concerns the fraction of predicted constituents that match the annotated analysis, and recall concerns the fraction of annotated constituents the parser recovers. F₁ combines those measures so that a high score depends on both. A correct lexical preference can help recover a phrase, change the category given to it, or support a better structure higher in the tree. The reported scores measure the resulting phrase analyses as a whole.

The experiments use distinct baselines for the distinct lexical setups. The ordinary generative system provides the baseline for nearest-neighbor substitution and pooling. The featured parser with word identity indicators alone provides the comparison for adding bucket features. The table of development experiments includes the ordinary generative baseline alongside those featured conditions. That side-by-side comparison shows how a gain within the featured lexicon translates into the larger question of improving the standard parser.

The paper also places the ordinary Berkeley parser among competitive parsers on the Wall Street Journal test data. It gives 90.7 F₁ for the Berkeley baseline in that discussion, alongside 90.4 for the system of Socher and colleagues and 90.1 for Henderson’s parser. These published scores explain why the authors regard the Berkeley architecture as a demanding baseline. The direct comparisons that bear on the tested interventions are between the baseline and the corresponding variants within their own development and test experiments.

#### Substitution and pooling on development data

With 300 training sentences, the Wall Street Journal development F₁ of the generative baseline is 71.88. Substituting a known neighbor for an unseen word gives 72.20 with C & W vectors and 72.20 with CBOW vectors. Pooling the lexicon gives 72.21 with C & W and 71.61 with CBOW. Both vocabulary-extension conditions score above the baseline in this regime. The pooling scores depend more on which representation defines the neighborhoods.

With 3000 training sentences, the baseline development F₁ is 84.70. The substitution variants score 84.77 with C & W and 84.78 with CBOW. The pooling variants score 84.55 with C & W and 84.73 with CBOW. Nearest-neighbor substitution produces very similar scores for the two embedding sets again. Pooling remains close to the baseline with one embedding set and scores below it with the other. The authors describe the substitution gains with more annotated training as statistically insignificant.

Using the full supervised training set, the baseline reaches 91.13 F₁ on development data. Both substitution variants score 91.22. The C & W pooling variant scores 91.11, and the CBOW variant scores 91.15. The authors interpret the full-training development comparisons as providing no established gain. The table gives point estimates, and the paper’s written interpretation describes the strength of the evidence. This distinction matters because a score can be numerically higher in a particular comparison while the size of the apparent improvement leaves its reliability uncertain.

The development results narrow the choice for the final system. Substitution behaves similarly with either vector set. Pooling with C & W gives the strongest pooling score in the smallest regime, and the authors choose C & W for both components of the combined system. The experiment that follows uses the test set to assess that choice outside the data used to make it. The independent development rows and the combined test rows therefore have different roles in the argument.

#### What coordinate features add to the lexicon

The featured parser using word identity alone records 67.27 F₁ on Wall Street Journal development data with 300 training sentences. Adding C & W coordinate indicators raises that score to 70.32. Adding CBOW coordinate indicators yields 69.87. The ordinary generative baseline, at 71.88, remains higher. This is the training regime in which the separation between the identity-only featured score and the generative score is particularly apparent.

Lexical features and the generative baseline on Wall Street Journal development F₁ with 300 training sentences Coordinate features improve on word identity alone, while the generative baseline leads the comparison.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| Featured lexicon with word identity | 67.27 |
| Featured lexicon with C & W coordinates | 70.32 |
| Featured lexicon with CBOW coordinates | 69.87 |
| Generative baseline (this paper) | 71.88 |

With 3000 training sentences, the identity-only featured lexicon scores 82.77 F₁ on development data. The C & W features give 83.78, and the CBOW features give 84.46. The standard generative baseline scores 84.70. At the full training size, the corresponding identity-only score is 90.65. C & W features yield 91.08 and CBOW features yield 90.86, with the generative baseline at 91.13.

The featured comparisons have a consistent direction when anchored to word identity alone. Each embedding condition raises the score of that featured baseline at each training size. The stronger embedding set varies with the training regime. C & W leads among the featured variants with 300 sentences and with the full training set, and CBOW leads with 3000 sentences. For the practical question of improving on the ordinary generative lexicon, the generative score leads throughout. The same experiment thus gives evidence that the coordinate features carry usable information and that their tested use falls short of the parser’s standard lexical treatment.

#### The held-out comparison for the combined system

The authors’ final Wall Street Journal test compares the ordinary baseline with pooling and OOV substitution enabled together. Both changes use C & W embeddings. The pooling parameter is β = 0.3, chosen as part of the development-based configuration. The test asks whether the jointly selected system helps under each supervised training regime. It also tests the full-training setting in which the development comparisons had offered little reason to expect an improvement.

With 300 annotated training sentences, the baseline obtains 72.02 F₁ on the Wall Street Journal test set and the combined system obtains 72.43. With 3000 training sentences, the baseline obtains 84.09 and the combined system obtains 84.36. The paper marks both of these increases as statistically significant at p \< 0.05 under a paired bootstrap resampling test. The pairing means the baseline and the combined system are assessed against resampled versions of the same evaluation material, so the comparison accounts for their performance on shared cases.

Baseline and combined lexicon on Wall Street Journal test F₁ with 3000 training sentences The combination of pooling and nearest-neighbor substitution yields a small statistically significant increase.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| Generative baseline | 84.09 |
| C & W pooling and OOV substitution (this paper) | 84.36 |

With all 39,832 supervised training sentences, the test baseline obtains 90.70 F₁ and the combination obtains 90.11. The paper describes this as a decrease and marks the restricted-training gains for significance. The full-training comparison is especially relevant to the paper’s central question. A parser with access to the entire set of annotated trees obtains its higher test score using its ordinary lexical treatment.

Baseline and combined lexicon on Wall Street Journal test F₁ with full training The generative baseline scores higher after training on the full annotated corpus.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| Generative baseline (this paper) | 90.70 |
| C & W pooling and OOV substitution | 90.11 |

The paper characterizes the favorable low-data effects as modest and describes the relative error reduction as on the order of 1.5%. That characterization concerns the small-data benefits, whereas the test table reports F₁ directly and identifies the training size for each score. The significance result establishes the reliability of the paired comparison at the stated threshold. The reported F₁ values establish the size and direction of the change under the conditions tested.

The 3000-sentence result also helps distinguish the development evidence for individual changes from the final evidence for the combination. The independent pooling and OOV development scores at that size lie close to the baseline. The combined system reaches a significant test improvement. Those observations pertain to different splits and settings. The combined test establishes an advantage for the selected configuration at that training size, with the component comparisons on development data providing separate evidence about how the individual interventions behave.

#### Changing the test domain and language

The authors ask whether the Wall Street Journal evaluation might be an especially difficult place to improve on the baseline. In their domain adaptation experiment, Wall Street Journal material serves as training data, and the Brown corpus’s first 4000 sentences serve as test data. This changes the source of the test sentences relative to the training sentences. The baseline scores 86.36 F₁ and the pooled and OOV-extended parser scores 86.42. The paper reports that the apparent gain is statistically indistinguishable from the baseline.

A French treebank experiment checks another possible source of narrowness in the main results. The authors train and test on the French treebank and compare the same kind of combined extension with the baseline. The baseline obtains 74.84 F₁ and the combination obtains 75.18. The paper reports that this apparent gain is also statistically indistinguishable. These two experiments put the same lexical changes under different conditions. The Brown comparison tests a change of corpus at evaluation time, while the French comparison moves the training and testing to another language.

The cross-corpus scores establish the outcome of each paired comparison under its own conditions. Brown and French have different baselines and answer different questions, so the comparison within each experiment is the relevant one. Both differences point in a favorable numerical direction for the extensions. In both cases, the authors find the evidence too weak to establish an improvement. The significant gains in the main test remain those from the restricted Wall Street Journal training conditions.

### What the ablations show

#### The unfamiliar-word intervention has a narrow effect

The isolated OOV comparison is a direct test of the vocabulary expansion hypothesis. Its only intended source of new evidence is the substitution made for an unseen word with a vector. The development results put the clearest descriptive gain in the 300-sentence regime. They also show strikingly similar scores for the two embedding sets under substitution. Both sets produce the same score in that regime and in the full-training regime, and their development scores are close at the intermediate size.

That similarity is evidence about the resulting parse scores. There are several ways for two embedding sets to produce similar aggregate behavior. They might frequently select the same substitute, select different words with similar lexical behavior, or yield a mixture of effects that comes out to similar F₁. The paper reports the end-to-end comparison, so the supported conclusion is that the choice between these particular vectors has little effect on the measured substitution result. The greeting example illustrates a case where the mechanism makes grammatical sense, and the experiment assesses how much such substitutions matter across sentences.

The behavior across training sizes is consistent with vocabulary expansion being most valuable under sparse supervision. A larger annotated vocabulary can reduce the opportunities to substitute for an unseen word. At the same time, a better trained grammar can alter how much influence a substitute has when such opportunities arise. The reported F₁ scores capture both possibilities together. This ablation identifies where in the parser the extra evidence enters. Its aggregate outcome leaves open which of those explanations accounts for the pattern with additional training.

#### The smoothing sweep tests the cost of sharing too widely

The β search gives the paper’s most direct evidence about how the strength of pooling affects the parser. At small β, weights decay slowly with distance, and the authors observe worse performance under the resulting aggressive smoothing. Increasing β initially improves performance slightly. As β becomes larger and the kernel relies increasingly on each word’s own evidence, performance approaches the baseline.

That pattern helps interpret the pooling experiment. The grammar’s refined tags can depend on distinctions between words that occupy the same broad part of the embedding space. Heavy smoothing weakens differences between their emission probabilities and can make those lexical distinctions harder for the parser to use. A narrower kernel preserves more of the original lexicon and lets strong neighbors contribute where the geometry supports them. The limiting behavior is particularly informative because the kernel approaches the ordinary word-specific calculation as the amount of sharing shrinks.

The selected pooling scores add another qualification. C & W pooling is slightly above the generative development baseline at the smallest training size, while CBOW pooling is below it there. Both are close to the standard parser at the full training size. The comparison suggests that a useful choice of neighbors and a useful strength of sharing have to work together. Distance alone specifies how much to transfer between words under the equation. Whether the transfer helps depends on how well that distance aligns with the parser’s latent lexical distinctions.

The nearest-neighbor approximation has a separate role. The authors report that increasing the neighborhood beyond k = 20 seems to leave parser behavior similar. That check addresses a concern that the efficient implementation may be omitting important contributions under their settings. The β sweep is the experiment about how aggressively to pool. Neighborhood size governs which source words can contribute, and β governs how rapidly the contributions of included words decay. Both shape the smoothed lexicon, through different parts of the calculation.

#### Coordinate features help relative to the featured control

The identity-only control isolates the contribution of the coordinate indicators within the featured lexicon. Because both versions use lexical identity features, their comparison asks whether words sharing a coordinate bucket provide information beyond the learned feature for the individual word. Both embedding sets raise the score in each training regime on that comparison. The result gives a functional test of whether a parser can use the coordinates. It extends the intuition of the determiner plot to an evaluation of complete phrase structures.

The standard generative baseline establishes a second comparison. The featured lexicon with words and coordinate buckets is a different way of scoring emissions, and it trails the standard baseline throughout the development runs. A positive result in the identity-only comparison can therefore coexist with a weak case for changing the parser’s usual lexicon. The paper shows both results side by side because they characterize different achievements. The first establishes the usefulness of the features under a specified control and the second establishes the relative performance of the resulting parser.

The featured experiment also makes the evidence specific to the proposed representation of the coordinates. The features use ranges along single axes, and the parser learns weights for those indicators. The test confirms that those values can support lexical scoring. The measured gains are on parsing F₁, so the result gives an indirect account of the syntactic information represented. It leaves open how much of the gain comes from any particular category distinction, including the definiteness pattern that motivated the hypothesis.

#### The joint experiment and the role of training size

The selected combination tests whether the two changes to the generative lexicon can yield a usable joint improvement. A substitute for an unfamiliar word brings it within the reach of the learned lexicon. The pooled estimates give that lexicon a way to share supervised evidence among neighbors. In the final test, both changes are enabled together. The significant scores at the restricted sizes belong to that joint procedure.

The component development comparisons and the combined test support a particular reading of the result. Both interventions have a plausible route to help with sparse lexical evidence. The development data provide some support for each route, with greater sensitivity to the embedding choice for pooling. The final test demonstrates a small advantage for their selected combination under restricted training. Establishing how much each change contributed to the combined test result would require matching component comparisons on the same test split. The reported comparisons give direct evidence for the combination and development evidence for the individual changes.

Across the experiments, extra training improves the baseline’s grammar and its estimates of lexical behavior. The full-training generative baseline leads the combined system on the test split, and the featured alternatives remain below the standard generative baseline on development data. This is the basis for the authors’ redundancy interpretation. The interpretation concerns the overlap between the information the vectors make usable through these particular changes and the information the parser already learns from annotated trees. The experiments measure that overlap through changes in parsing scores as labeled evidence becomes more plentiful.

### Limitations

#### Limits the authors state

The authors scope their conclusion to ways of improving a discrete constituency parser with pretrained lexical vectors. The interventions act at the vocabulary or lexicon, and the grammar continues to use learned discrete states. The results leave open what can be achieved by parsers that represent their grammatical state continuously or use vectors higher in the tree. Those designs can change how information travels through a phrase structure, which is a different intervention from any made here.

The chosen extensions are deliberately simple ways to implement the hypotheses. A nearest neighbor offers one strategy for vocabulary expansion. A distance-based kernel offers one way to share counts. Coordinate buckets offer one way to build features around positions in the embedding space. The authors acknowledge that other implementations and other mechanisms remain possible. Their experiments survey embedding sets, parameter settings, training sizes, and evaluation conditions within the scope of the selected designs.

The authors also distinguish their measured results from their explanation for the difference with dependency parsing. They hypothesize that tags immediately above words in a constituency tree give the parser a syntactic abstraction that embeddings or clusters can supply to a dependency parser. The constituency experiments establish whether the modified lexicons improve the selected baseline. The authors leave a direct test of the abstraction hypothesis to future work.

The strength of the evidence also varies by setting. With the selected combination, the restricted Wall Street Journal tests yield significant improvements. The full Wall Street Journal test shows a lower score for that combination, and the Brown and French tests yield apparent gains the authors treat as statistically indistinguishable. Their conclusion attaches to this pattern across experiments. The smaller favorable results demonstrate some usable information, while the support for a broad improvement becomes weaker once the parser has more annotated training material.

#### Limits that follow from the setup

The training slices are the first sentences of the same treebank training portion. A comparison between sizes therefore changes which sentences and words the parser has observed as well as how many. It also changes how much state splitting the authors allow. Using a separately chosen split count is sensible for comparing a baseline and variants at a particular training size. Across sizes, the results describe parsers trained under the corresponding regimes. They leave the independent contributions of training quantity, vocabulary coverage, and grammar refinement unresolved.

The measured outcome is whole-parse F₁. The paper gives examples of lexical distinctions that might matter, but a constituency score combines the consequences of many decisions. One substitution could change the tag of a word while leaving most of its surrounding structure intact. Another could influence several constituent decisions through its effect on a larger phrase. The aggregate score establishes the net effect on the target task. Estimating the benefit specifically for greetings, first names, unseen words with available vectors, or words whose latent tags are hard to learn would require a breakdown by those cases.

The vocabulary intervention depends on coverage of the embedding dictionary and on a useful nearest neighbor being present among the training words. The fallback gives the parser a way to continue when the vector lookup fails. Consequently, the full test comparison includes cases that receive vector-based substitutions and cases handled by the ordinary lexical machinery. The experiment answers whether the procedure helps as part of the parser. A separate estimate for sentences where an eligible substitution actually occurs would address a narrower question about its impact when activated.

The pooling result gives evidence about a specific relationship between distance and lexical behavior. The kernel transfers expected counts in proportion to an exponential function of distance, and the efficient computation concentrates on nearby words. If a relevant grammatical distinction is visible only along a particular direction, a distance computed from the full vectors can reflect other variation as well. Conversely, the bucket features rely on the chosen coordinate directions. A projection can display a useful direction even when the original coordinates distribute its information across axes. These properties set the scope of what the two geometry-based experiments can establish.

The featured control also fixes a specific collection of linguistic cues. The authors remove morphological features and retain word identity. The resulting comparison is well suited to asking whether coordinate indicators add information to the identity-only featured lexicon. It leaves open how those indicators would interact with a feature set that also includes morphology. The separate generative comparison establishes how the tested featured systems rank against a strong alternative, with a change in the way lexical emissions are estimated as well as in the available features.

Finally, the dependency explanation concerns evidence from different parsing systems and different tasks. The tags in the constituency parser plausibly provide some of the abstraction the paper discusses, and the training-size pattern is consistent with that account. The experiments do not directly vary access to supervised preterminal categories while holding the rest of a parsing comparison fixed. The role of those categories is therefore a plausible mechanism for the observed results whose contribution remains to be measured directly.

### What came after

The citing work covers several different ways to pursue the question of what lexical representations contribute to syntax. Some titles point to changes on the representation side, while others point to a different parsing architecture or an intermediate tagging task. The distinction matters because an embedding can be evaluated as a lexical feature within a fixed parser, as part of a larger system, or as a representation designed for a particular grammatical task. Andreas and Klein’s comparisons supply an example of the first approach.

[Tailoring Continuous Word Representations for Dependency Parsing](https://md.research.elamur.ai/free/en/papers/bansal-2014-tailoring-continuous-word-representations-dependency/) is a citing work that Andreas and Klein also discuss as contemporary evidence. It considers continuous lexical representations for dependency parsing. Andreas and Klein describe its results as showing gains from embeddings of the kind at issue in their own experiments. That connection is more specific than a shared interest in word vectors. The dependency result gives their constituency study a comparison in which similar lexical information appears to add more to parsing, which motivates their hypothesis about the abstractions supplied by supervised tags.

[Improved CCG Parsing with Semi-supervised Supertagging](https://md.research.elamur.ai/free/en/papers/lewis-2014-improved-ccg-parsing-semi-supervised/) takes up a question about lexical categories in CCG parsing. Supertagging assigns a word a detailed grammatical category for use in the parse. The title puts the semisupervised contribution at that category assignment stage. This connects with Andreas and Klein’s question about how lexical evidence reaches a parse through grammatical categories. The constituency study asks how much vectors add when preterminals and their refinements are already available. The CCG work, as described by its title, puts semisupervised learning into the process that supplies the detailed categories.

[Evaluation methods for unsupervised word embeddings](https://md.research.elamur.ai/free/en/papers/schnabel-2015-evaluation-methods-unsupervised-word-embeddings/) addresses evaluation of the representations themselves. The link to the earlier study lies in what a test is designed to measure. Andreas and Klein show a grammatical pattern among vectors in a projection, find that coordinate features can help a specified featured lexicon, and then compare that lexicon with a stronger generative alternative. Each observation supports a different claim about usefulness. A work centered on evaluation methods takes up the broader problem that these distinct tests illustrate.

[Two/Too Simple Adaptations of Word2Vec for Syntax Problems](https://md.research.elamur.ai/free/en/papers/ling-2015-two-too-simple-adaptations-word2vec/) puts the point of intervention in Word2Vec. Andreas and Klein take the available vectors and change how a parser consumes them. A work framed around adapting Word2Vec for syntax pursues the related question from the representation side. The connection is the alignment of the lexical space with grammatical decisions. For nearest-neighbor substitution and pooling, that alignment affects which words can share evidence. For coordinate features, it affects what distinctions the available values let the lexicon learn.

[Neural CRF Parsing](https://md.research.elamur.ai/free/en/papers/durrett-2015-neural-crf-parsing/) identifies a different parsing architecture in its title. Its connection to the earlier study is the open question of how lexical evidence behaves when the architecture that scores possible analyses changes. Andreas and Klein keep their parser’s discrete grammar in place so they can examine targeted changes at the lexicon. A neural CRF parsing approach concerns a different way to score structured predictions. Its relationship to the earlier comparison is therefore architectural, while the exact role and measured contribution of embeddings would require evidence about its own setup.

These works connect to different parts of the original question. Dependency parsing supplies the comparison the authors explicitly use to motivate their abstraction hypothesis. Evaluation methods concern what different tests establish about a vector space. Word2Vec adaptations shift the intervention to the representations, and the CCG and neural CRF titles point to other places where grammatical evidence can enter a parsing system. The shared issue is which distinctions a representation makes available, which of them the parser can already learn, and what happens to complete analyses when the additional evidence is put to use.

## Cite

Cite as Jacob Andreas and Dan Klein. 2014. How much do word embeddings encode about syntax?. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3115/v1/p14-2133](https://doi.org/10.3115/v1/p14-2133)

```bibtex
@inproceedings{andreas2014how,
  title = {{How much do word embeddings encode about syntax?}},
  author = {Jacob Andreas and Dan Klein},
  booktitle = {Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
  year = {2014},
  doi = {10.3115/v1/p14-2133},
  url = {https://doi.org/10.3115/v1/p14-2133}
}
```

> 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)
