HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Natural Language to Structured Query Generation via Meta-Learning

Po-Sen Huang; Chenglong Wang; Rishabh Singh; Wen-tau Yih; Xiaodong He

Natural Language to Structured Query Generation via Meta-Learning

Abstract

In conventional supervised training, a model is trained to fit all the training examples. However, having a monolithic model may not always be the best strategy, as examples could vary widely. In this work, we explore a different learning protocol that treats each example as a unique pseudo-task, by reducing the original learning problem to a few-shot meta-learning scenario with the help of a domain-dependent relevance function. When evaluated on the WikiSQL dataset, our approach leads to faster convergence and achieves 1.1%-5.4% absolute accuracy gains over the non-meta-learning counterparts.

Code Repositories

Microsoft/PointerSQL
Official
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
code-generation-on-wikisqlPT-MAML (Huang et al., 2018)
Exact Match Accuracy: 62.8
Execution Accuracy: 68.0

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