Manuscript Offprint
arXiv:2611.12099SAM-VTP: Video Memory and Measured Geometry for Continuous Traversability Segmentation
Lucas Hoefs¹, Hui Xie¹, Senjian An¹, and Fangyi Zhang¹
Abstract—Traversability prediction is a core component of autonomous navigation, yet most vision-based methods operate frame-wise and produce temporally inconsistent predictions. We present SAM-VTP (Video Traversability Prediction), which fine-tunes SAM2's video memory pathway for dense, prompt-free traversability segmentation, conditioning each frame on a persistent memory of prior observations. Rather than inferring terrain geometry from appearance, we measure it: slope, roughness and height are computed from depth and fused into the image features. We also introduce an offline continuous supervision pipeline that generates dense per-pixel traversability targets in [0,1] from depth-derived geometry and semantic priors, requiring no robot deployment and no per-pixel annotation, capturing conditional feasibility that binary labels cannot represent. On TartanGround, a large-scale synthetic ground-robot dataset, SAM-VTP improves fuzzy Jaccard from 0.908 to 0.924 and binary IoU from 0.854 to 0.886 over SAM-TP, a frame-wise SAM2 baseline, against a seed-to-seed spread below 0.001, and cuts frame-to-frame flicker by 31%. In closed-loop trials at two field sites, driving the same planner and controller, the baseline's dropouts leave the planner without a feasible path 3.3x more often on a paved course and 6.9x on rough ground, while SAM-VTP runs at 21.4 FPS on the Orin Nano the robot carries.
Index Terms—Vision-Based Navigation, Object Detection Segmentation and Categorization, Deep Learning for Visual Perception, Semantic Scene Understanding
I. INTRODUCTION
Traversability prediction is the task of estimating which regions of a scene are safe and feasible to traverse and is a core component of autonomous mobile robot navigation. While traversability can be inferred from LiDAR or proprioceptive signals, this work focuses on vision-based estimation from onboard camera RGB and depth imagery, formulated as a dense prediction problem. Each pixel is assigned a continuous score, and the resulting traversability map can be projected into a bird's-eye-view costmap for downstream path planning [1]–[4]. Traversability prediction is particularly critical in off-road, disaster-response, and cluttered indoor environments, where prior maps are unavailable or rapidly changing, and the robot must infer safe traversal directly from onboard perception [4]–[6].
Foundation segmentation models encode strong priors about object boundaries and scene structure, improving generalisation across environments [7], [8]. Methods that build on them inherit those priors but not any notion of time: most existing traversability segmentation and classification methods operate in a frame-wise manner [1], [4], [9]–[13], producing predictions independently for each image. This can produce temporally inconsistent predictions under viewpoint changes

Fig. 1. Temporal comparison of SAM-TP (top), the frame-wise SAM2 traversability model released with GeNIE [1] and the closest published system to ours, against SAM-VTP (bottom) on consecutive frames from TartanGround ConstructionSite. At SAM-TP loses roughly half of the traversable surface and recovers it at , while SAM-VTP holds a coherent region across all three frames (fuzzy Jaccard, fJacc, 0.69 against 0.92 on this window). SAM-VTP's output is also traversability-scaled, whereas SAM-TP's is dominated by binary confidence.
and occlusions [14], which lead to unstable costmaps for downstream planning; Fig. 1 shows the effect on a frame-wise baseline, whose decision on the vegetated ground flips between traversable and non-traversable across three consecutive frames of an essentially static scene. Temporal context is most often reintroduced either by recurrent models that carry a fixed-size state forward one step at a time [15]–[17], or by downstream fusion that accumulates per-frame predictions into a costmap and reconciles them with filtering or optimisation [2], [3], [18]; others reason over time at the control level [19], [20]. Recurrent approaches compress previous observations into a fixed-dimensional state, while downstream fusion operates on already predicted maps. Neither mechanism provides the dense predictor with direct access to previously encoded visual features during the current prediction. Multi-frame attention has been applied to LiDAR traversability over pose-warped scans [21], and SAM2's video memory offline, to propagate dataset annotations [22]. We instead place a learned visual memory inside the image-space dense predictor itself, maintained and queried at inference: each frame attends over the encoded features and mask outputs of preceding frames.
A second limitation is that terrain geometry must be inferred from RGB appearance. Surfaces that look alike can differ sharply in shape: a flat grass surface and a grassy slope are near-identical in RGB and differ only in slope. Slope, roughness and height are geometric quantities, and depth measures them, at no additional sensing cost on a stereo or RGB-D platform. We encode this measured geometry and fuse it into the image encoder's appearance features.
Additionally, traversability supervision is predominantly bi-
¹All authors are with the School of EECMS, Curtin University, Bentley, WA 6012 lucas.hoefs@postgrad.curtin.edu.au nary, whether it is annotated offline [1] or derived online from robot experience [4]. In practice, traversability is conditional: a steep slope, a patch of loose gravel, or a low obstacle may be traversable for one platform and not another. Binary labels cannot encode this uncertainty and tie the supervision signal to one platform's capabilities; a graded target defers that choice to deployment. While the value of continuous traversability scores has been acknowledged in prior work [18], no offline supervised pipeline for dense continuous per-pixel traversability supervision has been proposed. Self-supervised approaches sidestep annotation by deriving traversability from proprioceptive signals during live robot deployment [4], [17], but require physical interaction with the environment.
In this work, we address these limitations in three ways:
- A temporally-aware traversability segmentation framework built upon the video memory components of SAM2 [8], enabling persistent visual reasoning across sequences of frames.
• Measured terrain geometry: rather than leaving terrain shape to be inferred from appearance, slope, roughness and height are computed from depth, encoded, and fused into the image encoder's appearance features.
- A continuous traversability supervision pipeline that constructs dense per-pixel targets in [0, 1] from depth-derived geometry and semantic priors, entirely offline and without robot deployment.
We evaluate offline and in closed loop on a physical robot, and CUDA Graph-compatible sequential inference sustains 30 FPS on a Jetson AGX Orin and 21 FPS on an Orin Nano. Code, trained weights and the semantic lookup table are available at https://github.com/lucashoefs/sam_vtp, and the robot deployment stack at https://github.com/lucashoefs/sam_vtp_jetacker.
Terrain shape has long been scored directly. Geometric pipelines build height or elevation maps and score them by slope and roughness [18], [30], and learned methods increasingly combine the two, whether by predicting traversability
in a bird's-eye-view grid lifted from RGB-D [3], [17], fusing geometric with visual cues [24], or gating between model-based and learned experts [31]. Image-space dense predictors, by contrast, generally leave geometry implicit in appearance features, so slope and roughness must be recovered from texture that does not determine them.
More recently, large-scale vision models such as CLIP [32], DINOv2 [33] and SAM [7] have improved visual generalisation in navigation, supplying transferable representations and segmentation priors that encode scene structure and object boundaries. Building on these representations, methods such as Wild Visual Navigation (WVN) [4] and GeNIE (SAM-TP) [1] demonstrate improved robustness in unseen environments. Related approaches, including NaVMoE [31], WayFASTER [17], and GFN/FSM [24], further explore efficiency and scalability, and ViTA [29] adapts SAM2 with learned prompt tokens and depth distilled from a monocular teacher at training time. However, despite improved generalisation, these methods predominantly operate frame-wise, producing predictions independently for each image.
Consequently, predictions can vary substantially between consecutive frames when the viewpoint changes, regions become occluded, or dynamic objects enter the scene. Recurrent modules such as ConvLSTMs [17] compress temporal context into a fixed-dimensional latent state that is continuously overwritten, and so struggle to retain long-range spatial detail. Explicit memory architectures instead allow persistent storage and selective retrieval across time [8], yet remain largely unexplored for traversability segmentation.
III. METHOD
A. Architecture
We consider two SAM2-based traversability models. SAM-TP (from GeNIE [1]) applies SAM2's image encoder and mask decoder frame-wise, skipping the video memory pathway entirely. To address the temporal inconsistency issue in SAM-TP, we propose SAM-VTP (Segment-Anything-Model Video-Traversability-Predictor), which retains the same decoder and prompt formulation but enables and fine-tunes SAM2's video memory pathway across contiguous sequences (Fig. 2). A further adaptation follows from the deployment setting: terrain geometry is measured from depth rather than inferred from appearance (III-A3). The geometry input is also given to SAM-TP in the held-out ablation of Sec. IV, which resolves the asymmetry present in Table I; the closed-loop experiment instead contrasts RGB-only SAM-TP with RGB-D SAM-VTP, so it compares the two systems and does not isolate memory from depth. SAM-VTP takes no pose or odometry input at any stage, so the perception stack carries no localisation dependency.
- Prompt-Free Decoder: Both SAM-VTP and the SAM-TP baseline follow GeNIE [1] in removing the user from SAM2's prompt interface: traversability needs no user-supplied point, since the region of interest is always the ground the robot can drive on. The prompt is therefore a constant of the task, and we learn it once during training rather than place it by hand. SAM2's prompt encoder is replaced

Fig. 2. SAM-VTP: SAM2's Hiera-T encoder and memory pathway. The four starred blocks are new or modified in this work: a depth-derived geometry encoder summed into the image features, a learned prompt replacing SAM2's prompt encoder, a decoder emitting a single mask token, and a residual head refining the output at full resolution. Parameter counts are per block; the memory bank holds activations, not parameters.
by four learned sparse tokens together with a learned dense embedding and decoder position encoding, which condition the mask decoder in place of encoded clicks; the decoder itself is unchanged. Concurrent work adopts learned prompt tokens for traversability on the same backbone [29].
- SAM-VTP: Video Traversability Predictor: SAM-VTP adapts SAM2's video segmentation pipeline for traversability prediction (see Fig. 2). Given a sequence of RGB frames , SAM2's Hiera image encoder encodes each frame to produce hierarchical visual features. The memory attention module conditions each frame's features on encoded representations stored in a fixed-size memory bank of the most recent frames (, matching SAM2). The decoder produces a per-pixel traversability logit map, and the memory encoder updates with the current frame's features and predicted mask. The memory attention, memory encoder, and decoder are fine-tuned. The image encoder is unfrozen and optimised with a reduced learning rate (default: the base rate) to preserve pretrained priors.
Two modifications adapt the decoder to continuous targets. First, SAM2 emits three candidate mask tokens and selects among them using a pretrained mask-quality head that receives no traversability supervision; its ranking is therefore arbitrary under our objective and free to change between frames, causing flicker unrelated to the memory pathway. We disable multi-mask output and supervise a single token. Second, the decoder predicts at stride 4 of the backbone embedding ( for a input), so structures thinner than roughly five input pixels cannot be represented. Kerbs, rails and thin obstacles frequently carry traversability boundaries, a limitation at exactly the pixels that matter most. We therefore append a residual head that refines the upsampled logit map conditioned on the full-resolution frame.
- Measured Terrain Geometry: Section III-C defines traversability as a semantic prior modulated by terrain geometry, so a model given only RGB must recover that geometry from appearance. We instead measure it: from the depth map we derive slope, local height roughness, height, log range and validity, and add their encoding to the coarsest backbone level, feeding both memory attention and the decoder.
Because the same geometric quantities enter both the supervision targets and the model input, we take three precautions against circularity. The semantic prior carries most of the signal and is never supplied, so it must still be inferred
from the image. Slope, step height and roughness are the standard criteria for ground-vehicle traversability [5], [6], not a convention introduced here. The branch is also dropped for a random subset of training samples. This regularises the fusion but does not make depth optional: withholding it at inference costs 0.061 fJacc (Section IV), so the depth input is a requirement of the deployed system rather than an auxiliary cue.
- Training Objective: Continuous targets constrain which region losses are applicable. Against them the soft Jaccard loss is not minimised by predicting the target [34]: it is a ratio, so each pixel's gradient depends on the intersection and union accumulated over the rest of the frame, and pushes that pixel to 1 or 0 as its target falls above or below a threshold set by that accumulation. Where targets are high, that is over-prediction of traversability, the unsafe direction. Soft Dice, soft Tversky and focal Tversky inherit the defect [35]. We therefore adopt the Jaccard metric loss [34], which on is exactly for the Ruzicka (fuzzy Jaccard) index , the continuous-valued generalisation of IoU,
where and are the predicted probability and target at pixel , and sums run over all pixels of a frame. attains its optimum if and only if everywhere, being a metric on [34], and is reduced per sample so that frames with little traversable area still contribute full-strength gradients. IoU-family losses are known to cost calibration, an effect soft targets mitigate [34]; ours are soft everywhere.
The full objective adds BCE for per-pixel calibration, Focal loss [36] () to emphasise hard pixels such as thin obstacles and boundaries, and a temporal consistency term:
where , , and are scalar weights on the region, BCE, focal and temporal terms, set to by a coarse search on the validation split. Writing for the predicted probabilities at frame , with the logistic function, the temporal term is
where is channel of frame with intensities normalised to , the resulting grayscale frame, the frame resolution, and the clip length. The scalar measures inter-frame appearance change and acts as a motion proxy: the penalty is strong when the scene is static and relaxes as grows, so genuinely rapid changes are not over-penalised. The decay rate is fixed at against the unit intensity scale, giving a weight of 0.57 at a typical . A grayscale difference is a coarse motion proxy, responding to illumination change and dynamic objects as readily as to ego-motion; a

Fig. 3. Continuous traversability supervision on TartanGround. Left to right: the semantic labels for one frame, the geometry-derived height above ground and local surface slope, and the final target . The target combines a platform-grounded semantic prior with continuous geometric modulation, and cannot be trivially derived from semantics or geometry alone.
flow-based measure would gate the term more precisely at additional cost.
B. Dataset: TartanGround
We train and evaluate on TartanGround [37], a large-scale synthetic dataset spanning more than 20 photorealistic scene types, from construction sites and industrial facilities to forests, urban downtowns and underground mines. It provides temporally ordered RGB-D sequences from a front-facing camera on a simulated ground robot, with per-frame pixel-accurate semantic labels, random robot heights, and tracked camera pose.
Split protocol. We define a single canonical split at the trajectory level, shared by every model in this paper: of 136 trajectories across 24 environments, 94 are used for training, 20 for validation and model selection, and 22 are held out for testing. The split is stratified per environment, and two environments containing a single trajectory contribute only to training, so the test set spans the remaining 22. All reported results are computed exclusively on held-out test trajectories, which no model has seen during training or model selection.
C. Continuous Traversability Labeling
Rather than constructing hard binary labels, we generate a continuous target in four steps. We state the scope of this supervision at the outset: the targets encode semantic and geometric traversability, that is, whether a surface is of a drivable type and of a drivable shape, rather than a measurement of physical interaction. Self-supervised pipelines that derive labels from proprioceptive feedback observe whether a specific platform actually traversed a region, and so capture effects such as slip, sinkage and compliance that geometry and semantics cannot express; the cost is that they require deployment and only label terrain the robot has already driven over. The supervision here makes the opposite trade, covering every pixel of every frame offline while remaining an estimate of affordance rather than a record of it.
Step 1: Camera height by per-trajectory self-calibration. We estimate the camera height from the imagery itself, as the median vertical camera-frame coordinate over semantically-ground pixels in a near-field, bottom-centre region, aggregated across the trajectory. This makes the pipeline independent of pose annotation and platform metadata.
Fig. 3 shows the intermediate quantities of this process for a representative frame.
Step 2: Height above ground. TartanGround depth is planar z-depth from a pinhole camera, so the height above ground of pixel with depth is
where and are the vertical focal length and principal-point offset of the camera, and v is the image row. Since TartanGround randomises robot height per trajectory, exact projective geometry is what allows a fixed metric obstacle threshold to carry the same meaning throughout the dataset. Pixels with invalid depth retain the semantic prior alone.
Step 3: Slope and roughness. We unproject depth into a local 3D surface, estimate a unit normal per valid pixel, and convert it to a slope angle
with g the gravity direction in camera coordinates. Normals are differentiated over a wide stencil (11 px half-width) after median-filtering depth, so that the measurement reflects the grade of the terrain at the scale a robot traverses it. We also compute local roughness as the standard deviation of in a 9 px window, separating a smooth ramp (high slope, low roughness) from rubble (moderate slope, high roughness).
Step 4: Semantic prior and geometric modulation. Each semantic class maps to a scalar prior through a single global lookup table LUT grounded in platform capability, , where is the semantic label map of frame . The table is specified once by hand, at the level of semantic classes rather than pixels, and is shared by every environment. Classes fall into capability tiers: engineered surfaces 1.00, compacted ground 0.90, firm natural 0.80, vegetated 0.70, loose debris 0.55, dense low vegetation 0.40, and blocked 0.00. The values are ordinal, not calibrated: assigned by hand to span [0, 1] over the surfaces TartanGround contains, ordered by how a standard wheeled platform would cross them, and checked against the classes its recorded trajectories are actually driven over. The supervision relies on that ordering and on one shared table, not on the exact spacing.
Slope and roughness then attenuate this prior:
where falls linearly from 1 to a floor as its argument passes from a free threshold to a limit. For slope these run from to with , and for roughness from 0.03 to 0.20 m with . The operator is a Gaussian blur of width 12 px applied to the modulation alone. Pixels where slope or roughness is unmeasurable take , so a missing cue never penalises the prior.
The floors keep geometry refining the prior rather than overriding it, which matters on vegetation, where per-pixel normals read steep over drivable ground; smoothing only the modulation leaves class boundaries sharp.
Finally, where terrain is unreachable: where a pixel stands more than 0.55 m above the local terrain trend , a 65 px box mean of , which isolates obstacles independently of overall grade; or beyond a permissive global band (
2.5 m, or m for negative obstacles) that rejects clearly elevated structure such as overpasses.
Unlike the unordered images of FroboBots-2K [1], TartanGround supplies the contiguous sequences SAM2's video memory requires, and the graded target lets a deployed platform choose its own operating point within the clearance envelope Step 4's constraints impose.
D. Training Details
All models are trained on TartanGround using sequences of frames sampled at a stride of 2 (approximately 5 seconds of robot motion at 10 fps). For SAM-VTP, the first frames populate the memory bank and are excluded from the loss. We set , since the bank is addressable once non-empty and requiring it full would never train the partially-populated regime deployment begins in. We use AdamW (base lr= , weight decay ) with cosine annealing and warm restarts (period 15 epochs), automatic mixed precision (bfloat16) and gradient accumulation, on an RTX 5090 GPU. Augmentation parameters are sampled once per clip so that every frame of a clip receives the same transform, and checkpoints are selected by a rolling average of validation fuzzy Jaccard.
For deployment, both SAM-TP and SAM-VTP are made CUDA Graph compatible, which SAM2 does not natively support [8]. Replaying the captured graph amortises kernel-launch overhead at every timestep.
E. Baselines
-
Re-implementation of SAM-TP: Comparing latency against the publicly released GeNIE implementation would measure implementation overhead rather than architecture. That inference path routes images through SAM2ImagePredictor, which applies its own normalisation pipeline and adds Python overhead, and leaves SAM2's memory components active though no temporal context is used. We therefore re-implement the baseline to call the SAM2 backbone and decoder directly with the memory pathway disabled, which reduces per-frame latency from 21.9ms to 2.6ms in eager execution, and to 1.9ms (540 fps) under CUDA Graph replay. This is not a contribution of this work; it is what makes the reported frame-wise cost attributable to frame-wise computation itself.
-
Fair Comparison via TartanGround Fine-Tuning: Each baseline is fine-tuned on TartanGround's continuous traversability maps before evaluation, since published weights applied out-of-the-box degrade substantially under the visual domain gap and the differing label ontology. Every trainable model sees the same split and label version and is selected by the same rule, so observed differences reflect architecture rather than supervision or checkpoint choice.
GeNIE (SAM-TP) [1] is fine-tuned here as a supervised frame-wise SAM2 decoder baseline (no temporal memory). WVN [4] and WayFASTER [17] were designed for self-supervised traversability learning; for a controlled comparison we keep their architectures but replace those objectives with direct supervision from the same continuous masks. WVN then remains frame-wise and WayFASTER retains ConvLSTM aggregation, but neither maintains a persistent, addressable cross-frame memory bank. We additionally report GeNIE's released SAM-TP weights zero-shot, without TartanGround fine-tuning, as a cross-dataset transfer reference.
F. Metrics
Our primary accuracy metric is the fuzzy Jaccard similarity of Eq. (1), which equals 1 if and only if the prediction matches the target at every pixel and is therefore proper for continuous supervision.
MAE and signed bias. Mean absolute error over the M evaluated pixels measures average per-pixel deviation; because it is symmetric we also report the signed bias , separating a model that over-predicts traversability from one that is merely imprecise in both directions.
Calibration. We adapt Expected Calibration Error to soft targets, binning pixels into K=15 equal-width bins on predicted probability and taking the -weighted absolute difference between the mean prediction and the mean target within each bin. A low ECE means a predicted score of 0.6 denotes terrain of traversability 0.6, which is what makes a continuous output usable for platform-specific thresholding.
Thresholded IoU. We retain thresholded (binary) IoU as a deployment-oriented diagnostic. For each model the threshold is selected independently, by sweeping [0.1, 0.9] in steps of 0.05 on the validation trajectories and retaining the value that maximises IoU there; it is then held fixed for evaluation on the test trajectories. Selecting it per model avoids penalising differences in predicted score scale, while fixing it before evaluation keeps the reported figure free of test-set tuning.
We do not report Soft-IoU: it carries the same over-prediction bias as the region losses rejected in Eq. (1).
IV. RESULTS
We evaluate SAM-VTP against SAM-TP, WVN, and WayFASTER across accuracy, temporal consistency, component ablations, closed-loop navigation, and edge-device deployment. The SAM-TP and SAM-VTP rows of Table I are means over three independently trained models; seed-to-seed standard deviation stays below 0.001 on every metric (Jacc against ), placing the accuracy gap at over twenty times the run-to-run spread and the two temporal gaps at seventeen and nineteen times it. The other rows are single runs.
SAM-VTP leads every accuracy and temporal measure in Table I. It improves fuzzy Jaccard by 0.016 over the frame-wise SAM-TP baseline, which receives RGB alone, against a seed standard deviation below 0.001 on both arms (SAM-TP and SAM-VTP), and cuts expected calibration error by a fifth. Both SAM arms sit well clear of WayFASTER and WVN on every measure. GeNIE's released weights transfer least well of all and are the worst calibrated, with an optimal threshold of 0.15: their deficit is one of supervision and domain, not capacity, since the architecture is SAM-TP's.
The temporal margin holds in-domain: flicker falls by 31% and per-sequence stability by 17%, against a seed spread under
TABLE I
ACCURACY, TEMPORAL CONSISTENCY, AND THROUGHPUT ON HELD-OUT TARTANGROUND TEST TRAJECTORIES. ALL MODELS FINE-TUNED ON TARTANGROUND UNLESS NOTED. BEST IN BOLD. fJACC IS THE FUZZY (RUZICKA) JACCARD INDEX OVER CONTINUOUS SCORES AND IS THE PRIMARY METRIC; IoU IS THE BINARY JACCARD INDEX AT A PER-MODEL THRESHOLD CALIBRATED ON VALIDATION; ECE IS THE EXPECTED CALIBRATION ERROR AGAINST THE CONTINUOUS TARGETS. STAB. AND FLICK. ARE THE MEAN PER-SEQUENCE STANDARD DEVIATION OF fJACC ACROSS FRAMES AND ITS MEAN ABSOLUTE FRAME-TO-FRAME CHANGE, BOTH LOWER-IS-BETTER; BASING THEM ON fJACC RATHER THAN A THRESHOLDED SCORE KEEPS THEM ON THE PRIMARY METRIC. THROUGHPUT USES EACH MODEL'S OWN DEPLOYMENT RESOLUTION (512×512 EXCEPT WAYFASTER, WHICH PREDICTS A 100×100 BEV GRID FROM 320×180 INPUT; WITH TARGETS INTERPOLATED TO THAT GRID AND PREDICTIONS UPSAMPLED BACK, LIMITING ITS ATTAINABLE FIDELITY).
| Model | Accuracy | Temporal | Throughput (FPS)↑ | ||||||
|---|---|---|---|---|---|---|---|---|---|
| fJacc↑ | MAE↓ | ECE↓ | IoU↑ | Stab.↓ | Flick.↓ | RTX 5090 | AGX Orin | Orin Nano | |
| WayFASTER | 0.791 | 0.066 | 0.039 | 0.740 | 0.0630 | 0.0264 | 456 | 52.8 | 26.8 |
| WVN | 0.760 | 0.079 | 0.048 | 0.741 | 0.0597 | 0.0246 | 19.5 | _‡ | _‡ |
| SAM-TP | 0.908 | 0.024 | 0.013 | 0.854 | 0.0387 | 0.0175 | 540* | 44.9* | 33.5* |
| SAM-VTP (ours) | 0.924 | 0.018 | 0.010 | 0.886 | 0.0323 | 0.0120 | 296 | 30.1 | 21.4 |
| SAM-TP (GeNIE)† | 0.667 | 0.126 | 0.111 | 0.678 | 0.0908 | 0.0452 | 45.7 | 6.3 | 3.6 |
*Optimised SAM-TP implementation, CUDA-graph replayed; see Sec. III-E1. Baselines are timed as released and run eager, which is why GeNIE is 7× slower than SAM-TP despite sharing its architecture. †Original GeNIE weights, trained on binary Frodbots-2K labels. ‡Not deployed to the embedded devices: its STEGO extractor is already the slowest model here.
0.0004 on both, and widens on the robot, where the same pair separates by 4.3× on flicker over the predicted region (Table III). Much of what remains is scene-driven rather than model-driven: scored on identical frames the two arms' frame-to-frame changes correlate at r=0.83, and memory removes 65% of the model-attributable part.
TABLE II
ABLATION ON HELD-OUT TARTANGROUND TEST TRAJECTORIES, SCORED OVER 1000 SEQUENCE WINDOWS (24K FRAMES). THE FIRST FOUR ROWS FORM A 2 × 2 FACTORIAL OVER THE TWO PROPOSED COMPONENTS; SAM-TP + GEOMETRY IS THE FAIRNESS CONTROL, GIVING THE FRAME-WISE BASELINE THE SAME DEPTH-DERIVED INPUT AS SAM-VTP. THE LAST TWO ROWS WITHHOLD DEPTH AT INFERENCE AND REPLACE CONTINUOUS TARGETS WITH BINARY ONES. TRAINING BUDGETS HERE ARE SHORTER THAN IN TABLE I, SO ABSOLUTE SCORES ARE LOWER AND THE TWO TABLES ARE NOT DIRECTLY COMPARABLE. BEST IN BOLD.
| Configuration | Component | |||||
|---|---|---|---|---|---|---|
| Mem. | Geo. | fJacc↑ | MAE↓ | ECE↓ | Flick.↓ | |
| SAM-TP (frame-wise) | - | - | 0.875 | 0.033 | 0.019 | 0.022 |
| + geometry | - | ✓ | 0.900 | 0.026 | 0.014 | 0.019 |
| SAM-VTP (memory) | ✓ | - | 0.894 | 0.028 | 0.016 | 0.015 |
| + geometry (full) | ✓ | ✓ | 0.914 | 0.022 | 0.013 | 0.013 |
| Full, depth withheld | ✓ | - | 0.853 | 0.042 | 0.031 | 0.020 |
| Full, binary targets | ✓ | ✓ | 0.733 | 0.072 | 0.069 | 0.029 |
Table II attributes SAM-VTP's advantage to its two components. Differences are paired at the level of the sequence window rather than the frame, since the 24 frames of a window are consecutive views of one scene and treating them as independent inflates significance roughly threefold; at 1000 windows the minimum detectable difference in fJacc is 0.005, so every contrast below is resolved with margin.
Table II trains on a shorter budget, where the same contrast is larger (0.875 → 0.914 against 0.908 → 0.924): part of what the components buy is convergence speed, so the decomposition below holds at this budget rather than the fully-trained one. Both components contribute and neither subsumes the other. Geometry alone raises fJacc by 0.025 and memory alone by 0.019, and each still pays on top of the other: memory adds 0.014 to the geometry-equipped baseline, geometry adds
0.020 to the memory-only model.
The components also differ in cost. On the Orin Nano, memory adds 14.9 ms per frame and geometry 2.1 ms, so geometry yields roughly ten times more accuracy per millisecond. Memory's cost is justified by the hardest frames rather than the average: ranking frames by difficulty, the hardest tenth account for 38% of its gain and the easiest tenth for 1%, the proportion of frames below 0.8 fJacc falls by a fifth, and first-percentile accuracy more than doubles. Fig. 4 shows the same concentration across environments: the largest gains fall in unstructured, vegetated terrain such as forest, marsh and mine, and the smallest in structured built environments where the frame-wise baseline is already near ceiling.
Memory is the larger contributor to temporal steadiness, but not the only one: frame-to-frame change falls from 0.022 to 0.015 once memory is enabled, and geometry adds a smaller reduction in both the frame-wise (0.022 → 0.019) and memory-equipped (0.015 → 0.013) model. Withholding depth raises flicker to 0.020, so steadiness depends on it too.
Flicker alone, however, does not justify memory. A causal exponential moving average (EMA) over the frame-wise model's outputs reaches lower flicker than SAM-VTP at every smoothing factor we tested, but only at a substantial cost in accuracy. Averaging pixel-aligned probabilities blurs boundaries across a moving camera, whereas memory attention associates by content. We therefore report flicker only alongside accuracy, since in isolation it is optimised by making the model worse.
Continuous supervision is not cosmetic, and the metric it costs is instructive. Training the identical architecture on binarised targets improves thresholded binary IoU by 0.012, from 0.875 to 0.887 at each model's own tuned threshold, which is unsurprising since that is the objective it optimises, while fJacc falls by 0.181, MAE more than triples, and ECE rises from 0.013 to 0.069. A binary-trained model is therefore competitive only at one operating point and poorly calibrated elsewhere, a trade invisible to any fixed-threshold evaluation and not worth making for a planner consuming graded cost.
The platform is an Ackermann-steered JetAcker with an

Fig. 4. Per-environment difference in fJacc between SAM-VTP and SAM-TP on the 22 held-out test trajectories, sorted by magnitude; bars are the mean over three seeds and error bars their standard deviation. SAM-VTP is ahead in 21 of 22 environments. The grey column gives SAM-TP's own fJacc, showing that the largest gains fall where the frame-wise baseline is weakest () while environments it already scores above 0.95 gain least. OldScandinavia is clipped at the axis limit; its value is +0.141.
TABLE III
CLOSED-LOOP NAVIGATION ON A PHYSICAL ROBOT AT TWO FIELD SITES: A PAVED COURSE WITH MIXED SURFACES AND VEGETATION (15 RUNS), AND ROUGH, UNDULATING, OVERGROWN GROUND (21 RUNS). THE BASELINE IS SAM-TP TRAINED ON THE SAME DATA, OBJECTIVE AND SPLITS, WITH PLANNER AND CONTROLLER SHARED AND TRIALS INTERLEAVED BETWEEN MODELS AT BOTH SITES. SAM-TP TAKES RGB ONLY AND SAM-VTP TAKES RGB-D, SO THE TABLE COMPARES THE TWO SYSTEMS AND DOES NOT SEPARATE MEMORY FROM DEPTH. FLICKER IS THE MEAN ABSOLUTE FRAME-TO-FRAME CHANGE IN PREDICTED PROBABILITY OVER THE PREDICTED REGION, THE UNION OF ACROSS THE PAIR, AS ARE TRAVERSABLE FRACTION AND NULL PREDICTIONS; BOTH ARMS SELECT INDEPENDENTLY ON VALIDATION, AND THE ORDERING HOLDS FOR ANY THRESHOLD IN [0.1, 0.8]. EVERY ROW SEPARATES COMPLETELY ON THE COURSE; ON ROUGH GROUND NO-PATH, TRAVERSABLE FRACTION AND FLICKER SEPARATE IN ALL TEN PAIRED TRIALS, A SIGN TEST AT ITS FLOOR (), WHILE PROGRESS RATE AND DISTANCE OVERLAP (8/10 AND 7/10 PAIRS).
| Measure | Paved course | Rough terrain | ||||
|---|---|---|---|---|---|---|
| TP | VTP | Ratio | TP | VTP | Ratio | |
| No-path (%)|↓ | 32.4 | 9.9 | 0.31× | 20.6 | 3.0 | 0.15× |
| Traversable frac.↑ | 0.225 | 0.338 | 1.50× | 0.076 | 0.216 | 2.86× |
| Flicker (region)|↓ | 0.129 | 0.030 | 0.23× | 0.055 | 0.036 | 0.64× |
| Null predictions (%)|↓ | 7.9 | 0.9 | 0.12× | 4.2 | 0.8 | 0.18× |
| Progress rate (m/s)|↑ | 0.141 | 0.182 | 1.29× | 0.159 | 0.180 | 1.13× |
| Distance (m)|↑ | 7.34 | 15.84 | 2.16× | 14.59 | 18.68 | 1.28× |
Intel RealSense D455f, running all perception onboard a Jetson Orin Nano 8 GB (JetPack 6.2). Both arms drive GeNIE's arc planner and a pure-pursuit controller. A safety gate halts the platform when the planner returns no feasible path or perception goes stale, so lost traversable area becomes lost motion. Trials alternate between models: the rough site yields ten complete pairs, the sign test's , while the course's fifteen runs do not pair evenly. An accompanying video shows interleaved trials at both sites. Table III reports two sites: a paved course containing visually ambiguous obstacles, changes in surface and lighting, and partially transparent vegetation that must be driven around rather than through; and rough, undulating, overgrown ground away from any hand-laid course. The arc planner finds no feasible path on 32.4% of cycles against 9.9%, and the safety gate blocks the platform for correspondingly

Fig. 5. Both models replayed over the same recorded frames in the deployed configuration (SAM-TP on RGB, SAM-VTP on RGB-D), so both see the same scene. Overlay opacity is the predicted probability; the white contour marks . The top two rows are the paved course, where SAM-TP breaks into disconnected fragments around clutter (2% against 32%) and again at the terrain and lighting transition at which its trials ended, where the planner was reporting no feasible path (2% against 28%); SAM-VTP holds a single coherent region in both. The bottom row is rough terrain, where SAM-TP under-segments a clearly defined path (6% against 25%) rather than fragmenting.
longer. Each arm drives its own trajectory, so the perception rows are not scored on identical input; replaying both models over three trials per site, from both arms' paths, preserves every ordering (coverage and , flicker and ), and Fig. 5 shows one such replay.
Runs were ended by the operator, not at a fixed goal: SAM-TP was typically retrieved after the safety gate had blocked the platform, whereas SAM-VTP was still driving when stopped. Progress rate is the distance travelled divided by the driving window, measured from release to the end of the run with blocked time included, so time spent halted lowers the rate rather than being removed from it. Both separate on the course, where SAM-TP's runs stopped at the transition of Fig. 5 rather than degrading gradually; neither does on rough ground (8/10 and 7/10 pairs), where the chassis high-centres on grass tufts and clearance, not perception, becomes binding. Both are integrated from commanded speed, since the chassis exposes no wheel encoders, so wheel spin while high-centred on the rough site counts as travel.
The throughput columns describe the deployed system rather than a benchmark. The Orin Nano is the module the robot carries, so the closed-loop trials ran at the 21.4 FPS Table I reports there. Both SAM arms clear real time on both embedded devices; GeNIE's released implementation reaches 3.6 FPS on the Nano, which is why the frame-wise baseline is re-implemented (Section III-E1).
V. CONCLUSION
This paper presents SAM-VTP, a memory-augmented traversability segmentation model that leverages SAM2 video memory to condition each prediction on recent observations. The results show that modelling traversability over a short temporal window improves performance relative to independent frame-wise prediction.
On TartanGround, SAM-VTP outperforms the frame-wise SAM-TP baseline across all accuracy and temporal consistency metrics, and the gain carries into navigation: driving the same planner and controller, a physical robot stalls for want of a feasible path a third as often on a paved course and a seventh as often on rough ground. The model runs at 30 FPS on a NVIDIA Jetson AGX Orin, and at 21.4 FPS on the Orin Nano the robot carries.
At the ablation's training budget, geometry gives the larger accuracy gain and memory the larger gain in temporal consistency. Each still adds to the other, though together they fall slightly short of the sum of their separate gains (0.039 fJacc against 0.044).
Limitations remain. The deployed system requires a depth sensor, as withholding depth at inference costs 0.061 fJacc. The targets commit to a clearance envelope, so a platform differing substantially in clearance requires them to be regenerated rather than merely re-thresholded, and sequence initialisation introduces a brief warm-up period. All segmentation accuracy reported here is synthetic, scored against our own pipeline's targets; the closed-loop trials measure planner behaviour, not mask quality. The pipeline also requires a per-pixel semantic map, which the simulator supplies and real footage does not, so applying it outside simulation needs a semantic segmenter in the loop. Future work will focus on expanding real-world data, uncertainty calibration, and reducing cold-start latency.
REFERENCES
[1] J. Wang et al., “Genie: A generalizable navigation system for in-the-wild environments,” IEEE Robotics and Automation Letters, 2025.
[2] J. Zhang et al., “Dual-bev nav: Dual-layer bev-based heuristic path planning for robotic navigation in unstructured outdoor environments,” in IEEE International Conference on Robotics and Automation (ICRA), 2025, pp. 8872–8879.
[3] J. Frey et al., “Roadrunner – learning traversability estimation for autonomous off-road driving,” IEEE Transactions on Field Robotics, 2024.
[4] M. Mattamala et al., “Wild visual navigation: Fast traversability learning via pre-trained models and online self-supervision,” Autonomous Robots, 2025.
[5] T. H. Chung, V. Orekhov, and A. Maio, “Into the robotic depths: Analysis and insights from the darpa subterranean challenge,” Annual Review of Control, Robotics, and Autonomous Systems, vol. 6, no. Volume 6, 2023, pp. 477–502, 2023.
[6] C. Sevastopoulos and S. Konstantopoulos, “A survey of traversability estimation for mobile robots,” IEEE Access, 2022.
[7] A. Kirillov et al., “Segment anything,” in Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2023.
[8] N. Ravi et al., “Sam 2: Segment anything in images and videos,” in International Conference on Learning Representations (ICLR), 2025.
[9] S. Palazzo et al., “Domain adaptation for outdoor robot traversability estimation from rgb data with safety-preserving loss,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2020.
[10] G. Vecchio, S. Palazzo, D. C. Guastella, D. Giordano, G. Muscato, and C. Spampinato, “Terrain traversability prediction through self-supervised learning and unsupervised domain adaptation on synthetic data,” Autonomous Robots, vol. 48, no. 2, p. 4, 2024.
[11] S. Jung, J. Lee, X. Meng, B. Boots, and A. Lambert, “V-strong: Visual self-supervised traversability learning for off-road navigation,” in IEEE International Conference on Robotics and Automation (ICRA), 2024.
[12] S. Sahu, A. Singh, K. Nambiar, S. Saripalli, and P. B. Sujit, “Anytraverse: An off-road traversability framework with vlm and human operator in the loop,” 2025, arXiv:2506.16826.
[13] M. Patel, J. Frey, D. Atha, P. Spieler, M. Hutter, and S. Khattak, “Road-runner m&m – learning multi-range multi-resolution traversability maps for autonomous off-road navigation,” IEEE Robotics and Automation Letters, 2024.
[14] R. K. Baghbaderani, Y. Li, S. Wang, and H. Qi, “Temporally-consistent video semantic segmentation with bidirectional occlusion-guided feature propagation,” in WACV, 2024, pp. 674–684.
[15] A. Shaban, X. Meng, J. Lee, B. Boots, and D. Fox, “Semantic terrain classification for off-road autonomous driving,” in 5th Annual Conference on Robot Learning, 2021.
[16] M. V. Gasparino et al., “Wayfast: Navigation with predictive traversability in the field,” IEEE Robotics and Automation Letters, vol. 7, no. 4, p. 10651–10658, Oct. 2022.
[17] M. V. Gasparino, A. N. Sivakumar, and G. Chowdhary, “Wayfaster: a self-supervised traversability prediction for increased navigation awareness,” in IEEE International Conference on Robotics and Automation (ICRA), 2024.
[18] T. Guan, Z. He, R. Song, D. Manocha, and L. Zhang, “Tns: Terrain traversability mapping and navigation system for autonomous excavators,” in Robotics: Science and Systems (RSS), 2022.
[19] H. Zhang et al., “Traversability-aware legged navigation by learning from real-world visual data,” IEEE Transactions on Robotics, 2026.
[20] M. Sánchez, J. Morales, and J. L. Martínez, “Reinforcement and curriculum learning for off-road navigation of an ugv with a 3d lidar,” Sensors, vol. 23, no. 6, 2023.
[21] Y. Chen, P. Wei, Z. Liu, B. Wang, J. Yang, and W. Liu, “FASTC: A fast attentional framework for semantic traversability classification using point cloud,” in Proceedings of the 26th European Conference on Artificial Intelligence (ECAI), ser. Frontiers in Artificial Intelligence and Applications. IOS Press, 2023.
[22] G. Capezzuto, F. Tommaselli, M. P. Angarola, R. V. Godoy, and M. Becker, “Towards capability-aware traversability navigation for unstructured environments,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2026.
[23] A. Giusti et al., “A machine learning approach to visual perception of forest trails for mobile robots,” IEEE Robotics and Automation Letters, vol. 1, pp. 661–667, 2016.
[24] Y. Jeon, E. I. Son, and S.-W. Seo, “Follow the footprints: Self-supervised traversability estimation for off-road vehicle navigation based on geometric and visual cues,” in IEEE International Conference on Robotics and Automation (ICRA), 2024.
[25] M. G. Castro et al., “How does it feel? self-supervised costmap learning for off-road vehicle traversability,” in IEEE International Conference on Robotics and Automation (ICRA), 2023.
[26] M. Sivaprakasam et al., “Salon: Self-supervised adaptive learning for off-road navigation,” in IEEE International Conference on Robotics and Automation (ICRA), 2025.
[27] T. H. Rafi, R. Mahjabin, E. Ghosh, Y.-W. Ko, and J.-G. Lee, “Domain generalization for semantic segmentation: a survey,” Artificial Intelligence Review, vol. 57, no. 9, p. 247, 2024.
[28] Z. Chen, D. Pushp, and L. Liu, “Cali: Coarse-to-fine alignments based unsupervised domain adaptation of traversability prediction for deployable autonomous navigation,” in Robotics: Science and Systems (RSS), 2022.
[29] J.-H. Hwang, J. Bae, D.-W. Kim, Y. Lee, and S.-W. Seo, “From general vision to reliable traversability estimation: Adapting vision foundation models for unstructured outdoor environments,” 2026, arXiv:2605.29565.
[30] P. Papadakis, “Terrain traversability analysis methods for unmanned ground vehicles: A survey,” Engineering Applications of Artificial Intelligence, vol. 26, no. 4, pp. 1373–1385, 2013.
[31] B. He et al., “Navmoe: Hybrid model- and learning-based traversability estimation for local navigation via mixture of experts,” 2025, arXiv:2509.12747.
[32] A. Radford et al., “Learning transferable visual models from natural language supervision,” in Proceedings of the 38th International Conference on Machine Learning (ICML), 2021.
[33] M. Oquab et al., “Dinov2: Learning robust visual features without supervision,” Transactions on Machine Learning Research (TMLR), 2024.
[34] Z. Wang, X. Ning, and M. B. Blaschko, “Jaccard metric losses: Optimizing the Jaccard index with soft labels,” in Advances in Neural Information Processing Systems (NeurIPS), 2023.
[35] Z. Wang, T. Popordanoska, J. Bertels, R. Lemmens, and M. B. Blaschko, “Dice semimetric losses: Optimizing the Dice score with soft labels,” in Medical Image Computing and Computer Assisted Intervention (MICCAI), 2023.
[36] T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár, “Focal loss for dense object detection,” IEEE Transactions on Pattern Analysis and Machine Intelligence, 2020.
[37] M. Patel et al., “Tartanground: A large-scale dataset for ground robot perception and navigation,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2025.