Multibody Models Generated from Natural Language

IF 2.6 2区 工程技术 Q2 MECHANICS Multibody System Dynamics Pub Date : 2024-01-17 DOI:10.1007/s11044-023-09962-0
Johannes Gerstmayr, Peter Manzl, Michael Pieber
{"title":"Multibody Models Generated from Natural Language","authors":"Johannes Gerstmayr, Peter Manzl, Michael Pieber","doi":"10.1007/s11044-023-09962-0","DOIUrl":null,"url":null,"abstract":"<p>Computational models are conventionally created with input data, script files, programming interfaces, or graphical user interfaces. This paper explores the potential of expanding model generation, with a focus on multibody system dynamics. In particular, we investigate the ability of Large Language Model (LLM), to generate models from natural language. Our experimental findings indicate that LLM, some of them having been trained on our multibody code Exudyn, surpass the mere replication of existing code examples. The results demonstrate that LLM have a basic understanding of kinematics and dynamics, and that they can transfer this knowledge into a programming interface. Although our tests reveal that complex cases regularly result in programming or modeling errors, we found that LLM can successfully generate correct multibody simulation models from natural-language descriptions for simpler cases, often on the first attempt (zero-shot).</p><p>After a basic introduction into the functionality of LLM, our Python code, and the test setups, we provide a summarized evaluation for a series of examples with increasing complexity. We start with a single mass oscillator, both in SciPy as well as in Exudyn, and include varied inputs and statistical analysis to highlight the robustness of our approach. Thereafter, systems with mass points, constraints, and rigid bodies are evaluated. In particular, we show that in-context learning can levitate basic knowledge of a multibody code into a zero-shot correct output.</p>","PeriodicalId":49792,"journal":{"name":"Multibody System Dynamics","volume":null,"pages":null},"PeriodicalIF":2.6000,"publicationDate":"2024-01-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Multibody System Dynamics","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1007/s11044-023-09962-0","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MECHANICS","Score":null,"Total":0}
引用次数: 0

Abstract

Computational models are conventionally created with input data, script files, programming interfaces, or graphical user interfaces. This paper explores the potential of expanding model generation, with a focus on multibody system dynamics. In particular, we investigate the ability of Large Language Model (LLM), to generate models from natural language. Our experimental findings indicate that LLM, some of them having been trained on our multibody code Exudyn, surpass the mere replication of existing code examples. The results demonstrate that LLM have a basic understanding of kinematics and dynamics, and that they can transfer this knowledge into a programming interface. Although our tests reveal that complex cases regularly result in programming or modeling errors, we found that LLM can successfully generate correct multibody simulation models from natural-language descriptions for simpler cases, often on the first attempt (zero-shot).

After a basic introduction into the functionality of LLM, our Python code, and the test setups, we provide a summarized evaluation for a series of examples with increasing complexity. We start with a single mass oscillator, both in SciPy as well as in Exudyn, and include varied inputs and statistical analysis to highlight the robustness of our approach. Thereafter, systems with mass points, constraints, and rigid bodies are evaluated. In particular, we show that in-context learning can levitate basic knowledge of a multibody code into a zero-shot correct output.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从自然语言生成多体模型
计算模型通常通过输入数据、脚本文件、编程界面或图形用户界面创建。本文以多体系统动力学为重点,探讨了扩展模型生成的潜力。我们特别研究了大型语言模型(LLM)从自然语言生成模型的能力。我们的实验结果表明,LLM(其中一些已在我们的多体代码 Exudyn 上进行过训练)超越了单纯复制现有代码示例的能力。实验结果表明,LLM 对运动学和动力学有基本的了解,并能将这些知识转化为编程界面。虽然我们的测试表明,复杂的案例经常会导致编程或建模错误,但我们发现 LLM 可以成功地根据自然语言描述生成正确的多体仿真模型,而且通常是在第一次尝试(零次)时就能生成。在对 LLM 的功能、Python 代码和测试设置进行基本介绍后,我们对一系列复杂度不断增加的示例进行了总结评估。我们从 SciPy 和 Exudyn 中的单质量振荡器开始,包括各种输入和统计分析,以突出我们方法的鲁棒性。之后,我们对带有质点、约束和刚体的系统进行了评估。我们特别展示了上下文学习可以将多体代码的基本知识转化为零次正确输出。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
6.00
自引率
17.60%
发文量
46
审稿时长
12 months
期刊介绍: The journal Multibody System Dynamics treats theoretical and computational methods in rigid and flexible multibody systems, their application, and the experimental procedures used to validate the theoretical foundations. The research reported addresses computational and experimental aspects and their application to classical and emerging fields in science and technology. Both development and application aspects of multibody dynamics are relevant, in particular in the fields of control, optimization, real-time simulation, parallel computation, workspace and path planning, reliability, and durability. The journal also publishes articles covering application fields such as vehicle dynamics, aerospace technology, robotics and mechatronics, machine dynamics, crashworthiness, biomechanics, artificial intelligence, and system identification if they involve or contribute to the field of Multibody System Dynamics.
期刊最新文献
Development of an identification method for the minimal set of inertial parameters of a multibody system Vibration transmission through the seated human body captured with a computationally efficient multibody model Data-driven inverse dynamics modeling using neural-networks and regression-based techniques Load torque estimation for cable failure detection in cable-driven parallel robots: a machine learning approach Mutual information-based feature selection for inverse mapping parameter updating of dynamical systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1