Forward Prediction for Physical Reasoning

Rohit Girdhar, Laura Gustafson, Aaron Adcock, Laurens van der Maaten

Abstract

Physical reasoning requires forward prediction: the ability to forecast what will happen next given some initial world state. We study the performance of state-of-the-art forward-prediction models in the complex physical-reasoning tasks of the PHYRE benchmark. We do so by incorporating models that operate on object or pixel-based representations of the world into simple physical-reasoning agents. We find that forward-prediction models can improve physical-reasoning performance, particularly on complex tasks that involve many objects. However, we also find that these improvements are contingent on the test tasks being small variations of train tasks, and that generalization to completely new task templates is challenging. Surprisingly, we observe that forward predictors with better pixel accuracy do not necessarily lead to better physical-reasoning performance. Nevertheless, our best models set a new state-of-the-art on the PHYRE benchmark.

The Challenge of Physical Reasoning

Physical reasoning—the ability to look at a scene and "see" how it will unfold—is a hallmark of human intelligence. For AI, this is incredibly difficult. Most current models struggle with "chaotic" environments where a millimeter's difference in how you drop a ball can lead to a completely different outcome, such as a ball bouncing into a cup versus hitting the rim.

Examples of PHYRE tasks and rollouts showing solved and unsolved states.

The authors tackle this using the PHYRE benchmark, which requires an agent to perform a single action (like dropping a ball) to achieve a goal (like making two objects touch). The core challenge is two-fold:

  1. Sensitivity: Small variations in actions have huge effects on results.
  2. Generalization: Models must solve "cross-template" tasks—puzzles they haven't seen before that follow different physical rules than their training data.

Architecture of a Mental Simulator

The researchers built agents that use a "mental simulator" to evaluate potential actions. Their pipeline consists of three primary components:

  1. Forward-Prediction Model ($F$): This model takes the current state and "rolls out" the future. The study compared two main approaches:
  2. Object-based: Models like Interaction Networks (IN) and Transformers (Tx) that track specific properties (position, velocity) of individual objects.
  3. Pixel-based: Models like Spatial Transformer Networks (STN) and Deconvolutional Networks (Dec) that predict future video frames directly from pixels.
  4. Task-Solution Model ($C$): A classifier that evaluates the predicted rollout to determine if the goal was achieved.
  5. Search Strategy: The agent samples 1,000 random actions, "imagines" the outcome for each using the models above, and selects the one most likely to succeed.
The proposed forward-prediction and task-solution model architecture, showing the flow from input representations to task-solution classification.

A key technical contribution is the Dec [Joint] model, which trains the pixel-based forward predictor and the task-solution classifier simultaneously. This allows the "imagination" to focus on details relevant to solving the puzzle rather than just visual fidelity.

The Accuracy-Performance Paradox

One of the most striking findings is that better "visual" accuracy (Forward Prediction Accuracy) does not always lead to better reasoning. While object-based models were much better at predicting exactly where pixels would be, pixel-based models were more effective at solving the puzzles.

The authors suggest that for a neural network, it is easier to "see" if two objects are touching in a 2D image than to calculate it from a list of object coordinates and radii. Furthermore, forward prediction provides the biggest boost in "complex" tasks involving many objects. In simple scenes, the model can often guess the outcome without a full rollout, but in crowded scenes, the "mental simulation" becomes essential.

Results and Benchmarking

The study evaluated performance on the PHYRE benchmark (Tiers B and 2B) using the AUCCESS metric, which rewards agents for solving puzzles in as few attempts as possible.

  • New State-of-the-Art: The proposed Dec [Joint] model outperformed all previous methods. In the within-template setting, the best model achieved an AUCCESS of 80.0, compared to the previous best of 77.6 (DQN).
  • Efficiency: The agent reached a success rate of 84.1% within 10 attempts on known puzzle types.
  • Generalization Wall: While they set a new high bar in the cross-template setting (~40.3 AUCCESS), the improvement over non-predictive models was marginal. This highlights that models are often learning specific "motion patterns" rather than universal laws of physics.

Limitations and Future Work

The authors acknowledge that PHYRE is inherently chaotic; even a "realistic" prediction might miss the tiny detail that changes a "win" to a "loss." Future directions include moving to 3D environments to see if object-based models regain an advantage, using more sophisticated scene decomposition, and finding ways to teach models underlying physical principles like gravity and momentum rather than just frame-by-frame prediction.

Summary updated

BibTeX
@misc{girdhar2020forward,
  author = {Rohit Girdhar and Laura Gustafson and Aaron Adcock and Laurens van der Maaten},
  title = {{Forward Prediction for Physical Reasoning}},
  year = {2020},
  eprint = {2006.10734},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.10734},
}
Figure