The Application of Artificial Intelligence in Software Engineering: An Exploration of the Research Trajectory from Requirements Analysis to Test Optimization
Abstract
In the digital economy, traditional software engineering faces complex needs and fast change, and it often meets risks such as cost overruns and low process efficiency. AI methods, including machine learning and natural language processing, provide strong support for a more intelligent form of development. This paper reviews the path of AI use in software work through literature study and real cases, and it covers tasks from requirement analysis to testing and operation. The findings show a shift from a simple helper to a driver of the whole process, and cases from many fields report higher efficiency and better quality. Yet several problems remain, such as weak model transparency, unstable data, and a lack of skilled staff. It presents a framework and guides firms toward high-quality growth globally.
References
- Chen, M., Tworek, J., Jun, H., Yuan, Q., de Oliveira Pinto, H. P., Kaplan, J., ... & Zaremba, W. (2021). Evaluating large language models trained on code. arXiv preprint arXiv: 2107.03374. https: //arxiv.org/abs/2107.03374
- Brown, T., Mann, B., Ryder, N., Subbiah, M., Kaplan, J. D., Dhariwal, P., ... & Amodei, D. (2020). Language models are few-shot learners. Advances in Neural Information Processing Systems, 33, 1877-1901. https: //proceedings.neurips.cc/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html
- Willems, M. (2025). How Standard Chartered is applying software testing discipline to GenAI. QA Financial. https: //qa-financial.com/how-standard-chartered-is-applying-software-testing-discipline-to-genai/
- Alessio Ferrari, Liping Zhao, and Waad Alhoshan. 2021. NLP for requirements engineering: tasks, techniques, tools, and technologies. In Proceedings of the 43rd International Conference on Software Engineering: Companion Proceedings (ICSE '21). IEEE Press, 322–323. https: //doi.org/10.1109/ICSE-Companion52605.2021.00137
- Lu, S., Guo, D., Ren, S., Huang, J., Svyatkovskiy, A., Blanco, A., ... & Liu, S. (2021). CodeXGLUE: A machine learning benchmark dataset for code understanding and generation. arXiv preprint arXiv: 2102.04664. https: //arxiv.org/abs/2102.04664
- Nijkamp, E., Xie, B., Hayashi, H., Pang, B., Xia, C., Xiong, C., ... & Zhou, Y. (2023). CodeGen2: Lessons for training LLMs on programming languages. arXiv preprint arXiv: 2305.02309. https: //arxiv.org/abs/2305.02309
- Amershi, S., Begel, A., Bird, C., DeLine, R., Gall, H., Kamar, E., ... & Zimmermann, T. (2019). Software engineering for machine learning: A case study. Proceedings of the 41st International Conference on Software Engineering: Software Engineering in Practice, 291-300. https: //ieeexplore.ieee.org/document/8804457
- Yingwei Ma, Rongyu Cao, Yongchang Cao, Yue Zhang, Jue Chen, Yibo Liu, Yuchen Liu, Binhua Li, Fei Huang, and Yongbin Li. 2025. SWE-GPT: A Process-Centric Language Model for Automated Software Improvement. Proc. ACM Softw. Eng. 2, ISSTA, Article ISSTA104 (July 2025), 22 pages. https: //doi.org/10.1145/3728981
- Bender, E. M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021). On the dangers of stochastic parrots: Can language models be too big? Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 610-623. https: //dl.acm.org/doi/10.1145/3442188.3445922
- Lozhkov, A., Li, R., Allal, L. B., Zi, Y., Muennighoff, N., Mou, C., ... & De Vries, H. (2024). StarCoder 2 and The Stack v2: The Next Generation. arXiv preprint arXiv: 2402.19173. https: //arxiv.org/abs/2402.19173
- Chen, Z., Kang, Y., Li, L., Zhang, X., Zhang, H., Xu, H., ... & Wu, R. (2021). Towards intelligent incident management: Why we need it and how we make it. Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 1487-1497. https: //dl.acm.org/doi/10.1145/3368089.3417055
- Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., ... & Sutton, C. (2021). Program synthesis with large language models. arXiv preprint arXiv: 2108.07732. https: //arxiv.org/abs/2108.07732
- Xu, F. F., Alon, U., Neubig, G., & Hellendoorn, V. J. (2022). A systematic evaluation of large language models of code. Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming, 1-10. https: //dl.acm.org/doi/10.1145/3520312.3534862
- Patel, J. S. B. (2025). AI-driven test automation: transforming software quality engineering. Journal of Computer Science and Technology Studies, 7(2), 339–347. https: //doi.org/10.32996/jcsts.2025.7.2.35
- Crudu, V., & Mold Stud Research Team. (2025, August 12). Exploring the impact of AI on financial software testing - revolutionizing the future of fintech. MoldStud. https: //moldstud.com/articles/p-exploring-the-impact-of-ai-on-financial-software-testing-revolutionizing-the-future-of-fintech
- Najmi, A., & El-dosuky, M. A. (2025). Intelligent software testing for test case analysis framework using ChatGPT with natural language processing and deep learning integration. Journal of Computer Science, https: //doi.org/10.3844/jcssp.2025.1140.1155
- Allamanis, M. (2019). The adverse effects of code duplication in machine learning models of code. Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, 143-153.https: //dl.acm.org/doi/10.1145/3359591.3359735
- Pan, S. J., & Yang, Q. (2010). A survey on transfer learning. IEEE Transactions on Knowledge and Data Engineering, 22(10), 1345-1359.https: //ieeexplore.ieee.org/document/5288526
- Sam Lau and Philip Guo. 2023. From "Ban It Till We Understand It" to "Resistance is Futile": How University Programming Instructors Plan to Adapt as More Students Use AI Code Generation and Explanation Tools such as ChatGPT and GitHub Copilot. In Proceedings of the 2023 ACM Conference on International Computing Education Research - Volume 1 (ICER '23), Vol. 1. Association for Computing Machinery, New York, NY, USA, 106–121. https: //doi.org/10.1145/3568813.3600138
- Mittelstadt, B. (2019). Principles alone cannot guarantee ethical AI. Nature Machine Intelligence, 1(11), 501-507.https: //www.nature.com/articles/s42256-019-0114-4
- Jobin, A., Ienca, M., & Vayena, E. (2019). The global landscape of AI ethics guidelines. Nature Machine Intelligence, 1(9), 389-399.https: //www.nature.com/articles/s42256-019-0088-2