Comp4D: LLM-Guided Compositional 4D Scene Generation

Dejia Xu, Hanwen Liang, Neel P. Bhatt, Hezhen Hu, Hanxue Liang, Konstantinos N. Plataniotis, Zhangyang WangarXiv 2024 · DOI

TL;DR

This paper introduces Comp4D, a novel framework for generating dynamic 4D scenes from text descriptions. By leveraging Large Language Models (LLMs) to decompose scenes into individual objects and plan their movements, Comp4D overcomes the limitations of previous object-centric approaches, enabling more realistic and interactive 4D content creation.

What Problem Does This Paper Address?

The field of generative AI has seen remarkable progress in creating 2D and 3D content, with a growing interest in 4D (3D + time) content. However, current methods for 4D scene generation often struggle with a lack of comprehensive 3D datasets, leading them to focus on generating individual, object-centric 4D assets. This approach fails to capture the complex interactions and global movements that define realistic 4D scenes. The core challenge is to move beyond generating isolated objects and instead create dynamic scenes with multiple interacting objects, accurately reflecting their relationships and movements over time.

Methods

Comp4D tackles this by adopting a compositional approach. The process begins with an LLM (specifically GPT-4) that takes a text prompt and:

  1. Decomposes the scene: Identifies individual entities (objects) within the scene.
  2. Designs trajectories: Determines the global displacement and motion paths for each object using physics-based kinematics. This offloads the complex task of global motion planning from the diffusion models.

Once the objects and their trajectories are defined, Comp4D constructs the 4D scene through these key stages:

  • Static 3D Object Construction: Individual 3D objects are generated using pre-trained 3D-aware diffusion models.
  • Compositional Score Distillation: This is the core of the dynamic generation. The framework uses a novel score distillation technique that guides the optimization of a deformable 3D Gaussian representation for each object. This process is guided by the LLM-generated trajectories, ensuring objects move realistically and interact appropriately. The method can flexibly switch between rendering single objects or the entire scene for optimization.
  • Deformable 3D Gaussians: Each object is represented as a set of deformable 3D Gaussians, allowing for dynamic shape changes and local deformations. An MLP network handles these deformations, conditioned on 3D coordinates and time.
  • Physics-based Contact Loss: To prevent objects from intersecting unrealistically, a contact loss is incorporated, inspired by physics simulations.

Datasets

The paper leverages existing pre-trained diffusion models for training and evaluation, including:

  • Text-to-Image Diffusion Models: Stable Diffusion 2.1.
  • Text-to-Video Diffusion Models: Zeroscope.
  • 3D-Aware Diffusion Models: MVDream.

No new datasets are introduced in this work.

Key Insights and Ideas

  • LLMs as Scene Decomposers and Motion Planners: The paper highlights the power of LLMs not just for understanding text but for breaking down complex scenes into manageable components and planning their dynamic behavior. This is a significant step beyond simply generating static objects.
  • Disentangling Global and Local Motion: By separating global displacement (handled by LLMs) from local deformation (handled by diffusion models and 3D Gaussians), the framework simplifies the optimization process and allows for more complex, long-range object movements.
  • Compositional Score Distillation: The ability to optimize individual objects within a scene context, guided by pre-defined trajectories, is crucial for achieving realistic interactions and avoiding the pitfalls of object-centric score distillation where occlusions can hinder learning.
  • Deformable 3D Gaussians for Dynamic Scenes: Using 3D Gaussians as the underlying representation offers a good balance between rendering speed and the ability to model complex dynamic deformations, making them suitable for 4D generation.

Key Results

  • Qualitative Superiority: Comp4D generates scenes with significantly more realistic motion, object interactions, and visual quality compared to state-of-the-art baselines like 4dfy and Animate124. Examples show distinct flapping wings, dynamic body shapes, and natural object interactions.
  • Quantitative Improvement: Using the Q-Align metric for image and video quality assessment, Comp4D outperforms baselines across various metrics, achieving scores up to 3.367 for video quality.
  • Rendering Speed: The framework achieves a rendering speed of 70 FPS at 320x576 resolution, vastly outperforming baselines that render at around 4 FPS. This is attributed to the efficient Gaussian representation.
  • Ablation Studies: Experiments confirm the importance of each component, with the full model demonstrating the best performance in terms of geometry, texture, motion, and interactions. Notably, removing object-centric rendering or joint rendering degrades results.

Limitations and Future Work

  • LLM Trajectory Precision: The authors acknowledge that while GPT-4's zero-shot capabilities are leveraged, fine-tuning the LLM for more precise trajectory generation and complex motion could further improve results.
  • Video Diffusion Model Constraints: The realism and length of generated motion are currently limited by the capabilities of the video diffusion models used.
  • Future Directions: The paper suggests exploring longer and more complex motions for practical 4D content creation.

Summary updated

BibTeX
@misc{xu2024comp,
  author = {Dejia Xu and Hanwen Liang and Neel P. Bhatt and Hezhen Hu and Hanxue Liang and Konstantinos N. Plataniotis and Zhangyang Wang},
  title = {{Comp4D: LLM-Guided Compositional 4D Scene Generation}},
  year = {2024},
  eprint = {2403.16993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.16993},
}
Figure