HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsing

{Anonymous}

HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsing

Abstract

Recently, context-dependent text-to-SQL semantic parsing which translates natural language into SQL in an interaction process has attracted a lot of attentions. Previous works leverage context dependence information either from interaction history utterances or previous predicted queries but fail in taking advantage of both of them since of the mismatch between the natural language and logic-form SQL. In this work, we propose a History Information Enhanced text-to-SQL model (HIE-SQL) to exploit context dependence information from both history utterances and the last predicted SQL query. In view of the mismatch, we treat natural language and SQL as two modalities and propose a bimodal pre-trained model to bridge the gap between them. Besides, we design a schema-linking graph to enhance connections from utterances and the SQL query to database schema. We show our history information enhanced methods improve the performance of HIE-SQL by a significant margin, which achieves new state-of-the-art results on two context-dependent text-to-SQL benchmarks, the SparC and CoSQL datasets, at the writing time.

Benchmarks

BenchmarkMethodologyMetrics
dialogue-state-tracking-on-cosqlHIE-SQL + GraPPa
interaction match accuracy: 24.6
question match accuracy: 53.9
text-to-sql-on-sparcHIE-SQL + GraPPa
interaction match accuracy: 42.9
question match accuracy: 64.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsing | Papers | HyperAI