TL;DR
This paper introduces ComPhy, a new benchmark dataset designed to evaluate an AI's ability to infer hidden physical properties—such as mass and electric charge—by observing how objects interact in short video clips. The authors also propose the Compositional Physics Learner (CPL), a neuro-symbolic framework that successfully blends visual perception, physical property estimation, and dynamic tracking to outperform existing state-of-the-art video reasoning models.
What Problem Does This Paper Address?
While humans can easily watch a brief video and deduce whether an object is heavy or magnetically charged based on how it moves and collides, current AI models struggle with this task. Existing video reasoning benchmarks primarily focus on explicitly visible elements like color, shape, and direct contact. Furthermore, older datasets often contain "shortcuts" where physical properties are inadvertently tied to visual features (e.g., making all red spheres heavy), allowing models to memorize visual priors rather than actually understand physics.
ComPhy addresses this gap by forcing models to decouple visual appearance from intrinsic, non-visible physical properties. It challenges AI to observe a few "reference videos" of objects interacting, infer their hidden properties (mass and charge), and use that knowledge to answer factual, predictive, and counterfactual questions about a separate "target video."
Methods
To tackle the ComPhy benchmark, the authors developed the Compositional Physics Learner (CPL), an oracle neuro-symbolic framework divided into four distinct stages:
- Perception: A Mask-RCNN detects objects, extracts their visual attributes (color, shape, material), and tracks their full-motion trajectories across video frames.
- Physical Property Inference: A Graph Neural Network (GNN) acts as a Physical Property Learner (PPL). It treats objects as nodes (predicting mass) and their relationships as edges (predicting relative charge: same, opposite, or neutral). It aggregates information across multiple reference videos using max-pooling to construct a unified "Property Graph."
- Dynamics Prediction: Another GNN-based dynamic predictor uses the inferred mass and charge properties along with historical trajectory data to simulate and forecast future object positions ($t+1$).
- Symbolic Execution: A program parser translates natural language questions into executable functional programs, which are then run directly against the predicted physical dynamics to yield an answer.
Datasets
The paper introduces the ComPhy dataset, which consists of:
- 12,000 total video sets (8,000 for training, 2,000 for validation, and 2,000 for testing).
- Each set contains 4 reference videos (2 seconds each) demonstrating isolated object interactions, and 1 target video (5 seconds) used for the actual evaluation.
- 99,844 questions split into three categories: Factual (42%), Counterfactual (50%), and Predictive (8%).
Key Insights and Ideas
- Decorrelation Prevents Cheating: By randomly assigning physical properties regardless of an object's color or shape, ComPhy ensures that models cannot rely on superficial visual shortcuts.
- The Power of Few-Shot Reference Videos: A single video often lacks the context needed to distinguish between different forces (e.g., separating the effects of inertia from magnetic attraction). Providing a handful of distinct reference videos allows the model to isolate variables and build a robust internal physics profile of the objects.
- Neuro-Symbolic Synergy: Purely deep-learning-based video QA models fail at multi-step physical reasoning. Explicitly separating property inference, physics simulation, and symbolic question execution yields much higher accuracy and interpretability.
Key Results
The authors evaluated several state-of-the-art video reasoning models (such as CNN-LSTM, HCRN, MAC, and ALOE) against CPL and human performance:
- Factual Reasoning: CPL achieved 80.5% accuracy, significantly outperforming the best baseline model, MAC, which scored 68.6%.
- Counterfactual Reasoning: On per-question accuracy for counterfactuals, CPL achieved 29.1%, outperforming ALOE (Ref) at 22.2%.
- Human Performance Gap: Despite CPL's success over other models, humans still vastly outperform AI on ComPhy, scoring 90.6% on factual questions and 52.9% on complex counterfactual questions. This highlights a substantial remaining gap in machine-learned physical intuition.
Limitations and Future Work
While CPL marks a significant step forward, the authors note two primary limitations:
- Long-Term Dynamics Bottleneck: The dynamic predictor's accuracy degrades over longer time horizons, which hurts its performance on complex future-predicting and counterfactual questions.
- Scalability to Complex Scenes: When tested on more chaotic environments containing 6 to 8 objects with overlapping properties, both CPL and the baseline models suffered a sharp drop in performance. Future work will need to focus on developing more robust dynamics engines capable of generalizing to highly complex visual scenes.
Summary updated