Neural Force Field: Few-shot Learning of Generalized Physical Reasoning
Shiqian Li, Ruihong Shen, Yaoyu Tao, Chi Zhang, Yixin Zhu
TL;DR
Neural Force Field (NFF) introduces a physics-grounded, force-field representation that extends Neural ODEs to learn explicit continuous interactions via a neural operator on a relation graph. By integrating learned force fields with a second-order ODE solver, NFF achieves accurate trajectory prediction and enables forward and backward planning with few-shot learning, transferring across unseen scenarios. The approach demonstrates strong generalization on I-PHYRE, N-body, and PHYRE benchmarks, outperforming state-of-the-art baselines in both prediction and planning tasks while requiring far less training data. This work suggests that explicit physics-inspired representations can bridge human-like intuitive physics and data-driven learning, offering efficient, interpretable, and adaptable physical world models. The results also highlight the value of precise ODE grounding and neural operators for robust cross-domain generalization and rapid interactive refinement.
Abstract
Physical reasoning is a remarkable human ability that enables rapid learning and generalization from limited experience. Current AI models, despite extensive training, still struggle to achieve similar generalization, especially in Out-of-distribution (OOD) settings. This limitation stems from their inability to abstract core physical principles from observations. A key challenge is developing representations that can efficiently learn and generalize physical dynamics from minimal data. Here we present Neural Force Field (NFF), a framework extending Neural Ordinary Differential Equation (NODE) to learn complex object interactions through force field representations, which can be efficiently integrated through an Ordinary Differential Equation (ODE) solver to predict object trajectories. Unlike existing approaches that rely on discrete latent spaces, NFF captures fundamental physical concepts such as gravity, support, and collision in continuous explicit force fields. Experiments on three challenging physical reasoning tasks demonstrate that NFF, trained with only a few examples, achieves strong generalization to unseen scenarios. This physics-grounded representation enables efficient forward-backward planning and rapid adaptation through interactive refinement. Our work suggests that incorporating physics-inspired representations into learning systems can help bridge the gap between artificial and human physical reasoning capabilities.
