---
title: "Neural Syntactic Generative Models with Exact Marginalization"
description: "Buys and Blunsom show how to sum exactly over dependency parses and test whether explicit syntax improves next-word prediction."
canonical: "https://research.elamur.ai/free/en/papers/buys-2018-neural-syntactic-generative-models-exact/"
---
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/buys-2018-neural-syntactic-generative-models-exact/)

[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/) / Neural Syntactic Generative Models with Exact Marginalization

# Neural Syntactic Generative Models with Exact Marginalization

Paper · 2018 · Jan Buys and Phil Blunsom

**Authors:** [Jan Buys](https://md.research.elamur.ai/free/en/authors/jan-buys/) and [Phil Blunsom](https://md.research.elamur.ai/free/en/authors/phil-blunsom/) · **Year:** 2018 · **Venue:** Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **5** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/buys-2018-neural-syntactic-generative-models-exact/cited-by/) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/N18-1086/)
- [PDF](https://aclanthology.org/N18-1086.pdf)
- [DOI 10.18653/v1/n18-1086](https://doi.org/10.18653/v1/n18-1086)

## Summary

A sentence can have several plausible syntactic analyses, and a system predicting its next word may have to make a prediction before it knows which analysis is right. Jan Buys and Phil Blunsom develop a way to keep these possibilities open without retaining a separate record of every analysis. Their approach combines [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/), which represents syntax as directed links between words, with a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) that assigns probabilities to word sequences. A recurrent network reads the sentence from left to right. A separate stack keeps track of words that may still matter to the developing structure. When the tree is unknown, the system can sum the probabilities of all permitted parsing histories. This is exact marginalization, and it also works when only the beginning of the sentence is available.

The calculation is tractable because the recurrent network reads the same sequence of words under every candidate parse. Parsing actions change the contents of the stack, but they leave the recurrent representation of each word unchanged. The authors also restrict which stack positions can affect a decision. This lets a dynamic program combine many histories that share the information needed to score their next actions. The same decomposition supports finding the highest-scoring history and training from sentences with or without tree annotations.

On the English Penn Treebank test split with Stanford dependencies, the supervised arc-hybrid parser scores 91.01 for unlabeled attachment and 88.54 for labeled attachment. These metrics measure how often a parser finds the annotated head of a word and how frequently it finds both the head and the relation label. The result improves on the authors’ earlier incremental generative parser and is competitive with a more elaborate recurrent generative parser. The language modeling comparison goes the other way. The supervised stack-next system gives a test perplexity of 107.61 on the Penn Treebank parsing split, where lower is better. The sequential recurrent baseline trained in batches reaches 100.67. The unsupervised stack-next system reaches 125.20 and largely learns attachments to the preceding word or to the artificial sentence root.

The analysis helps explain why a good parse and a useful context for prediction need not go together. Stack-next gives the word predictor access to a more informative structure in an analysis that selects a parse using the whole sentence. Buffer-next gives the parser better evidence about which actions to take and recovers the annotated tree more accurately. The distinction is between how much a syntactic connection can help once it has been identified and how reliably the system can find that connection during left-to-right prediction. Exact inference resolves the question of how to combine the alternatives the system scores. The experiments show that the quality and timing of those alternatives still matter.

## Deep dive: Neural Syntactic Generative Models with Exact Marginalization

Buys and Blunsom show how to sum exactly over dependency parses and test whether explicit syntax improves next-word prediction. · about 38 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 sequence leaves unresolved

A recurrent neural network, or RNN, carries a hidden state forward as it reads a sequence. A long short-term memory network, or LSTM, is the recurrent architecture the authors use to encode the words. Its hidden state at a given position depends on the words seen so far. A word predictor can use that state as a summary of the prefix. The paper starts from a tension in this approach. Recurrent predictors had improved language modeling performance, yet earlier work found weaknesses on tasks that call for particular long-distance relationships. One example is subject–verb agreement, where the noun that controls the verb may be separated from it by several words. Another is synthetic transduction based on a [context-free grammar](https://md.research.elamur.ai/free/en/concepts/context-free-grammar/), which requires a system to transform sequences according to rules with hierarchical structure. The paper draws the agreement example from [Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependencies](https://md.research.elamur.ai/free/en/papers/linzen-2016-assessing-ability-lstms-learn-syntax/).

A dependency tree supplies an explicit connection between a word and its head, the word on which it depends. “Girls” is the subject of “play” in the paper’s example “The girls from school play football.” The immediately preceding word is school. A stack can keep the position of girls available across the intervening material. This gives the word predictor a way to retrieve a representation from farther back in the prefix based on a possible syntactic relationship. The recurrent representation contributes information about the linear context at that position. The stack contributes a choice about which position to consult.

That choice creates the inference problem. Before play arrives, a generative system has only the prefix on which to base its next-word probability. If different sequences of parsing actions leave different words on the stack, they can make different predictions. Selecting a single history early discards the contributions of alternatives that may still be plausible. Retaining every history separately, on the other hand, can make training and prediction too expensive. The authors ask what kind of neural representation would allow all the relevant histories to be combined exactly while preserving some of the benefit of explicit syntax.

#### What earlier systems offered

Earlier incremental syntactic language modeling combined word prediction with shift–reduce parsing. A shift advances through the sentence and places a new item on a stack. A reduction combines or removes items according to the parsing formalism. Chelba and Jelinek, and later Emami and Jelinek, used these operations to predict binary constituent structure. The first approach estimated predictions with smoothed [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/), which use a bounded sequence of preceding items as context. The second used a feed-forward neural network. Both approximated the probability of a sentence by tracking a beam, or a limited collection of promising partial histories. Rastrow and colleagues applied a dependency-based version to speech recognition. The paper says that perplexity gains in this line of work mainly came from mixing syntactic and standard n-gram probabilities.

Henderson’s recurrent constituency parser used parser configurations to determine connections to earlier recurrent states. Titov and Henderson brought a related approach to dependencies. Buys and Blunsom’s own earlier work considered generative dependency approaches that could also score text, using Bayesian estimation in one case and a feed-forward network in another. These systems established several ways to bring parsing decisions into word prediction. They also illustrate why exact inference depends on how the parser history reaches the neural computation. When the representation changes with every history, a shared stack position may carry different information in different derivations.

Recurrent Neural Network Grammars, or RNNGs, offer a particularly relevant comparison. They generate constituency structure and compose representations of completed parts of a tree. Their stack can therefore represent a partially constructed analysis in more detail than a stack of word positions. In the comparison described by Buys and Blunsom, an RNNG estimates word-sequence probabilities by importance sampling. A discriminative parser first proposes analyses, and their scores are used to estimate the generative probability. The parser that makes those proposals reads the full sentence. Buys and Blunsom instead want a probability calculated directly from the portion of the sequence available at prediction time. The paper also discusses a dependency approach that conditions a word on its ancestors in a tree and was evaluated on sentence completion. That setup illustrates a different use of dependency structure, where the context available to the predictor need not follow the order in which words arrive.

Other attempts to introduce structure into neural networks used continuous memory operations. A neural stack, for instance, can make push and pop operations differentiable by allowing a graded effect on memory. Structured attention can compute an average over possible structures and pass that average to another network. The paper contrasts these approaches with its use of discrete stack actions. A history consists of specific choices to shift or reduce, and each history has a probability. The average that matters here enters through summing those probabilities, which allows the uncertain structure to be represented explicitly.

#### Why a small feature set mattered

The paper builds on dynamic programs for transition-based parsing. A transition-based parser constructs a tree by taking actions on a stack and an input buffer. A dynamic program stores the scores of partial computations so that any larger computation that needs the same part can reuse it. Earlier work faced a tension between the cost of storing detailed parser configurations and the need for enough information to select good actions. Some exact calculations had a polynomial cost too high for the intended application. Other formulations restricted the features so severely that the resulting parsers had limited accuracy.

Neural parsing provided a way to make a small set of positions more informative. A recurrent vector associated with a word can carry contextual information beyond that word’s identity. A bidirectional encoder can add evidence from both earlier and later words when the whole sentence is available. Shi and colleagues showed that with a small enough set of context-dependent features, transition-based decoding and globally normalized discriminative training could use dynamic programming. The paper treats this as a starting point for generation. Its own recurrent features must be available from the prefix so they can be used to predict words as they arrive. A related discriminative approach is described in [Simple and Accurate Dependency Parsing Using Bidirectional LSTM Feature Representations](https://md.research.elamur.ai/free/en/papers/kiperwasser-2016-simple-accurate-dependency-parsing-bidirectional/).

The difference between discriminative and generative parsing also matters for the training objective. A discriminative parser scores actions or trees given the sentence. A generative parser assigns a joint probability to the sentence and the actions that produce its analysis. When a sentence comes with an annotated tree, the joint objective can use both words and parsing decisions as training signals. When only the sentence is observed, the marginal word probability supplies an objective by adding over the possible actions. The paper also motivates generative training through its treatment of uncertainty and its ability to incorporate prior knowledge through latent variables. Its experiments focus on what happens when the uncertain variable is a discrete, incrementally constructed stack history.

### The method, step by step

#### Follow the words and the stack

The starting point is a shift–reduce system without dependency arcs. It has a stack of word positions and a buffer index marking the next position to process. The artificial ROOT symbol is on the stack before the sentence begins. Shifting pushes a position onto the stack and advances the buffer. Reducing removes the most recently pushed position still on the stack and leaves the buffer where it is. Repeated reductions can expose an earlier word that had been covered by more recent entries. The base system stops after removing ROOT, with the buffer at the end of the sentence.

The successive actions give a derivation, or a complete history of how the system processes a sentence. The same words can have different derivations. In the basic training setup without annotated structure, the words are observed and the derivation is latent, meaning that it is part of the probabilistic description but absent from the training example. For supervised parsing, adding arc actions gives a derivation that also constructs a dependency tree. For the base language modeling setup, shifts contribute factors for the observed words, while shifts and reductions together determine the contexts in which those word probabilities are evaluated.

The LSTM reads the sentence in its original order. Its input is a word embedding, a learned vector associated with the last word generated. The network builds a contextual representation at each position. When a reduction exposes an earlier word, the system retrieves the vector already computed for that position. The reduction changes which vector is selected, while the vector still describes the prefix ending at that word. For a given observed prefix, all derivations can reuse these same vectors. This independence is the condition that makes the chart calculation possible.

Combining word generation and transition histories The steps in order.

The paper’s sentence about the girls and the school illustrates how the stack changes the context. The derivation shifts The and attaches it to girls, which is next in the buffer at that point. Later, a reduction attaches school to girls, exposing girls again. A left arc then connects girls to play. This example separates two kinds of connections that the paper illustrates with different arcs. The dependency tree links a dependent to its head. A word-generation connection records which stack word the predictor uses when assigning probability to a new word. The same derivation gives rise to both kinds of connection, and their endpoints can differ. In particular, the decision to attach girls to play can remove girls from the stack before play itself is shifted in the stack-next formulation.

#### Assign a probability to a history

Write the sentence and its boundary symbols as w₀:ₙ. Here w is the sentence, w₀ is ROOT, and wₙ is EOS, the end-of-sentence symbol. The buffer position is β and the stack is σ. The top of the stack is σ₀, and σ₁ is the item immediately below it when present. The initial stack contains position 0 and the buffer starts at position 1. A stack written as σ|j has position j on top of the entries in σ. In this notation the basic transition updates are as follows.

```
(σ, j) → (σ|j, j + 1)
```

The arrow is a shift. The state on its left has stack σ and buffer at j. On the right, j is on top of the stack and j + 1 is the new buffer position.

```
(σ|i, j) → (σ, j)
```

Here the arrow is a reduction. The stack loses position i, which was its top item, and the buffer stays at j. When the stack is empty and the buffer is at n, the base derivation has finished.

```
p(w) = ∑ₜ p(w₀:ₙ, t₀:₂ₙ)
```

Here p denotes probability, p(w) is the marginal probability of the sentence, and t names a legal complete transition sequence for w. The indexed expression t₀:₂ₙ denotes the transition sequence in the paper’s notation. The comma inside p separates the sentence and sequence whose joint probability is being evaluated. The sum ranges over all legal histories t. Each joint score accumulates the probabilities of its decisions, including a word probability for each word-generating transition. Thus a history can contribute little because its actions are improbable, because it predicts the observed words poorly, or because of both.

In stack-next, the features for the next decision come from the current top of the stack and the most recent word generated. When the buffer is at β, that most recent word is at β − 1. The hidden states h associated with those two positions enter both the transition predictor and the word predictor.

```
pₜᵣ(sh | hσ₀, hβ₋₁) = sigmoid(rᵀ relu(Wₜₛ hσ₀ + Wₜᵦ hβ₋₁))
```

The symbol sh means shift, and pₜᵣ is the distribution over the two basic kinds of action. The vertical bar introduces the conditioning information. The vectors hσ₀ and hβ₋₁ are the LSTM states indexed by the stack top and the last generated position. The matrices Wₜₛ and Wₜᵦ transform the stack and linear-context vectors for transition prediction. Their transformed vectors are added and passed through relu, the rectified linear function that sets negative components to zero. The superscript ᵀ denotes transpose, so rᵀ takes an inner product with the transformed vector using learned weights r. The sigmoid maps the resulting scalar to a probability.

```
pₜᵣ(re | hσ₀, hβ₋₁) = 1 − pₜᵣ(sh | hσ₀, hβ₋₁)
```

Here re means reduce. In the binary transition decision with the indicated states hσ₀ and hβ₋₁, the probability of reduction is the complement of the shift probability. The legal action sequences also obey the transition system’s boundary conditions.

```
pɢₑₙ = softmax(Rᵀ tanh(Wɢₛ hσ₀ + Wₜᵦ hβ₋₁))
```

The symbol pɢₑₙ denotes a distribution over word types. In the paper’s notation, Wɢₛ transforms the stack state and Wₜᵦ is the matrix applied to the state at β − 1 in this expression. The two transformed vectors are added and passed through tanh, the elementwise hyperbolic tangent. The transposed parameter matrix Rᵀ gives a score for each output word. The softmax turns the scores into probabilities that sum to one. The probability assigned to the word being generated is its entry in this distribution.

```
pₜᵣ(sh | hσ₀, hβ₋₁) · pɢₑₙ(w | hσ₀, hβ₋₁)
```

This is the score for shifting and emitting word w, with w used here for the particular word. The first factor is the probability of taking the shift action given the two states. The second is the probability of choosing that word under the resulting word distribution. The centered dot denotes multiplication. In stack-next the word is at β and is the one pushed onto the stack. The last reduction, which pops ROOT, implicitly predicts the end of the sentence in the base system.

#### Choose when a shift emits a word

The paper also tests buffer-next, which gives the transitions access to a word earlier. A shift still pushes the word at β, but the emission associated with that shift is the word at β + 1. This works by predicting the first word at initialization. By the time the parser is deciding what to do at β, the word there has already been generated and can supply features. When a shift advances the buffer to n, the generation event explicitly produces EOS. That event takes place regardless of which entries are still on the stack. The remaining stack operations still have to finish the derivation.

This change is easy to miss because both systems read the words in the same order. They associate the next emission with different moments in the parsing sequence. In stack-next, reductions before the shift can uncover the top-of-stack position used to score the word being pushed. The stack can therefore contribute a position selected closer to that word’s own attachment decisions. In buffer-next, the next word is predicted in advance of the decisions that process it. When those decisions are made, its identity and contextual vector are available. For example, when a left arc makes the buffer word the head of a stack item, buffer-next can condition its action on that buffer word. Stack-next has access to the recurrent state at the preceding position when making the same kind of decision.

The timing difference also changes what evidence each component receives during training. A shift is associated with a particular emitted word, and the word score is part of the joint training signal. Moving the emission changes which configuration receives credit for predicting which word. In observed-tree training, the oracle can still specify actions that build the tree. In latent training or decoding, the word probabilities can also influence how the alternative action histories are scored. Both formulations can use a dynamic program because the recurrent encodings remain tied to word order and each action uses a limited set of positions.

#### Reuse partial histories

The chart organizes actions into push computations. A push computation starts with the buffer at some position i and ends with i as the only new stack entry remaining from that computation. It may shift and later reduce additional positions along the way. All the action sequences with this same external effect can contribute to one chart item. A basic push is just a shift. A larger push computation arises when one push computation is followed by a second and a reduction removes the item left by the second. The position retained by the first becomes the top of the stack again.

The item [i, j] stands for a push computation that starts when the buffer is at i and finishes with i on top and the buffer at j. The artificial initial push gives the axiom [0, 1]. The goal [0, n] leaves ROOT on top with the buffer at EOS. Its score still has to be combined with the probability of removing ROOT. A shift step can be represented by the following deduction.

```
[i, j − 1] → [j − 1, j]
```

The arrow says the second item is available through a shift after the first. In the antecedent, i is the stack top and j − 1 is the buffer position. The conclusion represents pushing j − 1 and moving the buffer to j. It records the newly pushed index and the new buffer position. The previous stack top i is absent from that conclusion.

```
[i, k] [k, j] → [i, j]
```

Here k is an intermediate buffer position and the newly pushed index in the second item. The pair on the left supplies consecutive push computations. Reducing k allows them to act as a larger push computation that leaves i on the stack and advances the buffer as far as j. The conclusion keeps i and j and abstracts away from the split at k. During scoring, the chart considers each legal k and uses the positions available in that rule.

The subtlety is that the shift of k must be scored with i on top of the stack. An item for the shift of k may later be used with several different preceding stack tops. Storing that preceding top as an additional chart index would retain the information immediately, but the paper gives the cost of that straightforward extension as O(n⁴). Instead, the authors defer the shift score until the rule that combines the two push computations and reduces k. That rule sees i, k and j together. It can use i to score the original shift and use k to score the later reduction. The stored scores need only the two chart indices, and summing over possible split positions gives O(n³) time. Here n is the sentence boundary index and O describes how the computation grows with sentence length.

```
T(k) = pₜᵣ(sh | hᵢ, hₖ₋₁) · pɢₑₙ(wₖ | hᵢ, hₖ₋₁)
```

In this stack-next recurrence, T(k) is the delayed score for shifting and generating word wₖ. The position i is fixed by the current chart combination. The state hᵢ represents its top-of-stack context, and hₖ₋₁ represents the prefix through the word before k. The action and generation distributions supply the two factors. The notation T(k) suppresses the dependence on i because that position is already specified by the item being computed.

```
I(i, j) = ∑ₖ I(i, k) · I(k, j) · pₜᵣ(re | hₖ, hⱼ₋₁) · T(k)
```

The symbol I denotes an inside score, the sum of partial-history weights stored for a chart item. The index k ranges from i + 1 through j − 1. The product uses the inside scores of the preceding and following push computations, the probability of reducing k with buffer at j, and its deferred shift weight T(k). The LSTM vector hₖ is at the stack position being reduced, while hⱼ₋₁ is the state at the last generated word. The sum adds the products for all legal splits. Multiplying inside scores combines the possibilities represented by the two items, so the recurrence can account for all compatible histories without listing their cross-product explicitly.

```
I(j − 1, j) = 1
```

The unit value is the base for a single push, including I(0, 1) for initialization. The index j is the buffer position after the push. The unit is a placeholder in the calculation. For an ordinary word, its shift and emission probabilities enter through T(k) at the combination where the former stack top is visible.

```
p(w) = I(0, n) · pₜᵣ(re | h₀, hₙ₋₁)
```

This gives the stack-next sentence probability. The goal inside score I(0, n) gathers the histories that have dealt with the words and returned to ROOT. The remaining factor is the probability of reducing ROOT, computed using h₀ and the state hₙ₋₁ of the last word before EOS. The product follows from the joint probability factorization, with the root reduction supplying the last transition in each complete history.

The inside calculation adds the possible ways of reaching a chart item. For decoding, the Viterbi version instead keeps the best-scoring way to reach each item, together with the decision needed to reconstruct that choice. Reading those stored decisions back from the goal gives the most probable complete history for the observed sentence. This uses the same structural decomposition as marginalization. Its output answers a different question. A sentence probability can receive substantial weight from several histories, whereas Viterbi decoding returns a single history even in that situation.

During online prediction, the prefix determines which recurrent states are available. The calculation can combine partial histories over the observed words without waiting for a parser to examine the completed sentence. The next-word distribution reflects how strongly those different histories support a possible continuation. For training on complete unannotated sentences, the authors minimize the negative logarithm of the exact marginal sentence probability. Automatic differentiation propagates this objective through the inside calculation and into the neural scores. The paper relates the resulting gradients to the outside algorithm, which in a structured probability calculation accounts for the ways a stored partial computation participates in larger ones.

#### Put dependency arcs back into the actions

Arc-hybrid and arc-eager both construct projective dependency trees. A projective tree can be drawn above the sentence without crossing dependency arcs. Both systems retain the division between pushing a position and popping one. They differ in when a particular kind of attachment is chosen and which words supply the head and dependent.

In arc-hybrid, shift pushes the buffer word. Both left-arc and right-arc pop the stack top. A left arc makes the current buffer word the head of the popped word. A right arc makes the word directly below the stack top its head. There is also the final root reduction. For the ordinary arc decisions, the system first scores a reduction and then assigns part of that probability to each direction. The direction predictor uses the same context positions as the transition predictor. The right-arc action uses the second stack position to identify the head in the completed tree, while the score of the action is computed without a separate feature for that position.

```
p(left-arc) = pₜᵣ(re | hᵢ, hⱼ₋₁) · pᵈⁱʳ(la | hᵢ, hⱼ₋₁)
```

In this expression i is the stack top and j is the buffer index. The states hᵢ and hⱼ₋₁ give the stack and prefix context. The symbol pᵈⁱʳ denotes the distribution over arc directions and la is its left-arc outcome. The unconditional notation on the left abbreviates the action probability at this configuration. The first factor selects reduction and the second selects its direction.

```
p(right-arc) = pₜᵣ(re | hᵢ, hⱼ₋₁) · pᵈⁱʳ(ra | hᵢ, hⱼ₋₁)
```

In the corresponding right-arc expression, ra is the right-arc outcome. The positions i and j and their states have the same roles as for the left arc. This time the action adds a dependency from the stack item below i to i. In supervised training, relation labels are predicted from the action context as well. In exact decoding the system records the best direction during the chart calculation, then predicts the labels greedily after recovering the transition sequence. Thus labeled attachment accuracy evaluates the final labeled output even though label selection is handled after the search for the structural history.

For the arc-hybrid word marginal, the direction choice can be summed out at the reduction where it is made. Either direction has the same effect on the stack indices, and later word and transition probabilities are independent of the arc direction already assigned. The total reduction weight is therefore the reduction probability. This is especially consequential for unsupervised learning. The word marginal provides no evidence for choosing one arc-hybrid direction over another when both leave the same future computation. The authors accordingly use the simpler shift–reduce histories for their experiment in learning structure from words alone.

In arc-eager, the right arc is associated with pushing a word. It attaches the current buffer word to the stack top and pushes that word already headed. A plain shift pushes an unheaded word. A left arc subsequently pops an unheaded item and attaches it to the buffer word. A plain reduction pops an item that already received its head. Thus the headed status of a word determines which kind of pop is allowed. Right dependents are assigned their heads earlier than in arc-hybrid. The two parsers can use the same general approach to scoring while making that decision in different contexts.

The arc-eager chart writes an item as [iᶜ, j], where c is a binary flag for whether i has a head. The calculation still combines two push computations and removes the item from the second. It now has to account for both the headed and unheaded ways in which the second item could have been pushed. The score for making k headed includes the probability of assigning a right arc at the push.

```
W(k) = pₜᵣ(sh | hᵢ, hₖ₋₁) · pᵈⁱʳ(ra | hᵢ, hₖ₋₁) · pɢₑₙ(wₖ | hᵢ, hₖ₋₁)
```

Here W(k) is the score for generating wₖ and pushing its position with a right arc. The conditioning states hᵢ and hₖ₋₁ correspond to the previous stack top and the prefix just before k. The shift factor selects a push action, the right-direction factor chooses attachment to the stack top, and the word factor scores the emission. W(k) denotes a chart weight here, separate from the parameter matrices with subscripts in the neural output layers.

```
V(k) = pₜᵣ(sh | hᵢ, hₖ₋₁) · pᵈⁱʳ(la | hᵢ, hₖ₋₁) · pɢₑₙ(wₖ | hᵢ, hₖ₋₁)
```

The symbol V(k) scores generating wₖ and pushing k without a head. The term la in the direction distribution expresses the decision that k will eventually be attached by a left arc. The left arc itself will be made during a later pop. The remaining factors and conditioning positions have the same roles as in W(k).

```
T(k) = I(k¹, j) · pₜᵣ(re | hₖ, hⱼ₋₁) · W(k)
     + I(k⁰, j) · pₜᵣ(re | hₖ, hⱼ₋₁) · V(k)
```

In this arc-eager expression T(k) collects the legal ways of completing the second computation and removing k. The superscripts ¹ and ⁰ are chart flags for headed and unheaded, respectively. The first term pairs a headed push with a plain reduction. The second pairs an unheaded push with a left arc. In both, hₖ is the stack-top state at the pop and hⱼ₋₁ is the prefix state at that moment. The addition includes only legal terms. In particular, when j reaches n, the remaining ordinary stack entries must already have heads because the system can only perform plain reductions there.

```
I(iᶜ, j) = ∑ₖ I(iᶜ, k) · T(k)
```

The symbol I again denotes inside weight, i is the surviving position, and c remains its headedness flag. The sum considers split positions k between i and j. Each split combines the inside weight of the first computation with the weight T(k) of generating, processing and popping the second item. This adds a binary distinction to chart states while preserving the cubic structure of the calculation. The Viterbi version records the best split and the headedness of the removed item so it can reconstruct the corresponding right-arc or left-arc decisions.

#### Train on sentences with and without trees

For supervised training, an oracle converts each annotated tree into actions. An oracle here is a deterministic procedure that chooses transitions consistent with the supplied tree. When multiple orders produce that tree, the authors resolve the ambiguity by making an arc as early as possible. The training objective maximizes the joint probability of the words and the selected action sequence. Since the intended history is given, the recurrent encoder can run first and the transition, word and relation predictors can then be evaluated together across the batch. In unsupervised training, each sentence contributes its exact marginal probability over shift–reduce histories. The chart sits inside the training computation, so gradients follow the relative weights of alternative histories.

The authors implemented the approach in PyTorch and ran training and inference on a graphics processing unit, or GPU. They shuffle sentences at each epoch, meaning a pass through the training data, and group sentences of the same length in each minibatch. Equal lengths allow chart computations for the same spans and potential split positions to run in parallel. For supervised training, the implementation can also group neural predictions across the known sequences of actions. The paper makes the implementation public.

The networks have two LSTM layers, with embedding and hidden-state size 650 and dropout of 0.5 on the recurrent inputs and outputs. Dropout exposes the network to randomly masked inputs or outputs during training. The authors initialize weights uniformly over [−0.05, 0.05] and clip gradient norms to 5.0. Supervised parsers use batches of 16 and start with a learning rate of 1.0. After 6 initial epochs, the rate is divided by 1.7 each epoch. The sequential LSTM comparison uses the same settings except for a decay factor of 1.4. Unsupervised training uses batches of 8, starts at 0.1 and reduces the rate by a factor of 2.0 each epoch. The recurrent settings primarily follow [Recurrent Neural Network Regularization](https://md.research.elamur.ai/free/en/papers/zaremba-2014-recurrent-neural-network-regularization/).

### Experiments and results

#### The data and what each score measures

The main experiments use English Wall Street Journal sentences from the Penn Treebank. A treebank is a collection of text with syntactic analyses. For parsing, sections 2–21 form the training set, while sections 22 and 23 serve as the development and test sets, respectively. The principal annotations are Stanford dependencies, identified as SD, in version 3.3.0. The paper also reports parsing results under the older YM conversion. The same sentence can receive different heads or labels under different conversions, so comparisons stay within a representation. The YM annotation scheme is associated with [Statistical Dependency Analysis with Support Vector Machines](https://md.research.elamur.ai/free/en/papers/yamada-2003-statistical-dependency-analysis-support-vector/).

Words that occur only once in training and words unseen at test time are replaced with classes formed from their surface forms. The rules come from the Berkeley parser. This gives the language modeling comparison a shared treatment of uncommon words. It also defines what the predictor is evaluated on. For an unseen word mapped to a class, its contribution to the likelihood concerns the class received as input to the experiment.

Parsing accuracy is reported using unlabeled attachment score, or UAS, and labeled attachment score, or LAS. UAS credits an attachment when its predicted head matches the annotation. LAS requires both the head and the relation label to match. Perplexity measures the average uncertainty assigned to the observed words. The paper exponentiates negative log likelihood per token to obtain it. The systems predict the sentence-end events, while the corresponding symbols are excluded from the token counts. A lower perplexity reflects greater probability assigned to the observed data under this evaluation procedure. The parsing and word metrics thus judge different outputs even when the same network and transitions supply both.

#### Supervised dependency parsing

On the SD development set, the highest-scoring generative configuration is exact arc-hybrid buffer-next, with 91.19 UAS and 88.66 LAS. With greedy decoding it gives 85.25 UAS and 82.83 LAS. Greedy decoding commits to the highest-scoring next choice at each step, while exact decoding finds a history with the best overall score. Arc-eager buffer-next gives 80.79 UAS and 78.56 LAS greedily, and 87.34 UAS and 84.84 LAS with exact search. The arc-hybrid stack-next variant gives 56.98 UAS and 52.22 LAS greedily, rising to 82.77 UAS and 78.01 LAS with exact search. The choice of generation timing and the ability to reconsider local choices both matter for these results.

There are also discriminative baselines with the same small feature space. On SD development data, exact unidirectional arc-hybrid reaches 84.21 UAS and 81.61 LAS. Exact unidirectional arc-eager reaches 81.37 UAS and 79.08 LAS. The exact buffer-next generative variants exceed these unidirectional scores. With a bidirectional encoder, the exact discriminative arc-hybrid parser instead reaches 92.89 UAS and 90.47 LAS, and arc-eager reaches 92.90 UAS and 90.68 LAS. Access to the full sentence is a substantial advantage for the discriminative parsing task. The generative scores are of particular interest when the same system must assign word probabilities from the prefix.

Supervised generative UAS on the Penn Treebank Stanford dependencies test split Arc-hybrid improves on the authors’ earlier parser and comes close to the recurrent generative comparison.

**The numbers**

| System or setting | UAS |
| --- | --- |
| Earlier Buys and Blunsom parser | 90.10 |
| Titov and Henderson parser | 91.43 |
| Arc-eager | 88.20 |
| Arc-hybrid (this paper) | 91.01 |

The authors retrained the earlier generative approaches for the test comparison. The feed-forward incremental parser of Buys and Blunsom gives 90.10 UAS and 87.74 LAS on the SD test split. Titov and Henderson’s recurrent approach, which has connections based on parsing decisions, gives 91.43 UAS and 89.02 LAS. Arc-hybrid gives 91.01 UAS and 88.54 LAS. Arc-eager gives 88.20 UAS and 85.91 LAS. The result improves on the earlier incremental feed-forward parser under SD and comes close to the recurrent comparison. Which generative system leads depends on the annotation and metric. On the YM test split, for instance, arc-hybrid gives 90.71 UAS and 88.68 LAS. Titov and Henderson give 90.75 UAS and 89.29 LAS, while the earlier Buys and Blunsom parser gives 90.16 UAS and 88.83 LAS. Arc-eager gives 87.61 UAS and 86.36 LAS.

The paper also places these results alongside discriminative test performance. Its arc-hybrid discriminative implementation gives 93.29 UAS and 90.83 LAS. Kiperwasser and Goldberg report 93.2 UAS and 91.2 LAS for their transition-based parser, while Dozat and Manning report 95.7% UAS and 94.1 LAS. The paper’s favorable comparison is within generative parsing, particularly among incremental transition-based approaches. The discriminative results give the reader a separate point of reference for the accuracy available when a parser can use a complete sentence.

The reported exact arc-hybrid decoder processes 7.4 sentences per second. The earlier Buys and Blunsom system processes 4 sentences per second, and the Titov and Henderson system roughly 1 sentence per second. The latter approaches use beam search, while the new exact decoder benefits from the authors’ GPU implementation. Supervised training takes about 3 minutes per epoch. These are timings for the reported implementations. The comparison shows that exact search was practical in this setup even against approaches that limit the number of histories they explore.

#### Predicting the words in a sentence

For language modeling, the authors use the Penn Treebank parsing split and treat sentences as independent. The supervised systems train from arc-hybrid transitions mapped from the annotated trees. The word-perplexity comparison uses their shift–reduce scores, with arc labels and direction left out of word prediction. The authors report nearly identical word prediction performance from arc-eager under that treatment. The unsupervised system trains from words alone and treats shifts and reductions as latent. The comparison includes interpolated Kneser–Ney n-grams, a plain sequential LSTM, an earlier generative dependency system and an RNNG result.

Sentence perplexity on the Penn Treebank parsing test split The sequential LSTM trained in batches has the lowest perplexity, and supervised stack-next leads the dependency-based variants from this paper.

**The numbers**

| System or setting | perplexity |
| --- | --- |
| Interpolated Kneser–Ney 5-gram | 170.09 |
| Sequential LSTM unbatched | 118.69 |
| Sequential LSTM batched | 100.67 |
| Earlier Buys and Blunsom parser | 138.62 |
| RNNG comparison | 101.2 |
| Supervised buffer-next | 111.53 |
| Supervised stack-next (this paper) | 107.61 |
| Unsupervised stack-next | 125.20 |

The sequential baseline’s training procedure is important to interpreting the outcome. With batching it reaches 100.67 on the parsing test split. Without batching it reaches 118.69. Supervised stack-next reaches 107.61 and supervised buffer-next 111.53, so both fall between the batched and unbatched sequential results. Unsupervised stack-next is higher at 125.20. The earlier feed-forward generative dependency system gives 138.62, and the interpolated Kneser–Ney 5-gram gives 170.09. The RNNG result in this comparison is 101.2, with the comparison system trained without batching. The associated work is [What Do Recurrent Neural Network Grammars Learn About Syntax?](https://md.research.elamur.ai/free/en/papers/kuncoro-2016-recurrent-neural-network-grammars-learn/).

The paper also checks a widely used Penn Treebank language modeling setup with a different split and preprocessing that limits the vocabulary to 10k. On that setup, the authors’ sentence-independent sequential LSTM gives 92.71 test perplexity. The paper compares it with 78.4 from Zaremba and colleagues, whose setup uses the same cited recurrent hyper-parameters but treats the corpus as a continuous sequence. It also gives 131.3 for the syntactic neural approach of Emami and Jelinek on that language modeling setup. These figures have a different evaluation context from the parsing-split chart. The check shows why sentence boundaries and preprocessing matter when pairing a syntactic predictor with a sequential baseline. It does not isolate sentence independence from every other difference between the reported runs.

#### What training without trees recovers

The word-only objective can score complete sentences, but its induced structures are generally simple. To display a tree, the authors interpret a shift as an attachment from the current stack top to the word it generates. Under this reading, the system usually attaches a word to the previous word or to ROOT. The paper illustrates a decoded structure with a sentence about raising money through treasury bonds. The analysis is qualitative. The example shows what kind of tree is recoverable from the actions, while the typical attachments described by the authors indicate that successful optimization of the marginal did not yield the intended kind of syntactic analysis. The perplexity comparison gives a separate measure of how well the same word-only objective predicts held-out text.

### What the ablations show

#### Search helps most when local decisions are weak

Keeping the trained parser fixed and changing the decoder is a direct way to see how much accuracy depends on search. On the SD development split, the bidirectional discriminative arc-hybrid parser gives 92.85 UAS and 90.42 LAS with greedy decoding, and 92.89 UAS and 90.47 LAS with exact decoding. For bidirectional arc-eager the corresponding results are 92.82 UAS and 90.63 LAS, and 92.90 UAS and 90.68 LAS. Once the discriminative encoder can use context on both sides of a word, a search over complete histories adds little to the attachment scores in these experiments.

The unidirectional discriminative results help distinguish the effect of search from the effect of the evidence used to score actions. Arc-hybrid gives 84.12 UAS and 81.54 LAS greedily and 84.21 UAS and 81.61 LAS with exact decoding on the same development split. Arc-eager goes from 79.90 UAS and 77.67 LAS to 81.37 UAS and 79.08 LAS. Searching the whole derivation can correct some local commitments, but the available evidence and training objective strongly constrain what scores the search has to work with. The authors relate this to label bias, a problem of scoring individual choices with locally normalized probabilities when different choices lead to states with different opportunities to use later evidence. The paper draws a comparison with [Globally Normalized Transition-Based Neural Networks](https://md.research.elamur.ai/free/en/papers/andor-2016-globally-normalized-transition-based-neural/).

Exact decoding makes a larger difference for every generative configuration in the development comparison, especially stack-next. The generative score includes probabilities for the words produced as well as the actions taken. A sequence of actions can therefore be valuable because it sets up well-scored word predictions even if one action by itself looks weak. Exact decoding evaluates that effect across the derivation. The contrast with the discriminative baselines supports the authors’ interpretation that predicting the words can help parsing when the encoder runs from left to right. The objective and the information available to each action also differ between configurations, so the comparison cannot attribute the full gain to word prediction alone.

#### The timing of an attachment matters

Buffer-next is the stronger supervised parsing formulation in the arc-hybrid development comparison. The result is consistent with the difference in timing introduced by this variant. The current buffer word is available for scoring an action that may connect that word to the stack top. A left-arc decision can therefore use information about a potential head that stack-next has yet to emit. For word prediction, the order of the supervised variants is reversed on the parsing test split. Stack-next gives lower marginal perplexity than buffer-next. Its emission sees the stack after any preceding reductions. Those reductions may have picked out a context well suited to that word.

With both generative parsers using buffer-next and exact search, arc-hybrid scores higher than arc-eager on the SD development split. The paper points to the timing of right-arc decisions as an explanation. Arc-eager commits to the head of a right dependent as it pushes that dependent. Arc-hybrid can decide when it later pops the word. The two action scores can therefore draw on different amounts of subsequent material. This comparison changes the transition system as a whole, including what the chart records about headedness. It supplies evidence about the behavior of the two systems under a common generation schedule without separately manipulating the timing of each attachment.

The paper also reports trying several dependency representations for language modeling on the development set. It finds little difference in word prediction across SD, YM and the annotations associated with [Universal Dependencies v1](https://md.research.elamur.ai/free/en/papers/nivre-2016-universal-dependencies-v1-multilingual-treebank/). It does not give individual development perplexities for that comparison. Within the representations the authors tried, changing when the next word was emitted showed a clearer effect than changing the annotation scheme. This is compatible with the fact that a word distribution uses the selected positions and their contextual states, while the detailed relation labels do not directly enter that distribution.

#### A completed parse can make words look easier

The paper’s most informative diagnostic compares three ways of scoring the same text. The ordinary marginal adds the joint probabilities of all candidate histories. The best-history joint score retains the contribution of the strongest history alone. The best-history conditional score treats that selected history as given and asks how predictable the words are under that condition. The same derivation is used for the last two calculations.

```
a = argmaxₜ p(w, t)
```

Here w is the observed sentence and t ranges over legal transition histories. The joint probability p(w, t) includes words and actions. The argmax returns a history a whose joint probability is highest. Finding a involves examining the full sentence, including the words whose conditional predictability is then measured.

```
p(w, a) ≤ p(w)
```

The left side is the contribution of the selected history a. The right side is the sum over all histories for w. The inequality follows because each history supplies a non-negative contribution. The joint probability therefore yields an upper bound on the usual marginal perplexity when both are converted using the same token counting procedure. A close joint and marginal result indicates that the strongest history accounts for substantial probability under that scoring setup. The conditional calculation uses p(w|a), where the bar means that the history a is given. Its perplexity-like quantity serves as a diagnostic because the history has already been selected using w.

Best-history conditional perplexity diagnostic on the Penn Treebank test split The supervised stack-next history makes the words easier to predict than the supervised buffer-next history in this diagnostic.

**The numbers**

| System or setting | conditional perplexity diagnostic |
| --- | --- |
| RNNG analysis comparison | 41.60 |
| Supervised buffer-next | 102.28 |
| Supervised stack-next (this paper) | 71.27 |
| Unsupervised stack-next | 169.87 |

On the PTB test split, supervised buffer-next gives 111.53 marginal perplexity, 120.09 on the joint best-history measure and 102.28 on the conditional measure. Supervised stack-next gives 107.61 marginal, 119.20 joint and 71.27 conditional. The authors interpret the relatively close joint and marginal values for the supervised systems as evidence that probability concentrates around the most likely histories. When given its selected history, stack-next shows substantially lower uncertainty about the words than buffer-next does. Its weaker attachment results show that locating the structure favored by that word prediction scheme is a separate problem.

For unsupervised stack-next, the corresponding quantities are 125.20 marginal, 350.01 joint and 169.87 conditional. Restricting the calculation to the strongest history gives a much worse joint score than summing the allowed histories. The probability of the observed words depends more on the contribution of the alternatives in this case. The selected unsupervised history also gives a higher conditional diagnostic than either supervised variant. This result is consistent with the simple attachments that the authors observe in its decoded trees.

The RNNG entry in this analysis has 104.10 marginal, 107.58 joint and 41.60 conditional. This is the RNNG comparison used in the best-history analysis. Its figures should be read with that analysis, while 101.2 belongs to the main perplexity comparison. The authors relate the conditional result to a richer representation of the stack and the partially built tree. A constituent representation can carry information about its internal composition, whereas the stack feature in the new dependency system retrieves a contextual vector at a position. The comparison illustrates how much useful information a completed derivation might supply. For an online predictor, the practical question is how much of that information is available before observing the word under evaluation.

### Limitations

#### Limits identified by the authors

Exact inference constrains the neural architecture. A recurrent vector in this approach is computed from the word sequence, so it cannot change when a different parse is being considered. The stack can make a stored vector available at a useful moment. It cannot build a new recurrent representation for the same word based on the dependents assembled beneath it. The RNNG comparison gives this tradeoff a concrete form. Richer composition can preserve more about a partially constructed tree, while the restricted dependence on fixed word-position vectors lets Buys and Blunsom sum histories exactly and make predictions from a prefix.

In arc-hybrid, direction probabilities disappear when the word objective sums over them. As a consequence, that objective cannot learn to distinguish left from right in the arc-hybrid system. Interpreting a shift as a rightward dependency is a way to examine the underlying structures that word-only training favors. Those structures mostly consist of immediate-predecessor or root attachments, according to the authors. They note that prior unsupervised parsers commonly rely on specially chosen initializations or structural biases to produce meaningful trees. The study shows what happened with the particular marginal objective and structure used here.

The authors also report that unsupervised training took much longer, which limited how extensively they tuned it. Exact gradients keep the selected objective well defined. They leave open how to choose the initialization, optimization schedule and structural assumptions that would make an informative solution easier to find. The results provide evidence about the configuration that was actually trained, especially when comparing its perplexity with a sequential baseline that had a more favorable tuning and batching setup.

Finally, the authors distinguish the information present in a structure from the information their system can exploit at prediction time. Their best-history conditional experiment gives an indication that some syntactically motivated context is informative for word prediction. During ordinary left-to-right evaluation the predictor has to distribute probability across alternatives without seeing the rest of the sentence. The authors conclude that their systems could not identify the useful structure reliably enough during that process to beat the sequential baseline. Exact marginalization ensures that whatever probability the system assigns to alternatives is faithfully combined.

#### Limits implied by the evaluation

The main data come from English Wall Street Journal text, with parsing and word prediction assessed on Penn Treebank splits. A comparison across dependency conversions is evidence about alternative annotations in the authors’ setup. It gives little basis for judging the method on other languages or genres. The two arc systems are formulated for projective trees. The exactness guarantee applies to the permitted derivations of those systems, with their specific scoring functions and chart states. Its scope includes every alternative in that defined space.

The paper motivates the method in part through earlier studies of agreement and other long-distance relations. The experiments here use aggregate sentence perplexity, attachment metrics and an analysis of scores along selected histories. A perplexity score averages over all evaluated tokens. Improvement on a particular construction could coexist with an unfavorable overall score, and a good overall score would not identify which constructions benefited. The experiments therefore establish how the reported systems compare on intrinsic word prediction and annotated attachment, with the history analysis giving indirect evidence about the use of syntax.

The exact decoder also optimizes the probability attached to a derivation. In supervised training, the oracle picks an action sequence when several sequences can represent the same tree. At test time, Viterbi decoding chooses the highest-scoring sequence, with labels assigned afterwards in the arc-hybrid procedure. The head and label matches reported by the experiment assess the output of that pipeline. The word marginal, in contrast, sums over the legal derivations of a sentence. These are distinct uses of the chart. The reported decoding result does not measure how much probability a final labeled tree would receive if all action sequences and label choices producing it were combined.

The runtime comparison is similarly tied to the specific systems tested. The GPU and equal-length batches make many computations practical to run together. The chart still grows with sentence length, and the reported throughput compares implementations that differ in architecture and search as well as hardware use. The figure of 7.4 sentences per second demonstrates that exact decoding works at the reported rate in this experiment. The paper supplies no scaling comparison across hardware or sentence lengths from which to infer a general speed advantage over beam search.

The two supervised variants also caution against using attachment accuracy as a stand-in for predictive value. Buffer-next is better at recovering the annotated heads in the development comparison, whereas stack-next reaches lower word perplexity on the parsing test split. Each result follows from a system in which the positions available to the parser and to the word predictor change together. It remains an empirical question how far the same discrepancy would extend under a different representation or training objective. The findings concern the interaction of these stack features, generation schedules and evaluation criteria.

### What came after

The two later works that cite the paper concern different kinds of structure. [Unsupervised Recurrent Neural Network Grammars](https://md.research.elamur.ai/free/en/papers/kim-2019-unsupervised-recurrent-neural-network-grammars/) takes up unsupervised learning for recurrent neural network grammars. This brings together two threads in Buys and Blunsom’s comparison. Their own word-only experiment treats a dependency-oriented stack history as latent, while their RNNG discussion concerns constituency structure and a recurrent representation that composes parts of a tree. The later work places the unsupervised question in the grammar family that Buys and Blunsom used as the more expressive comparison. The citation establishes that relationship in research scope. It does not establish that the later work used the same inside recurrence or inherited its exact online calculation.

[Neural Generative Rhetorical Structure Parsing](https://md.research.elamur.ai/free/en/papers/mabona-2019-neural-generative-rhetorical-structure-parsing/) concerns neural generative parsing for rhetorical structure. Here the relevant point of contact is the generative treatment of structure. Buys and Blunsom assign a probability to a word sequence together with the actions that organize it into dependencies. Rhetorical structure concerns organization at the level of discourse, where the relations to be predicted are different from dependencies between words. The citation shows that the earlier paper entered a discussion of generative parsing beyond sentence syntax. The stated scope of the later work leaves open which parts of the transition machinery, representation or inference procedure it uses.

The later citations thus place the paper alongside work on two questions that its experiments help distinguish. One is what a recurrent grammar can learn when tree structure is unobserved. The other is how to formulate a neural generative parser for the structure a task calls for. Buys and Blunsom’s own result is specific about the conditions under which these questions become tractable. A small, fixed set of recurrent context vectors makes summation possible, while the chosen structures and decisions determine how much that summation contributes to useful prediction.

## Cite

Cite as Jan Buys and Phil Blunsom. 2018. Neural Syntactic Generative Models with Exact Marginalization. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).

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

```bibtex
@inproceedings{buys2018neural,
  title = {{Neural Syntactic Generative Models with Exact Marginalization}},
  author = {Jan Buys and Phil Blunsom},
  booktitle = {Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)},
  year = {2018},
  doi = {10.18653/v1/n18-1086},
  url = {https://doi.org/10.18653/v1/n18-1086}
}
```

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