fOcould be applied to each, independently, to predict their respective future states. But if the
objects interact with one another, then fOis insufﬁcient because it does not capture their relationship.
Assuming two objects and one directed relationship, e.g., a ﬁxed object attached by a spring to a freely
moving mass, the ﬁrst (the sender ,o1) inﬂuences the second (the receiver ,o2) via their interaction.
The effect of this interaction, et+1, can be predicted by a relation-centric function, fR. ThefRtakes
as inputo1,o2, as well as attributes of their relationship, r, e.g., the spring constant. The fOis
modiﬁed so it can input both et+1and the receiver’s current state, o2;t, enabling the interaction to
inﬂuence its future state, o2;t+1,
et+1=fR(o1;t;o2;t;r) o2;t+1=fO(o2;t;et+1)
The above formulation can be expanded to larger and more complex systems by representing them
Reasoning about objects, relations, and physics is central to human
intelligence, and a key goal of artificial intelligence. Here we introduce the
interaction network, a model which can reason about how objects in complex
systems interact, supporting dynamical predictions, as well as inferences about
the abstract properties of the system. Our model takes graphs as input,
performs object- and relation-centric reasoning in a way that is analogous to a
simulation, and is implemented using deep neural networks. We evaluate its
ability to reason about several challenging physical domains: n-body problems,
rigid-body collision, and non-rigid dynamics. Our results show it can be
trained to accurately simulate the physical trajectories of dozens of objects
over thousands of time steps, estimate abstract quantities such as energy, and
generalize automatically to systems with different numbers and configurations
of objects and relations. Our interaction network implementation is the first
general-purpose, learnable physics engine, and a powerful general framework for
reasoning about object and relations in a wide variety of complex real-world
domains.
Peter W. Battaglia Razvan Pascanu Matthew Lai Danilo Rezende Koray Kavukcuoglu