Research map / Large language models / Language, safety and interpretability
You Only Read Once (YORO): Learning to Internalize Database Knowledge for Text-to-SQL
Hideo Kobayashi, Wuwei Lan, Peng Shi, Shuaichen Chang, Jiang Guo, Henghui Zhu, Zhiguo Wang, Patrick Ng
Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| train on synthetic NLQ-SQL data for each target database (ablation) | YORO (Mistral-7B) · Spider/BIRD train holdout | execution accuracy: 74.1 -> 15.2 without; 44.4 -> 0.37 without | Improved |
| mix original training data with synthetic data (ablation) | YORO (Mistral-7B) · Spider/BIRD train holdout | execution accuracy: 67.9 -> 74.1 (Spider); 37.3 -> 44.4 (BIRD) | Improved |
| include database ID in the prompt (ablation) | YORO (Mistral-7B) · Spider/BIRD train holdout | execution accuracy: 71.3 -> 74.1 (Spider); 41.3 -> 44.4 (BIRD) | Improved |
| train per-database domain experts instead of one model (ablation) | YORO (Mistral-7B) · Spider/BIRD train holdout | execution accuracy: 67.5 -> 74.1 (Spider); 40.5 -> 44.4 (BIRD) | Improved |
| use YORO instead of PICARD input format | LLaMA-7B / Mistral-7B · Spider, KaggleDBQA, BIRD Dev | execution accuracy (micro): +1.9 to +12.0 (Mistral), +6.5 to +18.0 (LLaMA) | Improved |
| use YORO instead of CodeS input format | LLaMA-7B · Spider, KaggleDBQA, BIRD Dev | execution accuracy (micro): 66.9 -> 74.2 (Spider); 27.9 -> 34.2 (KaggleDBQA); 11.7 -> 30.6 (BIRD) | Improved |
| use YORO instead of CodeS input format | Mistral-7B · Spider, KaggleDBQA, BIRD Dev | execution accuracy (micro): 80.2 -> 78.5; 44.5 -> 39.0; 35.7 -> 34.0 | Hurt |
| use YORO instead of CodeS/PICARD on large databases | Mistral-7B · BIRD Dev (>=90 columns) | execution accuracy: 26.1 (CodeS), 18.4 (PICARD) -> 31.6 | Improved |
| add 100 synthetic examples per target database | YORO (Mistral-7B) · Spider, KaggleDBQA, BIRD Dev | execution accuracy: +20.7 to +46.8 points | Improved |
| use LoRA instead of standard fine-tuning (ablation) | YORO · Spider, KaggleDBQA, BIRD Dev | execution accuracy: 78.5 -> 78.1; 39.0 -> 37.5; 34.0 -> 33.8 (Mistral) | Hurt |
| scale LLaMA from 7B to 33B (LoRA) | YORO · Spider, KaggleDBQA, BIRD Dev | execution accuracy: 73.2 -> 74.9; 33.1 -> 36.0; 28.4 -> 32.9 | Improved |
| replace Mistral-7B with LLaMA-7B base | CodeS/PICARD baselines · Spider, KaggleDBQA, BIRD Dev | execution accuracy: e.g. CodeS Spider 80.2 -> 66.9 | Hurt |
Open problems in controlled text generation
How can generation be controlled and checked reliably across languages, domains and model sizes without extra cost?
- Each study covers one domain, source or task, so transfer is unknown. · 13 papers state it
- Only a few languages are tested, mostly English or high-resource ones. · 12 papers state it
- Extra stages, calls or tokens make generation slower and costlier. · 10 papers state it
Closest papers by meaning
- SDE-SQL: Enhancing Text-to-SQL Generation in Large Language Models via Self-Driven Exploration with SQL Probes (ACL 2026 · similarity 0.89)
- Knowledge Base Construction for Knowledge-Augmented Text-to-SQL (ACL 2025 · similarity 0.88)
- ReFSQL: A Retrieval-Augmentation Framework for Text-to-SQL Generation (EMNLP 2023 · similarity 0.88)
- Structure-Guided Large Language Models for Text-to-SQL Generation (ICML 2025 · similarity 0.87)
- CogSQL: A Cognitive Framework for Enhancing Large Language Models in Text-to-SQL Translation (AAAI 2025 · similarity 0.87)
- SQLens: An End-to-End Framework for Error Detection and Correction in Text-to-SQL (NeurIPS 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.