Research map / Large language models / Retrieval and knowledge
Retrieval Augmented Code Generation and Summarization
Md Rizwan Parvez, Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, Kai-Wei Chang
Columbia University · University of California, Los Angeles
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
9improved
4no clear effect
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 |
|---|---|---|---|
| augment input with retrieved code (REDCODER) | PLBART · Concode code generation | EM: 18.6 -> 23.4 | Improved |
| augment input with retrieved code (REDCODER) | PLBART · CodeXGLUE Java code generation | BLEU: 10.10 -> 26.92 | Improved |
| augment input with retrieved summaries (REDCODER) | PLBART · CodeXGLUE Java summarization | BLEU-4: 18.45 -> 22.94 | Improved |
| replace BM25 with dense SCODER retriever (ablation) | PLBART generator · CodeXGLUE Java code generation | BLEU: 11.37 -> 26.92 | Improved |
| replace BM25 with dense SCODER retriever (ablation) | PLBART generator · CodeXGLUE Python summarization | BLEU-4: 19.57 -> 21.01 | Improved |
| add paired summaries of retrieved code (REDCODER-EXT) (ablation) | REDCODER · CodeXGLUE Java code generation | EM: 8.95 -> 10.21 | Improved |
| add paired summaries of retrieved code (REDCODER-EXT) (ablation) | REDCODER · Concode code generation | EM: 23.4 -> 23.3 | No clear effect |
| add paired code of retrieved summaries (REDCODER-EXT) (ablation) | REDCODER · CodeXGLUE Python summarization | BLEU-4: 21.01 -> 20.91 | No clear effect |
| keep target code in the retrieval database (ablation) | REDCODER · CodeXGLUE Java code generation | EM: 8.95 -> 29.4 | Improved |
| use bi-encoder SCODER instead of cross-encoder GraphCodeBERT (ablation) | code retriever · CodeXGLUE Python retrieval | MRR: 0.692 -> 0.690 | No clear effect |
| train retriever without BM25 hard negatives (SCODER vs DPR (code)) (ablation) | dense retriever · CodeXGLUE Python retrieval | MRR: 0.398 -> 0.690 | Improved |
| increase number of retrieved candidates (ablation) | REDCODER · code generation and summarization | performance | Improved |
Closest papers by meaning
- PinNet: Pinpoint Instructive Information for Retrieval Augmented Code-to-Text Generation (ICML 2024 · similarity 0.88)
- CodeMMR: Bridging Natural Language, Code, and Image for Unified Retrieval (CVPR 2026 · similarity 0.88)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.87)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.86)
- CHICOT: A Developer-Assistance Toolkit for Code Search with High-Level Contextual Information (AAAI 2024 · similarity 0.85)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · 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.
