Explainable large language models for software requirements engineering: a systematic literature review
Abstract
Large language models (LLMs) have become increasingly popular in automating language-dependent software engineering activities especially in requirements engineering (RE) because they have an inherent nature of being language-driven. The increasing popularity of LLMs in software engineering applications has led to lack of clarity and understanding regarding the use of explainability within LLM-based RE solutions. There is no existing literature summarizing their techniques, assessment methodologies, issues, or future research directions. This systematic review aims to explore the state-of-the-art techniques, methodologies, and challenges related to using explainability in LLMs for RE applications. The study followed PRISMA guidelines to identify works published between 2018 and 2026 from seven databases that include Springer, ScienceDirect, IEEE Xplore, ACM Digital Library, Wiley, arXiv, and Google Scholar. This survey considered and synthesized 57 primary sources from the total 487 records. The most investigated areas where LLMs are applicable in RE processes include elicitation, ambiguity detection, and traceability. The approaches used for explaining the models are mainly based on prompts and post-hoc methods that do not use any formal approach. In terms of evaluation, task performance-related measures exist but neither of the approaches evaluates the quality of explanations provided by LLMs nor are there any benchmark sets. The challenges related to RE using LLMs include hallucinations, lack of explainability, absence of human-centered design approaches, and unsolved ethical issues. In conclusion, explainability appears to be treated as an afterthought and not as a core element for designing LLM-based RE.
Received 11 June 2026
Accepted 28 August 2026
Published 17 September 2026
Keywords
Full Text:
PDFReferences
S. Rasnayaka, G. Wang, R. Shariffdeen, and G. N. Iyer, “An Empirical Study on Usage and Perceptions of LLMs in a Software Engineering Project,” in 1st International Workshop on Large Language Models for Code (LLM4Code ’24), New York, NY, USA: Association for Computing Machinery (ACM), Apr. 2024, pp. 111–118.
C. Ellsel and R. Stark, “Advancing Requirements Engineering With Large Language Models,” Procedia CIRP, vol. 136, pp. 701–706, 2025, doi: 10.1016/j.procir.2025.08.120.
N. Alturayeif, I. Ahmad, and J. Hassine, “TraceLLM: Leveraging Large Language Models With Prompt Engineering for Enhanced Requirements Traceability,” Feb. 01, 2026. doi: 10.1007/s00766-026-00460-1.
S. Bashir et al., “Requirements Ambiguity Detection and Explanation With LLMS: An Industrial Study,” in 41st IEEE International Conference on Software Maintenance and Evolution (ICSME 2025), Auckland, New Zealand: IEEE, Sep. 2025, pp. 620–631.
Z. Yang, Z. Sun, T. Zhuo Yue, P. Devanbu, and D. Lo, “Robustness, Security, Privacy, Explainability, Efficiency, and Usability of Large Language Models for Code,” Mar. 12, 2024. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2403.07506v1
A. Vitale, K.-N. Nguyen, D. Poshyvanyk, R. Oliveto, S. Scalabrino, and A. Mastropaolo, “Toward Explaining Large Language Models in Software Engineering Tasks,” Dec. 23, 2025. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2512.20328v1
S. T. U. Shah, A. Barcomb, and H. Leung, “EQDAT-RE: An Explainable Qualitative Data Analysis for Transparent Requirements Engineering,” in 2025 IEEE Smart World Congress (SWC), Calgary, AB, Canada: IEEE, Aug. 2025, pp. 1328–1335.
A. Hemmat, M. Sharbaf, S. Kolahdouz-Rahimi, K. Lano, and S. Y. Tehrani, “Research Directions for Using LLM in Software Requirement Engineering: A Systematic Review,” Frontiers in Computer Science, vol. 7, Mar. 2025, doi: 10.3389/fcomp.2025.1519437.
X. Hou et al., “Large Language Models for Software Engineering: A Systematic Literature Review,” ACM Transactions on Software Engineering and Methodology, vol. 33, no. 8, pp. 1–79, Nov. 2024, doi: 10.1145/3695988.
M. Amin Zadenoori, J. Dąbrowski, W. Alhoshan, L. Zhao, and A. Ferrari, “Large Language Models (LLMs) for Requirements Engineering (RE): A Systematic Literature Review,” Sep. 14, 2025. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2509.11446v1
A. Adadi and M. Berrada, “Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI),” IEEE Access, vol. 6, pp. 52138–52160, Oct. 2018, doi: 10.1109/access.2018.2870052.
A. B. Arrieta et al., “Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges Toward Responsible AI,” Information Fusion, vol. 58, no. 1, pp. 82–115, Jun. 2020, doi: https://doi.org/10.1016/j.inffus.2019.12.012.
L. Chazette, W. Brunotte, and T. Speith, “Explainable Software Systems: From Requirements Analysis to System Evaluation,” Requirements Engineering, vol. 27, no. 4, pp. 457–487, Nov. 2022, doi: 10.1007/s00766-022-00393-5.
L. Chazette and K. Schneider, “Explainability as a Non-Functional Requirement: Challenges and Recommendations,” Requirements Engineering, vol. 25, no. 4, pp. 493–514, Jun. 2020, doi: 10.1007/s00766-020-00333-1.
C. Tantithamthavorn, J. Jiarpakdee, and J. Grundy, “Explainable AI for Software Engineering,” Dec. 03, 2020. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2012.01614v1
J. A. Khan, S. Qayyum, and H. S. Dar, “Large Language Model for Requirements Engineering: A Systematic Literature Review,” Research Square (Research Square), vol. 4, Mar. 2025, doi: 10.21203/rs.3.rs-5589929/v1.
H. Cheng et al., “Generative AI for Requirements Engineering: A Systematic Literature Review,” Software Practice and Experience, vol. 56, no. 2, pp. 141–170, Nov. 2025, doi: 10.1002/spe.70029.
C. Arora, J. Grundy, and M. Abdelrazek, “Advancing Requirements Engineering Through Generative AI: Assessing the Role of LLMs,” Oct. 21, 2023. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2310.13976v2
A. A. Magableh, “Towards Leveraging Explainable Artificial Intelligent (XAI) in Requirements Engineering (RE) to Identify Aspect (Crosscutting Concern): A Systematic Literature Review (SLR) and Bibliometric Analysis,” in International Conference on Information Technology: Cybersecurity Challenges for Sustainable Cities (ICIT), IEEE, Aug. 2023, pp. 319–326.
L. Zhao et al., “Natural Language Processing for Requirements Engineering,” ACM Computing Surveys, vol. 54, no. 3, pp. 1–41, Apr. 2021, doi: 10.1145/3444689.
S.-C. Necula, F. Dumitriu, and V. Greavu-Șerban, “A Systematic Literature Review on Using Natural Language Processing in Software Requirements Engineering,” Electronics, vol. 13, no. 11, p. 2055, Jan. 2024, doi: 10.3390/electronics13112055.
A. H. Mohammadkhani, B. N. Sai, M. Daboussi, O. Sabnis, C. Tantithamthavorn, and H. Hemmati, “A Systematic Literature Review of Explainable AI for Software Engineering,” arXiv.org, 2023, Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2302.06065
S. Cao et al., “A Systematic Literature Review on Explainability for Machine/Deep Learning-Based Software Engineering Research,” Jan. 26, 2024. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2401.14617v2
N. Van Viet and N. T. Vinh, “Large Language Models in Software Engineering,” Journal of Education For Sustainable Innovation, vol. 2, no. 2, pp. 146–156, Dec. 2024, doi: 10.56916/jesi.v2i2.968.
Z. Zheng et al., “Towards an Understanding of Large Language Models in Software Engineering Tasks,” Empirical Software Engineering, vol. 30, no. 2, Dec. 2024, doi: 10.1007/s10664-024-10602-0.
I. Udousoro, “Effective Requirement Engineering Process Model in Software Engineering,” Software Engineering, vol. 8, no. 1, pp. 1–5, 2020, doi: 10.11648/j.se.20200801.11.
S. Veena, N. A. S. Vinoth, A. M. Nancy, G. S. Kumar, and R. T. Teja, “Effective System for Software Requirement Management,” in AIP Conference Proceedings, American Institute of Physics Inc, 2020, p. 240010.
I. M. Siddique, “Requirements Engineering at a Turning Point: Key Research Trends Shaping the Future of Systems and Software Integration,” Journal of Geotechnical Studies, vol. 9, no. 3, pp. 37–49, Oct. 2024, doi: 10.46610/jogs.2024.v09i03.005.
S. Bin Basri, G. Kumar, F. F. Fahrurazi, P. Emieldza Balqis Azmi, A. O. Balogun, and H. Mamman, “Current Trend of Software Requirement Engineering Process in IT Small and Medium Enterprises (SMEs)-a Systematic Literature Review,” in 13th International Conference on Information Technology in Asia (CITA), Institute of Electrical and Electronics Engineers Inc, Aug. 2023, pp. 82–87.
K. Ronanki, S. Arvidsson, and J. Axell, “Prompt Engineering Guidelines for Using Large Language Models in Requirements Engineering,” arXiv.org. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2507.03405
M. Ebrahim, S. Guirguis, and C. Basta, “Enhancing Software Requirements Engineering With Language Models and Prompting Techniques: Insights From the Current Research and Future Directions,” in 63rd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop), Association for Computational Linguistics, Jan. 2025, pp. 486–496. Accessed: Sep. 07, 2026. [Online]. Available: https://aclanthology.org/2025.acl-srw.31/?utm_source=chatgpt.com
H. Saeeda, J. Dong, Y. Wang, and M. A. Abid, “A Proposed Framework for Improved Software Requirements Elicitation Process in SCRUM: Implementation by a Real‐Life Norway‐Based IT Project,” Journal of Software: Evolution and Process, no. 7, Feb. 2020.
M. A. Sami, Z. Rasheed, M. Waseem, Z. Zhang, T. Herda, and P. Abrahamsson, “Prioritizing Software Requirements Using Large Language Models,” arXiv (Cornell University), Apr. 2024, doi: 10.48550/arxiv.2405.01564.
C. Almeida et al., “From Elicitation Interviews to Software Requirements: Evaluating LLM Performance in Requirement Generation,” in Proceedings of the 28th Workshop on Requirements Engineering (WER2025), Rio de Janeiro, Brazil: WER / Brazilian software engineering community, 2025.
M. K. Habib, D. Graziotin, and S. Wagner, “ReqBrain: Task-Specific Instruction Tuning of LLMs for AI-Assisted Requirements Generation,” May 23, 2025. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2505.17632v1
Z. Wang, C. Feng, L. Liu, G. Jiao, and P. Ye, “The Application of LLMs in the Analysis and Modeling of Software Requirements,” in 2024 IEEE 24th International Conference on Software Quality, Reliability, and Security Companion (QRS-C), IEEE, Jul. 2024, pp. 1143–1153.
G. Rejithkumar and P. R. Anish, “NICE: Non-Functional Requirements Identification, Classification, and Explanation Using Small Language Models,” in 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), Ottawa: IEEE, Apr. 2025, pp. 284–295.
R. Feldt and R. Coppola, “Semantic API Alignment: Linking High-Level User Goals to APIs,” May 07, 2024. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2405.04236v1
A. Ferrari, S. Abualhaija, and C. Arora, “Model Generation With LLMs: From Requirements to UML Sequence Diagrams,” in 32nd IEEE International Requirements Engineering Conference Workshops, REW 2024, IEEE, Jun. 2024, pp. 291–300. Accessed: Sep. 07, 2026. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10628665
D. Xie et al., “How Effective Are Large Language Models in Generating Software Specifications?,” in 2025 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER), Mar. 2025, pp. 1–12. Accessed: Sep. 07, 2026. [Online]. Available: https://doi.org/10.1109/SANER64311.2025.00014
M. Roy, N. Deb, A. Cortesi, and N. Chaki, “Mapping System Requirements to Emotional Impact: A Semi-Automated Approach,” Innovations in Systems and Software Engineering, vol. 21, no. 4, pp. 1521–1542, Aug. 2025, doi: 10.1007/s11334-025-00618-0.
P. P. Angelov, E. A. Soares, R. Jiang, N. I. Arnold, and P. M. Atkinson, “Explainable Artificial Intelligence: An Analytical Review,” WIREs Data Mining and Knowledge Discovery, vol. 11, no. 5, Jul. 2021, doi: 10.1002/widm.1424.
V. Chamola, V. Hassija, A. R. Sulthana, D. Ghosh, D. Dhingra, and B. Sikdar, “A Review of Trustworthy and Explainable Artificial Intelligence (XAI),” IEEE Access, vol. 11, pp. 78994–79015, 2023, doi: 10.1109/ACCESS.2023.3294569.
A. Singhal, P. Pratap, K. K. Dixit, and K. Kathuria, “Advancements in Explainable AI: Bridging the Gap Between Model Complexity and Interpretability,” in 2024 2nd International Conference on Disruptive Technologies, ICDT 2024, Institute of Electrical and Electronics Engineers Inc, Mar. 2024, pp. 675–680. Accessed: Sep. 07, 2026. [Online]. Available: https://ieeexplore.ieee.org/document/10489277
Y. V. Shankheshwaria and D. B. Patel, “Explainable AI in Machine Learning: Building Transparent Models for Business Applications,” Frontiers in Emerging Artificial Intelligence and Machine Learning, vol. 02, no. 08, pp. 08–15, Aug. 2025, doi: 10.37547/feaiml/volume02issue08-02.
L. Petrillo, F. Martinelli, A. Santone, and F. Mercaldo, “Explainable Security Requirements Classification Through Transformer Models,” Future Internet, vol. 17, no. 1, p. 15, Jan. 2025, doi: 10.3390/fi17010015.
G. C. Publio and J. E. L. Gayo, “xpSHACL: Explainable SHACL Validation Using Retrieval-Augmented Generation and Large Language Models,” Jul. 11, 2025. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2507.08432v1
M. Obaidi et al., “How to Elicit Explainability Requirements? A Comparison of Interviews, Focus Groups, and Surveys,” in Proceedings of the IEEE International Conference on Requirements Engineering, IEEE Computer Society, Sep. 2025, pp. 167–178. Accessed: Sep. 07, 2026. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/11190364?casa_token=a6wNG5IS4NIAAAAA:SeAphJw4E7r6Gf18tNxgbUyBNawoQKwV2clEeyhRPlmHjfxqv84Z7sAktswtcB_wje3D9_RW23s
M. Obaidi et al., “Automatic Generation of Explainability Requirements and Software Explanations From User Reviews,” in 2025 IEEE 33rd International Requirements Engineering Conference Workshops (REW), IEEE, Jul. 2025. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2507.07344v1
A. Kleijwegt, S. G. Yaman, and R. Calinescu, “Tool for Supporting Debugging and Understanding of Normative Requirements Using LLMs,” pp. 576–579, Sep. 2025, doi: 10.1109/re63999.2025.00068.
H. Deters, J. Droste, M. Fechner, and J. Klünder, “Explanations on Demand - a Technique for Eliciting the Actual Need for Explanations,” in 2023 IEEE 31st International Requirements Engineering Conference Workshops (REW), Institute of Electrical and Electronics Engineers Inc, Sep. 2023, pp. 345–351.
M. Krishna, B. Gaur, A. Verma, and P. Jalote, “Using LLMs in Software Requirements Specifications: An Empirical Evaluation,” pp. 475–483, Jun. 2024, doi: 10.1109/re59067.2024.00056.
J. J. Norheim, E. Rebentisch, D. Xiao, L. Draeger, A. Kerbrat, and O. L. de Weck, “Challenges in Applying Large Language Models to Requirements Engineering Tasks,” Design Science, vol. 10, no. 16, 2024, doi: 10.1017/dsj.2024.8.
C. Hymel and H. Johnson, “Analysis of LLMs Vs Human Experts in Requirements Engineering,” arXiv.org. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2501.19297
H. Jin and H. Chen, “Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specifications,” in 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE), Nov. 2025, pp. 3819–3823. Accessed: Sep. 07, 2026. [Online]. Available: https://www.researchgate.net/publication/394540800_Uncovering_Systematic_Failures_of_LLMs_in_Verifying_Code_Against_Natural_Language_Specifications
M. Vieira, “Engineering Trustworthy Software: A Mission for LLMs,” Nov. 27, 2024. Accessed: Sep. 07, 2026. [Online]. Available: https://arxiv.org/abs/2411.17981v1
S. Lubos et al., “Leveraging LLMs for the Quality Assurance of Software Requirements,” arXiv (Cornell University), pp. 389–397, Jun. 2024, doi: 10.1109/re59067.2024.00046.
DOI: https://dx.doi.org/10.21622/ACE.2026.06.2.2265
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Hellen Khasiro Wasike, John Gichuki Ndia
Advances in Computing and Engineering
E-ISSN: 2735-5985
P-ISSN: 2735-5977
Published by:
Academy Publishing Center (APC)
Arab Academy for Science, Technology and Maritime Transport (AASTMT)
Alexandria, Egypt


