SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models

ACL ARR 2025 May Submission6223 Authors

20 May 2025 (modified: 03 Jul 2025)ACL ARR 2025 May SubmissionEveryoneRevisionsBibTeXCC BY 4.0
Abstract: Recent advances in Large Language Models (LLMs) have demonstrated remarkable capabilities in mathematical reasoning and code generation. However, LLMs still perform poorly in the simulation domain, especially when tasked with generating Simulink models, which are essential in engineering and scientific research. Our preliminary experiments reveal that LLM agents struggle to produce reliable and complete Simulink simulation codes from text-only inputs, likely due to insufficient Simulink-specific data during pre-training. To address this gap, we introduce SimuGen, a multi-modal agentic framework designed to automatically generate accurate Simulink simulation code by leveraging both the visual Simulink diagram image and domain knowledge. SimuGen coordinates several specialized agents—including an Investigator, a Unit Test Reviewer, a Code Generator, an Executor, a Debug Locator, and a Report Writer—supported by a domain-specific database. This collaborative, modular architecture enables interpretable and robust simulation generation for Simulink. Code will be available at: https://anonymous.4open.science/r/SimuGen-CD71
Paper Type: Long
Research Area: Language Modeling
Research Area Keywords: LLM/AI agents, code models
Contribution Types: NLP engineering experiment
Languages Studied: English
Submission Number: 6223
Loading