SceneScript: Reconstructing Scenes with an Autoregressive Structured Language Model

Armen Avetisyan, Christopher Xie, Henry Howard-Jenkins, Tsun-Yi Yang, Samir Aroudj, Suvam Patra, Fuyang Zhang, Duncan P. Frost, Luke Holland, Campbell Orme, Jakob J. Engel, Edward Miller, Richard A. Newcombe, Vasileios Balntas

Abstract

We introduce SceneScript, a method that directly produces full scene models as a sequence of structured language commands using an autoregressive, token-based approach. Our proposed scene representation is inspired by recent successes in transformers & LLMs, and departs from more traditional methods which commonly describe scenes as meshes, voxel grids, point clouds or radiance fields. Our method infers the set of structured language commands directly from encoded visual data using a scene language encoder-decoder architecture. To train SceneScript, we generate and release a large-scale synthetic dataset called Aria Synthetic Environments consisting of 100k high-quality indoor scenes, with photorealistic and ground-truth annotated renders of egocentric scene walkthroughs. Our method gives state-of-the art results in architectural layout estimation, and competitive results in 3D object detection. Lastly, we explore an advantage for SceneScript, which is the ability to readily adapt to new commands via simple additions to the structured language, which we illustrate for tasks such as coarse 3D object part reconstruction.

Introduction

Traditional 3D reconstruction methods typically output "unstructured" data such as point clouds, voxel grids, or meshes. While these capture geometry, they lack inherent semantic understanding—a mesh of a kitchen does not "know" which triangles belong to a door versus a wall. These representations are also memory-intensive and difficult for humans to edit. SceneScript addresses this by representing a 3D scene as a sequence of text-based commands, bridging the gap between raw computer vision and the reasoning capabilities of Large Language Models (LLMs). This approach produces models that are both metrically accurate and semantically structured.

Methodology

SceneScript utilizes an autoregressive encoder-decoder architecture to translate visual inputs into a "Structured Scene Language."

The Encoder

The model processes egocentric video or point clouds. The best-performing variant uses "Lifted Features," which projects 2D image features onto 3D points to create a feature-rich point cloud. This provides the decoder with a dense geometric and semantic context.

Structured Scene Language and Decoder

Instead of predicting arbitrary pixels or voxels, the model predicts specific commands. Geometric parameters, such as coordinates, are discretized into integer tokens (e.g., at 5cm resolution) to be treated as discrete vocabulary elements. A standard transformer decoder then "writes" the scene description token by token.

Example of the Structured Scene Language used to define walls, doors, and windows.

Data and Training

To train this transformer-based model, the authors released the Aria Synthetic Environments (ASE) dataset, containing 100,000 high-quality synthetic indoor scenes. Each scene includes photorealistic renders and ground-truth SceneScript commands. The model was also evaluated on the real-world ScanNet dataset to test generalization in physical environments.

Key Results and Insights

SceneScript demonstrates significant improvements over existing baselines, particularly in architectural layout estimation. On the ASE dataset, it achieved an F1 score of 0.903 at a 5cm threshold, vastly outperforming RoomFormer (0.139).

A reconstructed living room scene showing semantically labeled objects and layout.
  • Extensibility: Adding new capabilities, such as object part reconstruction, requires only adding new commands to the language rather than changing the model architecture.
  • Efficiency: Because the output is text, a full 3D room model can be stored in just a few hundred bytes. The model can perform live reconstructions in 2–5 seconds.
  • Generalization: Despite synthetic training, the model generalizes effectively to real-world video captured by Meta’s Aria glasses.

Conclusion and Future Work

SceneScript proves that complex 3D environments can be linearized into a language problem without losing precision. While currently focused on coarse geometry and manually designed commands, future work aims to automate command discovery and improve fine-grained detail. This approach paves the way for highly efficient, editable, and semantically aware 3D reconstruction for AR/VR applications.

Summary updated

BibTeX
@inproceedings{avetisyan2024scenescript,
  author = {Armen Avetisyan and Christopher Xie and Henry Howard-Jenkins and Tsun-Yi Yang and Samir Aroudj and Suvam Patra and Fuyang Zhang and Duncan P. Frost and Luke Holland and Campbell Orme and Jakob J. Engel and Edward Miller and Richard A. Newcombe and Vasileios Balntas},
  title = {{SceneScript: Reconstructing Scenes with an Autoregressive Structured Language Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=BYaAcffmA2},
}
Figure