WorksComputer Science
FLoTS-SLAM: Optical Flow-Derived Uncertainty for Monocular Dynamic SLAM with Two-Stage Optimization
Abstract
Monocular simultaneous localization and mapping (SLAM) remains challenging in dynamic environments. Real-time dynamic object identification in such environments is a critical problem. Recent approaches estimate per-pixel uncertainty from rendering residuals or multiview feature inconsistency to identify dynamic regions. These methods lack direct motion evidence, and their accuracy may degrade when reconstruction is inaccurate or features are ambiguous. In addition, such uncertainty merely downweights pixels in bundle adjustment (BA), so inaccurate uncertainty estimates can still impair camera pose estimation and 3D reconstruction. Accordingly, we present a monocular RGB SLAM system for dynamic scenes. Specifically, a motion uncertainty estimation method is proposed to derive uncertainty from the residual between optical flow and camera motion induced flow, directly reflecting object motion. The estimation varies with frame alignment accuracy, reducing false detections and yielding accurate pixel-level masks of dynamic regions. To make BA more robust, we estimate camera poses from high confidence pixels. These poses are then used to reproject dynamic pixels during joint refinement of poses and depth, reducing the influence of object motion on both pose and depth updates. Moreover, we provide a quantitative evaluation of dynamic masks and analyze how these masks affect the downstream tracking and reconstruction of dynamic objects. Our approach improves the mean dynamic mask IoU by 35% over a state-of-the-art baseline on DAVIS, and reduces the average ATE by 59% on Bonn and 19% on TUM relative to the SLAM backbone used in our system. The source code will be made publicly available.
Introduction
Monocular simultaneous localization and mapping (SLAM) is a fundamental problem in robotics, with broad applications in autonomous navigation [1], augmented reality [2], and virtual reality [3]. However, dynamic objects disrupt the geometric consistency across views and may introduce erroneous correspondences. Such correspondences degrade camera pose estimation and 3D reconstruction, reducing SLAM accuracy and robustness in real-world scenes. Dynamic environments therefore remain a challenge for reliable SLAM. This paper focuses on monocular SLAM in such environments.
Identifying dynamic objects underpins subsequent camera tracking and 3D scene reconstruction. Moving object segmentation (MOS) models [4], [5], [6] can identify dynamic objects in video, but these models typically have prohibitive inference costs for real-time tasks. Earlier dynamic SLAM methods instead use lightweight semantic segmentation or object detection models [7], [8], [9], which infer motion from
semantic categories rather than actual motion. As a result, they fail to recognize moving objects from unseen classes. For known classes, they may mistake static objects for dynamic ones and moving ones for static. Open-vocabulary segmentation [10] broadens object coverage but leaves this semantic basis unchanged. Figure 1 illustrates the potential errors of the detection-based method NGD-SLAM [11].

Figure 1. Motivation. Dynamic masks and camera localization on the Bonn sequence. (a) RGB image with the ground-truth dynamic mask. (b) NGD-SLAM [11] relies on predefined object classes and misses part of the dynamic region. (c) DROID-W [12] infers motion indirectly from feature inconsistency, producing an incomplete mask and false positives. (d) Our method uses optical flow as direct motion evidence, yielding more accurate masks and reducing ATE by 63.9% and 38.3% compared with NGD-SLAM and DROID-W, respectively.
Recent works [13], [14] estimate per-pixel uncertainty for dynamic regions, independent of object categories. This uncertainty is predicted from DINO [15] features with a shallow multilayer perceptron (MLP), supervised online by the discrepancy between input images and current renderings. The estimates degrade when the map is inaccurate. DROID-W [12] avoids this dependence on reconstruction accuracy by using multiview feature inconsistency. However, the feature inconsistency provides indirect evidence of motion and may be unreliable in semantically complex or weakly textured regions, as shown in the second row of Figure 1.
Optical flow captures interframe motion directly, and several SLAM systems use it to detect dynamic regions [8], [16], [17]. In these systems, however, the flow comes from a dedicated estimator, adding computational overhead and increasing per-frame processing time [18]. In addition, the identification scheme for marking a pixel as dynamic is fixed in advance [16], [19], [20]. Consequently, pose and depth errors may cause static pixels to be misclassified as dynamic.
Apart from dynamic object identification, how the estimated uncertainty is used in optimization also affects system robustness. Existing uncertainty-aware systems [12], [13] apply uncertainty estimates in bundle adjustment (BA) as per-pixel weights, and refine poses and depths jointly under that weighting. However, motion residuals from dynamic pixels that are not fully suppressed still impact both depth estimates and keyframe poses. All pixels are used in BA, so inaccurate uncertainty at any pixel can affect the estimation.
Motivated by the above observations, we present a monocular RGB SLAM system for dynamic scenes built on FLoW-derived uncertainty and Two-Stage optimization (FLoTS-SLAM). Optical flow measures motion directly and is obtained from the existing correspondence predictions of the system tracker without additional computation. To identify dynamic objects accurately, we design a motion uncertainty estimation method based on optical flow residuals. In addition, uncertainty weighting alone may not fully suppress the influence of dynamic pixels on pose and depth estimation, and removing these pixels would reduce the number of constraints for optimization. We therefore perform optimization in two stages to improve robustness. In the first stage, depth is fixed and poses are estimated from high confidence pixels. In the second stage, poses and depth are jointly refined, using the first-stage poses to predict where dynamic pixels would appear if the scene were static. Our main contributions are summarized as follows:
We propose a motion uncertainty estimation method to improve the accuracy of dynamic object identification. It derives uncertainty from the residual between optical flow and camera motion induced flow, and adapts to frame alignment accuracy.
We introduce a two-stage optimization method to reduce the influence of object motion on pose and depth updates, and improve tracking robustness.
We conduct extensive experiments. FLoTS-SLAM attains state-of-the-art camera localization on Bonn and TUM, reducing the average ATE of its DROID-SLAM backbone by 59% and 19%. We also introduce Dynamic Mask IoU (DM-IoU) to quantitatively evaluate dynamic identification across methods. On DAVIS, our method improves the mean DM-IoU by 35% over a state-of-the-art baseline.
We will make the source code publicly available to facilitate future research.
Related Work
Moving Object Segmentation
Moving object segmentation (MOS) aims to identify dynamic objects in a video and produce masks for each frame. Early learning-based methods group pixels whose motion is coherent across frames [21], [22], and later work adds complementary cues such as layered representations, residual-flow modeling, and appearance features [23], [24], [25]. Recent methods instead inherit the generic priors of foundation models [4] or ground segmentation in pretrained 4D geometry [5], [6]. All of them, however, run a dedicated network over a multi-frame window, and their inference costs are prohibitive for real-time systems.
Traditional Dynamic SLAM
Dynamic objects produce correspondences that rigid camera motion cannot explain, degrading camera pose estimation and 3D reconstruction in conventional visual SLAM [26], [27]. Many dynamic SLAM methods therefore detect dynamic regions and exclude them from optimization, reconstructing the static scene alone. Such regions are identified from geometric consistency across frames [28], [29], from semantic priors on movable categories [8], [9], or from a combination of the two. DynaSLAM [7], for instance, segments movable instances with Mask R-CNN [30] and verifies them by multiview reprojection consistency.
Dynamic NeRF- and 3DGS-based SLAM
Recent SLAM methods based on neural radiance fields (NeRFs) [31] and 3D Gaussian Splatting (3DGS) [32] incorporate dynamic region identification to handle moving objects. Dynamic extensions such as PG-SLAM [33], NID-SLAM [34], and SDD-SLAM [35] obtain motion masks from segmentation networks. The masks, however, follow object category rather than observed motion, and cover only the classes the network has seen.
Another group of methods replaces category priors with a per-pixel uncertainty map [36]. WildGS-SLAM [13] and UP-SLAM [14] extend it to SLAM by regressing uncertainty from DINOv2 [15] features, supervised by the discrepancy between the input image and the current rendering. The estimate may degrade when the rendering is inaccurate. DROID-SLAM in the Wild [12] instead derives uncertainty from multiview feature inconsistency, requiring neither a rendered map nor a learned prior. However, all of these methods rely on appearance cues, which provide only indirect evidence of object motion. So our method derives uncertainty from the residual between optical flow and camera motion induced flow, which measures motion directly.
Optimization in Dynamic SLAM
Optimization in dynamic scenes should account for moving objects. Early methods such as DynaSLAM [7] exclude detected dynamic regions from tracking and mapping. DynoSAM [37] jointly estimates camera poses, scene structure, and rigid-object motion within a factor graph. BA-Track [38] learns to isolate camera-induced motion from observed point trajectories, providing correspondences for BA. Recent methods [12], [13] use per-pixel uncertainty to weight residuals during joint pose and depth refinement. However, inaccurate weights may insufficiently suppress motion-induced residuals, compromising estimation accuracy. We therefore introduce a two-stage optimization method for more robust and accurate pose and depth estimation.
Method
System Overview
Figure 2 illustrates the overall architecture of FLoTS-SLAM. Given a monocular RGB sequence, our system estimates camera poses and scene depth for robust tracking and dense reconstruction in dynamic environments (Sec. III-B). To identify moving objects from motion rather than from appearance, we derive motion uncertainty from the residual between optical flow and camera motion induced flow (Sec. III-C). The estimation varies with frame alignment accuracy to reduce false motion detections caused by misalignment. For robust tracking, we perform optimization in two stages, both using the estimated uncertainty (Sec. III-D). The first stage estimates poses from low uncertainty pixels with depths fixed. The second stage jointly refines poses and depths, replacing the correspondence targets of high uncertainty pixels with reprojections computed using the first-stage poses. This reduces the influence of object motion on both pose and depth updates.

Figure 2. System Overview. FLoTS-SLAM takes a sequence of monocular RGB images as input and jointly estimates camera poses and scene geometry. A pre-trained update operator from DROID-SLAM [27] predicts the dense correspondence target and its confidence . DINOv2 [15] extracts the features , and Metric3D [39] predicts the depth prior . All three networks remain frozen. In the uncertainty branch (Sec. III-C), the per-pixel uncertainty is derived from the residual between the optical flow and the camera motion induced flow. The estimated uncertainty varies with the frame alignment accuracy. In the tracking branch (Sec. III-D), the pose is first estimated from low uncertainty pixels with the depths fixed. The high uncertainty pixels are then reprojected using the first-stage pose before joint refinement. The two branches alternate within each Gauss–Newton iteration.
Dense Tracking with Per-Pixel Uncertainty
Differentiable Dense Bundle Adjustment. Given an RGB sequence with each frame of resolution , the tracker maintains a frame graph , where denotes the set of keyframe indices and each edge connects two co-visible keyframes. For each keyframe , the tracker maintains two state variables, a camera pose and an inverse depth map . We denote the sets of these variables by and . For each edge , the current estimates induce the correspondence
where is the image projection function, is the relative transformation from frame to frame , and is the pixel grid of frame . For the same edge, a recurrent update operator with fixed pretrained weights predicts a dense correspondence target together with a diagonal confidence matrix . The target gives the position in frame where each pixel of frame is observed. The states are refined by minimizing
where denotes the Mahalanobis norm that weights each pixel by its confidence. The first term is the dense correspondence objective of DROID-SLAM. Monocular disparity is observable only up to scale. The second term regularizes toward a metric prior from Metric3D [39] with weight , after aligning the prior to the current scale.
Each Gauss–Newton step linearizes (2), yielding
where and are the pose and depth blocks of the approximate Hessian, is the coupling block, and and are the corresponding gradient vectors. and are the pose and inverse depth increments.
Uncertainty-Aware Downweighting. Equation (2) assumes that every residual comes from errors in the estimated camera poses and inverse depths. Moving objects violate this assumption because camera motion alone cannot explain their displacement. Consequently, the solver may incorrectly adjust the camera poses and inverse depths to reduce these motion-induced residuals. Following [12], [13], [18], we attach a per-pixel uncertainty map to each keyframe and collect these maps as . We then define the confidence matrix at each pixel as
where is the uncertainty at pixel of frame and is a monotonically decreasing attenuation function. Pixels with high uncertainty contribute little while remaining in the frame graph.
Motion Uncertainty Estimation
Uncertainty Loss Function. Consider a pixel of source keyframe on an edge . The recurrent update operator gives its correspondence target in keyframe , and (1) gives the correspondence induced by camera motion. The optical flow is and the camera motion induced flow is , and their difference cancels the common source coordinate,
with all quantities indexed on the pixel grid of keyframe . The residual represents the component of pixel displacement unexplained by camera motion and scene depth. It decreases on the static background as the optimization converges, but persists on moving objects. Writing for its magnitude, we estimate using an uncertainty loss motivated by a Gaussian negative log-likelihood,
where adaptively transforms the residual magnitude to control its contribution to the uncertainty loss. The second term is a regularizer that prevents the trivial minimum at and drives toward the residual level of the pixel.
Directly using the squared residual in the uncertainty loss would be unreliable in early iterations. Errors in the estimated camera poses and inverse depths dominate the residual, and static pixels exhibit large residuals. These large residuals raise the estimated uncertainty of many static pixels. The attenuation in (4) then suppresses correspondences needed for convergence. Both the residual and the suppression would persist. We therefore adapt to frame alignment accuracy,
where is the median of over all pixels in the current optimization window, and is the alignment level of the transition. While the alignment is poor, approaches zero and the logarithm compresses the residual, so a misaligned pixel is not classified as dynamic. As the alignment improves, approaches one and approaches . When static pixels account for a substantial proportion of the residual samples, the median can indicate background alignment.
The cost treats each pixel independently and lacks object-level coherence. We complement it with the DINOv2-based feature-consistency cost [12], replacing its similarity threshold with weighting so that the uncertainty varies continuously with the feature similarity. The total uncertainty cost is
where weights the feature-consistency term, while weights the flow-residual term.
Regularization and Optimization. Directly optimizing per-pixel uncertainty can overfit residual noise and produce spatially inconsistent maps. Following [12], we instead predict the uncertainty at each pixel from its DINOv2 feature through a shared head, . The head is an affine map followed by an offset softplus, which keeps bounded away from zero. The parameters are shared across the sequence, encouraging consistent uncertainty predictions for pixels with similar DINOv2 features.
To keep the uncertainty consistent with the latest camera poses and inverse depths, we alternate between updating the geometric variables and updating the uncertainty prediction head at every iteration [12]. Each Gauss–Newton step updates the camera poses and inverse depths using the objective , while keeping the uncertainty maps fixed. A gradient step then updates the head parameters using the objective , while keeping and fixed.
Two-Stage Optimization with Dynamic-Pixel Re-Anchor
Uncertainty maps are not always exact, so the uncertainty attenuation may not fully suppress the residuals of dynamic pixels. Because object motion induces coherent pixel displacements, these residuals are systematic offsets rather than zero-mean noise. Least squares does not suppress such offsets. Under the reprojection geometry, these residuals decompose into an epipolar component, absorbed by the inverse depth of the pixel, and a perpendicular component, which biases the keyframe pose shared by all pixels. The depth error persists and can impact pose estimates on edges with a different baseline, through the coupling in . So a high uncertainty pixel should not update the shared pose and the per-pixel depths simultaneously. We thus optimize in two stages: pose estimation and joint refinement.
Stage I: Pose Estimation from Low Uncertainty Pixels. Let denote the set of pixels whose uncertainty falls in the lowest quantile of , which are the pixels most likely to be static. Stage I estimates the camera poses from alone, with all inverse depths held fixed,
where is the confidence predicted by the update operator, used here without uncertainty attenuation. In Stage I, uncertainty is used to select , while the selected residuals retain their original confidence weights without further uncertainty attenuation. We restrict to pixels with the lowest uncertainty to reduce the risk of including dynamic pixels. Holding the depths fixed sets and reduces the normal equations to , so the selected pixels constrain only the pose rather than both the pose and their own geometry. Stage I imposes a less stringent requirement on than uncertainty attenuation. It need not be accurate everywhere, only accurate enough to exclude dynamic pixels from the lowest quantile. The result is not the final pose, but a reference pose obtained without any contribution from the moving parts of the scene.
Stage II: Dynamic-Pixel Re-Anchoring. Stage II refines the poses and the inverse depths jointly over all pixels, using the uncertainty weights and with as the initial pose. Down-weighting leaves the correspondence target of a high uncertainty pixel unchanged, so the solver can still adjust the inverse depth of that pixel toward a target that camera motion cannot explain. We therefore replace the target itself, and refer to this replacement as dynamic-pixel re-anchoring. Let denote the set of pixels whose uncertainty falls in the highest quantile of . For these pixels, the correspondence target is replaced by the prediction of the reference pose,
where is the correspondence predicted by the reference pose and the depths that Stage I held fixed. It is computed once and then remains fixed throughout Stage II. With the modified targets and uncertainty weights, Stage II jointly optimizes the poses and inverse depths,
Intuitively, a re-anchored pixel is matched not to where it was observed, but to where it would have appeared if the scene were static.
The re-anchored residual vanishes at the reference state, where and . Consequently, this residual does not affect the gradient vectors and when the objective is linearized at this state. This removes the gradient that object motion would otherwise contribute to the shared pose and to the inverse depth of the pixel. The re-anchored residual term still contributes to the approximate Hessian blocks , , and , retaining a local quadratic constraint around the reference state during joint refinement.
Conditions for Re-Anchoring. Re-anchoring inherits all errors in , so two conditions decide whether it is applied. The first compares the departure of the correspondence targets from the reference-pose prediction on and on . We apply re-anchoring only when the discrepancy is substantially greater for than for . A weak contrast indicates either no distinct object motion or an insufficiently accurate . The second concerns online tracking, where corrections with consistent directions accumulate along the trajectory. During a warm-up phase we compare the camera centers obtained with and without re-anchoring. Once the corrections are directionally consistent, we re-anchor only in the final global adjustment. When re-anchoring is not applied, Stage II keeps the original targets .
Experiments
Datasets. We evaluate on three public benchmarks. The Bonn RGB-D Dynamic dataset [29] and the dynamic sequences of TUM RGB-D [41] assess camera localization robustness under moving foreground interference. DAVIS [42] provides pixel-level annotations of moving objects for evaluating the quality of the predicted dynamic masks.
Baselines. We compare with baselines from four categories: (a) semantic-/geometry-based dynamic SLAM: DynaSLAM (N+G) [?]; (b) general-purpose deep SLAM: DROID-SLAM [27]; (c) dynamic Gaussian-splatting SLAM: DG-SLAM [43], UP-SLAM [?], ADD-SLAM [44], Flow4DGS-SLAM [45], and WildGS-SLAM [?]; (d) robust dynamic-scene methods: DynaMoN (MS&SS) [?] and DROID-W [?]. We also include MonST3R [40] as a feed-forward baseline.
Metrics. We evaluate the accuracy of dynamic object identification and camera localization, as well as processing speed. For localization, we report the Absolute Trajectory Error (ATE RMSE) [41] after Sim(3) alignment. For efficiency, we report frames per second (FPS). We introduce Dynamic Mask IoU (DM-IoU) as the spatial agreement between predicted and ground-truth dynamic masks,
where and denote predicted and ground-truth masks. A high DM-IoU requires both complete coverage and low background contamination.
| Type | Seq. | MonST3R | WildGS SLAM | DROID W | Ours |
| Animals | camel | 0.23 | 0.00 | 0.66 | 0.74 |
| Animals | cows | 0.04 | 0.27 | 0.75 | 0.84 |
| Animals | koala | 0.13 | 0.36 | 0.76 | 0.59 |
| Animals | mean | 0.13 | 0.21 | 0.73 | 0.72 |
| Pedestrians | drone | 0.47 | 0.32 | 0.36 | 0.75 |
| Pedestrians | lucia | 0.78 | 0.19 | 0.64 | 0.69 |
| Pedestrians | color-run | 0.47 | 0.31 | 0.55 | 0.68 |
| Pedestrians | mean | 0.57 | 0.27 | 0.51 | 0.71 |
| Human Motion | dance-twirl | 0.60 | 0.48 | 0.70 | 0.70 |
| Human Motion | lindy-hop | 0.34 | 0.47 | 0.66 | 0.74 |
| Human Motion | shooting | 0.67 | 0.42 | 0.11 | 0.72 |
| Human Motion | mean | 0.54 | 0.46 | 0.49 | 0.72 |
| Wheel. Board | longboard | 0.38 | 0.47 | 0.75 | 0.84 |
| Wheel. Board | mbike-trick | 0.60 | 0.61 | 0.40 | 0.59 |
| Wheel. Board | horsejump-h | 0.76 | 0.71 | 0.55 | 0.70 |
| Wheel. Board | mean | 0.58 | 0.60 | 0.57 | 0.71 |
| Vehicles | car-round | 0.70 | 0.21 | 0.10 | 0.84 |
| Vehicles | night-race | 0.13 | 0.17 | 0.38 | 0.78 |
| Vehicles | car-turn | 0.61 | 0.38 | 0.73 | 0.72 |
| Vehicles | mean | 0.48 | 0.25 | 0.40 | 0.78 |
| Overall Mean | 0.46 | 0.36 | 0.54 | 0.73 |
Table 1. Quantitative comparison of DM-IoU on DAVIS scene types.
Evaluation of Dynamic Masks
We compare dynamic-mask predictions on the Bonn, TUM RGB-D, and DAVIS datasets in Figure 3. MonST3R sometimes misses parts of moving objects, while WildGS-SLAM may produce imprecise responses under complex appearance or rapid motion. DROID-W better identifies the main moving objects but still responds to visually distinctive static structures and provides incomplete object coverage. By incorporating an optical-flow motion residual into uncertainty estimation, our method suppresses these background responses while producing more complete object regions and sharper boundaries. This advantage holds not only in the indoor pedestrian scenes of Bonn and TUM but also generalizes to the objects and motion patterns in DAVIS, including animals, vehicles, and non-rigid human motion.

Figure 3. Qualitative comparison of dynamic mask predictions on the Bonn, TUM-RGBD, and DAVIS datasets. The rows show, from top to bottom, the input RGB frame and the predictions of MonST3R [40], WildGS-SLAM [13], DROID-W [12], and FLoTS-SLAM. The left four columns are indoor scenes from Bonn and TUM-RGBD, and the right five columns are DAVIS sequences. Our method produces spatially coherent masks with sharper boundaries while suppressing false responses.
DAVIS provides pixel-level ground-truth masks, enabling quantitative evaluation via DM-IoU. For further analysis, we divide the sequences into five categories (Animals, Pedestrians, Human Motion, Wheeled and Board Devices, Vehicles) and report per-category results. Our method achieves the best overall DM-IoU and leads in most categories, performing particularly well on human-motion and vehicle scenes. These results confirm the generalization of the proposed uncertainty estimation across diverse dynamic scenes.
Impact of Dynamic-Mask Accuracy on Downstream Tasks
We evaluate how dynamic-mask accuracy affects dynamic-object tracking and reconstruction. To isolate mask quality, all methods use the same downstream pipeline. For tracking, Mask R-CNN [30] identifies instances from the binary dynamic masks, and Hungarian matching associates them across frames.
In tracking, false positives create spurious tracks on static objects, while incomplete masks break tracks of moving objects. In Figure 4, DROID-W tracks stationary tables and monitors but loses continuity on people, whereas our masks preserve stable identities for moving people. In reconstruction, false positives assign static geometry to the dynamic layer, leaving gaps in the static scene, while missed dynamic regions yield incomplete object geometry. In Figure 5, DROID-W reconstructs walls and desks as dynamic objects and recovers only partial human geometry, whereas our method produces compact dynamic-object reconstructions with minimal background contamination. So dynamic-mask accuracy is critical for downstream scene understanding.

Figure 4. Impact of dynamic masks on downstream object tracking. Each method’s mask determines which objects a tracker follows as dynamic (same color = same track ID). Our masks consistently track moving people, while DROID-W responds to static furniture and loses continuity on actual movers.

Figure 5. Impact of dynamic masks on downstream 3D reconstruction. All pixels are back-projected using monocular depth. The static background is shown in gray, while dynamic regions are colored. Our more complete masks reduce spurious background geometry, resulting in more accurate reconstructions.
Evaluation of Camera Tracking Performance
We evaluate camera-tracking accuracy on the Bonn RGB-D Dynamic dataset and on the dynamic sequences of TUM RGB-D, reporting the ATE RMSE in centimeters after alignment in Table II. Baseline results for individual sequences are taken from DROID-W [12] where available. The remaining reported baseline results are obtained from our own runs.
Bonn. Our method attains the lowest average ATE of 2.06 cm, ahead of the strongest RGB-only baselines DROID-W (2.23) and WildGS-SLAM (2.44), and ranks first or tied-first on seven of the nine sequences. Despite using only monocular RGB input, our method achieves lower average ATE than the depth-aided DynaSLAM (N+G) (6.04 cm). The gains are largest where a prominent moving foreground coexists with sufficient static structure, so that the two-stage optimization obtains an accurate reference pose and re-anchoring is effective. On sequences where the two tests are not satisfied, re-anchoring is disabled and the tracker preserves the two-stage accuracy without degradation.
TUM. Our method again obtains the lowest average ATE of 1.32 cm, ahead of DROID-W (1.37) and WildGS-SLAM (1.52). As expected, the margins are smaller, because one or two walkers in a largely static indoor scene leave the optimization with abundant static constraints even under uncertainty down-weighting alone.
Ablation Study
We ablate each component on nine Bonn sequences and report the results in Table III. Removing any component leads to higher camera-tracking errors. Disabling uncertainty estimation in BA causes the most significant performance degradation, demonstrating the importance of suppressing inconsistent correspondences in dynamic regions. Removing the re-anchoring conditions, the two-stage optimization, or the dynamic-pixel re-anchoring also consistently degrades tracking performance, indicating that these components jointly improve robustness by providing an accurate reference pose and reducing the influence of object motion on pose optimization. For the experiments e. w/ DROID-W
| Method | \multicolumn{10}{c | }{Bonn RGB-D Dynamic} | \multicolumn{10}{c | }{TUM RGB-D} | ||||||||||||||||
| Bal. | Bal.2 | Cro. | Cro.2 | Cro.3 | Per. | Per.2 | Mov. | Mov.2 | Avg. | f2/dp | f3/ss | f3/sx | f3/sr | f3/shs | f3/ws | f3/wx | f3/wr | f3/whs | Avg. | |
| RGB-D | ||||||||||||||||||||
| DynaSLAM(N+G) | 3.0 | 2.9 | 1.6 | 3.1 | 2.7 | 6.1 | 7.8 | 23.2 | 3.9 | 6.04 | 0.7 | 0.5 | 1.5 | 2.7 | 1.7 | 0.6 | 1.5 | 3.5 | 2.5 | 1.69 |
| DG-SLAM | 3.7 | 4.1 | – | – | – | 4.5 | 6.9 | – | 3.5 | – | 3.2 | – | 1.0 | – | – | 0.6 | 1.6 | 4.3 | – | – |
| UP-SLAM | 2.8 | 2.7 | – | – | – | 4.0 | 3.6 | – | 3.2 | – | 1.3 | – | 0.9 | – | – | 0.7 | 1.6 | – | 2.6 | – |
| ADD-SLAM | 2.7 | 2.3 | – | – | – | 2.4 | 3.7 | – | 2.1 | – | – | – | – | – | 1.3 | 0.5 | 1.4 | – | 1.6 | – |
| Flow4DGS | 2.6 | 3.4 | 2.0 | 2.8 | 2.1 | 7.2 | 10.8 | 3.9 | 4.3 | 4.33 | – | 0.7 | 5.0 | 1.8 | 2.4 | 0.5 | 3.6 | 2.5 | 4.8 | – |
| RGB-only | ||||||||||||||||||||
| MonST3R | 7.2 | 6.0 | 6.6 | 6.9 | 4.7 | 9.8 | 16.1 | 3.5 | 6.7 | 7.50 | 33.9 | 0.8 | 28.3 | 5.1 | 36.8 | 1.6 | 19.1 | 16.6 | 32.8 | 19.44 |
| DROID-SLAM | 7.5 | 4.1 | 5.2 | 6.5 | 6.4 | 4.3 | 5.4 | 2.3 | 4.0 | 5.08 | 0.6 | 0.5 | 0.9 | 2.2 | 1.4 | 1.2 | 1.6 | 4.0 | 2.2 | 1.62 |
| DynaMoN | 2.8 | 2.7 | 3.5 | 2.8 | 2.9 | 14.8 | 2.2 | 1.3 | 2.7 | 3.96 | 0.7 | 0.5 | 0.9 | 2.4 | 2.3 | 0.7 | 1.4 | 3.9 | 1.9 | 1.63 |
| WildGS | 2.8 | 2.4 | 1.6 | 2.2 | 1.8 | 3.9 | 3.1 | 1.7 | 2.5 | 2.44 | 1.4 | 0.5 | 0.8 | 2.4 | 2.0 | 0.4 | 1.3 | 3.3 | 1.6 | 1.52 |
| DROID-W | 2.6 | 2.5 | 1.3 | 1.8 | 1.8 | 3.3 | 2.9 | 1.6 | 2.3 | 2.23 | 1.1 | 0.5 | 0.8 | 2.1 | 1.4 | 0.5 | 1.2 | 3.1 | 1.6 | 1.37 |
| Ours | 2.4 | 2.1 | 1.2 | 1.8 | 1.6 | 3.1 | 2.4 | 1.6 | 2.3 | 2.06 | 1.0 | 0.5 | 0.8 | 2.2 | 1.3 | 0.5 | 1.2 | 2.8 | 1.6 | 1.32 |
Table 2. Camera tracking results (ATE RMSE [cm]) on the Bonn RGB-D Dynamic dataset and TUM RGB-D dynamic sequences.
| Configuration | ATE RMSE [cm] |
| a. w/o uncertainty in BA | 3.62 |
| b. w/o re-anchoring conditions | 2.37 |
| c. w/o two-stage optimization | 2.29 |
| d. w/o dynamic-pixel re-anchoring | 2.23 |
| e. w/ DROID-W uncertainty estimator | 2.16 |
| Full (Ours) | 2.06 |
Table 3. Ablation study on the Bonn RGB-D Dynamic dataset.
| Dataset | DynaMoN | WildGS-SLAM | DROID-W | Ours |
| Bonn | 2.4 | 0.3 | 12.2 | 11.5 |
| TUM | 2.3 | 0.3 | 14.4 | 13.0 |
Table 4. Runtime comparison in frames per second (FPS).
uncertainty estimator, we replace our uncertainty estimator with that of DROID-W while retaining the two-stage optimization and conditional re-anchoring.
Runtime Analysis
All runtime experiments are conducted on a single NVIDIA RTX 4090 GPU and a 96-core CPU, with the results reported in Table IV. The reported tracking time includes monocular depth estimation and DINOv2 feature extraction. FLoTS-SLAM incurs a modest additional cost due to the pose-only solve in the first optimization stage and the two re-anchoring tests. Nevertheless, it maintains a processing rate above 10 FPS on both datasets, achieving a favorable balance between robustness and efficiency.
Conclusion
In this paper, we propose FLoTS-SLAM, a monocular RGB SLAM system for accurate dynamic object identification and robust camera tracking in dynamic environments. Our method derives motion uncertainty from optical flow residuals and adapts this estimation to frame alignment accuracy to improve dynamic object identification. A two-stage optimization method with dynamic-pixel re-anchoring reduces the influence of object motion on pose and depth updates, thereby improving tracking robustness. On DAVIS, FLoTS-SLAM improves the mean DM-IoU by approximately 35% over a state-of-the-art baseline. In addition, FLoTS-SLAM reduces the average ATE by approximately 59% on Bonn and 19% on TUM relative to the DROID-SLAM used in our system.
References
References
- [20]X. Yu et al., “D3FlowSLAM: Self-supervised dynamic SLAM with flow motion decomposition and DINO guidance,” Neurocomputing, vol. 677, May 2026, Art. no. 133023.DOI
- [21]C. Yang, H. Lamdouar, E. Lu, A. Zisserman, and W. Xie, “Self-supervised video object segmentation by motion grouping,” in Proc. IEEE/CVF Int. Conf. Comput. Vis., Montreal, QC, Canada, 2021, pp. 7157–7168.arxiv.org/abs/2104.07658
- [22]A. Dave, P. Tokmakov, and D. Ramanann, “Towards segmenting anything that moves,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. Workshops, Seoul, South Korea, 2019, pp. 1493–1502.arxiv.org/abs/1902.03715
- [23]J. Xie, W. Xie, and A. Zisserman, “Segmenting moving objects via an object-centric layered representation,” in Proc. Adv. Neural Inf. Process. Syst., vol. 35, 2022, pp. 28023–28036.arxiv.org/abs/2207.02206
- [24]L. Lian, Z. Wu, and S. Xu, “Bootstrapping objectness from videos by relaxed common fate and visual grouping,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., Vancouver, BC, Canada, 2023, pp. 14582–14591.arxiv.org/abs/2304.08025
- [25]S. Cho et al., “Dual prototype attention for unsupervised video object segmentation,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., Seattle, WA, USA, 2024, pp. 19238–19247.arxiv.org/abs/2211.12036
- [26]R. Mur-Artal, J. M. Montiel, and J. D. Tardós, “ORB-SLAM: A versatile and accurate monocular SLAM system,” IEEE Trans. Robot., vol. 31, no. 5, pp. 1147–1163, Oct. 2015.
- [27]T. Teed and D. Deng, “DROID-SLAM: Deep visual SLAM for monocular, stereo, and RGB-D cameras,” in Proc. Adv. Neural Inf. Process. Syst., vol. 34, 2021, pp. 16558–16569.
- [28]R. Scona, M. Jaimez, Y. R. Petillot, M. Fallon, and D. Cremers, “StaticFusion: Background reconstruction for dense RGB-D SLAM in dynamic environments,” in Proc. IEEE Int. Conf. Robot. Autom., Brisbane, QLD, Australia, 2018, pp. 3849–3856.DOI
- [29]E. Palazzolo, J. Behley, P. Lottes, P. Giguère, and C. Stachniss, “ReFusion: 3D reconstruction in dynamic environments for RGB-D cameras exploiting residuals,” in Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst., Macau, China, 2019, pp. 7855–7860.arxiv.org/abs/1905.02082
- [30]K. He, G. Gkioxari, P. Dollár, and R. Girshick, “Mask R-CNN,” in Proc. IEEE Int. Conf. Comput. Vis., Venice, Italy, 2017, pp. 2961–2969.
- [31]B. Mildenhall, P. P. Srinivasan, M. Tancik, J. T. Barron, R. Ramamoorthi, and R. Ng, “NeRF: Representing scenes as neural radiance fields for view synthesis,” in Proc. Eur. Conf. Comput. Vis., 2020, pp. 405–421.arxiv.org/abs/2003.08934
- [32]B. Kerbl, G. Kopanas, T. Leimkühler, and G. Drettakis, “3D Gaussian splatting for real-time radiance field rendering,” ACM Trans. Graph., vol. 42, no. 4, Art. no. 139, pp. 1–14, Aug. 2023.
- [33]H. Li, X. Meng, X. Zuo, Z. Liu, H. Wang, and D. Cremers, “PG-SLAM: Photorealistic and geometry-aware RGB-D SLAM in dynamic environments,” IEEE Trans. Robot., vol. 41, pp. 6084–6101, Oct. 2025.arxiv.org/abs/2411.15800
- [34]Z. Xu, J. Niu, Q. Li, T. Ren, and C. Chen, “NID-SLAM: Neural implicit representation-based RGB-D SLAM in dynamic environments,” in Proc. IEEE Int. Conf. Multimedia Expo, Niagara Falls, ON, Canada, 2024, pp. 1–6.arxiv.org/abs/2401.01189
- [35]H. Liu et al., “SDD-SLAM: Semantic-driven dynamic SLAM with Gaussian splatting,” IEEE Robot. Autom. Lett., vol. 10, no. 6, pp. 5721–5728, Jun. 2025.DOI
- [36]W. Ren, Z. Zhu, B. Sun, J. Chen, M. Pollefeys, and S. Peng, “NeRF on-the-go: Exploiting uncertainty for distractor-free NeRFs in the wild,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., Seattle, WA, USA, 2024, pp. 8931–8940.arxiv.org/abs/2405.18715
- [37]J. Morris, Y. Wang, M. Kliniewski, and V. Ila, “DynoSAM: Open-source smoothing and mapping framework for dynamic SLAM,” IEEE Trans. Robot., vol. 42, pp. 1178–1197, 2026.arxiv.org/abs/2501.11893
- [38]W. Chen et al., “Back on track: Bundle adjustment for dynamic scene reconstruction,” in Proc. IEEE/CVF Int. Conf. Comput. Vis., 2025, pp. 4951–4960.
- [39]M. Hu et al., “Metric3D v2: A versatile monocular geometric foundation model for zero-shot metric depth and surface normal estimation,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 46, no. 12, pp. 10579–10596, Dec. 2024.DOI
- [40]J. Zhang et al., “MonST3R: A simple approach for estimating geometry in the presence of motion,” in Proc. Int. Conf. Learn. Represent., 2025.arxiv.org/abs/2410.03825
- [41]J. Sturm, N. Engelhard, F. Endres, W. Burgard, and D. Cremers, “A benchmark for the evaluation of RGB-D SLAM systems,” in Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst., Vilamoura, Portugal, 2012, pp. 573–580.DOI
- [42]E. Perazzi, J. Pont-Tuset, B. McWilliams, L. Van Gool, M. Gross, and A. Sorkine-Hornung, “A benchmark dataset and evaluation methodology for video object segmentation,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2016, pp. 724–732.DOI
- [43]Y. Xu, H. Jiang, Z. Xiao, J. Feng, and L. Zhang, “DG-SLAM: Robust dynamic Gaussian splatting SLAM with hybrid pose optimization,” in Proc. Adv. Neural Inf. Process. Syst., vol. 37, 2024, pp. 51577–51596.arxiv.org/abs/2411.08373
- [44]W. Wu, C. Su, S. Zhu, T. Deng, Z. Liu, and H. Wang, “ADD-SLAM: Adaptive dynamic dense SLAM with Gaussian splatting,” 2025, arXiv:2505.19420v1.
- [45]Y. Wang and G. H. Lee, “Flow4DGS-SLAM: Optical flow-guided 4D Gaussian splatting SLAM,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit., 2026, pp. 33364–33373.arxiv.org/abs/2604.22339