Introduction
For a robot to effectively rearrange furniture or navigate a kitchen, it requires a robust model of how objects move and interact. Traditional Object-Oriented Markov Decision Processes (OO-MDPs) factor the world into objects and relations, but they often struggle with real-world physics. This paper introduces Physics-Based Reinforcement Learning (PBRL), an approach that utilizes a full physics engine as a "model prior" for robots. By treating physical properties—such as mass and friction—as latent variables to be estimated, robots can learn to interact with novel objects using significantly fewer observations than traditional non-parametric methods.
The Challenge with Traditional OO-MDPs
Standard OO-MDPs face three primary hurdles when modeling physical environments:
- Discreteness: They frequently rely on discrete transitions that ignore the continuous geometry of coordinate frames.
- Lack of Integration: They do not inherently account for the fact that velocity changes position continuously over time.
- Rigid Relations: They utilize "first-order predicates" (e.g.,
is_touching), which are too binary to capture the complex nuances of parametric physical contact.
While these issues can be partially patched using regression techniques, learning complex multi-object dynamics from scratch remains incredibly "sample-hungry." A robot must observe numerous collisions just to understand basic interactions, such as how a chair reacts when pushed against a table.
Physics-Based Reinforcement Learning (PBRL)
To overcome these limitations, the authors propose shifting from learning arbitrary transition functions to learning the parameters of a physics engine.
Instead of asking "What is the function $f(s, a) = s'$?", PBRL asks "What are the physical constants $\Phi$ such that a physics engine $f(s, a; \Phi)$ accurately predicts the next state?" * Physical Quantities as Latent Variables: Properties like mass ($m$), friction ($\mu$), and restitution ($r$) are treated as hidden variables with defined probability distributions (e.g., Log-Normal for mass). * Constraints: The model incorporates specific joints, such as anisotropic friction to model wheels and distance joints to model hinges. * Bayesian Inference: As the robot moves objects, it uses observed transitions to update its belief over these parameters using a Metropolis sampler (Markov Chain Monte Carlo, or MCMC).
The Baseline: OO-LWR
To provide a fair comparison, the authors developed Object-Oriented Locally-Weighted Regression (OO-LWR). This baseline improves upon standard OO-MDPs by employing continuous state-space regression and "collision sectors"—discretizing the area around an object to detect contact. However, it still lacks the deep structural knowledge inherent to a physics engine.
Experimental Datasets
The researchers evaluated their approach using two simulated 2D environments built on the Box2D physics engine:
- Shopping Cart Task: A single-body task where a cart features a wheel constraint (it can pivot but not slide sideways) and must be pushed to a goal location while avoiding walls.
- Apartment Rearrangement Task: A complex multi-object environment containing 11 objects, including tables with wheels, heavy couches, and desks with revolute joints (hinges).
Key Insights and Results
The integration of a physics engine provides a massive inductive bias. It inherently equips the robot with the laws of physics (e.g., $F=ma$ and objects cannot overlap). Consequently, the robot only needs to learn the specific constants of its environment, such as the mass of a chair or the friction of the floor. Furthermore, by performing regression in the local coordinate frame of an object, the model achieves pose invariance—learning how a chair moves when pushed North automatically informs how it moves when pushed East.
This approach yields significant performance advantages:
- Sample Efficiency: In the noise-free shopping cart task, the PBRL agent recovered the true model in just two steps. The OO-LWR agent eventually succeeded but was much slower and frequently collided with walls during the learning phase.
- Scalability: In the complex Apartment task, OO-LWR failed completely. Even after 1,000 observations, it could not model the dynamics accurately enough to form a viable plan. In contrast, PBRL bypassed the "combinatorial explosion" of multi-body collisions, quickly estimated the relational dynamics, and produced a successful plan.
- Robustness: PBRL maintained its advantage even when training data was corrupted with Gaussian noise, although the learning process was naturally more gradual.
Limitations and Future Work
Despite its successes, PBRL has notable limitations. Using MCMC to sample physical parameters introduces significant computational overhead. The sampler can be slow to mix in high-dimensional spaces, prompting the use of categorical priors for complex tasks. Additionally, the current model relies on an over-complete model space, assuming a fixed set of possible constraints. A more flexible system would dynamically add or remove constraints, potentially using a Dirichlet Process prior. Finally, because modern physics engines are often not differentiable, gradient-based planning is difficult. Exploring differentiable physics models represents a highly promising direction for future research.
Summary updated