๐ก ํ ์ค ์์ฝ#
SD-Turbo ๊ธฐ๋ฐ ๋จ์ผ ๋จ๊ณ(Single-Step) ์ฆ๋ฅ ํ์ฐ ๋ชจ๋ธ DIFIX๋ฅผ ์ค๊ณํ์ฌ, 3DGS ๋ฐ NeRF ๋ ๋๋ง์์ ๋ฐ์ํ๋ ์ํฐํฉํธ๋ฅผ 76ms(์ค์๊ฐ)์ ์ ๊ฑฐํ๊ณ , ํ์ต ๋จ๊ณ์ 3D ๋ฐ์ดํฐ ์ ์ ์ ์ถ๋ก ์ ํ์ฒ๋ฆฌ ์ ๊ฒฝ๋ง์ผ๋ก ์ฌ์ฌ์ฉํ๋ DIFIX3D+ ํ์ดํ๋ผ์ธ์ ์ ์ํ๋ค.
๐ ๊ฐ์ ๋ฐ ํต์ฌ ๊ธฐ์ฌ (Key Contributions)#
- ์ ์: Jay Zhangjie Wu, Yuxuan Zhang, Haithem Turki, Xuanchi Ren, Jun Gao, Mike Zheng Shou, Sanja Fidler, Zan Gojcic, Huan Ling (NVIDIA, NUS, U of Toronto, Vector Inst.)
- ๋ฐํ๋ ๋: 2025 (arXiv:2503.01774)
- ์ฃผ์ ๊ธฐ์ฌ์ :
- ๋จ์ผ ๋จ๊ณ ํ์ฐ ๋ณด์ ๊ธฐ (DIFIX): ์๋ฐฑ ๋ฒ์ ๋๋ ธ์ด์ง ์คํ ๋์ ๋จ 1ํ์ Forward Pass(Single-step)๋ก ์ํฐํฉํธ(๋ถ์ ๋ฌผ, ๋ธ๋ฌ, ๋ ธ์ด์ฆ)๋ฅผ ์ฆ์ ์ ๊ฑฐํ๋ SD-Turbo ๊ธฐ๋ฐ ์์ฑ ๋ชจ๋ธ ์ค๊ณ.
- ํฌ๋ก์ค-๋ทฐ ์ฐธ์กฐ ํผํฉ ๋ฉ์ปค๋์ฆ (Cross-View Reference Attention): ์ฌ๋ฌ ์ฐธ์กฐ ๋ทฐ(Reference Views)์ ๊ฐ์์ ํน์ง์ Cross-Attention์ผ๋ก ์ํธ ๊ฒฐํฉํ์ฌ 3D ์ผ๊ด์ฑ(3D Consistency) ํ๊ดด๋ฅผ ์ต์ํ.
- ์ด์ค ์ฌ์ฌ์ฉ DIFIX3D+ ํ์ดํ๋ผ์ธ: ๋์ผํ DIFIX ํ์ฐ ๋ชจ๋ธ์ (a) 3D ์ต์ ํ ์ ํฅ์๋ ํ๊ฒ ์ด๋ฏธ์ง๋ฅผ ์ ๊ณตํ๋ ์ ์ง์ 3D ์ฆ๋ฅ๊ธฐ(Distiller)์ (b) ์ถ๋ก ์ 76ms ์ ๊ฒฝ ํฅ์ ํ์ฒ๋ฆฌ๊ธฐ(Neural Enhancer)๋ก ์ด์ค ํ์ฉ.
๐ฏ ๊ด๋ จ ์ฐ๊ตฌ ํ๋ฆ ๋ฐ ๊ธฐ์กด ํ๊ณ (Related Work & Motivation)#
๊ด๋ จ ์ฐ๊ตฌ ํ๋ฆ#
- ๊ธฐํํ์ ๊ธฐ์ 3D ํํ (NeRF & 3DGS): ๋ฐ์ด๋ ํ์ง์ ๋ณด์ด๋ ๊ด์ธก ๋ทฐ๊ฐ ๋ถ์กฑํ๊ฑฐ๋ ์ ๋ ฅ ์นด๋ฉ๋ผ ์ค์ฐจ๊ฐ ์์ ์ ๊ทน์ฌํ ํ๋กํฐ(Floaters) ์ํฐํฉํธ ๋ฐ์.
- ์์ฑ์ ์ฌ์ (Generative Prior) ๊ฒฐํฉ (Deceptive-NeRF ๋ฑ): ์ผ๋ฐ ํ์ฐ ๋ชจ๋ธ(Diffusion)์ 3D ์ต์ ํ ๋ฃจํ์ ์ฐ๊ฒฐํ์ผ๋, ๋งค step๋ง๋ค ์์ญ~์๋ฐฑ ๋ฒ์ ๋๋ ธ์ด์ง์ผ๋ก ์ธํด ํ๋ จ ์๊ฐ์ด ๋ฉฐ์น ์ด์์ผ๋ก ํญ๋ฐํจ.
- DIFIX3D+: ์ฆ๋ฅ๋ Single-step ํ์ฐ ๋ชจ๋ธ์ ๋์ ํด ์์ฑ ์ฌ์ ์ ์ด์ ์ ์ ์งํ๋ฉด์ 10๋ฐฐ ์ด์ ๊ฐ์ํ ๋ฌ์ฑ.
๐ ๋ชฉ์ฐจ#
- Chapter 1: SD-Turbo ๊ธฐ๋ฐ ๋จ์ผ ๋จ๊ณ ํ์ฐ ๋ณด์ ๊ธฐ (DIFIX)
- Chapter 2: ํฌ๋ก์ค-๋ทฐ ์ฐธ์กฐ ํผํฉ (Cross-View Reference Attention)
- Chapter 3: ํ ์ค์ฒ ๋ฐ ์ ๋ฐ๋ ์์ค ํจ์ (Gram Matrix & LPIPS)
- Chapter 4: ์ ์ง์ 3D ์ฆ๋ฅ ๋ฐ ์ค์๊ฐ ์ถ์ ํ์ฒ๋ฆฌ ํ์ดํ๋ผ์ธ
- Chapter 5: ์ฃผ์ ์คํ ๋ฐ ๊ฒฐ๊ณผ
- Chapter 6: ๊ฒฐ๋ก ๋ฐ ์์ฌ์
๐ ๏ธ Chapter 1: SD-Turbo ๊ธฐ๋ฐ ๋จ์ผ ๋จ๊ณ ํ์ฐ ๋ณด์ ๊ธฐ (DIFIX)#
1. ์์ฝ#
๋ ธ์ด์ฆ๊ฐ ํฌํจ๋ 3DGS/NeRF ๋ ๋๋ง ์ด๋ฏธ์ง $\hat{C}$๋ฅผ VAE ์ ์ฌ ๊ณต๊ฐ(Latent Space)์ผ๋ก ์ธ์ฝ๋ฉํ ํ, ๋ ธ์ด์ฆ ๋ ๋ฒจ $\tau=200$์ ๋ ธ์ด์ฆ๋ฅผ ์๊ณ ๋จ 1ํ์ Forward Pass๋ก ์์ ํ ๋ณด์ ์ด๋ฏธ์ง $\tilde{C}$๋ฅผ ๋ณต์ํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
๋จ์ผ ๋จ๊ณ ์ ์ฌ ๋๋ ธ์ด์ง ๋ชจ๋ธ#
$$\mathbf{z}_\tau = \text{Encoder}(\hat{C}) + \sigma_\tau \boldsymbol{\epsilon}, \quad \boldsymbol{\epsilon} \sim \mathcal{N}(0, \mathbf{I})$$$$\hat{\mathbf{z}}_0 = D_\theta\left(\mathbf{z}_\tau, \tau, \mathbf{c}_{\text{ref}}\right)$$$$\tilde{C} = \text{Decoder}(\hat{\mathbf{z}}_0)$$- $D_\theta$: LoRA ํ์ธํ๋์ด ์ ์ฉ๋ SD-Turbo ๋จ์ผ ๋จ๊ณ ๋๋ ธ์ด์ U-Net
- $\mathbf{c}_{\text{ref}}$: ์ฐธ์กฐ ์นด๋ฉ๋ผ ๋ทฐ์์ ์ถ์ถ๋ ์๊ฐ์ ์กฐ๊ฑด ํผ์ฒ (Conditioning Feature)
import torch
import torch.nn as nn
class SingleStepDiffusionFixer(nn.Module):
"""
SD-Turbo ๊ธฐ๋ฐ ๋จ์ผ ๋จ๊ณ(Single-step) ๋ ๋๋ง ์ํฐํฉํธ ๋ณด์ ๊ธฐ
"""
def __init__(self, latent_dim: int = 4, feature_dim: int = 64):
super().__init__()
# ๊ฐ์์ U-Net LoRA ๋ธ๋ก
self.unet_lora = nn.Sequential(
nn.Conv2d(latent_dim + feature_dim, 128, kernel_size=3, padding=1),
nn.ReLU(),
nn.Conv2d(128, latent_dim, kernel_size=3, padding=1)
)
def forward(
self,
noisy_render_latent: torch.Tensor, # (B, 4, H, W) ๋ ๋๋ง ์ ์ฌ ๋ฒกํฐ
ref_condition_feat: torch.Tensor # (B, 64, H, W) ์ฐธ์กฐ ๋ทฐ ์กฐ๊ฑด ํผ์ฒ
) -> torch.Tensor:
"""
๋จ 1ํ์ Forward Pass๋ก ๊นจ๋ํ 3D ์ ์ฌ ๋ฒกํฐ z_0 ์์ธก
"""
# 1. ๋ ๋๋ง ์ ์ฌ ์
๋ ฅ๊ณผ ์ฐธ์กฐ ์กฐ๊ฑด ํผ์ฒ ๊ฒฐํฉ
inp = torch.cat([noisy_render_latent, ref_condition_feat], dim=1)
# 2. Single-step Denoising Forward
cleaned_latent = self.unet_lora(inp)
return cleaned_latent
# --- ์ฌ์ฉ ์์ ---
render_z = torch.randn(1, 4, 32, 32)
ref_cond = torch.randn(1, 64, 32, 32)
fixer = SingleStepDiffusionFixer()
print("๋ณด์ ๋ 3D Latent Shape:", fixer(render_z, ref_cond).shape)๐ ๏ธ Chapter 2: ํฌ๋ก์ค-๋ทฐ ์ฐธ์กฐ ํผํฉ (Cross-View Reference Attention)#
1. ์์ฝ#
๊ฐ ์์ ์ ๋ ๋ฆฝ์ ์ผ๋ก ๋ณด์ ํ๋ฉด 3D ์์ ๋ณ๊ฒฝ ์ ๊น๋นก์(Flickering)์ด ๋ฐ์ํฉ๋๋ค. ์ด๋ฅผ ๋ง๊ธฐ ์ํด ํ๊ฒ ๋ทฐ์ Query $\mathbf{Q}$์ ์ธ์ ์ฐธ์กฐ ๋ทฐ๋ค์ Key/Value ($\mathbf{K}_{\text{ref}}, \mathbf{V}_{\text{ref}}$)๋ฅผ Cross-Attention์ผ๋ก ์ตํฉํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
$$\mathbf{A} = \text{Softmax}\left( \frac{\mathbf{Q} \mathbf{K}_{\text{ref}}^T}{\sqrt{d_k}} \right) \mathbf{V}_{\text{ref}}$$import torch
import torch.nn as nn
class CrossViewReferenceAttention(nn.Module):
"""
์์ ๊ฐ 3D ์ผ๊ด์ฑ ์ ์ง๋ฅผ ์ํ Cross-View Attention
"""
def __init__(self, dim: int = 64):
super().__init__()
self.q_proj = nn.Linear(dim, dim)
self.k_proj = nn.Linear(dim, dim)
self.v_proj = nn.Linear(dim, dim)
self.scale = dim ** -0.5
def forward(
self,
target_feat: torch.Tensor, # (B, N, C) ํ๊ฒ ๋ ๋๋ง ๋ทฐ ํผ์ฒ
ref_feat: torch.Tensor # (B, M, C) ์ธ์ ์ฐธ์กฐ ๋ทฐ ํผ์ฒ
) -> torch.Tensor:
Q = self.q_proj(target_feat)
K = self.k_proj(ref_feat)
V = self.v_proj(ref_feat)
attn_scores = torch.matmul(Q, K.transpose(-2, -1)) * self.scale
attn_weights = torch.softmax(attn_scores, dim=-1)
out = torch.matmul(attn_weights, V)
return out
# --- ์ฌ์ฉ ์์ ---
target = torch.randn(1, 100, 64)
refs = torch.randn(1, 300, 64) # 3๊ฐ ์ฐธ์กฐ ๋ทฐ ์ตํฉ
cross_attn = CrossViewReferenceAttention()
print("ํฌ๋ก์ค ๋ทฐ ์ดํ
์
๊ฒฐ๊ณผ Shape:", cross_attn(target, refs).shape)๐ ๏ธ Chapter 3: ํ ์ค์ฒ ์์ค ํจ์ (Gram Matrix Loss)#
1. ์์ฝ#
๋จ์ ํฝ์ ์ค์ฐจ ์ธ์ ๋ํ ์ผํ ์ธ๋ถ ํ ์ค์ฒ ๋ฌด๊ฒฐ์ฑ์ ์ ์งํ๊ธฐ ์ํด VGG/DINO ํผ์ฒ์ Gram Matrix ์ค์ฐจ๋ฅผ ์ 2์ ํ์ต ์์ค๋ก ์ถ๊ฐํฉ๋๋ค.
2. ์์ ๋ฐ ํ์ด์ฌ ์ฝ๋ ์ค๋ช #
$$\mathbf{G}(\mathbf{F}) = \frac{1}{C \cdot H \cdot W} \mathbf{F} \mathbf{F}^T, \quad \mathcal{L}_{\text{Gram}} = \|\mathbf{G}(\mathbf{F}_{\text{pred}}) - \mathbf{G}(\mathbf{F}_{\text{gt}})\|_\text{F}^2$$import torch
def compute_gram_matrix_loss(
feat_pred: torch.Tensor, # (1, C, H, W)
feat_gt: torch.Tensor # (1, C, H, W)
) -> torch.Tensor:
"""
์ธ๋ถ ํ
์ค์ฒ ์ผ๊ด์ฑ์ ์ํ Gram Matrix ์์ค ๊ณ์ฐ
"""
B, C, H, W = feat_pred.shape
f_pred = feat_pred.view(C, H * W)
f_gt = feat_gt.view(C, H * W)
gram_pred = torch.mm(f_pred, f_pred.t()) / (C * H * W)
gram_gt = torch.mm(f_gt, f_gt.t()) / (C * H * W)
return torch.norm(gram_pred - gram_gt, p='fro')
# --- ์ฌ์ฉ ์์ ---
f1 = torch.randn(1, 64, 16, 16)
f2 = torch.randn(1, 64, 16, 16)
print("Gram Matrix ํ
์ค์ฒ ์์ค:", compute_gram_matrix_loss(f1, f2).item())๐ ์ฃผ์ ์คํ ๋ฐ ๊ฒฐ๊ณผ (Experiments & Results)#
1. ๋ฒค์น๋งํฌ ๋ณ ์ํฐํฉํธ ๋ณด์ ์ฑ๋ฅ ๋น๊ต (Nerfbusters ๋ฐ์ดํฐ์ )#
| ๋ชจ๋ธ (Baseline) | ๋ณด์ ๊ธฐ๋ฒ (Fixer) | PSNR โ | SSIM โ | LPIPS โ | FID โ | ๋ ๋๋ง ์ง์ฐ์๊ฐ |
|---|---|---|---|---|---|---|
| Nerfacto | None | 17.29 | 0.6214 | 0.4021 | 134.65 | 10 ms |
| Nerfacto | NeRFLiX | 17.91 | 0.6560 | 0.3458 | 113.59 | 1500 ms (๋๋ฆผ) |
| Nerfacto | DIFIX3D+ (Ours) | 18.32 | 0.6623 | 0.2789 | 49.44 | 76 ms (์ค์๊ฐ) |
| 3DGS | None | 17.66 | 0.6780 | 0.3265 | 113.84 | 5 ms |
| 3DGS | DIFIX3D+ (Ours) | 18.51 | 0.6858 | 0.2637 | 41.77 | 76 ms (์ค์๊ฐ) |
- ๊ฒฐ๊ณผ: FID ์งํ๊ฐ ๊ธฐ์กด ๋๋น 2๋ฐฐ ์ด์(113 -> 41.77) ๋ํญ ๊ฐ์ ๋์์ผ๋ฉฐ, Single-step ํ์ฐ ๋ชจ๋ธ ๋๋ถ์ 76ms ํ์ฒ๋ฆฌ ์๊ฐ์ผ๋ก ์ค์๊ฐ ์์ฉ ๊ฐ๋ฅ.
๐ก ๊ฒฐ๋ก ๋ฐ ์์ฌ์ (Conclusion & Insights)#
1. ๊ฒฐ๋ก #
DIFIX3D+๋ ๋ฌด๊ฑฐ์ด ํ์ฐ ๋ชจ๋ธ์ Single-step์ผ๋ก ์ฆ๋ฅํ์ฌ 3DGS ๋ฐ NeRF์ ์ํฐํฉํธ๋ฅผ 76ms์ ์ค์๊ฐ ์ ์ ํ๋ ์ ๊ฒฝ ํฅ์๊ธฐ์ด์ 3D ํ์ต ๋ฐ์ดํฐ ์ฆ๋ฅ ํ์ดํ๋ผ์ธ์ ๋๋ค.
2. ์ค๋ฌด์ ์์ฌ์ #
- ์์จ์ฃผํ ํ๊ท ํ ์คํธ ๋ฐ ๊ฐ์ ์์ฐ ๋ ๋๋ง: ์์จ์ฃผํ ์๋ฎฌ๋ ์ดํฐ ๋ ๋๋ง ์ ์์ ํ๊ณ๋ก ๋ฐ์ํ๋ ํ๋กํฐ ์ํฐํฉํธ๋ฅผ DIFIX3D+ ํ์ฒ๋ฆฌ ํ๋ฌ๊ทธ์ธ์ผ๋ก ์ฆ์ ์ ์ ๊ฐ๋ฅ.
3. ํ๊ณ์ ๋ฐ ์์ฌ์ด ์ #
- ํ์ดํผํ๋ผ๋ฏธํฐ ๋ฏผ๊ฐ๋: ๋ ธ์ด์ฆ ๋ ๋ฒจ $\tau$ ๊ฐ์ ํ์ดํผํ๋ผ๋ฏธํฐ์ ํ์ง-ํ๊ฐ ํธ๋ ์ด๋์คํ๊ฐ ๋ฏผ๊ฐํ๊ฒ ๋ฐ์ํด, ์๋ก์ด ๋๋ฉ์ธ์ ์ ์ฉํ ๋ ์ฌํ๋์ด ํ์ํ ์ ์์.
- ์ฌ์ ํ ์ฌ๋ฌ ๋จ๊ณ๋ก ์ด๋ฃจ์ด์ง ํ์ดํ๋ผ์ธ: ์ ์ง์ 3D ์ ๋ฐ์ดํธ ๊ณผ์ ์์ฒด๊ฐ ๋ฐ๋ณต์ ์ธ ์ฌํ์ต์ ์๊ตฌํด, ์ต์ด 3D ํํ์ ์ป๊ธฐ๊น์ง์ ์ ์ฒด ํ์ดํ๋ผ์ธ์ ์ฌ๋ฌ ๋จ๊ณ๋ฅผ ๊ฑฐ์ณ์ผ ํจ.
- ํ๊ฐ ์ํ: ํ์ฐ ๋ชจ๋ธ ๊ธฐ๋ฐ์ด๋ผ ์์ ํ ์๋ก์ด ์ฝํ ์ธ ๋ฅผ “๋ง๋ค์ด๋ด๋” ๋ฐฉํฅ์ผ๋ก ์คํจํ ๊ฒฝ์ฐ ์๋ณธ์ ์๋ ๊ตฌ์กฐ๊ฐ ์๊ธธ ์ํ์ด ๊ตฌ์กฐ์ ์ผ๋ก ์กด์ฌ.
์ฐธ๊ณ ์๋ฃ#
๊ด๋ จ ๋ ผ๋ฌธ: NeRF, 3D Gaussian Splatting