Rethinking Scientific Modeling: Toward Physically Consistent and Simulation-Executable Programmatic Generation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Jiang, Yongqing, Wang, Jianze, Shen, Zhiqi, Lin, Zhenghong, Wang, Jiayuan, Yang, Yijian, Dai, Kaoshan, Luo, Haoran
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916073214836736
author Jiang, Yongqing
Wang, Jianze
Shen, Zhiqi
Lin, Zhenghong
Wang, Jiayuan
Yang, Yijian
Dai, Kaoshan
Luo, Haoran
author_facet Jiang, Yongqing
Wang, Jianze
Shen, Zhiqi
Lin, Zhenghong
Wang, Jiayuan
Yang, Yijian
Dai, Kaoshan
Luo, Haoran
contents Structural modeling is a fundamental component of computational engineering science, in which even minor physical inconsistencies or specification violations may invalidate downstream simulations. The potential of large language models (LLMs) for automatic generation of modeling code has been demonstrated. However, non-executable or physically inconsistent outputs remain prevalent under stringent engineering constraints. A framework for physics-consistent automatic building modeling is therefore proposed, integrating domain knowledge construction, constraint-oriented model alignment, and verification-driven evaluation. CivilInstruct is introduced as a domain-specific dataset that formalizes structural engineering knowledge and constraint reasoning to enable simulation-ready model generation. A two-stage fine-tuning strategy is further employed to enforce constraint satisfaction and application programming interface compliance, substantially reducing hallucinated and non-conforming outputs. MBEval is presented as a verification-driven benchmark that evaluates executability and structural dynamics consistency through closed-loop validation. Experimental results show consistent improvements over baselines across rigorous verification metrics. Our code is available at https://github.com/Jovanqing/AutoBM.
format Preprint
id arxiv_https___arxiv_org_abs_2602_07083
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Rethinking Scientific Modeling: Toward Physically Consistent and Simulation-Executable Programmatic Generation
Jiang, Yongqing
Wang, Jianze
Shen, Zhiqi
Lin, Zhenghong
Wang, Jiayuan
Yang, Yijian
Dai, Kaoshan
Luo, Haoran
Software Engineering
Artificial Intelligence
Structural modeling is a fundamental component of computational engineering science, in which even minor physical inconsistencies or specification violations may invalidate downstream simulations. The potential of large language models (LLMs) for automatic generation of modeling code has been demonstrated. However, non-executable or physically inconsistent outputs remain prevalent under stringent engineering constraints. A framework for physics-consistent automatic building modeling is therefore proposed, integrating domain knowledge construction, constraint-oriented model alignment, and verification-driven evaluation. CivilInstruct is introduced as a domain-specific dataset that formalizes structural engineering knowledge and constraint reasoning to enable simulation-ready model generation. A two-stage fine-tuning strategy is further employed to enforce constraint satisfaction and application programming interface compliance, substantially reducing hallucinated and non-conforming outputs. MBEval is presented as a verification-driven benchmark that evaluates executability and structural dynamics consistency through closed-loop validation. Experimental results show consistent improvements over baselines across rigorous verification metrics. Our code is available at https://github.com/Jovanqing/AutoBM.
title Rethinking Scientific Modeling: Toward Physically Consistent and Simulation-Executable Programmatic Generation
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2602.07083