arXiv:2610.22505cs.CVOct 2026

Manuscript Offprint

arXiv:2610.22505

KFS4^4LAM: Adaptive KeyFrame Selection with Structure-Aware Mapping for Endoscopic Gaussian Splatting SLAM

Xinwei Ju, Zhehua Mao, Tianyi Song, Danail Stoyanov, Sophia Bano, Francisco Vasconcelos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xinwei Ju*, Zhehua Mao, Tianyi Song, Danail Stoyanov, Sophia Bano, Francisco Vasconcelos

Hawkes Institute, University College London, London, W1W 7TY, UK

*Corresponding author: xinwei.ju.22@ucl.ac.uk

Abstract—Gaussian-splatting Simultaneous Localization and Mapping (SLAM) augments conventional SLAM with a dense, renderable 3D scene representation, enabling high-quality reconstruction and novel-view synthesis. However, its localization, reconstruction, and rendering performance depends strongly on which observations are retained for mapping. Existing systems commonly rely on fixed temporal intervals or simple pose- and overlap-based criteria for keyframe selection. In colonoscopy, highly non-uniform camera motion, repetitive anatomy, specularities, and other visual artifacts can make these criteria unreliable, leading to either redundant keyframes or missed informative viewpoints. We present KFS 4^{4}LAM (KeyFrame Selection with Structure-aware mapping for endoscopic Gaussian Splatting SLAM), which couples motion-guided adaptive keyframe selection with structurally supervised mapping and restricted temporal deformation. Accumulated motion guides adaptive keyframe selection, with complementary cues suppressing redundant or unreliable candidates. Density-aware mapping with anatomical contour supervision (colon folds) emphasizes structurally informative regions, while restricted temporal deformation accommodates local tissue dynamics without unconstrained geometric drift. We evaluate KFS 4^{4}LAM against multiple Gaussian-SLAM baselines on C3VD and C3VD-v2, together with cross-backbone and component ablations. KFS 4^{4}LAM achieves strong overall performance across trajectory, rendering, and depth metrics, with particularly pronounced gains on the more challenging C3VD-v2 dataset. In the matched comparison with SplaTAM on C3VD-v2, it reduces rotational relative pose error by 20.3% and depth RMSE by 38.4%, while improving PSNR by 0.78 dB. Cross-backbone experiments further show that the framework is not tied to a single underlying SLAM architecture. Code and visualization results are available at Project Page.

I. INTRODUCTION

Accurate camera tracking and dense reconstruction from endoscopic video can support spatial navigation, anatomy/lesion localization, and procedure documentation [1], [2]. However, endoscopic scenes differ markedly from the rigid, well-textured environments assumed by conventional SLAM, exhibiting deformable tissue, a restricted field of view, specular reflections, non-uniform illumination, and repetitive or texture-poor anatomy [1]. Camera motion is also highly non-uniform, causing the information contributed by consecutive frames to vary substantially. Slow or near-stationary motion produces long runs of near-redundant observations, whereas rapid translation, rotation, or viewpoint change can reveal substantial new scene content within only a few frames. Consequently, treating observations uniformly can devote mapping effort to redundant views while overlooking more informative ones, making observation selection an important factor in both camera tracking and reconstruction quality.

Compared with earlier implicit neural representations [3], 3D Gaussian Splatting represents the scene using explicit, efficiently renderable anisotropic Gaussians, enabling localized map updates and high-quality rendering, as demonstrated in GaussianSLAM [4], MonoGS [5], and SplaTAM [6]. Recent endoscopic methods have improved robustness to deformable tissue and weak texture through endoscopy-specific tracking in EndoGSLAM [7], deformation-aware representations [8], [9], and stronger geometric regularization such as surface-conforming constraints, normal supervision, and pose-aware keyframe strategies [10], [11]. However, these advances have primarily focused on tracking, scene representation, and map optimization, with comparatively less attention to adaptive observation selection and the explicit use of persistent anatomical structure during mapping.

Keyframe selection in conventional SLAM is commonly based on geometric and visibility cues such as displacement, parallax, and covisibility [12], [13]. Related criteria are also widely used for view selection in structure-from-motion and multi-view reconstruction [14], [15], while more recent approaches have explored richer geometric and photogrammetric criteria [16] and learned, data-driven selection policies [17]. In endoscopy, however, assessing viewpoint novelty from visual and correspondence cues remains challenging due to specular reflections, illumination variation, tissue deformation, weak texture, and repetitive anatomy [18], [19], [20]. These effects can produce substantial appearance or correspondence changes without necessarily indicating a geometrically informative new viewpoint [21]. Existing endoscopic Gaussian-SLAM systems largely rely on temporally spaced keyframes in EndoGSLAM [7] or pose/overlap-driven policies in Endo-2DTAM [10], with limited consideration of observation redundancy and reliability under non-uniform camera motion. Beyond keyframe selection, anatomical structures such as colon folds can complement appearance-based geometric reasoning [22], [23] and provide persistent spatial constraints for endoscopic navigation and reconstruction [24]. Incorporating such structure into Gaussian mapping therefore offers a complementary source of supervision to RGB appearance.

Building on these observations, we introduce KFS 4^{4}LAM, a structure-aware Gaussian-SLAM framework that couples

Input Ib,DtI_{b}, D_{t}

Figure

Selected keyframe (actual checkpoint)

Non-keyframe

t

1 Adaptive Keyframe Selection (Ours)

Motion-driven proposal with appearance veto

Motion Stream

(when to propose)

Estimated camera poses {Tt}\{T_t\}

Figure

Image Stream

(whether to keep)

Current image ItI_{t}

Visual support check UtU_{t}

Contrast

Gradient

Redundancy test RtR_{t}

Appearance Local matching difference

Retained keyframes

Final keyframe decision ktk_{t}

2 Structure-Aware Mapping with Restricted Temporal Deformation (Ours)

Fold-boundary supervision

Figure

Boundary extraction & distance transform

Fold-Conditioned Restricted Temporal Deformation

Time-conditioned Gaussians

Figure

Boundary support Distance QtQ_{t}

Beginning – Mid-sequence – End

Fold-boundary Loss LfoldL_{fold}

Gaussian fold attribute fi

Fold-conditioned

deformation regularization

Time-conditioned Gaussian map gtg_{t}

Figure

Figure

Camera pose TtT_{t}

3 Tracking (all frames)

Render

R(Tt,sg(Gt))\mathcal{R}(T_t, \mathrm{sg}(\mathcal{G}_t))

Optimized

Camera Pose TtT_{t}

photometric

  • depth loss

Figure

ItI_{t} RGB observation

D. Depth observation

FtF_{t} Fold-response map

GtG_{t} Time-conditioned Gaussian map

TtT_{t} Camera pose

MtM_{t} Ordinary motion proposal

PtP_{t} Protected proposal

UtU_{t} Insufficient visual support

RtR_{t} Visual redundancy

ktk_{t} Final keyframe decision

ftf_{t} Gaussian fold attribute

QtQ_{t} Normalized fold-boundary distance map

Fig. 1. Overview of the KFS 4^{4}LAM pipeline. Given an RGB-D sequence, KFS 4^{4}LAM consists of three coupled components: (1) an adaptive keyframe observation policy that generates candidates from accumulated camera motion and adaptively retains informative, non-redundant observations; (2) structure-aware mapping that incorporates fold-boundary supervision and fold-conditioned restricted temporal deformation into the time-conditioned 3D Gaussian map; and (3) frame-wise tracking against the learned map. Selected keyframes, indicated by blue boxes in the input sequence, provide historical observations for mapping, while all processed frames update the map and are tracked against its current state. The resulting representation supports temporally deformable reconstruction while maintaining camera tracking throughout the sequence.

motion-guided adaptive keyframe selection with structurally supervised mapping and restricted temporal deformation. Rather than allowing appearance change to directly trigger keyframe insertion, accumulated camera motion proposes candidate viewpoints, while complementary image-and feature-level cues suppress unreliable or redundant candidates. The resulting non-uniform keyframe density is accommodated by adapting the mapping budget to the number of retained keyframes. The selected observations are further integrated with anatomical fold supervision and restricted temporal deformation, using persistent fold structure to regularize Gaussian mapping while accommodating local non-rigid tissue motion.

Taken together, KFS 4^{4}LAM provides an adaptive mapping strategy that balances viewpoint informativeness, observation efficiency, and structural consistency in deformable endoscopic scenes. Our evaluation shows consistent improvements in localization and map quality without relying on a higher keyframe density, with the benefits becoming more pronounced on the more challenging C3VD-v2 sequences. Component and cross-backbone ablations further indicate that these gains arise from the proposed design rather than from increased mapping effort or a particular Gaussian-SLAM backbone.

The main contributions of this work are:

• A motion-guided adaptive keyframe policy that combines accumulated-motion-based candidate proposal with redundancy-aware visual suppression.

• A structure-aware mapping design that combines density-aware mapping with anatomical fold-boundary supervision and fold-conditioned restricted temporal deformation, providing complementary image-space structural supervision and a soft spatial prior for non-rigid Gaussian motion, enabling non-uniform observation allocation under varying camera motion.

• A comprehensive evaluation on C3VD and C3VD-v2, including component and matched cross-backbone ablations that isolate the effects of adaptive keyframe selection, structural supervision, and restricted temporal deformation, and demonstrate consistent improvements across different Gaussian-SLAM backbones.

References (25)