DynaVol: Unsupervised Learning for Dynamic Scenes through Object-Centric Voxelization

Yanpeng Zhao, Siyu Gao, Yunbo Wang, Xiaokang Yang

In the quest to help machines understand the physical world, researchers have long struggled with a fundamental problem: how do you teach a model to recognize individual objects in a moving video without giving it any labels? While humans do this instinctively, AI models often get tripped up by changing perspectives and overlapping objects.

A new paper from researchers at Shanghai Jiao Tong University introduces DynaVol, a framework that moves beyond 2D pixels to understand dynamic scenes through 3D voxelization.

TL;DR

DynaVol is an unsupervised generative model that decomposes dynamic 3D scenes into individual objects by learning "object-centric voxels." By unifying geometric structure with slot-based attention, it achieves state-of-the-art scene decomposition and enables advanced editing capabilities, such as modifying an object's trajectory or removing it entirely from a video.

Comparison of existing 2D approaches and DynaVol's 3D object-centric voxelization.

What Problem Does This Paper Address?

Most existing unsupervised scene decomposition methods operate in 2D, attempting to segment objects frame-by-frame. However, the world is 3D. When a camera moves or an object rotates, 2D methods often suffer from "multi-view mismatch"—they might incorrectly identify an object as a different entity simply because its 2D shape changed from a new angle.

Furthermore, standard Neural Radiance Fields (NeRFs) are excellent at rendering 3D scenes but usually treat the entire scene as one continuous "soup" of density. They lack the inherent ability to know where one object ends and another begins. The challenge is to create a model that is both 3D-consistent (understands depth and volume) and object-centric (understands individual entities) without relying on human-provided masks or labels.

Methods: Object-Centric Voxelization

DynaVol tackles this challenge by introducing object-centric voxelization. Instead of a standard 3D grid, it uses a 4D voxel representation: three dimensions for spatial location and a fourth dimension representing the probability distribution over different object "slots."

The architecture consists of three main pillars:

  1. Dynamics Module: It learns a "deformation function" that maps moving voxels back to a static, canonical space. This effectively decouples an object's appearance from its motion.
  2. Volume Slot Attention: A 3D adaptation of the popular Slot Attention mechanism. It uses a 3D CNN encoder to aggregate local voxel features into global, time-invariant "slots" that represent individual objects.
  3. Compositional NeRF Decoder: To render the scene, the model combines the local voxel data with the global slot features. Because the rendering is differentiable, the model can learn the entire scene structure simply by trying to reconstruct the input video.

The Training Pipeline: The authors utilize a three-stage training process. They start with a "3D Voxel Warmup" to establish basic geometry, follow with a "3D-to-4D Expansion" (using a connected components algorithm to cluster voxels into initial objects), and finally perform "4D Voxel Optimization" to refine the entire system end-to-end.

Key Insights and Capabilities

  • 3D is the Key to 2D Consistency: By performing decomposition in 3D space, the resulting 2D segmentation masks are naturally consistent across different camera angles and time steps.
  • Local + Global Representation: The model learns that an object is defined by both its local structure (voxels) and its global identity (slots). This dual representation makes the model highly robust to occlusions.
  • Zero-Shot Editing: Because objects are represented as explicit 3D voxel groups, they can be manipulated after training. Users can "turn off" the voxels for a specific object to delete it, or swap the motion parameters of one object with another to alter its path.

Key Results

DynaVol was evaluated on synthetic datasets (Kubric) and real-world monocular videos (HyperNeRF, $D^2$NeRF, ENeRF-Outdoor), significantly outperforming existing baselines in both image quality and scene decomposition.

Qualitative comparison of scene decomposition between DynaVol and baseline methods.
  • Novel View Synthesis: On real-world scenes, DynaVol outperformed HyperNeRF by 5.7% in PSNR and 7.2% in SSIM.
  • Scene Decomposition: Using the Foreground Adjusted Rand Index (FG-ARI), DynaVol achieved scores in the mid-90s across most synthetic tasks. In stark contrast, 2D-based methods struggled to break a score of 10 due to their inability to handle the multi-view nature of the data.
  • Editing: The framework demonstrated impressive qualitative results, seamlessly removing objects from real-world videos with minimal artifacts—a feat 2D decomposition methods generally cannot replicate.

Limitations and Future Work

While DynaVol represents a significant leap forward, the authors note a few areas for future improvement:

  • Rendering Fidelity: While it beats many baselines, it does not yet reach the ultra-high-fidelity levels of specialized renderers (like those using spherical harmonics), as its primary focus is on object decomposition.
  • Fixed Slot Count: The model requires a predefined maximum number of slots. While it handles "empty" redundant slots well, an automated way to dynamically determine the number of objects would be ideal.
  • Training Complexity: The three-stage training process is highly effective but adds architectural complexity compared to single-stage models.

Ultimately, DynaVol represents a major step toward AI that perceives the world not as a flat grid of pixels, but as a collection of distinct, 3D objects moving through space.

Summary updated

BibTeX
@inproceedings{zhao2024dynavol,
  author = {Yanpeng Zhao and Siyu Gao and Yunbo Wang and Xiaokang Yang},
  title = {{DynaVol: Unsupervised Learning for Dynamic Scenes through Object-Centric Voxelization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=koYsgfEwCQ},
}
Figure