Scene Co-pilot: Procedural Text to Video Generation with Human in the Loop

Zhaofang Qian, Abolfazl Sharifi, Tucker Carroll, Ser-Nam LimarXiv 2024

TL;DR

This paper introduces "Scene Copilot," a novel framework that bridges the gap between text-to-video generation and precise 3D scene control. By combining large language models (LLMs) with a procedural 3D scene generator (Infinigen) and a human-in-the-loop interface (BlenderGPT), Scene Copilot enables users to generate and customize photorealistic videos with unprecedented control, overcoming common artifacts like temporal inconsistency and physical law violations.

What Problem Does This Paper Address?

Current state-of-the-art text-to-video models, while impressive in quality, often struggle with temporal inconsistencies, unrealistic motion, and violations of physical laws. These issues stem from the inherent difficulty of directly manipulating 3D scene elements from text prompts. While leveraging 3D scenes offers a path to resolve these problems by providing explicit control, existing procedural 3D scene generators can be complex and difficult for general users to operate. This paper aims to democratize the creation of high-quality, controllable 3D scenes and videos by integrating the power of LLMs with procedural generation tools.

Methods

Scene Copilot is built around three core components:

  • Scene Codex: This LLM-powered module translates user's natural language prompts into executable Python commands for Infinigen, a procedural 3D scene generator. It leverages Retrieval-Augmented Generation (RAG) with the Infinigen codebase to ensure accurate command generation.
  • BlenderGPT: This is a Blender add-on that integrates LLMs with the 3D modeling software. It allows users to interactively edit and refine the generated 3D scenes using both textual commands and Blender's graphical user interface (GUI). This human-in-the-loop approach provides instant visual feedback and fine-grained control.
  • Procedural 3D Scene Generator (Infinigen): This existing framework generates photorealistic 3D scenes based on code. Scene Copilot uses Infinigen to create initial "coarse" scenes and then refine them based on user edits.

The framework also incorporates a curated procedural dataset of 3D assets and materials, which can be automatically integrated or manually selected by users. Additionally, it utilizes Shap-E, a text-to-3D diffusion model, to generate supplementary assets.

Datasets

  • Infinigen Procedural Dataset: The authors curated a dataset of over 300 procedural assets and materials in code format, designed to be compatible with Infinigen.
  • Shap-E Generated Assets: The paper mentions using Shap-E to generate additional diverse objects, supplementing the procedural dataset.
  • VBench: This benchmark was used for quantitative evaluation of the generated videos, specifically for the "Scenery" category.

Key Insights and Ideas

  • LLMs as the Bridge: The core innovation is using LLMs not just for text-to-video but as a crucial intermediary to translate user intent into actionable commands for complex 3D generation tools. This makes powerful tools like Infinigen accessible to a broader audience.
  • Human-in-the-Loop is Crucial: The integration of BlenderGPT and the GUI provides essential visual feedback and interactive control, allowing users to act as "directors" and refine scenes beyond what purely text-based generation can achieve. This is particularly important for complex or nuanced scene editing.
  • Procedural Generation for Consistency: By generating videos from 3D scenes, the framework inherently addresses temporal inconsistencies and physical law violations, which are common in direct text-to-video generation.
  • Dataset Augmentation is Key: The curated procedural dataset and the integration of Shap-E significantly enhance the system's flexibility and ability to generate diverse and specific scenes.

Key Results

  • Qualitative Improvements: Scene Copilot produces videos that are more controllable and adhere better to user intent compared to direct Infinigen output, especially when Infinigen's inherent randomness leads to undesirable results (e.g., generating a church and gravestones when Infinigen might point the camera randomly).
  • Quantitative Performance: In the VBench "Scenery" category, Scene Copilot achieved competitive results, scoring particularly well in Motion Smoothness and Dynamic Degree, indicating that the generated motions are smooth and physically plausible.
  • Long-Video Generation: The framework demonstrates potential for generating arbitrary-length videos by leveraging the consistency of 3D scenes, a significant challenge for many current models.
  • High Executable Rate (ER@1): The Scene Codex, with both RAG and few-shot examples, achieved a 43.2% ER@1, indicating a high success rate in generating executable Infinigen commands.

Limitations and Future Work

  • LLM Hallucinations: The authors acknowledge that LLM hallucinations are an inherent limitation, which can lead to incorrect commands or require user intervention with programming knowledge. They believe advancements in LLMs will alleviate this.
  • Dataset Size: The current procedural object dataset is limited compared to other 3D model formats. The authors plan to continuously add new assets and explore generating procedural assets with multi-modal LLMs and neural networks.
  • User Expertise: While aiming for accessibility, some advanced programming knowledge might still be beneficial for users to correct LLM-generated code.
  • Future Work: The authors aim to continuously include new assets in their dataset and explore more advanced methods for procedural asset generation. They also hope to lower the barrier to entry for creating high-quality, dynamic, and controllable 3D scenes.

Summary updated

BibTeX
@misc{qian2024scene,
  author = {Zhaofang Qian and Abolfazl Sharifi and Tucker Carroll and Ser-Nam Lim},
  title = {{Scene Co-pilot: Procedural Text to Video Generation with Human in the Loop}},
  year = {2024},
  eprint = {2411.18644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.18644},
}
Figure