# DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid

DistGrid: 분산 다해상도 해시 그리드를 이용한 확장 가능한 장면 재구성

Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou · arXiv · 2024년 5월 7일

- **연구 문제** 단일 GPU 메모리 한계로 Multi-resolution Hash Grid의 해시 테이블 길이를 키우기 어려운 대규모 장면 재구성 문제입니다.
- **연구 방법** 장면을 비중첩 AABB 영역으로 나누어 여러 GPU에 하위 NeRF를 배치하고, 교차 경계 광선을 Segmented Volume Rendering으로 병합하여 배경 NeRF 없이 학습합니다.
- **주요 결과** Rubble에서 DistGrid(T = 2^24, 4개 분할)는 PSNR 28.189를 기록해 보고된 Grid-Guided NeRF의 25.467보다 높고, 분할 수와 해시 테이블 길이에 따라 품질이 향상됩니다.

## 단일 GPU 메모리가 막는 해시 테이블 확장

Multi-resolution Hash Grid는 장면 표현 품질을 해시 테이블 길이 T로 높일 수 있지만, 한 GPU의 메모리가 T의 증가를 제한합니다. 논문은 T를 2^24 이하로 묶이는 한계를 실제 문제로 제시하며, 이 한계를 넘기 위해 장면을 나누어 여러 GPU에 분산 재구성하는 방식을 제안합니다.

기존의 대규모 장면 방법은 지역별 NeRF를 따로 학습하면서 경계 밖 광선을 처리하기 위해 배경 NeRF를 여러 개 둡니다. 저자들은 한 영역의 배경이 인접 영역의 전경이 된다는 점에서 이것이 학습 중복을 만든다고 설명하며, 이 중복을 줄이는 것이 본 논문의 출발점입니다.

## 변형 가능한 경계 상자와 비중첩 분할

DistGrid는 먼저 Instant NGP의 큐빅 경계 상자를 임의의 종횡비를 갖는 변형 가능한 경계 상자로 확장합니다. 격자 해상도 N\_l에 대해 격자 모양은 (⌈a s N\_l⌉, ⌈b s N\_l⌉, ⌈c s N\_l⌉)로 정해지며, 여기서 s는 a, b, c의 최댓값입니다. 이렇게 하면 고도 방향으로 불필요하게 샘플링되는 영역을 줄일 수 있습니다.

그다음 장면을 고도 범위를 공유하는 수평 2D 격자의 비중첩 AABB로 나누고, 각 영역에 하위 NeRF를 배치합니다. 광선이 어느 영역에 속하는지는 Ray-Intersection with AABBs로 판정하며, 광선마다 사전 처리가 필요하지 않다고 설명합니다. 두 단계 캐스케이드 구조에서는 내부 상자를 fine 수준, 외곽 상자를 coarse 수준의 경계로 사용하고, 해시 테이블 길이는 fine 수준에서 최대 2^24, coarse 수준에서 2^19로 고정합니다.

![Figure 1: We scale up the Multi-resolution Hash Grid to enable large-scale scene reconstruction in a distributed manner. (a) The visual quality of synthesized…](https://refivu.com/papers/ddcdb986-194d-4c4d-a246-0bfd6f918be0/figures/figure-59bcb3c393a9c4b0154518f9a5c8d6ef.png?thumb=512)

**Fig. 1** . We scale up the Multi-resolution Hash Grid to enable large-scale scene reconstruction in a distributed manner. (a) The visual quality of synthesized novel view images from test set, with varying hash table length, compared to basic NeRF \[Mildenhall et al. 2021\] and TensoRF \[Chen et al. 2022\] models. Synthesis quality increases with larger hash tables. However, the memory of a single GPU limits its further growth, which is bounded under 𝑇 = 224. Therefore, we partition the scene to enable distributed reconstruction. (b) The scene is partitioned into closely-paved yet non-overlapped bounding boxes. Dispite the partitioning, there are no artifacts on the boundaries due to the proposed Segmented Volume Rendering method. The different colors in Render Partition indicate that they are rendered by different sub-models. (c) The curve of average PSNR on dataset Rubble, with varying hash table length and scene partitions (e.g. 224× 2 means the scene is split into 2 parts and𝑇 = 224 is applied for each partition). The performance improves as the length of hash table increases. Even though the hash tables are distributed across different GPUs, the growth trend is maintained. DistGrid improves the evaluation PSNR of Rubble dataset up to 2.7 dB with native Multi-resolution Hash Grid models, compared to presently state-of-the-art method \[Xu et al. 2023\].

[원문](https://arxiv.org/abs/2405.04416v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou · DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

## Segmented Volume Rendering의 합성 수식

Segmented Volume Rendering은 광선이 K개의 영역을 지나갈 때 각 구간의 부분 색과 부분 투과율을 국소적으로 계산하고 이를 전역적으로 합성합니다. 구간 경계 시각을 t\_0부터 t\_K까지 두면 최종 색은 \\(C(r)=\\sum\_{i=0}^{K-1}\\left(\\prod\_{j=-1}^{i-1}T(t\_j,t\_{j+1})\\right)C(r\|t\_i,t\_{i+1})\\)로 쓰이고, 최종 투과율은 \\(T(t\_0,t\_K)=\\prod\_{i=0}^{K-1}T(t\_i,t\_{i+1})\\)입니다. 여기서 T(t\_{-1},t\_0)=1로 정의합니다.

이 식은 원래 볼륨 렌더링 식을 구간별로 나눈 결과이므로, 분산된 설정에서도 단일 모델과 같은 결과를 얻는다고 저자들은 설명합니다. 다만 결합 연산자가 PyTorch 같은 주요 프레임워크에서 기본 지원되지 않아 역전파는 수동으로 구현했다고 밝힙니다. 역전파는 Eq. 7과 Eq. 8에 따라 각 영역의 부분 색과 부분 투과율에 대해 수행됩니다.

## 분산 학습 절차와 설정

학습에서는 광선을 학습 이미지 전체에서 균일하게 샘플링하고, 메모리에 있는 ray cache에서 배치를 가져옵니다. 배경 프로세스들은 디스크에서 이미지를 불러와 캐시를 갱신합니다. 각 하위 NeRF는 배치의 광선을 Ray-Intersection으로 나누어 다른 하위 NeRF에 전달하고, 자신의 영역에서 부분 색과 부분 투과율을 계산합니다.

외형 특징은 각 이미지의 VGG 첫 층 특징에서 만든 Gram 행렬을 PCA로 줄여 얻으며, 이미지마다 고정됩니다. Adam 옵티마이저, 300k 학습 반복, 점진적 학습률 감소가 사용되었고, 이 설정은 DistGrid 구현에 적용된 값입니다. 손실은 MSE 항 L\_rgb에 투과율 항 L\_T = −Σ log(1−T)와 분포 손실 L\_dist를 더하며, λ1과 λ2는 모두 10^-3으로 설정되었습니다.

## 기준선과의 비교 결과

Table 1은 Rubble, Building, Campus, Residence 네 데이터셋에서 DistGrid(T = 2^24, 4개 분할 설정)를 NeRF, TensoRF, Mega-NeRF, GP-NeRF, Grid-Guided NeRF와 비교합니다. Rubble에서 DistGrid의 PSNR은 28.189이며 Grid-Guided NeRF의 PSNR 25.467보다 높습니다. 다른 세 데이터셋에서도 DistGrid의 PSNR이 기준선보다 높게 보고됩니다.

![Figure 6: Qualitative evaluation on DistGrid, compared to NeRF and TensoRF](https://refivu.com/papers/ddcdb986-194d-4c4d-a246-0bfd6f918be0/figures/figure-a2db0665f18c8a5050ece79fde879185.png?thumb=512)

**Fig. 6** . Qualitative evaluation on DistGrid, compared to NeRF and TensoRF.

[원문](https://arxiv.org/abs/2405.04416v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou · DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

다만 Mega-NeRF, GP-NeRF, Grid-Guided NeRF의 수치는 각 논문에 보고된 값을 가져온 것이며, 이 논문에서 재실험한 결과가 아닙니다. Grid-Guided NeRF는 Building과 Campus의 일부 LPIPS 항목에서 VGG 구현이 아닌 값이 사용되었다고 표에 표시되어 있어, 같은 평가 조건으로 묶어 읽으면 안 됩니다. 정성적으로는 경계에서 아티팩트가 보이지 않는다는 결과도 제시됩니다.

![Figure 7: The rendered views on the boundary](https://refivu.com/papers/ddcdb986-194d-4c4d-a246-0bfd6f918be0/figures/figure-b8d080a2b79470614cb634d92e044217.png?thumb=512)

**Fig. 7** . The rendered views on the boundary.

[원문](https://arxiv.org/abs/2405.04416v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou · DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 해시 테이블 길이와 분할 수에 따른 확장성

Rubble에서 해시 테이블 길이 T를 2^19부터 2^24까지, 분할 수를 1, 2, 4개로 바꾸어 평균 PSNR을 측정했습니다. 모든 분할 설정에서 파라미터 수가 늘수록 PSNR이 높아지며, 분산 배치에서도 성장 경향이 유지된다고 보고합니다. 이 논문은 같은 파라미터 수에서 분할 수를 늘리는 것이 성능에 긍정적이라고 해석합니다.

예를 들어 T = 2^24, 1개 분할 설정은 334.1M 파라미터에서 PSNR 26.7 dB이고, T = 2^21, 4개 분할 설정은 264.6M 파라미터에서 PSNR 27.4 dB입니다. 학습 시간은 2개 분할까지는 ray exchange 오버헤드가 무시할 만하고, 4개 분할에서 늘어나지만 가장 큰 모델도 9시간 안에 학습되었다고 보고합니다.

## Coarse-Fine Partitioning 절제 실험

Coarse-Fine Partitioning의 효과는 Rubble 데이터셋에서 두 단계 경계 상자를 외곽 coarse 상자 하나로 대체한 절제로 확인합니다. T = 2^24 × 1 설정에서 평균 PSNR은 w/o Coarse-Fine Partitioning 25.804, w/ Coarse-Fine Partitioning 26.655입니다. 같은 비교는 2개와 4개 분할에서도 이루어지며, 각각 26.325에서 27.409, 27.580에서 28.189로 올라갑니다.

![Table 2: Ablation study on coarse-fine partitioning on dataset Rubble. Aver- age PSNRs are reported](https://refivu.com/papers/ddcdb986-194d-4c4d-a246-0bfd6f918be0/figures/figure-0a5a8d59a5ecc9bcd23248d44aac4c29.png?thumb=512)

**Table 2** . Ablation study on coarse-fine partitioning on dataset Rubble. Aver- age PSNRs are reported.

[원문](https://arxiv.org/abs/2405.04416v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou · DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

저자들은 모든 카메라가 fine 상자 안에 들어오므로 fine 수준은 중심 영역에 집중하고, 외곽은 상대적으로 쉬운 정면 재구성 문제가 되어 작은 해시 테이블의 coarse 수준으로 처리할 수 있다고 해석합니다. 이 결과는 Rubble 한 데이터셋에서 얻은 것입니다.

## 적용 범위와 남은 과제

이 논문의 실험은 드론으로 촬영한 oblique photography 데이터셋과 Pixel-Perfect SfM으로 추정한 카메라 포즈에 한정됩니다. 저자들은 DistGrid가 휴대폰 영상, LiDAR, 차량 카메라, 원격탐사 이미지 같은 다른 데이터 소스에도 확장될 가능성이 있다고 설명하지만, 이 논문에서 검증한 범위는 아닙니다. 이러한 혼합 데이터 규모로 확장하려면 더 큰 규모와 더 효율적인 학습 파이프라인이 필요하다고 밝힙니다.

성능 비교에서는 기준선 여러 개의 수치가 다른 논문에서 가져온 값이라는 점, 그리고 Mega-NeRF와 GP-NeRF는 장면당 1TB 이상의 저장 공간이 필요해 이 장비에서 재실험하지 않았다는 점을 함께 읽어야 합니다. 또한 외형 특징과 aggressive pruning 같은 설정은 이 데이터셋의 조명 차이와 floater를 다루기 위해 도입된 것입니다.

## 논문 정보

- **저자**: Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 5월 7일
- **등록일**: 2026년 11월 4일
- **수정일**: 2024년 5월 8일
- **버전**: v2
- **arXiv**: 2405.04416
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2405.04416v2) · [원문 PDF ↗](https://arxiv.org/pdf/2405.04416v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Neural Radiance Field~(NeRF) achieves extremely high quality in object-scaled and indoor scene reconstruction. However, there exist some challenges when reconstructing large-scale scenes. MLP-based NeRFs suffer from limited network capacity, while volume-based NeRFs are heavily memory-consuming when the scene resolution increases. Recent approaches propose to geographically partition the scene and learn each sub-region using an individual NeRF. Such partitioning strategies help volume-based NeRF exceed the single GPU memory limit and scale to larger scenes. However, this approach requires multiple background NeRF to handle out-of-partition rays, which leads to redundancy of learning. Inspired by the fact that the background of current partition is the foreground of adjacent partition, we propose a scalable scene reconstruction method based on joint Multi-resolution Hash Grids, named DistGrid. In this method, the scene is divided into multiple closely-paved yet non-overlapped Axis-Aligned Bounding Boxes, and a novel segmented volume rendering method is proposed to handle cross-boundary rays, thereby eliminating the need for background NeRFs. The experiments demonstrate that our method outperforms existing methods on all evaluated large-scale scenes, and provides visually plausible scene reconstruction. The scalability of our method on reconstruction quality is further evaluated qualitatively and quantitatively.

## 원문 인용

Sidun Liu, Peng Qiao, Zongxin Ye, Wenyu Li, Yong Dou (2024). DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid. arXiv:2405.04416v2. https://arxiv.org/abs/2405.04416v2

**BibTeX**

```
@misc{liu2024distgrid,
  title = {{DistGrid: Scalable Scene Reconstruction with Distributed Multi-resolution Hash Grid}},
  author = {Sidun Liu and Peng Qiao and Zongxin Ye and Wenyu Li and Yong Dou},
  year = {2024},
  eprint = {2405.04416},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.04416v2}
}
```

## 이 논문의 용어

- [PSNR](https://refivu.com/terms/fcbb9b8276a7-psnr)
- [SSIM](https://refivu.com/terms/a5c530b66e8d-ssim)
- [LPIPS](https://refivu.com/terms/21dda2beca88-lpips)
- [Principal Component Analysis](https://refivu.com/terms/5e8334d817e7-principal-component-analysis)
- [volume rendering](https://refivu.com/terms/0e2c6d7b1444-volume-rendering)
- [transmittance](https://refivu.com/terms/d0fab0f77192-transmittance)
- [occupancy grid](https://refivu.com/terms/83adfe13628f-occupancy-grid)
- [TensoRF](https://refivu.com/terms/cd4b85e5b699-tensorf)
- [Neural Radiance Field](https://refivu.com/terms/6b2fc37a1baf-neural-radiance-field)
- [ray marching](https://refivu.com/terms/936043f186c8-ray-marching)
- [Instant NGP](https://refivu.com/terms/06b744791076-instant-ngp)
- [Mega-NeRF](https://refivu.com/terms/a2944d005c5d-mega-nerf)
- [NeRF++](https://refivu.com/terms/50841d12e098-nerf)

## 다른 논문 해설

- [FIORD: A Fisheye Indoor-Outdoor Dataset with LIDAR Ground Truth for 3D Scene Reconstruction and Benchmarking](https://refivu.com/papers/59d8c421-f136-464e-ab57-078211a8b09e-fiord-a-fisheye-indoor-outdoor-dataset-with-lidar.md)
- [Nighttime Autonomous Driving Scene Reconstruction with Physically-Based Gaussian Splatting](https://refivu.com/papers/e13968fe-684d-4592-8445-b7f799aa83af-nighttime-autonomous-driving-scene-reconstruction-with.md)
- [Sources of Uncertainty in 3D Scene Reconstruction](https://refivu.com/papers/7a04dd4b-ae4b-4c93-a455-d63001c5cb46-sources-of-uncertainty-in-3d-scene-reconstruction.md)
- [GaRField++: Reinforced Gaussian Radiance Fields for Large-Scale 3D Scene Reconstruction](https://refivu.com/papers/90c6e364-7925-4dce-849f-6d4c817c67c6-garfield-reinforced-gaussian-radiance-fields-for-large-scale.md)
- [Evidential Neural Radiance Fields](https://refivu.com/papers/52cc1222-aaa4-456e-801f-007d36128963-evidential-neural-radiance-fields.md)
- [Learning to Generate Conditional Tri-plane for 3D-aware Expression Controllable Portrait Animation](https://refivu.com/papers/edfba60f-6aee-4f38-b467-051ff7da495c-learning-to-generate-conditional-tri-plane-for-3d.md)
- [Graph Anomaly Detection with Graph Neural Networks: Current Status and Challenges](https://refivu.com/papers/5e871def-4eab-4633-a5c5-90da0ca35779-graph-anomaly-detection-with-graph-neural-networks-current.md)
- [Graph Neural Stochastic Differential Equations](https://refivu.com/papers/9e75175e-1b60-428f-b5db-18cac492a276-graph-neural-stochastic-differential-equations.md)
- [Simplified Graph Convolution with Heterophily](https://refivu.com/papers/a206539c-6411-4d92-b0eb-239b55f06aee-simplified-graph-convolution-with-heterophily.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/ddcdb986-194d-4c4d-a246-0bfd6f918be0-distgrid-scalable-scene-reconstruction-with-distributed)
