Requirements-driven Slicing of Simulink Models Using LLMs
Not on the map. Why?
Abstract (arXiv)
Model slicing is a useful technique for identifying a subset of a larger model that is relevant to fulfilling a given requirement. Notable applications of slicing include reducing inspection effort when checking design adequacy to meet requirements of interest and when conducting change impact analysis. In this paper, we present a method based on large language models (LLMs) for extracting model slices from graphical Simulink models. Our approach converts a Simulink model into a textual representation, uses an LLM to identify the necessary Simulink blocks for satisfying a specific requirement, and constructs a sound model slice that incorporates the blocks identified by the LLM. We explore how different levels of granularity (verbosity) in transforming Simulink models into textual representations, as well as the strategy used to prompt the LLM, impact the accuracy of the generated slices. Our preliminary findings suggest that prompts created by textual representations that retain the syntax and semantics of Simulink blocks while omitting visual rendering information of Simulink models yield the most accurate slices. Furthermore, the chain-of-thought and zero-shot prompting strategies result in the largest number of accurate model slices produced by our approach.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 May 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Class Model Generation from Requirements using Large Language Models ↗
- 2026A Guide to Large Language Models in Modeling and Simulation: From Core Techniques to Critical Challenges
- 2026Evaluating LLM-Based Goal Extraction in Requirements Engineering: Prompting Strategies and Their Limitations
- 2025Are Prompts All You Need? Evaluating Prompt-Based Large Language Models (LLM)s for Software Requirements Classification
- 2025MCeT: Behavioral Model Correctness Evaluation using Large Language Models ↗
- 2026Automatic Translation of Unstructured Requirements into Linear Temporal Logic through Large Language Models ↗
- 2025PROMPTEVALS: A Dataset of Assertions and Guardrails for Custom Production Large Language Model Pipelines
- 2024Software Model Evolution with Large Language Models: Experiments on Simulated, Public, and Industrial Datasets