paper-with-me

Papers

Grammar-based Neural Text-to-SQL Generation

2019-05-30 · Kevin Lin, Ben Bogin, Mark Neumann, Jonathan Berant, Matt Gardner

The sequence-to-sequence paradigm employed by neural text-to-SQL models typically performs token-level decoding and does not consider generating SQL hierarchically from a grammar. Grammar-based decoding has shown significant improvements for other semantic parsing tasks, but SQL and other general programming languages have complexities not present in logical formalisms that make writing hierarchical grammars difficult. We introduce techniques to handle these complexities, showing how to construct a schema-dependent grammar with minimal over-generation. We analyze these techniques on ATIS and Spider, two challenging text-to-SQL datasets, demonstrating that they yield 14--18\% relative reductions in error.

📄 PDF Abstract BibTeX arXiv:1905.13326

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic ParsingText to SQLText-To-SQL

Similar Papers 제목 키워드 기반

XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Models

2024-11-22 · Yixin Dong, Charlie F. Ruan, Yaxing Cai, Ruihang Lai 외

The applications of LLM Agents are becoming increasingly complex and diverse, leading to a high demand for structured outputs that can be parsed into code, structured function calls, and embodied agent commands. These de…

GPU

HyGenar: An LLM-Driven Hybrid Genetic Algorithm for Few-Shot Grammar Generation

2025-05-22 · Weizhi Tang, Yixuan Li, Chris Sypherd, Elizabeth Polgreen 외

Grammar plays a critical role in natural language processing and text/code generation by enabling the definition of syntax, the creation of parsers, and guiding structured outputs. Although large language models (LLMs) d…

Code Generation

Grammar Prompting for Domain-Specific Language Generation with Large Language Models

2023-05-30 · NeurIPS 2023 11 · Bailin Wang, Zi Wang, Xuezhi Wang, Yuan Cao 외

Large language models (LLMs) can learn to perform a wide range of natural language tasks from just a handful of in-context examples. However, for generating strings from highly structured languages (e.g., semantic parsin…

In-Context LearningSemantic ParsingText Generation

Discovering Textual Structures: Generative Grammar Induction using Template Trees

2020-09-09 · Thomas Winters, Luc De Raedt

Natural language generation provides designers with methods for automatically generating text, e.g. for creating summaries, chatbots and game content. In practise, text generators are often either learned and hard to int…

Text Generation

ExplainFuzz: Explainable and Constraint-Conditioned Test Generation with Probabilistic Circuits

2026-04-08 · Annaëlle Baiget, Jaron Maene, Seongmin Lee, Benjie Wang 외 arxiv

Understanding and explaining the structure of generated test inputs is essential for effective software testing and debugging. Existing approaches--including grammar-based fuzzers, probabilistic Context-Free Grammars (pC…