Research map / Large language models / Agents, code and math
APPL: A Prompt Programming Language for Harmonious Integration of Programs and Large Language Model Prompts
Honghua Dong, Qidong Su, Yubo Gao, Zhaoyu Li, Yangjun Ruan, Gennady Pekhimenko, Chris J. Maddison, Xujie Si
University of Toronto · Vector Institute · CentML · CIFAR
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 |
|---|---|---|---|
| run independent LLM calls in parallel with APPL's automatic asynchronous execution | APPL · CoT-SC with GPT-3.5 | running time (s): 27.6 -> 2.9 (9.49x) | Improved |
| run independent LLM calls in parallel | APPL · CoT-SC with Llama-7b | running time (s): 17.0 -> 1.8 (9.34x) | Improved |
| run independent LLM calls in parallel | APPL · SoT with GPT-3.5 and Llama-7b | running time (s): 227.2 -> 81.2 (GPT-3.5); 272.3 -> 85.9 (Llama-7b) | Improved |
| run independent LLM calls in parallel | APPL · MemWalker with GPT-3.5 | running time (s): 707.6 -> 230.3 (3.07x) | Improved |
| run independent LLM calls in parallel | APPL · MemWalker with Llama-7b | running time (s): 120.6 -> 65.4 (1.84x vs estimated 3.8) | Mixed |
| write the same program in APPL instead of LMQL, SGLang or Guidance | program implementation · CoT-SC, ReAct, SoT, MemWalk | AST-size: CoT-SC 35 vs 57 (LMQL) and 61 (SGLang/Guidance) | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.87)
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets (ICLR 2024 · similarity 0.86)
- What Makes Large Language Models Reason in (Multi-Turn) Code Generation? (ICLR 2025 · similarity 0.86)
- Large Language Models as Tool Makers (ICLR 2024 · similarity 0.85)
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.85)
- When Prompt Engineering Meets Software Engineering: CNL-P as Natural and Robust "APIs'' for Human-AI Interaction (ICLR 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.