Lifecycle-Aware code generation: Leveraging Software Engineering Phases in LLMs
Not on the map. Why?
Abstract (arXiv)
Recent progress in large language models (LLMs) has advanced automatic code generation, yet most approaches rely on direct, single-step translation from problem descriptions to code, disregarding structured software engineering practices. We introduce a lifecycle-aware framework that systematically incorporates intermediate artifacts such as requirements analysis, state machine modeling, and pseudocode into both the training and inference stages. This design aligns code generation with standard software development phases and enables more structured reasoning. Experiments show that lifecycle-level fine-tuning improves code correctness by up to 75% over the same model before fine-tuning, with performance gains compounding across intermediate stages. Multi-step inference consistently surpasses single-step generation, demonstrating the effectiveness of intermediate scaffolding. Notably, open-source LLMs, once fine-tuned under our framework, match or slightly outperform models pretrained on code. When applied to DeepSeek-Coder-1.3B, our framework yields relative CodeBLEU improvements of 34.3%, 20.0%, 11.2%, and 22.3% over ChatGPT-3.5, ChatGPT-4o-mini, DeepSeek-R1, and LLaMA-8B, respectively. Our pipeline also proves robust with up to 80% less training data, confirming its resilience. Ablation studies further reveal that each intermediate artifact contributes distinctly to final code quality, with state machine modeling yielding the most substantial impact. Our source code and detailed experimental data are available at https://anonymous.4open.science/r/Lifecycle-Aware-3CCB.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 33 of its 57 references that are in the map. First posted on arXiv 28 Oct 2025.
Builds on
33 of 57 references.
References · 33
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024Qwen2 Technical Reportcited by 2,076
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
21 more
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generationcited by 33
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 30
- 2024Agents4PLC: Automating Closed-loop PLC Code Generation and Verification in Industrial Control Systems using LLM-based Agentscited by 25
- 2025AutoP2C: An LLM-Based Agent Framework for Code Repository Generation from Multimodal Content in Academic Paperscited by 18
- 2023ChatCoder: Chat-based Refine Requirement Improves LLMs' Code Generationcited by 13
- 2023Testing LLMs on Code Generation with Varying Levels of Prompt Specificitycited by 12
- 2024Applying RLAIF for Code Generation with API-usage in Lightweight LLMscited by 10
- 2025Enhancing LLM Code Generation with Ensembles: A Similarity-Based Selection Approachcited by 10
- 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Taskscited by 8
- 2025Studying How Configurations Impact Code Generation in LLMs: the Case of ChatGPTcited by 8
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latencycited by 8
- 2024Combining LLM Code Generation with Formal Specifications and Reactive Program Synthesiscited by 7
- 2025Chain-of-Descriptions: Improving Code LLMs for VHDL Code Generation and Summarizationcited by 5
- 2025Code Copycat Conundrum: Demystifying Repetition in LLM-based Code Generationcited by 4
- 2025SysVCoder: An LLM-Driven Framework for Systematic Generation of System-Level Designcited by 4
- 2024An evaluation of LLM code generation capabilities through graded exercisescited by 3
- 2025Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Modelscited by 3
- 2024Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projectscited by 3
- 2025OpenClassGen: A Large-Scale Corpus of Real-World Python Classes for LLM Researchcited by 3
- 2025Empowering AI to Generate Better AI Code: Guided Generation of Deep Learning Projects with LLMscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generation
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
- 2024Planning-Driven Programming: A Large Language Model Programming Workflow
- 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
- 2025A Survey on Code Generation with LLM-based Agents
- 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agents
- 2025Evaluating Large Language Models for Functional and Maintainable Code in Industrial Settings: A Case Study at ASML
- 2025Beyond Code Generation: LLM-supported Exploration of the Program Design Space