pith:I345H75Q
Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning
Seq2SQL translates natural language questions into SQL queries by combining structured generation with reinforcement learning rewards from database executions, reaching 59.4 percent execution accuracy.
arxiv:1709.00103 v7 · 2017-08-31 · cs.CL · cs.AI
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{I345H75Q2A5BN6ZUDPV3VWAOUC}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
By applying policy-based reinforcement learning with a query execution environment to WikiSQL, our model Seq2SQL outperforms attentional sequence to sequence models, improving execution accuracy from 35.9% to 59.4% and logical form accuracy from 23.4% to 48.3%.
That rewards obtained by executing generated queries on the database provide a sufficiently dense and stable training signal for the policy, especially for the unordered components of SQL.
Seq2SQL uses deep learning plus reinforcement learning to generate SQL from natural language, reaching 59.4% execution accuracy on the new WikiSQL dataset of 80k examples.
References
Cited by
Receipt and verification
| First computed | 2026-07-04T22:19:56.633883Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
46f9d3ffb0d03a16fb341bebbad80ea0a47b4062b97061407c38783053958c4b
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/I345H75Q2A5BN6ZUDPV3VWAOUC \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 46f9d3ffb0d03a16fb341bebbad80ea0a47b4062b97061407c38783053958c4b
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "634462eb8ea9f932ce45f70ef44f9c4918af5f660aadc44e312a5c09d7767d75",
"cross_cats_sorted": [
"cs.AI"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.CL",
"submitted_at": "2017-08-31T23:12:15Z",
"title_canon_sha256": "1a5ccd4fc7bdb0c7f10e9cb3ff6460df4ab865e742bccf6b281a0bf23dd02796"
},
"schema_version": "1.0",
"source": {
"id": "1709.00103",
"kind": "arxiv",
"version": 7
}
}