Research map / Large language models / Agents, code and math
Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization
Tobias Schnabel, Jennifer Neville
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
5improved
4hurt
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 |
|---|---|---|---|
| optimize prompt with SAMMO for compression | baseline prompt (GPT-4) · Super-NaturalInstructions compression | weighted cost: 13949 -> 8410 (accuracy 0.746 -> 0.736) | Improved |
| optimize prompt with SAMMO for compression | baseline prompt (Llama-2 70B) · Super-NaturalInstructions compression | accuracy: 0.380 -> 0.447 | Improved |
| use GPT-4 Rewrite compression instead of SAMMO | GPT-3.5 · Super-NaturalInstructions compression | accuracy: 0.599 (SAMMO) vs 0.484 | Hurt |
| use APE compression instead of SAMMO | GPT-3.5 · Super-NaturalInstructions compression | accuracy: 0.599 (SAMMO) vs 0.464 | Hurt |
| use SAMMO instead of APE, APO, GrIPS, DSpy COPRO for instruction tuning | backend LLMs (GPT-3.5, Llama-2, Mixtral) · BigBench zero-shot classification (8 tasks) | accuracy | Improved |
| use DSpy COPRO instead of the baseline prompt | baseline prompt · BigBench zero-shot classification | accuracy | Hurt |
| optimize retrieval-augmented prompts with SAMMO | Llama-2 · GeoQuery, SMCalFlow, Overnight | relative accuracy gain: average improvement of 133% | Improved |
| optimize retrieval-augmented prompts with SAMMO | GPT-4 · GeoQuery, SMCalFlow, Overnight | relative accuracy gain: average relative gain of 30% | Improved |
| use DSpy MIPRO instead of SAMMO | retrieval-augmented semantic parsing · GeoQuery, SMCalFlow, Overnight | accuracy | Hurt |
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
- Tree-of-Prompts: Abstracting Control-Flow for Prompt Optimization (ACL 2025 · similarity 0.88)
- Local Prompt Optimization (NAACL 2025 · similarity 0.88)
- ADO: Automatic Data Optimization for Inputs in LLM Prompts (ACL 2025 · similarity 0.88)
- Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimization (NeurIPS 2024 · similarity 0.87)
- Online Prompt Selection for Program Synthesis (AAAI 2025 · similarity 0.87)
- PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMs (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.