Privacy analysis of software designs requires formal artifacts derived from natural language requirements for automated detection of privacy violations. The xDECAF framework supports this by running Data Flow Analysis (DFA) on Data Flow Diagrams (DFDs) derived from functional requirements and annotated with privacy specifications derived from legal requirements. Creating these two artifact types from natural language requirements currently requires manual expert effort, which limits the practical adoption of automated privacy analysis. Existing Large Language Model (LLM)-based approaches target DFD generation in isolation and do not produce xDECAF-compatible outputs. No prior work has empirically evaluated LLM-based automation of the full DFA preprocessing chain. Within this thesis, we designed, implemented, and evaluated two LLM-based pipelines as the first two steps toward full automation of the DFA preprocessing chain. The first derives DFDs from functional requirements using GPT-5.3-Codex. The second derives privacy label schemas and data-flow constraint rules from legal requirements using GPT-5.5. Both use chain-of-thought prompting, schema-validated outputs, and structured retry feedback to contain structural errors before downstream propagation. We evaluated both pipelines through two-part blind user studies: the first with 20 creators and 12 evaluators, the second with 10 creators and 6 evaluators. LLM-derived artifacts received directionally lower average ratings than human-created ones across all artifact types on a 1–5 scale. Comparing LLM-derived to human-created artifacts: DFD completeness and correctness averaged 2.5 vs. 4.0 and 2.9 vs. 3.6, privacy labels 2.8 vs. 3.7 and 2.7 vs. 3.5, and constraint sets 2.3 vs. 3.2 and 1.8 vs. 3.0. Issue flagging identified missing elements and hallucinations as the dominant defect types in LLM-derived DFDs, and vague labels in LLM-derived privacy label sets. One of four LLM-derived DFDs reached ratings comparable to the human group means, indicating that the pipeline can achieve near-human-quality outputs on individual runs. Four shared methodological factors prevent treating these ratings as more than directional. These are Krippendorff’s 𝛼 below the reliability threshold across all rating dimensions, small sample sizes, a creator-rater anchoring effect, and asymmetric rating counts. The recurrence of unreliable inter-rater agreement across both tasks suggests that consistent quality evaluation is difficult for artifact types that admit multiple valid solutions.
| Related KIT institution | Institute of Information Security and Dependability (KASTEL) |
|---|---|
| Language | English |
| KITopen ID | 1000195357 |
| Publisher | Karlsruher Institut für Technologie (KIT) |
| Size | xiii, 124 p. |
| Exam data | 10.07.2026 |
| Supervisors | Nicolas Boltz Tobias Hey |
| Referenced in | OpenAlex |
| Sustainable Development Goals (SDGs) |