arXiv:2610.26633cs.ROOct 2026

Manuscript Offprint

arXiv:2610.26633

CAOS-SLAM: Class-Agnostic Object-Aware Real-Time vSLAM for Dynamic Environments

Gaia Borghi, João Carlos Virgolino Soares, Angelo Bratta, Shahab Heshmati-Alamdari, Claudio Semini

Gaia Borghi 1,2∗^{1,2*}, João Carlos Virgolino Soares 1^{1}, Angelo Bratta 1^{1}, Shahab Heshmati-Alamdari 2^{2}, Claudio Semini 1^{1}

Abstract—Robust visual Simultaneous Localization and Mapping (vSLAM) in dynamic environments faces challenges due to the presence of moving objects that may introduce erroneous observations, corrupt the map reconstruction and overall degrade localization accuracy. Existing vSLAM approaches often rely on predefined semantic classes or costly pixel-wise classification, limiting their robustness or applicability in real-world scenarios. This paper presents CAOS-SLAM, a dynamic vSLAM framework that extends ORB-SLAM3 with a hybrid perception pipeline to detect, track, and filter both semantically known and previously unseen moving objects in real-time. On-demand panoptic segmentation is performed for object discovery, with candidate unknown objects instantiated through depth-based clustering of unclassified regions. Between panoptic updates, persistent object tracks are updated using lightweight detection when available or temporal mask propagation based on world-frame Kalman prediction, depth consistency, and appearance similarity. The estimated object motion is then used to reject dynamic features from the SLAM pipeline. Experimental results on multiple dynamic RGB-D datasets and real-world experiments demonstrate improved localization accuracy over state-of-the-art dynamic vSLAM approaches, achieving up to 59% lower localization error in scenes characterized by unknown dynamic objects and up to 88% lower error in heavily occluded scenes, while achieving a median processing rate of 30 FPS on a laptop. Furthermore, the tracking module provides estimates of object trajectories and velocities, supporting potential future applications in perception, navigation, and motion-planning tasks in dynamic environments. Code and dataset will be released upon acceptance.

I. INTRODUCTION

Visual Simultaneous Localization and Mapping (vSLAM) has become a fundamental component for autonomous robots and intelligent systems operating in unknown environments. vSLAM enables robots and autonomous devices to estimate their pose inside an unknown environment, while progressively reconstructing the surroundings only relying on visual data, without external sensors.

Despite significant progress in recent years, vSLAM systems still face notable challenges when deployed in real-world scenarios. The presence of moving objects reduces the availability of reliable static features, which might lead to incorrect data association, localization drift and degraded tracking performance [1]. Many recent approaches use object detection or instance segmentation models to identify and filter dynamic features [2] [3] [4]. While these methods can achieve real-time or close to real-time performance, they inherently depend on predefined semantic classes. As a consequence, their ability to be generalized into unseen or unfamiliar scenarios

  1. CLASS-AGNOSTIC OBJECT ESTIMATION

Figure

  1. DYNAMIC CLASSIFICATION

  2. CAMERA LOCALIZATION AND OBJECT TRACKING

Figure

Fig. 1: Object masks (known and unknown) are extracted via panoptic discovery or temporal propagation. Moving objects are excluded from SLAM localization. Both camera and dynamic object trajectories are estimated.

is limited, especially when dynamic objects fall outside the categories on which the network was trained [5] [6], [7].

Class-agnostic approaches aim to overcome these limitations by detecting motion without relying on semantic labels. These methods often combine deep learning with geometric cues and optical flow. These methods improve generalization to arbitrary dynamic objects, but this robustness comes with a high computational cost, which hinders their applicability in real-time systems [8], [9], [10].

In this work, we address the trade-off between class-agnostic robustness and real-time performance by proposing CAOS-SLAM, a Class-Agnostic Object-aware dynamic vSLAM framework (Fig. 1). Our approach relies on a panoptic segmentation model that provides object-level masks. To reduce dependency on predefined semantic categories, the framework processes regions that are not assigned to any known panoptic classes, using RGB-D information to instantiate candidate unknown objects. However, running panoptic segmentation on every frame can introduce a substantial computational overhead, making real-time operation challenging [11]. Therefore, our approach combines panoptic segmentation with a lightweight temporal mask propagation strategy. This design enables class-agnostic dynamic object detection and tracking while significantly reducing the computational cost associated with panoptic perception, allowing the complete vSLAM system to operate in real time. The key contributions of the proposed implementation are as follows:

• Class-agnostic dynamic reasoning: We introduce a perception framework that combines panoptic segmentation with RGB-D geometric reasoning to detect both known

*Corresponding author: gaia.borghi@iit.it

1^{1} Dynamic Legged Systems Lab (DLS), Istituto Italiano di Tecnologia, Genoa, Italy

2^{2} Section of Automation & Control, Department of Electronic Systems, Aalborg University, Denmark and unknown objects. Unclassified regions are separated into individual object instances through depth-based clustering, enabling dynamic object reasoning beyond predefined semantic classes.

• Object-centric temporal propagation: The proposed system decouples object discovery from tracking to avoid running costly panoptic inference at every frame. The system maintains an explicit per-object state and propagates object masks between panoptic observations through Kalman filter prediction combined with depth and appearance consistency, keeping object states updated while preserving real-time operation.

• Integrated dynamic object tracking: Unlike previous tracking-based methods, which are limited to predefined semantic categories [12], [13] or rely on computationally expensive formulations [14], our system tracks both known and unknown objects and estimates their motion in the world frame. It runs in real time on a laptop, providing object-level information that can support other tasks such as navigation and obstacle avoidance.

• Extensive Validation: Experiments on multiple dynamic RGB-D datasets and real-world scenarios demonstrated improved localization accuracy and robustness in dynamic and heavily occluded scenes, including up to 59% lower localization error for unknown dynamic objects and up to 88% lower error under severe occlusions, compared to other SOTA methods.

Additionally, the code and the recorded dataset will be released upon acceptance.

References (21)