PaletteSim: Fast Multi-Engine Neural Simulation

Dongwon Son, Minseok Lee, Hojin Jung, Beomjoon KimarXiv 2026

TL;DR

Physics engines are essentially opinionated cartoons of reality—fast when simplified, slow when detailed, and stubbornly married to their own math when things collide. PaletteSim trains a single neural simulator on four different physics engines at once, creating a continuous "palette" of contact behaviors you can blend to match real-world data. By pairing classical analytical equations for mid-air motion with a symmetry-aware neural network for collisions, it runs faster than GPU heavyweights like PhysX and MuJoCo Warp while transferring robot walking policies cleanly to real hardware.

Fig. 1. Overview of PaletteSim. Trajectories from four physics engines train one shared neural simulator. Its continuous engine latent z lets it interpolate between the engines’ contact responses. Throughput reuses the RTX 5090 timing batch in Fig. 2(d). We randomize z and the physical parameters ϕ during policy training. The resulting walking policy transfers to a real G1.

What Problem Does This Paper Address?

Training a robot via reinforcement learning takes millions of trial-and-error steps. Doing that in the real world will quickly leave you with a pile of broken actuators, so we train in simulation.

Here is the catch: real-world contact—a foot striking uneven pavement, a tossed box skidding on a table—is notoriously messy. Analytical simulators (like MuJoCo or PhysX) face a painful trade-off. First, checking collisions on detailed 3D meshes tanks simulation speed. Second, every engine relies on simplified, hardcoded mathematical rules to resolve impacts. Even if you tweak physical parameters like friction or mass (a standard trick called domain randomization), a single engine’s rigid contact rules often cannot reproduce how a real object actually bounces. Meanwhile, existing neural simulators learn from just one engine, faithfully inheriting its blind spots.

Methods

PaletteSim reimagines the simulation step by dividing labor between classical physics (what we know how to compute cheaply) and deep learning (what is expensive and approximate).

  • The Continuous Engine Latent ($z$): Instead of training on one simulator, PaletteSim trains on trajectories from four: MuJoCo, PhysX, PyBullet, and RaiSim. During training, each engine is assigned a quadrant on a 2D plane, and a continuous coordinate $z$ is sampled from that quadrant. At test time, sliding $z$ between quadrants lets the network smoothly interpolate between the four engines' contact philosophies—like mixing primary colors on a palette.
  • Hybrid Analytical-Neural Step: Rather than forcing a neural network to learn $F=ma$ from scratch, PaletteSim computes unconstrained "free motion" (gravity, inertia, joint torques) analytically using the standard, fast Articulated-Body Algorithm. It completely skips analytical collision checks. Instead, a learned network predicts point corrections—tiny spatial nudges applied to "surface anchors" (representative points on each rigid body) to resolve contacts and joint limits, followed by reconstructing the final body poses.
  • Locality and Geometric Symmetry: Contact is local, and physics doesn't care which way North is. PaletteSim uses a Graph Neural Network (GNN) that only passes messages between the closest candidate anchor pairs. Furthermore, it uses relative positions and Frequency-based Equivariant Features (FER) to make predictions $\mathrm{SO}(3)$-equivariant: rotate the whole scene and gravity, and the predicted collision bounce rotates identically without needing extra training data.

Datasets

  • Newly Generated Multi-Engine Dataset: The authors generated 251,000 simulated trajectories evenly spanning MuJoCo, PhysX, PyBullet, and RaiSim. Scenes feature four legged robots (Unitree G1, H2, Go2, and ANYmal-C) on flat and rough terrain, a fixed Franka FR3 arm manipulating objects, and ~8,000 complex 3D meshes drawn from Google Scanned Objects, OmniObject3D, and NOCS (driven by controllers tracking LAFAN1 and Kine2Go motions).
  • Standard Benchmarks & Real-World Data: They also train and evaluate on Kubric MOVi-A/B rigid-body benchmarks, calibrate real-world object impacts on the ContactNets box-tossing dataset, and evaluate real humanoid locomotion using recorded Unitree G1 hardware clips (from Holosoma trials and hurdle-crossing).

Key Insights and Ideas

  • Blending wrong models makes a righter model: In an illustrative real-world box toss, tuning mass across all four native physics engines still missed the true landing spot by at least $7.0\text{ mm}$. Optimizing PaletteSim's continuous latent $z$ blended their dynamics to land within $0.10\text{ mm}$.
  • Randomizing physics rules, not just parameters: In reinforcement learning, we usually randomize mass and friction so policies don't overfit. PaletteSim lets you randomize $z$ during training—exposing the robot to an entire spectrum of contact models, which noticeably sharpens real-world transfer.
  • Respecting physics structure beats brute-force architectures: Ablation studies show that stripping away analytical free-motion, removing $\mathrm{SO}(3)$ rotational symmetry, or swapping the local GNN for a global scene Transformer causes prediction errors to skyrocket (often doubling or quadrupling surface-point error).

Key Results

  • Throughput & Stability: On batches of 1,024 rough-terrain robot scenes (on NVIDIA B200 GPUs), PaletteSim hits ~38,100 intervals/s—1.60× faster than MJWarp and 3.22× faster than PhysX. On heterogeneous 128-scene RTX 5090 benchmarks, it runs 3.28× faster than MJWarp and 4.07× faster than PhysX, while maintaining 95.7% valid rollouts at large $20\text{ ms}$ steps (where MJWarp drops to 69.9% and PhysX to 50.2%).
  • System Identification: When calibrated to real-world recordings, PaletteSim achieves the lowest prediction error across all baselines. Optimizing the continuous latent $z$ lowers held-out prediction loss by 20.4% on G1 walking and 8.1% on box tossing compared to picking the best single fixed engine code.
  • Sim-to-Real Transfer: A PPO walking policy trained in PaletteSim and deployed zero-shot onto a real Unitree G1 humanoid tracked velocity commands with 25.9% lower path RMSE ($0.368\text{ m}$ vs. $0.497\text{ m}$) than an identical policy trained in MJWarp.

Limitations and Future Work

PaletteSim can only blend physical behaviors present in its four teacher engines; effects absent from those training setups—like soft-body deformation or gear backlash in actuators—are out of reach. Additionally, its current formulation restricts scenes to rigid bodies over static height-field terrains (meaning no caves or overhangs) and supports at most one articulated robot per scene. Looking ahead, the authors plan to expand the framework to handle deformable objects and multi-robot interactions.

Summary updated

BibTeX
@misc{son2026palettesim,
  author = {Dongwon Son and Minseok Lee and Hojin Jung and Beomjoon Kim},
  title = {{PaletteSim: Fast Multi-Engine Neural Simulation}},
  year = {2026},
  eprint = {2611.38697},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38697},
}
Figure