Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
License: CC BY 4.0
arXiv:2311.17663v2 [cs.CV] 07 Dec 2023

Cam4DOcc: Benchmark for Camera-Only 4D Occupancy Forecasting in Autonomous Driving Applications

Junyi Ma{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT, Xieyuanli Chen{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT, Jiawei Huang, Jingyi Xu, Zhen Luo,
Jintao Xu, Weihao Gu, Rui Ai, Hesheng Wang*{}^{*}start_FLOATSUPERSCRIPT * end_FLOATSUPERSCRIPT
Junyi Ma, Jingyi Xu, and Hesheng Wang are with Shanghai Jiao Tong University. Junyi Ma is also with HAOMO.AI Technology Co., Ltd. Xieyuanli Chen is with National University of Defense Technology. Jiawei Huang, Jintao Xu, Weihao Gu, and Rui Ai are with HAOMO.AI Technology Co., Ltd. Zhen Luo is with Beijing Institute of Technology.{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPTEqual contribution*{}^{*}start_FLOATSUPERSCRIPT * end_FLOATSUPERSCRIPTCorresponding author email: wanghesheng@sjtu.edu.cn
Abstract

Understanding how the surrounding environment changes is crucial for performing downstream tasks safely and reliably in autonomous driving applications. Recent occupancy estimation techniques using only camera images as input can provide dense occupancy representations of large-scale scenes based on the current observation. However, they are mostly limited to representing the current 3D space and do not consider the future state of surrounding objects along the time axis. To extend camera-only occupancy estimation into spatiotemporal prediction, we propose Cam4DOcc, a new benchmark for camera-only 4D occupancy forecasting, evaluating the surrounding scene changes in a near future. We build our benchmark based on multiple publicly available datasets, including nuScenes, nuScenes-Occupancy, and Lyft-Level5, which provides sequential occupancy states of general movable and static objects, as well as their 3D backward centripetal flow. To establish this benchmark for future research with comprehensive comparisons, we introduce four baseline types from diverse camera-based perception and prediction implementations, including a static-world occupancy model, voxelization of point cloud prediction, 2D-3D instance-based prediction, and our proposed novel end-to-end 4D occupancy forecasting network. Furthermore, the standardized evaluation protocol for preset multiple tasks is also provided to compare the performance of all the proposed baselines on present and future occupancy estimation with respect to objects of interest in autonomous driving scenarios. The dataset and our implementation of all four baselines in the proposed Cam4DOcc benchmark will be released here: https://github.com/haomo-ai/Cam4DOcc.

I Introduction

Accurately perceiving the status of objects in surrounding environments using cameras is important for autonomous vehicles or robots to make reasonable downstream planning and action decisions. Traditional camera-based perception methods for object detection [1, 2, 3, 4], semantic segmentation [5, 6, 7, 8], and panoptic segmentation [9, 10, 11, 12] focus on predefined specific object categories, making them less effective at recognizing uncommon objects. To tackle this limitation, a shift towards camera-based occupancy estimation [13, 14, 15, 16, 17] has emerged by estimating the spatial occupancy states over classifying specific objects. It reduces the complexity of multi-class classification tasks and emphasizes general occupied state estimation, enhancing the reliability and adaptability of autonomous mobile systems.

Refer to caption
Figure 1: Cam4DOcc focuses on providing a novel dataset format, creating baselines modified from off-the-shelf camera-based perception and prediction approaches, and proposing a standardized evaluation protocol for the 4D occupancy forecasting task.

Despite the increasing attention to camera-based occupancy estimation, existing methods only estimate the current and past occupancy status. However, advanced collision avoidance and trajectory optimization methods employed by autonomous vehicles [18, 19, 20] require the ability to forecast future environmental conditions to ensure the safety and reliability of driving. Some semantic/instance prediction algorithms [21, 22, 23, 24, 25] have been proposed to forecast the motion of objects of interest, but they are mostly limited to 2D bird’s eye view (BEV) format and can only recognize specific objects, mainly in the vehicle category. As to existing occupancy forecasting algorithms [26, 27, 28] without considering semantics, they need LiDAR point clouds as necessary prior information to perceive the surrounding spatial structure, while LiDAR-based solutions are more resource-intensive and expensive than the camera counterparts. It is natural to anticipate the next significant challenge in autonomous driving will be camera-only 4D occupancy forecasting. This task aims to not only extend temporal occupancy prediction with camera images as input but also broaden semantic/instance prediction beyond BEV format and predefined categories. To this end, we propose Cam4DOcc as shown in Fig. 1, the first camera-only 4D occupancy forecasting benchmark comprising the new format of dataset, various types of baselines, and standardized evaluation protocol, to facilitate the advancements in this emerging domain. In this benchmark, we construct a dataset by extracting continuous occupancy changes along the time axis from the original nuScenes [29], nuScenes-Occupancy [13], and Lyft-Level5 [30]. This dataset includes sequential semantic and instance annotations and 3D backward centripetal flow indicating the motion of occupancy grids. Furthermore, to achieve camera-based 4D occupancy forecasting, we introduce four baseline methods, including a static-world occupancy model, voxelization of point cloud prediction, 2D-3D instance-based prediction, and an end-to-end 4D occupancy forecasting network. Finally, we evaluate the performance of these baseline methods for both present and future occupancy estimation using a proposed standardized protocol.

The main contributions of this paper are fourfold: (1) We propose Cam4DOcc, the first benchmark to facilitate future work on camera-based 4D occupancy forecasting. (2) We propose a new dataset format for the forecasting task in autonomous driving scenarios by leveraging existing datasets in the field. (3) We provide four novel baselines for camera-based 4D occupancy forecasting. Three of them are the extension of off-the-shelf approaches. Additionally, we introduce a novel end-to-end 4D occupancy forecasting network that demonstrates strong performance and can serve as a valuable reference for future research. (4) We introduce a novel standardized evaluation protocol and conduct comprehensive experiments with detailed analysis based on this protocol with our Cam4DOcc.

II Related Work

Occupancy prediction. Occupancy prediction/estimation is a trendy technique to comprehensively estimate the occupancy state of the surrounding environments. It represents the space with geometric details significantly enhancing the expressiveness of complex scenes. MonoScene proposed by Cao et al. [31] first addresses 3D scene semantic completion from camera images, but only considers the front-view voxels. In contrast, Huang et al. [14] replace the Features Line of Sight Projection of MonoScene with TPVFormer to enhance the performance of surround-view occupancy prediction based on cross attention mechanism. UniOcc by Pan et al. [32] combines voxel-based neural radiance field (NeRF) with occupancy prediction to implement geometric and semantic rendering. Wang et al. [13] propose a large-scale benchmark named OpenOccupancy which establishes the nuScenes-Occupancy dataset with high-resolution occupancy ground-truth, and further provides several baselines using different modalities. Tong et al. [15] also propose an occupancy prediction benchmark OpenOcc and exploit the occupancy estimated by their OccNet on various tasks, including semantic scene completion, 3D object detection, BEV segmentation, and motion planning. More recently, Occ3D [33] utilizes occlusion reasoning and image-guided refinement to further improve the annotation quality. Similar to OpenOcc, SurroundOcc by Wei et al. [17] also produces dense occupancy labels and uses spatial attention to reproject 2D camera features back to the 3D volumes.

Occupancy forecasting. Occupancy forecasting is utilized to foresee how the surrounding occupancy changes in the near future beyond the present moment. Existing occupancy forecasting approaches [26, 27, 28] mainly use LiDAR point clouds as input to capture the change of surrounding structures. For example, Khurana et al. [26] propose a differentiable raycasting method to forecast 2D occupancy states by pose-aligned LiDAR sweeps. More recently, they propose rendering future pseudo LiDAR points with estimated occupancy [26]. Other Point cloud prediction methods [34, 35, 36, 37] directly forecast the future laser points, which can be voxelized to future occupancy estimation. However, they still need sequential LiDAR point clouds and lose semantic consistency during prediction. In contrast to the above-mentioned LiDAR-based occupancy forecasting, directly predicting future 3D occupancy with multiple semantic categories using only camera images in large-scale scenes remains challenging. Therefore, some camera-only semantic/instance prediction methods turn to forecast the motion of objects of interest, e.g., general vehicle classes on 2D BEV occupancy representation [21, 38, 39, 22]. For example, FIERY by Hu et al. [21] directly extracts BEV features from multi-view 2D camera images and then combines a temporal convolution model and a recurrent network to estimate future instance distributions. After that, StretchBEV [38] and BEVerse [39] are proposed for further enhancement on longer time horizons. Towards the over-supervision with redundant outputs, PowerBEV [22] is recently proposed to improve the forecasting performance on accuracy and efficiency.

The abovementioned methods cannot directly achieve the camera-only 4D occupancy forecasting task. In this work, we propose a novel benchmark on this topic where several baselines are created by converting the implementation of the existing state-of-the-art occupancy prediction, point cloud prediction, and BEV-based semantic/instance prediction algorithms. In addition, we develop a novel camera-based 4D occupancy forecasting network that can simultaneously forecast the future occupancy state of the general movable and static objects end-to-end. Standardized dataset format and evaluation protocol are also proposed to train and test all the baselines, which can further support future work in this literature.

III Cam4DOcc Benchmark

Refer to caption
Figure 2: Overall pipeline of constructing dataset in our Cam4DOcc based on the original nuScenes and nuScenes-Occupancy. The dataset is reorganized into a novel format that considers both general movable and static categories for the unified 4D occupancy forecasting task.

III-A Task Definition

Given Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT past and the current consecutive camera images ={It}t=Np0superscriptsubscriptsubscript𝐼𝑡𝑡subscript𝑁𝑝0\mathcal{I}=\{I_{t}\}_{t=-N_{p}}^{0}caligraphic_I = { italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_t = - italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 0 end_POSTSUPERSCRIPT as input, 4D occupancy forecasting aims to output the current occupancy 𝐎c1×H×W×Lsubscript𝐎𝑐superscript1𝐻𝑊𝐿\mathbf{O}_{c}\in\mathbb{R}^{1\times H\times W\times L}bold_O start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT 1 × italic_H × italic_W × italic_L end_POSTSUPERSCRIPT and the future occupancy 𝐎fNf×H×W×Lsubscript𝐎𝑓superscriptsubscript𝑁𝑓𝐻𝑊𝐿\mathbf{O}_{f}\in\mathbb{R}^{N_{f}\times H\times W\times L}bold_O start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT × italic_H × italic_W × italic_L end_POSTSUPERSCRIPT in a short time interval Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT, where H𝐻Hitalic_H, W𝑊Witalic_W, L𝐿Litalic_L represent the height, width, and length of the specific range defined in the present coordinate system (t=0𝑡0t=0italic_t = 0). Each voxel of 𝐎fsubscript𝐎𝑓\mathbf{O}_{f}bold_O start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT has Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT sequential states 𝒮={St}t=1Nf𝒮superscriptsubscriptsubscript𝑆𝑡𝑡1subscript𝑁𝑓\mathcal{S}=\{S_{t}\}_{t=1}^{N_{f}}caligraphic_S = { italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_POSTSUPERSCRIPT to represent whether it is free or occupied in each future timestamp.

Cam4DOcc considers two categories regarding their motion characteristics, general movable objects (GMO), and general static objects (GSO), as the semantic labels of occupied voxel grids. GMO usually have higher dynamic motion characteristics compared to GSO, thus requiring more attention during traffic activities for safety reasons. Accurately estimating the behavior of GMO and predicting their potential motion changes significantly affect the decision making and motion planning of the ego vehicle. Compared to the previous semantic scene completion task [13, 14, 15, 40, 41, 42] considering multiple semantic categories, we focus more on investigating the ongoing change of voxel states for movable objects because we believe that motion characteristics of traffic participants deserve increased attention in the context of autonomous driving applications. Compared to the existing semantic/instance prediction task [21, 22, 43, 38, 39], we not only emphasize the prediction of neighboring foreground objects but also focus on the occupancy estimation for the background of surrounding environments towards the requirement of more reliable navigation for autonomous vehicles.

III-B Dataset in New Format

Our Cam4DOcc benchmark introduces a new dataset format based on original nuScenes [29], nuScenes-Occupancy [13], and Lyft-Level5. As Fig. 2 illustrates, we first split the original nuScenes dataset into sequences with the time length of N=Np+Nf+1𝑁subscript𝑁𝑝subscript𝑁𝑓1N=N_{p}+N_{f}+1italic_N = italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1. Then sequential semantic and instance annotations of movable objects are extracted for each sequence and collected into the GMO class, including bicycle, bus, car, construction, motorcycle, trailer, truck, and pedestrian. They are all transformed to the present coordinate system (t=0𝑡0t=0italic_t = 0). After that, we voxelize the present 3D space and attach semantic/instance labels to the grids of movable objects using bounding boxes annotation. Notably, the invalid instance is discarded in this process once: (1) its visibility is under 40% over the 6 camera images if it is a newly appeared object in Npsubscript𝑁𝑝N_{p}italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT historical frames, (2) it first appears in Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT incoming frames, or (3) it moves beyond the range (H,W,L𝐻𝑊𝐿H,W,Litalic_H , italic_W , italic_L) predefined at t=0𝑡0t=0italic_t = 0. The visibility is quantified by the visible proportion of all pixels of the instance showing in camera images [29]. The sequential annotations are exploited to fill in missing intermediate instances based on constant velocity assumption [22, 44]. The same operations are also applied to the Lyft-Level5 dataset. The distribution of instance duration [tin,tout]subscript𝑡𝑖𝑛subscript𝑡𝑜𝑢𝑡[t_{in},t_{out}][ italic_t start_POSTSUBSCRIPT italic_i italic_n end_POSTSUBSCRIPT , italic_t start_POSTSUBSCRIPT italic_o italic_u italic_t end_POSTSUBSCRIPT ] after the processing mentioned above is presented in supplementary Sec. A. Lastly, we generate 3D backward centripetal flow using the instance association in the annotations. Li et al. [22] introduced 2D backward centripetal flow to improve the efficiency of 2D instance prediction. Inspired by that, we calculate 3D backward centripetal flow pointing from the voxel at time t𝑡titalic_t to its corresponding 3D instance center at t1𝑡1t-1italic_t - 1. We exploit this 3D flow to improve the accuracy of camera-based 4D occupancy forecasting (see Sec. V-C).

We aim not only to forecast future positions of GMO but also to estimate the occupancy state of GSO and free space necessary for safe navigation. Thus, we further concatenate the sequential instance annotations from the original nuScenes with the sequential occupancy annotations transformed to the present frame from nuScenes-Occupancy. This combination balances safety and precision for downstream navigation in autonomous driving applications. GMO labels are borrowed from the bounding box annotations of the original nuScenes, which can be regarded as performing a dilation operation on the movable obstacles. GSO and free labels are provided by nuScenes-Occupancy to concentrate on more fine-grained geometric structures of surrounding large-scale environments.

III-C Evaluation Protocol

To fully access the camera-only 4D occupancy forecasting performance, we establish various evaluation tasks and metrics with varying levels of complexity in our Cam4DOcc.

Multiple tasks. We introduce four-level occupancy forecasting tasks in the standardized evaluation protocol: (1) Forecasting inflated GMO: the categories of all the occupancy grids are divided into GMO and others, where the voxel grids within the instance bounding boxes from nuScenes and Lyft-Level5 are annotated as GMO. (2) Forecasting fine-grained GMO: the categories are also divided into GMO and others but the annotation of GMO are directly from voxel-wise labels of nuScenes-Occupancy removing invalid grids introduced in Sec. III-B. (3) Forecasting inflated GMO, fine-grained GSO, and free space: the categories are divided into GMO from bounding box annotations, GSO following fine-grained annotations, and free space. (4) Forecasting fine-grained GMO, fine-grained GSO, and free space: the categories are divided into GMO and GSO both following fine-grained annotations, and free space. Since the Lyft-Level5 dataset lacks occupancy labels, we only conduct the evaluation for the first task on it.

Metrics. For all four tasks, we use intersection over union (IoU) as the performance metric. We separately evaluate the current moment (t=0𝑡0t=0italic_t = 0) occupancy estimation and the future time (t[1,Nf]𝑡1subscript𝑁𝑓t\in[1,N_{f}]italic_t ∈ [ 1 , italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ]) forecasting by

IoUc(𝐎^c,𝐎c)subscriptIoU𝑐subscript^𝐎𝑐subscript𝐎𝑐\displaystyle\text{IoU}_{c}(\hat{\mathbf{O}}_{c},\mathbf{O}_{c})IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ( over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT , bold_O start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) =H,W,LS^cScH,W,LS^c+ScS^cSc,absentsubscript𝐻𝑊𝐿subscript^𝑆𝑐subscript𝑆𝑐subscript𝐻𝑊𝐿subscript^𝑆𝑐subscript𝑆𝑐subscript^𝑆𝑐subscript𝑆𝑐\displaystyle=\frac{\sum_{\scriptscriptstyle{H,W,L}}\hat{S}_{c}\cdot S_{c}}{% \sum_{\scriptscriptstyle{H,W,L}}\hat{S}_{c}+S_{c}-\hat{S}_{c}\cdot S_{c}},= divide start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT + italic_S start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT - over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT end_ARG , (1)
IoUf(𝐎^f,𝐎f)subscriptIoU𝑓subscript^𝐎𝑓subscript𝐎𝑓\displaystyle\text{IoU}_{f}(\hat{\mathbf{O}}_{f},\mathbf{O}_{f})IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ( over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT , bold_O start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ) =1Nft=1NfH,W,LS^tStH,W,LS^t+StS^tSt,absent1subscript𝑁𝑓superscriptsubscript𝑡1subscript𝑁𝑓subscript𝐻𝑊𝐿subscript^𝑆𝑡subscript𝑆𝑡subscript𝐻𝑊𝐿subscript^𝑆𝑡subscript𝑆𝑡subscript^𝑆𝑡subscript𝑆𝑡\displaystyle=\frac{1}{N_{f}}\sum_{t=1}^{N_{f}}\frac{\sum_{\scriptscriptstyle{% H,W,L}}\hat{S}_{t}\cdot S_{t}}{\sum_{\scriptscriptstyle{H,W,L}}\hat{S}_{t}+S_{% t}-\hat{S}_{t}\cdot S_{t}},= divide start_ARG 1 end_ARG start_ARG italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_ARG ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_POSTSUPERSCRIPT divide start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT + italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG , (2)

where S^tsubscript^𝑆𝑡\hat{S}_{t}over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and Stsubscript𝑆𝑡S_{t}italic_S start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT represent the estimated and ground-truth voxel state at timestamp t𝑡titalic_t respectively.

We also provide a singular quantitative indicator to evaluate forecasting performance within the whole time horizon using one value calculated by

IoU~f(𝐎^f,𝐎f)subscript~IoU𝑓subscript^𝐎𝑓subscript𝐎𝑓\displaystyle\tilde{\text{IoU}}_{f}(\hat{\mathbf{O}}_{f},\mathbf{O}_{f})over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ( over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT , bold_O start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ) =1Nft=1Nf1tk=1tH,W,LS^kSkH,W,LS^k+SkS^kSk.absent1subscript𝑁𝑓superscriptsubscript𝑡1subscript𝑁𝑓1𝑡superscriptsubscript𝑘1𝑡subscript𝐻𝑊𝐿subscript^𝑆𝑘subscript𝑆𝑘subscript𝐻𝑊𝐿subscript^𝑆𝑘subscript𝑆𝑘subscript^𝑆𝑘subscript𝑆𝑘\displaystyle=\frac{1}{N_{f}}\sum_{t=1}^{N_{f}}\frac{1}{t}\sum_{k=1}^{t}\frac{% \sum_{\scriptscriptstyle{H,W,L}}\hat{S}_{k}\cdot S_{k}}{\sum_{% \scriptscriptstyle{H,W,L}}\hat{S}_{k}+S_{k}-\hat{S}_{k}\cdot S_{k}}.= divide start_ARG 1 end_ARG start_ARG italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_ARG ∑ start_POSTSUBSCRIPT italic_t = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_POSTSUPERSCRIPT divide start_ARG 1 end_ARG start_ARG italic_t end_ARG ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t end_POSTSUPERSCRIPT divide start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_H , italic_W , italic_L end_POSTSUBSCRIPT over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT + italic_S start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT - over^ start_ARG italic_S end_ARG start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ⋅ italic_S start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_ARG . (3)

IoU of timestamps closer to the current moment contributes more to the final IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT. This aligns with the principle that occupancy predictions at near timestamps are more crucial for subsequent motion planning and decision making.

Refer to caption
Figure 3: Four types of baselines are proposed in the Cam4DOcc benchmark from the extension of occupancy prediction, point cloud prediction, and 2D instance prediction, as well as our end-to-end 4D occupancy forecasting network.

III-D Baselines

We propose four methods as baselines in Cam4DOcc to assist future comparison for the camera-only 4D occupancy forecasting task as shown in Fig. 3.

Static-world occupancy model. The existing camera-based occupancy prediction approaches [13, 14, 15, 16, 17, 45] can only estimate the present occupancy grids based on the current observation. Therefore, one of the most straightforward baselines is to assume the environment remains static over a short time interval. Thus, we can use the present estimated occupancy grids as predictions for all future time steps based on the static-world hypothesis, as illustrated in Fig. 3 a.

Voxelization of point cloud prediction. Another type of baseline can be the occupancy grid voxelization based on the point clouds forecasting results from existing point clouds prediction methods [34, 35, 36, 37]. Here, we use surround-view depth estimation to generate depth maps across multiple cameras, followed by ray casting to generate 3D point clouds, which is applied with point cloud prediction to obtain predicted future pseudo points. Based on that, we then apply point-based semantic segmentation [46, 47, 48] to obtain movable and static labels for each voxel, resulting in the final occupancy predictions (see Fig. 3 b).

2D-3D instance-based prediction. Many off-the-shelf 2D BEV-based instance prediction methods [21, 22, 23, 24, 25] can forecast semantics for a near future with surround-view camera images. The third type of baseline is to obtain forecasted GMO in 3D space by replicating the BEV occupancy grids along the z-axis to the height of the vehicle, as shown in Fig. 3 c. It can be seen that this baseline assumes that the driving surface is flat and all moving objects have the same height. We do not evaluate this baseline on forecasting GSO since boosting 2D results by replication is unsuitable for simulating large-scale backgrounds with much more complex structures compared to GMO.

End-to-end occupancy forecasting network. None of the above baselines can directly predict the future occupancy state of 3D space. They all need additional post-processing based on certain hypotheses to extend and transform the existing results into 4D occupancy forecasting, inevitably introducing inherent artifacts. To fill this gap, we propose a novel approach shown in Fig. 3 d to achieve camera-only 4D occupancy forecasting in an end-to-end manner, introduced in detail in the next section.

IV End-to-End 4D Occupancy Forecasting

Refer to caption
Figure 4: System overview of our proposed OCFNet.

To our best knowledge, no existing camera-only 4D occupancy forecasting baseline is capable of simultaneously predicting future occupancy and extracting 3D general objects in an end-to-end fashion. In this paper, we introduce a novel end-to-end spatio-temporal network dubbed OCFNet, depicted in Fig. 4. OCFNet receives sequential past surround-view camera images to predict the present and future occupancy states. It utilizes the multi-frame feature aggregation module to extract warped 3D voxel features and the future state prediction module to forecast future occupancy as well as 3D backward centripetal flow.

IV-A Multi-Frame Feature Aggregation Module

The multi-frame feature aggregation module takes a sequence of past surround-view camera images as input and employs an image encoder backbone to extract 2D features. These 2D features are subsequently lifted and integrated into 3D voxel features by the 2D-3D lifting module. All the resulting 3D feature volumes are transformed to the current coordinate system through the application of 6-DOF ego-car poses, yielding the aggregated feature Fp(Np+1)c×h×w×lsubscript𝐹𝑝superscriptsubscript𝑁𝑝1𝑐𝑤𝑙F_{p}\in\mathbb{R}^{(N_{p}+1)c\times h\times w\times l}italic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + 1 ) italic_c × italic_h × italic_w × italic_l end_POSTSUPERSCRIPT. Here, we collapse the time and feature dimensions into one dimension to implement the following 3D spatiotemporal convolution. Subsequently, we concatenate it with the 6-DOF relative ego-car poses between adjacent frames, leading to the motion-aware feature Fpm(Np+1)(c+6)×h×w×lsubscript𝐹𝑝𝑚superscriptsubscript𝑁𝑝1𝑐6𝑤𝑙F_{pm}\in\mathbb{R}^{(N_{p}+1)(c+6)\times h\times w\times l}italic_F start_POSTSUBSCRIPT italic_p italic_m end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + 1 ) ( italic_c + 6 ) × italic_h × italic_w × italic_l end_POSTSUPERSCRIPT.

IV-B Future State Prediction Module

With the motion-aware feature aggregated from sequential features as input, the future state prediction module uses two heads to forecast future occupancy as well as motion of the grids simultaneously. Firstly, a voxel encoder downsamples Fpmsubscript𝐹𝑝𝑚F_{pm}italic_F start_POSTSUBSCRIPT italic_p italic_m end_POSTSUBSCRIPT to multi-scale features Fpmi(Np+1)ci×h2i×w2i×l2isuperscriptsubscript𝐹𝑝𝑚𝑖superscriptsubscript𝑁𝑝1subscript𝑐𝑖superscript2𝑖𝑤superscript2𝑖𝑙superscript2𝑖F_{pm}^{i}\in\mathbb{R}^{(N_{p}+1)c_{i}\times\frac{h}{2^{i}}\times\frac{w}{2^{% i}}\times\frac{l}{2^{i}}}italic_F start_POSTSUBSCRIPT italic_p italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT + 1 ) italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT × divide start_ARG italic_h end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG × divide start_ARG italic_w end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG × divide start_ARG italic_l end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG end_POSTSUPERSCRIPT, where i=0,1,2,3𝑖0123i=0,1,2,3italic_i = 0 , 1 , 2 , 3. Then, the prediction module expands the channel dimension of each Fpmisuperscriptsubscript𝐹𝑝𝑚𝑖F_{pm}^{i}italic_F start_POSTSUBSCRIPT italic_p italic_m end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT to (Nf+1)cisubscript𝑁𝑓1subscript𝑐𝑖(N_{f}+1)c_{i}( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT using stacked 3D residual convolutional blocks (see Sec. B in supplementary materials), resulting in Fpfi(Nf+1)ci×h2i×w2i×l2isuperscriptsubscript𝐹𝑝𝑓𝑖superscriptsubscript𝑁𝑓1subscript𝑐𝑖superscript2𝑖𝑤superscript2𝑖𝑙superscript2𝑖F_{pf}^{i}\in\mathbb{R}^{(N_{f}+1)c_{i}\times\frac{h}{2^{i}}\times\frac{w}{2^{% i}}\times\frac{l}{2^{i}}}italic_F start_POSTSUBSCRIPT italic_p italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT × divide start_ARG italic_h end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG × divide start_ARG italic_w end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG × divide start_ARG italic_l end_ARG start_ARG 2 start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_ARG end_POSTSUPERSCRIPT. They are further concatenated with the feature upsampled by a voxel decoder, after which a softmax function is exploited in the occupancy forecasting head to produce the coarse occupancy feature Ffocc(Nf+1)×cls×h×w×lsuperscriptsubscript𝐹𝑓𝑜𝑐𝑐superscriptsubscript𝑁𝑓1𝑐𝑙𝑠𝑤𝑙F_{f}^{occ}\in\mathbb{R}^{(N_{f}+1)\times cls\times h\times w\times l}italic_F start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_o italic_c italic_c end_POSTSUPERSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) × italic_c italic_l italic_s × italic_h × italic_w × italic_l end_POSTSUPERSCRIPT. In the flow prediction head, an additional 1×1111\times 11 × 1 convolutional layer instead of the softmax function is utilized to produce the coarse flow feature Ffflow(Nf+1)×3×h×w×lsuperscriptsubscript𝐹𝑓𝑓𝑙𝑜𝑤superscriptsubscript𝑁𝑓13𝑤𝑙F_{f}^{flow}\in\mathbb{R}^{(N_{f}+1)\times 3\times h\times w\times l}italic_F start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_f italic_l italic_o italic_w end_POSTSUPERSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) × 3 × italic_h × italic_w × italic_l end_POSTSUPERSCRIPT. Lastly, we utilize trilinear interpolation on Ffoccsuperscriptsubscript𝐹𝑓𝑜𝑐𝑐F_{f}^{occ}italic_F start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_o italic_c italic_c end_POSTSUPERSCRIPT and Ffflowsuperscriptsubscript𝐹𝑓𝑓𝑙𝑜𝑤F_{f}^{flow}italic_F start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_f italic_l italic_o italic_w end_POSTSUPERSCRIPT, and an additional argmax function on the occupancy state dimension to generate the final occupancy estimation 𝐎^t(Nf+1)×H×W×Lsubscript^𝐎𝑡superscriptsubscript𝑁𝑓1𝐻𝑊𝐿\hat{\mathbf{O}}_{t}\in\mathbb{R}^{(N_{f}+1)\times H\times W\times L}over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) × italic_H × italic_W × italic_L end_POSTSUPERSCRIPT and flow-based motion prediction 𝐌^t(Nf+1)×3×H×W×Lsubscript^𝐌𝑡superscriptsubscript𝑁𝑓13𝐻𝑊𝐿\hat{\mathbf{M}}_{t}\in\mathbb{R}^{(N_{f}+1)\times 3\times H\times W\times L}over^ start_ARG bold_M end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT ( italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 ) × 3 × italic_H × italic_W × italic_L end_POSTSUPERSCRIPT. Here, we need to estimate the present and forecast the future occupancy with semantics of general objects simultaneously according to the evaluation protocol described in Sec. III-C. In addition, OCFNet not only forecasts occupancy but also predicts 3D backward centripetal flow as grid motion within the space, which can be utilized to achieve instance prediction (see Sec. E in supplementary materials).

IV-C Loss function

We use cross-entropy loss as the occupancy forecasting loss Loccsubscript𝐿𝑜𝑐𝑐L_{occ}italic_L start_POSTSUBSCRIPT italic_o italic_c italic_c end_POSTSUBSCRIPT and use smooth l1subscript𝑙1l_{1}italic_l start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT distance as the flow prediction loss Lflowsubscript𝐿𝑓𝑙𝑜𝑤L_{flow}italic_L start_POSTSUBSCRIPT italic_f italic_l italic_o italic_w end_POSTSUBSCRIPT. The explicit depth loss Ldepthsubscript𝐿𝑑𝑒𝑝𝑡L_{depth}italic_L start_POSTSUBSCRIPT italic_d italic_e italic_p italic_t italic_h end_POSTSUBSCRIPT [49] is also used as the previous work [13] suggests, but here it is only calculated for supervising the present occupancy (t=0𝑡0t=0italic_t = 0) to improve training efficiency and decrease memory consumption. The overall loss for training OCFNet is given by

Lall=1Nf+1(t=0Nfλ1Locc\displaystyle L_{all}=\frac{1}{N_{f}+1}\Big{(}\sum_{t=0}^{N_{f}}\lambda_{1}L_{occ}italic_L start_POSTSUBSCRIPT italic_a italic_l italic_l end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT + 1 end_ARG ( ∑ start_POSTSUBSCRIPT italic_t = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_POSTSUPERSCRIPT italic_λ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_L start_POSTSUBSCRIPT italic_o italic_c italic_c end_POSTSUBSCRIPT (𝐎^t,𝐎t)+λ2Lflow(𝐌^t,𝐌t))\displaystyle(\hat{\mathbf{O}}_{t},\mathbf{O}_{t})+\lambda_{2}L_{flow}(\hat{% \mathbf{M}}_{t},\mathbf{M}_{t})\Big{)}( over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , bold_O start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) + italic_λ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT italic_L start_POSTSUBSCRIPT italic_f italic_l italic_o italic_w end_POSTSUBSCRIPT ( over^ start_ARG bold_M end_ARG start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , bold_M start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) )
+λ3Ldepth(𝐃^0,𝐃0),subscript𝜆3subscript𝐿𝑑𝑒𝑝𝑡subscript^𝐃0subscript𝐃0\displaystyle+\lambda_{3}L_{depth}(\hat{\mathbf{D}}_{0},\mathbf{D}_{0}),+ italic_λ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT italic_L start_POSTSUBSCRIPT italic_d italic_e italic_p italic_t italic_h end_POSTSUBSCRIPT ( over^ start_ARG bold_D end_ARG start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ) , (4)

where 𝐃^0,𝐃0subscript^𝐃0subscript𝐃0\hat{\mathbf{D}}_{0},\mathbf{D}_{0}over^ start_ARG bold_D end_ARG start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , bold_D start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT are the depth image estimated by the 2D-3D Lifting module and ground-truth range image projected from LiDAR data respectively. λ1subscript𝜆1\lambda_{1}italic_λ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT, λ2subscript𝜆2\lambda_{2}italic_λ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT, and λ3subscript𝜆3\lambda_{3}italic_λ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT are the weights to balance the optimization for occupancy forecasting, flow prediction, and depth reconstruction.

V Experiments on Cam4DOcc

Using the proposed Cam4DOcc benchmark, we evaluate the occupancy estimation and forecasting performance of the proposed baselines, including our OCFNet, for four tasks in autonomous driving scenarios.

Refer to caption
Figure 5: Visualization of forecasting inflated GMO by our proposed OCFNet. The prediction results and ground truth from timestamps 1 to Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT are assigned colors from dark to light. The motion trend of each moving object is represented by red arrows.

V-A Experimental Setups

Dataset details. Following [13, 22], we use 700 out of 850 scenes with ground-truth annotations in the nuScenes and nuScenes-Occupancy datasets, and 130 out of 180 scenes in the Lyft-Level5 for training the proposed baselines and our OCFNet. The remaining scenes are used for evaluation. The length N𝑁Nitalic_N of each sequence in our benchmark is set to 7 (Np=2subscript𝑁𝑝2N_{p}=2italic_N start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 2 and Nf=4subscript𝑁𝑓4N_{f}=4italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT = 4), which means we use three observations, including the present one, to forecast occupancy in four incoming time steps. Because nuScenes is annotated at 2 Hz while Lyft-Level5 is annotated at 5 Hz, we report the forecasting performance with different time intervals. The predefined range of each sequence is set as [-51.2 m, 51.2 m] for x-axis and y-axis, and [-5 m, 3 m] for z-axis. The voxel resolution is 0.2 m, leading to occupancy grids with the size of 512×512×4051251240512\times 512\times 40512 × 512 × 40 in the present coordinate system of each sequence. After the data reorganizing of our Cam4DOcc benchmark, the number of sequences for training and test are 23930 and 5119 in nuScenes and nuScenes-Occupancy, and 15720 and 5880 in Lyft-Level5.

Baseline setups. We choose the state-of-the-art camera-based approaches as the outset of each baseline proposed in Sec. III-D. For the static-world occupancy model, we use the camera baseline of OpenOccupancy [13] (OpenOccupancy-C) to estimate the occupancy state of the present frame, which is then regarded as the prediction of all the future time steps. For the voxelization of point cloud prediction, we use SurroundDepth [50] to estimate continuous surrounding depth maps, which are then downsampled to generate pseudo point clouds by ray casting. Based on sequential pseudo point clouds input, we then use PCPNet [37] to forecast incoming 3D point clouds, followed by Cylinder3D [46] to extract point-level GMO and GSO labels, and further voxelize the results into occupancy grids (SPC). For the 2D-3D instance-based prediction, we choose PowerBEV [22] to forecast occupancy semantics on BEV and then lift the 2D results to 3D space (PowerBEV-3D). As to our proposed OCFNet, we directly implement 4D occupancy forecasting end-to-end. Notably, PowerBEV is trained by the 2D ground-truth semantics and 2D flow projected to the BEV plane. Besides, only PowerBEV and OCFNet are trained with flow annotations from Cam4DOcc simultaneously since they both have the flow head. To show that our proposed OCFNet can generate good forecasted results even seeing limited training data, we report the performance of OCFNet only trained on 1616\frac{1}{6}divide start_ARG 1 end_ARG start_ARG 6 end_ARG training sequences as well as the performance of the one trained on all training sequences (OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT). OpenOccupancy-C, PowerBEV, and OCFNet are trained for 15 epochs using AdamW optimizer [51] with an initial learning rate 3e-4 and a weight decay of 0.01. SurroundDepth and Cylinder3D used in the point cloud prediction baseline are fine-tuned as their open sources suggest. PCPNet is firstly pretrained by range loss for 40 epochs using the same optimizer, but the initial learning rate is set to 1e-3. After that, it is further fine-tuned by Chamfer distance loss [52] for 10 epochs with a learning rate of 6e-4. All the networks mentioned above are trained with a batch size of 8 on 8 A100 GPUs. More details about the model parameters of our OCFNet are provided in supplementary Sec. B.

V-B 4D Occupancy Forecasting Assessment

Evaluation on forecasting inflated GMO. Results of the first task, forecasting inflated GMO on nuScenes and Lyft-Level5, are presented in Tab. I. Here, OpenOccupancy-C, PowerBEV, and OCFNet are trained only with inflated GMO labels, while PCPNet is trained by holistic point clouds. As shown, OCFNet and OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT outperform all other baselines, surpassing the BEV-based method by 12.4% and 13.3% in IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT and IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT on nuScenes. On Lyft-Level5, our OCFNet and OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT consistently outperforms PowerBEV-3D by 20.8% and 21.8% in IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT and IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT. In addition, Fig. 5 shows the results of nuScenes GMO occupancy forecasted by our OCFNet and CFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT, which indicates that OCFNet trained only with limited data can still capture the motion of GMO occupancy grids reasonably. The visualization on Lyft-Level5 is shown in supplementary Sec. F. The baseline SPC cannot work well for the present frame and even tends to fail while forecasting future occupancy state. This is because movable objects are labeled as the inflated dense voxel grids in this task, while the voxelization of PCPNet outputs is from sparse point-level prediction. In addition, the shape of the predicted objects loses consistency significantly in future time steps. The performance of OpenOccupancy-C is much better than that of the point cloud prediction baseline but still has a weak ability to estimate present occupancy and forecast future occupancy compared to PowerEBV-3D and OCFNet.

TABLE I: Comparison of performance on forecasting inflated GMO
approach nuScenes Lyft-Level5
IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT (2 s) IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT (0.8 s) IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT
OpenOccupancy-C [13] 12.17 11.45 11.74 14.01 13.53 13.71
SPC [50, 37, 46] 1.27 failed failed 1.42 failed failed
PowerBEV-3D [22] 23.08 21.25 21.86 26.19 24.47 25.06
OCFNet (ours) 27.86 23.89 24.77 32.12 29.56 30.53
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT (ours) 31.30 26.82 27.98 36.41 33.56 34.60
SPC: SurroundDepth [50] + PCPNet [37] + Cylinder3D [46]

Evaluation on forecasting fine-grained GMO. We further report the occupancy estimation and forecasting performance on fine-grained general movable objects with nuScenes-Occupancy (the second-level task). In Tab. II, we exhibit how the IoU of the forecasted objects changes once the GMO annotations have fine-grained voxel format rather than the inflated one in the first-level task for training as well as evaluation. It can be seen that the IoU of GMO forecasted by all the methods except the point cloud prediction baseline decreases significantly because it is rather difficult to predict sophisticated moving 3D structures using past continuous camera images. In contrast, SPC presents slightly better performance compared to the results in Tab. I since the ground-truth labels are also fine-grained and sparser than the counterparts in the first-level task. However, due to the loss of shape consistency, it still has the worst performance among the baselines. Besides, we can also see in Tab. II that OCFNet and OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT still have the best performance. This experiment reveals the reason why Cam4DOcc suggests the inflated labels for GMO annotation in the occupancy forecasting task: Forecasting sophisticated future 3D structures of movable objects only using camera images is very difficult while forecasting inflated GMO potentially promotes more reliable and safer navigation in autonomous driving applications.

TABLE II: Comparison on forecasting fine-grained GMO
approach nuScenes-Occupancy
IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT (2 s) IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT
OpenOccupancy-C [13] 10.82 8.02 8.53
SPC [50, 37, 46] 5.85 1.08 1.12
PowerBEV-3D [22] 5.91 5.25 5.49
OCFNet (ours) 10.15 8.35 8.69
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT (ours) 11.45 9.68 10.10
TABLE III: Comparison of performance on forecasting inflated GMO, fine-grained GSO, and free space simultaneously
approach IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT (2 s) IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT

GMO

GSO

mean

GMO

GSO

mean

GMO

OpenOccupancy-C [13] 13.53 16.86 15.20 12.67 17.09 14.88 12.97
SPC [50, 37, 46] 1.27 3.29 2.28 failed 1.40 failed
PowerBEV-3D [22] 23.08 21.25 21.86
OCFNet (ours) 26.41 16.95 21.68 22.21 17.14 19.68 23.06
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT (ours) 29.84 17.72 23.78 25.53 17.81 21.67 26.53

Evaluation on forecasting inflated GMO, fine-grained GSO, and free space. Next, we compare the performance of different methods on forecasting inflated general movable objects, fine-grained general static objects, and free space (the third-level task). Here, we do not report the GSO results from the 2D-3D instance-based prediction since the fine-grained 3D structure of static foreground and background objects cannot be approximately estimated by lifting 2D voxel grids to 3D space. The experimental results are shown in Tab. III. SPC remains the worst in this experiment where the IoU of inflated GMO is consistent with the results of Tab. I. OCFNet and OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT outperform OpenOccupancy-C significantly in terms of estimating GMO occupancy in both present moment and future time steps. It also can be seen that by aggregating features of multiple past frames, OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT enhances the performance of GSO occupancy estimation of single-frame-based OpenOccupancy-C by 5.1% and 4.2% on IoUc𝑐{}_{c}start_FLOATSUBSCRIPT italic_c end_FLOATSUBSCRIPT and IoUf𝑓{}_{f}start_FLOATSUBSCRIPT italic_f end_FLOATSUBSCRIPT respectively. For OpenOccupancy-C and our OCFNet, the IoU values of future GSO slightly increase due to the jitter of ground truth annotations from nuScenes-Occupancy.

Evaluation on forecasting fine-grained GMO, fine-grained GSO, and free space. In the fourth-level task, only OpenOccupancy-C and our OCFNet need to be retrained. As seen in Tab. IV, OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT remains the best performance against all the other approaches on forecasting fine-grained objects of interest. Compared to the results in Tab. II, the GMO forecasting performance of OpenOccupancy-C and our OCFNet drops slightly due to additional artifacts introduced by the fine-grained GSO class.

TABLE IV: Comparison of performance on forecasting fine-grained GMO, fine-grained GSO, and free space simultaneously
approach IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT (2 s) IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT

GMO

GSO

mean

GMO

GSO

mean

GMO

OpenOccupancy-C [13] 9.62 17.21 13.42 7.41 17.30 12.36 7.86
SPC [50, 37, 46] 5.85 3.29 4.57 1.08 1.40 1.24 1.12
PowerBEV-3D [22] 5.91 5.25 5.49
OCFNet (ours) 9.54 17.30 13.42 8.23 17.32 12.78 8.46
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT (ours) 11.02 17.79 14.41 9.20 17.83 13.52 9.66

V-C Ablation Study on Multi-Task Learning

In this experiment, we conduct an ablation study on the flow prediction head to present the enhancement from the multi-task learning scheme. As Tab. V shows, the complete OCFNet enhances the one without the flow prediction head by around 4% in both present and future occupancy estimation. The reason could be that 3D flow guides learning GMO motion in each time interval, as shown in Sec. D in supplementary materials, and thus helps the model determine the change of occupancy estimation in the next timestamp. With this analysis, using 3D backward centripetal flow in our Cam4DOcc is suggested for future end-to-end 4D Occupancy forecasting models to achieve better forecasting performance.

TABLE V: Ablation study on flow prediction head
approach IoUcsubscriptIoU𝑐\text{IoU}_{c}IoU start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT IoUfsubscriptIoU𝑓\text{IoU}_{f}IoU start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT IoU~fsubscript~IoU𝑓\tilde{\text{IoU}}_{f}over~ start_ARG IoU end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT
0.5 s 1.0 s 1.5 s 2.0 s
OCFNet w/o flow 26.84 25.01 24.04 23.38 22.99 23.86
OCFNet 27.86 25.95 24.92 24.33 23.89 24.77
improvement \uparrow 3.8% 3.8% 3.7% 4.1% 3.9% 3.8%

VI Conclusion

In this paper, we propose a novel benchmark namely Cam4DOcc for the new task, camera-only 4D occupancy forecasting in autonomous driving applications. Specifically, we first establish the devised dataset in new format based on several publicly available datasets. Then the standardized evaluation protocol as well as four types of baselines are further proposed to provide basic reference in our Cam4DOcc benchmark. Moreover, we propose the first camera-based 4D occupancy forecasting network OCFNet to estimate future occupancy states in an end-to-end manner. Multiple experiments with four different tasks are conducted based on our Cam4DOcc benchmark to thoroughly evaluate the proposed baselines as well as our OCFNet. The experimental results show that OCFNet outperforms all the baselines and can still produce reasonable future occupancy even seeing limited training data.

Insights: By comparing four different types of baselines, we demonstrated that end-to-end spatiotemporal network could be the most promising research direction for camera-only occupancy forecasting. Besides, using inflated GMO annotation and additional 3D backward centripetal flow is also verified to be beneficial for 4D occupancy forecasting.

Limitation and future work: While notable results have been achieved by our OCFNet, camera-only 4D occupancy forecasting remains challenging, especially for predicting over longer time intervals with many moving objects. Our Cam4DOcc benchmark and comprehensive analysis aim to enhance understanding of the strengths and limitations of current occupancy perception models. We envision this benchmark as a valuable tool for evaluation, and our OCFNet can serve as a foundational codebase for future research in the task of 4D occupancy forecasting.

References

  • [1] Yingfei Liu, Tiancai Wang, Xiangyu Zhang, and Jian Sun. Petr: Position embedding transformation for multi-view 3d object detection. In ECCV, pages 531–548, 2022.
  • [2] Cody Reading, Ali Harakeh, Julia Chae, and Steven L Waslander. Categorical depth distribution network for monocular 3d object detection. In CVPR, pages 8555–8564, 2021.
  • [3] Chien-Yao Wang, Alexey Bochkovskiy, and Hong-Yuan Mark Liao. Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In CVPR, pages 7464–7475, 2023.
  • [4] Yunsong Zhou, Quan Liu, Hongzi Zhu, Yunzhe Li, Shan Chang, and Minyi Guo. Mogde: Boosting mobile monocular 3d object detection with ground depth estimation. NeurIPS, 35:2033–2045, 2022.
  • [5] Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M Alvarez, and Ping Luo. Segformer: Simple and efficient design for semantic segmentation with transformers. NeurIPS, 34:12077–12090, 2021.
  • [6] Liulei Li, Tianfei Zhou, Wenguan Wang, Jianwu Li, and Yi Yang. Deep hierarchical semantic segmentation. In CVPR, pages 1246–1257, June 2022.
  • [7] Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In CVPR, pages 3431–3440, 2015.
  • [8] Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE TPAMI, 40(4):834–848, 2017.
  • [9] Niclas Vödisch, Kürsat Petek, Wolfram Burgard, and Abhinav Valada. Codeps: Online continual learning for depth estimation and panoptic segmentation. RSS, 2023.
  • [10] Jie Hu, Linyan Huang, Tianhe Ren, Shengchuan Zhang, Rongrong Ji, and Liujuan Cao. You only segment once: Towards real-time panoptic segmentation. In CVPR, pages 17819–17829, 2023.
  • [11] Wentong Li, Yuqian Yuan, Song Wang, Jianke Zhu, Jianshu Li, Jian Liu, and Lei Zhang. Point2mask: Point-supervised panoptic segmentation via optimal transport. In ICCV, pages 572–581, 2023.
  • [12] Bowen Cheng, Maxwell D Collins, Yukun Zhu, Ting Liu, Thomas S Huang, Hartwig Adam, and Liang-Chieh Chen. Panoptic-deeplab: A simple, strong, and fast baseline for bottom-up panoptic segmentation. In CVPR, pages 12475–12485, 2020.
  • [13] Xiaofeng Wang, Zheng Zhu, Wenbo Xu, Yunpeng Zhang, Yi Wei, Xu Chi, Yun Ye, Dalong Du, Jiwen Lu, and Xingang Wang. Openoccupancy: A large scale benchmark for surrounding semantic occupancy perception. In ICCV, pages 17850–17859, October 2023.
  • [14] Yuanhui Huang, Wenzhao Zheng, Yunpeng Zhang, Jie Zhou, and Jiwen Lu. Tri-perspective view for vision-based 3d semantic occupancy prediction. In CVPR, pages 9223–9232, 2023.
  • [15] Wenwen Tong, Chonghao Sima, Tai Wang, Li Chen, Silei Wu, Hanming Deng, Yi Gu, Lewei Lu, Ping Luo, Dahua Lin, et al. Scene as occupancy. In ICCV, pages 8406–8415, 2023.
  • [16] Yiming Li, Zhiding Yu, Christopher Choy, Chaowei Xiao, Jose M Alvarez, Sanja Fidler, Chen Feng, and Anima Anandkumar. Voxformer: Sparse voxel transformer for camera-based 3d semantic scene completion. In CVPR, pages 9087–9098, 2023.
  • [17] Yi Wei, Linqing Zhao, Wenzhao Zheng, Zheng Zhu, Jie Zhou, and Jiwen Lu. Surroundocc: Multi-camera 3d occupancy prediction for autonomous driving. In ICCV, pages 21729–21740, 2023.
  • [18] Wenchao Ding, Lu Zhang, Jing Chen, and Shaojie Shen. Epsilon: An efficient planning system for automated vehicles in highly interactive environments. TRO, 38(2):1118–1138, 2021.
  • [19] Wenchao Ding, Lu Zhang, Jing Chen, and Shaojie Shen. Safe trajectory generation for complex urban environments using spatio-temporal semantic corridor. RA-L, 4(3):2997–3004, 2019.
  • [20] Haoran Song, Wenchao Ding, Yuxuan Chen, Shaojie Shen, Michael Yu Wang, and Qifeng Chen. Pip: Planning-informed trajectory prediction for autonomous driving. In ECCV, pages 598–614, 2020.
  • [21] Anthony Hu, Zak Murez, Nikhil Mohan, Sofía Dudas, Jeffrey Hawke, Vijay Badrinarayanan, Roberto Cipolla, and Alex Kendall. Fiery: Future instance prediction in bird’s-eye view from surround monocular cameras. In ICCV, pages 15273–15282, 2021.
  • [22] Peizheng Li, Shuxiao Ding, Xieyuanli Chen, Niklas Hanselmann, Marius Cordts, and Juergen Gall. Powerbev: A powerful yet lightweight framework for instance prediction in bird’s-eye view. In IJCAI, pages 1080–1088, 8 2023.
  • [23] Pengxiang Wu, Siheng Chen, and Dimitris N Metaxas. Motionnet: Joint perception and motion prediction for autonomous driving based on bird’s eye view maps. In CVPR, pages 11385–11395, 2020.
  • [24] Reza Mahjourian, Jinkyu Kim, Yuning Chai, Mingxing Tan, Ben Sapp, and Dragomir Anguelov. Occupancy flow fields for motion forecasting in autonomous driving. RA-L, 7(2):5639–5646, 2022.
  • [25] Noureldin Hendy, Cooper Sloan, Feng Tian, Pengfei Duan, Nick Charchut, Yuesong Xie, Chuang Wang, and James Philbin. Fishing net: Future inference of semantic heatmaps in grids. In CVPRW, 2020.
  • [26] Tarasha Khurana, Peiyun Hu, David Held, and Deva Ramanan. Point cloud forecasting as a proxy for 4d occupancy forecasting. In CVPR, pages 1116–1124, 2023.
  • [27] Tarasha Khurana, Peiyun Hu, Achal Dave, Jason Ziglar, David Held, and Deva Ramanan. Differentiable raycasting for self-supervised occupancy forecasting. In ECCV, pages 353–369, 2022.
  • [28] Maneekwan Toyungyernsub, Esen Yel, Jiachen Li, and Mykel J Kochenderfer. Dynamics-aware spatiotemporal occupancy prediction in urban environments. In IROS, pages 10836–10841, 2022.
  • [29] Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. In CVPR, pages 11621–11631, 2020.
  • [30] R. Kesten, M. Usman, J. Houston, T. Pandya, K. Nadhamuni, A. Ferreira, M. Yuan, B. Low, A. Jain, P. Ondruska, S. Omari, S. Shah, A. Kulkarni, A. Kazakova, C. Tao, L. Platinsky, W. Jiang, and V. Shet. Lyft level 5 perception dataset 2020, 2019.
  • [31] Anh-Quan Cao and Raoul de Charette. Monoscene: Monocular 3d semantic scene completion. In CVPR, pages 3991–4001, 2022.
  • [32] Mingjie Pan, Li Liu, Jiaming Liu, Peixiang Huang, Longlong Wang, Shanghang Zhang, Shaoqing Xu, Zhiyi Lai, and Kuiyuan Yang. Uniocc: Unifying vision-centric 3d occupancy prediction with geometric and semantic rendering. arXiv preprint arXiv:2306.09117, 2023.
  • [33] Xiaoyu Tian, Tao Jiang, Longfei Yun, Yue Wang, Yilun Wang, and Hang Zhao. Occ3d: A large-scale 3d occupancy prediction benchmark for autonomous driving. arXiv preprint arXiv:2304.14365, 2023.
  • [34] Hehe Fan and Yi Yang. Pointrnn: Point recurrent neural network for moving point cloud processing. arXiv preprint arXiv:1910.08287, 2019.
  • [35] Fan Lu, Guang Chen, Zhijun Li, Lijun Zhang, Yinlong Liu, Sanqing Qu, and Alois Knoll. Monet: Motion-based point cloud prediction network. TITS, 23(8):13794–13804, 2021.
  • [36] Benedikt Mersch, Xieyuanli Chen, Jens Behley, and Cyrill Stachniss. Self-supervised point cloud prediction using 3d spatio-temporal convolutional networks. In CoRL, pages 1444–1454, 2022.
  • [37] Zhen Luo, Junyi Ma, Zijie Zhou, and Guangming Xiong. Pcpnet: An efficient and semantic-enhanced transformer network for point cloud prediction. RA-L, 2023.
  • [38] Adil Kaan Akan and Fatma Güney. Stretchbev: Stretching future instance prediction spatially and temporally. In ECCV, pages 444–460, 2022.
  • [39] Yunpeng Zhang, Zheng Zhu, Wenzhao Zheng, Junjie Huang, Guan Huang, Jie Zhou, and Jiwen Lu. Beverse: Unified perception and prediction in birds-eye-view for vision-centric autonomous driving. arXiv preprint arXiv:2205.09743, 2022.
  • [40] Xiaokang Chen, Kwan-Yee Lin, Chen Qian, Gang Zeng, and Hongsheng Li. 3d sketch-aware semantic scene completion via semi-supervised structure prior. In CVPR, pages 4193–4202, 2020.
  • [41] Jie Li, Kai Han, Peng Wang, Yu Liu, and Xia Yuan. Anisotropic convolutional networks for 3d semantic scene completion. In CVPR, pages 3351–3359, 2020.
  • [42] Luis Roldao, Raoul de Charette, and Anne Verroust-Blondet. Lmscnet: Lightweight multiscale 3d semantic completion. In 3DV, pages 111–119, 2020.
  • [43] Sergio Casas, Abbas Sadat, and Raquel Urtasun. Mp3: A unified model to map, perceive, predict and plan. In CVPR, pages 14403–14412, 2021.
  • [44] Xieyuanli Chen, Benedikt Mersch, Lucas Nunes, Rodrigo Marcuzzi, Ignacio Vizzo, Jens Behley, and Cyrill Stachniss. Automatic Labeling to Generate Training Data for Online LiDAR-Based Moving Object Segmentation. RA-L, 7(3):6107–6114, 2022.
  • [45] Hongyu Li, Zhengang Li, Neşet Ünver Akmandor, Huaizu Jiang, Yanzhi Wang, and Taşkın Padır. Stereovoxelnet: Real-time obstacle detection based on occupancy voxels from a stereo camera using deep neural networks. In ICRA, pages 4826–4833, 2023.
  • [46] Xinge Zhu, Hui Zhou, Tai Wang, Fangzhou Hong, Yuexin Ma, Wei Li, Hongsheng Li, and Dahua Lin. Cylindrical and asymmetrical 3d convolution networks for lidar segmentation. In CVPR, pages 9939–9948, June 2021.
  • [47] Xieyuanli Chen, Shijie Li, Benedikt Mersch, Louis Wiesmann, Jürgen Gall, Jens Behley, and Cyrill Stachniss. Moving object segmentation in 3d lidar data: A learning-based approach exploiting sequential data. RA-L, 6(4):6529–6536, 2021.
  • [48] Shijie Li, Xieyuanli Chen, Yun Liu, Dengxin Dai, Cyrill Stachniss, and Juergen Gall. Multi-scale interaction for real-time lidar data segmentation on an embedded platform. RA-L, 7(2):738–745, 2022.
  • [49] Yinhao Li, Zheng Ge, Guanyi Yu, Jinrong Yang, Zengran Wang, Yukang Shi, Jianjian Sun, and Zeming Li. Bevdepth: Acquisition of reliable depth for multi-view 3d object detection. In AAAI, volume 37, pages 1477–1485, 2023.
  • [50] Yi Wei, Linqing Zhao, Wenzhao Zheng, Zheng Zhu, Yongming Rao, Guan Huang, Jiwen Lu, and Jie Zhou. Surrounddepth: Entangling surrounding views for self-supervised multi-camera depth estimation. In CoRL, pages 539–549, 2023.
  • [51] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
  • [52] Haoqiang Fan, Hao Su, and Leonidas J Guibas. A point set generation network for 3d object reconstruction from a single image. In CVPR, pages 605–613, 2017.
  • [53] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016.
  • [54] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, pages 248–255. Ieee, 2009.
  • [55] Tsung-Yi Lin, Piotr Dollár, Ross Girshick, Kaiming He, Bharath Hariharan, and Serge Belongie. Feature pyramid networks for object detection. In CVPR, pages 2117–2125, 2017.
  • [56] Jonah Philion and Sanja Fidler. Lift, splat, shoot: Encoding images from arbitrary camera rigs by implicitly unprojecting to 3d. In ECCV, pages 194–210, 2020.
  • [57] Dahun Kim, Sanghyun Woo, Joon-Young Lee, and In So Kweon. Video panoptic segmentation. In CVPR, pages 9859–9868, 2020.

Cam4DOcc: Benchmark for Camera-Only 4D Occupancy Forecasting
in Autonomous Driving Applications Supplementary Material

A Dataset Setup Details

We provide more details about our new dataset format for our Cam4DOcc benchmark by presenting statistics on the instance duration [tin,tout]subscript𝑡𝑖𝑛subscript𝑡𝑜𝑢𝑡[t_{in},t_{out}][ italic_t start_POSTSUBSCRIPT italic_i italic_n end_POSTSUBSCRIPT , italic_t start_POSTSUBSCRIPT italic_o italic_u italic_t end_POSTSUBSCRIPT ] after splitting the original nuScenes and Lyft-Level5 datasets to separate sequences mentioned in Sec. III-B. As shown in Fig. 6, most general movable objects (GMO) appear in at least two historical observations and all future observations ([2,4]24[-2,4][ - 2 , 4 ] and [1,4]14[-1,4][ - 1 , 4 ]) in our benchmark. The long instance duration leads to an effective training strategy for the occupancy forecasting model. Besides, over 30% instances in the two datasets first appear in the current frame (t=0𝑡0t=0italic_t = 0), which makes the model learn to forecast the object motion only according to their current location and surrounding conditions.

Refer to caption
Figure 6: Instance duration on nuScenes and Lyft-Level5.

In addition, we further provide a detailed illustration of inflated GMO and fine-grained GMO defined in our Cam4DOcc introduced in Sec. III-C, as shown in Fig. 7. Compared to the fine-grained labels, the inflated bounding-box-wise annotation overall provides more comprehensive training signals for the occupancy forecasting model. In addition, the motion of GMO with a structured format from the instance bounding box is easier to capture (validated in Sec. V-B). From the second row of Fig. 7 we can also see that sometimes fine-grained voxel annotation cannot accurately represent the sophisticated shape of GMO while the bounding-box-wise annotation can totally encompass the holistic GMO instance grids. The third row of Fig. 7 also presents that fine-grained annotation may miss some occluded objects compared to the original instance bounding box labels, affecting the rationality of the training and evaluation on these scenarios. Therefore, Cam4DOcc suggests using inflated GMO annotations to train current-stage camera-based models for more reliable 4D occupancy forecasting and safer navigation in autonomous driving. We also hope that the preset tasks with fine-grained GMO labels in Cam4DOcc can be the foundation for developing more advanced camera-only 4D occupancy forecasting approaches in future research.

Refer to caption
Figure 7: Comparison of GMO categories defined in Cam4DOcc.

B OCFNet Model Details

Our proposed OCFNet receives 6 images with the size of 900×16009001600900\times 1600900 × 1600 captured by surround-view cameras mounted on the vehicle. We use ResNet50 [53] pretrained on ImageNet [54] with FPN [55] as the image encoder in OCFNet. LSS-based 2D-3D Lifting module [56] transforms and fuses image features from multiple camera images to unified voxel features. We use the vanilla 3D-ResNet18 as the Voxel Encoder and use 3D-FPN as the Voxel Decoder in both the occupancy forecasting head and flow prediction head of the Future State Prediction Module. The prediction module containing stacked residual convolutional blocks orderly encodes historical 3D features, expands channel dimensions according to the future time horizon Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT, and produces future 3D features, as shown in Fig. 8. Referring to the setups of PowerBEV [22], the numbers of the three types of residual convolutional blocks in the prediction module are set to 2, 1, and 2, with the kernel size of (3, 3, 1).

To extend our occupancy forecasting model to 3D instance prediction, our OCFNet predicts occupancy and 3D flow over t[0,Nf]𝑡0subscript𝑁𝑓t\in[0,N_{f}]italic_t ∈ [ 0 , italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ], corresponding to 5 continuous estimations specifically in our work. Local maxima are first extracted from the estimated occupancy probabilities at t=0𝑡0t=0italic_t = 0 following [22], determining the instances’ centers. Then, the instances in the following future frames are associated consecutively with the predicted flow.

To train our OCFNet using the loss defined in Eq. (4), we set λ1=λ3=0.5subscript𝜆1subscript𝜆30.5\lambda_{1}=\lambda_{3}=0.5italic_λ start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = italic_λ start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT = 0.5 and λ2=0.05subscript𝜆20.05\lambda_{2}=0.05italic_λ start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = 0.05 to balance the optimization for occupancy forecasting, depth reconstruction, and 3D backward centripetal flow prediction. The total parameter number of our OCFNet is 370 M, the GFLOPs are 6434, and the training-time GPU memory is 57 GB. We believe that our model can serve as a foundational codebase to facilitate future 4D occupancy forecasting works.

Refer to caption
Figure 8: The prediction module in our OCFNet.

C Study on Future Time Horizons

We further conduct a study on forecasting performance drops with different future time horizons. Since the occupancy grids of static objects do not change in the future time steps unless ground-truth annotations jitter, here we solely focus on the ability to forecast the future occupancy state of movable objects. In this experiment, we post the performance of OpenOccupancy-C, PowerBEV-3D, and our OCFNet for the first-level task and the second-level task since the baseline SPC fails to forecast the inflated GMO mentioned in Sec. V-B. As shown in Tab. VI, our OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT remains the best performance for different time horizons in both tasks. In addition, all the baseline approaches show better performance on Lyft-Level5 than nuScenes as the time period for evaluating on Lyft-Level5 is relatively shorter. The closer the timestamp is to the current moment, the easier it is for all the baselines to forecast the occupancy status.

Refer to caption
Figure 9: Visualization of predicted 3D backward flow (t[1,Nf]𝑡1subscript𝑁𝑓t\in[1,N_{f}]italic_t ∈ [ 1 , italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ]). The output flow vectors and ground-truth occupancy from timestamps 1 to Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT are assigned colors from dark to light respectively. The motion trend of each selected moving object is represented by red arrows.
TABLE VI: Comparison of performance on forecasting GMO in different future time horizons
approach nuScenes Lyft-Level5 nuScenes-Occupancy
0.5 s 1.0 s 1.5 s 2.0 s 0.2 s 0.4 s 0.6 s 0.8 s 0.5 s 1.0 s 1.5 s 2.0 s
OpenOccupancy-C [13] 12.07 11.80 11.63 11.45 13.87 13.77 13.65 13.53 9.17 8.64 8.29 8.02
PowerBEV-3D [22] 22.48 22.07 21.65 21.25 25.70 25.25 24.82 24.47 5.74 5.56 5.41 5.25
OCFNet (ours) 25.95 24.92 24.33 23.89 31.51 30.87 30.17 29.56 9.17 8.72 8.53 8.35
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT (ours) 29.36 28.30 27.44 26.82 35.58 34.96 34.28 33.56 10.64 10.20 9.89 9.68

D 3D Flow Prediction

Our proposed novel end-to-end occupancy forecasting network OCFNet is trained to reasonably estimate future occupancy state and 3D motion flow simultaneously. We notice that the multi-task learning scheme can help to improve forecasting performance, as shown in Sec. V-C. Here, we illustrate the predicted 3D backward centripetal flow in Fig. 9. As can be seen, the predicted flow vectors of the moving object approximately point from the voxel grids of the new coming frame to the ones of the past frame belonging to the same instance. Therefore, the predicted flow can further guide occupancy forecasting by explicitly capturing the motion of GMO in each time interval. Thanks to the flow vectors predicted by Cam4DOcc, we can further associate consistent instances between adjacent future frames, leading to 3D instance prediction beyond occupancy state forecasting.

Refer to caption
Figure 10: Visualization of forecasting inflated GMO by our proposed OCFNet in small-scale scenes of Lyft-Level5.
Refer to caption
Figure 11: Visualization of forecasting inflated GMO by our proposed OCFNet in large-scale scenes of Lyft-Level5.

E 3D Instance Prediction

Most existing instance prediction methods [22, 21, 43, 38] can only forecast the future position of objects of interest on BEV representation, while our work extends this task to more complex 3D space. We first extract the centers of instances by non-maximum suppression (NMS) at t=0𝑡0t=0italic_t = 0 and then associate pixel-wise instance ID over time t[1,Nf]𝑡1subscript𝑁𝑓t\in[1,N_{f}]italic_t ∈ [ 1 , italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ] using the predicted 3D backward centripetal flow. To report the instance prediction quality, we extend the metric video panoptic quality (VPQ) [57] from the previous 2D instance prediction [21, 22] to our 3D instance prediction, which is calculated by

VPQf(𝐎^finst,𝐎finst)subscriptVPQ𝑓superscriptsubscript^𝐎𝑓𝑖𝑛𝑠𝑡superscriptsubscript𝐎𝑓𝑖𝑛𝑠𝑡\displaystyle\text{VPQ}_{f}(\hat{\mathbf{O}}_{f}^{inst},\mathbf{O}_{f}^{inst})VPQ start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT ( over^ start_ARG bold_O end_ARG start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i italic_n italic_s italic_t end_POSTSUPERSCRIPT , bold_O start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i italic_n italic_s italic_t end_POSTSUPERSCRIPT ) =1Nft=0Nf(pt,qt)TPtIoU(pt,qt)|TPt|+12|FPt|+12|FNt|,absent1subscript𝑁𝑓superscriptsubscript𝑡0subscript𝑁𝑓subscriptsubscript𝑝𝑡subscript𝑞𝑡𝑇subscript𝑃𝑡IoUsubscript𝑝𝑡subscript𝑞𝑡𝑇subscript𝑃𝑡12𝐹subscript𝑃𝑡12𝐹subscript𝑁𝑡\displaystyle=\frac{1}{N_{f}}\sum_{t=0}^{N_{f}}\frac{\sum_{\scriptscriptstyle{% (p_{t},q_{t})\in TP_{t}}}\text{IoU}(p_{t},q_{t})}{|TP_{t}|+\frac{1}{2}|FP_{t}|% +\frac{1}{2}|FN_{t}|},= divide start_ARG 1 end_ARG start_ARG italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_ARG ∑ start_POSTSUBSCRIPT italic_t = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT end_POSTSUPERSCRIPT divide start_ARG ∑ start_POSTSUBSCRIPT ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_q start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ∈ italic_T italic_P start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT IoU ( italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , italic_q start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) end_ARG start_ARG | italic_T italic_P start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | + divide start_ARG 1 end_ARG start_ARG 2 end_ARG | italic_F italic_P start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | + divide start_ARG 1 end_ARG start_ARG 2 end_ARG | italic_F italic_N start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | end_ARG , (5)

where TPt𝑇subscript𝑃𝑡TP_{t}italic_T italic_P start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, FPt𝐹subscript𝑃𝑡FP_{t}italic_F italic_P start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, and FNt𝐹subscript𝑁𝑡FN_{t}italic_F italic_N start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT represent true positives, false positives, and false negatives at timestamp t𝑡titalic_t. Note that in our work the predicted instance is regarded as one true positive once its IoU is greater than 0.20.20.20.2 (adaptively chosen according to the level of IoU) and the corresponding instance ID is correctly tracked. The experimental results are shown in Tab. VII. Note that the instance prediction results of PowerBEV-3D are also from the duplication of forecasted 2D flow along the height dimension (same as its 3D extension of forecasted occupancy introduced in Sec. III-D). As can be seen, our proposed OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT shows better 3D instance prediction ability than PowerBEV-3D on Lyft-Level5 while PowerBEV-3D outperforms our approach on nuScenes. In addition, OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT improves the prediction of OCFNet by 30.2% and 13.7% on nuScenes and Lyft-Level5 respectively. The 2D-3D instance-based prediction baseline presents good instance prediction ability on nuScenes because 2D backward centripetal flow is easier to forecast than the 3D counterpart. On the contrary, our proposed method produces better forecasting results on Lyft-Level5, dominated by far better GMO occupancy forecasting quality of OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT than that of PowerBEV-3D on this dataset. Therefore, in the 3D instance prediction task, we further propose a new baseline namely OCFNet*{}^{*}start_FLOATSUPERSCRIPT * end_FLOATSUPERSCRIPT, which combines the advantages of our original OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT and PowerBEV-3D. The principle is that the 3D flow of the intersection GMO occupancy forecasted by the two methods follows PowerBEV-3D’s results, while the other GMO occupancy grids forecasted by OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT have the motion flow generated by OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT itself. Based on this setup, whether an occupancy grid is occupied totally depends on OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT, and its flow depends on the choice between OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT and PowerBEV-3D. From Tab. VII, we can see that OCFNet*{}^{*}start_FLOATSUPERSCRIPT * end_FLOATSUPERSCRIPT has the best 3D instance prediction performance, which enhances PowerBEV-3D by 6.7% on nuScenes and improves OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT by 2.1% on Lyft-Level5.

TABLE VII: Comparison of performance on 3D instance prediction
approaches nuScenes Lyft-Level5
PowerBEV-3D [22] 20.02 27.39
OCFNet 14.26 24.82
OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT 18.57 28.23
OCFNet*{}^{*}start_FLOATSUPERSCRIPT * end_FLOATSUPERSCRIPT 21.36 28.81

F Visualization of future GMO occupancy forecasted by OCFNet on Lyft-Level5

In this section, we present our proposed OCFNet forecasting inflated general movable objects of the Lyft-Level5 dataset. Fig. 10 and Fig. 11 show the results in small-scale and large-scale scenes respectively. The prediction results and ground truth from timestamps 1 to Nfsubscript𝑁𝑓N_{f}italic_N start_POSTSUBSCRIPT italic_f end_POSTSUBSCRIPT are assigned colors from dark to light. As to the small-scale scenes, the valid GMO over the future time horizon occupy relatively fewer volumes and both OCFNet and OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT can capture their motion accurately. When it comes to the large-scale conditions, OCFNet{}^{{\dagger}}start_FLOATSUPERSCRIPT † end_FLOATSUPERSCRIPT significantly outperforms OCFNet which only uses 1616\frac{1}{6}divide start_ARG 1 end_ARG start_ARG 6 end_ARG sequences for training. Therefore, when the driving scenario of the ego vehicle has few movable obstacles, such as in rural areas, OCFNet trained with limited data is enough to forecast the future occupancy of surrounding traffic participators. This can significantly improve the deployment efficiency of forecasting modules in autonomous driving systems by decreasing memory consumption and training period.