arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.14441

PACE-Bench: Benchmarking Physics Adaptation via Code Evolution in Dynamic Environments

Yuhao Zhan, Bingxiang He, Zecong Tang, Chaojun Xiao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Self-evolving agents improve future behavior from interaction experience, yet existing evaluations typically optimize under fixed execution conditions and do not test recovery after those conditions change. To address this gap, we introduce PACE-Bench (Physics Adaptation via Code Evolution), a simulator-grounded benchmark of 144 source-to-target adaptation pairs across six physics domains. Each pair links a source environment to a mutated target environment with the same goal and interface. A code-driven design that succeeds in the source fails in the target, where agents must iteratively adapt it into a working target design using diagnostic sandbox feedback within a limited attempt budget. We compare ten self-evolving methods from four paradigms. The benchmark remains far from saturated: Reflexion + Qwen3-14B succeeds on only 35.9% of full-benchmark pairs, while GPT-5.5 solves 66.7% of the Statics subset under the full budget. Together, these results show that simulator-grounded reflection is more reliable than unverified self-revision, while memory anchors agents to early designs and broad tree search explores without converging. Even revealing exact physical changes does not raise the performance ceiling, pointing to mechanism redesign rather than parameter inference as the central bottleneck. Data and code are available at https://github.com/thunlp/PACE-Bench.

1 Introduction

Figure

Figure 1: Existing self-evolving benchmarks test transfer or generalization, whereas PACE-Bench tests adaptation of an executable design after physical environment shift.

Benchmark Feedback-Driven Improvement Physical Simulation Executable Design Self-Evolution Evaluation Adaptation After Env. Change Self-evolving agent benchmarks StreamBench Wu et al. (2024) ✓ ×\times ×\times ✓ ×\times LifelongAgentBench Zheng et al. (2025a) ✓ ×\times ×\times ✓ ×\times SE-Bench Yuan et al. (2026) ×\times ×\times ×\times ✓ ×\times SEA-Eval Jiang et al. (2026) ✓ ×\times ×\times ✓ ×\times SkillLearnBench Zhong et al. (2026) ✓ ×\times ×\times ✓ ×\times SEAGym Zheng et al. (2026) ✓ ×\times ×\times ✓ ×\times AutoEnv Zhang et al. (2025a) ✓ ×\times ×\times ✓ ×\times EvoAgentBench Gao et al. (2026) ✓ ×\times ×\times ✓ ×\times Physical and engineering benchmarks ENGDESIGN Guo et al. (2026) ×\times ✓ ✓ ×\times ×\times Frontier-Eng Chi et al. (2026) ✓ ✓ ✓ ✓ ×\times CausalWorld Ahmed et al. (2020) ✓ ✓ ×\times ×\times ×\times NewtonBench Zheng et al. (2025b) ✓ ✓ ×\times ×\times ×\times PACE-Bench ✓ ✓ ✓ ✓ ✓

Table 1: Comparison of representative benchmarks for self-evolution, engineering design, and physical environments. The highlighted final column is the core capability evaluated by PACE-Bench; the other columns describe its evaluation setting.

Self-evolving agents improve future behavior by updating their parameters, context, memory, or tools from interaction experience Gao et al. (2025). By turning interaction feedback into autonomous improvement, this paradigm reduces repeated human redesign and supports scalable, lifelong agent systems Fang et al. (2025).

Despite this promise, standard evaluations optimize an answer or policy under fixed execution rules. Recent benchmarks measure experience accumulation over task streams Wu et al. (2024); Zheng et al. (2025a), including long-term performance, efficiency, and stability Jiang et al. (2026), or transfer learned knowledge and skills to related tasks Yuan et al. (2026); Zhong et al. (2026); Gao et al. (2026). Others test whether prompt, code, or harness updates generalize to held-out tasks and environments Zheng et al. (2026); Zhang et al. (2025a). However, none evaluates whether an agent can adapt a previously successful design after a change in the execution environment causes it to fail. Such shifts are fundamental in deployment, where surroundings and operating conditions evolve frequently. Agents must identify obsolete assumptions, preserve useful components, and decide whether to revise or replace the design.

Physical simulation offers a controlled testbed for this adaptation, while code provides an executable interface for revising and verifying designs. Changes in friction, material strength, or dynamics can invalidate a working design without changing its goal. Figure 1 illustrates this with a vehicle that works on high-friction terrain but fails on ice. Existing physical benchmarks, however, either study simulator-based design or executable feedback under fixed settings Guo et al. (2026); Chi et al. (2026), or vary physical environments without self-evolving redesign Ahmed et al. (2020); Zheng et al. (2025b). Adaptation of an existing design after an environment change therefore remains untested (Table 1).

To address this gap, we introduce PACE-Bench, a benchmark of self-evolving adaptation after controlled environment changes using executable physical design. Following prior work on code-based agents Wang et al. (2024) and executable physical simulation Xie et al. (2026), each task starts with a code-driven design that succeeds in a source environment. A mutation then systematically changes physical parameters such as friction, material strength, or dynamics to create a target environment where the source design fails but a verified reference design succeeds. With the goal and interface fixed, the agent has 20 attempts to iteratively revise its design using diagnostic sandbox feedback. Across 36 base tasks and six physics domains, four targets per task yield 144 source-to-target pairs (τ0→τk\tau_{0}\to\tau_{k}).

We compare ten self-evolving methods from four paradigms across Qwen3 model sizes, then evaluate larger open and frontier LLMs on selected subsets. The benchmark remains far from saturated: Reflexion with Qwen3-14B succeeds on only 35.9% of full-benchmark pairs, while GPT-5.5 solves 66.7% of the Statics subset under the full budget. Simulator-grounded reflection outperforms unverified self-revision, memory can anchor agents to early designs, and broad tree search often struggles to convert exploration into convergence. Code-similarity and nine-category error analyses trace these behaviors to Design Fixation versus Stagnation or undirected Exploration. Finally, revealing exact physical changes still does not raise the performance ceiling, indicating that mechanism redesign (“know how”) is the genuine bottleneck compared to parameter inference (“know what”). Together, these findings position PACE-Bench as a reproducible testbed for diagnosing and improving self-evolving agents under changing environments.

Contributions. (i) We introduce PACE-Bench, a systematic benchmark for self-evolving adaptation after environment shifts using code-driven physical design, with a unified codebase and reproducible evaluation suite. (ii) We evaluate ten methods across four paradigms, showing that the benchmark remains unsaturated, simulator-grounded reflection is reliable, tree search is efficient, and memory can constrain stronger models. (iii) We analyze failure trajectories and parameter disclosure, revealing the tension between exploration and exploitation and the difficulty of mechanism redesign even when exact physical changes are known.

References (34)