Generating Requirements for ADAS Cameras Using an LLM-Based Approach
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
This thesis presents an LLM-based approach to requirements engineering for ADAS cameras, aiming to generate system requirements by utilizing new customer requirements and existing reference projects. This is motivated by the fact that requirements engineering is a critical yet highly manual and time-consuming process, especially in complex domains such as ADAS. Three different architectures are introduced and evaluated: a baseline LLM architecture, a RAG architecture and a fine-tuned LLM architecture. Evaluation is conducted using both automated metrics (BLEU, ROUGE, BERTScore and sentence cosine similarity) and expert reviews that evaluate the quality, correctness and feasibility of the requirements.
Results show that RAG and fine-tuning significantly improves lexical and semantic performance, outperforming the baseline across all metrics. Expert reviews highlight that overall the generated requirements have good quality, correctness and feasibility. Some limitations still remain to fully automate the generation process, where requirement engineers are needed to review and approve the generated requirements. The approach still demonstrates potential to support and accelerate requirements engineering workflows.
This work delivers a custom LLM-based tool for ADAS requirement generation, insights into the effect that RAG and fine-tuning techniques have and practical recommendations for integrating such tools into industry processes. Future work is needed to ensure that both RAG and fine-tuning techniques utilize high-quality requirement data, with requirement engineers approving inputs across diverse projects and authors.
Place, publisher, year, edition, pages
2025. , p. 76
Keywords [en]
Requirement Generation, Large Language Models, LLM, Retrieval-Augmented Generation, RAG, Fine-Tuning
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-214848ISRN: LIU-IDA/LITH-EX-A--25/033--SEOAI: oai:DiVA.org:liu-214848DiVA, id: diva2:1970193
External cooperation
Magna Electronics Linköping
Subject / course
Computer Engineering
Presentation
2025-05-30, Alan Turing, Linköpings universitet, Linköping, 13:00 (English)
Supervisors
Examiners
2025-06-182025-06-162025-06-18Bibliographically approved