Research map / Large language models / Language, safety and interpretability
Few-Shot Semantic Parsing with Language Models Trained on Code
Richard Shin, Benjamin Van Durme
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
10improved
1no clear effect
2hurt
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 |
|---|---|---|---|
| use Davinci Codex instead of Davinci | constrained canonical-utterance parsing, beam 5 · Overnight Calendar (100 test examples) | accuracy: 0.81 -> 0.86 | Improved |
| use Davinci Codex instead of Davinci | constrained canonical-utterance parsing, beam 5 · SMCalFlow (200 validation examples) | accuracy: 0.340 -> 0.355 | Improved |
| use Cushman Codex instead of Curie | constrained canonical-utterance parsing, beam 5 · Overnight Calendar (100 test examples) | accuracy: 0.66 -> 0.87 | Improved |
| use Cushman Codex instead of Curie | constrained canonical-utterance parsing, beam 5 · SMCalFlow (200 validation examples) | accuracy: 0.260 -> 0.320 | Improved |
| target meaning representations instead of canonical utterances | Davinci · Overnight Calendar (100 test examples) | accuracy: 0.81 -> 0.68 | Hurt |
| target meaning representations instead of canonical utterances | Davinci Codex · Overnight Calendar (100 test examples) | accuracy: 0.86 -> 0.86 | No clear effect |
| target meaning representations instead of canonical utterances | Davinci Codex · SMCalFlow (200 validation examples) | accuracy: 0.355 -> 0.345 | Hurt |
| add grammar-constrained decoding (ablation) | Davinci Codex, meaning representations, beam 5 · Overnight Calendar (100 test examples) | accuracy: 0.80 -> 0.86 | Improved |
| add grammar-constrained decoding (ablation) | Davinci Codex, meaning representations, beam 5 · SMCalFlow (200 validation examples) | accuracy: 0.315 -> 0.345 | Improved |
| use beam search of size 5 instead of greedy decoding (ablation) | Davinci Codex, constrained, meaning representations · Overnight Calendar (100 test examples) | accuracy: 0.75 -> 0.86 | Improved |
| use speculative constrained decoding (W=5 or 10) instead of beam search | Davinci Codex · Overnight Calendar and SMCalFlow | accuracy and items/second: e.g. meaning, W=5, T=1.0: 0.145 vs 0.030 items/s on Overnight Cal. at 0.85 vs 0.86 accuracy | Improved |
| use Codex with speculative decoding (W=10, T=0.5) instead of prior GPT-3 results | canonical-utterance parsing · Overnight (full test set, average of 8 domains) | accuracy: 0.765 -> 0.785 | Improved |
Open problems in text generation and evaluation metrics
Do language, text and evaluation results hold beyond one language, one corpus and one LLM judge?
- Results come from one language, one pair or a few mostly high-resource languages. · 14 papers state it
- Data come from one corpus, genre or platform, so other settings are untested. · 14 papers state it
- LLM judges and LLM labels are used without human checks. · 8 papers state it
Closest papers by meaning
- Constrained Language Models Yield Few-Shot Semantic Parsers (EMNLP 2021 · similarity 0.92)
- On The Ingredients of an Effective Zero-shot Semantic Parser (ACL 2022 · similarity 0.91)
- SEQZERO: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Models (NAACL 2022 · similarity 0.89)
- Leveraging Code to Improve In-Context Learning for Semantic Parsing (NAACL 2024 · similarity 0.89)
- Learning from Executions for Semantic Parsing (NAACL 2021 · similarity 0.89)
- SGL: Speaking the Graph Languages of Semantic Parsing via Multilingual Translation (NAACL 2021 · similarity 0.89)
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.