arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.14980cs.AIcs.CLcs.CVcs.GRcs.LG
收藏

基于大语言模型的程序合成的组合式机器设计

Compositional Machine Design as Program Synthesis with LLMs

The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳))

Wenqian Zhang, Yangyi Huang, Weiyang Liu, Zhen Liu

AI总结:

本研究提出基于物理模拟的组合式机器设计任务,构建BesiegeField测试平台,测试LLM智能体的机器程序合成能力,并用模拟奖励微调Qwen2.5-14B提升了机器性能,为相关研究提供参考。

摘要:

大语言模型(LLM)在编写和修改程序方面展现出强大能力,但许多程序合成基准仍在符号或数字环境中评估程序。我们提出组合式机器设计,这是一种基于物理的程序合成形式,其中机器被编写为由标准化部件组合而成的程序,成功与否由模拟物理行为决定。为研究该问题,我们推出BesiegeField,一个基于机器建造游戏Besiege的测试平台。在BesiegeField中,LLM智能体从文本功能需求生成机器程序,在模拟环境中执行生成的机器,并获得奖励和状态反馈。我们在单智能体生成、迭代编辑和分层工作流程下,针对代表性机器设计任务对LLM智能体进行基准测试。强大的模型能恢复任务相关结构,有时还能实现非平凡的物理性能,但常常在空间精确组装、机制级规划以及将反馈转化为有用的结构编辑方面存在困难。我们进一步使用模拟奖励的强化学习对开源大语言模型Qwen2.5-14B进行微调,发现在固定生成预算下,强化学习可提升发现的最优机器。我们还评估了人类表现,为任务难度提供参考。这些结果确立了组合式机器设计作为研究LLM智能体的测试平台,这类智能体可合成可执行的机器程序并通过物理反馈对其进行改进。

英文摘要:

Large language models (LLMs) have shown strong abilities in writing and revising programs, yet many program-synthesis benchmarks still evaluate programs in symbolic or digital environments. We introduce compositional machine design, a physically grounded form of program synthesis where machines are written as programs that compose standardized parts, and success is determined by simulated physical behavior. To study this problem, we present BesiegeField, a testbed built on the machine-building game Besiege. In BesiegeField, LLM agents generate machine programs from textual functional demands, execute the resulting machines in simulation, and receive rewards and state feedback. We benchmark LLM agents across representative machine-design tasks under single-agent generation, iterative editing, and hierarchical workflows. Strong models recover task-relevant structures and sometimes achieve nontrivial physical performance, but often struggle with spatially precise assembly, mechanism-level planning, and translating feedback into useful structural edits. We further finetune Qwen2.5-14B, an open-source LLM, with reinforcement learning from simulation-derived rewards. We find that, under a fixed generation budget, RL improves the best machine discovered. We additionally evaluate human performance to provide a reference point for task difficulty. These results establish compositional machine design as a testbed for studying LLM agents that synthesize executable machine programs and improve them through physical feedback.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑