arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.05768cs.DC
收藏

大规模仿真的模型输入验证

Model Input Verification of Large Scale Simulations

Rumyana Neykova, Derek Groen

AI总结:

本文提出模型输入验证方法 MIV 与工具集 FabGuard,通过形式化分类、验证流水线及 LLM 辅助约束推断,提升大规模仿真输入数据的可靠性。

摘要:

可靠的仿真对于分析和理解复杂系统至关重要,但其准确性取决于正确的输入数据。无效或超出范围的值、缺失数据以及格式不一致等错误输入,可能导致仿真崩溃或未被察觉的结果失真,最终削弱结论的有效性。本文提出了一种用于验证仿真中输入数据有效性的方法,我们将这一过程称为模型输入验证(MIV)。我们在 FabGuard 中实现了该方法,这是一个利用成熟数据模式和验证工具来满足仿真建模特定需求的工具集。我们引入了一种用于对 MIV 模式进行分类的形式化方法,并提供了一条可集成到现有仿真工作流中的精简验证流水线。FabGuard 的适用性在三个不同领域得到展示:冲突驱动迁移、灾难疏散和疾病传播模型。我们还探索了使用大语言模型(LLM)自动生成和推断约束。在一项迁移仿真案例研究中,LLM 不仅正确推断出开发者定义的 23 条约束中的 22 条,还发现了现有约束中的错误,并提出了新的有效约束。我们的评估表明,MIV 在大规模数据集上是可行的,FabGuard 可在 140 秒内高效处理 12,000 个输入文件,并在不同文件大小下保持稳定性能。

英文摘要:

Reliable simulations are critical for analyzing and understanding complex systems, but their accuracy depends on correct input data. Incorrect inputs such as invalid or out-of-range values, missing data, and format inconsistencies can cause simulation crashes or unnoticed result distortions, ultimately undermining the validity of the conclusions. This paper presents a methodology for verifying the validity of input data in simulations, a process we term model input verification (MIV). We implement this approach in FabGuard, a toolset that uses established data schema and validation tools for the specific needs of simulation modeling. We introduce a formalism for categorizing MIV patterns and offer a streamlined verification pipeline that integrates into existing simulation workflows. FabGuard's applicability is demonstrated across three diverse domains: conflict-driven migration, disaster evacuation, and disease spread models. We also explore the use of Large Language Models (LLMs) for automating constraint generation and inference. In a case study with a migration simulation, LLMs not only correctly inferred 22 out of 23 developer-defined constraints, but also identified errors in existing constraints and proposed new, valid constraints. Our evaluation demonstrates that MIV is feasible on large datasets, with FabGuard efficiently processing 12,000 input files in 140 seconds and maintaining consistent performance across varying file sizes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑