All projects

Technology

Reliability of LLMs in Safety-Critical Requirements Engineering

A controlled experiment measuring what an ungrounded, off-the-shelf chatbot contributes to safety-critical engineering.

Fraunhofer IKS, Munich AI Research & Human-in-the-Loop Evaluation
AI Research AI Safety Human-in-the-Loop LLMs Requirements Engineering Streamlit
LLM Reliability in Safety-Critical Processes

The challenge

Safety-critical systems stand or fall on their requirements: precise, unambiguous specifications that all downstream engineering depends on. As large language models entered these workflows, a common reflex followed - give the team a chatbot and tell them to use it.

The question nobody was asking: what does that most basic setup, a general-purpose assistant connected to nothing, actually do in safety-critical work? Most published evaluations stop at benchmark scores. They measure the model's output, not what the human does once the model is in the loop - and that is where the real risk sits. As NASA's report on the subject puts it, automation does not remove human fallibility; it relocates it to oversight roles. Answering that needed a controlled human study, not another leaderboard.

The approach

For my Master's thesis at TUM, in collaboration with Fraunhofer IKS, I designed and ran the whole study myself: experimental design, the ethics application, the software, data collection and statistical analysis.

  1. I built the experiment platform from scratch. A Python and Streamlit web application carrying participants from consent form through a demographic questionnaire, two tasks and NASA-TLX workload measurement. It logged every step and every chat message with timestamps, so the measurement rested on records rather than self-reports.
  2. The setup under test was deliberately the most basic one. The AI group got a chat panel embedded beside the task page - GPT-4o through a corporate interface. No AI system was engineered here: the model was not connected to the reference document the task was built on, could not read files, and had no access to any tool or data source. Participants were told this explicitly. That is what was measured: handing a team an off-the-shelf chatbot.
  3. A two-phase, between-subjects design. In Phase 1 participants wrote seven safety requirements for a lane-keeping assistance system - one group with the chat panel, one without. In Phase 2 nobody had AI: everyone reviewed ten pre-written requirements, identified the flawed ones and corrected them. That second phase produced the central finding.
  4. Quality was scored against a rubric, not by impression. Two domain experts independently rated each authored requirement across seven weighted criteria: structure, clarity, correctness, testability, scope alignment.
  5. Ethics and data protection. Approved by the non-medical subgroup of TUM's Ethics Committee (2025-108-NM-BA). No personal data was stored; participants were represented by randomly generated identifiers.

Findings. The unconnected chat panel produced no measurable improvement in requirement quality (p = 0.96) and no time saving (p = 0.52). Instead, three things happened:

A cognitive shift. Participants using the bot reported lower mental demand (50.8 vs 61.3) and lower effort (36.7 vs 49.5) - but higher frustration (43.8 vs 30.7). The workload didn't drop, it moved: the blank-page effort of drafting disappeared and was replaced by the effort of verifying the output. The lowest-scoring item in the whole acceptance survey confirms it: participants did not find the tool flexible (2.83 out of 5).

Low trust. "I felt confident depending on the AI assistant" scored 2.00 out of 5, while the self-reported rate of double-checking was high. In a safety-critical setting that is good news: blind trust is not an automatic outcome. Users trust a tool that cannot show its sources exactly as much as it deserves.

The learning deficit - the central finding. In Phase 2, with the bot removed from everyone, the group that had used it averaged 54.7 out of 190; the group that never had it averaged 75.5. The participant who ranked first with the bot dropped to eleventh once it was taken away. The unassisted group had been forced to read the reference document themselves and had learned the material; the other group had handed the work to the tool, and when the tool went, so did the understanding.

How to read this result. The study does not show that AI is useless in safety-critical work. It shows something narrower and more useful: putting a chatbot next to a workflow is not, by itself, an AI solution. If you don't give the model the document the work is based on, don't make it cite its sources, and don't require it to stop when it doesn't know, what you get is not a measurable gain - it's a relocated workload and expertise that quietly erodes. Grounding the model in real sources (RAG) is precisely the untested variable the thesis names in its future-work section.

That conclusion shaped the work I've done since: building systems that read the source at query time and answer with the article behind it, rather than leaving the model to its own memory.

A stated limit: the power analysis called for 72 participants; institutional and time constraints capped it at 12. That reduces statistical power, so the results are presented as exploratory findings rather than proof - as they are in the thesis itself.

Stack: Python, Streamlit, GPT-4o (via Fraunhofer FhGenie), NASA-TLX and Technology Acceptance Model instruments, independent-samples t-tests.

Want similar results for your project?

Every project above started with a conversation. Let's figure out what yours needs.

Keep exploring

More projects.

Other · A rail infrastructure engineering firm

Rail catenary pole placement automation

Weeks of expert engineering work, reduced to seconds.

View
Healthcare · Decoto International

D-Risk - MedTech Marketplace with AI Company Profiling

A three-sided marketplace linking medtech startups with investors and specialist freelancers - matched through AI document profiling.

View
Technology · Ottronic E-Systems (TUM 1000+ Project Week)

Integrated LoRa Sensor Monitoring & Analytics System

Turning raw LoRa telemetry from tree-mounted sensors into live dashboards that answer watering and growth questions - built in one week.

View
Other · A certified accountant

Revenue Administration MCP Server

An assistant that reads Turkish tax legislation from its official source at the moment you ask and answers with the article behind it - a system a certified acc

View
Technology · Fraunhofer IKS, Munich

DSGENAI - AI Safety Requirements Engineering Platform

Stabilising and modernising an AI-driven safety-requirements platform - Flask to Streamlit, GPT-5.1, and critical data-leak fixes.

View
Technology · Independent project

Retrieval-Augmented Generation (RAG) Documentation Assistant

A RAG assistant that turns stacks of PDFs into a searchable knowledge base where every answer traces back to the source document.

View
Technology · Technical University of Munich

LLM Prompt Optimization for Legal-Clause Classification

Comparative research that lifted F1 from 0.62 to 0.76 on Terms-of-Service clause classification through automatic prompt optimisation alone - without retraining

View
Technology · Siemens

Smart Contract Analysis with NLP

An NLP system learns from Siemens' legal team's past contract revisions, flags the same clauses in a new contract, and proposes the edit that was made before.

View
Other · Scoutium

Football Player Potential Prediction Model

A classification model predicting whether a player will be marked "highlighted" from 39 scout attribute scores - ROC-AUC 0.86 under 10-fold cross-validation.

View
Other · Scoutium

Football Player Ranking System

A scoring engine that ranks players not by total score, but by how many attributes they exceed the statistical average for their own position.

View
Other · Scoutium

Football Player Position Recommender System

A recommender that compares a player's attribute profile against the profiles of other positions and finds players could be more valuable in a different role.

View
Other · Turkish Airlines

Automated Connecting-Flight Optimization

A tool that recalculates every connection possible through the hub - day by day, with passenger volumes - when a single flight's time is shifted.

View
Other · Turkish Airlines

Flight Passenger-Count Prediction

A demand model predicting booked passengers on one-stop routes from a flight's own characteristics, selected by comparing eleven regression models.

View
Technology · Istanbul Bilgi University

Turkish Image-Captioning Benchmark on MS COCO 2014

A human-verified Turkish caption dataset covering all of MS COCO, plus five models trained on it - a new reference point for Turkish image captioning.

View
Finance & Fintech · CFA Poland (hackathon)

ESG Diversity & Sentiment Solution - CFA Poland Hackathon

An ESG prototype scoring gender diversity and news sentiment - 2nd place among 44 teams from 28 universities.

View
Other · Boğaziçi University IT Club (hackathon)

Automated ESG Scoring System - HackBogazici

An automated ESG scoring engine built from four scraped data sources - 2nd place among 14 hackathon teams.

View