SplaTraj: Camera Trajectory Generation with Semantic Gaussian Splatting

Xinyi Liu, Tianyi Zhang, Matthew Johnson-Roberson, Weiming ZhiarXiv 2024 · DOI

Introduction

SplaTraj is a novel framework designed to automatically generate smooth, "photogenic" camera trajectories through 3D environments based on simple natural language instructions. By combining semantic Gaussian Splatting with continuous-time trajectory optimization, it allows users to specify a sequence of objects—such as "find the pizza, then the beer"—and produces a high-quality video sequence that visits each one.

Conceptual overview of SplaTraj navigating a scene to find specific objects using gradient descent.

The Challenge of Semantic Navigation

While techniques like Neural Radiance Fields (NeRFs) and Gaussian Splatting (GS) have revolutionized photorealistic 3D reconstruction, navigating these spaces remains largely a manual or purely geometric task. For autonomous agents or virtual cinematographers, two primary challenges exist:

  1. Semantic Grounding: Identifying the 3D location of specific objects (e.g., a "dishwasher" or "toy elephant") within a complex point cloud.
  2. Photogenic Navigation: Moving the camera smoothly so that objects are centered, properly scaled, and viewed from aesthetically pleasing angles without jerky transitions.

Existing methods often rely on discrete waypoints or simple geometric paths that fail to account for the camera's actual visual output during movement.

Methodology

SplaTraj addresses these challenges by formulating trajectory generation as a differentiable optimization problem.

The SplaTraj pipeline, illustrating the open querying process for semantic grounding and the iterative trajectory optimization loop.

Semantic Gaussian Splatting

The system utilizes Gaussian Splatting models augmented with language features via CLIP embeddings. This allows the model to "understand" text queries and isolate the specific 3D Gaussians associated with a user's prompt, creating a confidence map for target objects.

Continuous Trajectory Representation

To avoid the jerky motion associated with discrete waypoints, SplaTraj represents the camera's path using Radial Basis Functions (RBFs). This ensures the trajectory is mathematically smooth and can be sampled at any time resolution, providing the flexibility needed for complex navigation.

Differentiable Rendering Costs

Because Gaussian Splatting is differentiable, SplaTraj can define "photogenic" costs and backpropagate errors directly to the trajectory parameters. Key costs include:

  • Target Centralizing Error (TCE): Keeps the object centered in the frame.
  • Target Ratio Error (TRE): Ensures the object occupies an appropriate proportion of the image.
  • Uprightness Cost: Maintains a level horizon.
  • Diminishing Prior: A "warm-start" cost that guides the camera toward the object's physical vicinity before fine-grained rendering costs take over.

Evaluation and Results

The authors evaluated SplaTraj on standard benchmark scenarios, including "Teatime," "Kitchen," and "Figurines."

Key findings include:

  • Superior Framing: Using RBFs, SplaTraj significantly outperformed baseline waypoint and polynomial methods in Intersection over Union (IoU) metrics, maintaining consistent framing of target objects.
  • Fluid Motion: Trajectories showed significantly lower Log Dimensionless Jerk (LDJ) compared to waypoint-based methods, indicating more cinematic motion.
  • Optimization Insights: The system doesn't just move to a coordinate; it optimizes for visibility. If an object is occluded, the gradient-based optimization pushes the camera to a viewpoint where the object is visible.

Conclusion

SplaTraj represents a significant step toward "semantic navigation," enabling interaction with complex 3D digital twins using natural language. Future work may involve extending the framework to dynamic environments and incorporating physical kinematic constraints for robotic applications.

Summary updated

BibTeX
@misc{liu2024splatraj,
  author = {Xinyi Liu and Tianyi Zhang and Matthew Johnson-Roberson and Weiming Zhi},
  title = {{SplaTraj: Camera Trajectory Generation with Semantic Gaussian Splatting}},
  year = {2024},
  eprint = {2410.06014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.06014},
}
Figure