Research map / Large language models / Retrieval and knowledge
Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion
Wei Cheng, Yuhan Wu, Wei Hu
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use DraCo dataflow-guided retrieval instead of RepoCoder | StarCoder-15.5B · CrossCodeEval | EM: 29.12 -> 34.67 | Improved |
| use DraCo instead of RepoCoder | SantaCoder-1.1B · CrossCodeEval | EM: 13.62 -> 20.64 | Improved |
| use DraCo instead of RepoCoder | CodeGen-350M · ReccEval | EM: 22.46 -> 22.12 | No clear effect |
| use DraCo instead of RepoCoder | StarCoder-15.5B · ReccEval | EM: 46.26 -> 46.49 | Improved |
| use DraCo instead of RepoCoder | all models, average · CrossCodeEval and ReccEval | EM, ES, ID.EM, F1: +3.43% EM, +1.00% ES, +3.62% ID.EM, +3.27% F1 | Improved |
| add cross-file data dependency relations (cross_df) (ablation) | DraCo, StarCoder-15.5B · CrossCodeEval | EM: 30.73 -> 34.67 | Improved |
| add dataflow analysis of the unfinished code (intra_df) (ablation) | DraCo, CodeGen25-7B · CrossCodeEval | EM: 19.59 -> 24.99 | Improved |
| add dataflow analysis of the unfinished code (intra_df) (ablation) | DraCo, StarCoder-15.5B · CrossCodeEval | EM: 32.35 -> 34.67 | Improved |
| add dataflow analysis (full vs w/o dataflow) (ablation) | DraCo, CodeGen-350M · CrossCodeEval | EM: 10.13 -> 13.02 | Improved |
| use DraCo (w/o dataflow) instead of CCFinder (ablation) | DraCo · CrossCodeEval | accuracy | No clear effect |
| use CCFinder-2 instead of CCFinder-1 (more retrieved entities) | CCFinder, StarCoder-15.5B · CrossCodeEval | EM: 27.99 -> 28.67 | No clear effect |
| use complete scope instead of definition scope in prompts (ablation) | DraCo · CrossCodeEval and ReccEval | accuracy | Improved |
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?
- Multi-step retrieval needs extra LLM calls and slows inference. · 22 papers state it
- Tested on English, or English and one other language, only. · 15 papers state it
- Graphs, trees and memories built by LLMs or parsers pass on their errors. · 12 papers state it
Closest papers by meaning
- RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation (EMNLP 2023 · similarity 0.91)
- ReACC: A Retrieval-Augmented Code Completion Framework (ACL 2022 · similarity 0.90)
- CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion (EMNLP 2025 · similarity 0.90)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.88)
- Hierarchical Context Pruning: Optimizing Real-World Code Completion with Repository-Level Pretrained Code LLMs (AAAI 2025 · similarity 0.88)
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems (ICLR 2024 · similarity 0.86)
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.