Dependency-Guided Code Generation: Structured Matrix Decomposition and Consistency-Guided Refinement
Not on the map. Why?
Abstract (arXiv)
The increasing complexity of modern software systems has made automated code generation a fundamental task in software engineering. However, existing approaches often fail to adequately capture the intricate, multi-level dependencies among code entities, leading to generated code that is logically incomplete or difficult to integrate into real-world systems. To address this limitation, we propose a dependency-aware code generation framework that explicitly models interactions among code entities through a graph-based representation. We decompose dependencies into two complementary components: a quantized matrix that captures strong, explicit relations, and a sparse low-rank factorization that models weaker, implicit interactions. The decomposition is efficiently learned via an alternating optimization procedure. During code generation, the learned dependency structure is incorporated as a constraint, ensuring both semantic coherence and structural consistency of the generated code. Furthermore, we introduce a sparse triplet representation for strong dependencies, significantly improving storage efficiency and computational scalability. Extensive experiments demonstrate that our approach consistently produces code with superior semantic alignment and structural fidelity compared to existing methods.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 52 references that are in the map. First posted on arXiv 18 Jul 2026.
Builds on
32 of 52 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
20 more
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2020IntelliCode Compose: Code Generation Using Transformercited by 225
- 2018Mapping Language to Code in Programmatic Contextcited by 104
- 2022CoCoMIC: Code Completion By Jointly Modeling In-file and Cross-file Contextcited by 64
- 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
- 2024AST-T5: Structure-Aware Pretraining for Code Generation and Understandingcited by 32
- 2021Trust Enhancement Issues in Program Repaircited by 22
- 2024IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generatorscited by 21
- 2025MedConv: Convolutions Beat Transformers on Long-Tailed Bone Density Predictioncited by 16
- 2025PDTrim: Targeted Pruning for Prefill-Decode Disaggregation in Inferencecited by 14
- 2025TrimTokenator-LC: Towards Adaptive Visual Token Pruning for Large Multimodal Models with Long Contextscited by 14
- 2026Multimodal Multi-Agent Empowered Legal Judgment Predictioncited by 14
- 2025MediAug: Exploring Visual Augmentation in Medical Imagingcited by 12
- 2020Better Automatic Program Repair by Using Bug Reports and Tests Togethercited by 10
- 2025PathoHR: Breast Cancer Survival Prediction on High-Resolution Pathological Imagescited by 9
- 2026Probability-Entropy Calibration: An Elastic Indicator for Adaptive Fine-tuningcited by 9
- 2025Can Representation Gaps Be the Key to Enhancing Robustness in Graph-Text Alignment?cited by 8
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2026Missing-by-Design: Certifiable Modality Deletion for Revocable Multimodal Sentiment Analysiscited by 6
Built on by
Not cited yet.