# NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields

NeRF-SLAM: 신경 방사장을 이용한 실시간 고밀도 단안 SLAM

Antoni Rosinol, John J. Leonard, Luca Carlone · arXiv · 2022년 10월 24일

- **연구 문제** 단안 RGB 영상만으로 기하와 측광이 모두 정확한 신경 방사장을 실시간으로 얻는 문제를 다룹니다.
- **연구 방법** Droid-SLAM의 자세와 밀집 깊이, 주변 공분산을 사용해 Instant-NGP 기반 방사장을 불확실성 가중 깊이 손실로 학습합니다.
- **주요 결과** Replica에서 NeRF-SLAM은 평균 PSNR 41.40 dB와 평균 Depth L1 4.49 cm를 보고하며, 깊이 가중이 없는 깊이 사용은 PSNR을 약 3dB 낮춥니다.

## 단안 영상으로 실시간 3D 재구성이 어려운 이유

단안 카메라 영상만으로 장면을 기하적으로도 측광적으로도 정확하게 재구성하는 일은 깊이 정보가 직접 측정되지 않아 여전히 어렵습니다. RGB-D 센서는 직사광선 같은 조건에서 실패할 수 있고 라이다는 무겁고 비싸며, 스테레오는 보정 오차에 민감합니다. 반면 단안 카메라는 저렴하고 가볍지만 깊이를 직접 얻지 못합니다. 신경 방사장(NeRF)은 사진 측광적으로 정확한 3D 표현을 제공하지만, 체적 렌더링 비용 때문에 학습이 느리고 원래는 정확한 자세가 필요했습니다. 이 논문은 이러한 두 흐름의 한계를 함께 해결하려는 시도로, 단안 RGB 스트림만 입력으로 받아 실시간으로 신경 방사장을 학습하는 문제를 다룹니다.

![Figure 1: From left to right, input RGB image, estimated depth uncertainty, back-projected depth-maps into a pointcloud, after thresholding the depth by its un…](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed/figures/figure-792158622187deb0f7da73ec511d5459.png?thumb=512)

**Figure 1** . From left to right, input RGB image, estimated depth uncertainty, back-projected depth-maps into a pointcloud, after thresholding the depth by its uncertainty (σd≤ 1.0) for visualization, and our resulting neural radiance ﬁeld, rendered from the same viewpoint as the input image. Our pipeline is capable of reconstructing neural radiance ﬁelds in real-time given only a stream of RGB images.

[원문](https://arxiv.org/abs/2210.13641v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Antoni Rosinol, John J. Leonard, Luca Carlone · NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 밀집 SLAM의 출력을 방사장 감독 신호로 사용하는 구조

NeRF-SLAM은 추적 모듈로 Droid-SLAM을 사용해 키프레임마다 밀집 깊이 맵과 자세를 얻습니다. Droid-SLAM은 밀집 광학 흐름을 계산한 뒤 밀집 번들 조정으로 역깊이 맵과 카메라 포즈를 함께 풉니다. 이때 헤시안을 카메라 블록과 깊이 블록으로 나누고 깊이 변수를 Schur complement로 소거하면 깊이에 의존하지 않는 축소 카메라 행렬 HT를 얻습니다. 이를 Cholesky 분해로 풀어 포즈를 구하고, 포즈를 이용해 깊이를 계산합니다. 저자들은 Rosinol 등의 방식을 따라 이 헤시안 블록 구조에서 깊이와 포즈의 주변 공분산을 계산합니다. 매핑 쪽에서는 Instant-NGP 기반 해시 체적 방사장을 사용하며, 깊이 손실 LD는 깊이 차이를 주변 공분산 ΣD로 가중합니다.

![Figure 2: The input to our pipeline consists of sequential monoc- ular images (here represented as Img 1 & Img 2). Starting from the top-right, our architectur…](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed/figures/figure-1078a814dbeddbb7bd03e9c1e03a382e.png?thumb=512)

**Figure 2** . The input to our pipeline consists of sequential monoc- ular images (here represented as Img 1 & Img 2). Starting from the top-right, our architecture ﬁts a NeRF using Instant-NGP \[17\], which we supervise using RGB images I, depths D, where the depths are weighted by their marginal covariance, ΣD. Inspired by Rosinol et al. \[23\], we compute these covariances from dense monocular SLAM. In our case, we use Droid-SLAM \[31\]. We provide more details about the ﬂow of information in Sec. 3.1. In blue, we show Droid-SLAM’s \[31\] contributions and ﬂow of in- formation, similarly, in pink are Rosinol’s contribution \[23\], and in red, our contribution.

[원문](https://arxiv.org/abs/2210.13641v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Antoni Rosinol, John J. Leonard, Luca Carlone · NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 불확실성 가중 깊이 손실과 색 손실의 결합

매핑 손실은 색 손실 Lrgb와 깊이 손실 LD를 λD로 결합한 LM(T, Θ)으로 정의되며, 원문에서 λD는 1.0으로 설정됩니다. 깊이 손실은 렌더링된 깊이 D⋆와 추적 모듈의 깊이 D의 차이를 공분산 ΣD에 대한 마할라노비스형 노름으로 측정합니다. 렌더링 깊이는 광선을 따라 샘플의 밀도 σi와 투과율 Ti로 가중한 기대 종료 거리로 계산됩니다. 여기서 투과율 Ti는 샘플 i 이전까지 밀도 적분의 지수함수입니다. 이 구성은 노이즈가 큰 깊이 맵의 영향을 불확실성에 따라 줄이려는 것이며, 깊이를 가중하지 않고 쓰는 경우와 구분해 검증됩니다.

![Figure 5: (Top-Left) Raw pointcloud estimated by the tracking module, (Bottom-Left) Pointcloud after thresholding the depth un- certainty (σd≤ 1.0) for visuali…](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed/figures/figure-5ce2f70df2005035054d2483b39c98ae.png?thumb=512)

**Figure 5** . (Top-Left) Raw pointcloud estimated by the tracking module, (Bottom-Left) Pointcloud after thresholding the depth un- certainty (σd≤ 1.0) for visualization. (Right Column) Radiance ﬁeld reconstructions after 120s of optimization, with and without depth weighting (top-right and bottom-right respectively). Room scene in Cube-Diorama dataset \[1\].

[원문](https://arxiv.org/abs/2210.13641v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Antoni Rosinol, John J. Leonard, Luca Carlone · NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 추적과 매핑의 병렬 구조

시스템은 추적 스레드와 매핑 스레드가 병렬로 실행되며, 두 스레드의 통신은 추적 파이프라인이 새 키프레임을 만들 때에만 일어납니다. 추적 스레드는 활성 슬라이딩 윈도우의 재투영 오차를 계속 최소화하며, 활성 윈도우는 최대 8개의 키프레임으로 유지됩니다. 새 키프레임은 이전 키프레임과 현재 프레임 사이의 평균 광학 흐름이 2.5 픽셀을 넘을 때 생성됩니다. 매핑 스레드는 전달받은 모든 키프레임을 사용하며 슬라이딩 윈도우를 두지 않습니다.

## Replica 데이터셋의 기하·측광 비교

Replica 데이터셋에서 NeRF-SLAM은 iMAP, Nice-SLAM, TSDF-Fusion, σ-Fusion과 비교됩니다. iMAP과 Nice-SLAM은 기본 설정에서 GT 깊이를 감독 신호로 쓰며, Nice-SLAM은 GT 깊이 없이 실행한 결과도 함께 보고됩니다. TSDF-Fusion과 σ-Fusion, 그리고 NeRF-SLAM은 밀집 모노큘러 SLAM의 자세와 깊이를 사용합니다. 표 1에서 NeRF-SLAM의 평균 Depth L1은 4.49 cm, 평균 PSNR은 41.40 dB로 보고됩니다. 저자들은 Nice-SLAM과 비교해 office-1에서 최대 179% PSNR 향상, room-2에서 최대 86% 더 낮은 L1 오차를 보고합니다.

이 비교의 Nice-SLAM 결과는 GT 깊이를 쓴 설정과 쓰지 않은 설정이 함께 포함되므로 조건을 나누어 읽어야 합니다.

![Table 1: Geometric (L1) and Photometric (PSNR) results for the Replica dataset. iMAP and Nice-SLAM are ﬁrst evaluated using the ground-truth depth from Replica…](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed/figures/figure-12b8189d586a276c0b7f6e536aadaa39.png?thumb=512)

**Table 1** . Geometric (L1) and Photometric (PSNR) results for the Replica dataset. iMAP and Nice-SLAM are ﬁrst evaluated using the ground-truth depth from Replica as supervision (top two rows). We also evaluate Nice-SLAM when not using ground-truth depth as supervision for comparison. TSDF-Fusion, σ-Fusion, and our approach are evaluated using the poses and depths from dense monocular SLAM, as explained in Sec. 3.1. Best results in bold.

[원문](https://arxiv.org/abs/2210.13641v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Antoni Rosinol, John J. Leonard, Luca Carlone · NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 깊이 손실의 가중 여부에 따른 절제 실험

Cube-Diorama의 Room 장면에서 저자들은 깊이를 쓰지 않은 경우, 원시 깊이를 가중 없이 쓴 경우, 불확실성으로 가중한 깊이를 쓴 경우를 비교합니다. 원문은 깊이를 가중하지 않으면 PSNR이 깊이 미사용보다 약 3dB 낮아진다고 보고하며, 원시 깊이는 L1 깊이 오차를 줄이지만 기하를 편향시킬 수 있다고 설명합니다. 가중 깊이는 깊이 미사용과 비슷한 PSNR을 유지하면서 원시 깊이와 같은 수준의 L1 깊이 오차를 얻는다고 보고됩니다. 이 결과는 Cube-Diorama 데이터셋의 Room 장면과 120초 최적화 기준의 측정에 근거합니다.

![Figure 6: Convergence plot comparing the PSNR and L1 depth metrics over time ( ∆t\[s\]) and iteration (Iter\[-\]) when not using depths (‘no depth’), when using th…](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed/figures/figure-3f3f8dc15e3eab46913e70a9ce20c729.png?thumb=512)

**Figure 6** . Convergence plot comparing the PSNR and L1 depth metrics over time ( ∆t\[s\]) and iteration (Iter\[-\]) when not using depths (‘no depth’), when using the raw depths without weighting (‘raw’), and using our approach with weighted depth (‘weighted’). Room scene in Cube-Diorama dataset \[1\].

[원문](https://arxiv.org/abs/2210.13641v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Antoni Rosinol, John J. Leonard, Luca Carlone · NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 메모리 요구와 적용 범위

저자들은 이 방법이 추적의 밀집 상관 볼륨과 매핑의 계층적 체적 격자 때문에 약 11GB의 GPU 메모리를 필요로 한다고 밝힙니다. 이 요구량은 저compute 로봇, 예를 들어 드론에는 과도할 수 있습니다. 저자들은 상관 볼륨을 필요할 때 계산하는 방식과 활성 영역만 GPU로 스트리밍하는 방식을 완화책으로 제시하지만, 이는 향후 방향으로 제시된 것이며 이 논문에서 구현·검증되지 않았습니다. 실시간 결과는 RTX 2080 Ti GPU와 640×480 해상도 조건에서 보고되었습니다.

## 논문 정보

- **저자**: Antoni Rosinol, John J. Leonard, Luca Carlone
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 10월 24일
- **등록일**: 2026년 11월 5일
- **수정일**: 2022년 10월 24일
- **버전**: v1
- **arXiv**: 2210.13641
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

We propose a novel geometric and photometric 3D mapping pipeline for accurate and real-time scene reconstruction from monocular images. To achieve this, we leverage recent advances in dense monocular SLAM and real-time hierarchical volumetric neural radiance fields. Our insight is that dense monocular SLAM provides the right information to fit a neural radiance field of the scene in real-time, by providing accurate pose estimates and depth-maps with associated uncertainty. With our proposed uncertainty-based depth loss, we achieve not only good photometric accuracy, but also great geometric accuracy. In fact, our proposed pipeline achieves better geometric and photometric accuracy than competing approaches (up to 179% better PSNR and 86% better L1 depth), while working in real-time and using only monocular images.

## 원문 인용

Antoni Rosinol, John J. Leonard, Luca Carlone (2022). NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields. arXiv:2210.13641v1. https://arxiv.org/abs/2210.13641v1

**BibTeX**

```
@misc{rosinol2022nerf,
  title = {{NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields}},
  author = {Antoni Rosinol and John J. Leonard and Luca Carlone},
  year = {2022},
  eprint = {2210.13641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.13641v1}
}
```

## 이 논문의 용어

- [PSNR](https://refivu.com/terms/fcbb9b8276a7-psnr)
- [Hessian](https://refivu.com/terms/cb53640b58ff-hessian)
- [Neural Radiance Fields](https://refivu.com/terms/092d75ddb526-neural-radiance-fields)
- [sliding window](https://refivu.com/terms/36584a6497c3-sliding-window)
- [Raft](https://refivu.com/terms/59f065a16a1f-raft)
- [Instant-NGP](https://refivu.com/terms/fb504b3ef5d8-instant-ngp)
- [Schur complement](https://refivu.com/terms/071963aff7de-schur-complement)
- [Cholesky factorization](https://refivu.com/terms/7f779e62bbbd-cholesky-factorization)
- [ConvGRU](https://refivu.com/terms/2f3ecd3b5d2e-convgru)
- [iMAP](https://refivu.com/terms/f0b09fd80f55-imap)
- [keyframe](https://refivu.com/terms/e370272d4f67-keyframe)
- [Depth L1](https://refivu.com/terms/108ec57fd115-depth-l1)
- [mapping loss](https://refivu.com/terms/b4e77ed1f68b-mapping-loss)
- [NICE-SLAM](https://refivu.com/terms/6396d4810a33-nice-slam)

## 다른 논문 해설

- [DiffRF: Rendering-Guided 3D Radiance Field Diffusion](https://refivu.com/papers/6a9b5a5d-11ba-4359-bd5a-bacf91ac15e4-diffrf-rendering-guided-3d-radiance-field-diffusion.md)
- [Points2NeRF: Generating Neural Radiance Fields from 3D point cloud](https://refivu.com/papers/f8185d52-0185-422e-ae97-574864e1432e-points2nerf-generating-neural-radiance-fields-from-3d-point.md)
- [Point2Pix: Photo-Realistic Point Cloud Rendering via Neural Radiance Fields](https://refivu.com/papers/4dac087b-0b8c-4914-86c3-cc2d876f6ffa-point2pix-photo-realistic-point-cloud-rendering-via-neural.md)
- [Adaptive Shells for Efficient Neural Radiance Field Rendering](https://refivu.com/papers/2e507157-9d4a-4d69-bc8c-27b15088fb76-adaptive-shells-for-efficient-neural-radiance-field.md)
- [iMED: A Multi-Endoscope Dataset for Surgical 3D Perception](https://refivu.com/papers/8a61fdba-f967-459c-876f-67882145f225-imed-a-multi-endoscope-dataset-for-surgical-3d.md)
- [Understanding Backdoor Attacks in Scene Graph Generation via Global Context Pathway](https://refivu.com/papers/75476c23-f89e-4019-a785-25837dc91f24-understanding-backdoor-attacks-in-scene-graph-generation-via.md)
- [Point-DynRF: Point-based Dynamic Radiance Fields from a Monocular Video](https://refivu.com/papers/5fa194ae-fb88-451a-8cc4-ace226541c8f-point-dynrf-point-based-dynamic-radiance-fields-from.md)
- [Interpretability Analysis of Domain Adapted Dense Retrievers](https://refivu.com/papers/2126bcec-f29f-4cce-bf80-1b9663e9600e-interpretability-analysis-of-domain-adapted-dense-retrievers.md)
- [ATM: Adversarial Tuning Multi-agent System Makes a Robust Retrieval-Augmented Generator](https://refivu.com/papers/8e129046-bae9-44fd-93e2-088781295246-atm-adversarial-tuning-multi-agent-system-makes-a.md)
- [Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledge](https://refivu.com/papers/bd5cc486-dc36-48c9-a5e8-ec08c1977e61-zero-rag-towards-retrieval-augmented-generation-with-zero.md)
- [SQuAI: Scientific Question-Answering with Multi-Agent Retrieval-Augmented Generation](https://refivu.com/papers/de09bcfb-5b5b-4cc6-bf6e-bffaa355226d-squai-scientific-question-answering-with-multi-agent.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/00ff6632-386d-4846-bfdb-98c18566d9ed-nerf-slam-real-time-dense-monocular-slam-with)
