Elamur Research

Speak to your Parser: Interactive Text-to-SQL with Natural Language Feedback

Paper · 2020 · Ahmed Elgohary, Saghar Hosseini and Ahmed Hassan Awadallah

Summary

A database assistant can misunderstand a question while producing a perfectly executable query. The resulting answer may look plausible, yet retrieve the wrong column, apply an unwanted condition, or leave out a necessary table. The study Speak to your Parser, subtitled Interactive Text-to-SQL with Natural Language Feedback, examines what follows that error. Rather than requiring the user to rewrite the question or edit SQL directly, the system accepts a short correction in ordinary language. The research problem is to turn that correction into a repaired query while retaining the original question, the database structure, and the system’s unsuccessful interpretation. This makes semantic parsing—the conversion of language into a structured representation—an interaction that can be repaired rather than a single attempt that either succeeds or fails.

The authors introduce SPLASH, short for Semantic Parsing with Language Assistance from Humans, to study this task. They start with questions from Spider, generate mistaken SQL using the Seq2Struct parser, and ask people without SQL knowledge to describe the required changes. Those people see a stepwise explanation of the query rather than its SQL syntax. They also see information about the database, allowing them to connect the explanation to the available tables and columns. Other annotators then paraphrase the corrections to broaden their wording. The resulting collection contains 9,314 question–feedback pairs, with training, development, and test partitions organized around database separation. SPLASH is publicly released as a resource for studying how systems interpret corrective language.

The experiments establish that feedback can help, but applying it remains difficult. The strongest correction system adapts EditSQL, a parser designed to revise queries across conversational turns, and uses BERT. It receives the mistaken query as its starting point and treats the user’s correction as the next utterance. The abstract reports a correction accuracy of 25.1%, measured by comparing repaired queries with reference queries through Spider’s exact set match procedure. When the test feedback is shuffled between examples, accuracy falls to 5.6%, supporting the claim that the system uses the corrective message. Systems trained for conversational querying on SParC and CoSQL perform poorly on SPLASH, indicating that interpreting a correction is a distinct challenge from handling a sequence of related database questions.

The strongest conclusion concerns both opportunity and remaining difficulty. Many parser mistakes are relatively small, and people can frequently explain how to fix them without knowing SQL. In a manually examined sample, 81.5% of feedback messages were judged sufficient to describe a complete repair; the authors use that proportion as an estimate of human correction performance. It is an estimate based on feedback completeness, rather than a direct competition in which people and a parser independently produce SQL. The gap between that estimate and the automated result leaves substantial room for improvement. The paper therefore contributes a task definition, an explanation interface, a dataset, and reference systems—not a claim that natural language repair has been solved or that a brief correction reliably fixes every kind of database misunderstanding.

Interesting ideas

Expose the attempted interpretation. A user can give a more focused correction when the system reveals what it understood. The SQL explanation makes an internal decision inspectable in terms of operations on familiar data. This supports feedback about a specific mistake rather than another attempt to express the entire request. The broader design principle applies wherever a system converts language into a structured action: make the proposed action understandable before asking someone to repair it. The explanation need not expose every implementation detail, but it must preserve the decisions that affect the answer. Otherwise, the user may be correcting a simplified description that conceals the actual error.

Treat the failed output as useful context. An unsuccessful query is not merely something to discard. It contains decisions that may already be correct and provides the object to which a corrective instruction refers. A request to remove a condition only makes sense relative to an interpretation containing that condition. The paper’s comparison between systems that receive the mistaken query and a system that does not supports retaining this context. Elsewhere, the same idea can guide revision of generated programs, structured searches, or plans: keep the artifact being corrected alongside the instruction, so that the system can resolve what should change and what should remain.

Collect failures from an operating parser. SPLASH primarily uses mistakes produced by Seq2Struct rather than errors inserted into reference queries according to a hand-designed recipe. That choice connects the correction task to the difficulties of an actual prediction system. The additional beam candidates extend the collection with alternatives that the parser considered plausible. This is a reusable dataset strategy when the aim is repair: begin with the failure distribution of the system whose outputs people will encounter. It does not remove dependence on that system, but it avoids assuming that convenient synthetic corruptions resemble the misunderstandings users will actually need to correct.

Separate rejection from correction. Before asking annotators how to fix a query, the authors ask whether its explanation already answers the question. This catches cases in which an automatic comparison rejects a valid alternative. The design protects against collecting instructions to change something that is already acceptable. It also creates an independent check on whether people understand the explanation interface. Similar separation is useful in other feedback workflows: first establish whether the output needs repair, then ask what repair is required. A reference answer can support evaluation without becoming the sole authority on every acceptable output.

Distinguish corrective language from conversational continuation. A message that changes the subject of a query and a message that points out an error can look similar on the surface. Their relationship to the previous output is different. SPLASH makes that distinction operational by pairing feedback with the interpretation it criticizes. The weak transfer from conversational datasets reinforces the value of evaluating repair separately. Researchers studying interactive systems can borrow this separation when designing tasks: remembering previous turns, following a new request, identifying an error, and applying a correction should not automatically be treated as the same capability.

Measure whether the feedback matters. A system may improve after receiving an additional input without using the information that input was meant to convey. Shuffling feedback creates a useful diagnostic: the messages retain their general form, but lose their connection to the question and mistaken query. The resulting performance drop supports the claim that the relationship matters. This idea applies well beyond SQL correction. Whenever extra context is central to a method, compare meaningful context with a version that preserves its superficial properties while breaking its relevance. Such a check does not explain the entire mechanism, but it can rule out a consequential shortcut.

Deep dive: Speak to your Parser: Interactive Text-to-SQL with Natural Language Feedback

How natural language feedback helps repair mistaken SQL queries, how SPLASH was built, and what the correction experiments establish. · about 38 minutes to read

How Mova uses it

For Mova, a small transparent language system written in Rust, the clearest application is a design direction: expose an interpretation, accept a correction, and revise the interpretation with the earlier version still available. The paper does not establish that Mova already implements SQL correction, an explanation interface, or learning from user feedback. Those would be proposed uses. The useful connection is architectural. A transparent system can make its intermediate decisions explicit, giving the user something concrete to inspect and giving the correction mechanism a structured object to modify.

A possible Mova interaction would preserve the original request together with the structure produced from it. The system could render that structure as a short explanation, receive a natural language correction, and associate the correction with the relevant part of the earlier interpretation. This follows the paper’s task organization without requiring Mova to reproduce its neural parsers. The important commitment would be to maintain a relationship between the request, the attempted interpretation, the explanation, and the repair. If those pieces are stored independently without their connections, later inspection cannot show why a particular correction caused a particular change.

The explanation procedure is especially relevant to transparency. The authors generate explanations from SQL templates whose operations are known, rather than asking an unconstrained text generator to describe a query however it chooses. A corresponding Mova design could render recognized structures through explicit rules. Such rules would make it possible to inspect which structural decision produced each explanatory statement. This is a proposal about how to build an understandable interface, not evidence that Mova currently has the required coverage. The paper’s restricted template coverage also supplies a caution: understandable explanations for supported structures do not imply that every possible structure can be explained faithfully.

The mistaken interpretation should remain a first-class input. If Mova were to receive only the original request and a brief correction, it could lose the referent of expressions about an unwanted condition or an incorrect result field. Keeping the earlier structure would allow a correction to be interpreted as a change to a known object. This could also support a visible account of the revision: which part was replaced, which part was removed, and which earlier decisions were preserved. The paper motivates that design through its correction comparisons, although it does not demonstrate a rule-based implementation or establish which repair mechanism would work best for Mova.

SPLASH also suggests how Mova could collect evidence about its own behavior. A useful record would contain the request, the initial structure, the explanation shown to the user, the feedback, and an approved final structure. Such records would preserve both the failed interpretation and the language that helped repair it. The paper distinguishes immediate correction from using feedback to improve future parsing, and Mova should preserve that distinction too. Successfully changing an artifact in the current interaction would not by itself show that the system had learned a general rule or would avoid a related mistake later.

Evaluation would need to distinguish several questions. Can a user understand Mova’s explanation? Can the user identify an actual mistake? Does the correction mechanism apply the requested change? Does the final structure express the intended request? SPLASH provides examples of why these are separate: an automatic reference comparison can reject a valid query, a person can supply only a partial correction, and an automated repair system can fail despite receiving useful feedback. A Mova experiment inspired by this work should therefore inspect the whole chain rather than treating every unsuccessful final answer as the same kind of failure.

The paper offers no basis for claiming a particular accuracy, resource requirement, or deployment benefit for Mova. Its practical contribution to that project is a testable interaction pattern. Begin with an inspectable representation, explain it in terms the user understands, interpret corrections relative to it, and retain enough evidence to review the resulting revision. Whether Mova can perform those steps reliably would remain an engineering and evaluation question.

The problem and its context

Why a mistaken query needs more than another answer

Text-to-SQL systems translate a natural language request into a database query. Their appeal is straightforward: someone who understands the information in a database may still be unable to express a request in SQL. A language interface promises to bridge that gap. The paper places this goal within a long history of database interfaces, including An Efficient Easily Adaptable System for Interpreting Natural Language Queries. It also recounts earlier observations that practical users can know what information they need while depending on someone else to formulate the database operation.

The difficulty is that a parser can produce a query that is structurally valid and still misunderstand the request. It may choose the wrong field, omit a table, reverse a comparison, or aggregate information incorrectly. A successful execution does not eliminate those possibilities. Execution shows that the database can run the query, while the user’s concern is whether the query answers the intended question. This distinction makes a usable repair mechanism valuable even when the initial parser is already capable.

The dominant setup described by the authors maps a request to SQL in a single attempt. That framing makes initial prediction accuracy the main objective. It leaves little room for a user who can recognize an error but cannot write the correct SQL. Starting over with another wording may help, yet it discards information about the specific misunderstanding. Directly editing the query demands the expertise the language interface was meant to make unnecessary.

The paper’s proposed interaction adds a different route. The system explains the query it generated. The user describes what is wrong in ordinary language. The system then revises the query using that message and the earlier context. This places the work at the intersection of database interfaces and dialogue systems, while giving the dialogue a narrow purpose: repair an unsuccessful interpretation.

Why the authors expect local correction to help

The motivation is not simply that interaction sounds useful. The authors examine how far incorrect SQL lies from the corresponding reference SQL. Their analysis suggests that many failures are comparatively localized. If a query already gets much of the structure right, a targeted correction may carry enough information to finish the job.

This observation changes how the previous output should be viewed. A wrong query can still encode useful decisions about tables, columns, conditions, and operations. Throwing it away makes the correction system reconstruct those decisions from the original question. Retaining it allows the system to consider a smaller change. The paper’s central task therefore includes the incorrect query explicitly, even though not every baseline makes use of it.

A short textual edit is not necessarily a small semantic issue. Selecting a different column can change the meaning of every returned row. Adding a table can require understanding a relationship that was missing from the original interpretation. The authors’ locality analysis motivates repair, but does not imply that repair is trivial. The experimental gap between complete human feedback and automated correction makes that distinction visible.

Earlier work on feedback and interaction

The paper separates several neighboring research traditions. One concerns learning a better parser from feedback collected over many examples. Earlier systems used signals indicating whether an output was correct, whether an execution result was acceptable, or which query tokens were approved. Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions belongs to the discussion of learning through validation rather than relying solely on fully specified target structures.

Another example is Improving a Neural Semantic Parser by Counterfactual Learning from Human Bandit Feedback. As characterized by the authors, that work uses historical token-level judgments collected through a graphical interface for an Overpass parser. Such research asks how past feedback can improve future predictions. The present paper instead asks how to use a corrective message immediately on the query under discussion. The distinction is about the target of the feedback, not whether training is involved anywhere in the system.

Other interactive parsers let users manipulate graphical representations or answer restricted questions. The authors describe systems that ask pre-defined multiple-choice questions about selected error types, as well as Model-based Interactive Semantic Parsing with its yes-or-no decisions about query components. These interfaces constrain the form of the human contribution. Free-form feedback offers a broader channel: the user can describe a missing operation or an incorrect interpretation without choosing from an anticipated menu.

The authors also acknowledge earlier research on correcting semantic structures through natural language. They distinguish their contribution through complex SQL, multiple database domains, reference queries paired with the corrections, and evidence that the mistaken interpretation helps. The novelty is therefore not a claim that nobody had considered language-based correction. It is a particular task and dataset designed to test that idea in cross-domain database querying.

Conversation, clarification, and correction

SParC and CoSQL address sequences of related database questions. Their conversational context can help interpret an utterance that depends on what came before. SPLASH asks for a different relationship between turns: the later utterance comments on the correctness of the earlier interpretation.

That difference affects what a system must infer. In an ordinary continuation, the user may be requesting another result. In correction, the user is pointing to a defect in the current query. A repair system must connect the message to that defect and decide how to change the structure. Simply having experience with multiple conversational turns does not guarantee this ability, as the transfer experiments later show.

Clarifying questions form another neighboring area. A system can ask the user for missing information or resolve an ambiguous request before committing to an interpretation. The authors recognize these uses of interaction but focus their task on correcting a parse of a request treated as fully specified. Their experiments therefore do not evaluate a general dialogue policy that decides when to clarify, when to execute, or when to ask whether an answer is acceptable.

The method, step by step

The work contains both a data-construction method and a set of correction approaches. The data procedure produces aligned examples of an initial request, an unsuccessful query, and human advice about repairing it. The reference systems then test how much of that advice can be turned into a correct query. Keeping these contributions distinct helps explain the paper: the explanation framework makes feedback collection possible, while the correction systems attempt to use the collected feedback.

Building and using natural language query corrections

The steps in order.

Building and using natural language query correctionsStep 1: Select questions and schemas from Spider1. Select questions and schemas from SpiderStep 2: Generate mistaken queries with Seq2Struct2. Generate mistaken queries with Seq2StructStep 3: Explain supported queries through templates3. Explain supported queries through templatesStep 4: Collect human judgments and corrections4. Collect human judgments and correctionsStep 5: Paraphrase feedback to vary its wording5. Paraphrase feedback to vary its wordingStep 6: Train systems to revise mistaken queries6. Train systems to revise mistaken queriesStep 7: Compare repaired queries with reference queries7. Compare repaired queries with reference queries

Define the correction task

Each example begins with a natural language question, denoted q. The database schema is s. Here, a schema contains the tables, their columns, and information about primary and foreign keys. Primary and foreign keys identify the connections the parser can use when relating information across tables.

The initial query is p′. It is the interpretation that the first parser produced and that the correction task treats as mistaken. The human feedback is f, a natural language message about that query. The reference query is p, also called the gold parse. Training examples supply all these elements together.

At evaluation time, the correction system receives q, s, p′, and f. It predicts a repaired query, written p̂. The reference p remains available to the evaluator but is not an input to the repair system. This separation matters because the user’s feedback can describe an edit without spelling out the entire correct query.

The evaluation compares p̂ with p using Spider’s exact set match procedure. The authors describe this as an exact comparison that handles ordering differences. Correction accuracy is the proportion of evaluated examples whose repaired queries pass that comparison. It measures recovery on the correction task, rather than initial parsing quality across every question.

Choose questions with complex structures and unseen databases

Spider supplies the questions and reference SQL. The authors choose it because it combines varied databases with queries that can require joins, nested structures, and other operations beyond simple selection. Their comparison with ATIS and GeoQuery emphasizes scale and domain breadth: Spider spans 200 databases instead of a single database.

The comparison with WikiSQL concerns structural complexity. The paper associates WikiSQL with the dataset line introduced by Seq2SQL, while emphasizing that Spider demands more complex query construction. This makes the correction problem include structural misunderstandings rather than only substitutions in a restricted query form.

Database separation is also central. Testing on databases that were absent during training means the system must interpret new schemas. It cannot solve the task solely by remembering how a particular database was queried in training. SPLASH inherits that concern and organizes its held-out partitions by database where described.

Generate mistakes through Seq2Struct

The authors use Seq2Struct to obtain erroneous queries. The parser combines a grammar-constrained decoding approach with a schema representation based on self-attention. Its decoder draws on A Syntactic Neural Model for General-Purpose Code Generation. The grammar component helps construct structured outputs, while schema encoding represents the database elements relevant to the question.

The paper gives several accuracy figures for Seq2Struct in different contexts. It describes a Spider development result of 42.94%, but explains that the version available when data collection began achieved 41.30%. In the baseline training account, that initial parser is reported at 41.3%. These figures should not be substituted for one another without their context. The collection process and the later description of the parser do not all refer to an identical reported state.

To obtain training-side errors without simply running a parser on its own training examples, the authors train on 80% of Spider’s training data and predict on the remaining 20%. They retain cases in which the prediction fails the reference comparison. They repeat this procedure with different held-out examples, maintaining the database-based split scheme. This produces 3,183 question–mistaken-query pairs.

The collection also uses alternatives from the decoder beam. A beam is a set of candidate outputs retained during search, rather than only the candidate eventually selected. The authors use a beam size of 20. They consider alternatives when the probability gap between the highest-ranked candidate and the next candidate is below 0.2. Such candidates are treated as plausible mistakes because the parser assigned them scores close to its preferred output.

This extension contributes 1,192 additional pairs. The rationale is broader coverage of errors the parser could reasonably produce. It does not make every alternative an observed top-ranked failure, and the distinction is worth retaining. The dataset combines actual initial mistakes with selected plausible alternatives from the search process.

The paper also notes that Seq2Struct later developed into RAT-SQL. That connection explains the evolving parser context. It does not mean SPLASH was constructed from RAT-SQL errors or that RAT-SQL supplies the correction results reported here.

Turn supported SQL into understandable steps

Annotators are not expected to read SQL. The authors therefore build a deterministic explanation procedure around query templates. A template abstracts away the particular literals, table names, column names, aggregation operations, and comparisons. Queries that share an overall structure can then use the same explanation pattern with different schema items inserted.

This approach separates the shape of an operation from its database-specific content. An explanation pattern can describe selection or aggregation while filling in the relevant table and column names for the current query. The resulting explanation is organized as a sequence of operations, making the query’s behavior inspectable without showing its source syntax.

The implementation assumes inner joins. It also assumes that join conditions connect primary and foreign keys through equality. The first assumption holds for the Spider queries described in the paper, while the key-based condition applies to more than 96% of its queries. These are material restrictions on the explanation framework, not general properties of SQL.

Some compound structures are handled compositionally. When subqueries are combined through intersection, union, or except, the procedure explains the constituent queries and then adds a statement about their combination. A limit operation is likewise handled after explaining the underlying query. This avoids requiring an entirely separate explanation pattern for every combination of those features.

The authors select 57 frequent templates from Spider’s training data. Together, these cover 85% of Spider queries. For each, they write an explanation pattern containing steps such as joining, selecting, or aggregating. The system instantiates those patterns for particular queries.

Additional rules compress explanations where SQL semantics permit a simpler description. Ordering followed by a limit can, in the relevant case, be described through an extremum such as the largest or smallest result. This improves readability by expressing the intended operation rather than mechanically narrating syntax.

The explanation remains a representation of the generated query. Its purpose is not to explain the ideal answer or suggest the reference query to the annotator. If the generated query contains a mistake, that mistake must remain visible in the explanation so the person can identify it.

Collect judgments before collecting edits

The annotation interface presents the original question and the generated query’s explanation. It also provides an overview of the database tables, including column names and the first 2 rows as examples. The intended user is someone who can understand what the database contains without being proficient in SQL.

The annotator first decides whether the described procedure answers the question. Only when the interpretation is unsuitable does the annotator write feedback about the needed correction. This ordering serves an important purpose: a query that differs from the reference may still be a valid answer. Collecting a repair automatically for every failed exact comparison would risk treating valid alternatives as errors.

Neither the predicted SQL nor the reference SQL is shown to the annotator in the interface described in the appendix. The person must judge the natural language explanation against the question and the database information. That design tests the explanation channel rather than the worker’s ability to inspect query syntax.

Feedback is limited to 15 tokens. The authors want a targeted description of the required change instead of a fresh account of the entire answer procedure. This restriction gives the messages an edit-oriented character, but also constrains how much a person can explain when the initial query is badly wrong.

A total of 10 annotators participate in feedback collection. They are selected using their performance on other annotation tasks and their command of English, rather than SQL expertise. They receive task guidelines before beginning.

Quality control takes place in batches of around 500 examples. After a batch, the authors inspect samples from each worker. Workers whose contributions are unsuitable are removed, and their annotations are redone. Payment is based on time instead of the number of completed items, a choice intended to favor quality. The reported average annotation time is 6 minutes.

This is a significant part of the method. The dataset is not produced simply by placing a text box beneath a query explanation. It depends on an interface, task instructions, worker selection, manual review, and replacement of inadequate annotations.

Add paraphrases and construct the partitions

A separate group of annotators paraphrases the feedback. The same quality-control approach is used. Paraphrasing expands the range of surface forms associated with corrective meanings, reducing dependence on the original workers’ preferred expressions.

The authors report 5409 annotated examples during collection. Of those, 427 contain correct queries inserted to test whether annotators can recognize an acceptable interpretation. This collection-stage figure is distinct from the final count after filtering and paraphrasing.

The final dataset contains 9,314 question–feedback pairs. Of these, 8352 originate from questions in Spider’s training partition, while 962 originate from its development partition. The latter form SPLASH’s test data.

From the remaining data, the authors reserve 10% for development, splitting by database. The rest is used for training. The distinction between Spider’s partitions and SPLASH’s partitions matters: Spider development questions become correction-test questions, while SPLASH’s development partition is drawn from the Spider-training side.

SPLASH therefore supplies more than isolated feedback sentences. Each correction is tied to the question, schema, unsuccessful query, and reference query needed to train and evaluate a repair system. The public dataset release is one of the paper’s central research outputs.

Establish systems with different access to context

The simplest reference methods do not interpret feedback at all. They discard the highest-ranked query from Seq2Struct’s beam and choose another candidate. The authors examine uniform sampling, sampling weighted by parser scores, and deterministic selection of the next candidate.

These methods test how much correction can be achieved by changing the choice among already generated alternatives. They do not generate a new query from the user’s message. Their performance is necessarily limited by whether a correct candidate exists in the beam.

A handcrafted feedback method also reranks beam candidates, but uses the correction text. For each candidate, it identifies schema items that occur in either that candidate or the original query, but not in both. This represents part of the change between them.

The candidate receives a score based on how many of those changed schema items are mentioned in the feedback. A multiword schema name counts as mentioned when its constituent tokens occur in the message. The method is deliberately simple: it connects words about database elements to differences between query candidates.

This heuristic illustrates a limited but useful form of grounding. It does not fully interpret corrective syntax or reason about every SQL operation. It can nonetheless exploit the relationship between a complaint, the initial query, and a candidate revision.

Adapt Seq2Struct to feedback

Seq2Struct+Feedback starts from the parser trained on Spider. The reported initial training lasts 40,000 steps. The authors then append the feedback to the question and continue training on SPLASH for another 40,000 steps, using the reference query as the target.

The input design is important. This system receives the question, feedback, and schema, but does not receive the mistaken query. It must interpret the combined language and construct the corrected SQL without directly inspecting what the user is criticizing.

That makes it a useful comparison, although it is not an otherwise identical version of EditSQL with one input removed. Its architecture, training procedure, and use of prior SQL differ. The results can support the practical value of retaining the failed interpretation without isolating that input as the only causal difference.

Adapt EditSQL to correction

Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questions provides the second learned approach. EditSQL generates queries in a conversation while retaining access to the previous query and earlier utterances. Its editing mechanism can copy useful material from the earlier SQL.

For SPLASH, the original question becomes the initial utterance and the feedback becomes the following utterance. The authors force the initial query state to be the known mistaken parse. The system then produces the repaired query in response to the feedback.

This forced state is essential. If EditSQL generated its own initial query during correction training, the feedback might refer to a different artifact from the one it was given. Supplying the known failed query keeps the correction message aligned with its intended target.

Training uses both SPLASH and Spider. Spider examples are treated as conversations containing only the original request. For SPLASH examples, the loss excludes prediction of the initial query, because that query is known to be wrong. Training the system to reproduce it would reward the very error the task is designed to repair.

The authors use EditSQL’s default hyper-parameters and SPLASH development data for early stopping. The strongest configuration includes BERT. The paper identifies this configuration as the strongest correction system, while the reported results still show substantial difficulty.

Relate correction accuracy to complete-system accuracy

The paper also estimates performance across the initial parse and a possible repair. Seq2Struct answers the original question first. If that attempt is incorrect and supported feedback is available, the correction system receives the question, mistaken query, and feedback.

The estimate is written as:

(427 + 511 × X / 100) / 1034

Here, X is correction accuracy expressed as a percentage. The value 427 is the count of Spider development questions answered correctly by the initial parser. The value 511 is the number of remaining examples supported by the explanation patterns. The denominator 1034 is the development-set size used in this calculation.

The expression counts initial successes and adds estimated correction successes among supported failures. Dividing by the dataset size gives an estimated overall accuracy. This calculation has narrower conditions than a live deployment result: it assumes the described correction opportunity and does not evaluate an autonomous decision about when feedback should be requested.

Experiments and results

What is being measured

The central metric is correction accuracy on SPLASH test examples. Each example already supplies an unsuccessful query and a human feedback message. The correction system succeeds when its revised SQL passes exact set match against the reference.

This is different from asking how often a database assistant answers an arbitrary new question correctly. The correction test focuses on an already difficult subset: cases selected because the initial interpretation was treated as wrong. Complete-system evaluation must also account for questions that the initial parser answered correctly, failures outside the explanation framework, and the availability of human feedback.

The paper reports such a complete-system estimate through its Spider development calculation. That estimate is useful for understanding how a correction module could contribute after initial parsing. It should not be confused with a direct measurement of a deployed interface operating without reference answers.

The baseline families cover distinct sources of improvement. Alternative-beam selection asks whether another existing candidate is enough. Handcrafted reranking asks whether lexical references to schema changes can help choose a candidate. Seq2Struct+Feedback asks whether adding correction text to the request helps generate SQL. EditSQL+Feedback asks whether a system designed to reuse previous SQL can exploit the failed query and the feedback together.

The strongest result and its interpretation

The abstract reports 25.1% correction accuracy for the strongest system. The experimental discussion identifies BERT-equipped EditSQL+Feedback as the best-performing approach. This establishes that an existing conversational editing architecture can be adapted to natural language repair, but also that most evaluated errors remain unresolved.

The authors draw a further comparison from the baseline ordering: handcrafted reranking, which uses the mistaken query, outperforms Seq2Struct+Feedback, which omits it. That result is informative because it shows how useful explicit access to the criticized artifact can be. A relatively restricted procedure can benefit from information that a more elaborate parser is not given.

The comparison does not establish that lexical matching is generally superior to learned interpretation. The handcrafted method searches only the beam and uses a narrow representation of differences. Its success depends on both the available candidates and the correspondence between feedback wording and schema names.

The paper also reports a reranking upper bound, defined as the fraction of examples whose reference query appears in Seq2Struct’s beam. The concept of that bound matters even without using a numerical value: a method that only rearranges existing candidates cannot recover a correct query that was never generated. A generative correction system is not restricted in precisely that way.

Correction training versus conversational training

The transfer comparison tests EditSQL systems trained on SParC and CoSQL against SPLASH test examples. Their correction accuracies are 3.4% and 3.2%, respectively. Both results are much weaker than the SPLASH-trained correction setting reported in the abstract.

EditSQL training settings on SPLASH, correction accuracy

Training for corrective feedback supports substantially better repair than training for conversational querying alone.

EditSQL training settings on SPLASH, correction accuracyEditSQL trained on SParC: 3.4EditSQL trained on SParC3.4EditSQL trained on CoSQL: 3.2EditSQL trained on CoSQL3.2EditSQL+Feedback with BERT (this paper): 25.1EditSQL+Feedback with BERT (this paper)25.1
The numbers
System or settingcorrection accuracy %
EditSQL trained on SParC3.4
EditSQL trained on CoSQL3.2
EditSQL+Feedback with BERT (this paper)25.1

The comparison supports a task distinction instead of a blanket judgment about conversational SQL systems. SParC and CoSQL provide experience with related questions across a conversation. SPLASH requires interpreting a message as a comment on the correctness of an existing query.

A system can therefore be strong at maintaining conversational context while being weak at repairing a specific failed interpretation. The result argues for correction examples in training and evaluation when repair is part of the intended application. It does not show that conversational training can never contribute when combined with correction-specific supervision.

Evidence that people can use the explanation interface

The annotation checks are important results in their own right. Among examples inserted with correct SQL, annotators identify acceptable interpretations as correct 96.4% of the time. This supports the claim that people without SQL expertise can frequently understand the stepwise explanations well enough to judge them.

The collection also uncovers disagreement between exact matching and human judgment. Annotators mark 279 queries as correct even though those queries fail the reference comparison. Manual inspection finds the annotators’ acceptance justified 95.5% of the time.

The implication is practical and methodological. The explanation interface can reveal that an automatically detected error is actually a valid alternative. A correction dataset needs a mechanism for handling such cases, because otherwise it may teach systems to alter acceptable queries.

These results do not demonstrate flawless explanation comprehension. They show strong performance in the collection setup, with its instructions, schema overview, sample rows, and quality controls. Understanding should be attributed to that combination rather than to short explanations in isolation.

The human estimate

The authors manually categorize feedback in a sample of 200 examples. Complete feedback accounts for 81.5%, partial feedback for 13.5%, and restatements of the question for 5.0%.

Complete feedback is judged to contain enough information to repair the query fully. Partial feedback identifies only some required changes. A restatement expresses the original request differently rather than directly describing an edit.

The paper uses the complete-feedback proportion as an estimate of human correction accuracy. That estimate indicates how often annotators supplied a sufficient repair description under the collection conditions. It is not the measured accuracy of humans independently producing SQL queries.

This qualification affects how the human–system gap should be read. The comparison is compelling evidence of unused information in many feedback messages, but its endpoints come from different procedures. The automated endpoint is exact-match query prediction; the human endpoint is an assessment of whether a feedback message completely specifies a repair.

Correction beyond the original error generator

The authors also test whether SPLASH training helps with mistakes from another parser. EditSQL in its single-turn use is reported at 57.6% on Spider development data. The authors collect feedback for a sample of its unsuccessful predictions.

They begin with 200 examples, but remove 21 after finding that the supposed mistakes are alternative correct queries. The resulting evaluation contains 179 genuine errors. EditSQL+Feedback trained on SPLASH reaches 14.6% correction accuracy on this set.

This demonstrates some usefulness beyond Seq2Struct-generated errors. It is a meaningful extension because the correction system is no longer repairing only the error distribution used for its main dataset.

The result is also limited. It concerns a particular parser, a particular sample, and feedback collected for those mistakes. It does not establish uniform transfer across SQL parsers or error types. The authors’ broader claim is that the dataset construction does not fundamentally depend on Seq2Struct, and this experiment provides evidence for that possibility.

What the ablations show

The paper offers diagnostic comparisons rather than an exhaustive component-by-component ablation suite. These analyses test whether feedback is used, whether ordinary conversational training is sufficient, whether the original failed query is helpful, and whether correction transfers to another parser’s errors.

Shuffling feedback tests its relevance

The clearest intervention changes the relationship between feedback and the rest of the example. The authors shuffle messages across SPLASH test examples, so the correction system still receives feedback-shaped text, but that text no longer corresponds to the query it must repair.

Accuracy falls to 5.6%. This supports the conclusion that EditSQL+Feedback relies on information in the relevant feedback rather than simply exploiting the fact that an extra utterance is present.

The intervention is useful because it preserves broad characteristics of the messages. The language still comes from the same task and collection process. What is broken is the alignment between the message and the mistake.

The result does not reveal exactly how the parser understands corrections. It could use lexical associations, schema references, editing patterns, or a combination of cues. Shuffling shows that relevance matters, but does not separate those mechanisms.

Nor does the result establish that every successful repair requires sophisticated understanding of the corrective instruction. Some repairs may be driven by a recognizable column mention or a familiar edit pattern. The experiment supports use of the feedback channel at the task level, leaving finer analysis of interpretation open.

Retaining the mistaken query is practically valuable

The comparison involving Seq2Struct+Feedback and handcrafted reranking is another diagnostic. The former receives feedback appended to the question but omits the failed SQL. The latter uses differences between the failed SQL and possible replacements.

The authors report that the handcrafted method performs better. This supports their argument that the earlier interpretation is useful evidence. It contains both the context needed to interpret a correction and a substantial amount of potentially reusable structure.

However, the comparison changes more than access to the failed query. It also changes the architecture, search space, and training procedure. It therefore provides practical evidence for a design choice instead of a clean measurement of one input’s isolated contribution.

EditSQL+Feedback combines access to the earlier query with an architecture that can copy from it. The strongest result is consistent with the usefulness of that combination. The paper does not establish how much of the advantage belongs separately to copying, representation quality, BERT, training data, or explicit query access.

Error structure explains why repair is plausible

The authors analyze the distance between predicted and reference SQL using token-level edits. They first find a minimal edit sequence with the Levenshtein algorithm, then merge adjacent operations of the same type into edit segments.

This measurement differs from simply counting every changed token as a separate error. A contiguous replacement can be treated as a segment even when it affects several tokens. The reported result places 78%+ of incorrect queries within an edit-segment distance of 3 or less.

Across edit operations, replacement accounts for 58%, insertion for 31%, and deletion for 11%. Single-token changes account for 68.1% of edits. Among those single-token changes, schema items make up 89.2%, SQL keywords 7.4%, operators 2.2%, and numbers 1.2%.

These distributions explain why short feedback could be useful. Many failures involve choosing or modifying a relatively localized element. A user who understands the desired information can potentially identify the wrong field or missing source without reconstructing the whole query.

The analysis does not imply that all local changes are easy to infer. A schema item can refer to a table or column whose relevance depends on the entire request. The edit representation describes the distance to the reference after the fact; it does not supply the reasoning needed to discover that reference.

Joins and missing information remain important

The authors’ keyword analysis identifies joins as a frequent part of the changes needed for repair. Conditions, aggregation, counting, and distinct selection also appear prominently in their discussion.

A single edit can contain several SQL keywords, so these categories should not be treated as mutually exclusive error counts. The analysis is about which operations appear in changed regions, not a partition in which each failed query belongs to one category.

Feedback inspection reaches a compatible conclusion. Much feedback concerns the information being retrieved, frequently because the query has not included the table containing the desired field. Correcting that omission can require adding a join.

This shows why language about the answer can imply a structural repair. A person may identify missing information without naming the SQL operation needed to obtain it. The correction system must connect the feedback to the schema and infer the necessary query change.

Feedback quality depends on the scale of the mistake

The manually examined sample shows that complete feedback is common, but not universal. The authors observe that partial corrections and question restatements tend to occur when the initial query is farther from the reference.

This relationship makes sense within the task. When much of the interpretation is already suitable, a short message can target the remaining defect. When the interpretation is broadly wrong, the annotator may describe only part of the repair or return to expressing the original need.

The observation also limits how the feedback-length restriction should be understood. Encouraging concise edits works best when a concise edit is enough. A collection designed around short corrections may offer less effective supervision for large structural failures.

The paper does not provide a controlled experiment that varies feedback length while holding errors fixed. Its evidence is an association in the annotated sample, not a measured causal effect of the length limit.

Pattern analysis describes linguistic variety

To examine feedback wording, the authors extract predicates and arguments using a semantic role labeling approach associated with Question-Answer Driven Semantic Role Labeling. They represent arguments through selected content words and normalize detected column references to a common placeholder.

The analysis examines the 60 most frequent patterns. Its purpose is to show recurring corrective operations and variation in how people express them.

The patterns offer an analytical overview of feedback, instead of a definitive grammar, because heuristics guide their extraction. They help characterize the resource, but they are not the representation used by the principal correction system.

Limitations

Limits the authors explicitly identify

The authors state that automated correction remains difficult. Their strongest system repairs only a limited portion of the evaluated failures, despite feedback that is frequently judged sufficient for a complete correction. The paper introduces a challenging task and establishes reference performance; it does not present a dependable solution for every mistaken query.

They also identify improving correction systems as a direction for future research. The results motivate architectures that can connect user language, query structure, and schema relationships more effectively. The existing experiments do not settle which approach would best close the gap.

Another stated direction is learning from accumulated correction logs to improve initial parsing. That is distinct from the immediate repair task demonstrated here. The paper does not show that repeated use of the interface automatically produces a parser that makes fewer future mistakes.

The authors further propose expanding the dataset to include repeated correction turns. SPLASH’s central setup provides an initial interpretation and a feedback message used for repair. It does not establish how a system should manage a longer sequence in which a user revises, confirms, or contradicts earlier feedback.

Explanation coverage restricts the evaluated interaction

A limitation visible in the setup is that the explanation procedure supports selected SQL structures. Its 57 templates cover 85% of Spider queries. Queries outside that coverage cannot automatically be assumed to receive explanations of the same quality.

The join assumptions restrict the framework further. Inner joins and equality-based key connections fit the described dataset well, but SQL allows structures beyond those assumptions. The paper does not establish an explanation method for every valid query.

Coverage matters because feedback depends on what the user can inspect. A repair mechanism that requires a faithful explanation cannot be evaluated independently of whether the explanation framework supports the current query. The complete-system estimate explicitly accounts for supported failures rather than assuming feedback for every initial mistake.

Template explanations also introduce a possible source of error separate from parsing. A user can only correct what the explanation makes understandable. If an explanation hides a consequential operation or encourages the wrong interpretation, useful feedback may become harder to provide. The paper’s annotation checks are reassuring for its setup, but do not establish universal explanation faithfulness or comprehension.

The task begins with unusually helpful conditions

The correction system is given a query already identified as unsuccessful and a feedback message about that query. A deployed system would also need to determine whether a problem occurred, decide whether to request feedback, and make the interaction worthwhile for the user.

The experiments do not evaluate that broader decision process. In particular, they do not show that the system can reliably distinguish a correct answer from a misleading one before the user intervenes.

The complete-system calculation also uses reference-based knowledge about initial success. It is an estimate of what the correction stage contributes under the stated conditions. It does not measure the cost or reliability of recognizing those conditions in everyday use.

Feedback availability is another assumption. Annotation workers are instructed to inspect explanations and write corrections as their task. An ordinary user may have less time, less patience, or less familiarity with the database overview. The paper’s results concern the collected feedback setting, not every possible user population.

Human performance is estimated indirectly

The 81.5% human figure comes from labeling feedback as complete. It is not an exact-match evaluation of SQL written by nonexpert annotators, nor a measured rate of successful user-approved final answers across a full interaction.

This does not make the estimate uninformative. Complete feedback suggests that a repair description exists and that the automated system often fails to exploit available information. But the estimate and the correction accuracy measure different objects.

A stricter human comparison would need a shared success criterion applied to completed repairs. The paper does not report that experiment. Readers should therefore interpret the gap as evidence of headroom, while retaining the distinction between adequate advice and a successfully generated query.

Exact matching does not exhaust correctness

The data collection itself demonstrates a limitation of reference-based matching. Some predictions rejected by the automatic comparison are valid alternatives. Human inspection removes many such cases, but the issue remains relevant to interpreting correction accuracy.

A repaired query can express the intended request through a structure different from the reference. Conversely, a comparison procedure focused on query form does not by itself describe every aspect of user satisfaction or answer usefulness.

The paper uses Spider’s evaluation convention consistently for its principal automated metric. That supports comparison within the task. It does not turn exact set match into a complete account of semantic equivalence.

The false-negative findings also caution against treating every reference mismatch as an opportunity for improvement. A correction system can make an acceptable query worse if it is asked to repair a difference that is merely representational.

The error distribution is historically and technically specific

Most SPLASH errors come from Seq2Struct or selected candidates in its beam. Using actual parser outputs makes the data more realistic than arbitrary corruption, but realism is relative to that parser and its search behavior.

Another system may make different kinds of mistakes, produce different query structures, or fail on a different subset of questions. The additional EditSQL experiment addresses this concern partially by showing correction beyond the original generator.

It does not remove the concern completely. The 179-example evaluation is a limited test on another error source, and its result differs from the main correction setting. The paper cannot establish parser-independent performance across every future system.

The beam augmentation also deserves a precise interpretation. A close-scoring alternative is a plausible output, but it is not necessarily the output a user would have seen. The dataset intentionally broadens the failure collection, while combining observed top-ranked errors with selected alternatives.

Several comparisons leave causal questions open

The best system differs from simpler approaches in several ways. It uses previous SQL, an editing architecture, a particular training mixture, and BERT. The paper’s comparisons establish a useful performance ordering, but do not isolate every contributing factor.

The shuffled-feedback test provides stronger evidence about one issue: relevant feedback matters. It still does not reveal whether the system understands correction compositionally or relies heavily on familiar lexical patterns.

Likewise, poor transfer from SParC and CoSQL supports the need to study correction separately. It does not prove that ordinary conversational data has no value in a combined training strategy. The tested settings answer a narrower question.

Finally, the paper does not report a broad usability study comparing the entire interaction against alternatives such as rephrasing the request or receiving expert assistance. It establishes technical feasibility and a benchmark challenge, while leaving the overall benefit of the interface in practical workflows open.

What came after

The later citation record places this paper near work on prompting, feedback over structured representations, and extended interactions involving tools. Those connections fit its central question: how can a system use language that comments on an earlier attempt? A citation establishes a relationship in the research literature, but does not by itself show that a later work reused SPLASH, adopted the same correction architecture, or reproduced the reported gains.

Unleashing the potential of prompt engineering for large language models cites the paper in a broader prompting context. The relevant conceptual connection is that language can do more than state an initial task: it can guide a system after an unsuccessful interpretation. Speak to your Parser supplies a concrete, structured example of that principle, with a failed query, targeted feedback, and an evaluated repair. The citation alone does not establish which experimental procedure the later work borrowed, so a more specific claim about adoption would go beyond what can be supported.

REFINER: Reasoning Feedback on Intermediate Representations makes the connection to intermediate representations explicit in its title. In Speak to your Parser, SQL occupies that role: it is the inspectable structure between a user’s request and the database’s answer. Feedback is useful because it can refer to decisions inside that structure. The broader idea worth carrying forward is to attach criticism to an artifact that can be revised, rather than treating feedback as an isolated sentence. The later work’s citation links it to this research direction without establishing identical representations, supervision, or evaluation.

MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedback extends the evaluation concern toward interactions involving dialogue, tools, and corrections. Its stated motivation is that a single prompt followed by a single answer does not capture many real uses. Speak to your Parser provides an earlier, tightly specified instance of why that matters: initial failure need not be the final outcome when a user can inspect and correct the attempted interpretation.

The connection to MINT is especially useful for reading the original results correctly. Initial-answer quality and the ability to recover through feedback are separate capabilities. A system can succeed at the former while struggling with the latter, and an evaluation that stops after the initial answer will not measure recovery. SPLASH gives that distinction a concrete form through erroneous SQL and human corrective messages. The later interaction-focused direction broadens the setting, while preserving the need to examine what happens after the first attempt.

Cite

Cite as Ahmed Elgohary, Saghar Hosseini and Ahmed Hassan Awadallah. 2020. Speak to your Parser: Interactive Text-to-SQL with Natural Language Feedback. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2020.acl-main.187 · arXiv 2005.02539

@inproceedings{elgohary2020speak,
  title = {{Speak to your Parser: Interactive Text-to-SQL with Natural Language Feedback}},
  author = {Ahmed Elgohary, Saghar Hosseini and Ahmed Hassan Awadallah},
  booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.187},
  eprint = {2005.02539},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/2020.acl-main.187}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/elgohary-2020-speak-your-parser-interactive-text/

References

47 references, from the paper's own bibliography.

  1. Mohammad Aliannejadi, Hamed Zamani, Fabio Crestani, and W. Bruce Croft. 2019. Asking clarifying questions in open-domain information-seeking conversations. In Proceedings of the ACM SIGIR Conference on Research and Development in Information Retrieval. OpenAlex ↗ · Scholar ↗
  2. Ion Androutsopoulos, Graeme D Ritchie, and Peter Thanisch. 1995. Natural language interfaces to databases–an introduction. Natural language engineering, 1. OpenAlex ↗ · Scholar ↗
  3. Yoav Artzi and Luke Zettlemoyer. 2013. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics. our card
  4. SRK Branavan, David Silver, and Regina Barzilay. 2012. Learning to win by reading manuals in a monte-carlo framework. Journal of Artificial Intelligence Research, 43. OpenAlex ↗ · Scholar ↗
  5. James Clarke, Dan Goldwasser, Ming-Wei Chang, and Dan Roth. 2010. Driving semantic parsing from the world's response. In Conference on Computational Natural Language Learning. OpenAlex ↗ · Scholar ↗
  6. John D Co-Reyes, Abhishek Gupta, Suvansh Sanjeev, Nick Altieri, John DeNero, Pieter Abbeel, and Sergey Levine. 2019. Meta-learning language-guided policy learning. In Proceedings of the International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  7. Edgar F Codd. 1974. Seven steps to rendezvous with the casual user. IBM Corporation. OpenAlex ↗ · Scholar ↗
  8. Van Dang and Bruce W Croft. 2010. Query reformulation using anchor text. In Proceedings of ACM International Conference on Web Search and Data Mining. OpenAlex ↗ · Scholar ↗
  9. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Conference of the North American Chapter of the Association for Computational Linguistics. our card
  10. Izzeddin Gur, Semih Yavuz, Yu Su, and Xifeng Yan. 2018. DialSQL: Dialogue based structured query generation. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  11. Braden Hancock, Antoine Bordes, Pierre-Emmanuel Mazare, and Jason Weston. 2019. Learning from dialogue after deployment: Feed yourself, chatbot! In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  12. Braden Hancock, Paroma Varma, Stephanie Wang, Martin Bringmann, Percy Liang, and Christopher Ré. 2018. Training classifiers with natural language explanations. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  13. Luheng He, Mike Lewis, and Luke Zettlemoyer. 2015. Question-answer driven semantic role labeling: Using natural language to annotate natural language. In Proceedings of Empirical Methods in Natural Language Processing. our card
  14. Luheng He, Julian Michael, Mike Lewis, and Luke Zettlemoyer. 2016. Human-in-the-loop parsing. In Proceedings of Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
  15. Gary G Hendrix, Earl D Sacerdoti, Daniel Sagalowicz, and Jonathan Slocum. 1978. Developing a natural language interface to complex data. ACM Transactions on Database Systems, 3. OpenAlex ↗ · Scholar ↗
  16. Srinivasan Iyer, Ioannis Konstas, Alvin Cheung, Jayant Krishnamurthy, and Luke Zettlemoyer. 2017. Learning a neural semantic parser from user feedback. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  17. Karen Sparck Jones and Julia R Galliers. 1995. Evaluating natural language processing systems: An analysis and review, volume 1083. OpenAlex ↗ · Scholar ↗
  18. Siddharth Karamcheti, Edward Clem Williams, Dilip Arumugam, Mina Rhee, Nakul Gopalan, Lawson L.S. Wong, and Stefanie Tellex. 2017. A tale of two DRAGGNs: A hybrid approach for interpreting action-oriented and goal-oriented instructions. In Proceedings of the First Workshop on Language Grounding for Robotics. OpenAlex ↗ · Scholar ↗
  19. Igor Labutov, Bishan Yang, and Tom Mitchell. 2018. Learning to learn semantic parsers from natural language supervision. In Proceedings of Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
  20. Carolin Lawrence and Stefan Riezler. 2018. Improving a neural semantic parser by counterfactual learning from human bandit feedback. In Proceedings of the Association for Computational Linguistics. our card
  21. Fei Li and HV Jagadish. 2014. Constructing an interactive natural language interface for relational databases. In Proceedings of the VLDB Endowment. OpenAlex ↗ · Scholar ↗
  22. Jiwei Li, Alexander H. Miller, Sumit Chopra, Marc'Aurelio Ranzato, and Jason Weston. 2017a. Dialogue learning with human-in-the-loop. In Proceedings of the International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  23. Jiwei Li, Alexander H. Miller, Sumit Chopra, Marc'Aurelio Ranzato, and Jason Weston. 2017b. Learning through dialogue interactions by asking questions. In Proceedings of the International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  24. Huan Ling and Sanja Fidler. 2017. Teaching machines to describe images via natural language feedback. In Proceedings of Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  25. Ana-Maria Popescu, Oren Etzioni, and Henry Kautz. 2003. Towards a theory of natural language interfaces to databases. In International Conference on Intelligent User Interfaces. OpenAlex ↗ · Scholar ↗
  26. P. J. Price. 1990. Evaluation of spoken language systems: the ATIS domain. In Speech and Natural Language: Proceedings of a Workshop Held at Hidden Valley, Pennsylvania. OpenAlex ↗ · Scholar ↗
  27. Sudha Rao and Hal Daumé III. 2018. Learning to ask good questions: Ranking clarification questions using neural expected value of perfect information. In Proceedings of the Association for Computational Linguistics. our card
  28. Richard Shin. 2019. Encoding database schemas with relation-aware self-attention for text-to-sql parsers. arXiv preprint arXiv:1906.11790. OpenAlex ↗ · Scholar ↗
  29. Shashank Srivastava, Igor Labutov, and Tom Mitchell. 2017. Joint concept learning and semantic parsing from natural language explanations. In Proceedings of Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
  30. Shashank Srivastava, Igor Labutov, and Tom Mitchell. 2018. Zero-shot learning of classifiers from natural language quantification. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  31. Svetlana Stoyanchev, Alex Liu, and Julia Hirschberg. 2014. Towards natural clarification questions in dialogue systems. OpenAlex ↗ · Scholar ↗
  32. Yu Su, Ahmed Hassan Awadallah, Madian Khabsa, Patrick Pantel, and Michael Gamon. 2017. Building natural language interfaces to web apis. In Proceedings of the ACM International Conference on Information and Knowledge Management. OpenAlex ↗ · Scholar ↗
  33. Yu Su, Ahmed Hassan Awadallah, Miaosen Wang, and Ryen W. White. 2018. Natural language interfaces with fine-grained user interaction: A case study on web apis. In Proceedings of the ACM SIGIR Conference on Research and Development in Information Retrieval. OpenAlex ↗ · Scholar ↗
  34. Bailin Wang, Richard Shin, Xiaodong Liu, Oleksandr Polozov, and Matthew Richardson. 2020. RAT-SQL: Relation-aware schema encoding and linking for text-to-sql parsers. In Proceedings of the Association for Computational Linguistics. our card
  35. David H.D. Warren and Fernando C.N. Pereira. 1982. An efficient easily adaptable system for interpreting natural language queries. American Journal of Computational Linguistics, 8. our card
  36. W. A. Woods, Ronald M Kaplan, and Bonnie L. Webber. 1972. The lunar sciences natural language information system: Final report. BBN Report 2378. OpenAlex ↗ · Scholar ↗
  37. Ziyu Yao, Xiujun Li, Jianfeng Gao, Brian Sadler, and Huan Sun. 2019a. Interactive semantic parsing for if-then recipes via hierarchical reinforcement learning. In Association for the Advancement of Artificial Intelligence. OpenAlex ↗ · Scholar ↗
  38. Ziyu Yao, Yu Su, Huan Sun, and Wen-tau Yih. 2019b. Model-based interactive semantic parsing: A unified framework and a text-to-SQL case study. In Proceedings of Empirical Methods in Natural Language Processing. our card
  39. Pengcheng Yin and Graham Neubig. 2017. A syntactic neural model for general-purpose code generation. In Proceedings of the Association for Computational Linguistics. our card
  40. Pengcheng Yin and Graham Neubig. 2019. Reranking for neural semantic parsing. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  41. Tao Yu, Rui Zhang, He Yang Er, Suyi Li, Eric Xue, Bo Pang, Xi Victoria Lin, Yi Chern Tan, Tianze Shi, Zihan Li, et al. 2019a. CoSQL: A conversational text-to-sql challenge towards cross-domain natural language interfaces to databases. In Proceedings of Empirical Methods in Natural Language Processing. our card
  42. Tao Yu, Rui Zhang, Kai Yang, Michihiro Yasunaga, Dongxu Wang, Zifan Li, James Ma, Irene Li, Qingning Yao, Shanelle Roman, Zilin Zhang, and Dragomir Radev. 2018. Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-SQL task. In Proceedings of Empirical Methods in Natural Language Processing. our card
  43. Tao Yu, Rui Zhang, Michihiro Yasunaga, Yi Chern Tan, Xi Victoria Lin, Suyi Li, Heyang Er, Irene Li, Bo Pang, Tao Chen, et al. 2019b. SParC: Cross-domain semantic parsing in context. In Proceedings of the Association for Computational Linguistics. our card
  44. John M. Zelle and Raymond J. Mooney. 1996. Learning to parse database queries using inductive logic programming. In Association for the Advancement of Artificial Intelligence. our card
  45. Luke Zettlemoyer and Michael Collins. 2005. Learning to map sentences to logical form: Structured classiication with probabilistic categorial grammars. In Proceedings of Uncertainty in Artificial Intelligence. OpenAlex ↗ · Scholar ↗
  46. Rui Zhang, Tao Yu, He Yang Er, Sungrok Shim, Eric Xue, Xi Victoria Lin, Tianze Shi, Caiming Xiong, Richard Socher, and Dragomir Radev. 2019. Editing-based sql query generation for cross-domain context-dependent questions. In Proceedings of Empirical Methods in Natural Language Processing. our card
  47. Victor Zhong, Caiming Xiong, and Richard Socher. 2017. Seq2SQL: Generating structured queries from natural language using reinforcement learning. arXiv preprint arXiv:1709.00103. our card