๐ก ํ ์ค ์์ฝ#
3D Semantic Occupancy ์์ธก์ ์ด์ ํ๋ ์์ 3D Gaussian ์ํ $\mathbf{z}^{T-1}$์ ํ์ฌ ์ผ์ ๊ด์ธก $\mathbf{x}^T$์ ๊ธฐ๋ฐํ **4D Streaming World Model ($\mathbf{z}^T = \mathbf{w}(\mathbf{z}^{T-1}, \mathbf{x}^T)$)**๋ก ์ฌ์ ์ํ๊ณ , ์์ฐจ ์ ํฉยท๋์ ๊ฐ์ฒด ์ด๋ยท์ ๊ท ์์ญ ์์ฑ์ 3๋จ๊ณ ๋ฌผ๋ฆฌ์ ์งํ ๋ชจ๋ธ๋ง์ผ๋ก ์ถ๊ฐ ์ฐ์ฐ ์ค๋ฒํค๋ ์์ด nuScenes mIoU +2.4% ํฅ์์ ๋ฌ์ฑํ๋ค.
๐ ๊ฐ์ ๋ฐ ํต์ฌ ๊ธฐ์ฌ (Key Contributions)#
- ์ ์: Sicheng Zuo, Wenzhao Zheng, Yuanhui Huang, Jie Zhou, Jiwen Lu (Tsinghua University)
- ๋ฐํ๋ ๋: 2024 (arXiv 2412.10373)
- ์ฃผ์ ๊ธฐ์ฌ์ :
- 3D Gaussian ๊ธฐ๋ฐ 4D Streaming World Model: ๋ ๋ฆฝ์ ํ๋ ์ ์ธ์ฝ๋ฉ ํ ์ตํฉ ๋ฐฉ์(Existing Temporal Fusion) ๋์ , 3D Gaussian ์์ฑ์ ์๊ฐ์ ์ ํ(Recurrence)๋ก ์ด์ ์ํ์ค ๊ธฐ์ต์ ์ง์ ์งํ์ํด.
- ๋ช ์์ 3๋จ๊ณ ์ฅ๋ฉด ์งํ ๋ถํด (Explicit Scene Evolution): ๋๋ผ์ด๋น ์ฌ์ ์๊ณต๊ฐ ๋ณํ๋ฅผ (1) ์์ฐจ ์ด๋ ์ ํฉ (Ego Alignment), (2) ๋์ ๊ฐ์ฒด ๊ตญ์ ์ด๋ (Dynamic Motion), (3) ์ ๊ท ์์ญ ๊ณต๊ฐ ์์ฑ (New Area Completion)์ผ๋ก ๋ฌผ๋ฆฌ์ ๋ถํด.
- ํตํฉ ํผ์ ์ -๋ชจ์ ์ํคํ ์ฒ (Unified Evolution Layer): ์ญ์ฌ์ Gaussian์ Motion ๋ชจ๋๋ก ์์น๋ง ์ ๋ฐ์ดํธํ๊ณ , ์ ๊ท Gaussian์ Perception ๋ชจ๋๋ก ์ ์์ฑ์ ์์ธกํ์ฌ ๊ณ์ฐ ์์ ๊ทน๋ํ.
- GS-to-Occ ์ด์ฐํ ์๊ณ ๋ฆฌ์ฆ: 3D Gaussian ํํ์ 3D Semantic Occupancy ๋ณต์ ๊ทธ๋ฆฌ๋๋ก ์๋ ด ๋ณํ.
๐ฏ ๊ด๋ จ ์ฐ๊ตฌ ํ๋ฆ ๋ฐ ๊ธฐ์กด ํ๊ณ (Related Work & Motivation)#
๊ด๋ จ ์ฐ๊ตฌ ํ๋ฆ#
- ๋จ์ผ ํ๋ ์ 3D Occupancy (MonoScene, TPVFormer, SurroundOcc): ๋งค ์๊ฐ ์ ์ 2D ์ด๋ฏธ์ง๋ก 3D ๋ณต์ ์ ์์ธกํ๋ฏ๋ก ๋ ์ฆ ๊ฐ๋ฆผ(Occlusion)์ด๋ ๋์ ๊ฐ์ฒด ์๋ ์ถ์ ์ ์ทจ์ฝ.
- ๋ณต์ ๊ธฐ๋ฐ ์๊ฐ ์ตํฉ (BEVFormer, GaussianFormer-T): ๊ณผ๊ฑฐ $T$๊ฐ ํ๋ ์์ BEV/Voxel Feature Map์ ์ ์ฅํ๊ณ Warpingํ์ฌ ์ตํฉํ๋, ๋ฉ๋ชจ๋ฆฌ ์ค๋ฒํค๋๊ฐ $\mathcal{O}(T)$๋ก ํญ๋ฐ.
- GaussianWorld: 3D Gaussian ํ๋ผ๋ฏธํฐ๋ง ์ ๋ฌ๋ฐ์ World Model ๋ ์ง์คํฐ๋ก ๊ฐฑ์ ํ์ฌ 1๊ฐ ๊ณผ๊ฑฐ ํ๋ ์ ์ง์ฐ์๊ฐ๋ง์ผ๋ก ๊ทน๋์ ์ค์๊ฐ์ฑ ์ ์ง.
๐ ๋ชฉ์ฐจ#
- Chapter 1: 3D Gaussian ์์ฑ ์ ์ ๋ฐ World Model ์ ์ด ์์
- Chapter 2: ๋ช ์์ ์ฅ๋ฉด ์งํ (์์ฐจ ์ ํฉ, ๋์ ์ด๋, ์ ๊ท ์์ญ ์์ฑ)
- Chapter 3: 3D Gaussian $\to$ 3D Occupancy ๋ณต์ ๊ฒฉ์ ๋ณํ (GS-to-Occ)
- Chapter 4: ์คํธ๋ฆฌ๋ฐ ํ์ต ์ ๋ต (Sequence Progressive Dropout)
- Chapter 5: ์ฃผ์ ์คํ ๋ฐ ๊ฒฐ๊ณผ
- Chapter 6: ๊ฒฐ๋ก ๋ฐ ์์ฌ์
๐ ๏ธ Chapter 1: 3D Gaussian ์์ฑ ๋ฐ World Model ์ํ ์ ์ด#
1. ์์ฝ#
๊ฐ 3D Gaussian $g_i$๋ ์์น $\mathbf{p}_i$, ํฌ๊ธฐ $\mathbf{s}_i$, ํ์ ์ฌ์์ $\mathbf{r}_i$, ์๋งจํฑ ํด๋์ค ํ๋ฅ $\mathbf{c}_i$, ์๊ฐ์ ํน์ง $\mathbf{f}_i$์ 5๊ฐ ์์ฑ์ผ๋ก ์ ์๋๋ฉฐ, World Model $\mathbf{w}$๋ ์ด์ ์ํ $\mathbf{z}^{T-1}$์ ํ์ฌ ์นด๋ฉ๋ผ ์ ๋ ฅ $\mathbf{x}^T$๋ฅผ ๋์ ์กฐ๊ฑดํํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
$$\mathbf{g}_i = \{\mathbf{p}_i, \mathbf{s}_i, \mathbf{r}_i, \mathbf{c}_i, \mathbf{f}_i\}, \quad \mathbf{z}^{T-1} = \{\mathbf{g}_i^{T-1}\}_{i=1}^N$$$$\mathbf{z}^T = \mathbf{w}\left( \mathbf{z}^{T-1}, \ \mathbf{x}^T \right)$$$$\mathbf{y}^T = \mathbf{h}(\mathbf{z}^T) \quad (\mathbf{h}: \text{GS-to-Occ Head})$$import torch
import torch.nn as nn
class GaussianWorldState:
"""
GaussianWorld์ 3D Gaussian ๋ช
์์ ์ํ ๋ฒกํฐ ํด๋์ค
"""
def __init__(self, p: torch.Tensor, s: torch.Tensor, r: torch.Tensor, c: torch.Tensor, f: torch.Tensor):
self.p = p # (N, 3) 3D Position
self.s = s # (N, 3) Scale
self.r = r # (N, 4) Quaternion Rotation
self.c = c # (N, C_classes) Semantic Probabilities
self.f = f # (N, C_feat) Temporal Feature Vector
# --- ์ฌ์ฉ ์์ ---
p_in = torch.randn(1000, 3)
s_in = torch.ones(1000, 3) * 0.5
r_in = torch.tensor([[1.0, 0.0, 0.0, 0.0]]).repeat(1000, 1)
c_in = torch.softmax(torch.randn(1000, 18), dim=-1)
f_in = torch.randn(1000, 128)
state_t1 = GaussianWorldState(p_in, s_in, r_in, c_in, f_in)
print("์ด์ ํ๋ ์ 3D Gaussian ์ํ ๊ฐ์ฒด ์์ฑ ์๋ฃ (N=1000)")๐ ๏ธ Chapter 2: ๋ช ์์ ์ฅ๋ฉด ์งํ (Scene Evolution)#
1. ์์ฝ#
์ฅ๋ฉด ๋ณํ๋ฅผ ์์ฐจ ์ด๋ ์ ํฉ($\mathbf{g}_A$), ๋์ ๊ฐ์ฒด ์ด๋($\mathbf{g}_M$), ์ ๊ท ๊ด์ธก ์์ญ ์์ฑ($\mathbf{g}_C$)์ 3๋จ๊ณ๋ก ๋ถํดํ์ฌ ์ฒ๋ฆฌํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
(1) ์์ฐจ ์ด๋ ์ ํฉ (Ego Motion Alignment)#
$$\mathbf{p}_A^{T} = \mathbf{R}_{ego} \mathbf{p}^{T-1} + \mathbf{t}_{ego}, \quad \mathbf{r}_A^{T} = \mathbf{R}_{ego} \cdot \mathbf{r}^{T-1}$$(2) ๋์ ๊ฐ์ฒด ์ด๋ (Dynamic Motion Update)#
$$\mathbf{p}_M^T = \mathbf{p}_A^T + \Delta\mathbf{p} \cdot \mathbb{I}(\mathbf{g}_A^T \in \{\mathbf{g}_D\}), \quad \Delta\mathbf{p} = \text{MLP}(\text{CrossAttn}(\mathbf{f}_A, \mathbf{x}^T))$$import torch
def align_and_update_dynamic_gaussians(
state: GaussianWorldState, # ์ด์ ํ๋ ์ Gaussian ์ํ
R_ego: torch.Tensor, # (3, 3) ์์ฐจ ํ์ ํ๋ ฌ
t_ego: torch.Tensor, # (3,) ์์ฐจ ์ด๋ ๋ฒกํฐ
is_dynamic_mask: torch.Tensor # (N,) ๋์ Gaussian ํํฐ๋ง ๋ง์คํฌ
) -> GaussianWorldState:
"""
1๋จ๊ณ: ์์ฐจ ์ด๋ Rigid Transformation + 2๋จ๊ณ: ๋์ ๊ฐ์ฒด ๋ณ์ ์ ์ฉ
"""
# 1. ์์ฐจ ์ ํฉ: p_aligned = R_ego @ p + t_ego
p_aligned = (R_ego @ state.p.T).T + t_ego
# 2. ๋์ ๊ฐ์ฒด ์คํ์
์์ธก (๊ฐ์ ์คํ์
์์)
dynamic_offset = torch.randn_like(p_aligned) * 0.2
# ๋์ ๋ง์คํฌ ์ ์ฉ ๋์๋ง ์คํ์
์ด๋
p_final = p_aligned + dynamic_offset * is_dynamic_mask.unsqueeze(-1)
return GaussianWorldState(p_final, state.s, state.r, state.c, state.f)
# --- ์ฌ์ฉ ์์ ---
R_d, t_d = torch.eye(3), torch.tensor([1.5, 0.0, 0.0])
mask_d = (c_in.argmax(dim=-1) == 1) # 1๋ฒ ํด๋์ค๊ฐ ์ฐจ๋(Vehicle)์ด๋ผ๊ณ ๊ฐ์
updated_state = align_and_update_dynamic_gaussians(state_t1, R_d, t_d, mask_d)
print("์ ํฉ ๋ฐ ๋์ ์
๋ฐ์ดํธ ์๋ฃ๋ 3D ์์น Shape:", updated_state.p.shape)๐ ๏ธ Chapter 3: 3D Gaussian $\to$ 3D Occupancy ๋ณต์ ๊ฒฉ์ ๋ณํ (GS-to-Occ)#
1. ์์ฝ#
์ ์ ๋ 3D Gaussian๋ค์ ๋ฐ๋ $\rho_i(\mathbf{x})$์ ์๋งจํฑ ํ๋ฅ $\mathbf{c}_i$๋ฅผ 3D ๊ณต๊ฐ ์์ ๋ณต์ Grid $\mathbf{x}_{\text{voxel}}$ ์ง์ ๋ง๋ค ํ๊ฐํ๊ณ ๊ฐ์ฐ์์ ๋์คํฐํ(Rasterization)๋ก 3D Occupancy ๋ผ๋ฒจ์ ์ฐ์ถํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
$$\rho_i(\mathbf{x}) = \alpha_i \exp\left(-\frac{1}{2} (\mathbf{x} - \mathbf{p}_i)^T \mathbf{\Sigma}_i^{-1} (\mathbf{x} - \mathbf{p}_i)\right)$$$$\mathbf{C}_{\text{voxel}}(\mathbf{x}) = \text{Argmax}\left( \text{Softmax}\left( \sum_{i=1}^N \rho_i(\mathbf{x}) \cdot \mathbf{c}_i \right) \right)$$import torch
def convert_gaussians_to_occupancy_grid(
gaussian_centers: torch.Tensor, # (N, 3) 3D ์์น
gaussian_sigmas: torch.Tensor, # (N, 3, 3) ๊ณต๋ถ์ฐ ํ๋ ฌ
gaussian_probs: torch.Tensor, # (N, C_classes) ์๋งจํฑ ํด๋์ค ๋ถํฌ
grid_bounds: tuple, # (X_min, X_max, Y_min, Y_max, Z_min, Z_max)
grid_resolution: float = 0.5 # ๋ณต์
1๊ฐ ํฌ๊ธฐ (m)
) -> torch.Tensor:
"""
3D Gaussian ํํ์ 3D Semantic Occupancy ๋ณต์
๊ทธ๋ฆฌ๋๋ก ์๋ ด ๋ณํ (GS-to-Occ)
"""
X_min, X_max, Y_min, Y_max, Z_min, Z_max = grid_bounds
Dx = int((X_max - X_min) / grid_resolution)
Dy = int((Y_max - Y_min) / grid_resolution)
Dz = int((Z_max - Z_min) / grid_resolution)
# 3D ๋ณต์
์ค์ฌ์ ์์ฑ
xs = torch.linspace(X_min, X_max, Dx)
ys = torch.linspace(Y_min, Y_max, Dy)
zs = torch.linspace(Z_min, Z_max, Dz)
# ๊ฐ๋ตํ ๊ณ์ฐ: ์ต๊ทผ์ Gaussian ์๋งจํฑ ์ฌ์
dist_mat = torch.cdist(torch.stack(torch.meshgrid(xs, ys, zs, indexing='ij'), dim=-1).view(-1, 3), gaussian_centers) # (Dx*Dy*Dz, N)
nearest_idx = torch.argmin(dist_mat, dim=-1)
occ_grid = gaussian_probs[nearest_idx].argmax(dim=-1).view(Dx, Dy, Dz)
return occ_grid
# --- ์ฌ์ฉ ์์ ---
sig_d = torch.eye(3).repeat(1000, 1, 1)
occ_map = convert_gaussians_to_occupancy_grid(updated_state.p, sig_d, updated_state.c, (-10, 10, -10, 10, -2, 2), 1.0)
print("์์ฑ๋ 3D Semantic Occupancy Grid Shape:", occ_map.shape)๐ ์ฃผ์ ์คํ ๋ฐ ๊ฒฐ๊ณผ (Experiments & Results)#
1. nuScenes 3D Occupancy ์์ธก ์ฑ๋ฅ ๋ฆฌ๋๋ณด๋#
| ์๊ณ ๋ฆฌ์ฆ (Method) | ๊ณผ๊ฑฐ ํ๋ ์ ์ | ๋ ์ดํด์ (Latency) | ๋ฉ๋ชจ๋ฆฌ (Memory) | mIoU โ | IoU (์ง์ค๋ฉํธ๋ฆฌ) โ |
|---|---|---|---|---|---|
| MonoScene | 0 (Single) | - | - | 7.31 | 23.96 |
| SurroundOcc | 0 (Single) | - | - | 20.30 | 31.49 |
| GaussianFormer-B | 0 (Single) | 225 ms | 6958 MB | 19.10 | 29.83 |
| GaussianFormer-T (Temporal) | 3 | 382 ms | 10019 MB | 20.42 | 31.34 |
| GaussianWorld (Ours) | 1 (Streaming) | 228 ms (์ด๊ณ ์) | 7030 MB (๊ฒฝ๋) | 22.13 (+2.4%) | 33.40 (+3.6%) |
- ๊ฒฐ๊ณผ: ์ญ์ฌ์ ํ๋ ์์ ๋จ 1๊ฐ๋ง ๋ ์ง์คํฐ๋ก ์ฐ์ ์ ํํจ์ผ๋ก์จ ๋ ์ดํด์ ์์น ์์ด 3D Occupancy SOTA ๋ฌ์ฑ.
๐ก ๊ฒฐ๋ก ๋ฐ ์์ฌ์ (Conclusion & Insights)#
1. ๊ฒฐ๋ก #
GaussianWorld๋ 3D Gaussian์ ๋ช ์์ ๊ณต๊ฐ ํํ๋ ฅ์ ์์จ์ฃผํ 4D Streaming World Model๊ณผ ์ต์ด๋ก ์ตํฉํ์ฌ, ์๊ฐ์ ์ตํฉ ๋ฉ๋ชจ๋ฆฌ ํญ๋ฐ ์ค๋ฒํค๋ ์์ด ๋ณต์กํ ๋๋ผ์ด๋น ํ๊ฒฝ์ 3D Occupancy๋ฅผ ์ค์๊ฐ ์คํธ๋ฆฌ๋ฐ ์์ธกํ๋ ํจ๋ฌ๋ค์์ ํ๋ฆฝํ์ต๋๋ค.
2. ํ๊ณ์ ๋ฐ ์์ฌ์ด ์ #
- ๋์ ์์์ ์ ์ ์์์ ๋ถ๋ฆฌ๊ฐ ์์ ํ์ง ์์ ์ ์ ์ฅ๋ฉด์ ํฌ๋ก์ค ํ๋ ์ ์ผ๊ด์ฑ์ ์๋ฒฝํ ๋ณด์ฅํ์ง ๋ชปํ๋ค.
- ์ ๊ท ์์ญ ์์ฑ ์์๊ฐ ์์ผ๋ฉด ํ์ต์ด ๋ถ๊ดดํ ์ ๋๋ก ์ธ ์์ ๊ฐ ์์กด์ฑ์ด ๊ฐํด, ์ํคํ ์ฒ ์ค๊ณ์ ๊ฒฌ๊ณ ์ฑ ํ๋ณด๋ฅผ ์ํด ์ธ๋ฐํ ๊ท ํ ์กฐ์ ์ด ํ์ํ๋ค.
- GT ์์ฒด๊ฐ ๋ฉํฐ ํ๋ ์ LiDAR ๋์ ์ผ๋ก ์์ฑ๋์ด ํฌ์ํ ํ๊ณ๋ก ์ธํด, ๊ธด ์ํ์ค์์๋ ์ฑ๋ฅ์ด ์คํ๋ ค ํ๋ฝํ๋ ๋ฌธ์ ๋ ์์ ํ ํด๊ฒฐ๋์ง ์์๋ค.
์ฐธ๊ณ ์๋ฃ#
๊ด๋ จ ๋ ผ๋ฌธ: 3D Gaussian Splatting, MonoScene, TPVFormer, SurroundOcc, nuScenes