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.
Towards Compositional Generalization of LLMs via Skill Taxonomy Guided Data Synthesis
State Key Laboratory of Complex & Critical Software Environment, Beihang University(复杂与关键软件环境国家重点实验室,北京航空航天大学);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Beijing Institute of Technology(北京理工大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所)
Agentic Proposing: Enhancing Large Language Model Reasoning via Compositional Skill Synthesis
AI DATA, Alibaba Group Holding Limited(阿里数据,阿里巴巴集团控股有限公司);EPIC Lab, Shanghai Jiao Tong University(上海交通大学EPIC实验室);Shanghai University of Finance(上海财经大学);Wuhan University(武汉大学)
Compositional Flows for 3D Molecule and Synthesis Pathway Co-design
School of Computing Science, Simon Fraser University, Canada(计算科学学院,西蒙弗雷泽大学,加拿大);Department of Chemistry, KAIST, Republic of Korea(化学系,韩国科学技术院);Department of Computer Science(计算机科学系);Engineering, Chalmers University of Technology, Sweden(工程学院,查尔姆斯理工大学,瑞典);Department of Computer Science, University of Oxford, UK(计算机科学系,牛津大学,英国);NVIDIA
A Contrastive Compositional Benchmark for Text-to-Image Synthesis: A Study with Unified Text-to-Image Fidelity Metrics
Fudan University(复旦大学);Alibaba Group(阿里巴巴集团);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));East China University of Science and Technology(华东理工大学)
Hybrid Compositional Reasoning for Reactive Synthesis from Finite-Horizon Specifications
Rice University(莱斯大学);State Key Laboratory of Computer Science(计算机科学国家重点实验室);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学)