OCK: Unsupervised Dynamic Video Prediction with Object-Centric Kinematics

Yeon-Ji Song, Jaein Kim, Suhyung Choi, Jin-Hwa Kim, Byoung-Tak Zhang

TL;DR

OCK (Object-Centric Kinematics) is a novel unsupervised video prediction framework that explicitly disentangles object appearance from motion dynamics. By integrating explicit kinematic features—position, velocity, and acceleration—into a transformer-based architecture, the model achieves superior long-term temporal consistency and predictive accuracy in complex, multi-object environments compared to appearance-only methods.

What Problem Does This Paper Address?

Predicting the future of a video sequence is a fundamental challenge in computer vision, requiring a deep understanding of both what objects look like and how they interact physically. Current state-of-the-art "object-centric" models typically decompose scenes into "slots"—latent vectors representing individual objects.

However, these models often focus primarily on appearance (size, shape, color), leaving motion dynamics (position, velocity, acceleration) to be learned implicitly. This often leads to "amorphous" object collapse during complex interactions or collisions and poor generalization over long time horizons. The authors argue that for machines to achieve human-like perception, they must explicitly model the physical properties of objects, mirroring how humans naturally separate "what" an object is from "how" it moves.

Figure 1. Comparison of OCK with previous slot-based video prediction methods utilizing transformers. The previous methods leverage object attributes only. In contrast, OCK utilizes both ob- ject appearances and motions.

Methods

The OCK framework builds upon the autoregressive transformer paradigm but introduces a dedicated Kinematics Encoder alongside the traditional Slot Encoder.

  1. Dual Representation:
    • Slot Encoder: Uses Slot Attention to extract time-static appearance features ($S_t$).
  2. Kinematics Encoder: A CNN-based module that localizes object centers to derive explicit 2D coordinates. It then calculates velocity ($v$) and acceleration ($a$) through numerical differentiation across consecutive frames.
  3. Transformer Architectures: The authors propose two ways to fuse these features:
  4. Joint-OCK: Concatenates appearance slots and kinematic features into a single input for a standard transformer encoder.
  5. Cross-OCK: Uses appearance slots as queries and kinematic features as keys and values in a cross-attention mechanism, allowing the model to precisely calibrate how motion updates the object state.
  6. Predictive Approaches:
    • Analytical: Uses physics-based reasoning (e.g., $p_{t+1} = p_t + v_t \cdot \delta$) to anticipate the next kinematic state, which is then used to guide the generation of the next frame.
  7. Empirical: Relies on gradient-based inductive learning to infer motion patterns directly from the current frame.
Figure 2. Overview of our pipeline. The model extracts object slots using the pretrained object-centric slot encoder, and Object Kine- matics, including position, velocity, and acceleration, using the kinematics encoder, both from multiple video frames. These features are linearly projected and processed by the OCK mechanism with a positional encoding to generate future slots in an autoregressive manner.

Datasets

The model was evaluated on a mix of synthetic and real-world benchmarks:

  • OBJ3D: A simple dataset of 3D geometric objects on a gray background.
  • MOVi (A through E): A suite of synthetic datasets with increasing complexity, featuring diverse object types, complex backgrounds, and large camera motions.
  • Waymo Open Dataset: A high-resolution real-world dataset consisting of complex driving scenarios, used to test the model's scalability to "in-the-wild" data.

Key Insights and Ideas

  • Explicit Motion as an Inductive Bias: Explicitly providing the model with $p, v, a$ acts as a powerful prior. It prevents the model from "forgetting" an object's trajectory during occlusions or collisions, a common failure mode in appearance-only models.
  • Cross-Attention for Calibration: The Cross-OCK variant (shown in Figure 3c) proved highly effective. By using a temperature parameter to modulate the attention mechanism, the model can better handle the trade-off between long-term stability and short-term expressivity.
  • Analytical Reasoning Wins: The "Analytical" approach—which essentially does a bit of mental physics before predicting the next frame—outperformed the purely "Empirical" approach in complex scenes where objects collide and change appearance frequently.
Figure 3. An illustration of the OCK architecture. (a) Traditional transformer model processes slot exclusively. (b) Joint-OCK in- corporates concatenated slots and kinematics as input. (c) Cross- OCK employs cross-attention, where slot representations serve as queries, and kinematics functions as keys and values.

Key Results

OCK demonstrated significant improvements over current SOTA models like SlotFormer and OCVP:

  • Quantitative Superiority: On the challenging MOVi-E dataset, OCK achieved a PSNR of ~22.4, significantly higher than SlotFormer (~21.3). It also showed much lower LPIPS scores, indicating higher perceptual quality.
  • Long-Term Generalization: When trained on only 8 future frames, OCK remained stable and accurate up to 18 frames, whereas baseline models began to diverge and lose object coherence after the 7th frame.
  • Real-World Performance: On the Waymo dataset, OCK achieved a PSNR of ~25.9 and an SSIM of ~0.728, vastly outperforming SlotFormer (PSNR ~19.1, SSIM ~0.330), which struggled with the high-speed motion and background complexity of real driving scenes.
Figure 4. Generation results on MOVi-A. (a) We display the ground-truth frames (top row) and prediction results from two baseline models and Cross-OCK for comparison. (b) We visualize the kinematics trajectories of foreground objects across predicted frames. The top row displays the predicted kinematic trajectory overlaid on the frame, and the bottom row shows the isolated trajectory. Darker dots denote object positions in the latest predicted frame, while lighter dots, with progressively fading colors, represent earlier predictions.

Limitations and Future Work

The authors identify a primary bottleneck: the slot-based object-centric encoder. The current framework relies on pretrained encoders like SAVi, which can struggle to scale to highly unstructured, "in-the-wild" video data. Future work will likely focus on integrating more robust, state-of-the-art slot encoders that can extract cleaner object representations from real-life footage, potentially further bridging the gap between synthetic success and real-world application.

Summary updated

BibTeX
@misc{song2024ock,
  author = {Yeon-Ji Song and Jaein Kim and Suhyung Choi and Jin-Hwa Kim and Byoung-Tak Zhang},
  title = {{OCK: Unsupervised Dynamic Video Prediction with Object-Centric Kinematics}},
  year = {2024},
  eprint = {2404.18423},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.18423},
}
Figure