Research map / Large language models / Retrieval and knowledge
Fast and Focused: Interactive Repository-Level Fill-in-the-Middle Code Completion with Hybrid Structural Retrieval
Long S. T. Nguyen, Dat T. Huynh, Quynh T. N. Vo, Dang Le, Cong-Duy Nguyen, Anh Tuan Luu, Anh Nguyen-Duc, Tho T. Quan
VinUniversity · Ho Chi Minh City University of Technology · Vietnam National University Ho Chi Minh City · Japan Advanced Institute of Science and Technology · Nanyang Technological University · University of South-Eastern Norway
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| add syntax-aware post-processing (ablation) | ACAR · ReccEval | ES: 54.28 -> 72.46 | Improved |
| add syntax-aware post-processing (ablation) | ACAR · CrossCodeEval (avg) | ES: 65.40 -> 74.34 | Improved |
| add syntax-aware post-processing (ablation) | ACAR · RepoEval line | ES: 54.65 -> 69.52 | Improved |
| add graph-based retrieval to lexical retrieval (ablation) | ACAR (text-only) · ReccEval | EM: 39.24 -> 42.98 | Improved |
| add lexical retrieval to structural retrieval (ablation) | ACAR (graph-only) · ReccEval | EM: 38.49 -> 42.98 | Improved |
| add graph retrieval to lexical retrieval (ablation) | ACAR (text-only) · CrossCodeEval (avg) | EM: 30.73 -> 32.86 | Improved |
| apply ACAR post-processing to other pipelines | RepoFormer and GraphCoder (DeepSeek) · RepoEval/CrossCodeEval | EM/ES | Mixed |
| use ACAR retrieval instead of standalone generation (small Qwen backbones) | Qwen2.5-Coder 0.5B/3B · RepoEval line and API | EM | Hurt |
| use ACAR with largest Qwen and DeepSeek backbones | Qwen2.5-Coder-7B, DeepSeek-Coder-6.7B · five evaluation settings | EM | Improved |
| use ACAR instead of strongest retrieval baseline | RepoFormer · RepoEval line (3B) | EM: 38.03 (RepoCoder) vs 37.50 | Hurt |
| restrict to records with no detected answer overlap in retrieved context | ACAR (Qwen2.5-Coder-7B) · RepoEval function | EM: 28.57 -> 10.66 | Hurt |
| use ACAR instead of heavier structural/learned retrieval | DRACO, GraphCoder, RLCoder, CodeRAG, CoCoMIC · non-decoding overhead | overhead (ms): 87-95 ms vs about 3.5-26x | Improved |
Open problems this paper states
- “Structural retrieval coverage depends on Tree-sitter parsing and LSP symbol resolution quality, and macros or non-standard syntax may break it.” → Graphs, trees and memories built by LLMs or parsers pass on their errors. (an open problem in retrieval-augmented reasoning)
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
- AIRCoder: Adaptive Integration of Multi-dimensional Retrieval for Repository-level Code Completion (ACL 2026 · similarity 0.92)
- Repoformer: Selective Retrieval for Repository-Level Code Completion (ICML 2024 · similarity 0.91)
- CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion (EMNLP 2025 · similarity 0.91)
- Hierarchical Context Pruning: Optimizing Real-World Code Completion with Repository-Level Pretrained Code LLMs (AAAI 2025 · similarity 0.87)
- RepoBench: Benchmarking Repository-Level Code Auto-Completion Systems (ICLR 2024 · similarity 0.87)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.87)
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.