Certified Frames, Deferred Questions: Selective Prediction for Dynamic Visual SLAM

A camera-based mapping and tracking system (visual SLAM, short for simultaneous localization and mapping) assumes that whatever moves in the image moves because the camera moved. When a person walks across the view, that assumption breaks. Current systems guess which pixels belong to moving things and keep going, and when the guess is wrong the trajectory drifts without any warning. We propose giving the tracker an explicit "I can't vouch for this frame" option with a statistical guarantee. The tracker certifies only those frames whose motion estimate is very likely within a tolerance. The frames it refuses to certify almost always come down to one small yes/no question: is this image region static or moving? That question goes to a remote human, who answers asynchronously. While the robot waits for the answer, it keeps tracking under both possible answers at once, so the human's seconds-long response time never stalls a 30 Hz camera loop.

The opportunity is that three separate literatures each hold one piece. Selective prediction gives risk-controlled abstention, but only for 0/1 classification. Dynamic SLAM has fast segmentation and geometric checks that fail silently. Human-in-the-loop work has ways to hide human latency, but only for offline or discrete-labeling settings. The piece that ties them together is a reduction. A continuous pose error becomes a binary "bad frame" event, so classical selective-classification bounds apply. The resulting abstentions are binary questions about image segments, which makes speculating on the human's answer cheap.

Core Claim

We claim three things. First, a dynamic SLAM front-end can attach a calibrated reject option to each frame's relative pose. The guarantee has the form "among frames we certify, the fraction whose relative pose error exceeds τ is at most r* with confidence 1−δ." Second, a cheap single-pass ambiguity score, escalated to multi-sample uncertainty only inside a narrow band of scores, gives most of the coverage at close to single-pass frame rates. Third, sending the residual ambiguity to a human as a binary static/dynamic question, while carrying both hypotheses forward, cuts trajectory error on the hardest dynamic sequences below what fully autonomous dynamic SLAM achieves. It does this at a query rate of a few questions per minute and with no added tracking stalls.

The formal device is simple. Let $e_t$ be the relative pose error of frame $t$ against motion-capture ground truth, and let $E_t = \mathbf{1}[e_t > \tau]$ mark a "bad frame." Given a selection function $g_t \in \{0,1\}$, we control the selective risk

$$R(g) = \Pr(E_t = 1 \mid g_t = 1),$$

the probability that a frame we certified was in fact bad. Because $E_t$ is a 0/1 loss, the binomial-inversion bound behind the guaranteed-risk algorithm of Selective Classification for Deep Neural Networks applies directly. That paper calibrates an abstention threshold on held-out data so that test error stays below r* with high probability, and it does so only for i.i.d. image classification. The research file flags extending such guarantees to geometric tracking as open. The new technical problem is that consecutive frames are strongly correlated, so a naive per-frame bound overstates the effective sample size. We calibrate on whole held-out sequences and count non-overlapping time blocks rather than frames as the unit of the bound. Within each block we use the worst frame. Whether this blocked bound holds empirically under leave-one-sequence-out testing is itself a result we will report.

Research Program

The base tracker is a feature-based dynamic SLAM pipeline in the style of SLAM2 and DM-SLAM. Both detect a priori movable objects with a single-pass network and then check with geometry (optical flow, epipolar constraints, reprojection offsets) whether those objects actually move, which avoids discarding parked cars or seated people. They supply our method. Neither exposes any notion of confidence, and both commit hard per-frame decisions. We keep their machinery and expose its internal disagreements as signals.

The first component is the ambiguity score and the uncertainty cascade. For each frame we compute single-pass signals at negligible cost. These are the detector's softmax confidence on movable segments, the geometric motion-test statistic per segment, the inlier ratio of the pose solve, and the change in pose when the most ambiguous segment is toggled between included and excluded. That last signal is a direct, deterministic measure of how much the pose depends on one unresolved binary decision. A small model maps these signals to a score. Only frames whose score falls in an intermediate band trigger the expensive estimator: N Monte Carlo dropout passes of the segmentation head, following the variational interpretation of Gal et al.. Unconditional sampling multiplies cost by N, which a 12–30 Hz loop cannot absorb. AdaNSP used dropout variance to decide when a semantic parser should "ponder" and reported the repeated passes as a real training and inference cost. We adopt its conditional-compute idea but apply sampling only where a cheap score has already flagged doubt. The guaranteed-risk calibration is applied to the cascade's final score, so the guarantee covers the whole pipeline, not one stage.

The second component is query formation. When a frame is not certified, the system identifies the k segments (typically one or two) whose static/dynamic status most changes the pose. The question sent to the operator is a short clip with those segments highlighted: "moving or still?" Human-in-the-Loop SLAM lets operators add geometric constraints to a 2D laser factor graph and cut translational error from 2.71 m to 0.04 m. It motivates human correction but works offline after the run, needs expectation-maximization to snap noisy clicks to sensor data, and took under 15 minutes for a 1 km map. Our question requires no geometry from the human, and it is asked while the robot is still moving.

The third component is speculative branching. While the question is pending, the tracker maintains up to $2^k$ pose hypotheses, one per assignment of the queried segments, and propagates each with ongoing frames. The idea comes from Regol et al., who hide model computation behind human labeling time by computing the next query for each likely answer in advance. They note that look-ahead becomes loose and needs subsampling for multiclass labels. Our binary, small-k questions are close to the best case for that technique. When the answer arrives, the matching branch is kept and the others are discarded. This reversal of a past data association echoes the sliding-window method of SLAMIDE, which reverses associations but pays a drop from 30 Hz to 3 Hz to do it. If no answer arrives within a timeout, the system falls back to the autonomous choice and marks the interval uncertified. On the operator side we assume a retainer-style standby pool. Guardian recalled 75% of retained workers within 3 seconds, which sets our default simulated latency distribution.

Baselines

The naive reference point is ORB-SLAM3 with only its built-in outlier rejection. It is the "do nothing about dynamics" system. Reported numbers are 70.7 cm ATE on Bonn Ps_track according to UP-SLAM and 0.231 m RMSE on TUM w/half according to SLAM2. We rerun it on our hardware to confirm.

The strongest autonomous competitors are SLAM2 and UP-SLAM. SLAM2 reports 0.018 m RMSE on TUM w/half at 12.7 fps and an average 27.3% RMSE reduction over the next-best method on Bonn. UP-SLAM is a Gaussian-splatting tracker that masks open-set dynamic content using rendering residuals across color, depth and DINOv2 features. It reports 4.0 cm ATE on Bonn Ps_track at 12 Hz and acknowledges failure when fast objects appear during initialization. These are the right opponents because they define how well a fully autonomous system does today on exactly our benchmarks. If our human-assisted system cannot beat them, the human channel is not earning its cost. We run both from released code where available, on the same GPU and sequences. Where we cannot reproduce their numbers, we report both their published figures and ours. Beating them means lower ATE on the hardest Bonn and TUM walking sequences, and on our curated fast-initialization clips, at a stated query budget (for example, at most six questions per minute), with tracking frame rate within 10% of our base tracker's.

For the selective-prediction claim the right baseline is not another SLAM system. It is the same tracker with the guaranteed-risk calibration applied to a single deterministic score. We test the inlier ratio alone, the softmax response alone, and UP-SLAM's residual uncertainty thresholded into a reject option. Selective Classification for Deep Neural Networks found softmax response matching or beating MC dropout on ImageNet, for example reaching 2% top-5 error at about 60% coverage. So a deterministic score is a serious contender. Beating it means higher certified coverage at equal r* and δ, with the guarantee still holding.

Two ablations isolate the key ingredients. The first removes speculative branching: the system either stalls until the answer arrives or proceeds on the autonomous guess and patches the pose afterwards. This isolates the latency-hiding contribution. The second replaces the human with delayed automatic resolution, choosing the branch that best explains the next few seconds of frames. This isolates whether the human adds information at all.

Why not just…?

Why not just rely on RANSAC and robust losses? When moving objects fill much of the view, the consensus flips onto the moving object and the static scene is rejected as outliers, as shown by RGB-D SLAM in Dynamic Environments Using Point Correlations. The 70.7 cm versus 4.0 cm gap on Bonn Ps_track quantifies the damage. The naive baseline is in our tables so this remains checked rather than assumed.

Why not just threshold a deterministic score and skip the stochastic stage? This is a real threat, and we treat it as a hypothesis to test rather than a strawman. The softmax-response result above suggests sampling is often wasted. Our cascade only spends samples in a band of scores, and the deterministic-only calibrated baseline is run head to head. If its risk–coverage curve matches the cascade's, we drop the stochastic stage and report that sampling is unnecessary even here. That would be a useful negative result, and the rest of the proposal survives it. Evidence that sampling helps elsewhere is indirect: AdaNSP's ablation lost 2.8–2.9 points without uncertainty-driven pondering, and Vandoni et al. raised pedestrian-detection AUPRC from 0.90 to 0.92 by fusing dropout samples. Neither tests geometric tracking.

Why not just wait for more frames and let the tracker resolve ambiguity itself? This is the most serious alternative. Many "is it moving?" questions resolve themselves within a second as parallax grows, which is exactly the delayed-commitment logic of SLAMIDE. Our second ablation implements it using the same branches. The human is only justified on cases where later evidence does not disambiguate: an object that stays still and then moves, or a person moving in step with the camera. The file identifies such semi-static transitions as open problems for SLAM2 and SLAMIDE-style temporal models. If automatic resolution matches human resolution on ATE, we will state that the human channel is unnecessary and the contribution reduces to calibrated certification plus speculative branching.

Why not just mask every movable class? DM-SLAM and SLAM2 both show this over-clears and starves the tracker of stable features, and UP-SLAM notes that closed-vocabulary detectors miss unseen moving categories. Our base tracker already includes geometric verification, so this variant appears only as a reference row.

Proposed Experiments

We evaluate on the TUM RGB-D walking and sitting sequences and on the Bonn RGB-D dynamic dataset. Both provide motion-capture ground truth, which gives per-frame relative pose error and therefore the bad-frame labels. Calibration uses leave-one-sequence-out splits so that no test sequence ever informs its own threshold. We add a curated set of clip starts in which fast-moving people are present in the first frames, targeting the initialization failure UP-SLAM reports. KITTI odometry is a secondary outdoor check with moving cars and cyclists, though its ground truth is sparser per frame. The file gives no per-sequence numbers for KITTI, so there we report only our own reruns.

The first decisive check concerns the guarantee. Across held-out sequences, the realized selective risk on certified frames should stay below r for the targeted fraction of trials, for several τ and r. We report coverage alongside, and compare the blocked bound against a naive per-frame bound. We expect the per-frame bound to be violated because of temporal correlation. If the blocked bound also fails, the guarantee claim fails, and we will say so.

The second check concerns the cascade's cost. We report the fraction of frames that trigger sampling, end-to-end frame rate, and risk–coverage curves against the deterministic-only and always-sample variants. Success means coverage close to always-sample at a frame rate close to deterministic-only.

The third check concerns the human channel, run first with a simulated operator. The simulated operator answers each binary question with whichever branch agrees better with ground truth. It is wrong with probability p in {0, 0.05, 0.15}, and its latency is drawn to match a retainer pool in which roughly 75% of responses arrive within 3 seconds, as reported for Guardian, with a heavy tail. We sweep the query budget and plot full-trajectory ATE against questions per minute for our system, the no-speculation ablation, the automatic-resolution ablation, SLAM2 and UP-SLAM. A small study with real operators answering clips from Bonn sequences then tests whether human error rates and latencies fall within the simulated range.

The proposal succeeds if three conditions hold together. The guarantee must hold under blocked calibration. The cascade must recover most of the always-sample coverage near single-pass speed. Human answers, hidden behind speculative branches, must produce lower ATE than both UP-SLAM and delayed automatic resolution on the hard sequences at a few questions per minute.