Artículo: RAG Driven Agent Pipeline for SysML v2 Synthesis vs. Specialized LLMs
Archivos
Fecha
Editor
Publicado en
Licencia Creative Commons
Resumen
This paper presents an agent based framework for the automatic generation of valid SysML v2 models from natural language specifications and contrasts it with a specialized local large language model (LLM) fine tuned for SysML v2 structural modeling. Building upon a goal driven, modular architecture that integrates Retrieval Augmented Generation over a curated repository of SysML v2 examples with an ANTLR based validation engine, the proposed system implements a closed loop refinement process that iteratively enforces syntactic compliance and improves semantic alignment with user requirements. The agent leverages a Conversational ReAct paradigm to orchestrate multi step reasoning, combining a SysML Generator, a Context Engine based on sentence embeddings, and a SysML Fixer that applies automatic corrections guided by detailed diagnostic feedback. The experimental evaluation spans diverse MBSE scenarios and compares this pipeline with Qwen2.5‑Coder‑SysMLv2, a domain specialized model deployed locally via Ollama and optimized for multi option SysML v2 structure generation with reduced syntax errors. Results analyze syntactic validity, structural completeness, and the need for manual intervention, showing that embedding structured retrieval and formal validation into an iterative agent loop leads to substantial improvements in model correctness and robustness over using a standalone specialized LLM, pointing toward scalable and trustworthy AI assisted MBSE workflows.


