Abstract
The current contribution of artificial intelligence based Large Language Models (LLMs) in supporting the requirements engineering and design phase of software centered systems is analyzed. The application domain is focused on smart devices and services for Ambient Assisted Living (AAL), e.g. programmable smartwatches. In the realm of AAL, programmable smartwatches offer significant potential to support elderly users in their daily activities. However, developing applications for these devices is resource demanding, algorithmically difficult and requires careful consideration of various factors, including user-specific needs (e.g. a diminished natural sensation of thirst) and technical constraints (restricted computational power due to limited battery capacity). Our approach first utilizes widespread LLMs like ChatGPT, BARD to automatically interpret and enrich product concept catalogues, targeting at comprehensive, consistent and tailored requirements specifications for the specific domain of application. Secondly, we analyze in which extent LLMs today can contribute to the original design phase by introducing suitable functional principles and reference architectures for fulfilling the services specified as requirements including the constraints on its operations. To demonstrate the challenges and perils of this approach, we will detail the process using the specific use case of automatic drinking detection and providing suitable advice for preventing dehydration for elderly users. We will discuss and differentiate the principal strength of the approach from its actual limitations by the presently available LLMs, which are expected to increase and elaborate their generative capabilities rather frequently.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Hou, X, Zhao, Y., Liu, Y., et al.: Large language models for software engineering: a systematic literature review, research report, Huazhong University of Science and Technology, Wuhan, China, arXiv:2308.10620v4, p. 62, September 2023
Zhang, Q., Fang, C., Xie, Y., et al: A survey on large language models for software engineering, China, arXiv:2312.15223v1, p. 57, December 2023
Ross, S.I., Martinez, F., Houde, S., Muller, M., Weisz, J.D.: The programmer’s assistant: conversational interaction with a large language model for software development. In: ACM 28th International Conference on Intelligent User Interfaces (IUI ‘23), 27–31 March, Sydney, Australia (2023). https://doi.org/10.1145/3581641.3584037
Sommerville, I.: Software Engineering, 10th updated edn. Pearson Education Limited, Harlow, England (2017)
Brown, T.: Design thinking. Harv. Bus. Rev. 86(6), 84–92(2008)
Norman, A., Draper, W.: User Centered System Design – New Perspectives on Human-Computer Interaction, CRC Press, Boca Raton (1986)
Wymore, A.W.: Model Based Systems Engineering: An Introduction to the Mathematical Theory of Discrete Systems and to the Tricotyledon of System Design, CRC Press, Boca Raton (1993)
Bennett, S., Skelton, J., Lunn, K.: UML, 2nd edn. Schaum’s Outlines, McGrawHill Education – Europe, New York (1991)
Evans, E.: Domain Driven Design – Tackling Complexity in the Heart of Software, Addison-Wesley, MA, USA, 8th printing (2006)
Lutze, R.: Digital twins – a determining engineering pattern. In: IEEE International Conference on Engineering, Technology and Innovation (ICE/ITMC), Edinburgh, United Kingdom, pp. 1–9 (2023). https://doi.org/10.1109/ICE/ITMC58018.2023.10332426
Wilczynski, P., Gregiore-Wright, T., Jackson, D.: Concept centric software development – an experience report. In: ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! ‘23), 25–27 October, Cascais, Portugal (2023). https://doi.org/10.1145/3622758.3622894
White, J., Hays, S., Fu, Q., Spencer-Smith, J., Schmidt, D.C.: CHatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design, Vanderbilt University, Nashville, TN, USA, arXiv:2303.07839v1, p. 14, March 2023
Ahmad, A., Waseem, M., Liang, P., Fadimeh, M., Aktar, M.S., Mikkonen, T.: Towards human-bot collaborative software architecting with ChatGPT. In: ACM International Conference on Evaluating and Assessment in Software Engineering (EASE ‘23), June 14–16 2023, Oulu, Finland, pp. 279–285 (2023). https://doi.org/10.1145/3593434.3593468
Schneider, B, Stuber, M.: IntelligenteWerkzeuge im Software Engineering. Informatik J. (12), 21–292021. https://opus.hs-furtwangen.de/frontdoor/deliver/index/docId/7709/file/IntelligenteWerkzeugeimSoftwareEngineering.pdf
Lutze, R., Waldhör, K.: The application architecture of smartwatch apps – analysis, principles of design and organization. In: Mayr, H.C., Pinzger, M. (eds.) INFORMATIK 2016. LNI, vol. P259, pp. 1865–1878. Springer, Bonn (2016). ISBN 978-3-88579-653-4, ISSN 1617-5468, https://cs.emis.de/LNI/Proceedings/Proceedings259/1865.pdf
Lutze, R.: Practicality of automatic monitoring sufficient fluid intake for older people. In: IEEE 10th International Conference on Healthcare Informatics (ICHI), 11–14 June, Rochester, MN, USA, pp. 330–336 (2022). https://doi.org/10.1109/ICHI54592.2022.00054
Lutze, R., Waldhör, K.: Practicality aspects of automatic fluid intake monitoring via smartwatches. In: Kurosu, M., Hashizume, A. (eds.) H HCII 2023. LNCS, vol. 14014, pp. 67–86. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-35572-1_5
Hall, J.E., Guyton, A.C.: Textbook on Medical Physiology, 14th edn. Elsevier Publishing Inc., Philadelphia, PA, USA (2020)
Waldhör, K., et al.: Experiment: Vergleich von Manueller vs. LLM basierten Analyse eines AAL Software Scenarios [Experiment: Comparison of Manual vs. LLM-based Analysis of an AAL Software Scenario] RETexte_konsolidiert_v1.pdf (2024)
Waldhör, K.: Development of a drinking detection smartwatch app for android: a comprehensive documentation of ChatGPT’s role in the process (2024). http://www.waldhor.com/chi24/chatgptdrinkappdocumentation.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Lutze, R., Waldhör, K. (2024). Generating Specifications from Requirements Documents for Smart Devices Using Large Language Models (LLMs). In: Kurosu, M., Hashizume, A. (eds) Human-Computer Interaction. HCII 2024. Lecture Notes in Computer Science, vol 14684. Springer, Cham. https://doi.org/10.1007/978-3-031-60405-8_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-60405-8_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-60404-1
Online ISBN: 978-3-031-60405-8
eBook Packages: Computer ScienceComputer Science (R0)