๐Ÿ’ก ํ•œ ์ค„ ์š”์•ฝ#

LiDAR ํฌ์ธํŠธ ํด๋ผ์šฐ๋“œ์—์„œ 3D ๊ฐ์ฒด๋ฅผ ๋ฐ”์šด๋”ฉ ๋ฐ•์Šค ๋Œ€์‹  ์ค‘์‹ฌ์ (Center Point)์œผ๋กœ ํ‘œํ˜„ยทํƒ์ง€ํ•จ์œผ๋กœ์จ ๋ฐฉํ–ฅ ๋ถˆ๋ณ€์„ฑ(Rotation Invariance)์„ ํ™•๋ณดํ•˜๊ณ , Velocity ํ—ค๋“œ ์˜ˆ์ธก ๊ธฐ๋ฐ˜์˜ Greedy Closest-Point Matching ์•Œ๊ณ ๋ฆฌ์ฆ˜์œผ๋กœ 1ms ์†๋„์˜ SOTA 3D ์ถ”์ (Tracking) ์„ฑ๋Šฅ์„ ๋‹ฌ์„ฑํ–ˆ๋‹ค.


๐Ÿ“Œ ๊ฐœ์š” ๋ฐ ํ•ต์‹ฌ ๊ธฐ์—ฌ (Key Contributions)#

  • ์ €์ž: Tianwei Yin, Xingyi Zhou, Philipp Krรคhenbรผhl (University of Texas at Austin)
  • ๋ฐœํ–‰๋…„๋„: 2021 (arXiv 2020, CVPR 2021, arXiv:2006.11275)
  • ์ฃผ์š” ๊ธฐ์—ฌ์ :
    1. Center-based 3D ๊ฐ์ฒด ํ‘œํ˜„: ๋ฐฉํ–ฅ ์˜์กด์  Anchor Box ๋Œ€์‹  ๊ฐ์ฒด์˜ ์ค‘์‹ฌ์ (Keypoint Peak)์„ ํƒ์ง€ํ•˜๋Š” 2D Gaussian Heatmap ๊ตฌ์กฐ๋กœ ํšŒ์ „๋œ ๊ฐ์ฒด ํƒ์ง€ ์ •ํ™•๋„ ๋Œ€ํญ ํ–ฅ์ƒ.
    2. ๋‹ค์ค‘ ํšŒ๊ท€ ํ—ค๋“œ (Multi-Task Regression Heads): ์ค‘์‹ฌ์ ์œผ๋กœ๋ถ€ํ„ฐ ์„œ๋ธŒ ๋ณต์…€ ์˜คํ”„์…‹, ๋ฐ”๋‹ฅ ๋†’์ด, 3D ํฌ๊ธฐ $(\log w, \log l, \log h)$, ํšŒ์ „๊ฐ $(\sin\alpha, \cos\alpha)$, ์†๋„ $(v_x, v_y)$๋ฅผ ๋™์‹œ ํšŒ๊ท€.
    3. 1ms ์ดˆ๊ณ ์† 3D ์ถ”์  (Greedy Closest-Point Matching): ์˜ˆ์ธก๋œ ์†๋„ $(v_x, v_y)$๋กœ ์ด์ „ ํ”„๋ ˆ์ž„ ์œ„์น˜๋ฅผ ์—ญ์‚ฐํ•˜์—ฌ Kalman Filter ์—†์ด 1ms ๋งŒ์— 3D Multi-Object Tracking(MOT) ์ˆ˜ํ–‰.
    4. Two-Stage Refinement & IoU-guided Confidence: 3D ๋ฐ•์Šค์˜ 5๊ฐœ ์ง€์ (4๊ฐœ ๋ฉด ์ค‘์‹ฌ + ๊ฐ์ฒด ์ค‘์‹ฌ) ํ”ผ์ฒ˜๋ฅผ ์ถ”์ถœํ•˜์—ฌ 3D IoU ๊ธฐ๋ฐ˜ Score๋ฅผ ๋ณด์ •.

๊ด€๋ จ ์—ฐ๊ตฌ ํ๋ฆ„#

  1. Anchor-based 3D Detection (VoxelNet, SECOND, PointPillars): BEV ํ‰๋ฉด์ƒ์— ์ถ• ์ •๋ ฌ(Axis-Aligned)๋œ Anchor Box๋ฅผ ๊ณ ์ • ๋ฐฐ์น˜ํ•˜์—ฌ ํƒ์ง€.
  2. CenterPoint: Anchor์˜ ๋ฐฉํ–ฅ ์ œ์•ฝ์„ ์™„์ „ํžˆ ์ฒ ํํ•˜๊ณ  2D CenterNet ์•„์ด๋””์–ด๋ฅผ 3D BEV ๊ณต๊ฐ„์œผ๋กœ ํ™•์žฅํ•˜์—ฌ ํ‘œ์ค€ 3D Detector ๋””ํŒฉํ†  ์Šคํƒ ๋‹ค๋“œ๋กœ ์ž๋ฆฌ์žก์Œ.

๊ธฐ์กด Anchor-based ๋ฐฉ๋ฒ•์˜ ํ•œ๊ณ„์ #

  • ๋ฐฉํ–ฅ ๋ถˆ์—ฐ์†์„ฑ (Rotation Dependency): ๋Œ€๊ฐ์„ ์œผ๋กœ ํšŒ์ „๋œ ์ฐจ๋Ÿ‰์ด๋‚˜ ๋ณดํ–‰์ž์ฒ˜๋Ÿผ ๊ฐ€๋กœ์„ธ๋กœ ๋น„์œจ์ด ๊ทน๋‹จ์ ์ธ ๋ฌผ์ฒด์— Anchor Box๊ฐ€ ๋งž์ง€ ์•Š์•„ ํƒ์ง€์œจ ํ•˜๋ฝ.
  • ๋ถˆํ•„์š”ํ•œ ์ดˆ๋งค๊ฐœ๋ณ€์ˆ˜ ์˜ค๋ฒ„ํ—ค๋“œ: ํšŒ์ „๊ฐ๋งˆ๋‹ค Anchor๋ฅผ ์ค‘๋ณต ๋ฐฐ์น˜ํ•ด์•ผ ํ•˜๋ฏ€๋กœ ์—ฐ์‚ฐ๋Ÿ‰ ์ฆ๊ฐ€ ๋ฐ IoU ์ž„๊ณ„๊ฐ’ ํŠœ๋‹ ๋ณต์žก.

๐Ÿ“‘ ๋ชฉ์ฐจ#

  • Chapter 1: 3D Center Heatmap Target ์ƒ์„ฑ (Gaussian Rendering)
  • Chapter 2: CenterPoint ๋‹ค์ค‘ ํšŒ๊ท€ ํ—ค๋“œ ์ˆ˜์‹ $(\sin/\cos, \text{Velocity})$
  • Chapter 3: 2๋‹จ๊ณ„ 3D IoU-guided Score Refinement
  • Chapter 4: 1ms Greedy Closest-Point 3D ์ถ”์  ์•Œ๊ณ ๋ฆฌ์ฆ˜
  • Chapter 5: ์ฃผ์š” ์‹คํ—˜ ๋ฐ ๊ฒฐ๊ณผ
  • Chapter 6: ๊ฒฐ๋ก  ๋ฐ ์‹œ์‚ฌ์ 

๐Ÿ› ๏ธ Chapter 1: 3D Center Heatmap Target ์ƒ์„ฑ#

1. ์š”์•ฝ#

GT 3D ๋ฐ”์šด๋”ฉ ๋ฐ•์Šค์˜ ์ค‘์‹ฌ $(x_k, y_k)$๋ฅผ BEV ํ‘œ๋ฉด์— ํˆฌ์˜ํ•˜๊ณ , ๋ฐ•์Šค ํฌ๊ธฐ $(w_k, l_k)$์— ๋น„๋ก€ํ•˜๋Š” 2D ๊ฐ€์šฐ์‹œ์•ˆ ๋ฐ˜๊ฒฝ $\sigma_k$๋ฅผ ์ด์šฉํ•ด ๋ Œ๋”๋ง๋œ ์—ด์ง€๋„ Target $Y_{u,v,c}$๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.

2. ์ˆ˜์‹ ๋ฐ ํŒŒ์ด์ฌ ์ฝ”๋“œ ์„ค๋ช…#

$$Y_{u,v,c} = \exp\left(-\frac{(u - x_k)^2 + (v - y_k)^2}{2\sigma_k^2}\right)$$$$\sigma_k = \max\Big( f(w_k, l_k), \ \tau \Big) \quad (\tau = 2)$$
import torch

def render_centerpoint_gaussian_heatmap(
    gt_centers: torch.Tensor, # (N, 2) GT ์ค‘์‹ฌ์  ์ขŒํ‘œ (x, y)
    gt_sizes: torch.Tensor,   # (N, 2) GT ๋ฐ•์Šค ํฌ๊ธฐ (w, l)
    grid_shape: tuple,        # (H, W) BEV ๊ทธ๋ฆฌ๋“œ ํ•ด์ƒ๋„
    radius_min: float = 2.0
) -> torch.Tensor:
    """
    CenterPoint ํ•™์Šต์„ ์œ„ํ•œ 2D Gaussian Heatmap Target ์ƒ์„ฑ
    """
    H, W = grid_shape
    heatmap = torch.zeros((H, W), dtype=torch.float32)
    
    ys = torch.arange(0, H).float().view(H, 1).repeat(1, W)
    xs = torch.arange(0, W).float().view(1, W).repeat(H, 1)
    
    for i in range(len(gt_centers)):
        cx, cy = gt_centers[i, 0], gt_centers[i, 1]
        w, l = gt_sizes[i, 0], gt_sizes[i, 1]
        
        # ๋ฐ˜๊ฒฝ sigma ๊ณ„์‚ฐ
        sigma = max(float(torch.sqrt(w * l) / 6.0), radius_min)
        
        # Gaussian Kernel ๋ Œ๋”๋ง
        gaussian = torch.exp(-((xs - cx)**2 + (ys - cy)**2) / (2 * sigma**2))
        heatmap = torch.maximum(heatmap, gaussian)
        
    return heatmap

# --- ์‚ฌ์šฉ ์˜ˆ์‹œ ---
centers = torch.tensor([[50.0, 50.0], [20.0, 80.0]])
sizes = torch.tensor([[4.0, 2.0], [1.5, 0.8]])
hm_gt = render_centerpoint_gaussian_heatmap(centers, sizes, (100, 100))
print("์ƒ์„ฑ๋œ GT Heatmap Max:", hm_gt.max().item())

๐Ÿ› ๏ธ Chapter 2: CenterPoint ๋‹ค์ค‘ ํšŒ๊ท€ ํ—ค๋“œ ์ˆ˜์‹#

1. ์š”์•ฝ#

์ค‘์‹ฌ์  Heatmap Peak์—์„œ ํšŒ์ „๊ฐ $\alpha$์˜ ์—ฐ์†์„ฑ์„ ๋ณด์žฅํ•˜๊ธฐ ์œ„ํ•ด $\sin\alpha, \cos\alpha$ ํšŒ๊ท€๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ, ํ”„๋ ˆ์ž„ ๊ฐ„ ์ด๋™ ์†๋„ $(v_x, v_y)$๋ฅผ ๋™์‹œ ์˜ˆ์ธกํ•ฉ๋‹ˆ๋‹ค.

2. ์ˆ˜์‹ ๋ฐ ํŒŒ์ด์ฌ ์ฝ”๋“œ ์„ค๋ช…#

$$\alpha = \text{atan2}(\sin\alpha, \cos\alpha)$$$$\hat{\mathbf{v}} = (v_x, v_y) = \frac{\boldsymbol{\mu}_t - \boldsymbol{\mu}_{t-1}}{\Delta t}$$
import torch

def decode_centerpoint_rot_and_velocity(
    sin_cos_pred: torch.Tensor, # (B, 2, H, W) -> sin(alpha), cos(alpha)
    vel_pred: torch.Tensor      # (B, 2, H, W) -> vx, vy
) -> tuple:
    """
    CenterPoint ํšŒ๊ท€ ํ—ค๋“œ๋กœ๋ถ€ํ„ฐ 3D Yaw ํšŒ์ „๊ฐ alpha ๋ฐ ์†๋„ (vx, vy) ๋””์ฝ”๋”ฉ
    """
    sin_a = sin_cos_pred[:, 0]
    cos_a = sin_cos_pred[:, 1]
    
    # 1. Yaw angle ๋ณต์›: alpha = atan2(sin, cos)
    yaw_angle = torch.atan2(sin_a, cos_a) # (B, H, W)
    
    # 2. ์†๋„ ๋ฒกํ„ฐ
    vx = vel_pred[:, 0]
    vy = vel_pred[:, 1]
    
    return yaw_angle, vx, vy

# --- ์‚ฌ์šฉ ์˜ˆ์‹œ ---
sc_pred = torch.tensor([[[[0.7071]], [[0.7071]]]]) # sin(45deg), cos(45deg)
v_pred = torch.tensor([[[[1.2]], [[-0.5]]]])
yaw, vx, vy = decode_centerpoint_rot_and_velocity(sc_pred, v_pred)
print("๋ณต์›๋œ Yaw ๊ฐ๋„ (deg):", torch.rad2deg(yaw).item())

๐Ÿ› ๏ธ Chapter 3: 2๋‹จ๊ณ„ 3D IoU-guided Score Refinement#

1. ์š”์•ฝ#

1๋‹จ๊ณ„ ์ค‘์‹ฌ์  ํƒ์ง€ ์ ์ˆ˜ $\hat{Y}_t$์™€ 2๋‹จ๊ณ„ 3D IoU-guided ๋ณด์ • ์ ์ˆ˜ $\hat{I}_t$์˜ ๊ธฐํ•˜ํ‰๊ท ์„ ์ตœ์ข… ์‹ ๋ขฐ๋„ ์ ์ˆ˜ $\hat{Q}_t$๋กœ ์‚ฐ์ถœํ•ฉ๋‹ˆ๋‹ค.

2. ์ˆ˜์‹ ๋ฐ ํŒŒ์ด์ฌ ์ฝ”๋“œ ์„ค๋ช…#

$$I_t = \min\Big(1, \ \max(0, \ 2 \times \text{IoU}_t - 0.5)\Big)$$$$\hat{Q}_t = \sqrt{\hat{Y}_t \cdot \hat{I}_t}$$
import torch

def compute_iou_guided_confidence_score(
    heatmap_score: torch.Tensor, # (N,) 1๋‹จ๊ณ„ Heatmap Peak ์ ์ˆ˜
    predicted_iou: torch.Tensor  # (N,) 2๋‹จ๊ณ„ ์˜ˆ์ธก 3D IoU
) -> torch.Tensor:
    """
    Two-Stage CenterPoint์˜ ์ตœ์ข… confidence score Q_hat = sqrt(Y_hat * I_hat)
    """
    # IoU target ์ •๊ทœํ™” I_t = clamp(2 * IoU - 0.5, 0, 1)
    i_score = torch.clamp(2.0 * predicted_iou - 0.5, min=0.0, max=1.0)
    
    final_score = torch.sqrt(heatmap_score * i_score)
    return final_score

# --- ์‚ฌ์šฉ ์˜ˆ์‹œ ---
y_score = torch.tensor([0.9, 0.8])
iou_pred = torch.tensor([0.85, 0.4]) # 0.85 IoU -> I=1.0 / 0.4 IoU -> I=0.3
print("์ตœ์ข… ๋ณด์ • Confidence Score:", compute_iou_guided_confidence_score(y_score, iou_pred))

๐Ÿ› ๏ธ Chapter 4: 1ms Greedy Closest-Point 3D ์ถ”์  ์•Œ๊ณ ๋ฆฌ์ฆ˜#

1. ์š”์•ฝ#

ํ˜„์žฌ ํ”„๋ ˆ์ž„ ํƒ์ง€ ๊ฐ์ฒด์˜ ์ค‘์‹ฌ $\boldsymbol{\mu}_t$์—์„œ ์˜ˆ์ธก ์†๋„ $\mathbf{v}_t$๋ฅผ ์ฐจ๊ฐํ•˜์—ฌ ์ด์ „ ์œ„์น˜ $\boldsymbol{\mu}_{t-1}^{pred} = \boldsymbol{\mu}_t - \mathbf{v}_t \Delta t$๋ฅผ ์—ญ์‚ฐํ•˜๊ณ , ์ด์ „ Tracklet๊ณผ์˜ L2 ๊ฑฐ๋ฆฌ๊ฐ€ ๊ฐ€์žฅ ๊ฐ€๊นŒ์šด ๊ฒƒ๋ผ๋ฆฌ ํƒ์š•์ (Greedy) ๋งค์นญํ•ฉ๋‹ˆ๋‹ค.

import torch

def greedy_closest_point_3d_tracking(
    curr_centers: torch.Tensor,  # (N, 2) ํ˜„์žฌ ํ”„๋ ˆ์ž„ ํƒ์ง€ ์ค‘์‹ฌ์ 
    curr_velocities: torch.Tensor,# (N, 2) ์˜ˆ์ธก ์†๋„ (vx, vy)
    prev_tracklets: torch.Tensor, # (M, 2) ์ด์ „ ํ”„๋ ˆ์ž„ Tracklet ์œ„์น˜
    dt: float = 0.5,             # ํ”„๋ ˆ์ž„ ๊ฐ„ ์‹œ๊ฐ„ ๊ฐ„๊ฒฉ (sec)
    dist_threshold: float = 2.0  # ์ตœ๋Œ€ ๋งค์นญ ๊ฑฐ๋ฆฌ ์ž„๊ณ„๊ฐ’ (m)
) -> dict:
    """
    Velocity ๊ธฐ๋ฐ˜ 1ms Greedy Closest-Point 3D MOT ๋งค์นญ
    """
    # 1. ํ˜„์žฌ ์ค‘์‹ฌ์ ์„ ์ด์ „ ํ”„๋ ˆ์ž„ ์œ„์น˜๋กœ ์—ญํˆฌ์˜: mu_{t-1} = mu_t - v_t * dt
    pred_prev_centers = curr_centers - curr_velocities * dt # (N, 2)
    
    # 2. L2 ๊ฑฐ๋ฆฌ ํ–‰๋ ฌ ๊ณ„์‚ฐ (N, M)
    dist_matrix = torch.cdist(pred_prev_centers, prev_tracklets)
    
    # 3. Greedy Matching
    matched_pairs = []
    for i in range(len(curr_centers)):
        min_dist, min_idx = torch.min(dist_matrix[i], dim=0)
        if min_dist.item() < dist_threshold:
            matched_pairs.append((i, min_idx.item()))
            dist_matrix[:, min_idx] = 1e6 # ์ค‘๋ณต ๋งค์นญ ๋ฐฉ์ง€
            
    return {"matches": matched_pairs}

# --- ์‚ฌ์šฉ ์˜ˆ์‹œ ---
curr_c = torch.tensor([[10.0, 10.0], [30.0, 30.0]])
curr_v = torch.tensor([[2.0, 0.0], [0.0, 1.0]])
prev_t = torch.tensor([[9.0, 10.0], [50.0, 50.0]])
print("1ms ์ถ”์  ๋งค์นญ ๊ฒฐ๊ณผ:", greedy_closest_point_3d_tracking(curr_c, curr_v, prev_t, dt=0.5))

๐Ÿ“Š ์ฃผ์š” ์‹คํ—˜ ๋ฐ ๊ฒฐ๊ณผ (Experiments & Results)#

1. nuScenes & Waymo 3D ํƒ์ง€/์ถ”์  ์„ฑ๋Šฅ ๋ฆฌ๋”๋ณด๋“œ#

๋ฒค์น˜๋งˆํฌ (Benchmark)๋ชจ๋ธ (Method)ํƒ์ง€ ์„ฑ๋Šฅ (mAP / NDS) โ†‘์ถ”์  ์„ฑ๋Šฅ (AMOTA) โ†‘์ถ”์  ์ง€์—ฐ์‹œ๊ฐ„
Waymo (Level 2)PointPillars55.6 mAP--
Waymo (Level 2)CenterPoint-Voxel72.2 mAP (+16.6%)--
nuScenes (Test)AB3D (Kalman Filter)-15.173 ms
nuScenes (Test)CenterPoint (Ours)58.0 mAP / 65.5 NDS63.8 (+8.8%)1 ms (73๋ฐฐ ๊ฐ€์†)

๐Ÿ’ก ๊ฒฐ๋ก  ๋ฐ ์‹œ์‚ฌ์  (Conclusion & Insights)#

1. ๊ฒฐ๋ก #

CenterPoint๋Š” 3D ํƒ์ง€๋ฅผ 2D Gaussian Center Peak ์ถ”์ • ๋ฌธ์ œ๋กœ ๋ช…์พŒํ•˜๊ฒŒ ์ „ํ™˜ํ•จ์œผ๋กœ์จ ํšŒ์ „ ์ด๋ฐฉ์„ฑ ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ณ , Velocity ๊ธฐ๋ฐ˜ 1ms ์ถ”์ ์„ ์™„์„ฑํ•œ ํ˜„๋Œ€ 3D Perception์˜ ๋””ํŒฉํ†  ํ‘œ์ค€ ํŒŒ์ดํ”„๋ผ์ธ์ž…๋‹ˆ๋‹ค.

2. ํ•œ๊ณ„์  ๋ฐ ์•„์‰ฌ์šด ์ #

  • LiDAR ์ „์šฉ์ด๋ผ ์นด๋ฉ”๋ผ ์ „์šฉ ๋˜๋Š” ์นด๋ฉ”๋ผ+LiDAR ์œตํ•ฉ ํƒ์ง€์—๋Š” ์ง์ ‘ ์ ์šฉํ•  ์ˆ˜ ์—†๋‹ค.
  • PointPillars ๋ฐฑ๋ณธ ์‚ฌ์šฉ ์‹œ ๋ณดํ–‰์ž์ฒ˜๋Ÿผ 1ํ”ฝ์…€ ํฌ๊ธฐ์˜ ๊ฐ์ฒด์—์„œ๋Š” 2๋‹จ๊ณ„ ์ •์ œ ํšจ๊ณผ๊ฐ€ ์–‘์žํ™” ํ•œ๊ณ„๋กœ ์ œํ•œ์ ์ด๋‹ค.
  • velocity ์˜ˆ์ธก์ด ๋น„์„ ํ˜• ๊ธฐ๋™(๊ธ‰ํšŒ์ „ ๋“ฑ)์—์„œ๋Š” ๋ถ€์ •ํ™•ํ•  ์ˆ˜ ์žˆ์–ด, ์‹ค์ œ ๋ณต์žกํ•œ ๋„์‹ฌ ์‹œ๋‚˜๋ฆฌ์˜ค์—์„œ์˜ ์ถ”์  ์‹ ๋ขฐ์„ฑ์€ ์ถ”๊ฐ€ ๊ฒ€์ฆ์ด ํ•„์š”ํ•˜๋‹ค.

์ฐธ๊ณ  ์ž๋ฃŒ#

๊ด€๋ จ ๋…ผ๋ฌธ: PointNet, PointPillars, BEVFusion, nuScenes, Waymo Open Dataset