Research map / Large language models / Instruction and fine-tuning
CodeExp: Explanatory Code Document Generation
Haotian Cui, Chenglong Wang, Junjie Huang, Jeevana Priya Inala, Todd Mytkowicz, Bo Wang, Jianfeng Gao, Nan Duan
Microsoft · Beihang University · University of Toronto
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
9improved
3hurt
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 |
|---|---|---|---|
| Fine-tune on CodeExp instead of using off-the-shelf model | GPT-Neo13 · CodeExp test set | BLEU: 0.40 -> 10.45 (r+r) | Improved |
| Fine-tune on CodeExp instead of using off-the-shelf model | CodeT5-multi-sum · CodeExp test set | BLEU: 0.21 -> 9.91 (r+r) | Improved |
| Two-stage fine-tuning (raw then refined) instead of refined only (ablation) | CodeT5 · CodeExp test set | BLEU: 8.02 -> 9.91 | Improved |
| Two-stage fine-tuning (raw then refined) instead of refined only (ablation) | CodeT5 · human evaluation (180 examples) | overall human score: 3.446 -> 3.376 | Hurt |
| Fine-tune on refined partition (1/15 size) instead of raw (ablation) | CodeT5 · CodeExp test set | BLEU: 5.39 -> 8.02 | Improved |
| Fine-tune on refined partition instead of raw (ablation) | CodeT5 · CodeExp test set | METEOR: 17.51 -> 24.38 | Improved |
| Fine-tune on refined partition instead of raw (ablation) | CodeT5 · human evaluation | overall human score: 2.614 -> 3.446 | Improved |
| Fine-tune on refined partition instead of raw (ablation) | GPT-2-base · CodeExp test set | BLEU: 4.42 -> 4.26 | Hurt |
| Fine-tune on refined partition instead of raw (ablation) | GPT-Neo13 · CodeExp test set | BLEU: 7.51 -> 7.36 | Hurt |
| Fine-tune on refined partition instead of raw (ablation) | GPT-Neo27 · CodeExp test set | BLEU: 7.72 -> 8.21 | Improved |
| Use fine-tuned CodeT5-(refined) instead of human-written reference | docstring generation · human evaluation Coverage (A2) | A2 coverage: 2.994 -> 3.061 | Improved |
| Use best fine-tuned model instead of Codex (12B) | CodeT5-(refined) · human evaluation | overall human score: 3.319 (Codex-Py2Doc) -> 3.446 | Improved |
Closest papers by meaning
- DocPrompting: Generating Code by Retrieving the Docs (ICLR 2023 · similarity 0.87)
- Do Large Code Models Understand Programming Concepts? Counterfactual Analysis for Code Predicates (ICML 2024 · similarity 0.85)
- Detecting AI-Generated Code Assignments Using Perplexity of Large Language Models (AAAI 2024 · similarity 0.85)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.85)
- Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding? (ICML 2025 · similarity 0.85)
- LLM-Assisted Code Cleaning For Training Accurate Code Generators (ICLR 2024 · 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.
