Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Tasks
Not on the map. Why?
Abstract (arXiv)
Recent advances in Large Language Models (LLMs) have shown promise in function-level code generation, yet repository-level software engineering tasks remain challenging. Current solutions predominantly rely on proprietary LLM agents, which introduce unpredictability and limit accessibility, raising concerns about data privacy and model customization. This paper investigates whether open-source LLMs can effectively address repository-level tasks without requiring agent-based approaches. We demonstrate this is possible by enabling LLMs to comprehend functions and files within codebases through their semantic information and structural dependencies. To this end, we introduce Code Graph Models (CGMs), which integrate repository code graph structures into the LLM's attention mechanism and map node attributes to the LLM's input space using a specialized adapter. When combined with an agentless graph RAG framework, our approach achieves a 43.00% resolution rate on the SWE-bench Lite benchmark using the open-source Qwen2.5-72B model. This performance ranks first among open weight models, second among methods with open-source systems, and eighth overall, surpassing the previous best open-source model-based method by 12.33%.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 56 of its 77 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
56 of 77 references.
References · 56
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2017Graph Attention Networkscited by 8,854
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Visual Instruction Tuningcited by 7,792
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
38 more
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023StarCoder: may the source be with you!cited by 790
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2023Large Language Models on Graphs: A Comprehensive Surveycited by 190
- 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
- 2020Machine Learning on Graphs: A Model and Comprehensive Taxonomycited by 156
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
- 2022Repository-Level Prompt Generation for Large Language Models of Codecited by 106
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
- 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 69
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
- 2022CoCoMIC: Code Completion By Jointly Modeling In-file and Cross-file Contextcited by 64
- 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvementcited by 57
- 2024RLCoder: Reinforcement Learning for Repository-Level Code Completioncited by 44
- 2021TreeBERT: A Tree-Based Pre-Trained Model for Programming Languagecited by 40
- 2024GraphCoder: Enhancing Repository-Level Code Completion via Code Context Graph-based Retrieval and Language Modelcited by 40
- 2023MFTCoder: Boosting Code LLMs with Multitask Fine-Tuningcited by 34
- 2024SWE-bench-java: A GitHub Issue Resolving Benchmark for Javacited by 34
- 2022StructCoder: Structure-Aware Transformer for Code Generationcited by 33
- 2024REPOFUSE: Repository-Level Code Completion with Fused Dual Contextcited by 32
- 2024Graph Transformers: A Surveycited by 32
- 2024ContrastRepair: Enhancing Conversation-Based Automated Program Repair via Contrastive Test Case Pairscited by 19
- 2024ComplexCodeEval: A Benchmark for Evaluating Large Code Models on More Complex Codecited by 18
- 2024The Open Source Advantage in Large Language Models (LLMs)cited by 18
- 2024LLoCO: Learning Long Contexts Offlinecited by 16
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2025: 10; 2026: 17.
27 papers.
Sort:
By area:
- 2026Code as Agent Harnesscited by 40
- 2025Process-Centric Analysis of Agentic Software Systemscited by 24
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generationcited by 18
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrievalcited by 7
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCPcited by 6
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Contextcited by 5
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 4
- 2026Reliable Graph-RAG for Codebases: AST-Derived Graphs vs LLM-Extracted Knowledge Graphscited by 4
15 more
- 2026Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistantscited by 4
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 4
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localizationcited by 2
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrievalcited by 2
- 2026Code Isn't Memory: A Structural Codebase Index Inside a Coding Agentcited by 2
- 2026Integrating Graphs, Large Language Models, and Agents: Reasoning and Retrievalcited by 1
- 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenancecited by 0
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localizationcited by 0
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Contextcited by 0
- 2026GraphReview: Scientific Paper Evaluation via LLM-based Graph Evidence Expansioncited by 0
- 2026Enhancing SLMs for Sustainable Code Optimization in Radio-Astronomycited by 0
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0
- 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agentscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworkscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworks1 Oct 2026
- 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agents28 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026Enhancing SLMs for Sustainable Code Optimization in Radio-Astronomy23 Jul 2026
- 2026Code Isn't Memory: A Structural Codebase Index Inside a Coding Agent21 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026GraphReview: Scientific Paper Evaluation via LLM-based Graph Evidence Expansion26 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval8 May 2026
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization4 May 2026
- 2026Integrating Graphs, Large Language Models, and Agents: Reasoning and Retrieval17 Apr 2026
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Context13 Apr 2026
15 more
- 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP28 Mar 2026
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Context28 Feb 2026
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localization14 Feb 2026
- 2026Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistants15 Jan 2026
- 2026Reliable Graph-RAG for Codebases: AST-Derived Graphs vs LLM-Extracted Knowledge Graphs13 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Pooling24 Dec 2025
- 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenance9 Dec 2025
- 2025Process-Centric Analysis of Agentic Software Systems2 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approaches6 Oct 2025
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilities30 Sep 2025
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval27 Sep 2025
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generation19 Sep 2025
- 2026Code as Agent Harnesscited by 40
- 2025Process-Centric Analysis of Agentic Software Systemscited by 24
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCPcited by 6
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 4
- 2026Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistantscited by 4
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 4
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localizationcited by 2
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrievalcited by 2
- 2026Code Isn't Memory: A Structural Codebase Index Inside a Coding Agentcited by 2
12 most cited of 14 All 14 (JSON)
- 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agents28 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026Code Isn't Memory: A Structural Codebase Index Inside a Coding Agent21 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026Code as Agent Harness18 May 2026
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval8 May 2026
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization4 May 2026
- 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP28 Mar 2026
- 2026Repository Intelligence Graph: Deterministic Architectural Map for LLM Code Assistants15 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025Process-Centric Analysis of Agentic Software Systems2 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
12 newest of 14 All 14 (JSON)
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generationcited by 18
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrievalcited by 7
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Contextcited by 5
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
- 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenancecited by 0
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localizationcited by 0
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Contextcited by 0
- 2026GraphReview: Scientific Paper Evaluation via LLM-based Graph Evidence Expansioncited by 0
- 2026Enhancing SLMs for Sustainable Code Optimization in Radio-Astronomycited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworkscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworks1 Oct 2026
- 2026Enhancing SLMs for Sustainable Code Optimization in Radio-Astronomy23 Jul 2026
- 2026GraphReview: Scientific Paper Evaluation via LLM-based Graph Evidence Expansion26 May 2026
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Context13 Apr 2026
- 2026DiagramBank: A Quality-Audited Dataset of Scientific Schematic Diagrams with Multi-Level Document Context28 Feb 2026
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localization14 Feb 2026
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Pooling24 Dec 2025
- 2025Autonomous Issue Resolver: Towards Zero-Touch Code Maintenance9 Dec 2025
- 2025RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval27 Sep 2025
- 2025RPG: A Repository Planning Graph for Unified and Scalable Codebase Generation19 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databases
- 2025GraphCodeAgent: Dual Graph-Guided LLM Agent for Retrieval-Augmented Repo-Level Code Generation
- 2026Effective and Efficient Context Retrieval via Partial Dependency Graph for Repository-Level Code Generation
- 2026ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
- 2025GRACE: Graph-Guided Repository-Aware Code Completion through Hierarchical Code Fusion
- 2026Bridging Code Property Graphs and Language Models for Program Analysis ↗
- 2025Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving