Research map / Large language models / Language, safety and interpretability
Measuring and Mitigating Constraint Violations of In-Context Learning for Utterance-to-API Semantic Parsing
Shufan Wang, Sébastien Jean, Sailik Sengupta, James Gung, Nikolaos Pappas, Yi Zhang
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
6improved
2no clear effect
3hurt
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 semantic retrieval of demonstrations (SRD, SPIS-5 pool) instead of random sampling | GPT-NeoX-20B ICL · TOPv2 all queries | Exact Match: 22.9 -> 37.7 | Improved |
| use SRD (SPIS-5) instead of random sampling | GPT-NeoX-20B ICL · TOPv2 all queries | C_f violation rate: 9.80 -> 3.49 | Improved |
| increase SRD retrieval pool from SPIS-50 to SPIS-100 (ablation) | SRD · TOPv2 all queries | Exact Match: 44.4 -> 49.6 | Improved |
| increase SRD retrieval pool from SPIS-50 to SPIS-100 (ablation) | SRD · TOPv2 all queries | C_f violation rate: 1.10 -> 1.20 | No clear effect |
| add API-aware constrained decoding (API-CD) | GPT-NeoX-20B ICL with random sampler · TOPv2 all queries | constraint violation rates: C_f 9.80 -> 0.00; C_fa 12.10 -> 0.00 | Improved |
| add API-CD | GPT-NeoX-20B ICL with random sampler · TOPv2 all queries | Exact Match: 22.9 -> 24.2 | Improved |
| add API-CD to SRD + SPIS-5 | SRD · TOPv2 all queries | Exact Match: 37.7 -> 37.7 | No clear effect |
| API-CD decoding latency | GPT-NeoX-20B ICL · TOPv2 all queries | decoding speed: about 20% slower | Hurt |
| use SPIS-1 sampler (covers all functions and arguments) instead of random (ablation) | GPT-NeoX-20B ICL · TOPv2 all queries | C_f violation rate: 9.8 -> 14.8 | Hurt |
| use SPIS-1 sampler instead of random (ablation) | GPT-NeoX-20B ICL · TOPv2 all queries | Exact Match: 22.9 -> 24.0 | Improved |
| compositional vs flat queries | GPT-NeoX-20B ICL random sampler · TOPv2 | Exact Match: 34.7 -> 7.0 | Hurt |
Closest papers by meaning
- BenchCLAMP: A Benchmark for Evaluating Language Models on Syntactic and Semantic Parsing (NeurIPS 2023 · similarity 0.87)
- DocFollow: A Hierarchical Fine-Grained Constraints Following Benchmark in Long Contexts for LLMs (EMNLP 2026 · similarity 0.86)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.86)
- ZEROTOP: Zero-Shot Task-Oriented Semantic Parsing using Large Language Models (EMNLP 2023 · similarity 0.86)
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.86)
- Training with “Paraphrasing the Original Text” Teaches LLM to Better Retrieve in Long-Context Tasks (AAAI 2025 · similarity 0.85)
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.
