The Scene Language: Representing Scenes with Programs, Words, and Embeddings
Yunzhi Zhang, Zizhang Li, Matt Zhou, Shangzhe Wu, Jiajun Wu
TL;DR
The Scene Language addresses the challenge of rich visual scene representation by unifying structure, semantics, and identity as a triplet $Φ(s) = (W, P, Z)$ that is executable via a DSL of entity functions. A training-free inference pipeline uses pre-trained language models to map text or images to $W$, $P$, and $Z$, enabling rendering across diverse engines and enabling precise editing through interpretable programs. The framework supports 3D and 4D scene generation and editing, with empirical evidence showing improved prompt alignment and editing fidelity over scene-graph and latent-space baselines, and cross-renderer consistency. By decoupling structure (programs) from semantics (words) and appearance (embeddings), the approach delivers controllable, scalable, and high-fidelity scene synthesis suitable for applications in 3D/4D content creation. $Φ(s) = (W, P, Z)$ provides a compact formalism that underpins the end-to-end pipeline from LM-based inference to renderer-based image synthesis.
Abstract
We introduce the Scene Language, a visual scene representation that concisely and precisely describes the structure, semantics, and identity of visual scenes. It represents a scene with three key components: a program that specifies the hierarchical and relational structure of entities in the scene, words in natural language that summarize the semantic class of each entity, and embeddings that capture the visual identity of each entity. This representation can be inferred from pre-trained language models via a training-free inference technique, given text or image inputs. The resulting scene can be rendered into images using traditional, neural, or hybrid graphics renderers. Together, this forms a robust, automated system for high-quality 3D and 4D scene generation. Compared with existing representations like scene graphs, our proposed Scene Language generates complex scenes with higher fidelity, while explicitly modeling the scene structures to enable precise control and editing.
