mlsanityData to 14 Oct 2026

Towards an Understanding of Context Utilization in Code Intelligence

arXiv 2504.08734 ↗First posted 11 Apr 2025cs.SE cs.AI cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

Code intelligence is an emerging domain in software engineering, aiming to improve the effectiveness and efficiency of various code-related tasks. Recent research suggests that incorporating contextual information beyond the basic original task inputs (i.e., source code) can substantially enhance model performance. Such contextual signals may be obtained directly or indirectly from sources such as API documentation or intermediate representations like abstract syntax trees can significantly improve the effectiveness of code intelligence. Despite growing academic interest, there is a lack of systematic analysis of context in code intelligence. To address this gap, we conduct an extensive literature review of 146 relevant studies published between September 2007 and August 2024. Our investigation yields four main contributions. (1) A quantitative analysis of the research landscape, including publication trends, venues, and the explored domains; (2) A novel taxonomy of context types used in code intelligence; (3) A task-oriented analysis investigating context integration strategies across diverse code intelligence tasks; (4) A critical evaluation of evaluation methodologies for context-aware methods. Based on these findings, we identify fundamental challenges in context utilization in current code intelligence systems and propose a research roadmap that outlines key opportunities for future research.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 106 of its 241 references that are in the map. First posted on arXiv 11 Apr 2025.

Builds on

106 of 241 references.

References · 106

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  5. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  6. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  8. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  9. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  10. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 282
  11. 2022Efficient Training of Language Models to Fill in the Middlecited by 255
  12. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
38 more
  1. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 183
  2. 2022Multi-lingual Evaluation of Code Generation Modelscited by 159
  3. 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
  4. 2021Retrieval Augmented Code Generation and Summarizationcited by 149
  5. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 145
  6. 2020A Transformer-based Approach for Source Code Summarizationcited by 133
  7. 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 119
  8. 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 112
  9. 2022Repository-Level Prompt Generation for Large Language Models of Codecited by 106
  10. 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
  11. 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 91
  12. 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 91
  13. 2020Retrieval-Augmented Generation for Code Summarization via Hybrid GNNcited by 89
  14. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
  15. 2016Latent Predictor Networks for Code Generationcited by 73
  16. 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
  17. 2023Towards an Understanding of Large Language Models in Software Engineering Taskscited by 68
  18. 2023A Survey of Large Language Models for Code: Evolution, Benchmarking, and Future Trendscited by 66
  19. 2022CoCoMIC: Code Completion By Jointly Modeling In-file and Cross-file Contextcited by 65
  20. 2021Language-Agnostic Representation Learning of Source Code from Structure and Contextcited by 63
  21. 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
  22. 2024Repoformer: Selective Retrieval for Repository-Level Code Completioncited by 55
  23. 2022When Language Model Meets Private Librarycited by 54
  24. 2019JuICe: A Large Scale Distantly Supervised Dataset for Open Domain Context-based Code Generationcited by 49
  25. 2021On the Evaluation of Neural Code Summarizationcited by 48
  26. 2022Compilable Neural Code Generation with Compiler Feedbackcited by 47
  27. 2024Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedbackcited by 46
  28. 2018Retrieval-Based Neural Code Generationcited by 41
  29. 2023RepoFusion: Training Code Models to Understand Your Repositorycited by 40
  30. 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
  31. 2024GraphCoder: Enhancing Repository-Level Code Completion via Code Context Graph-based Retrieval and Language Modelcited by 40
  32. 2020A Survey on Deep Learning for Software Engineeringcited by 38
  33. 2023ToolCoder: Teach Code Generation Models to use API search toolscited by 37
  34. 2024ReposVul: A Repository-Level High-Quality Vulnerability Datasetcited by 36
  35. 2020Improved Automatic Summarization of Subroutines via Attention to File Contextcited by 34
  36. 2021CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Treescited by 32
  37. 2024REPOFUSE: Repository-Level Code Completion with Fused Dual Contextcited by 32
  38. 2021Code Structure Guided Transformer for Source Code Summarizationcited by 30

50 most cited of 106 All 106 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 8.

10 papers.