跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.41871 · v1

Perception Before Simulation: Sketch-Based Generation of Multibody Simulation Code With Vision Language Models

首次提交 2026-12-01 02:48
版本更新 2026-12-01 02:48
雷达观测 2026-12-01 16:32
arXiv ↗PDF ↗

摘要

Large language models (LLMs) can generate multibody simulation models from textual descriptions, but for complex mechanical systems these descriptions become lengthy and error-prone, whereas a sketch conveys the same mechanical system compactly. This study investigates whether Vision Language Models (VLMs) can generate physically correct multibody simulation code directly from sketches of mechanical models. In an automated closed-loop benchmark, 23 parameterized mechanical models are rendered as annotated sketches, and every generated simulation model is verified against ground truth by executability, graph isomorphism, and parameter and trajectory agreement. Across 12 open-weight VLMs, a two-stage pipeline that first extracts a code-agnostic intermediate representation of the sketched mechanical model doubles the success rate of simulation code generation compared to direct code generation by the VLM (48.0% vs. 23.9%). With code generation held fixed by a single coder LLM, so that only perception varies, replacing the textual description with a sketch lowers success from 94.8% to 48.0%, and to 78.2% when the textual description accompanies the sketch. An ablation attributes the gain to pre-selecting the element types shown in the sketch. Error classification and robustness tests to scaling and rotation locate the remaining failures in reading the drawing rather than in code generation. The pipeline transfers to hand-drawn sketches. Turning an engineer's sketch directly into a verified dynamic simulation opens a route to automating model creation in computational mechanics.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-01 02:48 · 最新观测版本

Perception Before Simulation: Sketch-Based Generation of Multibody Simulation Code With Vision Language Models

Large language models (LLMs) can generate multibody simulation models from textual descriptions, but for complex mechanical systems these descriptions become lengthy and error-prone, whereas a sketch conveys the same mechanical system compactly. This study investigates whether Vision Language Models (VLMs) can generate physically correct multibody simulation code directly from sketches of mechanical models. In an automated closed-loop benchmark, 23 parameterized mechanical models are rendered as annotated sketches, and every generated simulation model is verified against ground truth by executability, graph isomorphism, and parameter and trajectory agreement. Across 12 open-weight VLMs, a two-stage pipeline that first extracts a code-agnostic intermediate representation of the sketched mechanical model doubles the success rate of simulation code generation compared to direct code generation by the VLM (48.0% vs. 23.9%). With code generation held fixed by a single coder LLM, so that only perception varies, replacing the textual description with a sketch lowers success from 94.8% to 48.0%, and to 78.2% when the textual description accompanies the sketch. An ablation attributes the gain to pre-selecting the element types shown in the sketch. Error classification and robustness tests to scaling and rotation locate the remaining failures in reading the drawing rather than in code generation. The pipeline transfers to hand-drawn sketches. Turning an engineer's sketch directly into a verified dynamic simulation opens a route to automating model creation in computational mechanics.

查看此版本解读 →查看此版本原文 ↗