The new model could allow robots to better predict changes in their environment and make better decisions.