Elamur Research

StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsing

Paper · 2018 · Pengcheng Yin, Chunting Zhou, Junxian He et al.

Summary

A semantic parser turns an ordinary sentence into a formal expression that a computer can inspect or execute. The difficult part is obtaining enough examples of both sides: sentences are frequently available, but their correct formal interpretations require careful annotation. StructVAE studies whether a parser can improve by also learning from sentences whose interpretations are unknown. Its central proposal is to treat each missing interpretation as a hidden tree, then evaluate that tree by how well it helps regenerate the sentence.

The approach connects a parser to a generative system. The parser proposes a meaning representation, or MR, for an input sentence. A reconstruction component tries to produce the original sentence from that representation. A prior supplies another judgment: how plausible is the proposed representation before considering this particular sentence? Together, reconstruction and the prior provide a training signal for examples without annotated meanings. Labeled sentence–meaning pairs remain essential: they establish the initial connection between language and formal structure and continue to guide training.

The main parser builds abstract syntax trees, or ASTs, under an explicitly specified grammar. Rather than predicting an unrestricted string and hoping that it forms a valid expression, it chooses actions that extend a typed tree. The same machinery supports logical forms for flight inquiries and Python syntax for code generation. The prior and reconstruction components use sequential versions of those structures: source code for Python and parenthesized expressions for logical forms. This division preserves grammatical constraints where the parser constructs meanings while allowing familiar sequence-processing techniques elsewhere.

Experiments on ATIS flight inquiries and DJANGO code descriptions support the main claim under a simulated semisupervised setup. With additional training sentences whose meanings are hidden, StructVAE consistently improves on its supervised parser. On DJANGO, it reaches exact-match accuracy of 71.5 with 8000 labeled examples; the earlier YN17 system is reported at 71.6 with the full training data. A variant using a different parser, reconstruction architecture, and prior also improves, with reported gains of 8-10 points on ATIS when the labeled set contains fewer than 1000 examples. These findings suggest that the learning framework is useful beyond the particular AST parser introduced alongside it.

The evidence also sets clear conditions. The experiments hide annotations within existing datasets rather than acquire a separate collection of naturally occurring unlabeled requests. StructVAE does not improve on its supervised counterpart when the complete training set is already labeled. Its success depends on useful candidate interpretations, a carefully controlled prior, and a stable learning signal. The paper therefore establishes a practical way to exploit additional in-domain sentences, together with an empirical account of why its feedback can help; it does not establish that reconstruction alone guarantees correct meaning.

Interesting ideas

Grammar as a construction rule. The parser incorporates the target representation’s grammar into the actions it is allowed to take. This removes the need to learn every structural restriction from paired examples. A learner still has to choose the right expression, but it spends less effort discovering which expressions are legal. The idea applies wherever an output has an established structure: a program, a query, or another typed formal object. The reusable principle is to make constraints part of generation when those constraints are already known.

Reconstruction as additional supervision. An unlabeled sentence can provide feedback if a proposed interpretation must support its regeneration. A candidate that discards an important relationship may make reconstruction harder, even when the parser initially considers that candidate likely. This creates a source of evidence beyond the parser’s own confidence. The idea is useful when forward annotations are scarce but a reverse mapping can be learned from the labeled examples. Its value depends on the reverse task being sensitive to information that matters in the forward task.

Separate fidelity from plausibility. StructVAE asks both whether a representation explains the sentence and whether that representation is natural within the target formal language. These judgments address different failure modes. Reconstruction can favor an interpretation that preserves the input, while the prior can discourage unusual combinations of formal elements. The paper’s example of adding a function to a string illustrates why reconstruction need not be the only criterion. In other structured prediction problems, separating these questions can make the source of a training signal easier to understand.

Use predictions as weighted evidence. Self-training turns a parser’s prediction into a new training target. StructVAE instead attaches a learning signal to candidate interpretations, allowing useful candidates to receive encouragement and poor candidates to receive discouragement. The difference matters when the initial parser is uncertain or wrong: confidence does not become the sole justification for reinforcing a prediction. This principle can inform other learning procedures that create provisional labels, provided there is an additional way to assess those labels.

Choose a baseline that matches reward scale. The language-model baseline estimates how difficult the input sentence is to explain before judging any particular candidate meaning. Subtracting that estimate helps distinguish a poor interpretation from a sentence that naturally receives a low reconstruction probability. The experiments show why a generic learned predictor is not automatically the best choice for this role. When rewards are log-likelihoods with substantial variation across inputs, a baseline related to the same source of variation can stabilize learning.

Make architectural commitments locally. The main parser operates directly on trees, but the prior and reconstruction components work with their sequential surface forms. The framework also supports an alternative parser and a different prior. This suggests a useful engineering habit: decide separately which components need explicit structure and which can use a simpler representation without losing the information required for their job. StructVAE’s evidence supports this arrangement for its tasks, while leaving open whether a more structural prior or reconstructor would perform better.

Deep dive: StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsing

How StructVAE learns semantic parsing from labeled examples and unlabeled sentences, using latent meaning trees, reconstruction, and a prior. · about 37 minutes to read

How Mova uses it

For Mova, a small transparent language system written in Rust, the most concrete opportunity is to make proposed meanings explicit and inspectable. StructVAE’s hidden variable is a formal object with recognizable parts, rather than an uninterpreted vector alone. A Mova experiment could expose that object directly: the chosen constructor, its fields, the values inserted into those fields, and the sentence that motivated the construction. This would give an engineer a specific place to examine whether a failure concerns structure, lexical choice, or the connection between language and meaning.

That is a possible application of the paper, not an established description of Mova’s implementation. Nothing in StructVAE demonstrates a Rust implementation, integration with Mova, or a working Mova training procedure. The paper provides a design and experimental evidence for semantic parsing. Any claim that Mova already performs variational training, uses the same grammar system, or has reproduced the reported improvements would require separate evidence.

The grammar-based construction procedure offers a relatively direct starting point. Mova could represent a target meaning language through typed constructors and fields, then allow only actions that satisfy that specification. A field requiring an expression would accept an expression constructor; a field holding an identifier would accept a value. Optional and repeated fields would have explicit completion actions. Even before introducing semisupervised learning, this would make the legal output space visible and testable.

Such a design would support transparency in a limited but useful sense. A person could inspect why a candidate was structurally permitted and how its parts were assembled. It would not make the candidate’s meaning correct by definition. StructVAE’s own distinction between grammatical validity and interpretation quality is important for Mova: a legal tree can still represent the wrong operation, omit an argument, or express the wrong relationship. A transparent system should preserve that distinction in its explanations.

A further experiment could add a reverse component that produces a sentence from a proposed meaning. For an unlabeled input, Mova could retain candidate interpretations and compare how well each supports reconstruction. The prior would contribute a separate assessment of the formal expression’s plausibility. Keeping these assessments separate would make it easier to inspect a disagreement: a candidate might explain the sentence well while receiving a weak prior score, or appear conventional while failing to preserve important input content.

The paper’s training analysis suggests what Mova should record if it pursued this direction. Useful records would include the parser score, reconstruction score, prior score, baseline, and resulting learning signal for each candidate. The aim would be to see whether feedback actually favors correct interpretations, rather than simply observe that a combined objective changes. StructVAE’s diagnostic studies are valuable precisely because they examine the proposed mechanism, including cases where the parser initially prefers an incorrect candidate.

A smaller experimental scope would be more faithful to the evidence than a broad claim about language understanding. Mova could begin with a defined meaning grammar, a limited domain, paired examples, and additional sentences from that same domain. The supervised parser would need to produce useful candidates before the reconstruction-based stage began. Evaluation would then compare the same parser with and without access to the additional sentences. This follows the paper’s causal question closely: does the extra language improve formal interpretation under otherwise comparable conditions?

The paper also gives Mova reasons to treat several attractive extensions as open ideas. Graph-shaped meanings are discussed as a possible extension, but the experiments concern trees. Generating sentence–meaning pairs is demonstrated through sampling, but using those pairs to improve Mova would be a further experiment. Similarly, a small implementation could borrow grammar constraints and inspectable scoring without adopting the full variational procedure. Those are separable engineering choices, and the paper does not establish that every useful application must reproduce its entire architecture.

The problem and its context

Why formal meanings are expensive

Semantic parsing maps language into a representation whose structure has a defined interpretation. A flight request might become a logical expression describing flights with particular origins and destinations. A code description might become a Python statement. These outputs differ from ordinary paraphrases because their internal arrangement determines how they are interpreted or executed.

The paper places several kinds of representation within this setting. Logical forms can express meaning through λ-calculus. Programs can serve as executable interpretations. Abstract Meaning Representation provides another formal scheme, although StructVAE’s experiments focus specifically on representations that can be treated as trees. The broader motivation is that a language interface becomes useful when it can produce an appropriate structured object.

Producing training data for this task requires more than collecting sentences. Someone must also supply the intended formal interpretation. That work demands knowledge of the target representation and care over details that may be easy to overlook in ordinary reading. A sentence can sound clear while leaving substantial work for an annotator who must specify its operators, arguments, variables, and nesting.

This is why linguistic annotation becomes a practical bottleneck. The authors describe neural approaches as particularly demanding of paired examples. Their motivation is not that supervised learning fails when enough labeled data is available. It is that acquiring enough such data can dominate the cost of building a parser.

Unlabeled sentences offer a different resource. They reveal the kinds of requests or descriptions that occur in the domain, even when their formal analyses have not been written down. The research question is whether that information can improve the mapping from sentences to meanings. Merely training a better predictor of sentence text would not answer the question; the learning procedure must connect the extra text to the semantic parser.

Earlier ways to reduce the annotation burden

The authors describe several preceding strategies. Weak supervision replaces direct formal annotations with consequences of the interpretation. In question answering, for example, a candidate query can be judged through the answer it returns. Semantic Parsing on Freebase from Question-Answer Pairs belongs to this line of work.

The distinction concerns what information the learner receives. With a labeled meaning representation, the learner knows the target formal expression. With an answer, it knows a result that the expression should produce. That result can provide useful supervision without specifying the entire expression. StructVAE investigates another situation: sentences are available, but neither a formal interpretation nor its answer is supplied for the additional data.

Data augmentation is another strategy discussed in the paper. A grammar can generate additional sentence–meaning pairs, using rules that are manually specified or induced. This enlarges the training collection by constructing examples. StructVAE instead starts from observed sentences and treats their unknown meanings as latent variables. The grammar in its main parser constrains how interpretations are built; it does not itself provide the correct interpretation for every extra sentence.

The related-work discussion also includes earlier semisupervised semantic parsing. One approach used a parser’s predictions with transductive support vector machines. Another applied self-training to AMR parsing. These methods establish the relevance of learning from provisional analyses, but they do not supply StructVAE’s particular reconstruction-and-prior assessment of candidate meanings.

The paper also distinguishes its setting from domain adaptation. Adaptation seeks to use knowledge acquired in a source domain to reduce the need for target-domain annotations. StructVAE’s experiments ask about additional sentences within the evaluated domain. They do not test whether a parser can move successfully between unrelated domains.

Why use a variational autoencoder?

The conceptual starting point is Auto-Encoding Variational Bayes. A variational autoencoder connects a generative account of observed data to an inference procedure for hidden variables. The generative side explains how a hidden state could produce an observation. The inference side works backward, estimating hidden states from observations.

For semantic parsing, that arrangement has a natural interpretation. A meaning representation is the hidden state. The observed sentence is language generated from that meaning. Inferring the hidden state therefore corresponds to parsing, while producing language from it corresponds to reconstruction.

This connection allows unlabeled sentences to participate in a joint learning objective. A parser proposes meanings that help the generative side explain the text. The generative side, in turn, supplies feedback on those proposals. The supervised examples anchor the hidden structures to the intended formal language.

Earlier variational approaches discussed by the authors used continuous representations, discrete symbols, or combinations of these. Work on sentence compression treated summaries as discrete hidden variables. StructVAE extends this direction to meanings with internal tree structure. Its contribution is therefore both task-specific and methodological: semantic parsing provides the application, while structured discrete latent variables provide the broader learning problem.

The authors also discuss an earlier variational approach to semantic parsing that used natural-language utterances as flat hidden variables and learned from unannotated meaning representations. StructVAE reverses that arrangement. Its additional observations are sentences, and the missing structures are meanings. This matters because sentences are the resource the paper aims to exploit.

A strong parser is part of the contribution

The main inference architecture draws on A Syntactic Neural Model for General-Purpose Code Generation, called YN17 in the paper. That work supplies the starting point for generating syntax through actions. StructVAE adapts the transition system to the Abstract Syntax Description Language, or ASDL.

The choice of ASDL follows Abstract Syntax Networks. Under this formalism, constructors and fields have declared types. The parser consequently knows which kinds of expansion are valid at a given position.

This auxiliary contribution matters for interpreting the experiments. A semisupervised method can appear effective if it is compared with an unnecessarily weak supervised learner. The authors therefore establish a competitive supervised parser and then use that same parser inside StructVAE. The central comparison concerns the benefit of the additional learning procedure, rather than a change from an unconstrained baseline to a stronger architecture.

The paper’s broader position is thus precise. Explicit grammar supplies structural knowledge, paired examples establish the language-to-meaning mapping, and extra sentences provide additional training opportunities. StructVAE combines these resources through variational learning rather than treating them as unrelated additions.

The method, step by step

Start with an observed sentence and an unknown tree

Consider a natural-language input whose formal interpretation has not been annotated. StructVAE’s parser proposes a tree representing that interpretation. For a Python task, the tree describes source-code structure. For ATIS, it represents a logical form.

The proposed tree is then rendered in a sequential form. A reconstruction component reads that sequence and attempts to generate the input sentence. Separately, a prior evaluates the representation itself. The training procedure combines these assessments into feedback for the parser.

Learning from sentences with hidden meanings

The steps in order.

Learning from sentences with hidden meaningsStep 1: Pretrain on paired sentences and meanings1. Pretrain on paired sentences and meaningsStep 2: Propose candidate meaning trees2. Propose candidate meaning treesStep 3: Linearize each candidate representation3. Linearize each candidate representationStep 4: Reconstruct the observed sentence4. Reconstruct the observed sentenceStep 5: Score reconstruction and prior plausibility5. Score reconstruction and prior plausibilityStep 6: Subtract the sentence-dependent baseline6. Subtract the sentence-dependent baselineStep 7: Update parser and reconstruction parameters7. Update parser and reconstruction parameters

The term “latent” means that the correct meaning is unobserved for the additional sentences. It does not mean that the structure is inaccessible to inspection. The parser explicitly constructs candidates, and the training procedure assigns scores to them.

The supervised and unlabeled data play complementary roles. The labeled examples identify what the formal outputs should mean. The unlabeled sentences extend the range of inputs from which the system can learn. Without the supervised starting point, a randomly initialized parser would not reliably provide useful candidates.

Define the joint learning objective

The paper begins with a supervised conditional parser and an additional objective for explaining sentences:

J = Σ⟨x,z⟩∈D_L log pφ(z | x) + α Σx∈D_U log p(x)

Here, x is a natural-language utterance and z is its meaning representation. D_L is the collection of labeled sentence–meaning pairs. D_U contains sentences used without their meaning annotations. The distribution pφ(z | x) is the parser, with parameters φ. The quantity p(x) is the marginal probability assigned to the sentence by the generative account. The coefficient α controls the contribution from the unlabeled objective.

The first sum rewards the parser for assigning probability to annotated meanings. The second rewards the generative system for explaining observed sentences. Their connection is crucial: learning from p(x) must affect the same inference procedure that performs semantic parsing.

StructVAE identifies the inference distribution qφ(z | x) with the semantic parser. The different notation emphasizes its role inside the variational framework. It is the component that proposes hidden meanings when the target annotation is absent.

The generative story proceeds in the opposite direction. A representation is selected according to the prior p(z), and the reconstruction distribution pθ(x | z) produces a sentence conditioned on that representation. The parameter set θ belongs to the reconstruction component.

Keep trees for parsing and sequences for other components

Although the hidden meaning is tree-structured, the prior and reconstruction components process a sequential rendering:

p(z) ≔ p(zˢ)

The symbol zˢ denotes the surface sequence corresponding to meaning tree z. The definition sign indicates that the prior over meanings is implemented through the probability of this sequence. For Python, the sequence is source code. For logical forms, it is a linearized parenthesized expression.

The reconstruction distribution follows the same arrangement:

pθ(x | z) ≔ pθ(x | zˢ)

Here, pθ is the reconstruction distribution, x is the sentence being generated, and zˢ is the sequential version of the candidate meaning. The parser itself still constructs a tree; linearization applies to the other components.

This design avoids requiring a separate tree-processing architecture everywhere. It also makes the division of responsibilities clear. The parser enforces construction rules. The prior learns patterns in formal expressions. The reconstructor learns how those expressions correspond to language.

The paper’s later analyses suggest that the sequential components provide useful judgments. That does not establish that linearization is optimal. It establishes that an explicitly structured inference component can work effectively alongside sequential scoring and reconstruction.

Construct meanings with typed actions

ASDL describes a tree through constructors, fields, field types, and cardinalities. A constructor identifies a kind of syntactic object. For example, Call represents a function call and belongs to the expression type. Its fields include func, args, and keywords.

A field with a composite type holds another constructed object. A field with a primitive type stores a value such as an identifier or string. Cardinality specifies whether the field takes a required value, an optional value, or a sequence of values.

These distinctions determine what the parser may do. A function-position field expecting an expression cannot be filled by an arbitrary object of an incompatible type. A repeated argument field may accept further arguments until the parser explicitly completes it.

The parser advances through the tree from the top downward and from left to right. Its current position is the frontier field: the field that must next be filled or completed. The Python example begins with a statement root, then expands the structure through actions.

ApplyConstr chooses a constructor compatible with a composite frontier field. For a required or optional field, it fills the open position. For a sequential field, it appends an element. Applying Call introduces the fields that specify the called expression and its arguments.

Reduce completes an optional or repeated field. This action is needed because the grammar permits a variable amount of structure at such positions. The parser must choose both which elements to include and when to stop adding them.

GenToken supplies a token for a primitive field. Some values require a single action, while a string can require successive token actions followed by a termination marker. This separates decisions about grammatical structure from decisions about the text stored at the leaves.

The resulting guarantee concerns syntax. A tree generated through permitted actions conforms to the grammar. Its semantic suitability for the input remains a learned decision.

Assign probability to an action sequence

The probability of a candidate meaning is decomposed over its construction actions:

qφ(z | x) = ∏t p(a_t | a_<t, x)

The distribution qφ is the inference parser. The symbol a_t denotes the action selected at decoding step t, and a_<t denotes the preceding actions. The product combines the conditional probability of every action needed to build z. Each decision depends on the input sentence x and on the construction history.

The neural decoder also receives information about the tree position being expanded. It does not rely solely on remembering a flat history of actions. Parent-related information helps connect the current choice to the structure in which that choice occurs.

The appendix expresses the recurrent update as follows:

s_t = f_LSTM([a⃗_t−1 : s̃_t−1 : p_t], s_t−1)

Here, s_t is the decoder hidden state at step t. The function f_LSTM is the recurrent update. The vector a⃗_t−1 embeds the preceding action, and s̃_t−1 is the preceding attentional vector. The vector p_t supplies information about the parent and frontier field. Colons inside brackets denote concatenation, and s_t−1 is the previous hidden state.

The parent information combines an embedding of the current field, an embedding of its type, the decoder state at which its parent created it, and an embedding of that parent constructor. These inputs let the decoder condition an action on its structural context.

Attention connects this state to the encoded input sentence. The resulting attentional vector is used to compute action probabilities. The architecture therefore combines sequential generation history, local tree context, and evidence from the utterance.

Learn a prior over formal expressions

The principal prior is an LSTM language model over the sequential meaning representation:

p(zˢ) = ∏ᵢ₌₁^|zˢ| p(zᵢˢ | zˢ_<i)

The sequence zˢ contains formal-expression tokens. Its length is |zˢ|. The token zᵢˢ occupies position i, and zˢ_<i is the prefix preceding that position. The product assigns a probability to the complete representation by predicting its tokens in order.

This prior does not inspect the particular input sentence. It captures patterns in the target formal language. A representation can therefore receive a weak prior score because its combination of operations and values is unusual, even if the parser initially assigns it substantial probability.

The token distribution is computed from a recurrent hidden state:

p(zᵢˢ | zˢ_<i) = softmax(W hᵢ + b)

Here, hᵢ is the LSTM hidden state at position i. W is a learned weight matrix and b is a learned bias vector. The softmax function converts token scores into a probability distribution over possible next tokens.

The hidden state is updated from the preceding token:

hᵢ = f_LSTM(e(zᵢ₋₁ˢ), hᵢ₋₁)

The function e maps a token to its embedding. The token zᵢ₋₁ˢ precedes the current position, and hᵢ₋₁ is the previous hidden state. Together, these determine the next recurrent state.

The prior’s training resources differ across tasks. For ATIS, each labeled subset supplies the logical forms used to train its prior. For DJANGO, the authors use Django source code outside the annotated dataset. That additional code is a meaningful part of the experimental setup: the prior benefits from formal-language examples beyond the paired code descriptions.

Reconstruct language, including copied values

The reconstruction component is an attention-based sequence-to-sequence network. It follows the architecture associated with Effective Approaches to Attention-based Neural Machine Translation, augmented with copying as in Incorporating Copying Mechanism in Sequence-to-Sequence Learning.

Copying matters because a formal expression can contain an identifier or entity that is absent from a fixed output vocabulary. The paper uses my_list as an example. A reconstructor should be able to reproduce that identifier from the representation rather than replace it with an unrelated vocabulary item.

The probability of an output token combines generation and copying:

p(xᵢ | x_<i, zˢ) = p(gen | x_<i, zˢ) p(xᵢ | gen, x_<i, zˢ) + p(copy | x_<i, zˢ) p(xᵢ | copy, x_<i, zˢ)

The token xᵢ is the next word of the reconstructed sentence. The prefix x_<i contains the words already generated. The labels gen and copy identify the possible production routes. Each route has a selection probability and a conditional probability of producing the required token. Their contributions are added.

Attention supplies a context-sensitive representation for those decisions:

s̃ᶜᵢ = tanh(W_c [cᶜᵢ ; sᶜᵢ])

The vector sᶜᵢ is the reconstruction decoder’s hidden state at output position i. The vector cᶜᵢ summarizes the encoded meaning sequence through attention. W_c is a learned matrix, the semicolon denotes concatenation, and tanh is the transformation applied to the combined vector. The result s̃ᶜᵢ is the attentional vector.

The context mechanism follows the attention tradition represented by Neural Machine Translation by Jointly Learning to Align and Translate. Its role here is to let different output words depend on different parts of the formal expression.

The route probabilities are obtained from that attentional vector:

[p(gen | x_<i, zˢ), p(copy | x_<i, zˢ)] = softmax(W s̃ᶜᵢ)

The matrix W maps the attentional vector to route scores. The softmax turns those scores into probabilities for generating from the fixed vocabulary or copying from the representation. As elsewhere in the architecture, matrices written with the same conventional letter belong to their respective components.

The copying distribution uses a pointer network:

p(xᵢ = zⱼˢ | copy, x_<i, zˢ) = exp((hⱼᶻ)ᵀ W s̃ᶜᵢ) / Σⱼ′₌₁^|zˢ| exp((hⱼ′ᶻ)ᵀ W s̃ᶜᵢ)

The token zⱼˢ occupies source position j in the formal-expression sequence. Its encoded vector is hⱼᶻ. The superscript T denotes transpose, W is a learned compatibility matrix, and exp converts compatibility scores into positive values. The denominator sums over source positions j′, producing a normalized probability of selecting position j.

This architecture gives reconstruction access to both abstract relationships and concrete values in the candidate meaning. It does not force faithful reconstruction by construction; faithfulness is learned through the paired training examples and the subsequent objective.

Pretrain using known pairs

Before learning from unannotated sentences, the parser and reconstructor are trained together:

J_s ≔ Σ(x,z)∈D_L [log qφ(z | x) + log pθ(x | z)]

The objective J_s sums over labeled pairs in D_L. Its first term trains the parser qφ to predict the annotated meaning z from sentence x. Its second term trains the reconstruction distribution pθ to regenerate x from z. The parameters φ and θ belong to those respective components.

This preparation is necessary for the later feedback loop. A random parser is unlikely to propose useful semantic structures. A random reconstructor is unlikely to distinguish a faithful interpretation from an unfaithful one. Training both on known pairs gives their interaction an initial semantic basis.

The authors pretrain until convergence, then switch to the joint semisupervised objective. They also pretrain the prior and the sentence-language-model component used for variance reduction.

Optimize a variational objective for unlabeled sentences

For an unlabeled sentence, the paper uses an expected reconstruction term and a penalty involving the prior:

L = E_z∼qφ(z|x)[log pθ(x | z)] − λ KL[qφ(z | x) ∥ p(z)]

The expectation averages reconstruction log-probability over meanings proposed by qφ for x. The expression KL[qφ(z | x) ∥ p(z)] is the Kullback–Leibler divergence between the parser’s distribution and the prior. The coefficient λ controls the strength of that term.

The reconstruction term encourages interpretations that support the observed sentence. The divergence term relates those interpretations to the prior instead of allowing reconstruction to determine the hidden space without constraint.

The paper introduces this through the variational lower-bound framework and then tunes the KL contribution. A mathematical distinction is useful: the standard variational likelihood bound has the usual KL weighting. Once that term is freely reweighted, the expression should be understood as the weighted training criterion used in the experiments; an arbitrary weighting does not automatically preserve the original likelihood-bound interpretation.

The experimental setting uses λ = 0.1. The analysis later shows that both removing this contribution and increasing its influence too far can damage performance.

Turn candidate scores into parser updates

Tree construction involves discrete choices. The parser cannot receive an ordinary differentiable update through the selected tree as if it were a continuous hidden vector. The authors therefore use the score-function estimator, also called REINFORCE.

The uncentered learning signal is:

l′(x,z) = log pθ(x | z) − λ [log qφ(z | x) − log p(z)]

The quantity l′ scores a candidate meaning z for sentence x. The reconstruction term measures support for the sentence. The bracketed expression combines the parser’s log-probability with the prior log-probability, scaled by λ. This is the sample-level form of the weighted objective.

The parser gradient is approximated from a candidate set:

∂L/∂φ ≈ (1 / |S(x)|) Σzᵢ∈S(x) l′(x,zᵢ) ∂log qφ(zᵢ | x)/∂φ

The set S(x) contains candidate meanings obtained from the inference procedure, and |S(x)| is its size. The index i identifies a candidate. The derivative of the candidate’s log-probability describes how parser parameters φ affect it. Multiplying by l′ gives that candidate a weighted influence on the update.

The authors use beam search to obtain higher-quality candidates. This practical choice matters: the method relies on the parser considering interpretations that are useful enough to support learning. It also means the implemented candidate procedure is an approximation rather than unrestricted sampling from the whole structured distribution.

REINFORCE updates can vary substantially across examples. StructVAE subtracts an input-dependent baseline:

l(x,z) ≔ l′(x,z) − b(x)

The centered signal l is the value used to weight learning. The baseline b(x) depends on the sentence, while the candidate-dependent information remains in l′. Subtraction changes the reference level against which a candidate’s quality is judged.

The proposed baseline uses a pretrained sentence language model:

b(x) = a log p_LM(x) + c

The quantity p_LM(x) is the probability assigned to sentence x by that language model. The scalar a rescales its log-probability, and c supplies an offset. The paper writes this language-model quantity as p(x); the LM subscript distinguishes its baseline role from the generative marginal discussed earlier.

The motivation is empirical correlation. Sentence language-model scores track reconstruction scores sufficiently well to provide a useful estimate of input difficulty. This baseline is separate from the prior over meanings: it scores natural-language sentences, whereas the prior scores formal representations.

The reconstruction parameters receive a simpler update:

∂L/∂θ ≈ (1 / |S(x)|) Σzᵢ∈S(x) ∂log pθ(x | zᵢ)/∂θ

Here, θ belongs to the reconstructor. The update averages reconstruction gradients over candidate meanings zᵢ in S(x). Unlike the parser update, it does not require differentiating through a discrete tree choice.

Make the training procedure practical

Across the experiments, the authors set both the unlabeled-objective coefficient α and the KL coefficient λ to 0.1. The candidate-set size is 5. Because poor candidates can still produce extreme feedback, learning signals below -20.0 are clipped.

The networks have 128-dimensional embeddings and 256-dimensional LSTM hidden states. Dropout rates are selected from 0.2, 0.3, and 0.4. Optimization uses Adam, with batch size 10 for supervised learning and 25 for the unlabeled objective.

Development performance controls early stopping and learning-rate adjustment. If performance does not improve after 5 epochs, the procedure restores the best parameters and halves the learning rate. The authors repeat that procedure 5 times.

These choices reveal that the proposed objective does not by itself solve the optimization problem. Supervised initialization, candidate quality, baseline design, clipping, and development-based stopping all contribute to making discrete structured learning workable.

The paper identifies an official code release for StructVAE. Its experiments also depend on established preprocessing releases for the datasets, so the reported setup includes those representation and normalization choices rather than only the neural architecture.

Experiments and results

Tasks, data, and evaluation

ATIS provides the semantic parsing task. It contains 5,410 flight-booking telephone inquiries. The target meanings are λ-calculus expressions describing the requested flights or related information. The authors use the processed data associated with Language to Logical Form with Neural Attention.

That preprocessing replaces entities with typed slots. A city can therefore appear through a placeholder such as ci0. This reduces dependence on particular entity spellings and makes the task partly about selecting the correct relationships among normalized arguments.

For the AST parser, the logical forms are converted using the ASDL grammar adopted from Abstract Syntax Networks. The conversion is deterministic. Consequently, the evaluated formal language remains the logical-form language, while the parser uses a tree representation suited to its construction procedure.

DJANGO supplies the code-generation task. It contains 18,805 Python source-code lines with natural-language descriptions. The code comes from the Django framework and covers varied operations, including data manipulation and definitions. The authors use the preprocessing associated with YN17 and the astor package to render ASDL trees as Python source.

The metric is exact-match accuracy. A prediction must match the reference output under the evaluation representation. This is a demanding measure of complete formal correctness, but it does not separately score partially correct structures or establish that every nonmatching program would behave differently.

Simulating access to unlabeled sentences

Neither benchmark supplies the extra unlabeled collection needed for the intended learning scenario. The authors therefore select K training examples at random as the labeled subset. Meanings are hidden for the remaining training sentences.

The unlabeled collection contains all training utterances, including those whose meanings are also available in the labeled subset. The experiments thus compare different amounts of direct annotation while preserving access to the training split’s language.

This construction is central to the interpretation. The additional sentences are in-domain and come from the benchmark’s training distribution. The experiment asks whether withholding their formal annotations still leaves useful information that StructVAE can exploit.

The authors also tried using only sentences outside the labeled subset for the unlabeled objective. They report slightly weaker performance and suggest that the reduced amount of unlabeled data may explain it. They leave a fuller account of this result open.

Comparisons with supervised learning and self-training

The strongest internal baseline is the authors’ own transition parser trained with the supervised objective. It already includes grammar-constrained AST construction. Comparing StructVAE against it isolates the contribution of the semisupervised stage more directly than comparison with a different parser would.

SelfTrain provides a second relevant comparison. It predicts meanings for sentences outside the labeled subset, adds those predictions to the training collection, and fine-tunes the supervised parser. This tests whether simply recycling predictions is enough.

To account for extra variability linked to REINFORCE training, StructVAE results are averaged across four runs. The reported outcome is consistent improvement over the supervised counterpart whenever additional unlabeled sentences are available: labeled-set sizes below 4,434 for ATIS and below 16,000 for DJANGO.

The paper’s clearest numerical comparison with an earlier system concerns DJANGO:

DJANGO test exact-match accuracy with different labeled-data amounts

StructVAE approaches the earlier system’s full-data result using fewer labeled examples.

DJANGO test exact-match accuracy with different labeled-data amountsYN17, full training data: 71.6YN17, full training data71.6StructVAE, 8000 labeled examples (this paper): 71.5StructVAE, 8000 labeled examples (thispaper)71.5
The numbers
System or settingexact-match accuracy %
YN17, full training data71.6
StructVAE, 8000 labeled examples (this paper)71.5

This comparison concerns annotation efficiency under the reported resources. It should not be read as a controlled comparison of identical architectures: StructVAE’s parser differs from YN17, and its prior also uses additional Django source code. The internal supervised comparison provides the more direct evidence about the semisupervised objective.

Against self-training, StructVAE wins in eight out of ten settings. In four of the ten settings, SelfTrain performs worse than the supervised parser. These outcomes support the authors’ claim that additional quality feedback matters: a parser’s own predictions are not automatically safe training targets.

The contrast becomes especially informative when all training meanings are available. Under that condition, StructVAE does not beat the supervised parser. The authors attribute the decline to updates from sampled interpretations that may be incorrect, with no additional sentences to compensate for that noise.

The supervised parser is already competitive

The supervised AST parser performs competitively against earlier neural systems on ATIS. The authors report that it surpasses the compared sequence-to-tree approach and reaches the level of Abstract Syntax Networks without additional supervision.

On DJANGO, the supervised parser exceeds YN17. The authors suggest that a more direct ASDL construction procedure contributes to this result because it requires fewer actions per example:

DJANGO average tree-construction actions per example

The ASDL transition system uses shorter construction sequences than YN17.

DJANGO average tree-construction actions per exampleYN17: 20.3YN1720.3StructVAE ASDL parser (this paper): 14.3StructVAE ASDL parser (this paper)14.3
The numbers
System or settingaverage actions
YN1720.3
StructVAE ASDL parser (this paper)14.3

Action count is an architectural diagnostic instead of the final parsing metric. It supports the proposed explanation for the parser’s strength, but the comparison does not independently prove that shorter sequences are the sole cause of higher accuracy.

The appendix also compares the supervised parser with the sequence-to-tree system across the ATIS data splits. The ASDL parser remains stronger. The authors’ explanation is that the grammar is supplied explicitly, while the alternative must acquire more structural regularities from examples.

Results with another representation and architecture

StructVAE-SEQ tests whether the framework depends on the main AST architecture. It uses attention-based sequence-to-sequence components for inference and reconstruction, with logical-form construction actions drawn from earlier work. Its prior is a tri-gram Kneser–Ney language model.

This changes several major components while retaining the central arrangement: infer a hidden meaning, reconstruct the sentence, and regularize through a prior. The variant still improves on its supervised counterpart.

The reported gains are especially substantial when the ATIS labeled set is small. StructVAE-SEQ improves by 8-10 points when the labeled-set size is below 1000. The paper interprets this as evidence that semi-supervision can be particularly helpful for a weaker parser under limited annotation.

This result supports architectural flexibility, but its scope remains bounded. It demonstrates another successful configuration on ATIS. It does not establish equal effectiveness for every formal language, parser family, or reconstruction architecture.

What the ablations show

The learning signal often prefers the correct meaning

The authors investigate the proposed mechanism by examining candidate meanings for sentences outside the labeled subset. They use reference annotations for analysis, while those annotations are not supplied as training targets for these sentences.

The analysis focuses on cases where the correct meaning appears among the candidates. That condition is important: the study evaluates whether feedback can distinguish a correct available candidate from its competitors. It does not measure how often a correct interpretation is absent from the candidate set.

For DJANGO with 5000 labeled examples and ATIS with 2000 labeled examples, the learning-signal histograms show a useful separation. Correct candidates tend to receive positive feedback, whereas incorrect candidates have a negative average signal. The reported difference in sample means is statistically significant at p < 0.05.

The signal for correct candidates also has a more concentrated distribution. This suggests that the procedure often gives the parser consistent encouragement for the intended meaning, while imperfect candidates receive less favorable and more varied feedback.

Correct candidates receive the highest learning signal in around 80% of the analyzed cases. When the correct candidate ranks highest, its average signal exceeds that of the strongest incorrect competitor by 1.27 on DJANGO and 0.96 on ATIS. These are learning-signal differences under that condition, not parsing-accuracy improvements.

The result supports the authors’ interpretation of candidate updates as weighted provisional examples. It also clarifies what the mechanism requires. The parser must propose a useful interpretation, and the additional components must assess it favorably enough to change learning in the intended direction.

Reconstruction and the prior contribute different evidence

The paper examines inferred DJANGO candidates to understand the terms within the learning signal. Reconstruction favors candidates that better preserve the sentence’s intended information. Such candidates can receive positive feedback even when the parser initially gives a competitor the higher probability.

That disagreement is valuable. If the feedback always duplicated the parser’s ranking, the system would have little additional basis for correcting its own preferences. The examples show that reconstruction can supply an assessment that changes which candidate should be reinforced.

The prior contributes another kind of judgment. The authors discuss an unnatural expression involving addition of a function and a string literal. Such a candidate can be discouraged by its low prior probability, even when other parts of the learning system do not reject it strongly enough.

These observations fit the intended division of labor. Reconstruction asks whether the candidate supports the language. The prior asks whether the formal expression resembles plausible expressions in the target domain. Neither assessment is equivalent to proving semantic correctness, but their combination can provide useful discrimination.

The examples also support the practical use of linearized meanings. Sequential prior and reconstruction components retain enough information to identify some relevant errors. The paper does not compare them against fully tree-structured alternatives, so the analysis demonstrates adequacy rather than superiority of linearization.

Removing the prior damages performance

The KL-weight analysis uses DJANGO with 5000 labeled examples. When λ = 0, the system becomes an autoencoding arrangement without the prior contribution and falls below the supervised baseline.

This is a strong warning against attributing the result to reconstruction alone. A parser and reconstructor can interact without producing a better semantic parser. The prior supplies a constraint that matters in the reported setting.

Increasing the weight too far also causes performance to drop. The paper reports degradation when λ > 0.1. The result is consistent with a tension between fitting the input and following the distribution of formal expressions.

A strong prior preference can favor common or conventional structures even when a particular sentence requires something else. The ablation does not establish a universal optimal coefficient. It shows that controlling the prior’s influence is a consequential design decision, instead of a minor numerical detail.

A suitable baseline improves stability

The baseline comparison replaces the sentence-language-model baseline with a multilayer perceptron. That alternative reads the final hidden state of the inference encoder and predicts a baseline value.

Both baselines aim to reduce variation in REINFORCE feedback. Their comparison therefore concerns the optimization procedure, not the expressive capacity of the semantic grammar.

The multilayer perceptron sometimes performs better, but it is weaker in most tested settings and can fall below supervised performance. The language-model baseline yields more stable improvements.

The authors connect this behavior to the correlation between sentence log-probability and reconstruction-related learning signals. A useful baseline should track the scale of the reward before the system judges the relative quality of candidate meanings.

The practical lesson is specific. Learning an arbitrary predictor of a baseline value is not guaranteed to outperform a component with a relevant probabilistic structure. For this task, sentence language modeling provides a helpful reference level.

More unlabeled sentences help within the tested range

Another analysis varies the amount of unlabeled data on DJANGO with 5000 labeled examples. Accuracy increases consistently as additional unlabeled utterances become available.

This supports the interpretation that the improvement comes from exploiting more language observations. It also fits the full-label result: when no extra sentences remain beyond the labeled set, the additional objective loses its observed advantage.

The experiment does not establish unlimited benefit from increasing data volume. It studies the available in-domain training collection. Data drawn from another domain, or substantially noisier language, would raise a different question.

Alternative architecture checks the framework’s scope

StructVAE-SEQ is more than an additional result. It is a controlled challenge to the claim that the learning framework is useful beyond a single strong implementation.

The alternative changes the inference arrangement, reconstruction setup, and prior while retaining the latent-meaning learning principle. Its improvements suggest that the contribution cannot be reduced entirely to the ASDL parser.

At the same time, the strong supervised parser remains an important part of the main results. The analyses jointly support two conclusions: grammar-aware inference is effective, and reconstruction-plus-prior learning can provide additional benefit to different inference configurations. They do not justify treating either ingredient as sufficient in every setting.

Limitations

Limits the authors explicitly identify

The authors state that the reasons semisupervised learning helps are not fully settled theoretically. Their explanation is supported through candidate scores, comparisons, and examples. It is an empirical account of a plausible mechanism rather than a general theorem guaranteeing improvement.

They also explicitly identify the simulated nature of the experiments. Additional unlabeled sentences are obtained by hiding meanings within established benchmarks. The intended practical resource would be a separate stream of in-domain language, but the evaluated datasets do not supply such a collection.

This distinction limits the external claim. The paper shows that the language side of existing training examples remains useful when some annotations are withheld. It does not directly measure performance with naturally collected requests that may differ in style, ambiguity, or relevance from the annotated corpus.

The authors further report that their method does not improve performance when the whole training set is labeled. Their explanation is that uncertain sampled meanings add optimization noise without bringing new sentences. The semisupervised objective is therefore beneficial under particular data conditions, not an automatic improvement to supervised training.

Candidate quality is another acknowledged issue. The parser is pretrained because random initialization is not expected to provide useful interpretations. Even after that preparation, low-quality candidates can create high-variance feedback, motivating clipping and baseline subtraction.

The framework is discussed as potentially applicable to graph-shaped meanings, but the experiments concern trees. That proposed extension should remain separate from the demonstrated contribution.

Limits visible in the experimental setup

A careful reader should distinguish syntactic validity from semantic correctness. The grammar constrains how the main parser constructs trees. It does not guarantee that the resulting expression expresses the input sentence. A legal function call can still call the wrong function or use the wrong argument.

The same distinction applies to the prior. A high-probability expression is conventional under its training distribution; it is not necessarily appropriate for a particular request. Conversely, a rare but correct interpretation may receive a weak prior score. The KL-weight ablation shows the practical importance of balancing these considerations.

Reconstruction is also an indirect measure. A component trained to regenerate language may overlook distinctions that matter in execution or formal interpretation. The paper provides evidence that reconstruction helps discriminate useful candidates, but it does not establish that sentence likelihood fully measures meaning preservation.

The gold-candidate analysis has a selection condition. It includes cases where the intended meaning is already in the candidate set. Its favorable ranking statistics therefore do not describe the complete parsing process. They say less about failures caused by search or by a parser that never proposes the correct structure.

Beam search introduces a related practical qualification. The candidate collection is chosen to improve quality, so the learning procedure depends on a restricted view of the latent space. This is a sensible engineering choice, but the resulting updates should not be understood as exact expectations over every possible meaning.

The unlabeled and labeled collections overlap on their language side. This is deliberate and permitted by the experimental construction, but it means the unlabeled objective partly revisits sentences that already have direct supervision. The authors’ disjoint-set experiment suggests that this choice affects performance; it does not fully disentangle additional coverage from additional exposure to labeled inputs.

Resource and evaluation boundaries

The prior uses different resources across tasks. ATIS priors are trained from meanings in the labeled subset, whereas the DJANGO prior uses additional Django source code. A claim about annotation efficiency should retain that distinction: fewer paired examples do not mean that every component receives less total information.

ATIS entity canonicalization is another boundary. Typed placeholders reduce the burden of handling unrestricted entity names. The reported results therefore concern that processed task, including its simplifications, instead of every challenge of interpreting raw flight inquiries.

DJANGO evaluates code associated with individual source lines and descriptions. Its results establish performance for that dataset’s task. They do not demonstrate construction of complete software systems, correctness across extended program contexts, or general competence with arbitrary programming requests.

Exact-match accuracy is informative but narrow. It makes the target criterion clear and penalizes incomplete formal outputs. It does not explain whether a mismatch is a small structural error, a different valid expression, or a substantially wrong interpretation. The paper’s metric should therefore be read as reference-form matching, without adding an unsupported claim about execution success.

The main parser’s reduced action count is likewise a partial explanation. Shorter construction sequences plausibly help, but the architecture differs from YN17 in how the grammar and transitions are defined. The comparison does not isolate action count from every other relevant design choice.

Interpretation and reproducibility boundaries

The weighted variational objective deserves care in mathematical interpretation. The generative framework motivates the learning criterion, but tuning the KL weight changes the standard bound expression. The experiments support the effectiveness of the chosen weighting; they do not require a claim that every weighted setting retains the same formal guarantee.

Optimization also depends on several stabilizing choices used together. Pretraining, the language-model baseline, signal clipping, candidate selection, and early stopping all matter to the implemented procedure. A replication that omits these details would test a different training arrangement.

The sampling appendix illustrates another boundary between components. The tree-building parser has grammatical constraints, while the sequential prior can generate malformed expressions. When generating from the prior, the authors use a syntax checker and reject invalid samples. Structural guarantees therefore depend on which direction of the system is being used.

Finally, the evidence spans ATIS and DJANGO, plus an architectural variant on ATIS. That is meaningful breadth for the paper’s claim, but it remains a limited collection of tasks and formal languages. Applications to other domains, low-resource languages, or transparent systems such as Mova are motivated possibilities that require their own evaluation.

What came after

Complexity-Based Prompting for Multi-Step Reasoning is a later work, dated 2022, that cites StructVAE. The bibliographic connection establishes that StructVAE was referenced in subsequent research on multi-step reasoning. It does not, by itself, establish that the later work adopted latent meaning trees, reconstruction training, the ASDL parser, or the same optimization procedure.

A stronger account of direct technical inheritance would require evidence about what that later work took from StructVAE. The citation alone cannot support a claim that prompting is an implementation or extension of this paper’s semisupervised method. The topics can be placed alongside each other at the broad level of structured intermediate reasoning, but the specific relationship should remain unasserted.

StructVAE’s demonstrated contribution is a reusable arrangement: represent an unknown interpretation explicitly, assess how well it explains the observed language, and combine that assessment with prior knowledge about valid-looking formal expressions. Its experiments show how this arrangement can improve semantic parsing when paired annotations are limited and additional in-domain sentences are available.

The lasting research question raised by the paper is how to make such indirect feedback reliably favor correct meanings. Its analyses identify candidate quality, reconstruction fidelity, prior strength, and variance reduction as concrete parts of that problem. Those are useful starting points for further work, while claims about a particular later method must rest on that method’s own documented connection.

Cite

Cite as Pengcheng Yin, Chunting Zhou, Junxian He and Graham Neubig. 2018. StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsing. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/p18-1070 · arXiv 1806.07832

@inproceedings{yin2018structvae,
  title = {{StructVAE: Tree-structured Latent Variable Models for Semi-supervised Semantic Parsing}},
  author = {Pengcheng Yin, Chunting Zhou, Junxian He and Graham Neubig},
  booktitle = {Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2018},
  doi = {10.18653/v1/p18-1070},
  eprint = {1806.07832},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/p18-1070}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/yin-2018-structvae-tree-structured-latent-variable/

References

63 references, from the paper's own bibliography.

  1. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In Proceedings of ICLR. our card
  2. Laura Banarescu, Claire Bonial, Shu Cai, Madalina Georgescu, Kira Griffitt, Ulf Hermjakob, Kevin Knight, Philipp Koehn, Martha Palmer, and Nathan Schneider. 2013. Abstract meaning representation for sembanking. In Proceedings of LAW-ID@ACL. our card
  3. Jonathan Berant, Andrew Chou, Roy Frostig, and Percy Liang. 2013. Semantic parsing on freebase from question-answer pairs. In Proceedings of EMNLP. our card
  4. Samuel R. Bowman, Luke Vilnis, Oriol Vinyals, Andrew M. Dai, Rafal Józefowicz, and Samy Bengio. 2016. Generating sentences from a continuous space. In Proceedings of the SIGNLL. our card
  5. Bob Carpenter. 1998. Type-logical Semantics. OpenAlex ↗ · Scholar ↗
  6. Jianpeng Cheng, Siva Reddy, Vijay Saraswat, and Mirella Lapata. 2017. Learning structured natural language representations for semantic parsing. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  7. Yong Cheng, Wei Xu, Zhongjun He, Wei He, Hua Wu, Maosong Sun, and Yang Liu. 2016. Semi-supervised learning for neural machine translation. In Proceedings of ACL. our card
  8. James Clarke, Dan Goldwasser, Ming-Wei Chang, and Dan Roth. 2010. Driving semantic parsing from the world's response. In Proceedings of CoNLL. OpenAlex ↗ · Scholar ↗
  9. Dipanjan Das and Noah A. Smith. 2011. Semi-supervised frame-semantic parsing for unknown predicates. In Proceedings of HLT. our card
  10. Li Dong and Mirella Lapata. 2016. Language to logical form with neural attention. In Proceedings of ACL. our card
  11. Xing Fan, Emilio Monti, Lambert Mathias, and Markus Dreyer. 2017. Transfer learning for neural semantic parsing. In Proceedings of the 2nd Workshop on Representation Learning for NLP. OpenAlex ↗ · Scholar ↗
  12. Jiatao Gu, Zhengdong Lu, Hang Li, and Victor O. K. Li. 2016. Incorporating copying mechanism in sequence-to-sequence learning. In Proceedings of ACL. our card
  13. Kelvin Guu, Panupong Pasupat, Evan Zheran Liu, and Percy Liang. 2017. From language to programs: Bridging reinforcement learning and maximum marginal likelihood. In Proceedings of ACL. our card
  14. Jonathan Herzig and Jonathan Berant. 2018. Decoupling structure and lexicon for zero-shot semantic parsing. arXiv preprint arXiv:1804.07918 . OpenAlex ↗ · Scholar ↗
  15. Srinivasan Iyer, Ioannis Konstas, Alvin Cheung, Jayant Krishnamurthy, and Luke Zettlemoyer. 2017. Learning a neural semantic parser from user feedback. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  16. Robin Jia and Percy Liang. 2016. Data recombination for neural semantic parsing. In Proceedings of ACL. our card
  17. Rohit J. Kate and Raymond J. Mooney. 2007. Semi-supervised learning for semantic parsing using support vector machines. In Proceedings of NAACL-HLT. OpenAlex ↗ · Scholar ↗
  18. Diederik P. Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. CoRR abs/1412.6980. our card
  19. Diederik P Kingma, Shakir Mohamed, Danilo Jimenez Rezende, and Max Welling. 2014. Semi-supervised learning with deep generative models. In Proceedings of NIPS. OpenAlex ↗ · Scholar ↗
  20. Diederik P Kingma and Max Welling. 2013. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114 . our card
  21. Tomás Kociský, Gábor Melis, Edward Grefenstette, Chris Dyer, Wang Ling, Phil Blunsom, and Karl Moritz Hermann. 2016. Semantic parsing with semi-supervised sequential autoencoders. In Proceedings of EMNLP. OpenAlex ↗ · Scholar ↗
  22. Ioannis Konstas, Srinivasan Iyer, Mark Yatskar, Yejin Choi, and Luke Zettlemoyer. 2017. Neural amr: Sequence-to-sequence models for parsing and generation. In Proceedings of ACL. our card
  23. Jayant Krishnamurthy, Oyvind Tafjord, and Aniruddha Kembhavi. 2016. Semantic parsing to probabilistic programs for situated question answering. In Proceedings of EMNLP. OpenAlex ↗ · Scholar ↗
  24. Chen Liang, Jonathan Berant, Quoc Le, Kenneth D. Forbus, and Ni Lao. 2017. Neural symbolic machines: Learning semantic parsers on freebase with weak supervision. In Proceedings of ACL. our card
  25. Percy Liang, Michael I. Jordan, and Dan Klein. 2011. Learning dependency-based compositional semantics. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  26. Wang Ling, Phil Blunsom, Edward Grefenstette, Karl Moritz Hermann, Tomás Kociský, Fumin Wang, and Andrew Senior. 2016. Latent predictor networks for code generation. In Proceedings of ACL. our card
  27. Thang Luong, Hieu Pham, and Christopher D. Manning. 2015. Effective approaches to attention-based neural machine translation. In Proceedings of EMNLP. our card
  28. Yishu Miao and Phil Blunsom. 2016. Language as a latent variable: Discrete generative models for sentence compression. In Proceedings of EMNLP. our card
  29. Yishu Miao, Lei Yu, and Phil Blunsom. 2016. Neural variational inference for text processing. In Proceedings of ICML. OpenAlex ↗ · Scholar ↗
  30. Dipendra K. Misra and Yoav Artzi. 2016. Neural shift-reduce CCG semantic parsing. In Proceedings of EMNLP. our card
  31. Arvind Neelakantan, Quoc V. Le, and Ilya Sutskever. 2016. Neural programmer: Inducing latent programs with gradient descent. In Proceedings of ICLR. OpenAlex ↗ · Scholar ↗
  32. Yusuke Oda, Hiroyuki Fudaba, Graham Neubig, Hideaki Hata, Sakriani Sakti, Tomoki Toda, and Satoshi Nakamura. 2015. Learning to generate pseudo-code from source code using statistical machine translation (T). In Proceedings of ASE. OpenAlex ↗ · Scholar ↗
  33. Panupong Pasupat and Percy Liang. 2015. Compositional semantic parsing on semi-structured tables. In Proceedings of ACL. our card
  34. Hoifung Poon. 2013. Grounded unsupervised semantic parsing. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  35. Hoifung Poon and Pedro Domingos. 2009. Unsupervised semantic parsing. In Proceedings of EMNLP. OpenAlex ↗ · Scholar ↗
  36. Python Software Foundation. 2016. Python abstract grammar. https://docs.python.org/2/library/ast.html. OpenAlex ↗ · Scholar ↗
  37. Chris Quirk, Raymond J. Mooney, and Michel Galley. 2015. Language to code: Learning semantic parsers for if-this-then-that recipes. In Proceedings of ACL. our card
  38. Maxim Rabinovich, Mitchell Stern, and Dan Klein. 2017. Abstract syntax networks for code generation and semantic parsing. In Proceedings of ACL. our card
  39. Siva Reddy, Mirella Lapata, and Mark Steedman. 2014. Large-scale semantic parsing without question-answer pairs. Transactions of ACL . OpenAlex ↗ · Scholar ↗
  40. Aarti Singh, Robert D. Nowak, and Xiaojin Zhu. 2008. Unlabeled data: Now it helps, now it doesn't. In Proceedings of NIPS. OpenAlex ↗ · Scholar ↗
  41. Richard Socher, Jeffrey Pennington, Eric H. Huang, Andrew Y. Ng, and Christopher D. Manning. 2011. Semi-supervised recursive autoencoders for predicting sentiment distributions. In Proceedings of EMNLP. our card
  42. Mark Steedman. 2000. The Syntactic Process. OpenAlex ↗ · Scholar ↗
  43. Yu Su and Xifeng Yan. 2017. Cross-domain semantic parsing via paraphrasing. In Proceedings of EMNLP. OpenAlex ↗ · Scholar ↗
  44. Lappoon R. Tang and Raymond J. Mooney. 2001. Using multiple clause constructors in inductive logic programming for semantic parsing. In Proceedings of ECML. OpenAlex ↗ · Scholar ↗
  45. Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. 2015. Pointer networks. In Proceedings of NIPS. OpenAlex ↗ · Scholar ↗
  46. Adrienne Wang, Tom Kwiatkowski, and Luke Zettlemoyer. 2014. Morpho-syntactic lexical generalization for ccg semantic parsing. In Proceedings of EMNLP. our card
  47. Daniel C. Wang, Andrew W. Appel, Jeffrey L. Korn, and Christopher S. Serra. 1997. The zephyr abstract syntax description language. In Proceedings of DSL. OpenAlex ↗ · Scholar ↗
  48. Yushi Wang, Jonathan Berant, and Percy Liang. 2015. Building a semantic parser overnight. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  49. Ronald J. Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning . OpenAlex ↗ · Scholar ↗
  50. Chunyang Xiao, Marc Dymetman, and Claire Gardent. 2016. Sequence-based structured prediction for semantic parsing. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  51. Weidi Xu, Haoze Sun, Chao Deng, and Ying Tan. 2017. Variational autoencoder for semi-supervised text classification. In Proceedings of AAAI. OpenAlex ↗ · Scholar ↗
  52. David Yarowsky. 1995. Unsupervised word sense disambiguation rivaling supervised methods. In Proceedings of ACL. our card
  53. Wen-tau Yih, Ming-Wei Chang, Xiaodong He, and Jianfeng Gao. 2015. Semantic parsing via staged query graph generation: Question answering with knowledge base. In Proceedings of ACL. our card
  54. Pengcheng Yin, Zhengdong Lu, Hang Li, and Ben Kao. 2016. Neural enquirer: Learning to query tables in natural language. In Proceedings of IJCAI. OpenAlex ↗ · Scholar ↗
  55. Pengcheng Yin and Graham Neubig. 2017. A syntactic neural model for general-purpose code generation. In Proceedings of ACL. our card
  56. Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. 2014. Recurrent neural network regularization. arXiv preprint arXiv:1409.2329 . our card
  57. John M. Zelle and Raymond J. Mooney. 1996. Learning to parse database queries using inductive logic programming. In Proceedings of AAAI. our card
  58. Luke Zettlemoyer and Michael Collins. 2005. Learning to map sentences to logical form structured classification with probabilistic categorial grammars. In Proceedings of UAI. our card
  59. Luke S. Zettlemoyer and Michael Collins. 2007. Online learning of relaxed ccg grammars for parsing to logical form. In Proceedings of EMNLP-CoNLL. our card
  60. Xiao Zhang, Yong Jiang, Hao Peng, Kewei Tu, and Dan Goldwasser. 2017. Semi-supervised structured prediction with neural crf autoencoder. In Proceedings of EMNLP. OpenAlex ↗ · Scholar ↗
  61. Victor Zhong, Caiming Xiong, and Richard Socher. 2017. Seq2sql: Generating structured queries from natural language using reinforcement learning. arXiv preprint arXiv:1709.00103 . our card
  62. Chunting Zhou and Graham Neubig. 2017. Multi-space variational encoder-decoders for semi-supervised labeled sequence transduction. In Proceedings of ACL. OpenAlex ↗ · Scholar ↗
  63. Xiaojin Zhu. 2005. Semi-supervised learning literature survey. Technical Report 1530, Computer Sciences, University of Wisconsin-Madison. OpenAlex ↗ · Scholar ↗