OccAnyScene: Towards Unified Indoor-Outdoor 3D Occupancy Prediction

Junjie Liu, Wanshui Gan, Zitong Dai, Guiping Cao, Yan Li, Ke Chen, Dongmei Jiang, Jianguo Zhang, Xiangyuan LanarXiv 2026

TL;DR

OccAnyScene introduces a unified framework for 3D semantic occupancy prediction that works across both indoor and outdoor environments. By representing scenes as "pixel-frustum-centered" Gaussians, the model adaptively handles varying camera setups and scene scales, achieving state-of-the-art results on both room-scale and street-scale benchmarks with a single shared model.

What Problem Does This Paper Address?

3D semantic occupancy prediction—the task of reconstructing dense geometric and semantic states of a scene from images—is a cornerstone of autonomous driving and robotics. However, current methods are highly fragmented. A model designed for an indoor robot (small range, fine voxels, single camera) typically cannot be used for an autonomous vehicle (large range, coarse voxels, surround-view cameras), and vice versa.

This specialization stems from a fundamental challenge: metric-consistent lifting. Converting 2D image pixels into 3D space requires a model to understand depth and scale. Because indoor and outdoor scenes operate at vastly different metric scales and use different camera configurations, existing models rely on fixed spatial supports (like voxel grids) that don't generalize. The authors propose a new task, Cross-Scene 3D Semantic Occupancy Prediction, aiming for a single "general-purpose" model that can navigate both a tight indoor parking garage and an open highway.

Figure 1. Cross-scene 3D semantic occupancy prediction with Oc- cAnyScene. OccAnyScene jointly learns a single model for het- erogeneous indoor and outdoor scenes.

Methods

The core of the proposed OccAnyScene framework is the shift from fixed 3D grids to flexible, continuous 3D Gaussian primitives. The framework is built upon a pretrained depth foundation model (like DepthAnythingV2) and consists of two main novel modules:

  1. Pixel-Aligned Frustum Feature Aggregation (PFFA): Instead of treating a pixel as a single ray, PFFA treats it as a 3D frustum (a truncated pyramid). It aggregates visual tokens from the image encoder using deformable cross-attention, creating a "frustum query" that captures both local geometry and broader context needed to reason about occluded areas.
  2. Frustum-Parameterized Gaussian Construction (FPGC): This module decodes the frustum queries into multiple 3D Gaussians. Crucially, it doesn't regress absolute metric scales. Instead, it uses the pixel's frustum geometry as a reference. Gaussian positions are anchored to predicted surface depths, and their sizes are scaled relative to the frustum's cross-section at that depth. This makes the representation naturally adaptive to different camera intrinsics and distances.

Finally, these Gaussians are mapped to a shared semantic space and "splatted" onto a target voxel grid to produce the final occupancy prediction. To handle different semantic taxonomies (e.g., "chair" indoors vs. "car" outdoors), the model uses learnable dataset-specific taxonomy matrices.

Overview of the OccAnyScene framework, showing the PFFA and FPGC modules.

Datasets

The authors evaluate their model on two distinct benchmarks to prove its cross-scene capabilities:

  • Occ-ScanNet: An indoor dataset featuring monocular views of rooms with a small spatial range and fine (0.08m) voxel resolution.
  • SurroundOcc-nuScenes: An outdoor driving dataset with six surround-view cameras, a large spatial range, and coarser (0.5m) voxel resolution.

Key Insights and Ideas

  • Frustums over Rays: By parameterizing Gaussians relative to a pixel's frustum rather than absolute coordinates, the model achieves "geometric scale invariance." A pixel representing a distant building and one representing a nearby chair are handled by the same logic, just at different frustum scales.
  • Hallucinating Occlusions: The model doesn't just place Gaussians on visible surfaces. By predicting depth increments relative to the surface, it can place Gaussians behind visible objects, effectively "filling in" occluded regions like the space behind a sofa or a parked car.
  • Efficiency through Sparsity: Using continuous Gaussians instead of dense 3D feature volumes significantly reduces memory overhead. OccAnyScene-DAv2 uses ~80% less memory than previous state-of-the-art methods like SplatSSC.

Key Results

OccAnyScene sets new state-of-the-art (SOTA) benchmarks for both indoor and outdoor occupancy prediction:

  • Indoor (Occ-ScanNet): Achieved 59.92% mIoU, outperforming specialized indoor models.
  • Outdoor (SurroundOcc-nuScenes): Achieved 23.06% mIoU, setting a new SOTA for this benchmark.
  • Cross-Scene Stability: When trained jointly on both datasets, the model showed negligible performance degradation compared to training on them separately. In contrast, existing Gaussian-based methods (like SplatSSC) saw significant drops (up to 5% mIoU) when forced into the cross-scene setting.

Limitations and Future Work

While OccAnyScene is a major step toward general 3D perception, the authors note a few limitations:

  • Camera Gaps: The pixel-frustum representation only covers areas within the camera's field of view. To handle gaps between cameras (common in outdoor rigs), the authors had to add supplementary global spatial queries.
  • Dataset Diversity: The current study only looks at two major protocols. True "general-purpose" perception will require training on even more diverse datasets with varying lighting, weather, and sensor types.
  • Scene-Level Completion: The model is excellent at local occlusion reasoning but could benefit from more powerful mechanisms for large-scale scene completion in areas completely unobserved by any camera.

Summary updated

BibTeX
@misc{liu2026occanyscene,
  author = {Junjie Liu and Wanshui Gan and Zitong Dai and Guiping Cao and Yan Li and Ke Chen and Dongmei Jiang and Jianguo Zhang and Xiangyuan Lan},
  title = {{OccAnyScene: Towards Unified Indoor-Outdoor 3D Occupancy Prediction}},
  year = {2026},
  eprint = {2608.08696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.08696},
}
Figure