用符号表达式桥接大模型与物理仿真,实现几何推理的精准反馈。
Symbolic Intermediaries as a Linguistic-Numerical Interface for LLM-Driven Geometric Reasoning
- 通过符号回归生成简洁表达式,将仿真数值转化为可理解的符号形式。
- 在平面机构设计任务中,误差降低19%-63%,显著优于遗传算法基线。
- 适合需要语言化解释物理仿真的工程设计与智能体协同场景。
大语言模型(LLMs)在处理语言和符号对象时具备推理能力,但难以直接解析物理模拟器输出的连续数值(如距离、曲率、轨迹),这些数据难以离散化为文本标记。在从机构设计到运动规划等空间相关工程推理任务中,这一差距限制了大模型在更广泛几何领域的应用,例如与物理模拟器交互。本文提出符号中间件——通过符号回归发现的紧凑解析表达式,作为结构化接口,将模拟器的数值轨迹转换为语言模型可解读、比较和批判的符号形式,同时保留原始几何语义。围绕该接口构建了一个代理协调与优化循环:设计代理将自然语言描述转为可执行仿真代码,批判代理基于共享符号词汇进行推理,修订步骤则将反馈转化为有依据的改进决策,实现无需参数更新的推理期泛化。在平面机构合成的MSynth基准上,所有三类评估的LLM代理均比预算相当的遗传算法基线表现更好,误差降低19%-53%(反馈后中位误差最低下降63%)。对三种模型架构的批判内容分析表明,该接口使推理从泛化结构评论转向基于几何事实的验证。将连续模拟输出转化为符号形式的原则,可推广至任何需语言化解读模拟行为的领域。
原文摘要 · Abstract (English)
Large Language Models (LLMs) display reasoning capabilities over linguistic and symbolic objects but have limited capabilities to directly interpret the continuous numerical outputs of physics simulators, e.g., distances, curvatures, and trajectories that resist discrete tokenisation. Across spatially grounded engineering reasoning tasks, from mechanism design to motion planning, this defines a fundamental gap, which limits the wider application of LLMs within broader geometrical domains, for exmaple interfacing with physics simulators. We propose symbolic intermediaries, compact analytical expressions discovered via symbolic regression, as a structured interface that translates a simulator's numerical traces into a symbolic form, which language models can interpret, compare, and critique while preserving the original geometric semantics. Around this interface we build an agentic coordination-and-refinement loop: a design agent maps natural-language specifications to executable simulation code, a critique agent reasons over the shared symbolic vocabulary, and a revision step turns this feedback into grounded refinement decisions, enabling inference-time generalization without parameter updates. On the MSynth benchmark for planar mechanism synthesis, all three evaluated LLM agents outperform a budget-matched genetic-algorithm baseline by 19-53% (up to 63% lower median error with feedback), and analysis of the critique entries across three model architectures shows that the interface shifts reasoning from generic structural commentary to grounded geometric verification. The principle of translating continuous simulation outputs into symbolic forms generalises to any domain where simulator behaviour must be interpreted linguistically.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。