PhysCodeBench: Benchmarking Physics-Aware Symbolic Simulation of 3D Scenes via Self-Corrective Multi-Agent Refinement

arXiv cs.RO / 4/28/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • PhysCodeBench is introduced as a comprehensive benchmark for physics-aware symbolic simulation, focusing on converting natural-language descriptions of physical phenomena into executable simulation environments for 3D scenes.
  • The benchmark includes 700 manually crafted samples covering mechanics, fluid dynamics, and soft-body physics, with expert annotations and an evaluation setup that checks both code executability and physical accuracy.
  • A Self-Corrective Multi-Agent Refinement Framework (SMRF) is proposed, using three specialized agents (simulation generator, error corrector, and simulation refiner) that iteratively improve outputs via domain-specific validation.
  • SMRF achieves 67.7 overall points versus 36.3 for the best baseline SOTA model, showing a 31.4-point gain and indicating that error correction and multi-agent specialization materially improve performance across domains.

Abstract

Physics-aware symbolic simulation of 3D scenes is critical for robotics, embodied AI, and scientific computing, requiring models to understand natural language descriptions of physical phenomena and translate them into executable simulation environments. While large language models (LLMs) excel at general code generation, they struggle with the semantic gap between physical descriptions and simulation implementation. We introduce PhysCodeBench, the first comprehensive benchmark for evaluating physics-aware symbolic simulation, comprising 700 manually-crafted diverse samples across mechanics, fluid dynamics, and soft-body physics with expert annotations. Our evaluation framework measures both code executability and physical accuracy through automated and visual assessment. Building on this, we propose a Self-Corrective Multi-Agent Refinement Framework (SMRF) with three specialized agents (simulation generator, error corrector, and simulation refiner) that collaborate iteratively with domain-specific validation to produce physically accurate simulations. SMRF achieves 67.7 points overall performance compared to 36.3 points for the best baseline among evaluated SOTA models, representing a 31.4-point improvement. Our analysis demonstrates that error correction is critical for accurate physics-aware symbolic simulation and that specialized multi-agent approaches significantly outperform single-agent methods across the tested physical domains.