Search arXiv⌕ Search

arXiv · 2611.41871

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

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tobias Möltner, Peter Manzl, Sebastian Weyrer, Michael Pieber. 2026-11-30. Perception Before Simulation: Sketch-Based Generation of Multibody Simulation Code With Vision Language Models. https://searcharxiv.org/abs/2611.41871

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.

cs.AI↗

Explainable Innovation Engine: Dual-Tree Agent-RAG with Methods-as-Nodes and Verifiable Write-Back

Retrieval-augmented generation (RAG) improves factual grounding, yet most systems rely on flat chunk retrieval and provide limited control over multi-step synthesis. We propose an Explainable Innovation Engine that upgrades the knowledge unit from text chunks to methods-as-nodes. The engine maintains a weighted method provenance tree for traceable derivations and a hierarchical clustering abstraction tree for efficient top-down navigation. At inference time, a strategy agent selects explicit synthesis operators (e.g., induction, deduction, analogy), composes new method nodes, and records an auditable trajectory. A verifier-scorer layer then prunes low-quality candidates and writes validated nodes back to support continual growth. Expert evaluation across six domains and multiple backbones shows consistent gains over a vanilla baseline, with the largest improvements on derivation-heavy settings, and ablations confirm the complementary roles of provenance backtracking and pruning. These results suggest a practical path toward controllable, explainable, and verifiable innovation in agentic RAG systems. Code is available at the project GitHub repository https://github.com/xiaolu-666113/Dual-Tree-Agent-RAG.

cs.AI↗

Strategic Algorithmic Monoculture: Experimental Evidence from Coordination Games

AI agents increasingly make high-stakes decisions in multi-agent environments where outcomes depend on coordination (e.g., hiring, pricing, and trading). We distinguish primary algorithmic monoculture---baseline action similarity---from strategic algorithmic monoculture, whereby agents adjust similarity in response to incentives. We design a simple experiment that cleanly separates these forces and deploy it on human and large-language-model (LLM) subjects. LLMs exhibit high levels of baseline similarity (primary monoculture) and, like humans, they regulate it in response to coordination incentives (strategic monoculture). While LLMs coordinate extremely well on the same action, they lag behind humans in sustaining heterogeneity when divergence is rewarded.

cs.AI↗