Abstract
Given a monocular video, segmenting and decoupling dynamic objects while recovering the static environment is a widely studied problem in machine intelligence. Existing solutions usually approach this problem in the image domain, limiting their performance and understanding of the environment. We introduce Decoupled Dynamic Neural Radiance Field (D$^2$NeRF), a self-supervised approach that takes a monocular video and learns a 3D scene representation which decouples moving objects, including their shadows, from the static background. Our method represents the moving objects and the static background by two separate neural radiance fields with only one allowing for temporal changes. A naive implementation of this approach leads to the dynamic component taking over the static one as the representation of the former is inherently more general and prone to overfitting. To this end, we propose a novel loss to promote correct separation of phenomena. We further propose a shadow field network to detect and decouple dynamically moving shadows. We introduce a new dataset containing various dynamic objects and shadows and demonstrate that our method can achieve better performance than state-of-the-art approaches in decoupling dynamic and static 3D objects, occlusion and shadow removal, and image segmentation for moving objects.
Introduction
Reconstructing a 3D scene from a monocular video is a staple of computer vision, but real-world captures are often cluttered with dynamic elements. Standard Neural Radiance Fields (NeRFs) assume a static world, leading to significant artifacts when moving objects or shadows are present. While "Dynamic NeRFs" exist, they frequently struggle to distinguish between true motion and static background without external supervision, such as pre-trained segmentation masks. Furthermore, moving shadows are often incorrectly baked into the static background geometry, causing "ghosting" or dark smudges.
D²NeRF addresses these challenges through self-supervised decoupling, separating dynamic objects and their shadows from the static environment using only the video itself as a guide.
Methodology
System Architecture
The scene is represented by two separate Neural Radiance Fields: a Static Field ($\mathcal{F}^S$) and a Dynamic Field ($\mathcal{F}^D$). While the static field captures the permanent environment, the dynamic field is permitted to model temporal changes. To prevent the more flexible dynamic component from erroneously modeling the entire scene (the "expressivity trap"), the framework employs a novel loss hierarchy.
The Shadow Field ($\mathcal{F}^\rho$)
Shadows are particularly difficult because they change the appearance of the background over time without possessing physical density. D²NeRF introduces a dedicated shadow-ratio field that predicts a darkening factor for the static background. By treating shadows as multipliers rather than physical objects, the model preserves the 3D geometry of the background while successfully removing visual artifacts caused by moving occluders.
Skewed-Entropy Loss and Regularization
To enforce the separation of components, the authors propose a skewed-entropy loss. This mathematical constraint biases the optimization to favor static explanations for pixels unless there is consistent evidence of motion. Additionally, ray regularization is used to keep dynamic components sparse, preventing "floaters," while a static density prior ensures the background remains solid.
Evaluation and Results
The researchers evaluated D²NeRF using a new synthetic dataset created with the Kubric engine, as well as real-world benchmarks like HyperNeRF and Nerfies.
- Novel View Synthesis: On synthetic data, D²NeRF achieved a Mean PSNR of 31.18, significantly higher than the 26.27 achieved by baselines like NeuralDiff. This indicates much cleaner background reconstruction.
- Segmentation Accuracy: In terms of the Jaccard Index ($\mathcal{J}$), D²NeRF scored 0.717 on synthetic means, nearly doubling the performance of several competing methods.
- Qualitative Success: The model effectively removes "unremovable" shadows cast by photographers or moving equipment that previous methods would typically bake into the floor textures.
Discussion and Limitations
By performing decoupling in 3D space, D²NeRF generates cleaner and more temporally consistent masks than frame-by-frame 2D methods. However, the system remains dependent on accurate camera registration (e.g., via COLMAP). If a video contains excessive motion blur or lacks sufficient static features, the reconstruction may fail. Furthermore, high-frequency view-dependent effects like reflections on shiny surfaces can occasionally be misclassified as dynamic objects. Future work may involve integrating more complex lighting models to handle global illumination and specularities more robustly.
Summary updated