🧠 世界模型调研与精读
精读笔记 · 批次7 · T3 几何/occupancy

OccWorld 精读笔记

✅ 引文已 grep 验证原文arXiv:2311.16038 arXiv 页面 · 提取正文 txt

数据源:auto_docs/papers/txt/OccWorld.txt(81,779 字符,11 页,arXiv 2311.16038)。所有原文引用逐字复制并注明行号;txt 中不含补充材料(论文正文称细节见 supplementary,该部分原文未收录于 txt)。引用中的排版瑕疵(如 "VQV AE"、"V AD")系 txt 原文如此,照录不改。

1. 原文信息

2. Abstract 全文逐字(L54–81)

"Understanding how the 3D scene evolves is vital for making decisions in autonomous driving. Most existing methods achieve this by predicting the movements of object boxes, which cannot capture more fine-grained scene information. In this paper, we explore a new framework of learning a world model, OccWorld, in the 3D Occupancy space to simultaneously predict the movement of the ego car and the evolution of the surrounding scenes. We propose to learn a world model based on 3D occupancy rather than 3D bounding boxes and segmentation maps for three reasons: 1) expressiveness. 3D occupancy can describe the more fine-grained 3D structure of the scene; 2) efficiency. 3D occupancy is more economical to obtain (e.g., from sparse LiDAR points). 3) versatility. 3D occupancy can adapt to both vision and LiDAR. To facilitate the modeling of the world evolution, we learn a reconstruction-based scene tokenizer on the 3D occupancy to obtain discrete scene tokens to describe the surrounding scenes. We then adopt a GPT-like spatial-temporal generative transformer to generate subsequent scene and ego tokens to decode the future occupancy and ego trajectory. Extensive experiments on the widely used nuScenes benchmark demonstrate the ability of OccWorld to effectively model the evolution of the driving scenes. OccWorld also produces competitive planning results without using instance and map supervision. Code: https://github.com/wzzheng/OccWorld."

3. 问题与动机(逐字引用)

4. 方法逐机制

(1) occupancy 表示(L332–343):"we propose to adopt 3D occupancy as the 3D scene representation y ∈ RH×W ×D. 3D occupancy partitions the 3D space surrounding the ego car into H × W × D voxels and assigns each voxel with a label l denoting whether it is occupied and which material it is occupied with. 3D occupancy provides a dense representation of the 3D scene and can describe both the 3D structural and semantic information of the scene. It can be effectively learned from sparse LiDAR annotations [21] or potentially from self-supervision of temporal frames [20]. 3D occupancy is also modality-agnostic and can be obtained from monocular camera [4], surrounding cameras [21, 53, 57], or LiDAR [69]."

(2) 场景 tokenizer(VQ-VAE):低层表示难直接建模演化,故自监督 token 化(L344–350):"Despite its comprehensiveness, 3D occupancy only provides a low-level understanding of the scene, making it difficult to directly model its evolution. We therefore propose a self-supervised way to tokenize the scene into high-level tokens from 3D occupancy. We train a vector-quantized autoencoder (VQ-V AE) [41] ony to obtain discrete tokens z to better represent the scene, as shown in Figure 3." 效率设计:先压到 BEV(L351–355):"For efficiency, we first transform the 3D occupancy y ∈ RH×W ×D to a BEV representation ˆy ∈ RH×W ×DC ′ by assigning each category with a learnable class embedding ∈ RC′ and concatenating them in the height dimension. We then adopt a lightweight encoder composed of 2D convolution layers to obtain down-sampled features" 码本量化(L360–366):"To obtain a more compact representation, we simultaneously learn a codebook C ∈ RN ×D containing N codes. Each code c ∈ RC in the codebook encodes a high-level concept of the scene, e.g., whether the corresponding position is occupied by a car. We quantized each spatial feature ˆzij in ˆz by classifying it to the nearest code N (ˆzij, C): zij = N (ˆzij, C) = minc∈C ||ˆzij − c||2, (4)".

(3) 世界模型形式化(L296–300,式 3):"We define a world model w to act on scene representations y and be able to predict future scenes. Formally, we formulate the function of a world model w as follows: w({yT , · · ·, yT −t}, {pT , · · ·, pT −t}) =yT +1, pT +1. (3)";ego token(L393–395):"To integrate the ego movement, we further aggregate T with an ego token z0 ∈ RC to encode the spatial position of the ego vehicle."

(4) 空间-时间生成 Transformer:层级空间聚合(L443–449):"We apply spatial aggregation (e.g., self-attention [8]) to world tokens T to enable interactions between scene tokens as well as ego tokens. We then merge the scene tokens in each 2 × 2 window with a stride of 2 and thus down-sample the scene tokens by a factor of 4. We repeat this procedure for K times to obtain world tokens of hierarchical scales {T0, · · ·, TK} to describe the 3D scene at different levels." 逐尺度时间因果注意力(L450–460):"We use several sub-world models w = {w0, · · ·, wK} to predict the future at different spatial scales. For each sub-world model wi, we impose temporal attention on the tokens {zTj,i, · · ·, zT −tj,i } at each position j to obtain the predicted corresponding token zT +1j,i of the next frame: ˆzT +1j,i = TA(zTj,i, · · ·, zT −tj,i ), (6), where TA denotes masked temporal attention which blocks the effect of future tokens to previous tokens." 之后(L459–460):"We finally employ a U-net structure to aggregate predicted tokens at different scales to ensure spatial consistency."

(5) 预测演化与解码(L469–473):"Having obtained the forecasted world tokens, we reuse the scene decoder d to decode the predicted 3D occupancy ˆyT +1 = d(ˆzT +1) and additionally learn an ego decoder dego to produce the ego displacement ˆpT +1 = dego(ˆzT +10 ) w.r.t the current frame."

(6) 两阶段训练:第一阶段(L475–477,式 7):"For the first stage, we train the scene tokenizer e and decoder d using 3D occupancy loss [21]: Je,d = Lsof t(d(e(y)), y) +λ1 Llovasz (d(e(y)), y), (7)";第二阶段(L480–489,式 8 概述):"For the second stage, we adopt the learned scene tokenizer e to obtain scene tokens z for all the frames and constrain the discrepancy between predicted tokens ˆz and z. We then apply the softmax loss to enforce the correct classification of ˆz to the correct codes in the codebook C as z. For the ego token, we simultaneously learn the ego decoder dego and apply L2 loss on the predicted displacement"。推理(L502–506):"For efficient training, we use tokens obtained by the scene tokenizer e as inputs but apply masked temporal attention [2] to block the effect of future tokens. During inference, we progressively predict world tokens of the next frame using predicted tokens of past frames." 规模化(L516–519):"Combined with machine-annotated [57], LiDAR-collected [21], or self-supervised [20] 3D occupancy, OccWorld has the potential to scale up to large-scale training, paving the way for large driving models."

5. 实验与主结果

任务(L598–601):"We conduct two tasks to evaluate our OccWorld: 4D occupancy forecasting on the Occ3D dataset [52] and motion planning on the nuScenes dataset [3]." 4D 预测定义(L605–608):"the task of 4D occupancy forecasting, which aims to forecast the future 3D occupancy given a few historical occupancy inputs. We use mIoU and IoU as the evaluation metric." 规划(L613–614):"The planned trajectory is represented by a series of 2D waypoints in the BEV plane (ground plane). We use L2 error and collision rate as the evaluation metric."

实现细节(L616–624):"We followed existing works [18, 25] and used a 2-second historical context to forecast the subsequent 3 seconds. The scene tokenizer employs a down-sampling factor of 4, featuring a codebook comprising 512 nodes and a 128-dimensional feature representation. The spatial-temporal generative transformer comprises 3 scales, each incorporating 6 layers of spatial-wise temporal attention for scene tokens with 2 layers of spatial cross-attention and temporal cross-attention for ego planning tokens." 训练配置(L652–657):"We adopted the AdamW optimizer [39] and a Cosine Annealing scheduler [38] for training. We set an initial learning rate of 1 × 10−3 and the weight decay at 0.01 and. We use a batch size of 1 per GPU on 8 NVIDIA GeForce RTX 4090 GPUs."

Table 1(4D occupancy 预测,全数值,L523–528):

Method Input Aux. Sup. mIoU 0s/1s/2s/3s/Avg. IoU 0s/1s/2s/3s/Avg. FPS
Copy&Paste 3D-Occ None 66.38 / 14.91 / 10.54 / 8.52 / 11.33 62.29 / 24.47 / 19.77 / 17.31 / 20.52 -
OccWorld-O 3D-Occ None 66.38 / 25.78 / 15.14 / 10.51 / 17.14 62.29 / 34.63 / 25.07 / 20.18 / 26.63 18.0
OccWorld-D Camera 3D-Occ 18.63 / 11.55 / 8.10 / 6.22 / 8.62 22.88 / 18.90 / 16.26 / 14.43 / 16.53 2.8
OccWorld-T Camera Semantic LiDAR 7.21 / 4.68 / 3.36 / 2.63 / 3.56 10.66 / 9.32 / 8.23 / 7.47 / 8.34 2.8
OccWorld-S Camera None 0.27 / 0.28 / 0.26 / 0.24 / 0.26 4.32 / 5.05 / 5.01 / 4.95 / 5.00 2.8

Table 2(运动规划,全数值,L629–648)(L2 单位 m;Collision Rate %;† 为 VAD 度量口径,L627):

Method Input Aux. Sup. L2 1s/2s/3s/Avg. Col. 1s/2s/3s/Avg. FPS
IL [43] LiDAR None 0.44 / 1.15 / 2.47 / 1.35 0.08 / 0.27 / 1.95 / 0.77 -
NMP [64] LiDAR Box & Motion 0.53 / 1.25 / 2.67 / 1.48 0.04 / 0.12 / 0.87 / 0.34 -
FF [16] LiDAR Freespace 0.55 / 1.20 / 2.54 / 1.43 0.06 / 0.17 / 1.07 / 0.43 -
EO [26] LiDAR Freespace 0.67 / 1.36 / 2.78 / 1.60 0.04 / 0.09 / 0.88 / 0.33 -
ST-P3 [17] Camera Map & Box & Depth 1.33 / 2.11 / 2.90 / 2.11 0.23 / 0.62 / 1.27 / 0.71 1.6
UniAD [18] Camera Map & Box & Motion & Tracklets & Occ 0.48 / 0.96 / 1.65 / 1.03 0.05 / 0.17 / 0.71 / 0.31 1.8
VAD-Tiny [25] Camera Map & Box & Motion 0.60 / 1.23 / 2.06 / 1.30 0.31 / 0.53 / 1.33 / 0.72 16.8
VAD-Base [25] Camera Map & Box & Motion 0.54 / 1.15 / 1.98 / 1.22 0.04 / 0.39 / 1.17 / 0.53 4.5
OccNet [53] Camera 3D-Occ & Map & Box 1.29 / 2.13 / 2.99 / 2.14 0.21 / 0.59 / 1.37 / 0.72 2.6
OccNet [53] 3D-Occ Map & Box 1.29 / 2.31 / 2.98 / 2.25 0.20 / 0.56 / 1.30 / 0.69 -
OccWorld-O 3D-Occ None 0.43 / 1.08 / 1.99 / 1.17 0.07 / 0.38 / 1.35 / 0.60 18.0
OccWorld-D Camera 3D-Occ 0.52 / 1.27 / 2.41 / 1.40 0.12 / 0.40 / 2.08 / 0.87 2.8
OccWorld-T Camera Semantic LiDAR 0.54 / 1.36 / 2.66 / 1.52 0.12 / 0.40 / 1.59 / 0.70 2.8
OccWorld-S Camera None 0.67 / 1.69 / 3.13 / 1.83 0.19 / 1.28 / 4.59 / 2.02 2.8
VAD-Tiny† [25] Camera Map & Box & Motion 0.46 / 0.76 / 1.12 / 0.78 0.21 / 0.35 / 0.58 / 0.38 16.8
VAD-Base† [25] Camera Map & Box & Motion 0.41 / 0.70 / 1.05 / 0.72 0.07 / 0.17 / 0.41 / 0.22 4.5
OccWorld-O† 3D-Occ None 0.32 / 0.61 / 0.98 / 0.64 0.06 / 0.21 / 0.47 / 0.24 18.0
OccWorld-D† Camera 3D-Occ 0.39 / 0.73 / 1.18 / 0.77 0.11 / 0.19 / 0.67 / 0.32 2.8
OccWorld-T† Camera Semantic LiDAR 0.40 / 0.77 / 1.28 / 0.82 0.12 / 0.22 / 0.56 / 0.30 2.8
OccWorld-S† Camera None 0.49 / 0.95 / 1.55 / 0.99 0.19 / 0.56 / 1.54 / 0.76 2.8

关键文字结论: - Intro 数值(L143–147):"Our OccWorld can effectively forecast future evolutions including moving agents and static elements as shown in Figure 1, and achieves an average IoU of 26.63 and mIoU of 17.13 for 3s future given 2s history, OccWorld can also produce planning trajectories with an L2 error of 1.16 without using any instance and map annotations." 注:原文正文的 mIoU 17.13 与 Table 1 的 Avg. 17.14、L2 1.16 与 Table 2 的 Avg. 1.17 两处不一致,照录不改。 - 各设定解释(L661–668):"OccWorld-O (using ground-truth 3D occupancy), OccWorld-D (using predicted results of TPVFormer [21] trained with dense ground-truth 3D occupancy), OccWorld-T (using predicted results of TPVFormer [21] trained with sparse semantic LiDAR 1), and OccWorld-S (using predicted results of TPVFormer [20] trained in a self-supervised manner2). Copy&Paste denotes copying the current ground-truth occupancy as future observations. The 0s results represent the reconstruction accuracy." - 超越 Copy&Paste(L671–676):"We observe that OccWorld-O can generate non-trivial future 3D occupancy with much better results than Copy&Paste, showing that our model learns the underlying scene evolution." - 自监督端到端(L681–684):"It is especially difficult for the self-supervised OccWorld-S, which exploits no 3D occupancy information even during training. Still, our OccWorld generates future 3D occupancy with non-trivial mIoU and IoU on the end-to-end setting." - 对比 UniAD(L696–700):"We see that UniAD achieves the best overall performance, which exploits various types of auxiliary supervision to improve its planning quality. Despite the strong performance, the additional annotations in the 3D space are"(接 L717–718:"very difficult to obtain, making it difficult to scale to large-scale driving data.") - 对比 OccNet(L722–727):"We observe that using ground-truth 3D occupancy as inputs, our OccWorld-O outperforms the previous perception-prediction-planning-based method OccNet [53] by a large margin without using maps and bounding boxes as supervision, demonstrating the superiority of the world-model paradigm for autonomous driving." - 无监督可解释端到端潜力(L727–732):"Our end-to-end models OccWorld-D and OccWorld-T also demonstrate competitive performance using only 3D occupancy as supervision and OccWorld-S delivers non-trivial results with no supervision other than the future trajectory, showing the potential for interpretable end-to-end autonomous driving."

6. 消融(全部抄录)

Table 3(tokenizer 超参,L703–708)(列:Setting | 重构 mIoU / IoU | 预测 mIoU 1s/2s/3s/Avg. | 规划 L2 1s/2s/3s/Avg. | FPS):

Setting Recons. mIoU / IoU Forecast mIoU 1s/2s/3s/Avg. Plan L2 1s/2s/3s/Avg. FPS
(50², 128, 512) 66.38 / 62.29 25.78 / 15.14 / 10.51 / 17.14 0.43 / 1.08 / 1.99 / 1.17 18.0
(50², 128, 256) 63.40 / 60.33 24.25 / 14.34 / 10.13 / 16.24 0.42 / 1.08 / 1.95 / 1.15 17.8
(50², 128, 1024) 60.50 / 59.07 23.55 / 14.66 / 10.68 / 16.30 0.47 / 1.18 / 2.19 / 1.28 17.8
(25², 256, 512) 36.28 / 44.02 12.10 / 8.13 / 6.20 / 8.81 3.27 / 6.54 / 9.78 / 6.53 28.1
(100², 128, 512) 78.12 / 71.63 18.71 / 10.75 / 7.68 / 12.38 0.50 / 1.25 / 2.33 / 1.36 6.7
(50², 64, 512) 64.98 / 61.50 21.83 / 12.90 / 9.28 / 14.67 0.49 / 1.24 / 2.26 / 1.33 20.1

(Setting 三元组含义,L749–750:"The setting denotes latent spatial resolution, latent channel dimension, and the codebook size.") 文字结论(L750–757):"We see that using a larger codebook than 512 leads to overfitting and using a smaller codebook, spatial resolution, or channel dimension might not be enough to capture the scene distribution. The reconstruction accuracy greatly improves with a larger spatial resolution, yet leads to poor forecasting and planning performance. This is because the tokens cannot learn high-level concepts and are difficult to forecast the future."

Table 4(时空生成 Transformer 消融,L712–716)(报告 1s/2s/3s 平均):

Method Forecast mIoU↑ IoU↑ Planning L2↓ Col.↓ FPS
OccWorld-O 17.14 26.63 1.17 0.60 18.0
w/o spatial attn 10.07 21.44 1.42 1.21 28.6
w/o temporal attn 8.98 20.10 2.06 2.56 26.5
w/o ego 15.13 24.66 - - 18.8
w/o ego temporal 12.07 23.09 5.89 6.23 18.5

设定定义(L762–769):"w/o spatial attn denotes discarding spatial aggregation and directly applying temporal attention to the input tokens. w/o temporal attn represents that we replace the temporal attention with a simple convolution to output the next scene using the current world tokens. w/o ego represents that we discard the ego token. w/o ego temporal represents that we replace the temporal attention of the ego token with a simple MLP." 文字结论(L769–780):"We observe that using spatial aggregation to model spatial dependencies and using temporal attention to integrate history information is vital to the performance of both 4D occupancy forecasting and motion planning tasks. Also, only performing the 4D occupancy forecasting task without predicting motion reduces the performance. This verifies the effectiveness of joint modeling of scene evolutions and ego trajectories. Finally, discarding the ego temporal attention leads to poor planning and surprisingly worse 3D forecast occupancy performance. We think this is because integrating a wrongly predicted ego trajectory will mislead the forecasting."

7. 局限 / 未来工作

论文无独立的 Limitations / Future Work 小节(原文未写),局限散见于图注与结果分析: - 无法预测视野外新进入的车辆(图 1 图注,L52–53):"Still, it fails to forecast new vehicles entering the sight, which is difficult given their absence in the inputs." - 碰撞率略逊(L733–736):"Though our model demonstrates very competitive L2 error, it slightly falls behind on the collision rate. This is because it is more difficult to learn safe trajectories without the guidance of freespace or bounding box." - 长时程退化(L740–746):"We also observe that OccWorld shows excellent short-term planning performance (1s), but worsens quickly when planning longer futures. For example, OccWorld-O achieves the best L2 error at 1s among all the methods but reaches 1.99 at 3s compared to 1.65 of UniAD. This might result from the diverse future generations of world models, which might deviate from the ground-truth trajectory." - 结论中的展望(L781–792):"We believe that OccWorld has paved the way for interpretable end-to-end autonomous driving without additional supervision signals."

8. 叙事关联【推断,5 条】

  1. 几何结构输出(T3)代表:OccWorld 以 3D occupancy——体素级的「是否占用+语义标签」结构表示——作为世界模型的输入、输出与规划载体。支持句(L333–336):"3D occupancy partitions the 3D space surrounding the ego car into H × W × D voxels and assigns each voxel with a label l denoting whether it is occupied and which material it is occupied with." 及(L336–339):"3D occupancy provides a dense representation of the 3D scene and can describe both the 3D structural and semantic information of the scene."
  2. 与像素级生成的对比,原文的自我定位:原文明确将像素级图像生成(GAIA-1、DriveDreamer 等)判为「缺 3D 理解」(L180–182:"However, they produce future observations in the 2D image space, lacking understanding of the 3D surrounding scene."),将点云预测判为「缺语义、不适用于视觉/融合方案」(L182–186),并自我定位为中间路线:"we explore a world model in the 3D occupancy space to more comprehensively model the 3D scene evolution."(L186–188)。【推断】叙事上 OccWorld 代表「结构化 3D 表示」对「像素空间」的一级抽象。
  3. 标签经济性/可扩展性:occupancy 可自监督或廉价获取,是无人工标注扩展的关键卖点。支持句(L716–721):"As an alternative, OccWorld demonstrates competitive performance by employing 3D occupancy as the scene representation which can be efficiently obtained by accumulating LiDAR scans [57]." 及(L149–151):"demonstrating the potential for interpretable end-to-end autonomous driving without additional human-annotated labels."
  4. 联合建模(场景演化×自车运动)有效:消融证明去掉 ego 或 ego 时序都会掉点。支持句(L773–776):"Also, only performing the 4D occupancy forecasting task without predicting motion reduces the performance. This verifies the effectiveness of joint modeling of scene evolutions and ego trajectories."
  5. 「理解而非记忆」的叙事:图 1 图注声称预测的可行驶区域比真值更合理。支持句(L51–53):"OccWorld even generates more reasonable drivable areas than the ground truth, demonstrating its ability to understand the scene rather than memorizing training data."

9. 图注 / 表注逐字抄录