arXiv:2610.23496cs.ROOct 2026

Manuscript Offprint

arXiv:2610.23496

FLoTS-SLAM: Optical Flow-Derived Uncertainty for Monocular Dynamic SLAM with Two-Stage Optimization

Haorui Du, Lipu Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Haorui Du 1^{1}, Lipu Zhou ∗1^{*1}

Abstract—Monocular simultaneous localization and mapping (SLAM) remains challenging in dynamic environments. Thus, 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.

I. 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

Figure

Figure

(a) Ground Truth

(b) NGD-SLAM

(c) DROID-W

(d) Our Method

Fig. 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.

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. Fig. 1 illustrates the potential errors of the detection-based method NGD-SLAM [11].

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 Fig. 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

∗^{*}Corresponding author.

1^{1}The authors are with the School of Instrument Science and Optoelectronics Engineering, Beihang University, Beijing 100191, China (e-mail: duhr_buaa@buaa.edu.cn, zhoulipu@buaa.edu.cn).

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.

References (45)