scimeatlas

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

DocCGen: Document-based Controlled Code Generation

Sameer Pimparkhede, Mehant Kammakomati, Srikanth G. Tamilselvam, Prince Kumar, Ashok Pon Kumar, Pushpak Bhattacharyya

EMNLP 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach24 citations (OpenAlex)

IIT Bombay

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
7improved
1no clear effect
3hurt
1mixed

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 changedWhereMeasuredEffect
add schema-based constrained decoding on top of retrieval (IR -> IR+CD) (ablation)StarCoder2 3B · NL to Ansible-YAML OODSchema Correct: 7.47 -> 58.82Improved
add library retrieval with top-1 template constraint (no CD) (ablation)StarCoder2 3B · NL to Bash TLDR OODToken F1: 34.22 -> 41.67Improved
add constrained decoding on top of retrieval (ablation)StarCoder2 7B · NL to Bash TLDR IDToken F1: 54.77 -> 57.64Improved
extended pre-training on man pages / Ansible docs before fine-tuning (ablation)StarCoder2 3B · NL to Bash TLDR OODToken F1 and Exact Match: Token F1 34.22 -> 35.53; Exact Match 4.09 -> 3.38No clear effect
use DocCGen instead of DocPromptingGPT Neo 1.3B · NL to Bash TLDR OODToken F1: 37.24 -> 41.26Improved
retrieve utility descriptions only (1.5k docs) instead of passages with options (400k docs)DocCGen IR stage · NL to Bash TLDR OODCMD Acc (%): 27.59 -> 38.32Improved
fine-tune ColBERTv2 instead of using it zero-shot (ablation)ColBERTv2 retriever · NL to Bash Hits@1, ID vs OODHits@1: ID 53.43 -> 61.62; OOD 38.32 -> 32.21Mixed
use dense ColBERTv2 instead of BM25 (ablation)retriever · NL to Bash TLDR OODHits@1: 14.51 -> 38.32Improved
allow more retrieved templates (k=1 -> 3 -> 10) in constrained decoding (ablation)StarCoder2 3B · NL to Bash TLDR OODCMD Acc (%): 38.32 -> 27.33 -> 25.31Hurt
add constrained decoding on top of retrieval (ablation)CodeLlama 34B 3-shot · NL to Ansible-YAML OODSchema Correct: 13.18 -> 65.72Improved
add retrieval only (no CD) to the base model (ablation)StarCoder2 3B · NL to Ansible-YAML OODAnsible Aware: 5.80 -> 4.08Hurt
replace fine-tuned model by retrieval-constrained model (top-1 library)StarCoder2 7B · NL to Ansible-YAML IDModule Acc (%): 77.95 -> 68.45Hurt

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

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