---
title: "An Imitation Game for Learning Semantic Parsers from User"
description: "NEIL learns to turn questions into SQL by asking users about uncertain decisions and training on their answers alongside confident predictions."
canonical: "https://research.elamur.ai/free/en/papers/yao-2020-imitation-game-learning-semantic-parsers/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/yao-2020-imitation-game-learning-semantic-parsers/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / An Imitation Game for Learning Semantic Parsers from User Interaction

# An Imitation Game for Learning Semantic Parsers from User Interaction

Paper · 2020 · Ziyu Yao, Yiqi Tang, Wen-tau Yih et al.

**Authors:** [Ziyu Yao](https://md.research.elamur.ai/free/en/authors/ziyu-yao/), Yiqi Tang, [Wen-tau Yih](https://md.research.elamur.ai/free/en/authors/wen-tau-yih/), [Huan Sun](https://md.research.elamur.ai/free/en/authors/huan-sun/) and [Yu Su](https://md.research.elamur.ai/free/en/authors/yu-su/) · **Year:** 2020 · **Venue:** Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **14** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/yao-2020-imitation-game-learning-semantic-parsers/cited-by/) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2020.emnlp-main.559/)
- [PDF](https://aclanthology.org/2020.emnlp-main.559.pdf)
- [DOI 10.18653/v1/2020.emnlp-main.559](https://doi.org/10.18653/v1/2020.emnlp-main.559)
- [arXiv 2005.00689](https://arxiv.org/abs/2005.00689)

## Summary

A person asking a database how many rows meet a condition may know exactly which condition they intend and have no idea what the count should be. That distinction matters for [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/), which turns a question in ordinary language into a formal expression such as a SQL query. Getting experts to write those queries takes work before deployment and again when new uses appear. It can also expose private questions to people who would otherwise have no reason to see them. The authors ask whether a parser can learn during use by asking the person who posed the question to clarify a particular choice, such as which column should determine the filter.

Their algorithm, NEIL, uses the existing MISP framework to ask about decisions whose probabilities fall below a threshold. When the interaction supplies a valid correction, the parser uses it to finish the current query and keeps it as a training example. It also keeps its own high-confidence decisions, so an otherwise useful question can contribute more than the handful of choices the user discussed. The parser retrains periodically on the accumulated examples. This arrangement saves annotation at a price. A confident mistake can become a training label and send the remainder of the parse down the wrong path. Under the assumptions of their analysis, the authors bound the effect of such mistakes and identify starting parser quality and the reliability of the confidence rule as important factors.

On the WikiSQL test set, MISP-NEIL reached final exact query match accuracies of 0.776 and 0.761 when initialized with 10% and 5% of the training data, respectively. The paper gives 0.794 as the final Full Expert reference. With the 10% start, MISP-NEIL used less than 10% of the annotations counted for Full Expert by the end of training. Interactive approaches lost substantial accuracy with a 1% start. An idealized variant that could detect and correct its mistakes using the reference query reached the Full Expert performance level with 6% of its counted annotations. Learning from execution feedback alone was vulnerable to SQL that returned the expected answer by coincidence, and training on the parser’s own queries without feedback performed worse than the feedback-based approaches.

The authors also applied the procedure to EditSQL on [Spider](https://md.research.elamur.ai/free/en/papers/yu-2018-spider-large-scale-human-labeled/), using 7,377 cleaned training pairs, a 10% start, and exact match evaluation on Spider Dev. The interactive approach compared favorably in annotation efficiency, while its accuracy fell further behind full supervision than on WikiSQL. Both studies simulated users with reference SQL. The authors also found that parser probabilities could remain overconfident as training continued. The experiments establish what targeted feedback can contribute under simulation, while the effort of a real interaction and the privacy effects of deploying the system remain open. The paper identifies the MISP repository under `sunlab-osu/MISP` as the home for the code.

## Deep dive: An Imitation Game for Learning Semantic Parsers from User Interaction

NEIL learns to turn questions into SQL by asking users about uncertain decisions and training on their answers alongside confident predictions. · about 39 minutes to read

**In this deep dive**

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

### The problem and its context

#### Why the questioner can help

The work starts from an imbalance between what a person knows about a request and what that person knows about its answer. A person asking for a count may be able to say which records belong in the count or which field expresses a condition. The purpose of asking the database is to find out how many records actually qualify. A system that asks the person to approve its final number asks them to verify the part they came to discover. The paper illustrates this problem with a large student table and a question about how many students exceed a GPA cutoff. A plausible count on its own gives the questioner little evidence that the intended filter was applied.

A semantic parser can expose a more answerable part of that computation. A SQL query expresses which information to return, what calculation to perform on it, and which records to consider. A natural-language question can communicate those choices without naming the corresponding SQL clauses. A user may therefore be able to clarify the intended field or comparison when the parser puts it in familiar terms. The answer can make the current query more accurate, and the system can retain it as an example for interpreting later requests. The paper’s technical problem is how to get that second benefit from occasional, local exchanges.

This proposal changes where [annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) enters the life cycle. In the conventional process the authors describe, trained annotators or crowd workers provide formal labels until an initial parser reaches a target level of accuracy. After deployment, the developers study usage, identify failures or emerging needs, and arrange further annotation. The initial work can be substantial because complete formal queries are expensive to label and the parsers need considerable training data. The later work recurs whenever a team wants to use operational examples to improve the system. Relaying a user’s question to an annotator or developer also creates a privacy concern, especially when the question concerns data the user expects to remain private.

An interactive parser offers a different starting point. If it can recognize and resolve some of its own uncertainties, the authors argue that it could start serving requests before it reaches the accuracy a fully automatic interface would require. A clarification can also give the user some visibility into how the question is being interpreted. The paper presents domain adaptation and personalization as possibilities opened by this arrangement. Its technical contribution concerns the update procedure that would make learning during use possible.

#### From correcting a query to training a parser

Earlier interactive parsing work in the paper takes several approaches to exposing and correcting an interpretation. DialSQL identifies portions of generated SQL that may contain errors and uses dialogue to revise them. MISP represents parsing as a sequence of decisions, uses their probabilities to identify uncertainty, and turns some of those decisions into questions that people can answer by selecting among alternatives. Work on free-form natural-language feedback collects corrections that people express in their own words. The paper also describes a contextual parsing dataset in which an agent initiates an exchange when a command is ambiguous or missing information. [Model-based Interactive Semantic Parsing](https://md.research.elamur.ai/free/en/papers/yao-2019-model-based-interactive-semantic-parsing/), [Speak to your Parser](https://md.research.elamur.ai/free/en/papers/elgohary-2020-speak-your-parser-interactive-text/), [Task-Oriented Dialogue as Dataflow Synthesis](https://md.research.elamur.ai/free/en/papers/andreas-2020-task-oriented-dialogue-as-dataflow/)

These lines of work make it possible to resolve mistakes during an interaction. NEIL addresses what happens across interactions. A correction such as choosing the right field in a filter has immediate value because subsequent decisions can use the corrected field. It also has value as a label whose usefulness depends on the partial query at the time it was given. Saving only the user’s answer would lose that context. Saving every parse as if it had been checked would treat the parser’s own mistakes as evidence. Learning from the interaction requires a decision about which parts of the trace to keep and how to use the traces once the parser changes.

Learning from execution feedback poses a different problem. Previous semantic parsing systems described in the paper asked whether running a generated query returned the right result. That signal can support learning even when nobody writes the intended SQL. It places the burden of verification at the end of the process, however, where the person may lack the answer. It also says little about the intermediate choices that produced the result. Correct answers obtained for the wrong reason are particularly troublesome for a learner that takes accepted SQL as future training material. [Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions](https://md.research.elamur.ai/free/en/papers/artzi-2013-weakly-supervised-learning-semantic-parsers/), [From Language to Programs](https://md.research.elamur.ai/free/en/papers/guu-2017-language-programs-bridging-reinforcement-learning/)

The paper places NEIL near active learning and active imitation learning. Some active learning work selects which examples to send for annotation. One imitation approach discussed by the authors asks a teacher to demonstrate informative trajectories chosen from an unlabeled pool. Another asks for demonstrations at uncertain states but discards the decisions made autonomously at confident states. NEIL treats the arrival of a user’s question as the occasion to learn and chooses which decisions within that question to ask about. Keeping confident actions gives it a way to train from the rest of the interaction, including parts the user never sees.

There is a reason to analyze this design at the level of a complete program. In the paper’s theoretical setup, the intended parse has a canonical order, and a deviation from it can invalidate the whole interpretation. Getting most of the choices right does little for a request whose decisive filter is wrong. The authors therefore study the possibility of leaving the intended sequence at each step. That perspective connects the amount of supervision the parser requests to the kind of mistake capable of affecting all the decisions that follow.

### The method, step by step

#### Follow the partial query

The starting point is a parser that makes a series of recognizable decisions. With SQLova, the parser works from a SQL sketch. It chooses the field to return, the aggregation to apply if any, and the pieces of each filter, including its column, comparison operator, and value. It also predicts how many filters to generate. The authors treat that count as implicit for interaction purposes. It controls the explicit decisions that follow, while a question about the number of conditions can be difficult for a user to interpret on its own.

Consider the example the authors use to explain the system. The parser chooses `School/Club Team` as the field to return and `COUNT` as the aggregation. It then proposes `School/Club Team` again as the field for a filter. In this instance, the probability is low enough that MISP asks about the filter. The user indicates that it should apply to `Player`. The parser carries that correction forward, chooses equality, and supplies `jalen rose` as the value. The result counts the relevant entries subject to a restriction on the player field. The earlier choice about what to count stays in place.

The correction matters before the final query exists. A value proposed after the parser has selected the wrong field belongs to a different partial query. With the field corrected, the parser proceeds from a state that contains the user’s intended restriction. The resulting training example for choosing the value is therefore situated in a different context from the one that an unchecked run would have produced. NEIL learns from the corrected trajectory as it unfolds.

MISP makes the exchange possible with components that handle different jobs. It wraps the base parser and interprets feedback so the partial query can be updated. An error detector decides whether the system should seek intervention, using the probability of the current decision. A grammar-based generator expresses the request in ordinary language. The interaction can start by asking whether the proposed decision is right. If the user rejects it, the system can present alternatives and allow the user to indicate that none fits. The paper builds on this interface so that a person can respond about the intended query without writing SQL.

How NEIL turns a clarification into training data The steps in order.

The same learning procedure can sit on top of a parser with a different way of generating SQL. EditSQL produces a sequence of tokens. A column name counts as a token even if it contains several words. SQL keywords, punctuation, and schema fields are part of the generation process, but asking about every token would expose distinctions that do little to clarify intent. MISP skips such items as a parenthesis and asks about meaningful units like a column, an operator, or an aggregation. The Spider adaptation can group a selected column and its aggregation into a single question. For certain clauses, including `WHERE` and `GROUP BY`, it can also offer to remove the clause.

There are consequently several levels at which a decision can be described. A decoder might generate an individual symbol. The interface might discuss a unit that combines several generated pieces. The learning procedure needs a state and an action that can be associated with the feedback the interface receives. The paper presents SQLova and EditSQL as examples of how to make that association. It considers the learning rule applicable beyond MISP in principle, provided an interactive parser can use a response to identify a decision and continue generating its output.

#### Represent decisions and their probabilities

The paper calls the rule for choosing an action a policy. It receives the original question and everything the parser has decided so far. It produces probabilities over the actions available at that point. An ordered sequence of states and actions from the start of a question to the completed parse is a trajectory. The state carries the past forward, so the policy can choose the next action in light of both the natural-language request and the partial query.

```
sₜ = (q, a₁:ₜ₋₁)
```

Here `sₜ` is the state at step `t`, `q` is the original question, and `a₁:ₜ₋₁` denotes the sequence of actions through the preceding step. The colon marks an inclusive range of sequence positions. The parentheses group the question and the action prefix into a pair. At the initial state `s₁`, the action prefix is empty.

```
p_{π̂}(a₁:ₜ | s₁) = ∏[t = 1 to T] p_{π̂}(aₜ | sₜ)
```

In this formula the sequence on the left runs to the final step `T`, so `a₁:ₜ` there denotes the complete action sequence with endpoint `T`. The symbol `π̂` denotes the parser’s policy and `p_{π̂}` its assigned probability. The vertical bar means “given.” The product sign `∏` multiplies the probabilities of the chosen actions `aₜ` from the first step through `T`. Each factor conditions on `sₜ`, which contains the actions that came before it. The sequence probability measures the parser’s probability for the whole query. NEIL’s interaction rule uses a probability at the current decision, while the self-training baseline uses the probability of a complete query.

The user plays the role of the demonstrator. The paper represents that role with an expert policy `π*`. In imitation learning, “expert” names the behavior the learner is trying to reproduce. In this setting the user supplies knowledge of what they meant. The interface turns a confirmation or a selected alternative into a formal action. The notation `aₜ* ∼ π*(sₜ)` means that the demonstrated action `aₜ*` is obtained from the expert policy at state `sₜ`. The tilde indicates sampling, and the star marks the expert or reference action.

This formulation matters because the state is partly determined by the parser. Even when the original question is fixed, a parser learning from use can ask about partial queries that would never appear in a complete expert annotation. Ordinary supervised training on gold queries starts from expert prefixes. Here the training states include prefixes the learner itself helped construct. A new training round can change both the decisions the parser makes and the places where it will need feedback in the next round.

#### Decide when to ask and what to retain

The system begins training round `i` with a parser policy `π̂ᵢ`. At each decision it proposes an action and compares that action’s probability with a threshold. Reaching the threshold permits the parser to proceed on its own. Falling below it triggers a clarification in the interactive framework.

```
p_{π̂ᵢ}(aₜ | sₜ) ≥ μ
```

Here `p_{π̂ᵢ}(aₜ | sₜ)` is the probability that the parser in round `i` assigns to its proposed action `aₜ` given state `sₜ`. The symbol `μ` is the confidence threshold. The sign `≥` includes equality. The WikiSQL setup uses `0.95`. The Spider setup uses `0.995` because the authors found EditSQL prone to overconfidence there.

When the threshold is met, the policy’s action becomes the next part of the parse and a training target. When the threshold is missed and the exchange supplies a valid demonstration, the demonstrated action serves both purposes. The parser may also keep a valid action the user has confirmed. Neither a valid demonstrated decision nor a confident decision is given extra weight over the other in the training objective. This is what lets sparse corrections coexist with training targets at positions where nobody was asked.

Sometimes the interaction yields no usable action. The user may reject all the options because the intended one is missing. An earlier uncorrected mistake can make the current question inappropriate in the first place. In the running example, a user asked to choose a value for the wrong filter field may have no appropriate value to select. In this case the system falls back to the next available option and continues. The training weight for the unresolved decision is zero. This suppresses its direct contribution to the loss, but the fallback action remains part of the prefix seen by later decisions.

The authors considered using a negative weight for an unresolved action. Their reasoning was that the parser might learn to avoid a choice the user had rejected. The problem is that a rejection may identify an impossible choice at the current step whose cause is an earlier decision. In their reported trial, the negative-weight strategy disturbed training and failed to repair the preceding field error. Setting the weight to zero avoids rewarding or penalizing that item directly. This is an empirical design choice reported by the authors, with no numerical negative-weight comparison.

After a batch of `m` new questions, NEIL adds collected examples to the data from previous batches and trains again. The experiments also retain the initial annotated data. The implementation uses batches of 1,000 user questions. The process follows Dataset Aggregation, frequently called DAgger, in revisiting data from earlier rounds while collecting new data under the current policy. Standard DAgger as described in the paper would obtain a demonstration for every visited decision. NEIL changes the source of many labels while keeping the cycle of collecting data from the states encountered by the learner.

The objective is the average weighted negative log-likelihood of the stored actions. Negative log-likelihood penalizes a policy for assigning a small probability to an action treated as a target. The paper writes the objective as follows.

```
ℒ(π̂ᵢ₊₁) = −(1 / |D|) ∑[(sₜ, ãₜ, wₜ) ∈ D] wₜ log p_{π̂ᵢ}(ãₜ | sₜ)
```

The symbol `ℒ` names the training loss and `π̂ᵢ₊₁` is the updated policy. The data collection `D` contains triples of a state `sₜ`, a retained action `ãₜ`, and a weight `wₜ`. The sum `∑` runs over those triples, `∈` denotes membership, and `|D|` is the size of the collection. The function `log` takes the logarithm of the probability assigned to the retained action. The leading minus sign turns low target probabilities into larger positive losses. A weight of `1` includes a confident or valid demonstrated action. A weight of `0` removes the associated term. The printed formula indexes the probability on the right by `i` even though the loss on the left is labeled for `i+1`. The accompanying procedure describes fitting the next policy to the examples accumulated through the current round, so the probabilities being optimized in that fit are those of the policy being trained.

#### Measure the risk of leaving the intended parse

The training objective and the theoretical cost answer different questions. The weighted likelihood uses the labels the learner has collected. The analysis asks how likely a policy is to make its next mistake if the question and every previous choice are correct. That condition isolates a consequential event. A parser may face a confused state because of an earlier error, but a wrongly trusted action on a gold prefix explains how it can arrive at such a state in the first place.

The analysis first assigns a cost to a partial parse by checking whether its entire action prefix matches the reference. It treats swappable components as having a canonical order. The authors acknowledge that real questions can sometimes admit multiple correct parses.

```
C(q, a₁:ₜ) = 0 if a₁:ₜ = a₁:ₜ*; 1 otherwise
```

Here `C` is the cost for the question `q` and the action prefix `a₁:ₜ` through the current step. The star on `a₁:ₜ*` marks the reference prefix. Equality of the prefixes gives cost `0`, and any difference gives cost `1`.

To obtain the expected cost at one step, the appendix supplies the preceding actions from the expert and samples the next action from the learner. Once the prefix is gold, the chance of incurring the cost is the chance of missing the expert’s next action.

```
C^t_{π̂}(q) = 𝔼[a₁:ₜ₋₁ ∼ π*] [1 − p_{π̂}(aₜ = aₜ* | q, a₁:ₜ₋₁)]
```

The quantity `C^t_{π̂}(q)` is the expected step cost for policy `π̂`, question `q`, and step `t`. The expectation symbol `𝔼` averages over prefixes `a₁:ₜ₋₁` drawn using the expert policy `π*`. The probability inside the brackets is the chance the learner chooses `aₜ*`, the expert action, given the question and prefix. Subtracting that probability from `1` gives the probability of a wrong action in that state.

The distribution `d^t_{π*}` arises by sampling questions and using expert actions until step `t`. An expectation under this distribution incorporates variation across questions and their correct prefixes. For the analysis the authors assume the same trajectory length `T` for every question. They can then average the expert state distributions uniformly across the steps.

```
d_{π*} = (1 / T) ∑[t = 1 to T] d^t_{π*}
```

Here `d_{π*}` is the average expert state distribution, `d^t_{π*}` is its counterpart at step `t`, and `T` is the fixed trajectory length. The sum collects the step-specific distributions and the factor `1 / T` weights the steps equally.

```
ℓ(s, π̂) = 1 − p_{π̂}(a = a* | s)
```

The function `ℓ` is the single-step loss, `s` is a state, and `π̂` is the learner being evaluated. The action `a` comes from the learner and `a*` is the action from the expert. The probability on the right is the chance that the learner chooses the expert action in state `s`. The resulting loss lies between `0` and `1`.

```
J(π̂) = T 𝔼[s ∼ d_{π*}] [ℓ(s, π̂)]
```

Here `J` is the theoretical policy cost. The expectation averages `ℓ` over states drawn from `d_{π*}`, and multiplication by `T` recovers the sum of expected single-step losses. Lower values mean a lower expected tendency to make a mistake when starting each step on a correct prefix. Query match in the experiments applies to complete predicted queries, so the reported accuracies and `J` are different quantities.

#### Compare against full supervision

Under full supervision, a training example supplies the entire intended action sequence. The policy learns from gold prefixes, which are also the prefixes on which the theoretical cost is evaluated. With unlimited samples, the authors characterize this policy as the one with minimum expected loss over the expert state distribution.

```
π̂_sup = argmin[π ∈ Π] 𝔼[s ∼ d_{π*}] [ℓ(s, π)]
```

The symbol `π̂_sup` denotes the fully supervised policy. The operator `argmin` selects a minimizing policy `π` from `Π`, the set of policies expressible by the parser architecture. The expectation measures the loss of that policy under the expert state distribution `d_{π*}`.

```
J(π̂_sup) = T ε_N
```

Here `J(π̂_sup)` is the cost of the fully supervised policy, and `ε_N` in this supervised statement denotes the minimum expected single-step loss on the expert state distribution. The paper uses the subscript `N` for this quantity. The equality follows because the minimization and the cost use the same distribution. In the NEIL analysis below, the same symbol denotes a minimum taken over the distributions encountered in training instead.

NEIL’s training trajectories come from a mixture policy, denoted `πᵢ` for round `i`. It combines the learner’s accepted actions with the expert actions elicited by the interaction. Its state distribution `d_{πᵢ}` can differ from `d_{π*}` whenever earlier actions differ. The appendix considers the best policy in the sequence of learned policies, with validation used in the described selection procedure. It bounds the cost of the best member by the average cost across the rounds, then relates that average to losses on the states visited in training.

```
J(π̂) ≤ (T / N) ∑[i = 1 to N] (𝔼[s ∼ d_{πᵢ}] [ℓ(s, π̂ᵢ)] + ℓ_max ‖d_{πᵢ} − d_{π*}‖₁)
```

Here `π̂` denotes the selected policy, `N` is the number of rounds, and `π̂ᵢ` is the learner at round `i`. The expectation averages its single-step loss on the state distribution of that round’s mixture policy, `d_{πᵢ}`. The expression `‖d_{πᵢ} − d_{π*}‖₁` is the sum of absolute differences between the distributions. The subscript `1` specifies that distance, and `ℓ_max` is a bound on the single-step loss. The inequality `≤` gives an upper bound. The distance term allows for the fact that fitting the mixture’s visited states and fitting the expert’s states can give different results.

To bound the first part, the analysis assumes no regret. In this context, that means the succession of learned policies can approach the average loss of the best single policy chosen in hindsight on the same sequence of round distributions.

```
ℓᵢ(π) = 𝔼[s ∼ d_{πᵢ}] [ℓ(s, π)]
```

The quantity `ℓᵢ(π)` is the expected loss of candidate policy `π` on the states visited by mixture policy `πᵢ` in round `i`. This notation lets the analysis compare the policies used during learning with a fixed candidate evaluated on every round.

```
ε_N = min[π ∈ Π] (1 / N) ∑[i = 1 to N] ℓᵢ(π)
```

Here `ε_N` is the best average round loss achievable by a fixed policy in `Π`. The operator `min` gives its loss value, and `N` is the number of rounds in the average. The candidate is chosen after considering the full sequence of round distributions.

```
(1 / N) ∑[i = 1 to N] ℓᵢ(π̂ᵢ) − ε_N ≤ γ_N
```

The term `γ_N` bounds how much worse the learned policies’ average loss can be than that of the best fixed candidate in hindsight. The no-regret assumption requires `γ_N` to approach `0` as `N` increases. The authors discuss rates available for convex losses. The neural parsers in their experiments have non-convex training objectives, so the empirical results carry a separate burden from the proof.

The second part of the bound is about where the training trajectories go. A correct action at an expert prefix preserves that prefix through the next step. If the learner instead takes a wrong action without asking, it departs from the reference. The paper bounds the distribution discrepancy by accounting for opportunities for such departures along a trajectory.

```
eᵢ = (1 / T) ∑[t = 1 to T] eᵢₜ = (1 / T) ∑[t = 1 to T] ε̃ᵢₜ(1 − βᵢₜ)
```

The probability `eᵢ` is the round’s average chance of taking a wrong action without asking, evaluated at gold prefixes. The quantity `eᵢₜ` is the joint probability of those events at step `t`. The quantity `βᵢₜ` is the probability of querying the expert at that step on the expert state distribution. Its complement `1 − βᵢₜ` is the probability of proceeding without asking. The quantity `ε̃ᵢₜ` is the conditional error rate among those unqueried decisions. Their product gives the joint event. Averaging these products over the `T` steps preserves the fact that a step can have both a distinctive query rate and a distinctive error rate.

```
‖d_{πᵢ} − d_{π*}‖₁ ≤ 2 T eᵢ
```

The left side is the distance between the round’s mixture distribution and the expert distribution. The factor `T` accounts for the opportunities along the trajectory, and `2` comes from the maximum distance between probability distributions under this measure. The appendix bounds the chance of a departure by summing over steps. Increasing trajectory length gives an incorrect autonomous decision more opportunities to change the states reached during training.

```
J(π̂) ≤ T [γ_N + ε_N + (2 T ℓ_max / N) ∑[i = 1 to N] eᵢ]
```

The cost `J(π̂)` is bounded by the expression in brackets times the trajectory length `T`. The first term is the no-regret allowance `γ_N`. The second is the best average loss `ε_N` on the mixture distributions. The final term uses the average of the confidently wrong probabilities `eᵢ`, scaled by `2`, the trajectory length, and the maximum loss `ℓ_max`.

```
J(π̂) ≤ T [ε_N + (2 T ℓ_max / N) ∑[i = 1 to N] eᵢ] + O(1)
```

This is the main infinite-sample bound, stated for a sufficiently large number of rounds on the paper’s `Õ(T)` scale. The tilde in `Õ` suppresses logarithmic factors. The `O(1)` term is the bounded remainder after incorporating the regret term at that scale. The claim is that a policy in the sequence satisfies the bound. The confidently wrong term identifies a way in which saving supervision can increase cost. The best-loss term in this theorem still concerns the mixture distributions, so it can also depend on which states training visits.

The ideal interaction variant gives the authors a special case. It uses the correct action whenever the learner would make a mistake, so its gold-prefix confident error probability vanishes. The mixture then visits the expert states, and the labels agree with those obtained through full supervision.

```
J(π̂) ≤ T ε_N + O(1)
```

Here `π̂` is a policy from the idealized variant. Its `ε_N` is the minimum loss on the expert state distribution, as in the fully supervised comparison. The bound has the same leading term as the supervised cost, with the inequality and bounded remainder shown explicitly. The idealized variant can obtain the same labels by asking only at mistakes because correctness is available to it before it decides whether to ask.

#### Account for finite batches

Actual training observes only a batch of trajectories in each round. The appendix denotes the batch from round `i` by `Dᵢ`. Its empirical loss can differ from the expected loss on all states that round’s mixture policy would generate. The authors let `Yᵢⱼ` represent the difference between the round’s expected loss and the mean loss on its `j`th trajectory. They use a concentration argument for bounded, conditionally centered differences to control the average discrepancy.

```
(1 / (mN)) ∑[i = 1 to N] ∑[j = 1 to m] Yᵢⱼ ≤ ℓ_max √(2 log(1 / δ) / (mN))
```

Here `m` is the number of trajectories in each round, `N` is the number of rounds, and `mN` is their total. The indices `i` and `j` identify a round and a trajectory within it. The double sum averages the deviations `Yᵢⱼ`. The upper bound uses the maximum loss `ℓ_max`, the square root `√`, and the logarithm `log` of the reciprocal of `δ`, the allowed failure probability. The paper gives the inequality with probability `1 − δ`.

```
J(π̂) ≤ T [γ̃_N + ε̃_N + ℓ_max √(2 log(1 / δ) / (mN)) + (2 ℓ_max T / N) ∑[i = 1 to N] eᵢ]
```

In this bound `γ̃_N` is the regret allowance for the finite collections and `ε̃_N` is the best fixed policy’s average loss in hindsight on those collections. The square-root term accounts for observing finite samples. The sum in `eᵢ` still measures the effect of wrong decisions taken without asking at gold prefixes. The accent on `ε̃_N` here denotes an empirical hindsight loss, distinct from the conditional error rate `ε̃ᵢₜ` for a specific round and step.

```
J(π̂) ≤ T [ε̃_N + (2 ℓ_max T / N) ∑[i = 1 to N] eᵢ] + O(1)
```

This is the appendix’s simplified finite-sample statement. It holds with probability at least `1 − δ` under the paper’s assumptions and sufficient sampling on the stated `Õ(T² log(1 / δ))` scale for `mN`. The exponent `²` squares the trajectory length, and `O(1)` again denotes a bounded remainder. The finite-batch calculation adds a sampling issue to the problem of which states are visited. Even when the sampling allowance can be absorbed into the remainder, a policy that regularly trusts wrong actions retains the distribution discrepancy in its cost bound.

### Experiments and results

#### Replay a stream of questions from WikiSQL

The central experiment uses WikiSQL, introduced in the work on Seq2SQL. The split contains 56,355 question–SQL pairs for training, 8,421 for validation, and 15,878 for testing. SQLova is the base parser, and the study follows its preprocessing. The authors start with an annotated subset and reserve the rest of the training split to act as questions arriving during use. They seed the parser with 5,636 pairs for the 10% condition, 2,818 for the 5% condition, and 564 for the 1% condition. The smallest seed tests whether interaction can compensate for a much weaker starting parser. [Seq2SQL](https://md.research.elamur.ai/free/en/papers/zhong-2017-seq2sql-generating-structured-queries-natural/), [A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization](https://md.research.elamur.ai/free/en/papers/hwang-2019-comprehensive-exploration-wikisql-table-aware/)

The remaining questions arrive in randomized order. Within a run, the systems receive the same questions at the same point in the schedule, so progress per training round can be compared without giving one system a different stream. The authors average over three runs with different orderings. An update occurs after every 1,000 incoming questions. Each update uses the initial annotated subset and whatever later data the system has accumulated. During the SQLova retraining, the authors stop based on validation performance and shorten the patience as the accumulated dataset grows. When fine-tuning BERT, they set the learning rate to 1e-5, which they say shortens training time while barely affecting performance. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/)

A simulator supplies the answers that a user would give. It can inspect the reference SQL, check a proposed decision, and identify a correct option if the system offers it. When the reference action is absent from the offered choices, the simulated response indicates that no option fits. This preserves a distinction between knowing what the answer should be and being able to express it through the interface. The ordinary MISP-NEIL system can still miss a mistake that it rated too confidently or fail to recover a correction from the options it presents.

#### What each comparison can learn from

Full Expert gets the complete reference SQL for the incoming training questions. It represents the conventional supervised approach against which the authors measure both performance and annotation use. Its annotation total is expressed in constituent decisions. For the running SQLova example, the gold query contributes 5 decisions to that count.

MISP-NEIL obtains feedback through the threshold rule and the available interaction. Its counted annotations are user interactions in the continuing training stream. MISP-NEIL*, the idealized variant, can inspect the reference to tell when it made an intermediate mistake and can always correct that mistake. It is a benchmark for what the collection strategy could obtain if both the decision to ask and the ability to get a correction were perfect. The gold query serves a different role in this variant than it does for the ordinary simulator. In the ordinary condition, the reference supplies a user’s response after the system asks. In the idealized condition, it also establishes whether the system needs to ask.

Binary User asks whether executing the proposed SQL returned the correct answer, then saves accepted queries as labels. Binary User+Expert also obtains complete annotation for a question when the generated SQL returns a wrong answer. The additional supervision can replace a failed query with the reference, but acceptance is still based on the execution result. These comparisons explore different kinds of available help. One relies entirely on validating the answer, while the other can call on expert SQL annotation after a failure.

Self Train receives no new human feedback. It uses generated queries as training labels only if the probability of the complete sequence is greater than 0.5. The authors report that applying this cutoff improved self-training empirically. It gives the baseline a way to screen its predictions before treating them as labels. A later loss of ground relative to the interactive systems can therefore be interpreted against a baseline that already exercises some selectivity about its own outputs. [Effective Self-Training for Parsing](https://md.research.elamur.ai/free/en/papers/mcclosky-2006-effective-self-training-parsing/)

#### Read accuracy and annotation use together

The accuracy metric for WikiSQL is exact query match, computed with SQLova’s evaluation script. It measures whether the predicted logical form matches the reference according to that implementation. The annotation metric rather differently describes the training process. The authors obtain the Full Expert count by tallying the decisions in the supplied reference parses. For the interactive variants, they count requested interactions. Self Train has no additional annotations from the incoming questions. All these conditions begin with labeled seed data.

The paper reads progress in two ways. Looking at accuracy against accumulated annotations asks how much supervision a system uses in the course of reaching a given level. Looking at accuracy by training round asks how much the system gains from the same arrivals, since the same incoming questions are available to the systems at each point. Those comparisons can favor an interactive strategy on one dimension and full annotation on another. A parser can approach the supervised performance level at a fraction of the annotation count while still ending at a lower accuracy.

The main annotation comparison leaves out the binary systems because an execution judgment has no natural conversion into a number of labeled query constituents. On WikiSQL validation, the appendix offers an illustrative conversion. It counts execution validation using the same scheme as full query validation, on the assumption that the tasks are similarly difficult. The authors flag this as a compromise. The effort to validate a result can vary with the difficulty of the question and the size of the database, while an intermediate clarification is tied to a particular field, condition, or operation.

#### Where WikiSQL ends up

With the more substantial starting subsets, MISP-NEIL improves through the sequence of incoming questions. Its final WikiSQL test exact query match is 0.776 with 10% initialization and 0.761 with 5% initialization. The paper gives 0.794 as the corresponding Full Expert reference for the final comparison. It describes the loss at the 10% initialization as 2% absolute. On the annotation axis, that setting ends with less than 10% of the count for Full Expert. Its result is therefore near full supervision under the paper’s accuracy metric, achieved with substantially fewer counted requests for help.

Final WikiSQL test exact query match with different supervision settings Full Expert finishes ahead, with the larger MISP-NEIL seed coming closest.

**The numbers**

| System or setting | Exact query match accuracy |
| --- | --- |
| Full Expert reference | 0.794 |
| MISP-NEIL with 10% initialization (this paper) | 0.776 |
| MISP-NEIL with 5% initialization | 0.761 |

Across the WikiSQL runs, the authors observe that MISP-NEIL generally uses a comparable or smaller annotation count than the supervised baseline to attain an accuracy level both can reach. The appendix reports that the average number of interactions requested per question tends to fall as learning continues. It describes the average as no more than one in most cases along training. An average of this kind can include both straightforward questions with no interaction and questions that require several clarifications. The result indicates a limited overall demand under the simulator.

With 1% initialization, the interactive learners suffer a substantial drop. The initial 564 pairs limit what the parser has learned about translating questions into SQL before the stream begins. The arrangement depends on the learner having some useful decisions to contribute and on the interface being able to resolve enough uncertain ones. A small seed leaves the experiment with a weaker source of both reliable autonomous labels and useful proposals. The paper connects this pattern to its separate measurement of confidently wrong actions.

The idealized MISP-NEIL* comparison shows a larger possible gain from selective annotation. Correcting every wrong choice as it occurs gives the learner the same training examples as Full Expert, including the decisions the policy got right on its own. It reaches the Full Expert accuracy level on WikiSQL with 6% of the annotations counted for that baseline. The reference check makes that level of selection possible in the experiment. The figure neither measures a human’s ability to produce those corrections nor supplies a procedure for identifying them with the same reliability when the reference is unavailable.

Binary User falls behind MISP-NEIL. The paper explains this using spurious programs. Consider two filters, one that applies a restriction on a field and another that adds a restriction on a second field. If every row meeting the first restriction happens to meet the second, both filters can return the same result. The user’s question may ask only for the first restriction. Acceptance based on execution then admits an extra condition into the training set. A clarification about the intended filter can distinguish the queries even in a database where their answers coincide.

Binary User+Expert comes closer to Full Expert, with complete SQL supplied for a considerable number of failed queries. It therefore gains supervision unavailable to Binary User, at the cost of additional annotation. Self Train finishes substantially behind the feedback-based approaches. The paper reads the combined comparisons as evidence that human guidance can add useful information beyond a parser’s own confidence, and that the form of the feedback matters when the objective is recovering the query’s intended meaning.

#### Move to complex SQL on Spider

The Spider experiment changes both the benchmark and the generation procedure. Spider includes more complicated SQL constructs, including grouping. The authors use EditSQL and assess whether the same strategy of selective demonstrations and confidence-based labels can operate with its token-based output. The dataset contains 8,421 training pairs before cleaning and 1,034 validation pairs. After cleaning, 7,377 training pairs remain. The authors use 737 pairs, or 10% of the cleaned training set, to initialize the parser, keeping the rest for the simulated stream. As on WikiSQL, updates occur every 1,000 questions, and the results average three random orders. [Spider](https://md.research.elamur.ai/free/en/papers/yu-2018-spider-large-scale-human-labeled/), [Editing-Based SQL Query Generation](https://md.research.elamur.ai/free/en/papers/zhang-2019-editing-based-sql-query-generation/)

Cleaning is important because the simulator must answer questions based on the same interpretation the parser is supposed to learn. EditSQL preprocessing removes the `FROM` clause and qualifies column names with table names. In the authors’ example, a query about candidates draws requested name fields from a people table joined to a candidates table. After transformation, the two name fields still refer to the people table, but the transformed sequence has lost the connection to candidates. A simulator consulting that sequence would have inadequate evidence for affirming that the user meant candidates.

To remove such cases from training, the authors send the transformed sequence through EditSQL’s post-processing and compare the resulting query with the original. They keep the pairs whose original queries can be recovered. The Dev split stays intact. That means the interactive training examples are drawn from queries whose representation supports consistent simulated feedback, while the evaluation still uses the standard Dev items. The authors attempted a larger starting subset but found that leaving fewer questions for continued learning made the comparison harder to interpret. The reported Spider study therefore centers on the 10% setting.

The outcome is exact match on Spider Dev using EditSQL’s evaluation scripts. The authors use Dev because the test set is unavailable to them. They omit the binary execution baselines because EditSQL does not generate concrete values for the queries, making the intended simulation of execution feedback infeasible with those outputs. The comparison retains the ordinary and idealized MISP-NEIL variants, Full Expert, and Self Train.

The annotation curves show that the interactive variants can achieve comparable or better accuracy for a given annotation count in the ranges reported. The comparison by training round is less favorable to practical MISP-NEIL, which trails Full Expert by a substantial margin. The authors attribute the larger shortfall to the weaker initialization and the more complex SQL. The idealized interaction shows that there is room to improve if uncertain decisions can be identified and corrected more effectively. Self Train again does worse than learning with feedback. The Spider results thus establish that the procedure can be adapted to a different parser and more complex queries, with a larger practical gap to full supervision.

### What the ablations show

#### Vary the quality of the starting point

The paper studies components through changes to the seed, to the feedback available during training, and to whether the system can recognize and repair mistakes perfectly. Its most direct test of the predicted importance of initialization is on WikiSQL. The parser architecture and the interaction rule stay fixed while the amount of fully annotated seed data changes. Each setting then runs the sequence of periodic updates, with the system comparisons matched on the questions they receive within that setting. The small-seed results show that sparse clarification has limited ability to compensate for weak initial parsing in this regime.

There are two effects to keep in view when interpreting this comparison. The small seed produces a lower-quality starting policy, which is what the analysis regards as consequential. It also leaves more of the fixed training split available for the sequence of simulated interactions. The results do not suggest that reserving more questions for interaction alone can make up for what is lost at initialization. The experiment changes the size of the initial supervision under a fixed dataset. It does not yield a universal minimum labeled subset for deploying an interactive parser.

The appendix probes the mechanism behind this pattern on WikiSQL validation. It measures the chance of asking the expert when the current prefix is gold and the error rate conditional on proceeding without asking. It then examines their combined effect on the probability of an unqueried mistake. The diagnostics are tied to the theoretical setting. They begin from reference prefixes, so they measure a learner’s tendency to introduce a deviation instead of its ability to repair an already incorrect query.

```
ε̃ᵢ = (1 / T) ∑[t = 1 to T] ε̃ᵢₜ
```

Here `ε̃ᵢ` is the average conditional error rate across steps in round `i`. Each `ε̃ᵢₜ` evaluates unqueried decisions at step `t` on the expert state distribution for that step. The factor `1 / T` averages over the fixed trajectory length used in the analysis.

```
βᵢ = (1 / T) ∑[t = 1 to T] βᵢₜ
```

Here `βᵢ` is the average probability of querying the expert in round `i`, and `βᵢₜ` is that probability at step `t` given an expert prefix. The same `T` and `t` specify the averaging range.

Across initialization settings, the parser asks less frequently on gold prefixes as the rounds proceed. Its error rate among autonomous choices also tends to decline. Either trend viewed alone is insufficient to determine the change in `eᵢ`. Fewer queries give the policy more chances to make uncorrected mistakes. More reliable autonomous choices reduce the chance of an error on any of those occasions. The combined measure falls in the reported curves, and stronger initialization generally corresponds to a lower chance of a confidently wrong choice. This is the empirical pattern the authors expect if the state discrepancy identified in the bound decreases with training.

The diagnostics also help interpret the reported overconfidence. A system can become better at the decisions it takes autonomously while still assigning probabilities that are too high for its remaining errors. A decrease in the observed error among confident decisions is compatible with persistent overconfidence. The experiment measures the progress of a particular selection rule and parser together, while the conclusion identifies the reliability of those probabilities as an unresolved problem.

#### Change what the learner gets to observe

The gap between ordinary MISP-NEIL and MISP-NEIL* estimates what might be gained by improving the availability of correct intermediate labels. In the ordinary system, an incorrect choice can pass the confidence test. An interaction can also be triggered without offering the right option. The ideal variant removes both failure modes at once. Its strong results establish what happens when exact correction is available at the relevant position. Because the comparison changes both detection and correction, the paper cannot attribute the entire difference to calibration or to the design of the questions individually.

The Self Train comparison removes human feedback altogether. It gives the learner its own complete high-probability outputs, whereas MISP-NEIL trains from individual decisions with correction available at some states. Performance favors the methods that get feedback. This comparison also changes the unit of collection and the confidence criterion, so it supports the benefit of the combined interactive strategy more directly than it isolates the numerical effect of any single training weight. The idealized result supports the complementary point that even very sparse corrections can yield a complete set of correct training labels if the unqueried choices have already been verified by the ideal rule.

The binary comparisons show why the granularity of the supervision matters. Accepting a query that returns the right denotation can reinforce modifiers or filters that the user never meant. Adding full expert labels to the execution-based approach recovers much of the supervised performance, at greater demand for expert work. This does not give a common unit of human effort across the conditions, but it reveals an important distinction in the information each condition acquires. An intermediate confirmation can settle whether a condition belongs in the intended query, while an execution check settles what happened on the current database.

Finally, the authors’ negative-weight trial sheds light on what they do when a user rejects all offered choices. A rejection can be clear evidence that the current decision cannot be used and poor evidence about which earlier action caused the problem. Their trial indicates that treating the rejection as a negative target at the current state can hurt training. The adopted zero weight limits what the learner infers from that exchange. There is no reported numerical isolation of how much this choice contributes to the final benchmark scores.

### Limitations

#### Limits the authors state

The central limit is that users are simulated. The person in an actual exchange might misunderstand a question, answer inconsistently, or want to express a correction outside the choices shown. A simulator with access to reference SQL answers a different, more constrained problem. It can reliably decide whether an offered option matches that reference. The authors treat the experiments as a pilot and call for larger studies with real users, including an account of noisy feedback and actual learning under those conditions.

The authors also distinguish annotation counts from practical cost. The study counts a requested clarification and units of an expert SQL annotation rather than observing how long either takes or what it costs. A person may need to inspect the table or understand technical wording before selecting a field. An expert may write several related parts of a query together. The paper’s estimate is about the number of requests or decisions under its accounting rule. Its proposed future work would use real interaction statistics, such as time spent answering a question, to give that comparison a more realistic basis.

The authors identify overconfidence as a persistent obstacle. The interface asks only when its rule detects uncertainty. If a wrong action receives a high score, it bypasses the mechanism that could correct it and may become a training label. Adding more training data during the experiments did not resolve the overconfidence the authors observed. They propose studying calibration and learned methods for deciding when to ask. The idealized variant shows the performance possible with perfect access to mistakes and their corrections, while the ordinary variant relies on the probabilities it can produce at the time.

The proof has limits of its own. The authors assume a common trajectory length, use a canonical gold trajectory, and begin the analysis with unlimited samples per round. Their finite-sample extension deals with the last assumption through a concentration term. The no-regret step remains an assumption applied in a setting where the neural parsing losses are non-convex, and the authors leave a more precise treatment of regret for such losses to future work. The bound also evaluates single-step losses conditioned on gold prefixes and gives a guarantee for a policy in the sequence. The reported benchmark endpoint measures exact match for complete queries after iterative training.

#### Limits visible in the setup

Replay from a randomized benchmark split assigns the same stream to each system and makes annotation availability easy to compare. In deployment, the incoming questions could change as people adapt to the interface, as unfamiliar databases are added, or as usage changes. Success on a finite replay establishes that iterative learning can accumulate useful labels under those conditions. It leaves open whether the differences in annotation use persist indefinitely, and whether initial gains survive when later questions differ systematically from earlier ones. The authors express an expectation that the benefits can continue with more questions, but the benchmarks place a fixed limit on what the experiment observes.

The privacy argument also describes a property of the proposed workflow instead of an outcome measured by the experiments. A questioner who resolves an interpretation directly can reduce the need to disclose the question to outside annotators. Continual learning still retains information about the questions and partial parses. The paper does not evaluate who might access that retained information or what happens when a parser trains across different users. The reported annotation savings therefore give evidence about the supervision pipeline and no numerical estimate of privacy protection.

The interactive interface shapes which ambiguities can be resolved. SQLova’s implicit prediction of how many conditions to produce is one example of a decision the system does not ask about directly. EditSQL’s interface likewise groups some actions and skips others. A clarification can only recover distinctions expressible through the available questions, choices, and feedback integration. The fallback path for a rejected option set lets parsing continue, but a zero-weight unresolved item can still leave later decisions conditioned on an incorrect prefix. The success of the general learning rule thus depends in part on how the base parser exposes decisions to the interface.

Cross-benchmark interpretation also needs care. WikiSQL and Spider differ in query complexity, starting data, parser architecture, threshold, and the kinds of choices the user can make. Spider additionally filters its training pool to preserve consistency between the original and preprocessed SQL, while its Dev data are untouched. The larger gap on that benchmark shows that the tested transfer is harder. The experiment does not isolate the share of that gap due to longer or more intricate queries, lower initial performance, differences in representation, or the interaction design. The study’s evidence is strongest for the specific pairs of parser and benchmark it evaluates.

Finally, exact query match is a stringent and useful check for the intended logical form. It avoids giving credit simply because a coincidentally equivalent execution answer was returned on the current table. The paper’s unique canonical trajectory assumption gives a sharper mathematical target than every possible interpretation a user might consider satisfactory. A dataset reference may be one way to express the request. The practical experience of accepting a correct answer, recognizing an equivalent query, or repairing a misunderstanding involves judgments beyond the benchmark’s exact match score.

### What came after

A later citing paper, Structure-Grounded Pretraining for Text-to-SQL (2021), addresses the same broad task from the pretraining side. Its stated subject is the use of structure to ground pretraining for translation into SQL. NEIL addresses the period after an initial parser is available, when selective clarification can produce further training data. These are connected stages of the problem. The imitation paper’s seed experiments show that the quality of the parser entering interaction matters to the outcome, which makes the question of how that parser is prepared relevant to the feasibility of learning from sparse feedback. [Structure-Grounded Pretraining for Text-to-SQL](https://md.research.elamur.ai/free/en/papers/deng-2021-structure-grounded-pretraining-text-sql/)

The citation establishes a connection between the studies. The later paper’s stated focus does not establish that it reused NEIL’s decision rule, trained with user demonstrations, or measured changes in annotation demand. Its subject points to initialization as a complementary place to improve text-to-SQL parsing. Whether that particular pretraining approach would lower NEIL’s rate of confidently wrong decisions or narrow its gap to Full Expert remains a question distinct from either paper’s stated contribution.

## Cite

Cite as Ziyu Yao, Yiqi Tang, Wen-tau Yih, Huan Sun and Yu Su. 2020. An Imitation Game for Learning Semantic Parsers from User Interaction. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2020.emnlp-main.559](https://doi.org/10.18653/v1/2020.emnlp-main.559) · [arXiv 2005.00689](https://arxiv.org/abs/2005.00689)

```bibtex
@inproceedings{yao2020imitation,
  title = {{An Imitation Game for Learning Semantic Parsers from User Interaction}},
  author = {Ziyu Yao, Yiqi Tang, Wen-tau Yih, Huan Sun and Yu Su},
  booktitle = {Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.559},
  eprint = {2005.00689},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2020.emnlp-main.559}
}
```

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