AI Paper Atlas

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

EMNLP 2021Large language models › Retrieval and knowledgeapproach: RAG robustness and evaluationopen problems in this approach375 citations (OpenAlex)

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 changedWhereMeasuredEffect
augment input with retrieved code (REDCODER)PLBART · Concode code generationEM: 18.6 -> 23.4Improved
augment input with retrieved code (REDCODER)PLBART · CodeXGLUE Java code generationBLEU: 10.10 -> 26.92Improved
augment input with retrieved summaries (REDCODER)PLBART · CodeXGLUE Java summarizationBLEU-4: 18.45 -> 22.94Improved
replace BM25 with dense SCODER retriever (ablation)PLBART generator · CodeXGLUE Java code generationBLEU: 11.37 -> 26.92Improved
replace BM25 with dense SCODER retriever (ablation)PLBART generator · CodeXGLUE Python summarizationBLEU-4: 19.57 -> 21.01Improved
add paired summaries of retrieved code (REDCODER-EXT) (ablation)REDCODER · CodeXGLUE Java code generationEM: 8.95 -> 10.21Improved
add paired summaries of retrieved code (REDCODER-EXT) (ablation)REDCODER · Concode code generationEM: 23.4 -> 23.3No clear effect
add paired code of retrieved summaries (REDCODER-EXT) (ablation)REDCODER · CodeXGLUE Python summarizationBLEU-4: 21.01 -> 20.91No clear effect
keep target code in the retrieval database (ablation)REDCODER · CodeXGLUE Java code generationEM: 8.95 -> 29.4Improved
use bi-encoder SCODER instead of cross-encoder GraphCodeBERT (ablation)code retriever · CodeXGLUE Python retrievalMRR: 0.692 -> 0.690No clear effect
train retriever without BM25 hard negatives (SCODER vs DPR (code)) (ablation)dense retriever · CodeXGLUE Python retrievalMRR: 0.398 -> 0.690Improved
increase number of retrieved candidates (ablation)REDCODER · code generation and summarizationperformanceImproved

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