Elamur Research

Data Recombination for Neural Semantic Parsing

Paper · 2016 · Robin Jia and Percy Liang

Summary

A database can answer a question about which states border Texas once it receives a query written in the right formal language. Turning the question into that query is the job of semantic parsing. Much of the translation should carry over when the question names a different state. The operation for finding neighbors stays the same, while the state changes in both the question and the query. A parser with explicit rules can exploit this regularity directly. A general-purpose recurrent neural network has to learn it from examples. Data Recombination for Neural Semantic Parsing asks how to make that regularity visible in the training data.

The authors turn the original question–query pairs into a synchronous context-free grammar, a set of rules that builds both sides together. Its entity rules let a phrase about Texas take a different state name and make the corresponding substitution in the query. Its phrase rules let a larger expression fill a compatible slot, sometimes producing a query with more levels of nesting. A further strategy joins whole examples end to end on both sides, giving the parser longer sequences to handle. The grammar supplies fresh pairs during training. An encoder–decoder built from long short-term memory networks learns to predict the query token by token. Its attention mechanism helps it find relevant parts of the input and gives the decoder a way to copy an entity name into the query.

Recombination improved test accuracy on GeoQuery, ATIS and Overnight in the main experiments, which used the decoder with copying. On GeoQuery, the strongest combination reached 89.3% test accuracy by matching answers obtained from executing the queries. That was a gain of 4.3 percentage points over training the same parser without recombination and surpassed earlier results under comparable supervision, excluding a system supplied with a seed lexicon for predicates. On ATIS, the strongest setting reached 83.3 in test accuracy based on exact matching of logical forms, a gain of 7 percentage points. On Overnight, the reported gain was an average of 1.7 percentage points in test accuracy based on the answers produced by the queries.

The strongest setting for each dataset used concatenation. In a separate experiment with an artificial world, adding deeper examples helped more than adding examples at the test depth, even though the test questions were all short. That pattern held for examples sampled from the artificial world and for examples recombined from a small training set. The authors argue that a deliberately restricted grammar can teach a flexible parser something useful by shaping its practice, even when some of the resulting exercises are unlike the questions it will face. They made the code, data and experiments available on CodaLab.

Deep dive: Data Recombination for Neural Semantic Parsing

Data recombination teaches a neural semantic parser to turn questions into queries by training it on pairs assembled with a grammar. · about 38 minutes to read

The problem and its context

From a question to an operation

A semantic parser returns a formal expression that another system can use. For a question about neighboring states, the expression needs to identify the state in question, specify the relevant relationship and indicate what to return. The answer itself comes from applying that expression to the database. The formal expression is called a logical form. The value it produces, such as a set of states, is called its denotation. The distinction matters during both training and evaluation. A question paired with its logical form shows the parser how the answer is obtained. A question paired with its denotation only shows the result.

The paper places database queries in a broader class of tasks. A system following instructions can translate an utterance into actions. A system generating a regular expression can translate a description into a pattern. In each case, the output has parts that play different roles. An operation takes arguments. An argument can itself be the result of another operation. The parser needs to identify those roles from words that arrive in a line and then express them in the conventions of the target language. The paper situates the database task alongside earlier work on question answering and mapping instructions to actions.

A recurring opportunity is that a change to the question can have a predictable, local effect on the logical form. In the Texas example, the parser can reuse everything it knows about the border relation after substituting a different state. The same opportunity arises at the level of phrases. An expression that identifies a set of states can be built internally out of several operations and still serve as the argument of another operation that expects a set of states. This is one meaning of compositionality in the paper. A larger expression gets its interpretation from the interpretations of its parts and the way they are combined.

The challenge is to acquire those regularities from a finite collection of paired examples. A training set might show a particular state in one kind of question and a particular relation with other states. A parser that can reuse the state name and the relation independently gains something beyond remembering any of those examples. For the authors, the important question is where to put the knowledge that such reuse is legitimate. It can live in the rules that the parser must follow while interpreting an utterance. It can also live in rules that decide which examples the parser sees while learning.

Why move some structure into the training data?

The authors describe established semantic parsers as relying on combinations of features, lexicons and grammars. A feature gives a parser a way to score some property of a candidate interpretation. A lexicon can connect fragments of an utterance with symbols in a formal language. A grammar provides rules for assembling larger expressions. These devices give the parser routes to interpretations of questions it has never seen. They also require decisions about how to represent the task and how to find a good interpretation under those representations. The paper describes this background in connection with earlier work on mapping sentences to logical form and semantic parsing on Freebase.

Recurrent neural networks offered a different starting point. A recurrent network processes a sequence by updating an internal state as it goes. In a sequence-to-sequence system, one network reads a sequence and another produces a sequence. Earlier work applied this approach to translation between languages. For semantic parsing, the same arrangement can read a question and write a tokenized logical form. The paper also points to syntactic parsing as evidence that a sequence of output tokens can encode a tree. Parentheses and other symbols can express relationships among parts of a structure even when the decoder writes them in order from beginning to end. The relevant precedents include Sequence to Sequence Learning with Neural Networks and Grammar as a Foreign Language.

With relatively few assumptions about the task in the network itself, the same architecture can handle different forms of sequence prediction. That flexibility leaves the burden of learning specific logical regularities with the training procedure. If a decoder repeatedly sees an operation in the presence of the same entity, success at predicting the training pairs gives it little reason to learn which part should vary independently. A grammar can arrange for the decoder to see that variation explicitly. Recombination therefore begins by asking which changes can be made to the examples while keeping the question and logical form in agreement.

Earlier augmentation work gave the authors a way to frame that question. In image classification, a transformation can shift an image while retaining its label. In text classification, the paper cites a method that substitutes synonyms and keeps the example in its original class. Such transformations express invariance, meaning that a change to the input should leave the target alone. A location substitution in a database question needs a different kind of supervision. The target must change, and there is a rule for exactly where to change it. The paper’s proposal makes that coordinated edit an ordinary part of augmentation. The earlier examples come from ImageNet Classification with Deep Convolutional Neural Networks and Character-level Convolutional Networks for Text Classification.

The authors also describe earlier work in which an existing system produces data to train another system. Uptraining uses analyses supplied by an accurate, slow parser to teach a cheaper one. The syntactic parsing work mentioned above used sentences on which several parsers agreed as a source of training material. Recombination shares the idea of letting one procedure supply examples for another learner. Here, the source of the extra supervision is a rule about how labeled fragments can fit together. The same grammar rule can produce a family of related exercises from a small stock of fragments.

The method, step by step

Build the question and its query together

Start with a question asking for states that border Texas and its annotated logical form. The pair contains a correspondence that the grammar can use. The name on the question side matches an entity on the formal side, and the formal predicate used to identify it tells the grammar that it is a state. The authors’ procedure can turn those matching positions into a shared slot. A derivation then fills the slot by selecting an entity rule, which puts the appropriate string in the question and the corresponding token in the query. An entity taken from a different training pair can fill the slot even if neither original question used that particular combination.

The same idea can apply to something bigger than a name. A phrase can describe a set of states, and its paired logical form can specify how to compute that set. If the grammar can assign the pair a suitable type, it can use the entire pair where another expression expects a result of that type. The inserted words and inserted query fragment travel together. With concatenation, the units traveling together are complete examples. The new input contains the questions in sequence, and the new output contains their formal expressions in corresponding order. Each strategy specifies a different unit of reuse.

From paired examples to predicted logical forms

The steps in order.

From paired examples to predicted logical formsStep 1: Tokenize questions and their annotated logical forms1. Tokenize questions and their annotated logical formsStep 2: Encode each training pair as a grammar rule2. Encode each training pair as a grammar ruleStep 3: Apply the selected grammar transformations3. Apply the selected grammar transformationsStep 4: Sample paired sequences from the resulting grammar4. Sample paired sequences from the resulting grammarStep 5: Shuffle sampled pairs with the original examples5. Shuffle sampled pairs with the original examplesStep 6: Train the attention-based encoder and decoder6. Train the attention-based encoder and decoderStep 7: Decode logical forms for test questions7. Decode logical forms for test questions

The grammar operates over sequences on both sides. The input is an utterance represented as words. The output is a logical form split into tokens using the conventions of its formal language. This lets the training procedure specify the entire target as a sequence, including the symbols that code its structure. At prediction time each output token depends on the input and on the prefix that the decoder has already written.

x = (x₁, …, xₘ), xᵢ ∈ Vᵢₙ

Here x denotes the input sequence, and xᵢ is the word at position i. The sequence has m input positions. The subscript ₁ marks the first position, and the ellipsis stands for the intervening positions. Vᵢₙ is the input vocabulary, with ∈ indicating that a word belongs to it.

y = (y₁, …, yₙ), yⱼ ∈ Vₒᵤₜ

Here y is the logical form as a token sequence, yⱼ is the token at output position j, and n is the number of output positions. The ellipsis again covers the intervening positions. Vₒᵤₜ is the output vocabulary used for the decoder’s vocabulary-writing action. The copying extension also gives the decoder access to tokens from positions in the current input.

Turn the original pairs into a sampling grammar

A context-free grammar describes how a category can be expanded. A synchronous context-free grammar, or SCFG, makes an expansion on both sides of a pair. A category that still needs to be expanded is called a nonterminal. Words and formal tokens that appear directly in the finished sequences are terminals. If a rule puts an unresolved category on the question side, it puts a corresponding occurrence of that category on the query side. The two occurrences are linked. Expanding the link means making one rule choice and using its respective strings on the two sides.

X → ⟨α, β⟩

X is the category being expanded, the arrow introduces the production, and the angle brackets enclose the paired sequences. The string α belongs to the language side and β to the logical-form side. Either string can have terminals and nonterminals. The alignment links matching nonterminal occurrences across the two strings, so each later expansion supplies the language fragment and the formal fragment together.

The initial grammar gives every complete training example its own production from a common starting category.

Root → ⟨x, y⟩    for (x, y) ∈ 𝒟

Root is the initial category. The production yields the input x and its annotated logical form y as a pair. The symbol 𝒟 denotes the original training collection, and ∈ here indicates that the pair is a member of that collection. At this stage, choosing a rule simply retrieves an original example. Grammar induction takes this starting collection of rules and transforms it so that a derivation can join compatible pieces from different examples.

Once the grammar has been induced, the sampler starts from Root and expands categories until it has a complete pair. At each expansion, the authors choose uniformly among the applicable productions. This is a rule-level choice. The probability of a finished pair comes from the choices that yield it, since a derivation may involve more than one expansion. In favorable cases, an utterance and its logical form are both new combinations of material already present in the training data.

The original pairs define an empirical distribution, written p̂. Its support is the set of pairs that appear in the training data. The induced generator defines a distribution p̃ over the pairs its rules can produce. The authors want this distribution to extend beyond the original set while putting weight on pairs that agree in meaning. The parser has a separate job. Given an input, it assigns a conditional probability to possible logical forms. The paper describes the objective for the general recombination framework as follows.

maximize over θ   E₍ₓ,ᵧ₎∼p̃ [log pθ(y ∣ x)]

The symbol θ denotes the parser’s trainable parameters. E is expectation, an average weighted by the sampling distribution. The notation (x, y) ∼ p̃ means that a pair comprising input x and logical form y is drawn from the generator. The expression pθ(y ∣ x) is the probability that the parser with parameters θ assigns to y given x, and log takes its logarithm. The brackets delimit the quantity being averaged. In the benchmark experiments, the authors train with a shuffled mixture of the sampled pairs and the original examples.

This arrangement gives the grammar a narrow job. It can restrict itself to transformations for which the authors have a convincing correspondence. The learned parser is then responsible for making predictions across the wider set of test inputs. The paper contrasts this division of labor with Wasp, whose synchronous grammar is itself used to analyze input at test time. A grammar serving that role needs enough coverage to derive interpretations for new utterances and a way to score outputs conditional on the given input. Forward sampling only needs rules for completing the derivation that the sampler has chosen to start. The comparison is with Learning Synchronous Grammars for Semantic Parsing with Lambda Calculus.

Choose which pieces can be reused

The first transformation, AbsEntities, finds mentions that correspond to entities. The authors use predicates in the logical form to infer an entity’s type. For instance, stateid can indicate that the accompanying name identifies a state. The notation for that relationship is e.t, where e is an entity and t stands for its type. In the basic procedure, the authors look for an input token whose string matches the entity on the formal side. Finding that match gives them a location on each side of the production where the same typed slot can be introduced.

The transformed grammar gets a rule with the linked slots and a rule giving the entity as an expansion of that category. For the Texas example, one rule retains the language of the border question and the formal operation for finding neighbors. The other rule supplies the name of the state in the question and the associated token in the query. A new example is possible when the resulting slot can also be filled by a state expansion learned from a different pair. The rule makes a specific commitment about what is transferable. It treats the identity of the selected state as separable from the operation being applied to that state. The type protects the operation from substitutions drawn from incompatible categories.

The next transformation, AbsWholePhrases, looks for a second opportunity in a rule. It can abstract matching entity material in a paired expression, as AbsEntities does. It can also infer the type of the result of the entire logical form on the right side of a rule. If that form computes a set of states, for instance, the paired language fragment and formal expression can become an expansion of a category for that kind of set. The authors distinguish this category from the one used for a state identifier. Supplying the name of an individual entity and supplying an expression that computes a set have different roles in the grammar.

To create a usable phrase from a question, the authors apply simple wording rules that can remove question identifiers. A complete interrogative can sound awkward when placed inside another expression, even if the formal types agree. The language-side cleanup serves the practical purpose of making the sampled pair read more naturally. The formal side contributes the operation and arguments that compute the result of the inserted phrase. Because that expression can have internal structure, a derivation can make a longer and more deeply nested logical form than the one it started from. The intended independence is local to the use of a compatible expression. An embedded phrase can keep its interpretation while the surrounding expression uses its result.

The final transformation, concatenation, changes the role of the starting category. A new Root production requests a sequence of sentence categories, aligned on both sides. Each production that previously expanded Root is made available under the category Sent. The grammar expands those sentence positions separately. The sampled question string contains the component inputs in order, and the output string puts their logical forms in the same order.

k ≥ 2

Here k is the number of sentence categories requested by the new Root rule, ≥ means “at least,” and 2 is the minimum number joined by the transformation. Each Sent expansion supplies both an input fragment and its paired output. Concatenation can therefore be defined using aligned examples alone, independently of an inventory of entity types or formal predicates.

The longer pair poses a different problem for attention. When the decoder writes a token belonging to one component of the output, the input includes another complete question that can contain plausible distractions. The decoder needs to track where it is in the output and use the corresponding portion of the input. The authors connect the value of that harder exercise to work in which training under a more demanding condition improves generalization. Concatenation preserves the internal form of its component pairs, while phrase substitution can create additional nesting within a single logical form. The two transformations can therefore make examples longer in different ways.

Each strategy takes grammar rules as input and returns grammar rules. That shared interface lets the authors combine transformations before drawing any examples. For example, concatenation can operate on a grammar whose sentence rules already contain abstractions. A sentence slot in a concatenated pair can then expand to one of the recombined sentences licensed by the earlier transformations.

(f₁ ∘ f₂)(Gᵢₙ) = f₁(f₂(Gᵢₙ))

Here Gᵢₙ is an input grammar, f₁ and f₂ are grammar transformations, and ∘ denotes function composition. The expression on the right applies f₂ to the input grammar first and then applies f₁ to the resulting grammar. The transformed rule set is the output of the composition. Since these operations act directly on rules, the authors can compose them without sampling a corpus from the intermediate grammar.

Read the input and assign attention

The encoder gives the decoder a representation for every position in the question. It begins with a word embedding, a fixed-dimensional vector associated with the input word. A forward recurrent network reads the embeddings in their original order, and a backward recurrent network reads them in reverse. The authors use long short-term memory, abbreviated LSTM, for the recurrent updates. An LSTM carries an internal representation from one step to the next and updates it using the new input.

hᶠᵢ = LSTM(φᵢₙ(xᵢ), hᶠᵢ₋₁)

Here hᶠᵢ is the forward hidden state at input position i, and hᶠᵢ₋₁ is its predecessor. The superscript F, rendered as ᶠ, denotes the forward direction. The recurrence starts from hᶠ₀, the initial state before the first word. The function φᵢₙ maps the word xᵢ to its input embedding. LSTM is the recurrent update that uses the embedding and the preceding state to produce the next state.

The backward recurrence reads from the other end and gives every position a corresponding backward state. The encoder joins the two representations for each word.

bᵢ = [hᶠᵢ, hᴮᵢ]

Here bᵢ is the context-sensitive vector for input position i. The states hᶠᵢ and hᴮᵢ summarize the forward and backward traversals at that position, with B marking the backward direction. Square brackets with a comma indicate vector concatenation. The representation of a word can therefore reflect words on either side, even when the same word appears in several positions.

The decoder starts from a combination of the final state of each traversal. As it writes the logical form, its state changes to reflect the output prefix that it has already produced.

s₁ = tanh(W⁽ˢ⁾ [hᶠₘ, hᴮ₁])

The vector s₁ is the decoder state before its first output decision. The state hᶠₘ comes from the forward pass at the last input position, and hᴮ₁ comes from the backward pass at the first input position. The brackets join these two vectors. W⁽ˢ⁾ is the learned matrix for initializing the decoder, and tanh is the hyperbolic tangent applied to the transformed vector.

For the current output step, the decoder compares its state to each position’s encoder vector. This produces a raw attention score for the position.

eⱼᵢ = sⱼᵀ W⁽ᵃ⁾ bᵢ

Here eⱼᵢ is the score assigned to input position i at output step j. The current decoder state is sⱼ, and ᵀ denotes the transpose used in taking the vector product. W⁽ᵃ⁾ is the learned attention matrix, and bᵢ is the encoder representation of that position. The superscripts on the matrices label their roles. The score is a scalar and can be used to compare positions within the same input.

αⱼᵢ = exp(eⱼᵢ) / Σᵢ′₌₁ᵐ exp(eⱼᵢ′)

The weight αⱼᵢ is the normalized attention at input position i for output step j. The exponential function exp gives each raw score a positive weight. The summation Σ in the denominator runs over all m input positions, indexed by i′, and divides each position’s weight by the total. This normalization, called a softmax, makes the weights a probability distribution over the input positions.

cⱼ = Σᵢ₌₁ᵐ αⱼᵢ bᵢ

Here cⱼ is the context vector used for output step j. The sum takes the vector bᵢ at each input position i, multiplies it by its attention weight αⱼᵢ and adds the results. The attention scores let successive output steps take different weighted views of the same question. The decoder design draws on earlier work on learning to align and translate and attention-based neural machine translation.

Write a token or copy from the question

In the basic decoder, the attention context and the current decoder state together score words in the output vocabulary. For each possible next token, the decoder takes the exponentiated score and normalizes across vocabulary entries.

P(yⱼ = w ∣ x, y₁:ⱼ₋₁) ∝ exp(U_w [sⱼ, cⱼ])

Here P denotes the next-token probability. The proposed token is w, and yⱼ denotes the actual token at step j. The conditioning bar ∣ separates the event from the input x and output prefix y₁:ⱼ₋₁. The colon in the subscript denotes the range from the first output position through the position before j. The symbol ∝ means proportional to. The exponential of the score on the right is normalized across choices of w. The row U_w of the learned weight matrix U scores token w against the concatenation of the decoder state sⱼ and context cⱼ.

The copying extension enlarges the set of choices made at each output step. The decoder can still write a vocabulary token with its usual score. It can also choose an input position and use the token available there. For entity names, the input often contains much of the information the parser needs for the latter action. The paper’s GeoQuery example uses iowa in both the question and the logical form. A mechanism that directly links those positions gives the decoder a route to a name for which there may be little evidence in the training corpus.

P(aⱼ = Write[w] ∣ x, y₁:ⱼ₋₁) ∝ exp(U_w [sⱼ, cⱼ])

Here aⱼ is the decoder action at step j. Write[w] is the action that emits vocabulary token w. The input x and already generated prefix y₁:ⱼ₋₁ govern the score, along with the state sⱼ and context cⱼ that the decoder computes from them. U_w is the row for w, and exp converts the score to a positive weight. The proportionality sign indicates that the weight is normalized together with the weights for copying.

P(aⱼ = Copy[i] ∣ x, y₁:ⱼ₋₁) ∝ exp(eⱼᵢ)

Copy[i] is the action that takes the token associated with input position i. Its weight is the exponential of eⱼᵢ, the raw attention score at that position for output step j. As in the writing equation, P is conditional on x and the preceding output, and ∝ indicates a weight before joint normalization. The decoder uses a single softmax over all vocabulary-writing actions and all copy positions. The softmax over input positions used to form the context vector serves a separate calculation. The copy weights use the raw scores that feed that calculation.

An action and the input together determine which token appears. The annotation supplies that token but ordinarily leaves the choice of action open. A name might be writable from the vocabulary and copyable from the question. It might also occur more than once in the question. When fitting the decoder, the authors sum the probabilities of actions that would produce the annotated token. This is marginalization over the action. It lets the training procedure reward the correct output without asking for a separate annotation that tells the decoder when to copy or which matching occurrence to use. The authors relate the design to Pointer Networks and describe closely related copying work developed in parallel in Incorporating Copying Mechanism in Sequence-to-Sequence Learning and Pointing the Unknown Words.

Once the token has been emitted, the decoder updates its recurrence using that token and the attention context.

sⱼ₊₁ = LSTM([φₒᵤₜ(yⱼ), cⱼ], sⱼ)

Here sⱼ₊₁ is the decoder’s state for the next step, and sⱼ is its current state. The function φₒᵤₜ supplies the output embedding for the emitted token yⱼ. The brackets concatenate that embedding and the current context vector cⱼ for the LSTM update. The recurrence consumes the token itself, so the same emitted token can continue the sequence regardless of which action produced it.

Train on fresh pairs and decode at test time

The experiments use 200 hidden units and 100-dimensional word vectors. The authors draw initial parameter values uniformly from the interval between −0.1 and 0.1. They use stochastic gradient descent to increase the log-likelihood of the annotated logical forms. A word that appears only once in the training set gets a shared <unk> embedding. The network can use context to represent such a position, while the copy action can still make the associated token available to the output. The implementation uses Theano.

Training runs for 30 epochs, starting with a learning rate of 0.1. The rate is halved every 5 epochs, beginning after epoch 15. During a recombination run, the authors draw fresh pairs from the induced grammar for each epoch, add them to the original training examples and shuffle the resulting collection before training on it. They report that matching the number of sampled pairs to the size of the original training set works as a rule of thumb. Under that arrangement, half of the examples processed in an epoch are recombinant. The original pairs keep exposing the decoder to the questions and forms that actually occur in the labeled collection.

The authors tokenize the formal side according to the syntax of each domain. On GeoQuery and ATIS they prefix predicate tokens with underscores to prevent the decoder from copying predicate names just because an ordinary input word has similar spelling. Copying is intended to help carry specific names into a logical form. The system must still learn which operations those names participate in.

ATIS uses an external lexicon for identifying entities. It can pair the input phrase kennedy airport with the formal token jfk:ap. When a copied word lies in a phrase covered by that lexicon, the decoder emits the associated entity. During recombination, matching a listed phrase and its entity establishes the alignment used to introduce an entity slot. This resource concerns links between language and entity identifiers. A lexicon that supplies the meaning of a word as a formal predicate would provide a different kind of supervision.

At test time, beam search keeps up to 5 candidate sequences as decoding proceeds. The authors append closing parentheses when they are missing. For GeoQuery and Overnight, the system selects the highest-scoring candidate that the executor can run without an error. An executable candidate can still give the wrong answer. For ATIS, the system selects the top candidate on the beam. The grammar that supplied training examples plays no part in this search.

Experiments and results

What the datasets ask the parser to predict

GeoQuery contains questions about United States geography paired with database queries in Prolog. Using the standard split, the authors train on 600 examples and test on 280. They standardize variable naming by converting the logical forms to an index-based notation. For evaluation, they execute the predicted form and check whether its denotation agrees with the reference. This gives credit to a prediction that yields the correct answer even if its token sequence differs from the annotated one. The dataset belongs to the line of work represented by Learning to Parse Database Queries Using Inductive Logic Programming.

ATIS pairs questions about flight information with queries written in lambda calculus. The authors train on 4473 examples and evaluate on 448 test examples, using the split from the prior work they identify. The metric is exact match of the logical form. A test answer counts as correct under this metric when the predicted form matches the reference form. The experiments use the external entity lexicon for copying and recombination. The earlier split comes from Online Learning of Relaxed CCG Grammars for Parsing to Logical Form.

Overnight spans eight subdomains. Its creators began with formal expressions generated up to a depth limit and asked Amazon Mechanical Turk workers for natural-language paraphrases of those expressions. The resulting pairs begin from a known interpretation and give it alternative surface forms. The authors follow the original Overnight train and test splits and evaluate by matching denotations. Their overall Overnight comparisons average test accuracy across the subdomains.

The benchmark design matters for reading the results. ATIS rewards agreement with a particular formal representation. GeoQuery and Overnight reward agreement in the answer returned by an executor, and their decoding procedure can pass over a candidate that fails to execute. Each dataset’s baseline and recombination variants are evaluated using the same rules for that dataset. The scores across datasets describe success under different criteria.

What changed when the parser trained on recombinant pairs

The main baseline is the attention-based recurrent parser with copying, trained on the original examples. The comparison adds examples produced by a selected grammar while retaining the original training collection. The authors also compare their test performance with earlier systems, and separately run experiments that remove copying. The baseline within each dataset is especially informative because it keeps the parser architecture, prediction procedure and accuracy criterion fixed while changing the training examples.

On GeoQuery, the strongest setting combines AbsEntities, AbsWholePhrases and concatenation of 2 examples. It reaches 89.3% test accuracy by denotation match. The authors report an improvement of 4.3 percentage points over their copying parser trained without recombination. They identify this as the best result among systems with comparable supervision, excluding an earlier system that was given a seed lexicon mapping words to predicates. That qualification concerns what information the systems were supplied, and specifically the availability of a direct starting correspondence between words and formal operations.

On ATIS, the authors omit AbsWholePhrases because the dataset has little nesting structure. They try concatenations longer than 2 examples as a way to provide longer training sequences in the absence of phrase expansion. AbsEntities combined with concatenation of 3 yields 83.3 in test exact-match accuracy. The paper reports a gain of 7 percentage points over the copying baseline without recombination. The authors describe the result as competitive with the best earlier systems on ATIS.

On Overnight, the reported combination of AbsWholePhrases, AbsEntities and concatenation of 2 improves average test denotation accuracy by 1.7 percentage points over the copying parser without recombination. The authors also report that both versions of their parser trained on the original pairs, with and without copying, surpass the earlier Overnight system. Thus the comparison to earlier work reflects a strong underlying parser as well as the effect of adding grammar-generated data. The gain over its own copying baseline measures the incremental contribution of recombination in that setting.

The best GeoQuery settings with and without copying

The best GeoQuery recombination run without attention-based copying reaches 82.9% test denotation accuracy. With copying available, the strongest recombination run reaches 89.3%. The chart compares the best reported recombination setting in each decoder class. The experiment that directly switches copying on and off while holding recombination absent is discussed separately below.

Best recombination settings with and without copying on GeoQuery test denotation accuracy

The strongest GeoQuery setting with copying scores higher than the strongest setting without it.

Best recombination settings with and without copying on GeoQuery test denotation accuracyBest recombination without copying: 82.9Best recombination without copying82.9Best recombination with copying (this paper): 89.3Best recombination with copying (thispaper)89.3
The numbers
System or settingaccuracy %
Best recombination without copying82.9
Best recombination with copying (this paper)89.3

Every dataset’s best reported accuracy involves some form of concatenation. The strongest combinations can draw on two distinct sources of training signal. The abstraction rules vary what goes inside an expression or which entity fills an argument. Concatenation asks the decoder to process a longer input and produce a longer output in the right order. The main results establish that particular combinations of these changes improve benchmark accuracy. The authors use separate comparisons to examine what the combined results can say about copying, length and the provenance of the extra examples.

What the ablations show

Copying has different effects across datasets

The authors first compare the parser with copying against the same basic architecture without it, training both on the original pairs. This setup removes the influence of synthetic examples from the copying comparison. On GeoQuery, copying raises test denotation accuracy by 10.4 percentage points. On ATIS, it raises test logical-form exact-match accuracy by 6.4 percentage points. ATIS uses its external entity lexicon for the copying condition, so the result there measures the configured procedure that can use a lexicon entry to emit the correct identifier.

On Overnight, the copying parser scores slightly lower in average test denotation accuracy. The paper notes that Overnight has few distinct entities and treats this as a plausible reason for the weaker result. In a setting with a small entity inventory, the decoder can learn many of the needed tokens through its ordinary output vocabulary. The gains on GeoQuery and ATIS establish that a copy action can matter substantially in the tested settings, while the Overnight result shows that its advantage depends on properties of the task. The authors keep copying in the main recombination experiments because they expect its benefit to matter for queries involving many distinct entities.

Copying is also relevant to the way entity substitutions are learned. An entity abstraction changes which name appears in otherwise similar contexts. An attention-based copy action gives the decoder one reusable way to deal with those variations. It can learn a decision about which position supplies the argument while allowing the token at that position to vary. The benchmark comparison supports the usefulness of providing the action. It does not directly observe which decisions the decoder learned for particular names.

Recombination can help when the decoder cannot copy

The authors rerun recombination with the basic vocabulary decoder. This addresses a separate question from the copying ablation. A richer collection of labeled pairs might only be valuable when the decoder can transfer a rare entity straight into its output, or it might improve the parser’s learning through other aspects of the pairs. The runs with copying removed test whether any benefit survives under the vocabulary decoder.

On GeoQuery, the best recombination run without copying reaches 82.9% test denotation accuracy, up 8.3 percentage points from training without either change. On ATIS, the corresponding best test exact-match accuracy is 74.6%, up 4.7 percentage points from the baseline with neither copying nor recombination. These runs establish that recombination has value on those datasets even when the special copy action is unavailable. A grammar can vary whole training situations, leaving the decoder with additional evidence about which parts of an utterance are associated with which formal patterns.

Overnight behaves differently. With copying removed, every recombination strategy falls short of the corresponding baseline on average test denotation accuracy. The best of those variants decreases accuracy by 0.3 percentage points. In the main Overnight setting with copying, the reported combined strategy improves the average. The direction of the recombination result therefore depends on the decoder configuration in this dataset. Comparisons of each family’s best setting establish what was achievable under that configuration. They do not give a fixed interaction estimate for every grammar transformation.

The authors suggest another reason that the Overnight gains may be modest. They describe the range of possible logical forms as limited enough that the task can resemble classification among many known targets. If a benchmark often asks the parser to recognize another wording of an established logical form, success can depend more on identifying which form is intended than on assembling a form it has never seen. A grammar devoted to teaching reuse of subexpressions would then have fewer opportunities to improve the score. The paper presents this as a hypothesis about the dataset, alongside the observation about the small set of entities.

Longer examples help on a short test

The benchmark comparisons raise a surprising possibility. The strongest training sets contain samples longer than the actual questions that the parser is expected to handle. AbsEntities by itself produces examples of the original lengths and is generally less effective. AbsWholePhrases can increase internal complexity. Concatenation makes longer sequences by placing complete examples together. Length in the benchmark runs therefore comes with other changes. The authors turn to artificial data to compare short and deep examples more directly.

They construct a world with entities and binary relations. A binary relation connects two entities, and a chain of relations specifies a query by applying one relation after another, starting from a single entity. The paper uses the depth of the chain to distinguish examples with different amounts of composition. The seed training set has 100 depth-2 examples. The test set has 500 randomly chosen depth-2 examples. Every training condition starts with the same kind of short seed material and is evaluated on short examples.

The added data can come from direct sampling in the constructed world or from a grammar induced from the seed pairs. The design crosses that choice with the depth of the additions.

  • Short, directly sampled additions are randomly chosen depth-2 examples from the artificial world.
  • Long, directly sampled additions are randomly chosen depth-4 examples from that world.
  • Short recombinant additions are depth-2 examples from an AbsEntities grammar induced from the seed.
  • Long recombinant additions are depth-4 examples from a grammar obtained by applying AbsWholePhrases and then AbsEntities to the seed.

The paper calls the directly sampled examples independent and notes that sampling them without replacement makes that term approximate. Their important distinction from the recombinants is that they come directly from the artificial world and need not be assembled from the fragments in the seed. For this experiment, the authors also keep the recombinant additions fixed across epochs. Each condition therefore trains with a fixed collection of extra examples. The benchmark procedure, which draws fresh recombinants at each epoch, asks a different question about how to use the generator during ordinary training.

The artificial-data experiment compares test accuracy as the amount of extra training material varies. The authors report that directly sampled examples help more than recombinant ones and that both kinds of additional data improve performance. Within each source of extra data, the deeper examples help more than examples at the test depth. The comparison among the directly sampled conditions matters because it reproduces the advantage for deeper data without relying on a change from the entity grammar to the phrase grammar. It gives independent support within the artificial setup for the idea that the extra complexity of the exercise can be useful.

The depth comparison still changes multiple properties connected to the task. A deeper example has more relation applications and a longer structure for the decoder to follow. It gives the network more opportunities to practice transferring between the input wording and composed output. The results show that this bundle of changes helped in the constructed world. They do not identify which internal operation improved or establish that a longer sequence made in any manner would work as well. Concatenation in the benchmark and deeper chains in the artificial world are different ways of making training more demanding.

The result is also about performance after the longer practice. The measured test task remains at depth-2. The authors can therefore say that practicing with depth-4 additions improved results on a shallower task. An experiment that trained on short examples and tested on longer expressions would answer a different question about the ability to extrapolate. The longer-data result helps explain the authors’ interest in samples outside the usual range of test questions without establishing that extrapolation claim.

Limitations

Limits the authors identify

The training method assumes access to logical forms. Both the original sequence prediction objective and the construction of the grammar depend on them. A denotation shows what answer to return, while type inference and aligned substitutions require information about the expression that produced it. The authors say that their parser cannot learn directly from denotations alone. They suggest a possible use as a reranker for derivations produced by a system that can learn from denotations. Such a system would supply candidates, and the parser would score them. The experiments concern the fully annotated setting.

Phrase recombination assumes that a fragment can be moved while retaining the interpretation needed by its new surrounding expression. The authors identify anaphora as a case that can violate this assumption. A pronoun, for instance, may get its reference from an earlier part of the utterance. Reusing the fragment elsewhere may alter what the pronoun refers to even if its category looks compatible. The paper argues that the assumption is usually reasonable in the semantic parsing datasets it considers. Its success there leaves the suitability of such rules for sentences with heavier contextual dependence open. The cited phenomenon belongs to coreference resolution.

The authors also limit phrase abstraction to datasets where they judge it applicable. ATIS offers little nesting structure for this strategy to exploit, so they choose entity abstraction and concatenation there. The decision shows how much the practical grammar depends on the nature of the annotated examples. The general framework describes how to give a parser extra supervision through samples. The specific grammar still needs rules for finding useful fragments and deciding which combinations are sound.

Finally, the authors frame broader applicability as a prospect. Their experiments use database-query benchmarks and an artificial relation world. Those settings let them propose a general way to combine hard rules in data generation with a flexible sequence predictor. A successful transfer to another task would depend on having correspondences or transformations that can produce trustworthy input–output pairs there.

Limits visible in the setup

Benchmark accuracy has limited power to show what kind of generalization occurred. The main experiments use established train and test splits. The resulting scores measure prediction on those splits and include whatever mixture of familiar and novel combinations the splits happen to contain. A test built around systematically withheld arrangements of familiar pieces would isolate one kind of compositional generalization more directly. The described benchmark setup gives no separate measurement for that case. The artificial experiment controls depth in the added training data and answers a more specific question about the value of harder practice.

Denotation matching also leaves open which formal operation the parser mastered. A query can return the right value on the database while differing from the intended query. In a fixed database, distinct conditions can sometimes pick out the same result. Exact match has its own limitation, since two expressions can agree in meaning while using different sequences of formal tokens. These effects matter most when the claim concerns the learned interpretation itself. The paper’s primary claims concern performance under the respective benchmark criteria.

The authors aim for a high-precision grammar, using rules that make conservative assumptions about which fragments fit together. The accuracy experiments measure the performance of the parser trained on those samples. They do not directly measure the quality of the generator by checking how often a sampled utterance is natural or whether its paired expression captures the intended reading. The language-side stripping rules and the decision to join complete questions show that the sampled material serves a training purpose. Whether a sample would make sense as a real user query is a separate property.

The data procedure also combines several changes. Adding samples increases the training material processed per epoch. Those samples can change which relations and entities the decoder sees together, how long the examples are and how frequently it encounters different examples across epochs. The artificial-data comparison controls the depth and source of additional material more tightly and fixes the samples across epochs. Its constructed world differs from the benchmark domains. Together, the results support the value of the tested recombination procedures, while leaving room for multiple explanations of the gains on the real datasets.

Supervision has to be tracked at the level of specific resources. The GeoQuery comparison excludes an earlier system with a seed lexicon for predicates. ATIS uses a phrase-to-entity lexicon for both alignment and output copying. The grammar also relies on rules for inferring types from formal expressions and, in the case of phrase abstraction, handling the wording of questions. The paper demonstrates how to express useful knowledge in the data generator. Some of that knowledge is supplied through deliberate choices about the domain, its formal language and the resources available.

The output architecture itself is permissive. The decoder emits a token sequence, and test-time decoding can add missing closing parentheses or select an executable candidate when the dataset calls for it. Those steps can repair or avoid some ill-formed predictions. A grammar-derived training set gives the decoder exposure to structured outputs, while the decoding process leaves it free to generate sequences outside the grammar. The reported accuracy therefore belongs to the complete prediction procedure described for each dataset. It does not establish a formal guarantee of output validity.

What came after

How later work framed augmentation

Later papers cite this work in connection with several different choices about where to put knowledge of structure. Some keep augmentation at the center. Others focus on what a parser represents or on what a benchmark asks it to generalize to. The citation relationship establishes a connection to the paper. The topics of the citing works support comparisons of the questions they address, while the use of any particular grammar rule needs evidence beyond that relationship.

Good-Enough Compositional Data Augmentation takes up the same broad subject most directly. Its focus is augmentation designed around composition. In the earlier paper, that means creating new training pairs by treating certain fragments as interchangeable in a compatible context. The phrase “good enough” raises a question already visible in the recombination experiments. A generated pair can be useful for teaching a pattern even when its wording or length is unusual for the test task. The earlier paper supplies a concrete example in its concatenated pairs, whose value is judged through the parser’s subsequent accuracy.

Improving Compositional Generalization with Latent Structure and Data Augmentation makes the relationship between structure and generated data explicit in a different way. A latent structure is one that a method treats as implicit and has to infer or account for. The earlier paper starts with available logical forms and defines type and alignment decisions using identifiable features of those forms. The later work’s focus links augmentation to the question of where the relevant structure comes from. Recombination illustrates why that question matters. The structure a generator uses determines which pieces it can recognize as compatible and therefore which kinds of novelty it can put into a training pair.

A Survey of Data Augmentation Approaches for NLP situates augmentation within natural language processing as a broader subject. The paired transformations in semantic parsing illustrate a distinction such a survey can make across tasks. In some settings, a change in wording can preserve the training label. In others, the output needs to change in coordination with the wording. The earlier paper shows how output structure can make this second kind of augmentation precise. A generated question comes with a changed query whose interpretation can be traced to the same grammar decisions.

An Empirical Survey of Data Augmentation for Limited Data Learning in NLP connects augmentation to the problem of learning with little data. The artificial experiment in the earlier paper provides a focused instance of that problem. It starts from a small seed set and compares the value of composing examples from that seed with the value of obtaining extra examples directly. Those sources of training material convey different information. Recombination can expose more combinations of existing labeled parts, while direct sampling can introduce material without being limited to fragments already in the seed. The authors’ decision to compare both sources gives the earlier result a place in the broader empirical question of what additional data are worth.

How later work framed the parser and the test

Span-based Semantic Parsing for Compositional Generalization puts spans at the center of a semantic parsing approach concerned with composition. A span is a stretch of the input. The earlier phrase-abstraction rule also treats some stretches of language as reusable, together with the formal expressions paired with them. The spans in the earlier method guide the construction of training examples, after which the decoder produces a linear sequence of tokens. The later work’s stated focus connects spans directly with the design of the parser. It illustrates another place to act on the idea that recoverable pieces of an utterance can support generalization.

Spider addresses the benchmark side through a human-labeled dataset for complex, cross-domain semantic parsing and text-to-SQL. A cross-domain task brings variation in the domain of the query into the evaluation itself. The earlier paper compares recombination with ordinary training within established dataset splits. It shows that rules for varying entities and expressions can improve those predictions. A benchmark organized around cross-domain complexity brings an additional question to the foreground. The system has to handle variation in the domain as well as in the arrangement of expressions within a query. The citation links the data-generation approach to work on how to measure a broader form of generalization.

From Language to Programs frames language-to-program learning around reinforcement learning and maximum marginal likelihood. That focus directs attention to the objective by which a system learns which programs to favor. In the recombination paper, the annotated logical form supplies the target, and marginalization in the copying mechanism concerns the actions that can emit a given token. The authors also suggest ranking candidate derivations as a possible use of their parser in settings where a separate system proposes programs. The later work’s stated focus belongs to this wider question of how a system learns about programs when scoring and selecting among possible derivations is itself central.

These connections follow from the paper’s separation between how examples are built, how a parser produces a query and how its success is measured. Later work on augmentation can ask what combinations a generator should create. Work on parser structure can ask how to represent the fragments during prediction. Work on benchmarks can decide which combinations or domains must be new at test time. The contribution of data recombination is an empirical result at the first of those points. A grammar used to construct paired training examples improved a flexible parser on the reported tasks, and carefully chosen examples could help even when they were more demanding than the questions used to measure that improvement.

Cite

Cite as Robin Jia and Percy Liang. 2016. Data Recombination for Neural Semantic Parsing. Proceedings of the 54th 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/p16-1002 · arXiv 1606.03622

@inproceedings{jia2016data,
  title = {{Data Recombination for Neural Semantic Parsing}},
  author = {Robin Jia and Percy Liang},
  booktitle = {Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2016},
  doi = {10.18653/v1/p16-1002},
  eprint = {1606.03622},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/p16-1002}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/jia-2016-data-recombination-neural-semantic-parsing/

References

39 references, from the paper's own bibliography.

  1. Y. Artzi and L. Zettlemoyer. 2013a. UW SPF: The University of Washington semantic parsing framework. arXiv preprint arXiv:1311.3011. OpenAlex ↗ · Scholar ↗
  2. Y. Artzi and L. Zettlemoyer. 2013b. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics (TACL), 1:49–62. our card
  3. D. Bahdanau, K. Cho, and Y. Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473. our card
  4. J. Berant, A. Chou, R. Frostig, and P. Liang. 2013. Semantic parsing on Freebase from question-answer pairs. In Empirical Methods in Natural Language Processing (EMNLP). our card
  5. J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pascanu, G. Desjardins, J. Turian, D. Warde-Farley, and Y. Bengio. 2010. Theano: a CPU and GPU math expression compiler. In Python for Scientific Computing Conference. OpenAlex ↗ · Scholar ↗
  6. J. Clarke, D. Goldwasser, M. Chang, and D. Roth. 2010. Driving semantic parsing from the world's response. In Computational Natural Language Learning (CoNLL), pages 18–27. OpenAlex ↗ · Scholar ↗
  7. L. Dong and M. Lapata. 2016. Language to logical form with neural attention. In Association for Computational Linguistics (ACL). our card
  8. C. Dyer, M. Ballesteros, W. Ling, A. Matthews, and N. A. Smith. 2015. Transition-based dependency parsing with stack long short-term memory. In Association for Computational Linguistics (ACL). our card
  9. E. Grefenstette, P. Blunsom, N. de Freitas, and K. M. Hermann. 2014. A deep architecture for semantic parsing. In ACL Workshop on Semantic Parsing, pages 22–27. OpenAlex ↗ · Scholar ↗
  10. J. Gu, Z. Lu, H. Li, and V. O. Li. 2016. Incorporating copying mechanism in sequence-to-sequence learning. In Association for Computational Linguistics (ACL). our card
  11. C. Gulcehre, S. Ahn, R. Nallapati, B. Zhou, and Y. Bengio. 2016. Pointing the unknown words. In Association for Computational Linguistics (ACL). our card
  12. K. Guu, J. Miller, and P. Liang. 2015. Traversing knowledge graphs in vector space. In Empirical Methods in Natural Language Processing (EMNLP). our card
  13. G. E. Hinton, N. Srivastava, A. Krizhevsky, I. Sutskever, and R. R. Salakhutdinov. 2012. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580. our card
  14. S. Hochreiter and J. Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  15. N. Jaitly and G. E. Hinton. 2013. Vocal tract length perturbation (vtlp) improves speech recognition. In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  16. A. Krizhevsky, I. Sutskever, and G. E. Hinton. 2012. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems (NIPS), pages 1097–1105. our card
  17. N. Kushman and R. Barzilay. 2013. Using semantic unification to generate regular expressions from natural language. In Human Language Technology and North American Association for Computational Linguistics (HLT/NAACL), pages 826–836. OpenAlex ↗ · Scholar ↗
  18. T. Kwiatkowski, L. Zettlemoyer, S. Goldwater, and M. Steedman. 2010. Inducing probabilistic CCG grammars from logical form with higher-order unification. In Empirical Methods in Natural Language Processing (EMNLP), pages 1223–1233. our card
  19. T. Kwiatkowski, L. Zettlemoyer, S. Goldwater, and M. Steedman. 2011. Lexical generalization in CCG grammar induction for semantic parsing. In Empirical Methods in Natural Language Processing (EMNLP), pages 1512–1523. our card
  20. P. Liang, M. I. Jordan, and D. Klein. 2011. Learning dependency-based compositional semantics. In Association for Computational Linguistics (ACL), pages 590–599. OpenAlex ↗ · Scholar ↗
  21. A. Liu, J. Ghosh, and C. Martin. 2007. Generative oversampling for mining imbalanced datasets. In International Conference on Data Mining (DMIN). OpenAlex ↗ · Scholar ↗
  22. M. Luong, H. Pham, and C. D. Manning. 2015a. Effective approaches to attention-based neural machine translation. In Empirical Methods in Natural Language Processing (EMNLP), pages 1412–1421. our card
  23. M. Luong, I. Sutskever, Q. V. Le, O. Vinyals, and W. Zaremba. 2015b. Addressing the rare word problem in neural machine translation. In Association for Computational Linguistics (ACL), pages 11–19. our card
  24. H. Mei, M. Bansal, and M. R. Walter. 2016. Listen, attend, and walk: Neural mapping of navigational instructions to action sequences. In Association for the Advancement of Artificial Intelligence (AAAI). OpenAlex ↗ · Scholar ↗
  25. S. Petrov, P. Chang, M. Ringgaard, and H. Alshawi. 2010. Uptraining for accurate deterministic question parsing. In Empirical Methods in Natural Language Processing (EMNLP). OpenAlex ↗ · Scholar ↗
  26. H. Poon. 2013. Grounded unsupervised semantic parsing. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  27. I. Sutskever, O. Vinyals, and Q. V. Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems (NIPS), pages 3104–3112. our card
  28. O. Vinyals, M. Fortunato, and N. Jaitly. 2015a. Pointer networks. In Advances in Neural Information Processing Systems (NIPS), pages 2674–2682. OpenAlex ↗ · Scholar ↗
  29. O. Vinyals, L. Kaiser, T. Koo, S. Petrov, I. Sutskever, and G. Hinton. 2015b. Grammar as a foreign language. In Advances in Neural Information Processing Systems (NIPS), pages 2755–2763. our card
  30. S. Wager, S. I. Wang, and P. Liang. 2013. Dropout training as adaptive regularization. In Advances in Neural Information Processing Systems (NIPS). our card
  31. W. Y. Wang and D. Yang. 2015. That’s so annoying!!!: A lexical and frame-semantic embedding based data augmentation approach to automatic categorization of annoying behaviors using #petpeeve tweets. In Empirical Methods in Natural Language Processing (EMNLP). our card
  32. Y. Wang, J. Berant, and P. Liang. 2015. Building a semantic parser overnight. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  33. Y. W. Wong and R. J. Mooney. 2006. Learning for semantic parsing with statistical machine translation. In North American Association for Computational Linguistics (NAACL), pages 439–446. our card
  34. Y. W. Wong and R. J. Mooney. 2007. Learning synchronous grammars for semantic parsing with lambda calculus. In Association for Computational Linguistics (ACL), pages 960–967. our card
  35. M. Zelle and R. J. Mooney. 1996. Learning to parse database queries using inductive logic programming. In Association for the Advancement of Artificial Intelligence (AAAI), pages 1050–1055. our card
  36. L. S. Zettlemoyer and M. Collins. 2005. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Uncertainty in Artificial Intelligence (UAI), pages 658–666. our card
  37. L. S. Zettlemoyer and M. Collins. 2007. Online learning of relaxed CCG grammars for parsing to logical form. In Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP/CoNLL), pages 678–687. our card
  38. X. Zhang, J. Zhao, and Y. LeCun. 2015. Character-level convolutional networks for text classification. In Advances in Neural Information Processing Systems (NIPS). our card
  39. K. Zhao and L. Huang. 2015. Type-driven incremental semantic parsing with polymorphism. In North American Association for Computational Linguistics (NAACL). OpenAlex ↗ · Scholar ↗