AI Paper Atlas

Research map / Large language models / Agents, code and math

DocPrompting: Generating Code by Retrieving the Docs

ICLR 2023 · Large language models › Agents, code and math · approach: Neural program synthesis and transpilation · 19 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's title only (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 changedWhereMeasuredEffect
Add retrieved documentation to CodeT5 generationCodeT5 · tldr testEM (%): 2.18 -> 9.15Helped
Add retrieved documentation to Codex few-shot promptingCodex 3-shots · tldr testcharBLEU: 16.94 -> 23.72Helped
Add retrieved documentation with oracle command nameCodex 3-shots · tldr testEM (%): 22.44 -> 32.43Helped
Add retrieved documentation to CodeT5 generationCodeT5 · CoNaLa testBLEU: 34.57 -> 36.22Helped
Add retrieved documentation to CodeT5 generationCodeT5 · CoNaLa testRecall unseen: 9.03 -> 18.30Helped
Add retrieved documentation to Codex few-shot promptingCodex 3-shots · CoNaLa testBLEU: 43.16 -> 43.47No clear effect
Use oracle documentation instead of retrieved documentationCodeT5 + DocPrompting · CoNaLa testBLEU: 36.22 -> 49.04Helped
Use oracle documentation instead of retrieved documentationCodex + DocPrompting · CoNaLa testBLEU: 43.47 -> 50.59Helped
Remove weak supervision on the documentation pool (ablation)CodeT5 retriever · CoNaLa devRecall@10: 55.81 -> 29.34Hurt
Remove weak supervision on the documentation pool (ablation)RoBERTa retriever · tldr devRecall@10: 60.33 -> 59.84No clear effect
Use BM25 instead of a trained dense retriever (ablation)Retriever · CoNaLa devRecall@10: 55.81 -> 9.73Hurt
Retrieve more documents (ablation)CodeT5 + DocPrompting · CoNaLaBLEUMixed

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy