3D Scene Understanding Through Local Random Access Sequence Modeling

Wanhee Lee, Klemen Kotar, Rahul Mysore Venkatesh, Jared Watrous, Honglin Chen, Khai Loong Aw, Daniel L. K. YaminsarXiv 2025

Abstract

3D scene understanding from single images is a pivotal problem in computer vision with numerous downstream applications in graphics, augmented reality, and robotics. While diffusion-based modeling approaches have shown promise, they often struggle to maintain object and scene consistency, especially in complex real-world scenarios. To address these limitations, we propose an autoregressive generative approach called Local Random Access Sequence (LRAS) modeling, which uses local patch quantization and randomly ordered sequence generation. By utilizing optical flow as an intermediate representation for 3D scene editing, our experiments demonstrate that LRAS achieves state-of-the-art novel view synthesis and 3D object manipulation capabilities. Furthermore, we show that our framework naturally extends to self-supervised depth estimation through a simple modification of the sequence design. By achieving strong performance on multiple 3D scene understanding tasks, LRAS provides a unified and effective framework for building the next generation of 3D vision models.

Introduction

Recent advancements in generative modeling, particularly diffusion models, have revolutionized image and video synthesis. However, these models frequently lack an inherent understanding of 3D spatial relationships. When tasked with rotating an object or shifting a camera perspective, diffusion models often produce "hallucinations"—artifacts where lighting shifts unnaturally, object identities morph, or structural integrity is lost.

Traditional autoregressive models also face challenges in spatial domains. Most are constrained to a fixed raster-scan order (generating pixels from top-left to bottom-right), which imposes an arbitrary causal hierarchy on the image. This paper introduces Local Random Access Sequence (LRAS) modeling, a novel framework that treats 3D scene understanding as a flexible sequence modeling problem, breaking free from raster-order constraints and external supervised dependencies.

Methodology

LRAS introduces two fundamental innovations to improve 3D consistency and compositional reasoning:

1. Local Patch Quantization

Unlike standard generative models that use global encoding, LRAS employs a fully convolutional autoencoder to discretize image patches into independent tokens. This strict spatial locality ensures that information does not leak between adjacent patches during the encoding phase. By forcing the model to represent the scene as a collection of discrete, local parts, it naturally learns the compositional nature of objects—similar to how language models learn to assemble words into sentences.

2. Random Access via Pointer-Content Tokens

To overcome the biases of raster-scan generation, LRAS utilizes a (pointer, content) token structure. The "pointer" indicates the 2D grid coordinates of a patch, while the "content" describes its visual features. This design allows the model to be trained on sequences generated in any random order. By learning to fill in patches based on global context rather than just preceding pixels in a line, the model develops a more robust understanding of overall scene structure.

Optical Flow as a Universal Language

For 3D editing and view synthesis, LRAS uses optical flow as an intermediate representation. The system consists of two primary components: LRAS-RGB (a 7-billion parameter model for synthesis) and LRAS-FLOW (a 1-billion parameter model for motion prediction). To perform a 3D edit, the model first predicts how pixels should move (the flow field) and then synthesizes the final image by "filling in" the transformed scene.

3D Scene Manipulation and Synthesis

The LRAS framework demonstrates exceptional performance in manipulating 3D objects within a scene. Because the model treats objects as groups of local tokens, it can rotate or translate them with minimal impact on the surrounding environment.

3D object manipulation on a plushie

In evaluations using the new 3DEditBench—a benchmark of 100 real-world image pairs with ground-truth 3D transformations—LRAS achieved an Edit Adherence (EA) score of 0.798. This significantly outperforms previous state-of-the-art methods like LightningDrag (0.722), particularly in maintaining object identity and lighting consistency.

Novel View Synthesis

LRAS also sets a new standard for novel view synthesis (NVS). By modeling the scene through random access sequences, it can generate consistent new perspectives from a single input image.

Novel view synthesis via camera rotation

On the WildRGB-D dataset, LRAS achieved a PSNR of 17.748, compared to 16.143 for diffusion-based models like ViewCrafter. Qualitatively, LRAS avoids the global color shifts and geometric distortions common in diffusion baselines when the camera angle changes.

Emergent Depth and Motion

A key insight of this work is that 3D understanding can emerge naturally from motion prediction. By training LRAS-FLOW to predict pixel movement during a simulated camera shift, the model effectively learns to estimate depth without explicit supervision. This self-supervised depth estimation approach performs competitively with specialized models, further validating the model's internal 3D representation.

Conclusion and Future Work

LRAS provides a unified, autoregressive framework for 3D scene understanding that prioritizes spatial locality and flexible generation order. While current results are state-of-the-art, future work will explore dynamic inference orders—where the model chooses which parts of the image to generate next based on confidence—and the integration of additional modalities like audio to further refine physical reasoning in 3D environments.

Summary updated

BibTeX
@misc{lee2025d,
  author = {Wanhee Lee and Klemen Kotar and Rahul Mysore Venkatesh and Jared Watrous and Honglin Chen and Khai Loong Aw and Daniel L. K. Yamins},
  title = {{3D Scene Understanding Through Local Random Access Sequence Modeling}},
  year = {2025},
  eprint = {2504.03875},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03875},
}
Figure