Expectation-based dynamic scene understanding