COTR: Compact Occupancy TRansformer for Vision-Based 3D Occupancy Prediction

Qihang Ma, Xin Tan, Yanyun Qu, Lizhuang Ma, Zhizhong Zhang, Yuan Xie

Introduction

In the evolving landscape of autonomous driving, the industry is shifting from Bird’s-Eye-View (BEV) maps—which flatten 3D environments into 2D planes—to 3D Occupancy (OCC) prediction. While BEV is computationally efficient, it lacks the vertical resolution necessary to understand complex volumes and heights. Conversely, full 3D occupancy methods, while geometrically accurate, are often prohibitively expensive due to the massive redundancy of processing empty space in driving scenes.

COTR (Compact Occupancy TRansformer) addresses this "Goldilocks" problem by introducing a representation that is geometrically rich yet computationally lean. By utilizing a compact voxel representation that is 1/16th the size of standard grids, COTR achieves significant performance boosts over state-of-the-art baselines while reducing overhead.

Methodology

The COTR framework is built upon two primary architectural innovations designed to balance geometric detail with processing efficiency.

Geometry-aware Occupancy Encoder

Instead of directly processing a high-resolution, sparse voxel grid, COTR employs a hybrid approach. It begins with Explicit View Transformation (EVT) to generate a high-resolution but sparse feature map based on depth estimation. This map is then downsampled into a Compact OCC representation (e.g., 50x50x16).

To recover lost detail and refine these features, the model uses Implicit View Transformation (IVT), which leverages spatial cross-attention and voxel self-attention to fill in gaps and capture global context. Finally, a U-Net-style architecture upsamples these features back to the target resolution, ensuring that geometric structure is preserved despite the initial "squeeze."

Semantic-aware Group Decoder

Standard occupancy models often struggle with class imbalance, where rare objects like traffic cones or bicycles are statistically overwhelmed by common categories like "road" or "empty space." COTR reformulates occupancy as a mask classification problem. It introduces a Coarse-to-Fine Semantic Grouping strategy that divides categories into groups based on frequency and semantic similarity. Each group is assigned its own set of queries and supervision signals, preventing dominant classes from suppressing the learning of rare "tail" categories.

The COTR architecture featuring the Image Featurizer, Geometry-aware Occupancy Encoder, and Semantic-aware Group Decoder.

Key Results and Insights

COTR was evaluated on the Occ3D-nuScenes benchmark, a large-scale dataset featuring dense voxel-wise semantic annotations. The results demonstrate that compactness can be a functional feature rather than a limitation; by compressing the spatial domain, the model gains a larger receptive field and filters out noise inherent in sparse 3D data.

  • Performance Gains: COTR consistently improved various baselines (including TPVFormer and BEVDet4D) by 8% to 15% in relative mIoU.
  • Computational Efficiency: The compact representation is approximately 500% cheaper computationally than raw high-resolution occupancy grids while delivering superior accuracy.
  • Rare Class Robustness: The semantic grouping strategy significantly improved performance on rare objects. For instance, on the BEVDet4D baseline, COTR contributed to a 5.38% absolute improvement in mIoU, specifically helping the model capture "slim" objects like pedestrians and poles more effectively.
Comparison of 3D representations and the resulting mIoU improvements across different model backbones.

Conclusion

COTR demonstrates that high-fidelity 3D occupancy prediction does not require high-density computation. By combining explicit geometric priors with implicit attention-based refinement and a balanced semantic grouping strategy, the model sets a new standard for efficient 3D perception. Future work will look toward multi-modal fusion (integrating LiDAR or Radar) to improve performance in low-light edge cases and deeper temporal integration to stabilize predictions for dynamic objects.

Summary updated

BibTeX
@inproceedings{ma2023cotr,
  author = {Qihang Ma and Xin Tan and Yanyun Qu and Lizhuang Ma and Zhizhong Zhang and Yuan Xie},
  title = {{COTR: Compact Occupancy TRansformer for Vision-Based 3D Occupancy Prediction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure