Introduction
Semantic parsing—the task of converting natural language into formal database queries—is a critical component for building intuitive interfaces. Traditionally, this process relies on supervised learning using "gold standard" logical forms, which are expensive to produce and require domain expertise. While weakly supervised methods exist, they still demand significant human effort. Unsupervised approaches have historically struggled to align their internal logic with real-world database schemas.
Grounded Unsupervised Semantic Parsing (GUSP) addresses this by directly "grounding" language in the target database schema. GUSP is the first unsupervised system to achieve performance parity with state-of-the-art supervised models without requiring a single human-annotated example.
Methodology
GUSP treats semantic parsing as a labeling problem over a syntactic dependency tree. Instead of generating an intermediate logical form, it maps nodes and edges directly to semantic states derived from the database schema.
Dependency-to-Semantic Mapping
The process begins with a standard dependency parse of the input sentence. GUSP identifies "lexical triggers"—words that match database entities or values (e.g., "Toronto" matching a city name)—to bootstrap the mapping.
Handling Syntax-Semantics Mismatch
Natural language syntax often diverges from database logic. GUSP introduces three "Complex Semantic States" to bridge this gap:
- Raising: Allows "empty" words (like "get") to pass semantic information from children to parents.
- Sinking: Corrects attachment errors where a word is syntactically linked to the incorrect parent.
- Implicit: Infers entities not explicitly mentioned but required by the logic (e.g., "to Boston" implying a "flight").
The model utilizes a feature-rich version of Expectation-Maximization (EM) to learn the most probable mappings. By factorizing the representation, GUSP enables exact inference in linear time.
Experimental Setup
The system was evaluated on the ATIS (Air Travel Information System) dataset. ATIS is a challenging benchmark featuring irregular language from spoken dialogues and a complex database schema. GUSP was compared against established supervised systems: ZC07 and FUBL.
Results
GUSP achieved a state-of-the-art accuracy of 84% on the ATIS dataset, effectively matching the performance of the best supervised models.
Ablation studies highlighted the importance of the complex semantic states. Removing the "Raising" state alone resulted in an 8% drop in accuracy, demonstrating that managing the syntax-semantics mismatch is vital for real-world application.
Conclusion
GUSP demonstrates that a well-defined database schema provides sufficient structural constraints to guide unsupervised learning. While the system currently relies on high-quality dependency trees, future work may explore joint syntactic-semantic parsing and interactive disambiguation to further improve robustness and handle inherent linguistic ambiguity.
Summary updated