Research map / Large language models / Language, safety and interpretability
FANTAstic SEquences and Where to Find Them: Faithful and Efficient API Call Generation through State-tracked Constrained Decoding and Reranking
Zhuoer Wang, Leonardo F. R. Ribeiro, Alexandros Papangelis, Rohan Mukherjee, Tzu-Yen Wang, Xinyan Zhao, Arijit Biswas, James Caverlee, Angeliki Metallinou
Amazon
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
11improved
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 |
|---|---|---|---|
| add State-tracked Constrained Decoding (greedy) | Alpaca-13B · DSTC8 (two exemplars) | accuracy: 37.63 -> 42.33 | Improved |
| add State-tracked Constrained Decoding (beam) | Alpaca-13B · DSTC8 (two exemplars) | accuracy: 40.49 -> 44.17 | Improved |
| add State-tracked Constrained Decoding (greedy) | Alpaca-13B · API Bank (no exemplars) | accuracy: 24.06 -> 56.64 | Improved |
| add State-tracked Constrained Decoding (beam) | Alpaca-13B · API Bank (no exemplars) | accuracy: 24.31 -> 62.66 | Improved |
| add SCD to fine-tuned 7B model (beam) | AlpDSTC-7B / Lynx-7B · DSTC8 (two exemplars) | accuracy: 47.44 -> 62.78 | Improved |
| add RoBERTa-base reranker to regular beam search (ablation) | Alpaca-13B · DSTC8 (two exemplars) | accuracy: 40.49 -> 46.42 | Improved |
| add RoBERTa-base reranker to regular beam search (ablation) | Alpaca-13B · API Bank (no exemplars) | accuracy: 24.31 -> 33.33 | Improved |
| add reranking on top of SCD beam search (ablation) | Alpaca-13B · API Bank (no exemplars) | accuracy: 62.66 -> 64.41 | Improved |
| add reranking on top of SCD beam search (ablation) | Alpaca-13B · DSTC8 (two exemplars) | accuracy: 44.17 -> 48.88 | Improved |
| use SCD instead of regular greedy search for speed | Alpaca-13B · DSTC8 (two exemplars) | inference time (sec/sample): 5.32 -> 3.42 (x1.56) | Improved |
| use SCD instead of regular beam search for speed | Alpaca-13B · DSTC8 (two exemplars) | inference time (sec/sample): 15.12 -> 6.33 (x2.39) | Improved |
| remove API documentation from prompt (ablation) | regular decoding vs SCD (Alpaca-13B) · DSTC8 | accuracy: GS 37.63 -> 33.74; SCD GS 42.33 -> 40.70 | Hurt |
Closest papers by meaning
- API Pack: A Massive Multi-Programming Language Dataset for API Call Generation (ICLR 2025 · similarity 0.87)
- Reranking Laws for Language Generation: A Communication-Theoretic Perspective (NeurIPS 2024 · similarity 0.85)
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.84)
- TokenSwift: Lossless Acceleration of Ultra Long Sequence Generation (ICML 2025 · similarity 0.84)
- APIGen: Automated PIpeline for Generating Verifiable and Diverse Function-Calling Datasets (NeurIPS 2024 · similarity 0.84)
- Improving Open-Ended Text Generation via Adaptive Decoding (ICML 2024 · similarity 0.84)
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.
