[Paper Review] The Current Challenges of Software Engineering in the Era of Large Language Models
This paper identifies 26 key challenges across seven domains of software engineering in the era of large language models (LLM4SE), based on a structured discussion with 24 experts from academia and industry. It maps challenges from requirements and coding to vulnerability management and model training, offering a comprehensive research roadmap for advancing trustworthy, efficient, and reliable LLM-powered software development.
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.
Motivation & Objective
- To systematically identify and categorize the current challenges in integrating large language models (LLMs) into software engineering (LLM4SE) across the software development lifecycle (SDLC).
- To address the growing gap between the rapid adoption of LLMs in software development and the lack of a structured understanding of their limitations and risks.
- To provide a research roadmap and actionable insights for researchers and practitioners aiming to improve the reliability, efficiency, and trustworthiness of LLM-based software engineering.
- To explore challenges in data preparation, model training, evaluation, and deployment specific to LLM4SE, beyond just application-level tasks.
Proposed method
- Conducted a four-hour thematic workshop at the 9th CCF Beautiful Lake Seminars with 24 experts from academia and industry specializing in software engineering and AI.
- Organized discussions into six thematic sessions covering all major SDLC phases: requirements & design, coding assistance, testing, code review, maintenance, and vulnerability management.
- Systematically collected and categorized challenges into seven thematic areas, with emphasis on both application-level and foundational model-level issues.
- Evaluated challenges based on technical, ethical, and practical dimensions, including model hallucination, interpretability, data quality, and system complexity.
- Synthesized findings into a structured list of 26 challenges, with detailed descriptions and examples from real-world LLM4SE applications.
- Proposed a research roadmap highlighting future directions, including improved evaluation frameworks, robustness in dynamic environments, and trustworthiness in critical systems.
Experimental results
Research questions
- RQ1What are the key challenges in applying large language models to each phase of the software development lifecycle (SDLC)?
- RQ2How do issues like model hallucination, data quality, and system complexity affect the reliability and trustworthiness of LLM-generated software?
- RQ3What are the major obstacles in using LLMs for vulnerability detection, root cause analysis, and postmortem fault handling in production systems?
- RQ4How can LLMs be effectively trained and evaluated for software engineering tasks while ensuring interpretability and consistency?
- RQ5What foundational challenges exist in data preparation, model fine-tuning, and evaluation that hinder the adoption of LLM4SE in industrial settings?
Key findings
- A total of 26 key challenges were identified across seven domains of LLM4SE, including issues in requirements specification, code generation, testing, code review, maintenance, vulnerability management, and model training.
- Challenges in code generation include hallucination, lack of semantic alignment between natural language and code, and insufficient reasoning capabilities in LLMs.
- In vulnerability management, challenges include detecting silent fixes, identifying vulnerabilities from issue reports, and ensuring model generalization across diverse codebases.
- For software maintenance, LLMs face difficulties in handling complex service dependencies and interpreting system logs at scale, despite improvements via caching and knowledge augmentation.
- Model reliability is compromised by long inference times, high computational costs, and poor interpretability, especially in fault diagnosis and root cause analysis.
- The study highlights the need for better evaluation frameworks, especially confidence estimation and external knowledge integration, to reduce hallucination and improve trust in LLM4SE outputs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.