Research map / Large language models / Agents, code and math
ExploraCoder: Advancing Code Generation for Multiple Unseen APIs via Planning and Chained Exploration
Yunkun Wang, Yue Zhang, Zhen Qin, Chen Zhi, Binhua Li, Fei Huang, Yongbin Li, Shuiguang Deng
Zhejiang University · Alibaba Group
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 |
|---|---|---|---|
| add ExploraCoder (planning plus chain-of-API-exploration) over naive RAG | GPT-3.5-turbo-0125 · Torchdata-Manual | pass@10: 1.66% -> 13.84% | Improved |
| add ExploraCoder over naive RAG | GPT-3.5-turbo-0125 · Torchdata-Github | pass@10: 14.67% -> 21.67% | Improved |
| add ExploraCoder over naive RAG | GPT-4-0613 · Torchdata-Manual | pass@1: 1.12% -> 16.49% | Improved |
| add ExploraCoder to API-pretrained model | GPT-4-1106-preview · Torchdata-Manual | pass@1: 0.16% -> 14.62% | Improved |
| add ExploraCoder over naive RAG | GPT-4-0613 · Torchdata-Github | success@1: 29.64% -> 23.10% | Hurt |
| add intermediate self-debug (ExploraCoder* vs ExploraCoder) (ablation) | GPT-3.5-turbo-0125 · Torchdata-Manual | pass@10: 13.84% -> 20.87% | Improved |
| add library in-context learning (few-shot planner and library intro) (ablation) | ExploraCoder* · Torchdata-Manual | pass@10: 14.17% -> 20.87% | Improved |
| add chain-of-API-exploration (CoAE) (ablation) | ExploraCoder* · Torchdata-Manual | pass@1: 1.22% -> 11.5% | Improved |
| add executability-based experience selection instead of random (ablation) | ExploraCoder* · Torchdata-Manual | pass@10: 9.46% -> 20.87% | Improved |
| add executability-based experience selection instead of random (ablation) | ExploraCoder* · Torchdata-Manual | success@10: 26.38% -> 36.81% | Mixed |
| use ExploraCoder instead of ReAct/KnowAgent agentic frameworks | GPT-3.5-turbo-0125 · Torchdata-Manual | pass@10: KnowAgent 11.01% -> ExploraCoder 13.84% | Improved |
| use ExploraCoder (no debug) vs CAPIR + Self-Repair | GPT-3.5-turbo-0125 · Torchdata-Github | pass@10: 21.75% vs 21.67% | No clear effect |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- KnowAgent — KnowAgent: Knowledge-Augmented Planning for LLM-Based Agents (NAACL 2025) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “Lacks early termination, so unsolvable problems keep consuming computation.” → Iterative or multi-step methods cost more tokens, latency and compute. (an open problem in code generation benchmarks)
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
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (ICLR 2024 · similarity 0.87)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.87)
- CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modules (ICLR 2024 · similarity 0.86)
- LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models (NeurIPS 2026 · similarity 0.86)
- Toward Interactive Understanding of Code APIs (NeurIPS 2026 · similarity 0.86)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.86)
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.