SPOT-Occ: Sparse Prototype-guided Transformer for Camera-based 3D Occupancy Prediction

Suzeyu Chen, Leheng Li, Ying-Cong ChenarXiv 2026

TL;DR

SPOT-Occ introduces a highly efficient, prototype-guided sparse transformer decoder for camera-based 3D semantic occupancy prediction in autonomous driving. By adaptively selecting only a compact set of the most salient voxel features (prototypes) for each query, it eliminates the computational bottleneck of dense attention. This architectural shift slashes inference latency by over 57% while simultaneously improving prediction accuracy.

What Problem Does This Paper Address?

3D semantic occupancy prediction gives autonomous vehicles a fine-grained, voxel-by-voxel understanding of their surroundings. This allows them to capture complex geometries—like a car with a half-open door—that standard 3D bounding boxes completely miss. However, modeling the world as a dense 3D grid introduces massive computational overhead due to cubic complexity ($X \times Y \times Z$).

While recent methods successfully use sparse representations to optimize the encoding stage (by ignoring empty space), the decoder has remained a major bottleneck. Standard transformer decoders rely on cross-attention mechanisms that either look at all voxels (dense attention) or apply a mask over empty voxels (sparse attention). Crucially, even masked attention still computes a full-sized attention matrix before zeroing out empty spaces, wasting significant computational resources on irrelevant regions.

Methods

The authors propose SPOT-Occ, which replaces costly global attention with an intelligent, two-stage process: guided feature selection followed by focused aggregation. The framework relies on two core innovations:

  1. Sparse Prototype Selection (SPOT-CA): Instead of comparing every query to every single voxel feature, each query dynamically identifies a compact set of highly relevant voxel features, termed prototypes. The system computes a saliency score using cosine similarity and selects only the Top-$\rho\%$ keys (typically configured to just 8% of active voxels). These prototypes are then aggregated using temperature-scaled softmax weights and integrated back into the query via a gating mechanism. This reduces cross-attention complexity from $O(N_q N_v)$ to $O(N_q k)$, where $k \ll N_v$.
  2. Denoising (DN) Training for Stable Selection: Because dynamic prototype selection allows queries to target different voxel scales across different decoder layers, it can introduce instability during training. To stabilize optimization, the authors introduce a training-only denoising paradigm. They augment the decoder with "noised queries" (corrupted ground-truth class embeddings and features) and force their prototype selection to be guided directly by ground-truth masks. This anchors the learning process and ensures consistent query-prototype associations across layers without adding any computational overhead during inference.

Datasets

The model was evaluated on two major autonomous driving benchmarks:

  • nuScenes-Occupancy: A large-scale dataset featuring dense 3D semantic occupancy annotations across 17 categories (16 semantic classes plus one empty class), split into 700 training scenes and 150 validation scenes.
  • SemanticKITTI: Used to benchmark the monocular semantic scene completion task, containing 19 distinct semantic classes annotated across a sparse voxel grid.

Key Insights and Ideas

  • Masking $\neq$ True Sparsity in Attention: A key realization of this paper is that simply masking out empty voxels in a standard transformer cross-attention layer doesn't actually save much computation. The underlying framework still instantiates and computes the full-sized attention matrix. True efficiency requires a hard selection mechanism that completely bypasses irrelevant keys.
  • Dynamic Selection Requires Static Anchors: Giving queries the freedom to dynamically pick their own attention targets creates a "moving target" problem during backpropagation. By introducing ground-truth-guided denoising queries as temporary anchors during training, the network learns robust spatial associations much faster and more reliably.

Key Results

  • Massive Latency Reduction: On the nuScenes-Occupancy validation set, SPOT-Occ reduced overall inference latency by 57.6% compared to the state-of-the-art GaussianFormer-2 (203 ms vs. 479 ms on a single NVIDIA RTX 3090 GPU).
  • Improved Accuracy: Despite the aggressive feature pruning, SPOT-Occ achieved a top-performing 13.7% mIoU on nuScenes, outperforming both SparseOcc (13.2%) and GaussianFormer-2 (13.4%).
Fig. 1: A quantitative benchmark of mIoU and latency on the nuScenes-Occupancy validation set. All latency are measured on a single NVIDIA RTX 3090 GPU with a batch size of 1, and * denotes results obtained by running the officially released code.
  • SemanticKITTI Success: It also secured the highest mIoU of 13.27% on the SemanticKITTI benchmark, proving its robustness across different sensor setups and environmental conditions.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{chen2026spot,
  author = {Suzeyu Chen and Leheng Li and Ying-Cong Chen},
  title = {{SPOT-Occ: Sparse Prototype-guided Transformer for Camera-based 3D Occupancy Prediction}},
  year = {2026},
  eprint = {2602.04240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.04240},
}
Figure