Author:
Gärtner Alexander Elenga,Göhlich Dietmar
Abstract
AbstractThis paper introduces ALICE (Automated Logic for Identifying Contradictions in Engineering), a novel automated contradiction detection system tailored for formal requirements expressed in controlled natural language. By integrating formal logic with advanced large language models (LLMs), ALICE represents a significant leap forward in identifying and classifying contradictions within requirements documents. Our methodology, grounded on an expanded taxonomy of contradictions, employs a decision tree model addressing seven critical questions to ascertain the presence and type of contradictions. A pivotal achievement of our research is demonstrated through a comparative study, where ALICE’s performance markedly surpasses that of an LLM-only approach by detecting 60% of all contradictions. ALICE achieves a higher accuracy and recall rate, showcasing its efficacy in processing real-world, complex requirement datasets. Furthermore, the successful application of ALICE to real-world datasets validates its practical applicability and scalability. This work not only advances the automated detection of contradictions in formal requirements but also sets a precedent for the application of AI in enhancing reasoning systems within product development. We advocate for ALICE’s scalability and adaptability, presenting it as a cornerstone for future endeavors in model customization and dataset labeling, thereby contributing a substantial foundation to requirements engineering.
Funder
Technische Universität Berlin
Publisher
Springer Science and Business Media LLC
Reference54 articles.
1. Ahmad, A., Justo, J.L.B., Feng, C., Khan, A.A.: The impact of controlled vocabularies on requirements engineering activities: a systematic mapping study. Appl. Sci. 10(21), 7749 (2020)
2. Aristotle: Aristotle’s Metaphysics. Unter Mitarbeit von Joe Sachs. Green Lion Press, Santa Fe (1999)
3. Bender, B., Gericke, K.: Entwickeln der anforderungsbasis: requirements engineering. In: Bender, B., Gericke, K. (eds.) Pahl/Beitz Konstruktionslehre: Methoden and Anwendung Erfolgreicher Produktentwicklung, pp. 169–209. Springer, Berlin (2021)
4. Chen, Z., Lin, W., Chen, Q., Chen, X., Wei, S., Jiang, H., Zhu, X.: Revisiting word embedding for contrasting meaning. In: Chengqing, Z., Michael, S. (eds.) Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing, pp. 106–115. Association for Computational Linguistics, Beijing (2015)
5. De Marneffe, M.C., Rafferty, A.N., Manning, C.D.: Finding Contradictions in Text. Hg. v. Stanford University. USA. Online verfügbar unter https://nlp.stanford.edu/pubs/contradiction-acl08.pdf, zuletzt geprüft am 13.04.2022 (2008)