基於知識蒸餾和深度不確定性引導超解析之神經輻射場渲染重建
NeRF Rendering with Knowledge Distillation and Depth-Uncertainty Guided Super-Resolution
摘要
近年來,神經輻射場(neural radiance fields, NeRF) 於新視角合成展現高品質,
但體渲染(Volume Rendering) 與模型規模使得訓練與推論成本高昂;若僅用二維超解
析(2D Super-Resolution) 來回復細節或僅壓縮神經輻射場主體,常會兩難於高頻細節
與跨視角一致性。因此本論文提出兩種嶄新的神經壓縮基於張量分解的神經輻射場
作為學生模型,單次前向同時輸出低解析影像、深度與像素級不確定度,並以增強型
SwinIR 為骨幹,結合邊緣感知深度編碼器(Edge-AwareShallow Depth Encoder)、邊緣
感知不確定性編碼器(Edge-Aware Shallow Uncertainty Encoder)、深度不確定性引導的
窗口注意力(Depth-Uncertainty Window Shifted Attention)、深度融合以及深度調變等
方法,將幾何與可靠性先驗注入視窗注意力與淺層特徵,強化高頻重建與跨視角穩定。
相較於僅用卷積式超解析的方法,DSwin-NeRF 在峰值信噪比 (peak signal-to-noise
ratio, PSNR) 方面提升了 0.5dB; 而感知影像相似性 (learned perceptual image patch
similarity, LPIPS) 則減少 0.03,且因為神經輻射場與超解析模組參數量減少 47%,到
端延遲與記憶體同步降低,計算量減少71%。另一方面,VGGSR-NeRF在沿用相同的
先驗與物體感知補丁訓練(Object-AwareRandom Patch Sampling) 下,以基於 VGG 的
超解析模組取代傳統超解析架構,在相同硬體條件下顯著縮短推論時間並減低模型複
雜度,參數量減少84%、計算量減少98.8%、推論時間縮短56%,僅小幅犧牲峰值信
噪比約1dB。整體來說,本研究以蒸餾顯式神經場加上深度及不確定度引導超解析架
構,確保新視角合成品質、效率與應用性。
但體渲染(Volume Rendering) 與模型規模使得訓練與推論成本高昂;若僅用二維超解
析(2D Super-Resolution) 來回復細節或僅壓縮神經輻射場主體,常會兩難於高頻細節
與跨視角一致性。因此本論文提出兩種嶄新的神經壓縮基於張量分解的神經輻射場
作為學生模型,單次前向同時輸出低解析影像、深度與像素級不確定度,並以增強型
SwinIR 為骨幹,結合邊緣感知深度編碼器(Edge-AwareShallow Depth Encoder)、邊緣
感知不確定性編碼器(Edge-Aware Shallow Uncertainty Encoder)、深度不確定性引導的
窗口注意力(Depth-Uncertainty Window Shifted Attention)、深度融合以及深度調變等
方法,將幾何與可靠性先驗注入視窗注意力與淺層特徵,強化高頻重建與跨視角穩定。
相較於僅用卷積式超解析的方法,DSwin-NeRF 在峰值信噪比 (peak signal-to-noise
ratio, PSNR) 方面提升了 0.5dB; 而感知影像相似性 (learned perceptual image patch
similarity, LPIPS) 則減少 0.03,且因為神經輻射場與超解析模組參數量減少 47%,到
端延遲與記憶體同步降低,計算量減少71%。另一方面,VGGSR-NeRF在沿用相同的
先驗與物體感知補丁訓練(Object-AwareRandom Patch Sampling) 下,以基於 VGG 的
超解析模組取代傳統超解析架構,在相同硬體條件下顯著縮短推論時間並減低模型複
雜度,參數量減少84%、計算量減少98.8%、推論時間縮短56%,僅小幅犧牲峰值信
噪比約1dB。整體來說,本研究以蒸餾顯式神經場加上深度及不確定度引導超解析架
構,確保新視角合成品質、效率與應用性。
In recent years, neural radiance fields (NeRF) have shown high quality in novel
view synthesis, but the cost of volume-rendering queries and large model size makes
training and inference expensive. Pipelines that only use two-dimensional (2D) super
resolution (SR) to restore details or only compress the NeRF backbone often face a trade
off between high-frequency detail and cross-view consistency. To address this, this thesis
presents two novel NeRF designs: DSwin-NeRF and VGGSR-NeRF. DSwin-NeRF applies
progressive knowledge distillation to compress TensoRF into a student model that, in a
single forward pass, outputs low-resolution RGB, depth, and per-pixel uncertainty. Using
an enhanced SwinIR backbone, together with SDE-E/SUE-E, DU-WSA, and depth fu
sion/modulation, the proposed method injects geometric and reliability priors into window
attention and shallow features, improving high-frequency reconstruction and cross-view
stability. Compared with pipelines that rely only on the convolutional SR, DSwin-NeRF
achieves consistent improvements in peak signal-to-noise ratio (PSNR), structural simi
larity (SSIM), and learned perceptual image patch similarity (LPIPS), and the end-to-end
latency and memory footprint are both reduced, with the number of model parameters
reduced by 47% and the computational complexity reduced by 71%. On the other hand,
VGGSR-NeRF replaces the Transformer backbone with SRVGGNet while keeping the
same priors and object-aware patch training. With the proposed VGGSR-NeRF, the
number of model parameters is reduced by 84%, the computational complexity is reduced
by 98.8%, and the inference time is shortened 56% , with only a small drop in perfor
mance metrics. In summary, our proposed distillation explicit neural fields with depth
and uncertainty guided super-resolution design achieves quality, efficiency, and practical
deployability at the same time.
view synthesis, but the cost of volume-rendering queries and large model size makes
training and inference expensive. Pipelines that only use two-dimensional (2D) super
resolution (SR) to restore details or only compress the NeRF backbone often face a trade
off between high-frequency detail and cross-view consistency. To address this, this thesis
presents two novel NeRF designs: DSwin-NeRF and VGGSR-NeRF. DSwin-NeRF applies
progressive knowledge distillation to compress TensoRF into a student model that, in a
single forward pass, outputs low-resolution RGB, depth, and per-pixel uncertainty. Using
an enhanced SwinIR backbone, together with SDE-E/SUE-E, DU-WSA, and depth fu
sion/modulation, the proposed method injects geometric and reliability priors into window
attention and shallow features, improving high-frequency reconstruction and cross-view
stability. Compared with pipelines that rely only on the convolutional SR, DSwin-NeRF
achieves consistent improvements in peak signal-to-noise ratio (PSNR), structural simi
larity (SSIM), and learned perceptual image patch similarity (LPIPS), and the end-to-end
latency and memory footprint are both reduced, with the number of model parameters
reduced by 47% and the computational complexity reduced by 71%. On the other hand,
VGGSR-NeRF replaces the Transformer backbone with SRVGGNet while keeping the
same priors and object-aware patch training. With the proposed VGGSR-NeRF, the
number of model parameters is reduced by 84%, the computational complexity is reduced
by 98.8%, and the inference time is shortened 56% , with only a small drop in perfor
mance metrics. In summary, our proposed distillation explicit neural fields with depth
and uncertainty guided super-resolution design achieves quality, efficiency, and practical
deployability at the same time.