The Current Challenges of Software Engineering in the Era of Large Language Models

Cuiyun Gao, Xing Hu, Shan Gao, Xin Xia, Zhi Jin

Abstract

With the advent of large language models (LLMs) in the artificial intelligence (AI) area, the field of software engineering (SE) has also witnessed a paradigm shift. These models, by leveraging the power of deep learning and massive amounts of data, have demonstrated an unprecedented capacity to understand, generate, and operate programming languages. They can assist developers in completing a broad spectrum of software development activities, encompassing software design, automated programming, and maintenance, which potentially reduces huge human efforts. Integrating LLMs within the SE landscape (LLM4SE) has become a burgeoning trend, necessitating exploring this emergent landscape's challenges and opportunities. This paper revisits the software development life cycle (SDLC) under LLMs, highlighting 26 key challenges across seven critical domains derived from expert consensus between academia and industry.

Introduction

The field of Software Engineering (SE) is currently undergoing a transition from "AI4SE"—the use of traditional machine learning for isolated tasks—to "LLM4SE," where generative models are integrated across the entire lifecycle. While LLMs have shown remarkable success in solving isolated coding puzzles, a significant gap remains between generating a code snippet and maintaining a complex, multi-service industrial system. This paper addresses the lack of a unified understanding of the roadblocks preventing LLMs from becoming truly production-ready, moving beyond the "catfish effect" of sudden disruption toward a robust, reliable engineering paradigm.

The LLM4SE Landscape

The integration of LLMs into software engineering is not a simple replacement of tools but a fundamental restructuring of the Software Development Life Cycle (SDLC). The process typically involves taking general-purpose LLMs and refining them through data construction, fine-tuning techniques, and prompt engineering to serve specific SE tasks.

The overall framework of LLM4SE, illustrating the integration of LLMs across the software development life cycle.

As shown in the framework above, the LLM4SE paradigm spans from initial requirements and design to long-term maintenance and vulnerability management. Each stage presents unique opportunities for automation, such as intelligent Q&A in coding assistance or automated refactoring in code review.

Methodology

This study is a qualitative synthesis based on the "9th CCF Beautiful Lake Seminars," involving 24 experts (17 from academia and 7 from industry). Through six thematic sessions, participants utilized "Transcribing and Coding" (via NVivo software) and "Open Card Sorting" to categorize discussions into a structured set of challenges. This expert-driven approach ensures that the findings reflect both theoretical rigor and practical industrial constraints.

The Proliferation of Code-Centric Models

Since the release of OpenAI's CodeX in 2021, there has been an explosion of models specifically designed for or fine-tuned on programming languages. These models vary significantly in architecture (decoder-only vs. encoder-decoder), parameter scale, and training data size.

A comprehensive list of representative LLMs for software engineering, showing the rapid evolution from 2021 to 2024.

As detailed in the table above, the industry has moved from models with a few billion parameters to massive MoE (Mixture of Experts) architectures like DeepSeek-Code-V2. Despite this growth, the paper notes that high performance on standard benchmarks like HumanEval does not always translate to utility in complex, real-world Integrated Development Environments (IDEs).

Key Challenges Across the SDLC

The study identifies 26 critical challenges categorized into seven domains:

  1. Requirement & Design: Models exhibit high prompt sensitivity and often lack the domain-specific expert knowledge required to bridge the "semantic gap" between natural language and technical specifications.
  2. Coding Assistance: Beyond simple hallucinations, models struggle with emerging or niche languages (e.g., Rust) and lack the project-level context needed for multi-file development.
  3. Testing Code Generation: While LLMs can generate syntactically correct test cases, they struggle to create valid "test oracles" or ensure comprehensive path coverage in complex logic.
  4. Code Review: There is a distinct lack of high-quality, refined review datasets that capture the nuances of security and product viability prioritized in industrial settings.
  5. Software Maintenance: Microservice architectures present a "context trap," where models fail to grasp dynamic dependencies across fragmented systems.
  6. Vulnerability Management: There is a scarcity of high-quality data explaining why a piece of code is vulnerable, leading to models that might replicate security risks found in their training data.
  7. Data, Training, and Evaluation: The high cost of exhaustive training and the saturation of existing benchmarks necessitate new, "project-level" evaluation frameworks.

Conclusion and Future Directions

While LLMs offer a path toward automated software engineering, the current state is hindered by reliability and security concerns. Future research must pivot toward "Project-Level" LLMs capable of maintaining state across thousands of files and "Self-Evolving" models that learn from real-time developer feedback. Moving forward, the goal is to transition from models that merely write code to systems that truly understand the engineering context in which that code resides.

Summary updated

Abstract

With the advent of large language models (LLMs) in the artificial intelligence (AI) area, the field of software engineering (SE) has also witnessed a paradigm shift. These models, by leveraging the power of deep learning and massive amounts of data, have demonstrated an unprecedented capacity to understand, generate, and operate programming languages. They can assist developers in completing a broad spectrum of software development activities, encompassing software design, automated programming, and maintenance, which potentially reduces huge human efforts. Integrating LLMs within the SE landscape (LLM4SE) has become a burgeoning trend, necessitating exploring this emergent landscape's challenges and opportunities. The paper aims at revisiting the software development life cycle (SDLC) under LLMs, and highlighting challenges and opportunities of the new paradigm. The paper first summarizes the overall process of LLM4SE, and then elaborates on the current challenges based on a through discussion. The discussion was held among more than 20 participants from academia and industry, specializing in fields such as software engineering and artificial intelligence. Specifically, we achieve 26 key challenges from seven aspects, including software requirement & design, coding assistance, testing code generation, code review, code maintenance, software vulnerability management, and data, training, and evaluation. We hope the achieved challenges would benefit future research in the LLM4SE field.
BibTeX
@article{gao2025current,
  author = {Cuiyun Gao and Xing Hu and Shan Gao and Xin Xia and Zhi Jin},
  title = {{The Current Challenges of Software Engineering in the Era of Large Language Models}},
  journal = {ACM Trans. Softw. Eng. Methodol},
  year = {2025},
  doi = {10.1145/3712005},
}
Figure