scimeatlas

Research map / Large language models / Retrieval and knowledge

Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion

Wei Cheng, Yuhan Wu, Wei Hu

ACL 2024Large language models › Retrieval and knowledgeapproach: Retrieval-augmented reasoningopen problems in this approach94 citations (OpenAlex)

Nanjing University

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

14measured effects
10improved
3no clear effect
1hurt

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
use DraCo dataflow-guided retrieval instead of RepoCoderStarCoder-15.5B · CrossCodeEvalEM: 29.12 -> 34.67Improved
use DraCo instead of RepoCoderSantaCoder-1.1B · CrossCodeEvalEM: 13.62 -> 20.64Improved
use DraCo instead of RepoCoderCodeGen-350M · ReccEvalEM: 22.46 -> 22.12No clear effect
use DraCo instead of RepoCoderStarCoder-15.5B · ReccEvalEM: 46.26 -> 46.49Improved
use DraCo instead of RepoCoderall models, average · CrossCodeEval and ReccEvalEM, ES, ID.EM, F1: +3.43% EM, +1.00% ES, +3.62% ID.EM, +3.27% F1Improved
add cross-file data dependency relations (cross_df) (ablation)DraCo, StarCoder-15.5B · CrossCodeEvalEM: 30.73 -> 34.67Improved
add dataflow analysis of the unfinished code (intra_df) (ablation)DraCo, CodeGen25-7B · CrossCodeEvalEM: 19.59 -> 24.99Improved
add dataflow analysis of the unfinished code (intra_df) (ablation)DraCo, StarCoder-15.5B · CrossCodeEvalEM: 32.35 -> 34.67Improved
add dataflow analysis (full vs w/o dataflow) (ablation)DraCo, CodeGen-350M · CrossCodeEvalEM: 10.13 -> 13.02Improved
use DraCo (w/o dataflow) instead of CCFinder (ablation)DraCo · CrossCodeEvalaccuracyNo clear effect
use CCFinder-2 instead of CCFinder-1 (more retrieved entities)CCFinder, StarCoder-15.5B · CrossCodeEvalEM: 27.99 -> 28.67No clear effect
use complete scope instead of definition scope in prompts (ablation)DraCo · CrossCodeEval and ReccEvalaccuracyImproved

Open problems in retrieval-augmented reasoning

How can retrieval-augmented reasoning cut its extra LLM calls, storage and dependence on retrieval and LLM-built structures?

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