Controlled Agentic Planning & Reasoning for Mechanism Synthesis
João Pedro Gandarela, Thiago Rios, Stefan Menzel, André Freitas
TL;DR
This paper tackles automated planar mechanism design by coupling dual-agent LLM-driven linguistics with simulation-based evaluation in a closed-loop framework. The proposed approach formalizes a design-critique cycle where a design agent generates executable mechanism hypotheses, a critic agent evaluates them against physics-based simulations and memory, and symbolic regression provides interpretable trajectory surrogates to guide refinement. The authors introduce MSynth, a benchmark of analytically defined planar trajectories, and demonstrate that critic feedback yields substantial improvements (up to 90% distance reduction) while architecture, scale, and memory exhibit model-specific effects. The work advances neuro-symbolic planning for mechanism synthesis and provides a scalable, memory-augmented framework for linguistically grounded optimization with potential implications for automated engineering design.
Abstract
This work presents a dual-agent \ac{llm}-based reasoning framework for automated planar mechanism synthesis that tightly couples linguistic specification with symbolic representation and simulation. From a natural-language task description, the system composes symbolic constraints and equations, generates and parametrises simulation code, and iteratively refines designs via critic-driven feedback, including symbolic regression and geometric distance metrics, closing an actionable linguistic/symbolic optimisation loop. To evaluate the approach, we introduce MSynth, a benchmark of analytically defined planar trajectories. Empirically, critic feedback and iterative refinement yield large improvements (up to 90\% on individual tasks) and statistically significant gains per the Wilcoxon signed-rank test. Symbolic-regression prompts provide deeper mechanistic insight primarily when paired with larger models or architectures with appropriate inductive biases (e.g., LRM).
