Visual language navigation method, device, equipment, storage medium and program product
By integrating RGB semantic segmentation with laser SLAM maps, a probabilistic semantic map is constructed, which solves the problem of the lack of semantic information in laser SLAM maps, improves the stability and reliability of semantic maps, and realizes closed-loop execution of natural language navigation.
Patent Information
- Application Number
- CN202611646116.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, laser SLAM maps lack semantic information, and the reliability of multi-frame fusion in semantic map construction is insufficient, making it difficult for robots to understand and execute natural language navigation tasks. Furthermore, there is a lack of effective processing mechanisms when targets are missing.
By deeply fusing RGB semantic segmentation results with laser SLAM geometric maps, a probabilistic semantic map containing category probability distribution and semantic confidence is constructed. A multi-frame probability update mechanism is adopted during the semantic map construction process to reduce the impact of single-frame false detection and dynamic interference. At the same time, the map is updated in real time during execution to adapt to environmental changes.
This technology enables robots to acquire object category attributes while understanding the geometric structure of their environment, improving the long-term stability and reliability of semantic maps. It allows robots to dynamically adapt to environmental changes and achieve closed-loop navigation from natural language commands to the robot's actual movements.
Smart Images

Figure CN123175248A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of autonomous navigation technology for mobile robots, and in particular to a visual language navigation method, apparatus, device, storage medium, and program product. Background Technology
[0002] With the rapid development of mobile robot technology, indoor mobile robots are increasingly widely used in scenarios such as office building inspection, exhibition hall guidance, warehouse management, and fire exit inspection. Autonomous navigation is one of the core capabilities of mobile robots to perform these tasks. It usually relies on LiDAR SLAM (Simultaneous Localization and Mapping) to build a geometric map of the environment and complete localization, path planning, and obstacle avoidance on this map.
[0003] Existing LiDAR-based SLAM navigation systems typically construct occupancy grid maps or point cloud maps, which can effectively describe the geometric structures of walls, obstacles, passageways, and room boundaries. However, these maps are essentially descriptions of environmental geometry and cannot provide category attributes of objects within the environment. Consequently, robots struggle to understand natural language commands such as "go to the door," "find fire-fighting equipment," and "check if the passageway is blocked," limiting human-robot interaction methods.
[0004] Semantic segmentation techniques based on RGB images can classify each pixel in an image and output pixel-level semantic category information. However, the output of semantic segmentation networks is located on the image plane, lacking three-dimensional spatial location information, making it difficult to directly use for robot navigation. Some solutions attempt to combine semantic segmentation results with depth maps or point clouds to obtain three-dimensional semantic information, but the semantic segmentation results of a single frame image are affected by factors such as lighting, viewpoint, and occlusion, and directly mapping them to three-dimensional space will lead to inconsistencies in semantic labels in space. Other solutions generate semantic maps through multi-frame fusion, but the fusion process usually only performs simple statistics on semantic labels, without fully considering the reliability differences between different observations, resulting in inconsistencies in categories or the accumulation of errors in the semantic map. These problems make it difficult for existing semantic map construction schemes to meet the needs of long-term operation and natural language navigation.
[0005] Visual language navigation technology, which utilizes natural language understanding to convert language commands into navigation targets or action sequences, has become a research hotspot in the field of robot navigation in recent years. In existing technologies, some solutions use end-to-end models to directly generate robot actions from language commands, but these methods lack robustness in real-world robot scenarios when faced with issues such as localization drift, target loss, and environmental changes. Other solutions parse language commands into structured targets and then retrieve them from a map; however, these solutions typically rely on pre-built semantic maps, and lack effective processing mechanisms when targets are absent or have insufficient confidence in the map, easily leading to task failure. Summary of the Invention
[0006] This application provides a visual language navigation method, apparatus, device, storage medium, and program product. Existing technologies suffer from problems such as the lack of semantic information in laser SLAM maps, insufficient reliability of multi-frame fusion in semantic map construction, and the lack of an effective processing mechanism when targets are missing, which makes it difficult for robots to understand and perform natural language navigation tasks.
[0007] This application provides a visual language navigation method, including the following steps: Acquire RGB images, laser point clouds, and geometric maps of the robot's surrounding environment; Perform semantic segmentation on the RGB image to obtain the semantic segmentation result; Based on the robot's pose, the semantic segmentation result is spatially correlated with the laser point cloud to generate semantic observations in the map coordinate system, and multiple frames of semantic observations are fused into the geometric map to construct a probabilistic semantic map. The natural language instructions are parsed into a structured task expression containing the target category, and candidate targets are retrieved in the probabilistic semantic map based on the structured task expression to generate executable candidate navigation points and plan navigation paths. The robot is controlled to move along the navigation path, and the probabilistic semantic map is updated during the movement. The retrieval of the candidate target is then re-executed based on the updated probabilistic semantic map.
[0008] This application also provides a visual language navigation device, including the following modules: The data acquisition module is used to acquire RGB images, laser point clouds, and geometric maps of the robot's surrounding environment; The semantic segmentation module is used to perform semantic segmentation on the RGB image to obtain semantic segmentation results; The semantic map construction module is used to spatially associate the semantic segmentation results with the laser point cloud based on the robot pose, generate semantic observations in the map coordinate system, and fuse multiple frames of semantic observations into the geometric map to construct a probabilistic semantic map. The language navigation planning module is used to parse natural language instructions into structured task expressions containing target categories, retrieve candidate targets in the probabilistic semantic map based on the structured task expressions, generate executable candidate navigation points, and plan navigation paths. The closed-loop execution module is used to control the robot to move along the navigation path, update the probabilistic semantic map during the movement, and re-execute the retrieval of the candidate target based on the updated probabilistic semantic map.
[0009] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the visual language navigation methods described above.
[0010] This application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the visual language navigation method as described above.
[0011] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the visual language navigation method as described above.
[0012] The visual language navigation method, apparatus, device, storage medium, and program products provided in this application construct a probabilistic semantic map containing category probability distribution and semantic confidence by deeply fusing RGB semantic segmentation results with a laser SLAM geometric map. This enables the robot to acquire the category attributes of objects while understanding the geometric structure of the environment. During the semantic map construction process, a multi-frame probability update mechanism effectively reduces the impact of single-frame false detections and dynamic interference, improving the long-term stability and reliability of the semantic map. During execution, the robot continuously acquires new sensor data and updates the probabilistic semantic map in real time. Based on the updated map, the target is re-retrieved, enabling the navigation system to dynamically adapt to environmental changes. This achieves closed-loop visual language navigation from natural language commands to the robot's actual motion execution. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a flowchart illustrating the visual language navigation method provided in this application.
[0015] Figure 2 This is a schematic diagram of the test robot platform provided in this application.
[0016] Figure 3 This is the overall system block diagram provided in this application.
[0017] Figure 4 This is a flowchart illustrating the visual language navigation method based on real-time RGB semantic segmentation and LiDAR SLAM semantic map provided in this application.
[0018] Figure 5 This is a schematic diagram of the structure of the visual language navigation device provided in this application.
[0019] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] The existing technology has the following main problems: First, navigation systems that rely solely on laser SLAM can only obtain environmental geometry and passable areas, lacking information on object categories, spatial semantics, and language task associations, making it difficult to directly perform natural language tasks such as "go to the door," "find fire-fighting facilities," and "check if the passage is blocked."
[0022] Second, navigation systems that rely solely on RGB visual semantic segmentation can typically only obtain semantic categories on the image plane, lacking stable map coordinates, global pose constraints, and traversable area judgments, making it difficult to guarantee the accuracy of target spatial positioning, path accessibility, and navigation safety.
[0023] Third, existing semantic map construction methods, which simply overlay the semantic segmentation results of a single frame onto the map, are easily affected by single-frame false detections, occlusion, changes in lighting, reflective ground, dynamic targets, and pose errors, resulting in unstable semantic maps and insufficient long-term reliability.
[0024] Fourth, if existing language navigation systems directly output robot actions from large language models or visual language models, problems such as target category mismatch, unstable output format, lack of safety constraints, unreachable paths, or unexecutable controls are likely to occur.
[0025] Fifth, when the target is not observed on the current map or the target confidence is insufficient, existing robots often lack an active exploration mechanism guided by language goals and semantic priors, and are prone to degenerate into aimless traversal, resulting in low search efficiency.
[0026] Sixth, if the geometric map, semantic map, target confidence, and path planning cannot be continuously updated in a closed loop during the robot's navigation task, it will be difficult to handle practical problems such as dynamic obstacles, temporary occlusion, target changes, positioning uncertainty, and path blockage in a timely manner.
[0027] To address the aforementioned issues, this application provides a visual language navigation method and system based on real-time RGB semantic segmentation and LiDAR SLAM semantic maps. This enables robots to form probabilistic semantic maps by fusing real-time RGB semantic segmentation results on a stable LiDAR SLAM geometric map, and to perform semantic target retrieval, semantic topology path planning, active exploration of missing targets, and closed-loop execution updates based on natural language commands.
[0028] Specifically, the objectives of this application include improving the spatial projection accuracy of RGB semantic segmentation results onto laser SLAM maps; reducing the impact of single-frame false detections, occlusion, and dynamic targets on semantic maps through multi-frame probabilistic fusion; converting natural language targets into searchable, verifiable, plannable, and executable structured task expressions; improving target search efficiency through proactive exploration using linguistic conditions when targets are missing or lack confidence; continuously updating geometric maps, probabilistic semantic maps, and path planning results during execution to improve the system's adaptability to real-world dynamic environments; and enhancing the deployment feasibility of the system on mobile robot products through a real-time RGB semantic segmentation network for edge computing platforms.
[0029] The visual language navigation method provided in this application can be applied to indoor mobile robots, inspection robots, service robots, exhibition hall guidance robots, warehouse inspection robots, building security inspection robots, fire exit inspection robots, tracked mobile robots, and other robot platforms with autonomous mobility. Specific application scenarios include office building inspection, exhibition hall guidance, warehouse inspection, fire exit inspection, building security inspection, warehouse area target finding, indoor semantic target navigation, and other indoor or semi-enclosed environments requiring natural language target retrieval, semantic map construction, and autonomous navigation execution.
[0030] This application also provides a system corresponding to the visual language navigation method, specifically a visual language navigation system based on real-time RGB semantic segmentation and LiDAR SLAM semantic map. This system can be installed on a mobile robot and includes an RGB camera, LiDAR, inertial measurement unit, odometry or chassis status acquisition device, edge computing platform, natural language processing module, semantic map database, path planning module, and robot motion control system. The system acquires environmental images through the RGB camera, constructs a geometric SLAM map using LiDAR and inertial measurement information, obtains image-level semantic category information through real-time RGB semantic segmentation, and integrates the semantic segmentation results into the LiDAR SLAM map to form a searchable, updatable, and planable probabilistic semantic map.
[0031] In the visual language navigation phase, the system receives natural language commands from the user, such as "Go to the office entrance and check if the passage is clear," "Take me to the fire exit," "Find a chair by the window," and "Inspect the corridor for obstacles." It then parses these commands into target category, target attributes, spatial relationships, action types, and safety constraints. Subsequently, the system retrieves candidate target regions that meet the language conditions from the probabilistic semantic map, ranks them based on semantic confidence, path distance, target reachability, and risk cost, and generates an executable navigation path for the robot through semantic topology path planning, global path planning, and local obstacle avoidance. When no credible target exists in the current map or the target confidence is insufficient, the system further triggers active exploration based on the language target and semantic priors, continuously updating the geometric map, probabilistic semantic map, and navigation strategy during execution to achieve natural language-driven closed-loop visual language navigation.
[0032] This application can be deployed in robot products as a complete visual language navigation system, or it can be applied to existing robot platforms as a robot semantic mapping module, natural language target retrieval module, semantic navigation module, intelligent inspection module, multi-sensor fusion navigation module, or target missing active exploration module.
[0033] The following is combined with Figures 1-6 This application describes the visual language navigation method, apparatus, device, storage medium, and program product.
[0034] Figure 1 This is a flowchart illustrating the visual language navigation method provided in this application, such as... Figure 1 As shown, the method includes the following steps: Step 101: Obtain RGB images, laser point clouds, and geometric maps of the robot's surrounding environment.
[0035] Time synchronization and spatial calibration are performed on RGB images, laser point clouds, IMU (Inertial Measurement Unit) measurements, and odometer or chassis status to obtain multi-sensor synchronous observation data under a unified time reference and coordinate system.
[0036] In one embodiment, sensor acquisition and temporal-spatial calibration are used to achieve unified acquisition, time alignment, and coordinate system unification of RGB images, laser point clouds, IMU measurements, and odometer or chassis status, providing multi-sensor data with unified time and spatial references for LiDAR SLAM, real-time RGB semantic segmentation, semantic projection fusion, and probabilistic semantic map updates.
[0037] The preferred embodiment of this application adopts a multi-sensor data access and timestamp synchronization method based on ROS1. A black-and-white grid or checkerboard planar calibration board is used to complete the internal parameter distortion calibration of the camera. The external parameter calibration between the camera and the lidar is completed by combining the planar constraint of the calibration board with the image reprojection verification method. The coordinate transformation relationship between the lidar, the camera and the robot body is determined according to the rigid installation relationship of the sensors.
[0038] It should be noted that this application is not limited to ROS1, checkerboard calibration board or any specific calibration tool. Other mature methods that can achieve multi-sensor synchronization, camera intrinsic parameter solving, camera and LiDAR extrinsic parameter solving, and sensor and robot body coordinate unification can all be used as equivalent implementation methods.
[0039] Specifically, S1 sensor data acquisition and temporal-spatial calibration can be achieved through the following steps: S1.1 Inputs and Outputs: Robot at all times The input data collected is: ; in, For a moment The raw input data collected Raw images captured by an RGB camera; For lidar coordinate system Point clouds below; and These are the linear acceleration and angular velocity output by the IMU, respectively. This refers to the odometer or chassis status, including linear velocity, angular velocity, wheel speed, or chassis motion status. , , and These are timestamps for RGB images, laser point clouds, IMU data, and odometry data, respectively.
[0040] The output of this step is the multi-sensor observation data after time synchronization, image correction, and coordinate system unification are completed: ; in, It is a collection of multi-sensor observation data. and These are the timestamps of the RGB image and the laser point cloud after time offset compensation, respectively. To standardize reference times.
[0041] To complete the distortion-corrected RGB image, For the calibration parameter set: ; in, This is the camera intrinsic parameter matrix; These are camera distortion parameters; This indicates the robot's body coordinate system Coordinate transformation from the coordinate system to the lidar coordinate system External parameters; Indicates the coordinate system of the lidar Coordinate transformation from the camera coordinate system External parameters; The extrinsic parameters from the robot's body coordinate system to the camera coordinate system; To compensate for multi-sensor time synchronization errors; For camera intrinsic parameter calibration weight projection error; To calibrate the reprojection error of the camera and lidar in joint calibration; This represents the distance error from the laser point cloud to the calibration board plane.
[0042] This application adopts the following coordinate transformation convention: ; in, Point exist Coordinate representation in a coordinate system Point exist Coordinate representation in a coordinate system This indicates that the coordinate points are moved from the coordinate system. Transform to coordinate system .
[0043] S1.2 Multi-sensor data acquisition and time synchronization: In this application, it is preferred to use ROS1 to access RGB camera, MID-360 LiDAR and its built-in IMU, chassis odometer or chassis status data respectively, and add a timestamp to each frame of data.
[0044] When the sensor supports hardware triggering, pulse synchronization, or precise time protocol, hardware synchronization or PTP synchronization is preferred; when hardware synchronization is not available, approximate time synchronization based on ROS timestamps is preferred, and the fixed time offset between different sensors is compensated according to the offline measurement results.
[0045] The system uses the lidar timestamp or unified system time as a reference, and selects the closest RGB image, IMU, and odometry data within the allowed synchronization time window to form a synchronization data packet. : ; The synchronization data packet is provided to the LiDAR SLAM, real-time RGB semantic segmentation, and semantic projection fusion steps respectively.
[0046] S1.3 In-camera distortion calibration: This application preferably employs a mature camera calibration method based on a planar checkerboard calibration board. By acquiring multiple sets of images of the calibration board at different distances, angles, and image positions, the corner points of the calibration board are detected, and the camera intrinsic parameter matrix is solved. and camera distortion parameters .
[0047] After obtaining the calibration parameters, distortion correction is performed on the original images acquired by the robot: ; in, This is the distortion correction function. The corrected image. It serves as input for real-time RGB semantic segmentation and point cloud image projection.
[0048] S1.4 External parameter calibration of camera, lidar, and robot body: In this application, the preferred method is to use a plane calibration plate jointly observed by a camera and a lidar to solve for the external parameters between the camera and the lidar. .
[0049] During the calibration process, the camera side extracts the corner points, boundaries, or planar regions of the calibration board, while the lidar side extracts the point cloud plane corresponding to the calibration board. Through joint observations at multiple distances and attitudes, the initial extrinsic parameters are solved using planar consistency constraints, and the extrinsic parameter results are verified or optimized using image reprojection errors.
[0050] External parameters between the robot body and the lidar The optimal method is determined based on mechanical installation dimensions, 3D structural design data, or offline calibration results. Since the camera, lidar, and robot body are rigidly connected, their external parameter relationships satisfy: ; in, Robot body coordinate system To the camera coordinate system The extrinsic transformation matrix is obtained. This allows us to obtain a unified coordinate transformation relationship between the camera, LiDAR, and the robot body.
[0051] During semantic projection, LiDAR points can be transformed from extrinsic parameters to the camera coordinate system and projected onto the RGB image plane; during semantic map construction, LiDAR points can be combined with SLAM pose transformation to the map coordinate system.
[0052] S1.5 Calibration Result Verification and Parameter Setting: To ensure the reliability of semantic projection and map fusion, after calibration, it is preferable to verify the time synchronization error, camera reprojection error, camera and lidar joint reprojection error, and distance error from point cloud to calibration board plane.
[0053] In the implementation of this application, the following parameters are preferably adopted: Multi-sensor near-synchronization allows for time difference The root mean square error of time synchronization between the camera and the lidar is controlled as follows: ; The number of camera intrinsic calibration images is set as follows: ; The size of the inner corner points of the chessboard calibration board is set as follows: ; The side length of each square on the chessboard is set as follows: ; The acceptance threshold for camera intrinsic parameter calibration weight projection error is set as follows: ; The acceptance threshold for reprojection error in the joint calibration of the camera and lidar is set as follows: ; The root mean square distance error acceptance threshold from the laser point cloud to the calibration board plane is set as follows: ; Camera and LiDAR extrinsic parameter calibration optimization data acquisition should be no less than: ; Combined observation data at different distances and in different orientations should be collected, and the calibration board should cover the central and edge areas of the camera's field of view as well as different pitch angles to improve the stability of external parameter calibration.
[0054] The above parameters are preferred empirical values used in the test platform of this application. They can be adjusted according to sensor resolution, installation distance, robot movement speed and application environment, and do not constitute a limitation on the scope of protection of this application.
[0055] S1.6 Output of this step and subsequent connections: After completing multi-sensor data acquisition, time synchronization, and spatial calibration, the system outputs: ; in, and Input the real-time RGB semantic segmentation steps; , 、 、 and Input the steps for constructing a LiDAR SLAM geometry map; , , , , , and Input semantic projection fusion steps.
[0056] Therefore, this step completes the basic spatiotemporal unification of multi-sensor data without changing the core processing logic of semantic mapping and visual language navigation.
[0057] Based on the laser point cloud, IMU measurements, and odometer or chassis status, perform LiDAR SLAM to estimate the robot's real-time pose and pose uncertainty in the map coordinate system, and construct a geometric map that includes occupied areas, free areas, traversable areas, and unknown areas.
[0058] In one embodiment, the lidar SLAM geometric map construction is used to estimate the robot's pose in the map coordinate system in real time based on the lidar point cloud, IMU measurement values, and odometer or chassis status, and to construct a 3D point cloud map, an occupied grid map, and a passable area of the indoor environment, providing a unified geometric space basis for semantic projection fusion, probabilistic semantic map updating, target reachability judgment, semantic target retrieval, and path planning.
[0059] This application preferably employs a combination of laser-inertial odometry, point cloud motion distortion compensation, local map matching, keyframe management, loop closure detection, pose graph optimization, and occupancy grid map construction. It preferably uses a laser inertial SLAM framework compatible with the MID-360 LiDAR and its built-in IMU, but is not limited to any specific open-source software or algorithm. Other laser SLAM, laser inertial SLAM, visual inertial SLAM, or multi-sensor fusion SLAM methods capable of outputting robot pose, 3D geometric map, occupied area, free area, unknown area, and traversable area can also be used as equivalent implementation methods.
[0060] Specifically, the S2 LiDAR SLAM geometric map construction can be achieved through the following steps: S2.1 Inputs and Outputs: The input for this step is the synchronous calibration observation data output from the sensor acquisition and temporal-spatial calibration steps, specifically including the portion related to laser SLAM: ; in, For a moment The laser SLAM input data set, For lidar coordinate system The current frame point cloud; Linear acceleration output by the IMU; The angular velocity output by the IMU; This refers to the odometer or chassis movement status. Robot body coordinate system To the lidar coordinate system External references.
[0061] The output of this step is: ; in, For a moment The set of output results of the LiDAR SLAM steps. For the robot body in the map coordinate system The current pose; This represents the robot's trajectory from the initial moment to the current moment. The current geometry map; The uncertainty in the current pose estimation is, where, For location covariance, Let be the attitude covariance.
[0062] Since the position covariance and attitude covariance have different physical dimensions, this application normalizes them separately, and defines the normalized uncertainty of the robot's current pose as: ; in, It serves as a reference scale for location uncertainty; It serves as a reference scale for attitude uncertainty; This is a dimensionless quantity; a larger value indicates lower reliability of the current SLAM pose. The location covariance matrix The trace is used to characterize the overall uncertainty in robot position estimation; The attitude covariance matrix The trace is used to characterize the overall uncertainty in robot pose estimation. Subsequent semantic fusion, path planning, active exploration, and closed-loop execution steps all employ this trace. Evaluate pose reliability.
[0063] The geometric map is represented as: ; in, A 3D point cloud map; To occupy the area map; For free area maps; This is a map of the passable area after safety expansion. Map of unknown areas that have not yet been observed.
[0064] S2.2 LiDAR SLAM Pose Estimation and Point Cloud Map Construction: In this application, a laser-inertial joint state estimation method is preferably used to complete the robot pose estimation. The system first uses IMU measurements and odometry or chassis status to perform short-term motion prediction, and then performs motion distortion compensation on a frame of point cloud based on the acquisition time of each laser point.
[0065] After distortion correction, the system performs effective distance filtering, outlier removal, and voxel downsampling on the point cloud to reduce invalid points, reflection noise, and redundant computation. The processed current frame point cloud is then matched with an existing local point cloud map, preferably using a scan-to-map matching method to estimate the robot's current position and pose.
[0066] The system maintains the point cloud map using keyframes. When the robot's displacement or rotation exceeds a set threshold, the current frame is added to the map as a keyframe, and the local point cloud map and the global 3D point cloud map are updated.
[0067] To reduce cumulative drift during long-distance operation, the system preferentially employs loop closure detection and pose graph optimization methods. When the robot retraces through a mapped area, loop closure constraints are established based on point cloud similarity or spatial proximity, and the poses of historical keyframes are optimized as a whole.
[0068] S2.3 Occupy grid map and generate passable areas: To meet the requirements of target accessibility assessment and navigation path planning, the system generates a two-dimensional occupancy grid map based on the three-dimensional point cloud map, or generates a three-dimensional voxel occupancy map according to specific application requirements.
[0069] The system preferentially adopts mature ray-based update and occupancy probability update methods to divide map units into: ; The areas where obstacles were detected were marked as occupied areas; the areas through which the laser beam passed without detecting obstacles were marked as free areas; and the areas not effectively observed by the sensors were marked as unknown areas.
[0070] To meet the robot's actual size and safe navigation requirements, the system expands the occupied area based on the robot's body width, track outline dimensions, and safety distance. The final passable area is represented as follows: ; in, To ensure the safety of the obstacle area after expansion; It will be used for target reachability labeling, candidate waypoint selection, route planning, and safe execution and replanning.
[0071] S2.4 Coordinate Transformation and its Connection to Subsequent Steps: According to the coordinate transformation conventions mentioned above, LiDAR points can be transformed into the map coordinate system based on the robot's current SLAM pose: ; in, For a moment No. The laser point is in the map coordinate system The following position coordinates; For a moment No. A laser point in the lidar coordinate system The following position coordinates; For a moment Robot body coordinate system To map coordinate system The transformation matrix; Robot body coordinate system To the lidar coordinate system external parameters The inverse matrix.
[0072] Through this transformation, each laser point simultaneously possesses: its original position in the lidar coordinate system; its relative position in the robot's body coordinate system; and its global position in the map coordinate system.
[0073] The robot pose and geometric map output in this step are used for: providing the spatial position of the point cloud in the map coordinate system for semantic projection fusion, used for RGB semantic projection fusion; providing occupied areas, free areas, unknown areas, and passable areas for probabilistic semantic map updating; providing distance and reachability judgment criteria for candidate targets for semantic target retrieval; providing the geometric map required for global path planning and local obstacle avoidance for semantic topology path planning; providing the boundaries of known and unknown areas for active exploration when targets are missing, used to extract the exploration frontier; and providing real-time pose, obstacle status, and path replanning basis for closed-loop execution and replanning.
[0074] S2.5 Necessary Implementation Parameters: In the implementation of this application, the following parameters are preferably adopted: The effective distance range of the laser point cloud is set as follows: This means eliminating abnormal points that are too close to the sensor and distant points that are beyond the effective mapping range of the indoor area.
[0075] The point cloud voxel downsampling size is set to: ; The radius of the local point cloud map is set as follows: ; The keyframe insertion offset threshold is set to: ; The keyframe insertion rotation threshold is set to: ; When the robot displacement exceeds Or rotate more At that time, the system inserts a new keyframe.
[0076] The resolution of the 2D occupancy grid map is set to: ; The occupancy probability threshold and the free probability threshold are set as follows: ; When the probability of map unit occupancy is higher than When the probability of occupation is less than 1, mark it as occupied area; when the probability of occupation is less than 1, mark it as occupied area. When the area is free, it is marked as a free area; map units in between are marked as unknown or undetermined areas.
[0077] Based on the dimensions of the tracked robot and indoor operation safety requirements of this application, the obstacle safety expansion radius is set as follows: ; When using loop closure detection, it is preferable that the spatial distance between the robot's current position and the historical keyframe is less than: ; Loopback candidate retrieval is performed, and loopback constraints are added after the point cloud matching results meet the preset consistency threshold.
[0078] The above parameters are preferred empirical values adopted by the test robot platform of this application. They can be adjusted according to robot size, moving speed, lidar detection range, scene size and planning safety requirements, and do not constitute a limitation on the scope of protection of this application.
[0079] S2.6 Output of this step: After completing LiDAR SLAM pose estimation, point cloud map construction, loop closure optimization, and occupancy grid map generation, the system outputs: ; in: ; This output serves as the geometric basis for subsequent semantic projection fusion, probabilistic semantic map updates, semantic target retrieval, path planning, active exploration, and closed-loop execution.
[0080] Step 102: Perform semantic segmentation on the RGB image to obtain the semantic segmentation result.
[0081] The 2D color image captured by the RGB camera on the robot is input into a trained semantic segmentation network. The encoder-decoder structure of the network classifies each pixel in the image and outputs a pixel-level classification result with the same resolution as the input image. This result includes the semantic category label of each pixel and its corresponding category probability, thereby transforming the image from the original pixel value space into a semantic category space. This enables the robot to identify the object category corresponding to each region in the image, such as walls, floors, doors, tables and chairs, cabinets, and people.
[0082] Step 103: Based on the robot's pose, spatially correlate the semantic segmentation result with the laser point cloud to generate semantic observations in the map coordinate system, and fuse multiple frames of semantic observations into the geometric map to construct a probabilistic semantic map.
[0083] Using the extrinsic parameters between the camera and the LiDAR, the laser point cloud is projected onto the RGB image plane. Semantic segmentation results are read from the corresponding pixel positions to establish the correspondence between the laser point cloud and semantic information, and the semantic information is assigned to the laser point cloud. Then, based on the robot pose provided by laser SLAM, the laser point cloud with assigned semantic information is transformed from the LiDAR coordinate system to a unified map coordinate system to form a map-level semantic observation. Subsequently, multiple semantic observations at the same map location are accumulated and fused using a multi-frame probability update method to maintain the category probability distribution and semantic confidence at each map location, thereby constructing a probabilistic semantic map that includes both geometric structure and semantic category information.
[0084] Step 104: Parse the natural language instructions into a structured task expression containing the target category, retrieve candidate targets in the probabilistic semantic map based on the structured task expression, generate executable candidate navigation points, and plan a navigation path.
[0085] The user's input natural language command, such as "Take me to the office area entrance," is parsed into a structured task expression that the robot can understand and execute through a language model. Then, using the target category, target attributes, and spatial relationships in this structured expression as search conditions, matching candidate targets are searched in the pre-constructed probabilistic semantic map. The candidate targets are ranked and filtered by comprehensively considering semantic category matching degree, attribute matching degree, spatial relationship matching degree, target confidence, path cost, and risk cost, and the optimal target is selected. Candidate navigation points that the robot can actually reach are generated in the passable area around the target. Finally, a safe and executable path from the robot's current position to the navigation point is planned.
[0086] Step 105: Control the robot to move along the navigation path, update the probabilistic semantic map during the movement, and re-execute the retrieval of the candidate target based on the updated probabilistic semantic map.
[0087] As the robot moves toward the target along the planned navigation path, it continuously acquires new RGB images and laser point clouds, and repeatedly performs semantic segmentation, semantic projection fusion, and probabilistic semantic map updates to keep the map synchronized with the current environment. At the same time, whenever the probabilistic semantic map is updated, the system re-executes the search for candidate targets based on the latest map state to confirm whether the target still exists, whether its position has changed, and to promptly discover new candidate targets if the target is lost.
[0088] The visual language navigation method provided in this application deeply fuses RGB semantic segmentation results with a laser SLAM geometric map to construct a probabilistic semantic map containing category probability distribution and semantic confidence. This enables the robot to acquire the category attributes of objects while understanding the geometric structure of the environment. During the semantic map construction process, a multi-frame probability update mechanism effectively reduces the impact of single-frame false detections and dynamic interference, improving the long-term stability and reliability of the semantic map. During execution, the robot continuously acquires new sensor data and updates the probabilistic semantic map in real time. Based on the updated map, the target is re-retrieved, enabling the navigation system to dynamically adapt to environmental changes. This achieves closed-loop visual language navigation from natural language commands to the robot's actual motion execution.
[0089] Based on the above embodiments, the step of performing semantic segmentation on the RGB image to obtain semantic segmentation results includes: The RGB image is classified at the pixel level using a semantic segmentation network, and the pixel-level category probability map, semantic category map, semantic confidence map and boundary auxiliary probability map are output. The pixel-level category probability map contains the probability distribution of each pixel belonging to each category, the semantic category map contains the predicted category of each pixel, the semantic confidence map contains the category prediction confidence of each pixel, and the boundary auxiliary probability map contains the probability of each pixel belonging to the object boundary.
[0090] A two-dimensional color image captured by an RGB camera is input into a pre-trained semantic segmentation network. The network independently predicts the category of each pixel in the image. Specifically, in the last feature layer, for each pixel location in the image, the network outputs a vector of length C (the total number of semantic categories). This vector is normalized by the Softmax function to obtain the probability that the pixel belongs to each of the C preset categories, and the sum of all category probabilities is 1. The category probability vectors of all pixels are aggregated to form a pixel-level category probability map with the same height H and width W as the input image, and its dimension is H×W×C. Based on this, for each pixel, the network selects the category with the highest probability value from its category probability vector as the predicted category of the pixel, resulting in a semantic category map with dimension H×W. At the same time, the network uses this maximum probability value as the category prediction confidence of the pixel to indicate the reliability of the classification result of the pixel, resulting in a semantic confidence map with dimension H×W. In addition, the network also sets up a separate boundary branch to perform binary classification prediction of object boundaries / edges for each pixel in the image, and outputs a boundary auxiliary probability map with dimensions H×W. Each pixel value in this map represents the probability that the pixel belongs to the object boundary, with a value range from 0 to 1. The closer the value is to 1, the greater the probability that the pixel is located at the edge of the object contour or structure.
[0091] Through the above process, the semantic segmentation network outputs four types of information: the category probability distribution provides complete probability information for multi-frame probability fusion; the semantic category map provides discrete category labels for fast indexing; the semantic confidence map provides prediction reliability indicators for filtering low-confidence observations; and the boundary auxiliary probability map provides edge location indicators for deweighting observations in boundary regions. These features describe the semantic attributes of each pixel in the image from different dimensions, transforming the original RGB image from pixel value space to semantic category space.
[0092] The embodiments of this application output category probability maps, semantic confidence maps, and boundary auxiliary probability maps through a semantic segmentation network, which effectively reduces the impact of single-frame false detections and boundary ambiguities on semantic maps and improves the accuracy of semantic mapping.
[0093] Based on the above embodiments, the semantic segmentation network includes: The encoder is used to extract multi-scale features from the RGB image and provide the multi-scale features to the parsing branch, the context branch, and the boundary branch, respectively. The parsing branch is used to extract region semantic information based on the multi-scale features; The context branch is used to extract scene context information based on the multi-scale features; The boundary branch is used to extract body boundary information based on the multi-scale features; The boundary-guided fusion module is used to calculate boundary guidance weights based on the object boundary information, and guide the feature fusion of the region semantic information and the scene context information based on the boundary guidance weights. The prediction output module is used to output the pixel-level category probability map, the semantic category map, the semantic confidence map, and the boundary auxiliary probability map based on the fused features.
[0094] The semantic segmentation network adopts an encoder-three-branch-fusion-prediction architecture: the encoder extracts visual features at different scales from the input image and provides them to the parsing branch, context branch, and boundary branch. The parsing branch is responsible for identifying the object categories in different regions of the image, such as doors, walls, tables, and chairs; the context branch is responsible for capturing the overall layout and spatial environment information of the scene; and the boundary branch is responsible for extracting the edge contours of objects. Each branch contains learnable Prompt parameters, a Prompt fusion module, and a FiLM feature modulation module. The Prompt parameters are learned during network training to form the semantic priors for the corresponding branch; the Prompt fusion module fuses the Prompt parameters with the features of the current branch; the FiLM feature modulation module generates channel-level modulation parameters based on the Prompt parameters and uses these parameters to adaptively modulate the fused branch features, thereby enhancing the expressive power of the parsing, context, and boundary features. The boundary-guided fusion module uses the edge information extracted by the boundary branch as a guide to selectively fuse the regional semantic information of the parsing branch with the scene information of the context branch, so that the fused features enhance edge clarity while maintaining the accuracy of object classification. Finally, the prediction output module generates pixel-level class probability maps, semantic class maps, semantic confidence maps, and boundary auxiliary probabilities based on the fused features. Figure 4 One output.
[0095] In one embodiment, real-time RGB semantic segmentation is used to extract pixel-level semantic categories, category probabilities, semantic confidence, and boundary auxiliary information from indoor RGB images collected by the robot in real time, providing visual semantic observation for subsequent semantic projection fusion, probabilistic semantic map updates, semantic target retrieval, and visual language navigation.
[0096] This application preferably employs a self-improved HarDNet-PID-Prompt real-time semantic segmentation network. Based on the publicly available FCHarDNet and PIDNet, this network undergoes structural improvements to meet the needs of mobile robot edge computing platforms and indoor semantic mapping. It uses a lightweight HarDNet encoder to extract multi-scale features, introduces parsing branches, context branches, and boundary branches, and incorporates learnable Prompt fusion and FiLM (Feature-wise Linear Modulation) feature modulation into each branch. It utilizes boundary-guided lightweight feature fusion and channel calibration mechanisms to improve the segmentation stability of categories such as door frames, wall edges, table and chair outlines, cabinets, fire-fighting facilities, and passageway obstacles.
[0097] It should be noted that other semantic segmentation models that can output pixel-level category probabilities, confidence scores, and boundary information, and meet the real-time inference requirements of edge devices, can also be used as alternative implementations, but the HarDNet-PID-Prompt network described above is preferred.
[0098] Specifically, S3 real-time RGB semantic segmentation can be achieved through the following steps: S3.1 Inputs and Outputs: The input for this step is the distortion-corrected RGB image output by S1 and its timestamp: ; in, For a moment The set of input data for the semantic segmentation step; For RGB images, where, Image height, Image width, It is the set of real numbers; This is the image timestamp.
[0099] After image resizing, pixel normalization, and tensor transformation, the network input is obtained: ; in, For a moment The network input tensor, This is an image preprocessing operation function. Enter the height for the network. Enter the network width.
[0100] The output of this step is:
[0101] in, For a moment The set of output results of the semantic segmentation step; This is a pixel-level category probability map. The number of semantic categories; A semantic category graph; For semantic confidence graphs; This is an auxiliary probability map for the boundary.
[0102] For any pixel Its prediction category and confidence level They are respectively: ; ; in, To retrieve the category index corresponding to the maximum value; Indicates time Pixels Belongs to the The predicted probability of each semantic category; To obtain the maximum value among all categories.
[0103] The boundary probability is obtained by passing the boundary branch output through the Sigmoid function: ; in, For pixels Boundary probability; For boundary branches at pixels The boundary prediction value before processing by the Sigmoid function; This is the Sigmoid function.
[0104] S3.2 HarDNet-PID-Prompt network structure: The HarDNet-PID-Prompt network in this application mainly includes a lightweight encoder, P / I / D three branches, a Prompt feature modulation module, a boundary-guided fusion module, and a prediction output module.
[0105] (1) Lightweight multi-scale encoder: The input image is encoded by HarDNet to obtain multi-scale features: ; in, , and These are the multi-scale features output from different levels of the HarDNet encoder. and These are relatively shallow features. For the first The deep features output by the layer; For HarDNet encoder network input A mapping function for multi-scale feature extraction; This is the multi-scale feature extraction mapping function for the HarDNet encoder.
[0106] Shallow features mainly preserve location and boundary information, while deep features mainly represent target category and scene context.
[0107] To reduce computational cost, this application preferably uses lightweight convolutional structures such as GhostModule in the branch channel mapping process. Output features are generated by combining a small number of regular convolutional features and low-cost derived features to reduce the number of parameters and computational overhead.
[0108] (2) P / I / D three-branch structure: The network divides the encoder features into three complementary branches: parsing branch Used to extract semantic information of the main body region; context branch Used to extract multi-scale scene context; boundary branches It is used to extract the outline and structural edges of the body.
[0109] The initial characteristics of the three branches can be expressed as: ; in, , and These represent the lightweight feature mapping functions for the corresponding branches; The input features are selected from the multi-scale features of the encoder and provided to the parsing branch; To provide input features for the boundary branches; , and These are the parsed branch features, context branch features, and boundary branch features obtained after corresponding lightweight feature mapping, respectively.
[0110] In a preferred embodiment, the parsing branch adopts approximately Resolution features, boundary branches adopt approximately Resolution features; the context branch uses a simplified multi-scale pooling module PAPPMclip to obtain the indoor scene context through multiple local pooling scales, while reducing the computational cost of traditional large-scale pyramid pooling.
[0111] (3) Learnable Prompt Fusion and FiLM Modulation: To improve the adaptive representation ability of each branch to indoor target and structural features, this application... , , Set the learnable Prompt parameter for each of the three branches: ; in, , and Branches The 1st, 2nd and 3rd A learnable Prompt vector; Indicates the branch type, ; The number of Prompt vectors set for each branch; For branches The number of feature channels.
[0112] After aggregating the Prompt vectors from each branch, they are fused with the corresponding branch features: ; in: ; in, For branches The features obtained by fusing the features with the Prompt information; This is the Prompt fusion function; For branches Input features; For branches The aggregated Prompt represents; For branches The A learnable Prompt vector.
[0113] Subsequently, the FiLM feature modulation module generates channel modulation parameters based on the Prompt: ; And adaptive modulation is applied to the branch features: ; in, Channel-level scaling factor generated for the FiLM module; Channel-level offset coefficients generated for the FiLM module; It is a multilayer perceptron; Branch after FiLM modulation feature; This indicates element-wise multiplication.
[0114] This structure enables parsing features, context features, and boundary features to be adaptively enhanced based on semantic cues obtained during training, while only increasing the number of parameters and computational cost by a small amount.
[0115] (4) Boundary-guided lightweight feature fusion: After completing Prompt and FiLM modulation, the features of the context branch and boundary branch are adjusted to the same spatial scale as the analytical branch.
[0116] First, the PagFM module generates gating weights based on the similarity between the parsed features and the boundary features to enhance the boundaries of the parsed branch: ; in, This is a gated graph calculated jointly by analytical features and boundary features. These are the boundary enhancement analytical features obtained after PagFM-gated fusion; The analytical branching characteristics after FiLM modulation; The boundary branch features are obtained after FiLM modulation.
[0117] Subsequently, the Light_Bag module utilizes boundary branches to guide the fusion of parsed features and contextual features: ; in, Weights are guided to the boundaries. ; The fused features are obtained after Light_Bag boundary-guided fusion. and These are the lightweight mapping functions used for feature transformation in Light_Bag; This refers to the context branch features after FiLM modulation.
[0118] To suppress redundant channels and enhance effective semantic responses, the fusion results are further subjected to lightweight channel attention calibration: ; in, The channel weights are generated based on global feature statistics. The output features are obtained after channel attention calibration of the fused features.
[0119] By using boundary branches to enhance object contours, using context branches to supplement scene information, and using Prompt and FiLM mechanisms to adaptively adjust the features of each branch, the network can improve the integrity and boundary stability of indoor target segmentation while maintaining lightweight design.
[0120] S3.3 Semantic and Boundary Prediction: The semantic prediction result is obtained after the fused features are processed by classification convolution and upsampling: ; in, For a moment The semantic prediction results; For semantic classification prediction head; This is an upsampling operation that upsamples the predicted features to a preset output resolution.
[0121] The category probability plot is as follows: ; Boundary branches output boundary results through independent prediction heads: ; in, For a moment Pixel-level category probability map; for Normalization function; For a moment Boundary auxiliary probability map; This is an upsampling operation; For boundary prediction head; for function.
[0122] During the training phase, the network preferably outputs the main semantic prediction, auxiliary semantic prediction, and boundary prediction simultaneously. During the actual deployment phase, the main semantic prediction and boundary prediction can be retained, or only the main semantic prediction can be retained depending on the edge computing resources.
[0123] This application retains the class probabilities instead of only outputting discrete class labels, enabling subsequent S4 and S5 to utilize the complete class distribution for weighted projection and multi-frame probability updates.
[0124] S3.4 Model Training: The HarDNet-PID-Prompt network was trained using a publicly available indoor semantic segmentation dataset and a robot-collected indoor dataset. The publicly available datasets may include: NYUDepthv2, SUN RGB-D, ScanNet, and a subset of ADE20K indoor scenes.
[0125] The dataset includes interior categories such as offices, corridors, meeting rooms, furniture, walls, doors and windows, floors, and ceilings. During training, RGB images and pixel-level semantic labels are used; depth information is not a necessary input to this network.
[0126] This application also constructs a robot-generated indoor office building dataset, including: ; in, This is the training set for the robot's self-collected indoor office building dataset. This is a test set for the robot's self-collected indoor data set in office buildings.
[0127] The self-collected data was gathered by a test robot equipped with an RGB camera in real-world environments such as office areas, corridors, meeting rooms, exhibition halls, and passageways, and then subjected to pixel-level semantic annotation.
[0128] Labels from different datasets are unified to the indoor semantic category set of this application through a category mapping function. During training, data augmentation methods such as random scaling, random cropping, horizontal flipping, color perturbation, blurring, and occlusion are preferred.
[0129] The model is preferably trained using a combination of semantic segmentation loss, boundary loss, and semantic boundary constraint loss. ; in, Total losses in joint training; Semantic cross-entropy loss for mining hard online examples; Losses due to boundary surveillance; For semantic constraint loss in the boundary region; and This is the loss weight. In the implementation of this application, The boundary region supervision threshold is set as follows: .
[0130] Through joint training, the network can simultaneously learn region semantics, object contours, and the ability to classify objects near boundaries.
[0131] S3.5 Edge Device Deployment: To adapt to AGX Orin, Jetson Orin and other edge computing platforms, the trained network is optimized and exported as an edge inference model. Operator fusion, BatchNorm fusion and FP16 or INT8 low-precision inference are used to reduce computational latency and memory usage.
[0132] The total time required for single-frame semantic segmentation includes image preprocessing, network inference, and result post-processing: ; in, This represents the total processing time for semantic segmentation of a single frame. Image preprocessing time; For semantic segmentation network inference time; This refers to the post-processing time for the results.
[0133] The real-time inference frame rate is: ; In this implementation, the network input resolution is set to The number of indoor semantic categories is set to The basic number of channels for the P / I / D branch is set as follows: The number of fused feature channels is set to: Prompt length set to The semantically valid observation confidence threshold is set as follows: When deploying on the AGX Orin platform, FP16 inference is preferred, as its real-time inference performance meets the following requirements: ; The above network channel count, input resolution, and inference accuracy modes can be adjusted according to the computing power of edge devices and the real-time requirements of the target.
[0134] S3.6 Output of this step and subsequent connections: Final output of this step: ; in, For a moment The final output set of the semantic segmentation step; This is the complete category probability distribution, used in S4 to assign semantic probabilities to projection points; Pixel-level category labels are used for semantic result display and fast category indexing; Used for filtering low-confidence semantic observations and calculating semantic fusion weights; Used to identify semantic boundary regions, and to reduce the weight or filter the projection results at the edges of door frames, walls, tables and chairs, and obstacles; Used for temporal correlation with laser point clouds and SLAM poses.
[0135] For projection to pixels The laser spot can be read by S4: ; in, The pixel corresponding to the laser point Belongs to semantic category The probability of; For pixels Predicted semantic category; For pixels semantic confidence; For pixels The boundary probability.
[0136] Based on FCHADNet and PIDNet, and addressing the needs of real-world robot semantic mapping and real-time edge deployment, we introduce branch-level Prompt fusion, FiLM modulation, lightweight context modeling, boundary-guided fusion, and channel calibration mechanisms. This enables semantic segmentation results to directly serve subsequent laser SLAM semantic projection and probabilistic semantic map updates in the form of class probabilities, confidence scores, and boundary information.
[0137] Based on the above embodiments, the step of spatially associating the semantic segmentation result with the laser point cloud according to the robot pose to generate semantic observations in the map coordinate system includes: Based on the camera's intrinsic parameters and the extrinsic parameters between the camera and the lidar, the laser point cloud is transformed into the camera coordinate system and projected onto the pixel plane of the RGB image to determine the corresponding pixel position of the laser point cloud in the RGB image. The semantic segmentation result is read from the corresponding pixel position, and a correspondence between the laser point cloud and the semantic segmentation result is established so as to assign the semantic segmentation result to the laser point cloud; Based on the robot pose and the extrinsic parameters between the LiDAR and the robot body, the LiDAR point cloud with the semantic segmentation result is transformed to the map coordinate system to generate semantic observations in the map coordinate system.
[0138] Using pre-calibrated camera intrinsic parameters, such as focal length, principal point coordinates, and distortion coefficients, as well as extrinsic parameters between the camera and the LiDAR, such as rotation matrix and translation vector, the 3D point cloud in the LiDAR coordinate system is projected onto the RGB image plane, and the pixel position in the image corresponding to each laser point is calculated. Then, the category probability distribution and semantic confidence of the semantic segmentation network output are read at that pixel position, and the semantic information of the pixel is assigned to the corresponding laser point, so that the laser point is transformed from a 3D coordinate point into a 3D coordinate point with semantic labels. Finally, using the robot pose estimated in real time by LiDAR SLAM, these laser points with semantic information are transformed from the LiDAR coordinate system to a unified map coordinate system, so that each semantic point has a definite spatial position on the map, forming a map-level semantic observation that can be used for mapping and navigation.
[0139] This application embodiment projects laser point clouds onto the RGB image plane and reads semantic information from the corresponding pixel positions. This enables the semantics of two-dimensional images to be accurately mapped to the three-dimensional map coordinate system using laser point clouds as a spatial carrier. It preserves the complete category probability distribution rather than just transmitting discrete labels, thus providing an accurate source of spatial semantic observation for multi-frame probability fusion. This avoids the spatial misalignment and semantic ambiguity problems that may occur when directly projecting semantic labels onto the map grid.
[0140] Based on the above embodiments, after transforming the laser point cloud to the camera coordinate system and projecting it onto the pixel plane of the RGB image, the method further includes: Perform occlusion consistency verification on multiple laser points projected onto the same pixel neighborhood, calculate the depth between each laser point and the camera, and obtain the minimum depth within the same pixel neighborhood; If the difference between the depth of the laser point in the camera coordinate system and the minimum depth is less than a preset threshold, then the laser point is retained. If the difference between the depth of the laser point in the camera coordinate system and the minimum depth is greater than or equal to a preset threshold, then the laser point is determined to be an occluded point and is removed.
[0141] Because the LiDAR and camera are mounted at different locations on the robot and have different field-of-view characteristics, multiple LiDAR points in 3D space may project onto the same or adjacent pixel locations on the image. Among these points, those closer to the camera correspond to the actual visible object surface, and their pixel semantic information is reliable; while those farther from the camera may be occluded by foreground objects, and the pixel semantics corresponding to these points are actually the semantics of the foreground object, such as "person," rather than the semantics of the distant point itself, such as "wall." Directly assigning semantics to these points would lead to errors. Therefore, for multiple LiDAR points within the same pixel neighborhood, the occlusion relationship is determined by comparing the distance between each LiDAR point and the camera: the point closest to the camera is retained, and points occluded by the foreground are removed, ensuring that only truly visible and semantically reliable LiDAR points are used for semantic mapping.
[0142] In this embodiment of the application, the above-mentioned occlusion consistency check is used to retain only the visible laser point closest to the camera in each line of sight and its corresponding pixel semantic information to participate in the subsequent probabilistic semantic map update, while the occluded distant points and their possibly erroneous pixel semantic information are removed, which effectively avoids semantic map pollution caused by semantic confusion between foreground and background.
[0143] Based on the above embodiments, the method further includes: Obtain the semantic confidence and / or boundary probability in the semantic segmentation result, and obtain the observation distance between each laser point in the laser point cloud and the camera; Based on the semantic confidence, the boundary probability, the observation distance, and / or the uncertainty of the robot pose, the fusion weight of the semantic observation corresponding to each laser point is determined; The semantic observations are filtered based on the fusion weight, and semantic observations with fusion weights lower than a preset threshold are excluded.
[0144] After assigning the semantic segmentation results to the laser point cloud, the system reads the semantic confidence and boundary probability of each pixel corresponding to each laser point from the semantic segmentation results, the observation distance between each laser point and the camera from the laser point cloud, and the uncertainty of the robot's pose at the current moment from the SLAM system. Then, the system calculates the fusion weight of the semantic observation corresponding to each laser point by combining these factors: the higher the semantic confidence, the greater the weight; the higher the boundary probability, the smaller the weight, because edge regions are prone to projection misalignment; the farther the observation distance, the smaller the weight, because distant points have low semantic reliability; the greater the pose uncertainty, the smaller the weight, because spatial mapping is unreliable when the pose is inaccurate. Finally, the semantic observations are filtered according to the fusion weights, excluding low-reliability observations with fusion weights below a preset threshold, and only retaining high-reliability observations with high fusion weights to participate in subsequent probabilistic semantic map updates.
[0145] The embodiments of this application determine the fusion weight of semantic observations by comprehensively considering semantic confidence, boundary probability, observation distance, and pose uncertainty, and filter out low-confidence observations. This effectively reduces the pollution of semantic maps by false detections, boundary bias, and positioning drift, and improves the accuracy and long-term reliability of semantic maps.
[0146] In one embodiment, semantic projection fusion is used to spatially correlate the RGB pixel-level semantic category probabilities, confidence levels, and boundary information output by S3 with the lidar SLAM pose and geometric map output by S2 to generate semantic observations in the map coordinate system, providing a unified input for subsequent probabilistic semantic map updates, language target retrieval, and semantic topology navigation.
[0147] This application preferably employs a semantic fusion method that combines point cloud-image-map joint projection, occlusion consistency verification, and multi-factor reliability weighting. This method uses laser point clouds as a 3D spatial carrier and RGB semantic segmentation results as the semantic source. It simultaneously associates the same laser point with image pixels and map coordinates, and determines its fusion weight based on semantic confidence, boundary probability, occlusion relationship, observation distance, time synchronization error, and SLAM pose reliability.
[0148] Compared to methods that simply attach discrete semantic labels directly to point clouds, this application preserves the complete category probability distribution and deweights or removes boundary regions, occluded points, distant observations, and low-confidence poses, thereby reducing the impact of semantic missegmentation, cross-sensor projection bias, and dynamic interference on subsequent probabilistic semantic maps.
[0149] This application is not limited to the projection method of laser point cloud onto monocular image. When using RGB-D camera, binocular camera, multi-view camera, dense depth estimation, or multi-frame visual reconstruction, any method that can establish the correspondence between image semantics and map spatial location can be used as an alternative implementation.
[0150] Specifically, S4 semantic projection fusion can be achieved through the following steps: S4.1 Inputs and Outputs: The input for this step is: ; in, For a moment The input data set for the semantic projection fusion step; the calibration parameters are: ; The SLAM results output by S2 are as follows: ; The semantic segmentation result output by S3 is as follows: ; The output of this step is a set of semantic observations in the map coordinate system: ; in, For a moment Semantic observation set in map coordinate system; For a moment The One semantic observation; For a moment The total number of valid semantic observations.
[0151] Each semantic observation is represented as: ; in: The map raster or voxel index corresponding to this observation; The location of the observation point in the map coordinate system; For the predicted category; This is the complete class probability vector; For semantic confidence; For boundary probabilities; This is the comprehensive fusion weight for the observation; This is the observation timestamp. For optional visual attribute observation, it can include color, number, text label, open / closed status, or other task-related visual attributes; when the corresponding attribute recognition module is not configured, it is set . The SLAM keyframe number associated with this semantic observation; For the corresponding RGB image frame number; This refers to the original laser point number or semantic evidence number.
[0152] S4.2 Point cloud-image-map joint projection: For time Laser spot: ,in, For a moment No. A laser point in the lidar coordinate system The following position coordinates; For a moment LiDAR coordinate system The current frame point cloud set; First, the camera-LiDAR extrinsic parameters are used to transform it to the camera coordinate system: ,in, For a moment No. A laser point in the lidar coordinate system The following position coordinates; When this point is located in front of the camera and falls within the effective area of the image, its corresponding pixel coordinates are: ; in, This is the camera projection function. For images that have undergone distortion correction, the corrected camera model can be used for projection.
[0153] The same laser point is transformed into the map coordinate system through SLAM pose transformation: ; Therefore, the following correspondence is established: Semantic probability; Map spatial location; Therefore, the same laser point simultaneously possesses image semantic attributes and map spatial location, achieving a unified association between image pixels, laser point clouds, and SLAM maps.
[0154] For a valid projection point, its class probability vector is read from the semantic probability map: ; The corresponding predicted categories and semantic confidence scores are as follows: ; ; The boundary probability is: .
[0155] in, For a moment No. A probability vector of the categories of each laser point; A pixel-level category probability map; For a moment No. Predicted category of each laser point; For a moment No. Semantic confidence of each laser point.
[0156] This application preferably retains the complete category probability vector. Instead of only retaining discrete prediction categories This allows S5 to perform probability updates on multi-frame observations.
[0157] When a natural language task includes color, number, text label, open / closed state, or other visually verifiable target attributes, the system can employ mature color statistics, OCR, target attribute recognition, or state recognition methods to extract visual attribute observations from the RGB image region corresponding to the laser projection point. ; in, For a moment No. Visual attribute observation of individual laser points; This is a visual attribute extraction method. This visual attribute extraction is an optional implementation and does not affect the basic application of performing target retrieval based solely on semantic category, confidence level, and spatial relationship.
[0158] S4.3 Occlusion Consistency Verification and Valid Observation Screening: When a laser point is projected onto an image plane, multiple 3D points may fall into the same pixel or adjacent pixels. If the semantics of this pixel are read directly, occluded points behind it may incorrectly inherit the foreground object category.
[0159] This application preferably employs a z-buffer or depth consistency verification method. For multiple laser points projected onto the same pixel neighborhood, only the point closest to the camera or whose depth difference with the nearest point is less than a threshold is retained.
[0160] Let the minimum depth within the pixel neighborhood be: ; The occlusion consistency condition is: ; in, For the first The depth of a laser point along the camera optical axis in the camera coordinate system; The threshold for determining the consistency of occlusion depth.
[0161] Only laser points that meet the following conditions are considered valid semantic observations: located in front of the camera and falling within the valid image area; meeting the occlusion depth consistency requirement; having a valid SLAM map position; having a semantic confidence level not lower than a set threshold; and not belonging to areas with obvious abnormal heights, invalid reflection points, or other geometric anomalies.
[0162] Meanwhile, for semantic boundary regions such as door frames, wall edges, table and chair outlines, and obstacle edges, this application uses the boundary probabilities output by S3 for weighting: ; in, This is the boundary penalty coefficient; For a moment No. Each semantic observation is calculated based on the boundary probability to obtain the boundary reliability weight; For a moment No. The boundary probability of a pixel corresponding to a laser point. The higher the boundary probability, the more likely the projection point is to be affected by pixel class switching and calibration errors, and the lower its fusion weight.
[0163] S4.4 Multi-factor reliability weighting: To improve the reliability of map-level semantic observation, this application determines the fusion weights by considering the following factors: semantic segmentation confidence; distance from the projection point to the sensor; semantic boundary probability; occlusion consistency; SLAM pose uncertainty; time synchronization error between the camera and the lidar; and optional local surface incident angle or geometric stability.
[0164] No. The combined weight of semantic observations Represented as: ; in, Indicates semantic confidence weight. ; Indicates the distance decay weight. ; Indicates a reduction in weight at the boundary. .
[0165] This represents the SLAM pose confidence weights, which are calculated based on the normalized pose uncertainty defined in S2.1. ; in, The pose uncertainty adjustment coefficient is used. The greater the pose uncertainty of the robot, the lower the pose confidence weight of the semantic observation. For a moment The normalized pose uncertainty.
[0166] Indicates time consistency weights: ; .
[0167] in, For a moment The time difference between the RGB image and the laser point cloud; This is a time consistency scale parameter.
[0168] This represents an optional geometric weight determined based on the local normal vector, the observation incident angle, the point cloud density, or geometric continuity.
[0169] This indicates whether the point passes the view, occlusion, and geometric validity checks.
[0170] when At that time, the observation was judged as a low-confidence observation and was not included in the subsequent long-term probabilistic semantic map update.
[0171] Through the above design, this application does not write all projection points with equal weight, but updates them differently based on the reliability of cross-sensor association, thereby reducing the accumulation of erroneous semantics caused by distant points, boundary points, time misalignment points and low-confidence poses.
[0172] S4.5 Grid Association and Dynamic Observation Splitting: For map points that have passed the reliability screening The system associates the probabilistic semantic map with a two-dimensional grid or a three-dimensional voxel based on the map's resolution.
[0173] For two-dimensional raster maps The raster index is: ; in, The origin of the map. For map resolution, and The first The x and y coordinates of each observation point in the map coordinate system.
[0174] In the implementation of the three-dimensional semantic map, it can be based on voxel resolution. Calculate the three-dimensional voxel index.
[0175] The system also categorizes observations into static semantic observations and dynamic semantic observations based on semantic category attributes. Static categories may include walls, doors, windows, tables, cabinets, and fixed fire protection facilities, etc.; dynamic categories may include people, mobile robots, carts, and temporary obstacles, etc.
[0176] For static category observations: This is used as the update input for the long-term probabilistic semantic map, where... It is a static category collection.
[0177] For dynamic category observations: It sends it to the short-term dynamic semantic layer instead of writing it directly into the long-term static semantic map. It is a dynamic collection of categories.
[0178] This diversion mechanism can prevent people and temporary objects from polluting the environmental semantic map in the long term, while providing input for subsequent local obstacle avoidance and dynamic risk assessment.
[0179] S4.6 Output and parameter settings for this step: After joint projection, semantic reading, occlusion verification, reliability weighting, grid association, and dynamic / static traffic splitting, the system output is: ; in: ; This output serves as the direct input for updating the S5 probabilistic semantic map.
[0180] In the implementation of this application, the following parameters are preferably adopted: Occlusion depth consistency threshold Boundary weighting coefficient Distance attenuation scale Time consistency scale Semantic confidence filtering threshold High boundary probability filtering threshold Comprehensive semantic fusion weight threshold To reduce the impact of glass reflection, ground specular reflection, and distant sparse points, this application preferably uses only points located within the camera's effective field of view and at a distance not exceeding [a certain value]. The laser points participate in RGB semantic projection. For small-scale indoor scenes, this distance can be further reduced.
[0181] The above parameters can be adjusted according to camera resolution, laser point cloud density, extrinsic accuracy, robot movement speed and application environment, and do not constitute a limitation on the scope of protection of this application.
[0182] The core of this step is to use laser point clouds as the spatial carrier between image semantics and SLAM maps, preserve the complete semantic probability distribution, and combine occlusion, boundary, distance, time and pose reliability to perform weighted filtering of semantic observations, thereby providing reliable and sustainable map-level semantic input for probabilistic semantic maps.
[0183] Based on the above embodiments, fusing the semantic observations from multiple frames into the geometric map to construct a probabilistic semantic map includes: For each map cell in the geometric map, maintain the category probability distribution and semantic confidence of the map cell; Based on the semantic observations of the current frame, update the category probability distribution and semantic confidence of the map unit to obtain the updated category probability distribution and semantic confidence. Based on the updated category probability distribution and semantic confidence, the semantic category of the map unit is determined, and the probabilistic semantic map is obtained.
[0184] The geometric map is divided into discrete map units, such as 2D grids or 3D voxels. For each map unit, the system maintains a category probability distribution vector, recording the probability that the location belongs to a category such as wall, door, table, chair, or ground, and a semantic confidence value, recording the reliability of the semantic judgment at that location. When a new semantic observation arrives, the system updates the category probability distribution and semantic confidence of the map unit based on the category probability and fusion weight of the observation. After multiple observations and cumulative updates, the category probability distribution of the map unit will gradually converge to the true category. Finally, the system selects the category with the highest probability from the updated category probability distribution as the semantic category of the map unit. After completing the above processing for all map units, a probabilistic semantic map covering the entire environment is obtained.
[0185] This application embodiment maintains the category probability distribution for each map unit and performs continuous probability updates based on multi-frame semantic observations, so that semantic information comes from accumulated evidence rather than single-frame judgments. This effectively suppresses the influence of single-frame false detections, occlusion, and dynamic interference, and constructs an accurate and stable probabilistic semantic map.
[0186] Based on the above embodiments, updating the category probability distribution of the map unit according to the semantic observation of the current frame includes: Obtain the complete category probability vector corresponding to the semantic observation of the current frame and the fusion weight of the semantic observation of the current frame; Based on the complete category probability vector and the fusion weight, determine the category evidence corresponding to the current frame; The Dirichlet probabilistic update method is used to update the Dirichlet category parameters of the map unit based on the category evidence; Based on the updated Dirichlet category parameters, determine the updated category probability distribution of the map unit.
[0187] The system maintains a set of Dirichlet distribution parameters, or category parameters, for each map cell. These parameters record the accumulated amount of observational evidence for that map cell across each semantic category. When a new semantic observation arrives, the system multiplies the observation's category probability vector by a fusion weight and adds it to the map cell's original Dirichlet parameters, thus updating the parameters: categories with higher probabilities in the observation receive larger parameter increments, giving them an advantage in subsequent probability calculations; categories with lower probabilities receive very small or no parameter increments. After updating the parameters, the system normalizes the updated Dirichlet parameters to obtain the updated category probability distribution for that map cell. This distribution represents the probability that the map cell belongs to each category, with the sum of all category probabilities equal to 1.
[0188] This application embodiment uses the Dirichlet probability update method to continuously accumulate evidence from multiple frames of semantic observation into the category parameters of map units, so that the category probability distribution gradually converges as the observation evidence accumulates, the correct category is continuously strengthened and the incorrect category is gradually diluted, thus constructing an accurate probabilistic semantic map with uncertainty measurement.
[0189] Based on the above embodiments, the method further includes: If the semantic category of the semantic observation belongs to a static category, then the semantic observation is used to update the long-term category probability distribution of the map unit; If the semantic category of the semantic observation belongs to the dynamic category, then the semantic observation is used to update the short-term dynamic semantic layer of the map unit; The time decay rate of the short-term dynamic semantic layer is faster than the time decay rate of the long-term category probability distribution.
[0190] The system pre-divides semantic categories into a static category set and a dynamic category set. Static categories include objects in the environment that remain stationary for extended periods, such as walls, doors, windows, tables, chairs, cabinets, and fire safety equipment. Dynamic categories include objects that move or appear temporarily in the environment, such as people, mobile robots, carts, and temporary obstacles. When a semantic observation arrives, the system determines whether the observation belongs to a static or dynamic category: if it belongs to a static category, the observation is used to update the long-term probabilistic semantic map, which has a slow decay characteristic, ensuring information is retained over a long period; if it belongs to a dynamic category, the observation is used to update an independent short-term dynamic semantic layer, which has a fast decay characteristic, causing information to fade rapidly within a short time. Through this dynamic-static separation process, dynamic objects do not contaminate the long-term static semantic map, while real-time information on dynamic obstacles can still be obtained from the short-term dynamic semantic layer for obstacle avoidance decisions when needed.
[0191] This application embodiment differentiates static and dynamic categories by using long-term probability updates and short-term dynamic semantic layers, respectively. Dynamic objects only fade away quickly in the short-term semantic layer and cannot enter the long-term map, effectively avoiding the permanent pollution of the semantic map by temporary objects and ensuring the purity and stability of the long-term static map.
[0192] Based on the above embodiments, after determining the semantic category of the map unit according to the updated category probability distribution and semantic confidence, and obtaining the probabilistic semantic map, the method further includes: Extract adjacent map units from the probabilistic semantic map that have the same semantic category and whose semantic confidence meets preset conditions; The adjacent map units are spatially clustered to generate semantic object instances; Search for candidate navigation points within the traversable area surrounding the semantic object instance; If the candidate navigation point is found, it is determined that the semantic object instance has a local candidate navigation point; If no candidate navigation point is found, the semantic object instance is marked as not having a local candidate navigation point.
[0193] After the probabilistic semantic map is constructed, each map cell (raster or voxel) has a semantic category label and semantic confidence score. The system selects map cells with the same semantic category and a semantic confidence score that reaches a certain threshold, and aggregates spatially adjacent cells of the same type into a whole using a clustering algorithm, forming a complete semantic object instance, such as a complete door, a complete table, or a complete cabinet. Subsequently, since these target objects are usually located in inaccessible occupied areas, such as doors mounted on walls or cabinets placed against walls, the robot cannot directly use their geometric center as the navigation endpoint. Therefore, the system searches for locations within the accessible area around each semantic object instance that the robot can safely reach and effectively observe as candidate navigation points. If such a candidate navigation point exists, the semantic object instance is marked as reachable and can be used as a navigation target; if it does not exist, it is marked as inaccessible, and the semantic object instance cannot be used as a navigation target.
[0194] This application embodiment clusters adjacent map units that meet certain conditions into complete object instances, thereby elevating map information from discrete labels to object-level instances, which facilitates direct location of complete targets in language target retrieval. At the same time, by searching for candidate navigation points around the target, it solves the problem of navigation failure when the target itself is unreachable, ensuring that only actually reachable targets are used for navigation.
[0195] In one embodiment, probabilistic semantic map updates are used to continuously fuse the map-level semantic observations output by S4 into the laser SLAM geometric map, forming a semantic map that can be maintained in the long term, probabilistically queried, and used for navigation decisions.
[0196] Instead of directly writing single-frame semantic labels into the map, this application maintains semantic category probability, semantic confidence, number of valid observations, last update time, dynamic or static attributes, and reachability status for each map raster or voxel. It also reduces the impact of single-frame missegmentation, occlusion, dynamic targets, and historically expired information on the semantic map through multi-frame Dirichlet probability updates, time decay, abnormal observation suppression, and object instance aggregation.
[0197] This application preferably employs a combination of probabilistic semantic raster, weighted Dirichlet update, dynamic and static semantic layering, time decay, object instance clustering, and target neighborhood reachability annotation. Other map structures and probabilistic update methods capable of multi-frame semantic probabilistic fusion, object instance maintenance, and navigation reachability determination can also be used as alternative implementation methods.
[0198] Specifically, S5 probabilistic semantic map updates can be achieved through the following steps: S5.1 Inputs and Outputs: The inputs for this step are the geometric map output by S2, the robot pose, and the semantic observation set output by S4: ; in, For a moment The input data set for the probabilistic semantic map update step; This indicates occupied areas, free areas, passable areas, and unknown areas.
[0199] The semantic observation set output by S4 is: Each observation contains at least: ; in, For the corresponding map grid or voxel, To integrate weights, The observation time.
[0200] The output of this step is: ; in, For long-term probabilistic semantic raster maps; A collection of semantic object instances; For short-term dynamic semantic layer; A semantic topology graph for use in subsequent path planning.
[0201] S5.2 Probabilistic Semantic Raster and Dirichlet Multi-Frame Update: For any grid cell in the map The system maintains the following semantic states: ; in, For a moment Grid The set of semantic states; For Dirichlet category parameters; This represents the probability distribution of raster categories. The most likely category at present; For semantic confidence; This is the cumulative number of valid observations; This is the last update time; This is an reachable state; This indicates a geometrically occupied or passable state.
[0202] Initial settings: ; For the current moment, it falls into the grid. Observation set: ; The system updates based on the class probability and fusion weight of each observation: ; ; ; ; in, The current frame falls into the map grid. The sum of the fusion weights of each semantic observation; For the first The comprehensive fusion weight of semantic observations; A very small positive number set to prevent the denominator from being zero; For the current frame raster The category probability vector obtained by weighting the observations within the data; The maximum class of evidence strength that can be written to the raster in a single frame; The current frame is actually used to update the raster. The strength of evidence by category; represents the initial prior strength of the Dirichlet distribution; For grid The time decay coefficient of historical semantic evidence.
[0203] The updated category probabilities are: ; in, For a moment Grid Belongs to the The probability of a semantic category; For grid At any moment Corresponding to the Dirichlet parameters for each semantic category; For grid At any moment Corresponding to the Dirichlet parameters for each semantic category.
[0204] The current semantic category is: ; The number of valid observations has been updated to: ; in: ; in, Falling into the grid for the current frame The average fusion weight of effective semantic observations; The minimum fusion weight threshold for effective semantic observation.
[0205] To avoid a single high-confidence false positive directly forming a highly reliable map, the raster semantic confidence score considers both class probability and the number of observations: ; in, For a moment Grid semantic confidence; For grid Deadline The cumulative number of valid observation frames obtained; This is a saturation coefficient used to control the rate at which the number of observations affects the growth of semantic confidence.
[0206] Therefore, only categories that have undergone stable observations over multiple frames can gradually form a highly reliable semantic map.
[0207] This application preserves the complete category probability distribution for updates, rather than simply accumulating discrete labels, so that category uncertainty in different frames and the reliability weights of S4 output can jointly participate in semantic map construction.
[0208] S5.3 Time decay, collision suppression, and dynamic / static stratification: To prevent unconfirmed historical semantic information from continuously affecting navigation decisions, the system performs time decay on map units that have not been re-observed.
[0209] Let the current time be The grid was last updated at [time]. Then the time decay coefficient for: ; in, is the time decay constant of historical semantic evidence in the long-term probabilistic semantic map.
[0210] For rasters that have not been updated for a long time, their Dirichlet parameters gradually regress to the initial prior: ; in, For a moment Grid The Dirichlet class parameter vector; For a moment Grid The Dirichlet class parameter vector.
[0211] When a new observation category differs from the historical primary category, the system does not immediately overwrite the original category. Instead, it compares the current observation's cumulative weight, historical confidence level, and number of consecutive observations. Category reassessment is only performed if the current conflict category remains stable across multiple consecutive frames, or if its cumulative weight exceeds the conflict update threshold; otherwise, only a weak update is performed. This reduces the impact of instantaneous missegmentation on the map.
[0212] This application also divides semantic categories into a static category set and a dynamic category set: ; Static categories may include walls, doors, windows, tables and chairs, cabinets, fire protection facilities, and fixed passageway structures; dynamic categories may include people, mobile robots, trolleys, and temporary obstacles.
[0213] Static category observation updates the long-term probabilistic semantic map: ; Dynamic category observation updates short-term dynamic semantic layer: ; The dynamic semantic layer employs faster history decay: ; in, For a moment Grid The short-time dynamic semantic layer parameter vector; For a moment Grid The short-time dynamic semantic layer parameter vector; This is the historical information preservation factor for the short-term dynamic semantic layer, and its value range is... The smaller the value, the faster the dynamic semantic historical information decays.
[0214] The dynamic semantic layer uses an independent dynamic decay time constant. And satisfy: ; When updated in discrete time, the dynamic semantic history preservation factor for: ; in, This refers to the time interval between two consecutive updates of the short-term dynamic semantic layer.
[0215] This mechanism enables targets such as personnel and mobile carts to quickly fade from the dynamic map after they leave, avoiding pollution of the long-term static semantic map, while providing real-time information for local obstacle avoidance and dynamic risk assessment.
[0216] To ensure spatial consistency between the geometric map and the probabilistic semantic map before and after loop closure optimization, each long-term semantic evidence preferably stores its corresponding SLAM keyframe number. RGB image frame number And the original point cloud or semantic evidence number When loop closure detection or pose graph optimization causes changes in the pose of historical keyframes, the system recalculates the map coordinates of the relevant semantic observations based on the updated keyframe poses, withdraws the historical contribution of the semantic evidence in the original map cell, and re-associates it to the updated map cell; it can also perform semantic evidence reprojection or local probabilistic semantic map reconstruction on the affected local areas.
[0217] S5.4 Object Instance Generation and Reachability Labeling: To support natural language target retrieval such as "go to a door", "find fire-fighting facilities", and "check for obstacles in the passage", the system aggregates adjacent semantic rasters that meet the category and confidence conditions into object instances.
[0218] For category First, extract candidate rasters: ; Then, connected component analysis or spatial clustering methods are preferred to classify candidate rasters into object instances: ; in, For a moment category A collection of object instances; For spatial clustering functions; For a moment semantic category is Furthermore, a set of candidate map rasters whose semantic confidence meets the threshold for object instance generation; For grid The semantic confidence.
[0219] For any object instance Its position can be calculated based on the weighted average of the raster semantic confidence: ; in, For a moment object instance Spatial location; For map grid In the spatial location of the map coordinate system, the center coordinates of the grid are preferred.
[0220] The confidence level of an object instance is: ; Each object instance must store at least: ; in, For a moment object instance The set of attributes; Assign instance number; For instance category; For instance confidence; These are optional instance attributes obtained by fusing visual attribute observations from multiple frames; For instance boundaries, bounding boxes, or spatial outlines; The state indicating whether there are local candidate navigation points near the target; For local candidate navigation points; This is the last update time.
[0221] Since targets such as walls, doors, cabinets, and fire-fighting equipment may be located within the occupied area, the robot does not need to reach their geometric center, but rather a safe and observable location nearby. Therefore, this application searches for candidate navigation points around the target based on the traversable area output by S2: ; in, For object instances The surrounding set of candidate waypoints; For object instances Centered on, at a distance not exceeding A set of neighborhood map grids.
[0222] like If so, it is considered that the target has local candidate navigation points. : ; Candidate navigation points are selected based on target distance, obstacle risk, and target visibility: ; in, For object instances The optimal candidate navigation point; Let be the distance from the candidate point to the target. For local obstacle risk, To observe the visibility of the target from this point, , and These are the weighting coefficients for target distance cost, local obstacle risk, and target visibility during the candidate navigation point selection process.
[0223] This design transforms the targets in a semantic map from mere spatial regions with category labels into objects with location, confidence level, and navigation entry information that can be used for language retrieval and route planning.
[0224] S5.5 Figure 1 Consistency and semantic topology interface: To improve the stability of the semantic map, the system preferentially performs semantic and geometric consistency checks. For example, when a grid cell has been in a free area for a long time but is predicted to be a fixed obstacle category such as a wall or cabinet, the system reduces the weight of the semantic update; when an object instance is observed stably for multiple consecutive frames, its confidence level is increased; when an object has not been reconfirmed for a long time and its confidence level is below the threshold, it is deleted or marked as pending confirmation.
[0225] After obtaining object instances and passable areas, the system further constructs a semantic topology graph:
[0226] in, For a moment The semantic topology graph; For a moment The set of nodes in a semantic topology graph; For a moment The set of edges in a semantic topological graph.
[0227] Topological nodes can include rooms, corridors, doors, object instances, candidate navigation points, and exploration frontiers; topological edges represent traversable relationships between nodes and store geometric distance, risk cost, and semantic cost.
[0228] The semantic topology map serves only as a map interface for S8 high-level path planning. This step does not limit the specific topology extraction or graph search method. Other methods that can establish regional connectivity based on probabilistic semantic maps and geometrically accessible maps can also be used as alternative implementation methods.
[0229] S5.6 Output and parameter settings for this step: After completing multi-frame probability updates, time decay, static / dynamic layering, object instance aggregation, and reachability annotation, the system outputs: ; Among them, the probabilistic semantic raster map is: ; The collection of object instances is: ; in, For a moment Map Grid The stored probabilistic semantic state; For a moment No. The object state of a semantic object instance; This represents the total number of map grid cells. This represents the total number of object instances. In this application, the following parameters are preferably used: Probabilistic semantic map resolution Dirichlet initial prior strength The preferred setting for the time decay constant of the dynamic semantic layer is: Number of observations, confidence level, saturation coefficient The time decay constant of long-term unobserved semantics The raster semantic confidence threshold required for object instance generation Object instance retention confidence threshold Instance space clustering distance threshold Minimum number of grid cells or observation points for instance clustering. ; Target neighborhood reachability and candidate navigation point search radius .
[0230] For conflict category updates, it is preferable to require that the new category has at least continuous and stable observations: Frame, or the cumulative fusion weight of the current category exceeds: Only when this condition is met is it permissible to replace the original main category.
[0231] The above parameters can be adjusted according to map resolution, robot size, frequency of changes in the operating environment, target category scale, and semantic segmentation accuracy, and do not constitute a limitation on the scope of protection of this application.
[0232] The core of this step is to use the complete category probability and reliability weights output by S4 as the basis for multi-frame updates, continuously maintain the category distribution, confidence, observation history and time status of map units, and further convert stable semantic regions into object instances with reachability and candidate navigation points, thereby providing a queryable, updatable and executable probabilistic semantic map for natural language target retrieval and semantic navigation.
[0233] Based on the above embodiments, the step of parsing natural language instructions into a structured task representation containing target categories includes: The natural language instructions are structured and parsed using a language model to extract one or more of the following: action type, target category, target attribute, spatial relationship, and security constraints. Based on the preset semantic dictionary and category mapping rules, the extracted target categories are mapped to a unified set of semantic categories, and other extracted fields are used directly as structured fields to generate the structured task expression.
[0234] User-inputted natural language commands, such as "Take me to the office entrance," "Find a chair by the window," or "Check if the fire exit is blocked," are fed into a large language model. Under pre-defined structured output format constraints, the model extracts key information fields from the commands: action type (e.g., going to, finding, checking); target category (e.g., door, chair, fire exit); target attributes (e.g., color, number, status); spatial relationship (e.g., by the window, doorway, end of the corridor); and safety constraints (e.g., avoiding people, maintaining a safe distance). Subsequently, the system uses a pre-defined semantic dictionary and category mapping rules to map the extracted target category names to unified semantic category identifiers used in the probabilistic semantic map, ensuring accurate matching between the language parsing results and the semantic labels in the map. Other extracted fields do not require mapping and are used directly as structured fields. Finally, all extracted and mapped information is combined into a standardized structured task expression, which serves as input for the subsequent semantic target retrieval module.
[0235] In one embodiment, natural language instruction parsing is used to convert user-input natural language navigation instructions into structured task expressions that the robot can retrieve, verify, and execute, clarifying the action type, target category, target attributes, spatial relationships, safety constraints, task priority, and whether clarification or active exploration is needed in the task.
[0236] This step serves as the interface between the user's linguistic intent and the probabilistic semantic map. Its output acts as the task constraint for S7 semantic target retrieval, S8 semantic topology path planning, and S9 proactive exploration of missing targets.
[0237] This application preferably adopts the open-source Qwen series instruction model, combined with an indoor semantic dictionary, unified category mapping, JSON Schema structured output, and security rule verification, to convert free text instructions into robot task data with fixed fields.
[0238] The Qwen model can be deployed on the robot itself, edge computing platforms, intranet servers, or cloud servers. In application scenarios with high requirements for data security, offline operation, or low latency, local or intranet deployment is preferred.
[0239] It should be noted that this application is not limited to the Qwen model. Other large language models, visual language models, or rule-based semantic parsing models that can achieve natural language intent understanding, structured field extraction, semantic category mapping, and output format constraints can also be used as equivalent implementations.
[0240] Specifically, S6 natural language instruction parsing can be achieved through the following steps: S6.1 Inputs and Outputs: The input for this step is: ,in, For a moment The set of input data for the natural language instruction parsing step; For users at any time Input natural language commands; The probabilistic semantic map output by S5; A unified set of semantic categories for the system; For indoor semantic dictionary; A set of robot safety rules.
[0241] The semantic dictionary may include: standard names of semantic categories and their aliases, action words and their synonyms, target attribute words, spatial relation words, scene area words, and security constraint words.
[0242] The output of this step is a structured task representation: ; in, Action type, such as going to, searching, checking, patrolling, approaching or going around; For the target semantic category; For a set of target attributes, such as color, number, status, or function attributes; A set of spatial relationships, such as next to, doorway, near window, left side, or at the end of a corridor; For safety constraints, such as avoiding people, maintaining a safe distance, not entering restricted areas, or only reaching accessible areas near the target; Prioritize tasks; The confidence level of the analysis results; This indicates whether further clarification is needed from the user. The initial active exploration flag is generated during the natural language parsing stage based on information such as whether the target category exists. The final active exploration flag is determined by S7 after completing target retrieval and global reachability verification.
[0243] S6.2 Instruction Parsing and Structured Output: For text commands, the system first performs punctuation standardization, synonym normalization, and filtering of irrelevant modifiers. For voice commands, mature speech recognition methods can be used to convert them into text; this speech recognition process is not a necessary limitation of this application.
[0244] The system inputs the standardized user commands, system semantic category set, semantic dictionary, security rules and predefined JSON Schema into the command model, and the model extracts the actions, goals, attributes, spatial relationships and security constraints.
[0245] Structured output preferably uses the following field format: { "action": "go_to / search / inspect / patrol / approach", "target_category": "door / chair / fire_equipment / corridor_obstacle", "target_attributes": [], "spatial_relations": [], "safety_constraints": [], "priority": "normal / high / emergency", "need_exploration": false, "need_clarification": false }; After the model is output, the system uses JSON Schema to validate the field names, data types, required fields, and optional values. If the output format does not conform to the predefined structure, format repair or regeneration is performed. After exceeding the allowed number of retries, the system does not issue tasks to the robot control module, but instead prompts the user to re-enter or supplement information.
[0246] This constraint method ensures that the large language model only undertakes task understanding and information extraction functions, and does not directly output chassis speed, steering angle or other motion control commands, thereby reducing the risk of free text output being unexecutable or unsafe.
[0247] S6.3 Category Mapping, Ambiguity Handling, and Security Verification: Since the target name used by the user may not be consistent with the standard category name in the probabilistic semantic map, the system maps the user's language expression to a unified set of semantic categories through a local semantic dictionary and category mapping rules.
[0248] For example, fire extinguishers, fire hydrants, and fire-fighting equipment can be mapped to the corresponding fire-fighting facility categories; doorways and entrances can be mapped to spatial relationships or candidate navigation areas; chairs near windows are resolved to the target category "chair" and the spatial relationship "near window"; blocked fire exits are resolved to the target category "fire exit" and the status attribute "blocked".
[0249] The system prioritizes dictionary exact matching and alias matching; when multiple candidate categories exist, it can combine the language model parsing results and existing categories in the current semantic map to make a selection.
[0250] The system settings will be configured if any of the following conditions are met: The system will also issue a clarification to the user if: a clear target category is not identified; multiple candidate categories have similar matching degrees; there is significant ambiguity in the target attributes or spatial relationships; the instruction conflicts with system security rules; or the instruction lacks the necessary information for execution.
[0251] For example, when given the instruction "Take me to that device", the system can ask the user whether the device they are referring to is a fire-fighting device, an access control device, or an air conditioning control device.
[0252] Safety rule verification checks whether tasks involve entering restricted areas, traversing impassable zones, excessive proximity to personnel, entering closed rooms, or violating the robot's movement capabilities. Tasks that violate mandatory safety rules are refused direct execution; adjustable safety requirements are written into the system. S7 and S8 are provided as candidate screening criteria or planning costs.
[0253] Linkage between S6.4 and probabilistic semantic maps: To improve the executability of the task, the system uses the object instances, category confidence, and reachability status output by S5 to verify the language parsing results.
[0254] When the target category or target instance already exists in the probabilistic semantic map, the system settings are as follows: The structured task is then sent to S7 to perform target retrieval and sorting within existing object instances.
[0255] When the target category does not appear in the current probabilistic semantic map, S6 does not directly determine the task failure, but retains the target category, target attributes, spatial relationships and safety constraints, and sets an initial active exploration flag: When the target category already appears in the probabilistic semantic map, set: .
[0256] It should be noted that S6 is only responsible for natural language parsing and preliminary judgment based on map category information. It cannot determine whether the confidence level of an object instance meets the requirements, nor can it determine whether all candidate targets are globally reachable. These judgments are made by S7 after candidate target generation, path prediction, and reachability verification, and S7 outputs the final active exploration flag. .
[0257] It should be noted that the probabilistic semantic map is only used to verify whether the current environment contains available candidate targets, and is not used to arbitrarily modify the user's original task intent. When map information is insufficient, the system prioritizes active exploration or requesting clarification from the user, rather than forcibly replacing the target with another category.
[0258] S6.5 Required implementation parameters and output results: In this application, the Qwen series instruction model is preferably used for structured parsing, and the model parameter scale is set as follows: ; The model context length is set to: ; The structured output format is set as follows: ; To improve the stability of JSON output, the model generation temperature is set to: ; When output format validation fails, the maximum number of repair or regeneration attempts is set to: ; The minimum matching threshold from the language target to the unified semantic category is set as follows: ; The confidence threshold for structured task parsing is set as follows: ; When the matching difference between the highest candidate category and the second highest candidate category is less than: When the system deems the category ambiguous, it will preferably send a clarification request to the user.
[0259] The model size, context length, and threshold parameters mentioned above can be adjusted according to the language model's capabilities, robot computing resources, number of semantic categories, and application scenarios, and do not constitute a limitation on the scope of protection of this application.
[0260] After completing language parsing, category mapping, format validation, ambiguity resolution, and security checks, the system outputs: ; in, It serves as the direct input for S7 semantic target retrieval and is used in subsequent steps to filter object instances that meet the target category and attribute requirements; calculate the degree of spatial relationship matching; exclude candidate targets that are unreachable or violate security constraints; determine whether active exploration is needed; and provide task endpoints and constraints for semantic topology path planning.
[0261] The main purpose of this step is to transform the user's freely expressed natural language task into a standardized input that can be stably processed by subsequent probabilistic semantic map retrieval and path planning.
[0262] Based on the above embodiments, the step of retrieving candidate targets in the probabilistic semantic map according to the structured task representation, generating executable candidate navigation points, and planning navigation paths includes: Based on the target category in the structured task representation, candidate targets matching the target category are extracted from the probabilistic semantic map; For each of the candidate targets, candidate navigation points are generated within the traversable area surrounding the candidate target; A predicted path is generated based on the robot's current position, the candidate navigation points, and the geometric map. The reachability of the candidate target is then filtered based on whether the candidate navigation points and the predicted path exist. For candidate targets that pass the accessibility screening, a comprehensive score is determined based on multiple factors including target category, target attribute, spatial relationship, semantic confidence, path cost, and risk cost. The candidate targets are ranked according to the comprehensive score to determine the optimal target; Plan a navigation path based on the candidate navigation points corresponding to the optimal target.
[0263] Using the structured task representation obtained from the aforementioned language parsing as input, the system first extracts candidate target instances matching the target category from the probabilistic semantic map. Then, for each candidate target, candidate navigation points are generated within the navigable area surrounding the target, and a predicted path is calculated based on the robot's current position, candidate navigation points, and the geometric map. Candidate targets are then filtered for accessibility based on the existence of both candidate navigation points and predicted paths. For candidate targets that pass the accessibility filter, a comprehensive score is calculated based on multiple factors including target category, target attributes, spatial relationships, semantic confidence, path cost, and risk cost. These comprehensive scores are then used to rank the targets and determine the optimal target. Finally, a formal navigation path is generated based on the candidate navigation points corresponding to the optimal target.
[0264] This application's embodiments solve the problem that class matching alone cannot distinguish which target in the same category matches the user's specific description by comprehensively considering target category, target attributes, and spatial relationships to score and rank the best targets; and solve the problem of generating navigation endpoints when the target itself is unreachable by generating candidate navigation points in the passable area around the target.
[0265] Based on the above embodiments, determining a comprehensive score for candidate targets that have passed the accessibility screening, based on multiple factors including target category, target attributes, spatial relationships, semantic confidence, path cost, and risk cost, includes: A category matching score is determined based on the semantic matching degree between the target category and the candidate target. The attribute matching score is determined based on the degree of matching between the target attribute and the attribute of the candidate target; The spatial relationship matching score is determined based on the degree of matching between the spatial relationship and the spatial location of the candidate target; A confidence score is determined based on the semantic confidence of the candidate targets; The path score and safety score are determined based on the path cost and risk cost between the candidate target and the robot's current position. The comprehensive score of the candidate target is determined based on multiple factors, including the category matching score, the attribute matching score, the spatial relationship matching score, the confidence score, the path score, and the security score.
[0266] For each candidate target, the system calculates scores from multiple dimensions, then weights and sums them to obtain a comprehensive score, which measures the suitability of the target as the final navigation target. These dimensions may include: category matching score: assessing the consistency between the semantic category of the candidate target and the target category in the user command; attribute matching score: assessing whether the candidate target meets the attribute conditions specified by the user, such as color, number, and status; spatial relationship matching score: assessing whether the location of the candidate target meets the spatial relationship specified by the user; confidence score: assessing the reliability of the candidate target in the semantic map; path score: assessing the path length cost from the robot's current position to the target; and safety score: assessing risk factors such as static obstacles, dynamic targets, and narrow passages on the path.
[0267] The weighted sum of the multiple scores above yields a comprehensive score for each candidate target. A higher score indicates that the target is more in line with the user's instructions and is easier to reach safely, which is then used to rank candidate targets and select the optimal target.
[0268] This application embodiment uses a multi-dimensional comprehensive scoring system to unify the best language match and safe arrival within the same framework, ensuring that the selected optimal target not only conforms to user instructions but also satisfies path safety constraints, thereby improving the success rate of navigation tasks.
[0269] In one embodiment, semantic target retrieval is used to search for candidate targets that meet the requirements of target category, target attributes, spatial relationships, safety constraints and accessibility in the probabilistic semantic map constructed in S5 based on the structured language task output by S6, and to convert the target description in natural language into target instances and candidate navigation points that can be executed by the robot.
[0270] This application does not simply query a map based on category name. Instead, it comprehensively utilizes category probabilities, object instance confidence, spatial location, reachability status, and candidate navigation points from the probabilistic semantic map, combined with attributes, spatial relationships, and safety constraints in the language task, to perform multi-factor scoring and ranking of candidate targets. This allows for the selection of the target that best matches the user's intent and can be safely executed, even when multiple similar objects exist on the map, the language target description is incomplete, or some candidate targets are unreachable.
[0271] This application preferably employs a method that combines joint retrieval of object instances and grid regions, category and attribute matching, spatial relationship verification, candidate navigation point generation, path and risk pre-assessment, and multi-factor comprehensive ranking. Other methods capable of performing candidate target queries, accessibility filtering, and target ranking based on probabilistic semantic maps can also be used as alternative implementation methods.
[0272] Specifically, S7 semantic target retrieval can be achieved through the following steps: S7.1 Inputs and Outputs: The input for this step is: ; in, For a moment The set of input data for the semantic target retrieval step; The structured tasks output by S6 can include action types. Target Category Target attribute set Spatial Relationship Set and safety constraint set ; The probabilistic semantic map output by S5 includes a probabilistic semantic grid, object instances, dynamic semantic layers, and a semantic topology graph; Geometrically occupy the map and passable areas; This indicates the robot's current pose.
[0273] The output of this step is: ; in, For a moment The set of output results of the semantic target retrieval steps; This is the set of candidate targets sorted according to their comprehensive scores. The optimal candidate target; Candidate navigation points corresponding to the optimal objective; The estimated path from the robot's current position to the candidate navigation point; This serves as a marker indicating whether clarification needs to be provided to the user. This serves as a marker for whether active exploration needs to be triggered.
[0274] Each candidate objective can be represented as: ; in, For a moment No. One candidate target; Number the object instance. For object categories, For the object's location, For object semantic confidence, For reachability state, For comprehensive search scoring.
[0275] S7.2 Candidate Target Generation and Constraint Screening: The system first determines the target category from the structured task. This involves extracting objects of the same category or similar semantics from a collection of object instances. The initial set of candidate targets is represented as follows: ; in, For a moment The initial set of candidate targets; For the first One object instance (candidate target); The threshold for semantic category matching; A matching score is given between the language target category and the object instance category. Confidence level for object instances; Set the confidence threshold for object instances.
[0276] When the target in a structured task belongs to a higher-level category or a category alias, the system can perform an extended search based on the semantic dictionary in S6. For example, "firefighting equipment" can correspond to specific map categories such as fire extinguisher, fire hydrant, or fire box.
[0277] When object instances have not yet been stably generated or there are no objects in the instance set that meet the conditions, the system extracts grids with target category probabilities and semantic confidence scores higher than a threshold from the probabilistic semantic grid map, and generates temporary candidate regions through connected component analysis or spatial clustering. Thus, even before object instances are formed, target retrieval can still be completed using grid-level probabilistic semantic information.
[0278] For mandatory safety constraints explicitly given in the task, the system prioritizes hard screening. The following candidate targets can be directly eliminated: there are no passable candidate navigation points in or around the target; the path to the target requires traversing a prohibited area; the target clearly conflicts with the robot's mobility capabilities or task safety rules; the target's semantic confidence or overall reliability is below the minimum threshold.
[0279] By first performing hard constraint filtering and then soft score ranking, targets with high semantic matching but unreachable or unsafe conditions can be avoided from being selected as the final navigation targets.
[0280] S7.3 Category, Attribute, and Spatial Relationship Matching: For candidate targets The system calculates the degree of semantic matching between the system and the structured task.
[0281] Category matching score is represented as: ; in, Candidate targets Category matching score; Candidate targets Belongs to the category of language targets The probability of; For language target categories With candidate target map categories Semantic mapping scores between them; For language target categories in structured tasks; Candidate targets The corresponding map semantic category.
[0282] When user instructions include color, number, status, function, or scene attributes, calculate the attribute matching score: ; in, Candidate targets Attribute matching score; For attribute matching functions; Candidate targets The set of attributes includes attributes such as color, number, state, and function obtained from visual attribute observations, probabilistic semantic map states, or object instance states; This refers to the set of target attributes in a structured task.
[0283] When a task's attributes fall under categories such as congestion, reachability, proximity, or doorway—attributes that can be directly determined by the geometric map, dynamic semantic layer, or spatial relationships—the system performs matching based on the corresponding map status. When a task involves color, numbering, or text identifiers, the system retrieves them from the data stored in the object instance. The system reads the corresponding attributes. If the object instance does not save the visual attributes required by the task, then that attribute is not used as a mandatory exclusion criterion, and the system reduces the weight of the attribute matching item, or sets... It also requests the user to provide additional or confirmed information.
[0284] For example, for "blocked fire lanes", the "blockage" status can be determined based on the proportion of obstacles near the target area, the semantics of temporary obstacles, and the remaining width of the lane; for "red fire equipment", the color can be determined based on the visual attributes associated with the instance.
[0285] When user commands include spatial relationships such as near a window, doorway, next to, end of a corridor, left side, or nearby, the system calculates the spatial relationship matching score using object instance location, region connectivity, and semantic topology graph: ; in, Candidate targets Spatial relationship matching score; This is a spatial relation matching function.
[0286] For example, for "chairs by the window", the system calculates the spatial distance between the candidate chairs and the nearest window instance; for "trash cans at the entrance of the meeting room", the system determines whether the candidate trash cans are located in the vicinity of the meeting room entrance; for "fire hydrants at the end of the corridor", the system can make a judgment by combining the corridor topology nodes and the location of the regional endpoints.
[0287] When the task does not contain target attributes or spatial relationships, the corresponding matching score is set to a neutral value: .
[0288] S7.4 Accessibility, Route, and Risk Assessment: Since targets such as doors, cabinets, and fire-fighting equipment may be located within occupied areas, the robot cannot directly use the geometric center of the target as the navigation endpoint. Therefore, the system searches for candidate navigation points within the traversable area surrounding the candidate target: ; when When this happens, mark the candidate target as unreachable: ; in, Candidate navigation grid With candidate targets Or the spatial distance between its target areas; The maximum search radius for candidate navigation points in the target neighborhood.
[0289] When a passable grid exists, the system selects candidate navigation points by comprehensively considering the target distance, local obstacle risk, and target observability (however, whether the local candidate navigation point can actually be reached from the robot's current position still needs to be verified for global reachability through path estimation). ; in, Candidate targets The optimal candidate navigation point; The distance from the candidate navigation point to the target area; Risks associated with obstacles and dynamic targets near candidate points; To enable the robot to observe or confirm the visibility of a target from candidate locations, , and These are the weighting coefficients for target distance, local risk, and target visibility in the candidate navigation point selection process. For each target for which local candidate navigation points have been generated, the system further utilizes a geometrically accessible map or semantic topology map to calculate the estimated path from the robot's current position to the candidate navigation point. ; in, Candidate targets The predicted path; For a moment Robot's current location; This is a path planning function.
[0290] Based on whether the predicted path exists, define the global reachability state of the candidate goal: ; in, For a moment Candidate Targets The global reachability state; This is an indicator function; it takes the value 1 when the condition inside the parentheses is true, and 0 otherwise.
[0291] when When this condition is met, it indicates that although there are locally accessible grids near the target, there is no safe and executable path between the robot's current position and the candidate navigation point. Therefore, the target is deemed globally unreachable and will not participate in the subsequent comprehensive scoring. Then, the system further calculates the estimated path length and path cost score.
[0292] Calculate the path score based on the estimated path length: ; in, To estimate the path length, This is a path length normalization or attenuation scale parameter used to convert the estimated path length into a normalized path score.
[0293] Risk assessment comprehensively considers static obstacles, dynamic targets, narrow passages, restricted areas, and other safety constraints: ; The corresponding safety score is: .
[0294] in, Candidate targets The overall risk corresponding to the predicted path; , , and These are the weighting coefficients for static obstacle risk, dynamic target risk, narrow passage risk, and restricted area risk, respectively. Candidate targets The overall risk corresponding to the predicted path; Static obstacle risk; For dynamic target risks; Risk of narrow passages; Risk associated with restricted areas.
[0295] When a path crosses a prohibited area or violates mandatory safety constraints, the candidate target becomes invalid and is no longer included in the subsequent ranking.
[0296] S7.5 Multi-factor comprehensive scoring and target selection: The system first uses the global reachability state obtained from S7.4 to perform hard constraint filtering, only filtering those that meet the requirements. Candidate targets that do not violate mandatory security constraints are comprehensively scored. Category matching, attribute matching, spatial relationship matching, object instance confidence, path score, and security score are all normalized to [value missing]. .
[0297] The semantic uncertainty of candidate targets is represented by normalized category distribution entropy: ; in, Candidate targets Normalized semantic uncertainty; To prevent the logarithmic calculation from having a very small constant that has a zero value, and ; Candidate targets Belongs to the The probability of a semantic category.
[0298] The overall score for the candidate targets is: ; in, , , , , , and These are the scoring weights for category matching, attribute matching, spatial relationship matching, object instance confidence, path score, security score, and semantic uncertainty, respectively. Candidate targets Category matching score; Score the attribute matching. Scoring based on spatial relationship matching; Candidate targets Semantic confidence of object instances.
[0299] Category, attribute, spatial relationship, object confidence, path, and security are used as positive scoring items, while normalized semantic uncertainty is used as a negative penalty item. Since global reachability has already been used as a hard constraint for candidate selection, it is not included again in the comprehensive score.
[0300] Candidate targets are sorted in descending order of their overall scores: ; The optimal objective is: .
[0301] in, The threshold for the comprehensive score of candidate targets.
[0302] This application uses the above comprehensive scoring to unify the target with the best language match and the target that the robot can safely reach, avoiding target selection based solely on category probability, straight-line distance, or single semantic similarity.
[0303] S7.6 Ambiguity handling, active exploration triggering, and parameter settings: When the difference between the highest and second-highest score targets is small, or when multiple candidate targets are highly similar in category, attribute, and spatial relationship, the system is set as follows: Based on the task risk, it can either clarify the issue to the user, display candidate targets, or automatically select targets according to preset rules.
[0304] The system is set when any of the following conditions are met: The target category does not exist on the current map; no candidate targets meeting the minimum confidence requirements were found; all candidate targets are unreachable; the highest comprehensive score is below the retrieval threshold; S6 has output a preliminary active exploration indicator. Furthermore, S7 did not find any candidate targets that met the minimum confidence and global reachability requirements.
[0305] At this point, the system passes the target category, target attributes, spatial relationships, and security constraints to S9, allowing the active exploration module to select the unknown area most likely to discover the target, rather than directly determining the mission as a failure.
[0306] In the implementation of this application, the following parameters are preferably adopted: That is, the semantic category matching threshold is ; That is, the confidence threshold for object instances is ; That is, the comprehensive score threshold for candidate targets is ; That is, the search radius of candidate navigation points near the target is ; That is, the distance scale for spatial relationships such as "nearby" and "close to" is ; That is, the path length normalization parameter is ; That is, the proportion of obstacles in the target neighborhood exceeds When this happens, it can be determined to be a blocked state; That is, the difference between the combined scores of the highest and second-highest candidate targets is less than At that time, it was believed that there was ambiguity in the target.
[0307] The optimal weighting for the overall score is set as follows: ; ; The first six items are positive scoring items, and their weights sum to 1. Additional uncertainty penalty weights. For tasks that do not include target attributes or spatial relationships, the corresponding weights can be reallocated to category matching, object confidence, path score, and safety score.
[0308] The thresholds and weights mentioned above are preferred empirical parameters for this application and can be adjusted according to the application scenario, target category, map quality and robot safety level. They do not constitute a limitation on the scope of protection of this application.
[0309] When the candidate target set is empty, i.e. Optimal candidate target Candidate navigation points and predicted path Set all values to null and then set: .
[0310] At this point, the system will classify the target categories in the structured task. Target attributes Spatial Relationships and safety constraints It is then passed to S9, where S9 selects language conditions to explore the frontiers.
[0311] After completing candidate generation, semantic matching, reachability verification, path and risk assessment, and multi-factor comprehensive ranking, the system outputs: .
[0312] in, For a moment The final output set of the semantic target retrieval steps.
[0313] The core of this step is to use the object instances and complete category probabilities in the probabilistic semantic map as the basis for retrieval, and to jointly evaluate language category, target attributes, spatial relationships, object confidence, reachability, path cost, and risk cost, thereby transforming the fuzzy semantic targets in natural language into navigation targets that the robot can safely reach and execute.
[0314] Based on the above embodiments, the step of planning a navigation path according to the candidate navigation points corresponding to the optimal target includes: Generate a semantic topology map based on the probabilistic semantic map; Based on the semantic topology graph, a semantic topology path search is performed to generate a semantic topology path from the robot's current position to the candidate navigation point corresponding to the optimal target. Based on the geometric map, a global geometric path is generated under the constraints of the semantic topological path.
[0315] The system is based on a probabilistic semantic map, extracting semantic regions in the environment, such as rooms, corridors, and halls; semantic objects, such as doors, tables, chairs, and fire-fighting facilities; and the connectivity between them, constructing an abstract semantic topology graph. Nodes represent regions or objects, and edges represent traversable paths between them. Based on this, the system first performs path search at the topology graph level, finding a region-level path from the robot's current region / node to the region / node of a candidate navigation point, such as "current corridor → door → meeting room." This path provides high-level navigation guidance. Then, under the constraints of the semantic topology path, based on traversable regions in the geometric map, a grid path planning algorithm generates a specific global geometric path, enabling the robot to plan a specific route around obstacles according to the high-level guidance of "corridor → door → meeting room."
[0316] This application embodiment achieves efficient and safe navigation path generation by first performing high-level semantic topology pathfinding and then low-level geometric path planning. This utilizes semantic information to improve planning efficiency while retaining the fine obstacle avoidance capabilities of the grid map.
[0317] Based on the above embodiments, after generating candidate navigation points within the traversable area surrounding the candidate target, the method further includes: For a candidate target with candidate navigation points, an estimated path from the robot's current position to the candidate navigation points is generated based on the robot's current position, the candidate navigation points, and the geometric map. If the estimated path does not exist, the candidate target is determined to be a globally unreachable target and is removed from the candidate target set; If the estimated path exists, the candidate target is determined to be a globally reachable target, and the candidate target is retained for subsequent comprehensive scoring and ranking.
[0318] After extracting candidate targets matching the target category from the probabilistic semantic map, not all candidate targets can actually serve as navigation targets. Some candidate targets may be located in areas completely surrounded by obstacles, making them inaccessible to the robot. To address this issue, the system pre-searches for locations around the target that the robot can safely reach and effectively observe (i.e., candidate navigation points). If at least one candidate navigation point exists in the traversable area around a candidate target, the target is retained and considered a viable navigation target; otherwise, the candidate target is directly removed from the candidate list and no longer participates in subsequent matching score and ranking.
[0319] In this embodiment, the accessibility of candidate targets is pre-screened before matching score is calculated, and targets with no surrounding passable areas are eliminated in advance. This avoids invalid calculations for unreachable targets in the future and ensures that all candidate targets participating in the ranking are reachable.
[0320] In one embodiment, semantic topology path planning is used to convert the target instance and candidate navigation points output by S7 into semantic topology paths, global paths, local obstacle avoidance paths, and motion control references that can be executed by the robot.
[0321] This step uses both the geometrically accessible map output by S2 and the semantic topology map output by S5 to generate a navigation path from the robot's current position to a accessible location near the target, while satisfying the constraints of obstacle safety distance, dynamic target avoidance, restricted area constraints, and robot mobility.
[0322] The following combination is preferred in this application: A Dijkstra, D Lite or similar graph search methods are used to generate high-level region paths in the semantic topology graph; A is employed. Hybrid A The system uses Dijkstra's algorithm or similar grid planning methods to generate global geometric paths in traversable maps; path smoothing methods are used to eliminate jagged edges and sharp turns in grid paths; local obstacle avoidance and dynamic target avoidance are achieved using DWA, TEB, MPC, or rolling window planning methods; chassis motion references are generated using pure tracking, differential tracking, MPC, or other mature control methods; and online replanning is triggered based on changes in obstacles, targets, positioning status, and path deviations.
[0323] This application is not limited to the specific planning algorithm mentioned above. Other methods that can achieve semantic region constraints, global path generation, local obstacle avoidance, motion control, and online replanning can also be used as equivalent implementation methods.
[0324] Specifically, S8 semantic topology path planning can be achieved through the following steps: S8.1 Inputs and Outputs: This step uses a unified planning target interface, allowing both formal semantic targets and proactive exploration targets to call the same path planning unit. Unified Planning Target Defined as: ; in: ; The planning target is derived from the semantic object selected in S7. The planning objectives are derived from the exploration frontiers selected by S9; For S7 targeting the optimal candidate objective Generated candidate navigation points; Select exploration navigation points corresponding to the exploration frontier for S9; The source type of the current unified planning goal has a value of or .
[0325] The input for this step is: ; in, For a moment The set of input data for the path planning steps; Provide language tasks and security constraints; For the current unified planning goals; For target type; For geometric maps; For probabilistic semantic maps and semantic topology graphs; and These represent the robot's current pose and motion state, respectively.
[0326] The output of this step is: ; in, For a moment The output data set of the path planning steps; For semantic topology paths; For global geometric paths; This is a local executable path; This is the current local tracking target point; These serve as reference values for linear velocity and angular velocity. For a set of safety constraints; This serves as a trigger for replanning; The plan includes states such as success, failure, waiting, unreachable, or insecure.
[0327] S8.2 Semantic Topology and Global Path Planning: The system first sets the robot's current position and the unified planning target. They are respectively associated with the starting node and the target node in the semantic topology graph.
[0328] Nodes in the semantic topology graph can include rooms, corridors, doors, target objects, candidate navigation points, and exploration frontiers; edges between nodes represent traversable relationships and store path length, area risk, semantic attributes, and traversal status.
[0329] The system preferably adopts A Dijkstra or D Mature graph search methods such as Lite generate semantic topological paths from the starting node to the target node. During the path search process: impassable areas and user-specified restricted areas do not participate in the path search; areas with high dynamic risks or narrow passages increase the path cost; when the language task includes requirements such as traveling along corridors, avoiding offices, or passing through exhibition hall entrances, the corresponding semantic areas can be set as preferred areas or restricted areas.
[0330] After obtaining the semantic topological path, the system generates a continuous global geometric path on the traversable grid map output by S2. Global path planning preferably uses A... Hybrid A The algorithm should be based on Dijkstra's algorithm or other mature algorithms, and take into account: path length; obstacle distance; restricted areas; dynamic risk areas; unknown areas; robot body size and safe expansion range.
[0331] The generated grid path is simplified by polyline, smoothed by curve or spline interpolation to obtain a smooth path suitable for robot chassis tracking.
[0332] S8.3 Local obstacle avoidance, safety check and replanning: During the robot's execution of the global path, the system generates local path and velocity reference values based on real-time laser point cloud, local occupancy map, dynamic semantic layer output by S5, and the robot's current state, using DWA, TEB, MPC, or rolling window local planning methods.
[0333] Local planning is mainly used to handle: dynamic targets such as pedestrians, mobile robots and carts; temporary obstacles; local map errors; narrow passages; and limitations on robot speed, angular velocity and turning ability.
[0334] Before outputting the path, the system checks at least the following safety conditions: the distance between the path and static obstacles is not less than the set safety distance; a dynamic safety distance is maintained between the path and dynamic targets; the path does not pass through prohibited or closed areas; the channel width is sufficient for the robot's passage requirements; and the normalized pose uncertainty calculated according to S2.1 satisfies the following conditions: The local path conforms to the robot chassis speed and steering constraints.
[0335] Set the replanning flag when any of the following conditions are met: Specifically, this includes: the current path being blocked by a newly added obstacle; a dynamic target entering a safe distance; the robot deviating from the global path by more than a threshold; and the normalized pose uncertainty being satisfied. The target semantic confidence level has decreased or the target location has changed; the current target navigation point is unreachable; or the user has modified or canceled the task command.
[0336] If the target still exists but the original path is impassable, repeat this step; if the target is lost or the target confidence is insufficient, return to S7 to search again; if there is no credible target in the current map, proceed to S9 for active exploration.
[0337] When S7 has been output In this step, instead of directly planning to the original target object, we wait for S9 to select the exploration frontier and use that exploration frontier as a temporary navigation target for path planning.
[0338] S8.4 Required Implementation Parameters and Output Results: In this application, the preferred setting for the robot's static obstacle safety distance is: For dynamic targets such as personnel and mobile robots, the preferred dynamic safety distance is set as follows: The local planning window radius is set as follows: The local path tracking look-ahead distance is set to: The robot's maximum linear velocity is set as follows: The robot's maximum angular velocity is set as follows: The local planning update frequency is set to: The global path check or replanning frequency is set to: The replanning threshold for the robot deviating from the global path is set as follows: Normalized SLAM pose uncertainty threshold setting: .
[0339] when If the system determines that the current positioning is not reliable enough, it will perform actions such as slowing down, stopping, repositioning, or replanning based on the task status.
[0340] When the robot channel width When used for security checks, the following is preferred: ; in, The maximum width of the robot body. This refers to the safe distance from static obstacles.
[0341] For the global path cost, the preferred empirical weights are set as follows: ; in, Path length weight; For static obstacle cost weights; The semantic region cost weight; Weights are assigned to dynamic risks and narrow regional costs.
[0342] The speed, distance, frequency, threshold, and cost weight mentioned above are preferred parameters used in the tracked robot platform of this application. They can be adjusted according to the robot size, motion form, operating speed, environmental complexity, and safety level, and do not constitute a limitation on the scope of protection of this application.
[0343] After completing semantic topology search, global path generation, local obstacle avoidance, and safety checks, the system outputs: ; This output serves as the input to the S10 closed-loop execution unit, driving the robot to move along the planned path.
[0344] The main function of this step is to convert the semantic goal output by S7 into an executable path that satisfies geometric drivability constraints, safety constraints, and robot motion capabilities.
[0345] Based on the above embodiments, the method further includes: When there is no credible target that meets the task requirements in the probabilistic semantic map, the confidence of the candidate target is lower than a preset threshold, the candidate target is globally unreachable, or the target navigation path planning fails, active exploration is triggered according to the structured task expression; Extract candidate exploration frontiers between free and unknown regions from the geometric map; Based on the target category, target attribute and / or spatial relationship in the structured task expression, determine the linguistic condition score of each candidate exploration frontier, and determine the information gain, path cost, risk cost and historical access status of each candidate exploration frontier; Based on the language condition score, the information gain, the path cost, the risk cost, and the historical access information, a comprehensive frontier score is determined for each candidate exploration frontier. Based on the comprehensive score of each frontier, an exploration frontier that meets the safety constraints is selected, and an exploration path to the exploration frontier is generated; The probabilistic semantic map is continuously updated during the exploration process, and candidate target retrieval is periodically re-executed. When a trustworthy and globally reachable target that meets the mission requirements is found again, the current active exploration is terminated, and a navigation path to the target is planned.
[0346] When the system fails to find a credible target in the probabilistic semantic map, including situations such as the absence of the target category in the map, insufficient target confidence, all candidate targets being unreachable, or the overall score being below a threshold, an active exploration process is initiated: First, the boundary fronts between unknown areas and known free areas are extracted from the geometric map. These fronts represent areas that the robot has not yet explored but may contain targets. Then, based on the target category, target attributes, and / or spatial relationships in the structured task representation, combined with scene semantic priors, each front is scored. The higher the score of the front, the greater the probability that the target being sought by the user exists within that area. The front with the highest score is selected as the exploration target, and an exploration path to reach that front is generated. As the robot moves along the exploration path, the probabilistic semantic map is continuously updated, and the retrieval of candidate targets is periodically re-executed. Once a credible target is found during the exploration process, the exploration stops, and the normal navigation execution process is switched to.
[0347] The embodiments of this application conduct purposeful exploration of unknown frontiers based on language tasks when the target is missing, avoiding blind traversal. At the same time, the map is continuously updated and re-searched during the exploration, realizing a seamless connection between exploration and discovery, and improving the robustness and task completion rate of the navigation system.
[0348] In one embodiment, the proactive exploration when the target is missing is used to select the exploration area most likely to find the target when there is no credible target in the current probabilistic semantic map, the target confidence is insufficient, the target is unreachable or the path planning fails, based on the user's language task, the probabilistic semantic map, the scene semantic prior, and the distribution of unknown areas.
[0349] The difference between this application and ordinary frontier exploration is that the system does not select exploration targets solely based on the area or distance of the unknown region. Instead, it uses the target category, target attributes, and spatial relationships in the user's instructions as exploration conditions, and comprehensively evaluates the probability of target occurrence, map information gain, path cost, risk cost, and historical access status in the frontier region, thereby forming an active exploration strategy for specific language tasks.
[0350] This application preferably employs a combination of methods including frontier extraction, linguistic conditional semantic priors, information gain evaluation, exploration cost constraints, historical access suppression, and closed-loop target re-retrieval. Other methods capable of selecting exploration targets based on natural language tasks, semantic maps, and unknown regions may also be used as alternative implementation methods.
[0351] Specifically, proactive exploration when the S9 target is missing can be achieved through the following steps: S9.1 Inputs and Outputs: The input for this step is: ; in, For a moment The set of input data for the active exploration step; The structured language task output for S6 includes target categories, target attributes, spatial relationships, and security constraints; The target search results output by S7; It is a geometric map, including free areas, unknown areas, and passable areas; For probabilistic semantic maps; and These represent the robot's current pose and motion state, respectively. This is an optional path planning state. When S9 is directly triggered by the missing target in S7, this setting is used. When S9 is triggered by a path planning failure in S8, Values , or .
[0352] The output of this step is: ; in, For a moment The output data set of the active exploration steps; The selected optimal frontier of exploration; For the corresponding exploration navigation points; To explore the path; A comprehensive score based on cutting-edge technology; Find markers for the target; To continue exploring the landmark; To explore signs of failure; To explore the execution status.
[0353] S9.2 Active Exploration Triggers and Frontier Extraction: The system enters the active exploration process when any of the following conditions are met: S7 no candidate target was found; the comprehensive score of the candidate target is lower than the threshold; there is no target category in the current probabilistic semantic map; all candidate targets are unreachable; S8 has been executed, and the planning status is satisfied. S7 has set the final active exploration marker: .
[0354] The system preferentially employs mature front detection methods to extract the exploration front from the boundary between known free regions and unknown regions. For free grids... If an unknown grid exists in its neighborhood, it is considered a frontier candidate. ; in, For a moment The front edge grid set; For grid A grid cell in the neighborhood.
[0355] The system merges frontier grids into a set of frontier regions through connected component analysis or spatial clustering: ; in, For a moment The collection of frontier regions, For a moment The total number of frontier areas.
[0356] The system discards frontier areas that are too small, located in restricted areas, where passable navigation points cannot be generated, or where there is no executable path. Frontier extraction itself employs mature map exploration methods and is not considered a major innovative aspect of this application.
[0357] S9.3 Language Conditions Frontier Assessment: For any valid candidate frontier The system is based on the target category in the structured language task. Target attributes and spatial relationships Calculate the semantic matching score between this frontier and the current language target. : ; in, This indicates the degree of co-occurrence matching between the target category and the scene category near the frontier. This indicates the degree of association between existing semantic objects in the frontier neighborhood and the target category. This indicates the degree of matching between the frontier and the linguistic space. All scores above are normalized to: ; And satisfy: .
[0358] The system simultaneously calculates the geometric information gain and semantic information gain of the front. The geometric information gain represents the size of the unknown region that may be newly observed after reaching the front, while the semantic information gain represents the gain from the possibility of the new region containing the current language target. ; After normalizing the geometric information gain and semantic information gain respectively, the combined information gain is expressed as: ; in, Forward area Semantic information gain; Forward area Geometric information gain; Forward area Semantic matching score; Forward area The overall information gain; This represents the normalized geometric information gain. This represents the normalized semantic information gain. , As weight, .
[0359] For a clearly defined search task, the preferred settings are... This allows exploration strategies to focus more on discovering language targets rather than simply expanding the map area.
[0360] The system further calculates the path cost, overall risk, front size, and historical visit penalty from the robot's current position to the front navigation point. To ensure that all items have uniform dimensions, the linguistic conditional score, information gain, front size, path cost, risk cost, and historical visit penalty are all normalized to [value missing]. .
[0361] Frontier Comprehensive Score for: ; in, , , , , , As weight; Forward area The overall information gain; Forward area The normalized scale; To reach the front line area The normalization path cost; Forward area Normalization exploration risks; Forward area Historical visit penalties.
[0362] Positive scoring factors include language condition score, overall information gain, and frontier size; negative scoring factors include path cost, exploration risk, and historical visit penalty. If a frontier has been visited multiple times without finding the target, the score is increased. This reduces the probability that the frontier will be selected again.
[0363] The optimal weighting for the overall score is set as follows: ; ; The sum of the above weights is 1, which can be adjusted according to the different needs of target search tasks and ordinary map exploration tasks.
[0364] Ultimately, the frontier that satisfies the safety constraints and has the highest overall score was selected: ; in, For a moment The selected optimal exploration frontier.
[0365] The corresponding accessible exploration navigation points are: .
[0366] in, For a moment Exploration navigation points; To explore the frontier in the best way The corresponding accessible navigation points.
[0367] This step directly uses the categories implied by the language objective—scene relationships, reference object relationships, and target space relationships—for frontier evaluation, and scores them together with map information gain, path cost, and safety risk, so that the exploration behavior revolves around the user's task, rather than engaging in aimless environmental traversal.
[0368] S9.4 Exploratory Execution and Closed-Loop Target Re-retrieval: After selecting the optimal exploration frontier, the system sets the corresponding exploration navigation point as the unified planning objective: ; in, For a moment Unified planning goals; For a moment Target type.
[0369] Then, S8 is invoked to generate the semantic topological path, global geometric path, and local obstacle avoidance path to the exploration navigation point: ; When path planning is successful, S10 executes the exploration path; when path planning fails or the risk exceeds the allowable threshold, S9 deletes the current frontier and selects another valid frontier.
[0370] As the robot moves along the exploration path, it continuously executes the following perception and map update process: .
[0371] This involves continuously updating the robot's pose, geometric map, RGB semantic segmentation results, and probabilistic semantic map.
[0372] After the map is updated, the system calls S7 again at a set interval to check if any targets matching the language criteria have appeared. If a reliable and reachable target is found, then the following settings are configured: ; The current frontier exploration is halted, and the newly discovered target is retransmitted to S7 and S8, generating a formal navigation path to the vicinity of the target: .
[0373] If the target is not found after the current frontier exploration is completed, and there are other frontiers that meet the conditions, then update the historical access record and select the next frontier to continue exploration.
[0374] Therefore, this application will actively explore and form a closed loop with probabilistic semantic map updates, semantic target re-retrieval, and path planning, rather than generating a fixed exploration path all at once.
[0375] S9.5 Exploration Termination and Failure Handling: To prevent the robot from exploring indefinitely, the system sets the following termination conditions: a target that meets the requirements of target category, attributes, spatial relationship, and confidence level has been found; the cumulative exploration time has reached the upper limit; the cumulative exploration distance has reached the upper limit; there are no available exploration frontiers in the current map; the comprehensive score of all remaining frontiers is lower than the exploration threshold; all remaining frontiers are unreachable or the risk exceeds the allowable threshold; the SLAM positioning uncertainty exceeds the safety threshold; the user cancels, pauses, or modifies the task.
[0376] When the target is discovered, the exploration state begins. Set to target discovery status : ; When the time or distance limit is reached, the exploration status is set to timeout or distance exceedance respectively; when the front edge is exhausted, the front edge is set to empty; when the safety constraints are not met, the status is set to unsafe.
[0377] The exploration continues, and the indicator can be represented as: set up This refers to the set of effective frontiers after screening based on area, global accessibility, restricted areas, and risk conditions. The criteria for continued exploration are defined as follows:
[0378] in, For a moment The exploration continues; For an efficient frontier set; Find markers for the target; To accumulate exploration time; This represents the maximum duration of a single active exploration. To accumulate the exploration distance; This represents the maximum cumulative exploration distance. The threshold for comprehensive scoring at the forefront; Normalized risk for the optimal frontier; To explore risk thresholds; To normalize the SLAM pose uncertainty; Normalized SLAM pose uncertainty threshold; This is a user termination flag. This indicates that the user has canceled, paused, or modified the current task. The system will stop the current active exploration if any of the following conditions are met: the target has been discovered, the exploration time or distance has reached the limit, the effective frontier is empty, the scores of all frontiers are too low, the exploration risk is too high, the positioning reliability is insufficient, or the user terminates the task.
[0379] If no target is found within the allowed range, then set: It also provides feedback to users on the current exploration scope, undiscovered target categories, and reasons for failure, such as prompting users to expand the search scope, switch regions, or modify the target description.
[0380] S9.6 Required parameters and output results: In this application, the minimum area threshold of the frontier region is preferably set as follows: ; The search radius for candidate navigation points near the front edge is set as follows: ; The maximum duration of a single active exploration is set to: ; The maximum cumulative exploration distance is set as follows: ; The risk threshold for exploration is set as follows: ; The threshold for the comprehensive frontier score is set as follows: ; The preferred settings for the weights of geometric information gain and semantic information gain are: ; The maximum number of priority visits to the same frontier or adjacent area is set as follows: ; The target re-retrieval frequency during active exploration is set as follows: ; The above parameters are preferred empirical parameters adopted by the indoor robot platform of this application. They can be adjusted according to the scene scale, robot speed, target category, semantic map quality and security level, and do not constitute a limitation on the scope of protection of this application.
[0381] After completing frontier extraction, linguistic condition scoring, information gain assessment, exploration target selection, and closed-loop re-retrieval, the system outputs: ; The core of this step is to transform the target category, attributes, and spatial relationships in the natural language task into semantic evaluation conditions for exploring the frontier when the target is missing, and to jointly score them with information gain, path cost, security risk, and historical access, so that the robot can carry out purposeful active exploration around a specific language target.
[0382] Based on the above embodiments, the controlled robot moves along the navigation path, updates the probabilistic semantic map during the movement, and re-executes the retrieval of the candidate targets based on the updated probabilistic semantic map, including: Control the robot to move along the navigation path, and continuously acquire new RGB images and new laser point clouds during the movement; The geometric map and the probabilistic semantic map are updated based on the new RGB image and the new laser point cloud. The retrieval of the candidate targets is re-executed based on the updated probabilistic semantic map.
[0383] As the robot moves towards the target along the planned navigation path, the RGB camera and LiDAR remain continuously activated, constantly collecting new environmental data at a fixed frequency. With each new frame of the RGB image and LiDAR point cloud acquired, the system repeatedly performs semantic segmentation, spatial association, and probabilistic fusion, updating the geometric map and probabilistic semantic map in real time to keep the map synchronized with the current environment. After each map update, the system re-executes the candidate target search based on the latest probabilistic semantic map, confirming whether the previously selected target still exists, whether its location has changed, and whether a better candidate target has appeared, thus ensuring that navigation always points to the newly confirmed target.
[0384] In one embodiment, the specific process of controlling the robot to move along the navigation path and synchronously updating the map and re-retrieval is as follows: Driven by the chassis control system, the robot moves along a planned navigation path. During the movement, the robot keeps its RGB camera and LiDAR continuously active, acquiring new RGB images and new LiDAR point clouds at a fixed frequency.
[0385] Upon arrival of each newly acquired RGB image and laser point cloud frame, the system sequentially performs the following steps: semantic segmentation of the RGB image to obtain new semantic segmentation results; spatial association of the semantic segmentation results with the laser point cloud based on the robot's current pose to generate new semantic observations; and fusion of these new semantic observations into the existing probabilistic semantic map using a multi-frame probability update method to update the category probability distribution and semantic confidence of map units. Simultaneously, the new laser point cloud is also used to update the occupied, free, and traversable regions in the geometric map.
[0386] After each map update, the system re-executes the candidate target retrieval based on the latest probabilistic semantic map, re-extracts candidate targets that match the target category, re-scores and sorts the matching degree, and reconfirms the optimal target. If the re-retrieval confirms that the original target is still optimal and its location has not changed significantly, the current navigation path is maintained and continues to execute; if the re-retrieval finds that the confidence of the original target has decreased or its location has changed, path replanning is triggered; if the re-retrieval finds that the original target is lost but a new candidate target has appeared, the new target is used as the navigation target and the path is replanned.
[0387] The embodiments of this application continuously update the map and periodically re-retrieve the target during navigation, enabling the robot to dynamically perceive environmental changes and adjust its strategy in a timely manner. This avoids task failure due to target movement or environmental changes in open-loop navigation, and improves navigation robustness and task completion rate in dynamic environments.
[0388] Based on the above embodiments, during the process of controlling the robot to move along the navigation path, the method further includes: monitoring navigation anomaly events and performing graded recovery based on the navigation anomaly events; wherein, the graded recovery includes: If a local path is blocked by a new obstacle or a dynamic target enters a safe distance, and the original global path is valid, then the current navigation target remains unchanged and a local replanning is triggered. If the global path is blocked, the navigation path enters a restricted area, the robot deviates from the global path, or the original candidate navigation point becomes unreachable, global replanning is triggered. If the positioning uncertainty exceeds a preset threshold, the robot's movement speed will be reduced or it will stop moving, triggering a repositioning process. If the target semantic confidence decreases, the target location changes, or the target disappears, the candidate target retrieval will be re-executed; If no trustworthy and globally reachable target that meets the task requirements is found after a re-search, then active exploration is triggered; If the user's instructions change, the natural language instruction parsing will be re-executed.
[0389] During its movement along the navigation path, the robot continuously monitors for various abnormal events, including: path obstruction, dynamic targets entering a safe distance, robot deviation from the preset path, SLAM localization uncertainty exceeding a threshold, decreased target semantic confidence or target disappearing from the semantic map, and user modification or cancellation of task instructions. For different types of events, the system triggers different levels of recovery strategies: path obstruction or approaching dynamic targets only requires local obstacle avoidance and replanning; path deviation or inaccurate localization requires global path replanning or repositioning; target state changes require target re-retrieval; and user instructions change require reinterpreting user intent. Through this tiered processing, the system can quickly recover to normal navigation with minimal cost.
[0390] In one embodiment, the specific process of monitoring events and triggering hierarchical replanning during robot movement is as follows: As the robot moves along the navigation path, it continuously monitors the following events: path blockage, dynamic target entering a safe distance, robot deviating from the path, positioning uncertainty exceeding a threshold, decrease or disappearance of target semantic confidence, and changes in user commands.
[0391] For different types of events, the system triggers different levels of recovery strategies: When the path is detected to be blocked by a newly added static obstacle or a dynamic target enters a safe distance, but the original global path remains valid overall, the system keeps the current navigation target unchanged and only regenerates a local obstacle avoidance path. This processing method has low computational cost, fast response speed, and can bypass local obstacles while maintaining the overall direction of travel.
[0392] When the robot deviates from the preset path by more than a threshold, or when the SLAM positioning uncertainty exceeds the allowable range, the system re-executes global path planning or re-localizes. Path deviation may be caused by environmental changes or accumulated odometry errors, requiring a recalculation of the global path from the current location to the target navigation point. When the positioning uncertainty is too high, the robot cannot accurately determine its position on the map, necessitating re-localization (such as loop closure detection or map re-localization), and navigation resumes only after the positioning is restored.
[0393] When the semantic confidence of a target falls below a threshold, the target's location changes significantly, or the target disappears from the semantic map, the system returns to the target retrieval stage and re-retrieves candidate targets in the updated probabilistic semantic map. Changes in target status may be caused by dynamic environments (such as a door being closed or a chair being moved) or early observation errors, requiring reconfirmation of the target based on the latest map status.
[0394] When the user enters a new command or modifies the original task, the system immediately stops the current navigation task, returns to the language parsing stage to re-parse the user's intent, and re-executes target retrieval and path planning based on the new command.
[0395] This application embodiment continuously monitors various abnormal events and triggers corresponding graded recovery strategies, enabling the system to select the lightest and most effective handling method based on the severity of the problem. This avoids the inefficiency caused by re-executing the entire process for all abnormalities, and improves the response speed and task continuity of the navigation system in dynamic environments.
[0396] In one embodiment, closed-loop execution and replanning are used to convert the global path, local path and motion control reference quantity output by S8 into motion commands that can be executed by the robot chassis, and to continuously update the geometric map, probabilistic semantic map and target state during robot motion.
[0397] The system monitors events such as path blockage, approach of dynamic obstacles, robot deviation from the path, positioning anomalies, decrease in target confidence, and changes in user commands in real time. Based on the event type, it triggers local replanning, global replanning, target re-retrieval, active exploration, or relocation, thus forming a complete closed loop from natural language task understanding, semantic target retrieval, path planning to execution feedback.
[0398] This application preferably uses behavior trees or finite state machines to organize the task flow and employs mature path tracking control, safety monitoring, and chassis control methods to perform navigation. The aforementioned behavior trees, path tracking, and chassis control algorithms themselves are not considered the main innovative content of this application. The focus of this step is to integrate real-time map updates, target semantic state, and navigation execution state into an event triggering mechanism, and to select different levels of recovery strategies based on different abnormal events.
[0399] This application is not limited to any particular robot middleware, controller, or state machine implementation. Other methods capable of performing path execution, continuous map updates, safety monitoring, target confirmation, and hierarchical replanning can also be used as equivalent implementations.
[0400] Specifically, S10 closed-loop execution and replanning can be achieved through the following steps: S10.1 Inputs and Outputs: The input for this step is: ; in, The set of input data for closed-loop execution and replanning steps; Structured language tasks for S6 output; This provides the global path, local path, local target point, and velocity reference value output by S8. The active exploration results output by S9; and These are the current geometric map and the probabilistic semantic map, respectively. This indicates the robot's current pose. This represents the robot's current motion state. This is a real-time multi-sensor observation after time synchronization, image correction, and spatial calibration are completed by S1, including RGB images, laser point clouds, IMU, odometer or chassis status, and corresponding timestamps.
[0401] The output of this step is: ; in, This is the output data set for the closed-loop execution and replanning steps; Commands for chassis linear velocity and angular velocity; The current execution status; As a landmark for redevelopment; Arrival marker for navigation point; A target confirmation marker; The system is in a safe state. and This is the updated map.
[0402] When the system is in normal target navigation mode Can be empty; when the system is in an active exploration state, The exploration frontier, exploration navigation points, and exploration status are output by S9.
[0403] S10.2 Path execution and continuous map updates: The system preferably uses behavior trees or finite state machines to manage states such as standby, language parsing, target retrieval, path planning, active exploration, path execution, target confirmation, task completion, and task failure.
[0404] The normal task flow is as follows: ; When the target is missing, the task flow switches to: ; During the exploration path execution in S10, the system continuously executes: ; If S7 finds a trustworthy and reachable target, then execute: ; If the target is still not found, return to S9 and select the next frontier to explore.
[0405] During the path execution phase, the system generates chassis control commands based on the local path and speed reference values output by S8, using pure tracking, differential path tracking, TEB, MPC, or other mature control methods. ; Continuous execution during robot movement: ; This means continuously updating: the robot's current pose and geometric occupancy map; RGB pixel-level semantic segmentation results; point cloud-image-map semantic association results; category distribution and object instances in the probabilistic semantic map; and the semantic confidence, location, and reachability of the current target instance.
[0406] Therefore, the robot does not move according to a fixed map and fixed path generated at the beginning of the task, but continuously corrects the map, target state and navigation path based on the latest sensor observations during the execution process.
[0407] S10.3 Event-triggered hierarchical replanning: The system continuously monitors the following events during execution: the path is blocked by a newly added static obstacle; personnel, carts, or other dynamic targets enter a safe distance; the current path enters a restricted or high-risk area; the robot deviates from the global path; SLAM localization uncertainty exceeds a threshold; target instance confidence decreases, target position changes, or the target disappears; the user modifies, pauses, or cancels the current task.
[0408] Replanning sign Represented as: ; ; in, This is a static obstacle blocking event. For dynamic obstacle approach events, This is an incident in a restricted area. This is a path deviation event. To locate abnormal events, This refers to events such as a decrease in target confidence or the disappearance of the target. This is a user command change event. Setting is performed when any event occurs. .
[0409] Different recovery strategies are available for each event: (1) Local replanning: When a local static obstacle or dynamic target is detected, but the original global path is still valid, the system keeps the original target unchanged and only calls the local planning part of S8 to regenerate the local obstacle avoidance path: .
[0410] (2) Global replanning: When the global path is blocked, the robot deviates from the path, the path passes through a restricted area, or the original candidate navigation point is unreachable, the system returns to S8 to regenerate the semantic topology path and the global path: .
[0411] (3) Target re-retrieval: When the target semantic confidence is lower than the threshold, the target location changes significantly, or the original target instance disappears, the system returns to S7 and re-retrieves the target in the updated probabilistic semantic map: .
[0412] (4) Active Exploration: If no credible and reachable target is found after a re-search, the system enters S9 Active Exploration: .
[0413] (5) Position recovery: When the SLAM pose uncertainty exceeds the allowable range, the system reduces speed or stops, and preferably performs repositioning, loop closure matching or map repositioning; planning and execution continue after positioning is recovered.
[0414] (6) Task re-parsing: When the user enters a new command or modifies the original task, the system stops the current task or enters a safe waiting state, and returns to S6 for re-parsing: .
[0415] The above-mentioned hierarchical processing enables the system to select the appropriate level of recovery operation based on the cause of the anomaly, avoiding the need to re-execute the entire process for every anomaly, thereby improving system response speed and task continuity.
[0416] S10.4 Safety Controls and Dynamic Obstacle Handling: When the robot executes its path, the system monitors at least the following safety conditions: the distance between the local path and static obstacles; the distance between the robot and dynamic targets such as people and carts; whether the global path enters a restricted area; whether the channel width meets the robot's passage requirements; whether the robot's current position deviates significantly from the planned path; and whether the SLAM positioning status is reliable.
[0417] When the distance of the dynamic obstacle Less than parking distance When the system stops the robot: ; When the dynamic obstacle is within the parking distance and avoidance distance In between, the system reduces its speed and invokes the local planner to avoid obstacles: ; When a dynamic obstacle continues to block traffic for a period of time exceeding a set threshold, the system triggers a global or local replanning.
[0418] If a restricted area, location anomaly, or other unrecoverable security event is detected, the system will preferably stop immediately and set the execution status to waiting, relocation, or task failure to prevent the continued issuance of unsafe movement commands.
[0419] S10.5 Arrival determination and target semantic confirmation: After the robot arrives at the candidate navigation point, the system confirms the arrival and target based on the geometric position, robot orientation, target semantic confidence, and continuous visual observation.
[0420] Geometric arrival sign Defined as: ; in, Let be the distance function. This is the robot's current position. For candidate waypoint locations, For the distance threshold to the navigation point, The robot's current facing angle. For the target desired orientation angle, To reach the orientation threshold.
[0421] set up The current cumulative number of frames that continuously satisfy the semantic confirmation conditions for the target. The minimum number of consecutive acknowledgments set. Target acknowledgment flag. Defined as: ; in, For a moment The semantic confidence of the optimal objective.
[0422] The system uses different task completion conditions based on the type of action in the structured task: ; in, The system has completed the target status check and generated the check results; To ensure that the predetermined inspection route or target area coverage meets the set requirements; For inspection results or anomaly reports that have already been generated; This marks the completion of the task. For the action type in a structured task; To go, In search of, To get closer, For inspection, For inspection.
[0423] when At that time, the system will set the execution status to: .
[0424] When the robot has reached a candidate navigation point but the target has not yet been confirmed, the system does not immediately determine that the task is completed, but instead performs in-situ rotation, viewpoint adjustment, short-distance observation position adjustment, or returns to S7 to search again; when the target is still not visible or there are no credible candidates, it enters S9 to actively explore.
[0425] S10.6 Required parameters and output results: In the implementation of this application, the following parameters are preferred.
[0426] The chassis control frequency is set to: ; The update frequency for the geometric map and the probabilistic semantic map is set to: ; The robot's maximum linear velocity and maximum angular velocity are set as follows: ; The maximum linear acceleration and maximum angular acceleration are set as follows: ; The dynamic obstacle stopping distance and avoidance distance are set as follows: ; The maximum duration of dynamic obstacle waiting time is set as follows: ; The distance threshold to navigation points is set as follows: ; The arrival orientation threshold is set to: ; The target confirmation confidence threshold is set as follows: ; The target consecutive confirmation frame count is set to: ,in, The minimum number of consecutive acknowledgments is set. This refers to the current number of consecutive acknowledgment frames, which is counted in real time during the execution process.
[0427] For tasks involving heading, searching, and approaching, the task should ideally be considered complete when the following conditions are met: ; ; ; For inspection and patrol tasks, as defined in S10.5 , and Determine whether the task has been completed.
[0428] The aforementioned control frequency, speed, acceleration, safety distance, and target confirmation threshold can be adjusted according to the robot chassis type, sensor performance, operating environment, and safety level, and do not constitute a limitation on the scope of protection of this application.
[0429] After completing path execution, map update, security monitoring, target confirmation, and replanning decision, the system outputs: .
[0430] in, This is the output data set for the closed-loop execution and replanning steps.
[0431] The core of this step is to continuously update the geometric map, probabilistic semantic map, and target state during robot execution, and to establish hierarchical response relationships between abnormal events and local replanning, global replanning, target re-retrieval, active exploration, and relocation, so that the natural language navigation task can form a continuously updated closed-loop execution process in a dynamic real environment.
[0432] To illustrate the visual language navigation method provided in this application, please refer to the following embodiments: The system first acquires multi-source perception data through an RGB camera, LiDAR, IMU, and odometry / chassis status. Through time synchronization, camera intrinsic parameter calibration, camera-LiDAR extrinsic parameter calibration, and sensor-robot extrinsic parameter calibration, it achieves the representation of multi-sensor data under a unified time reference and coordinate system. Subsequently, the LiDAR SLAM unit estimates the robot's pose based on LiDAR point cloud, IMU, and odometry information, and constructs a geometric map including a point cloud map, an occupied grid map, free regions, unknown regions, and traversable regions, providing a spatial foundation for subsequent semantic fusion and path planning.
[0433] In terms of visual semantic perception, the RGB semantic segmentation unit preferentially adopts the self-improved HarDNet-PID-Prompt real-time semantic segmentation network. This network is designed for edge computing platforms such as AGX Orin and Jetson Orin. Through structures such as the HarDNet lightweight encoder, P / I / D three branches, PromptFusion, FiLM, PagFM, Light_Bag, and SE calibration, it outputs pixel-level class probability maps, class label maps, confidence maps, and boundary auxiliary maps in real time. This semantic segmentation result is not used alone for display, but is further used as a visual semantic source for constructing probabilistic semantic maps.
[0434] In terms of semantic mapping, the system preferentially employs point cloud-image joint projection, occlusion consistency verification, boundary weighting, and semantic confidence weighting methods to bind pixel-level semantic information in RGB images to the spatial location of laser point clouds. This is then combined with SLAM pose transformation to the map coordinate system, forming map-level semantic observations. Subsequently, the system performs probabilistic updates on map grids or object instances based on multi-frame semantic observations. Preferred methods include Dirichlet category probability updates, time decay, dynamic / static semantic layering, instance clustering, and reachability annotation to construct a probabilistic semantic map containing category distribution, semantic confidence, observation count, update time, dynamic attributes, and reachability status.
[0435] In terms of language navigation, the system parses user natural language commands into structured task expressions, including action type, target category, target attributes, spatial relationships, and safety constraints. This application preferably uses the open-source Qwen series of large language models for structured parsing, combined with an indoor semantic dictionary, category mapping rules, and JSON Schema constraints, to avoid free text output that would prevent the robot from executing commands. The system then performs semantic target retrieval on a probabilistic semantic map, comprehensively considering category confidence, attribute matching degree, spatial relationship matching degree, language semantic similarity, path cost, risk cost, and reachability status to rank candidate target areas and generate executable candidate navigation points.
[0436] In terms of navigation execution, the system preferentially employs a combination of semantic topology map search, global path planning, path smoothing, local obstacle avoidance, and rolling replanning to convert language targets into executable paths for the robot. When there are no credible targets in the current probabilistic semantic map, the target confidence is insufficient, or the target is unreachable, the system enters an active target-missing exploration process. Based on the language target category, scene semantic priors, information gain of unknown areas, path cost, and risk cost, the system selects the exploration frontier area most likely to find the target and continuously updates the geometric map and probabilistic semantic map during the exploration process, re-executing target retrieval and path planning.
[0437] During closed-loop execution, the robot continuously collects sensor data, updates the laser SLAM geometric map and probabilistic semantic map in real time, and triggers local replanning, global replanning, target re-retrieval, or active exploration based on events such as path blockage, approach of dynamic obstacles, decrease in target semantic confidence, increase in localization uncertainty, robot deviation from the path, or changes in user commands. Thus, this application achieves a complete technical closed loop from natural language commands to semantic target understanding, spatial target retrieval, path planning, active exploration, and closed-loop execution updates.
[0438] It should be noted that the ROS1, multi-sensor calibration method, laser-inertial SLAM, Qwen large language model, semantic topology search, global path planning, and local obstacle avoidance method in this application are all preferred embodiments and do not constitute a limitation on the scope of protection of this application. Any equivalent method capable of achieving multi-sensor synchronous acquisition, geometric map construction, real-time RGB semantic segmentation, semantic projection fusion, probabilistic semantic map updating, language target retrieval, semantic topology planning, active exploration, and closed-loop execution updating can be applied to the technical solutions of this application.
[0439] refer to Figure 2 The robot and sensors provided in this application are merely preferred embodiments that have been tested or are intended to be tested, used to illustrate that this application can be implemented on a real robot platform, and should not be construed as limiting the scope of protection claimed. In actual implementation, the robot chassis can be tracked, wheeled, wheel-tracked, legged, or other mobile platforms; the LiDAR can be a 2D or 3D LiDAR; and the camera can be an RGB camera with a USB, GMSL, MIPI, GigE, or other interface.
[0440] refer to Figure 3 The system consists of an RGB image acquisition unit, a LiDAR SLAM unit, a real-time RGB semantic segmentation unit, a semantic projection fusion unit, a semantic map database, a natural language command parsing unit, a semantic target retrieval unit, a semantic topology path planning unit, an active exploration unit, and a closed-loop execution unit. Each unit can be deployed on the same computing platform or distributed across the robot and edge servers.
[0441] refer to Figure 4 This embodiment takes a tracked indoor mobile robot deployed in an office building as an example. The robot is equipped with an RGB camera, a lidar (including an IMU), an odometer, and an edge computing platform.
[0442] After the robot starts, the system synchronizes the RGB image, laser point cloud, IMU data, and odometry data with the LiDAR timestamp as a reference, and completes spatial calibration using pre-calibrated camera intrinsic parameters and camera-LiDAR extrinsic parameters. Subsequently, the LiDAR SLAM unit estimates the robot pose based on the synchronized laser point cloud, IMU, and odometry data, and constructs a geometric map including occupied areas, free areas, traversable areas, and unknown areas. Simultaneously, the real-time semantic segmentation unit inputs the RGB image into the HarDNet-PID-Prompt network. This network extracts multi-scale features through an encoder, providing them to the parsing branch, context branch, and boundary branch respectively. These three branches undergo adaptive modulation using learnable Prompt parameters and the FiLM module. Finally, the boundary-guided fusion module guides feature fusion, outputting a pixel-level class probability map, semantic class map, semantic confidence map, and boundary-assisted probability map.
[0443] The semantic projection fusion unit projects the laser point cloud onto the image plane based on camera intrinsic and extrinsic parameters, reads the semantic segmentation results from the corresponding pixel positions, assigns semantic information to the laser point cloud, and performs occlusion consistency verification on multiple laser points projected onto the same pixel neighborhood, removing occluded points. The system calculates the fusion weight of each semantic observation by comprehensively considering semantic confidence, boundary probability, observation distance, and pose uncertainty, excluding low-weight observations. The probabilistic semantic map update unit maintains Dirichlet category parameters and semantic confidence for each map raster, and uses the Dirichlet probabilistic update method to accumulate and fuse semantic observations from multiple frames to obtain the category probability distribution and semantic category of each raster; static categories (walls, doors, tables, chairs, etc.) update the long-term map, and dynamic categories (people, carts, etc.) update the short-term dynamic semantic layer. The system generates semantic object instances from neighboring rasters that meet the confidence conditions through spatial clustering, and searches for candidate navigation points in the traversable area around each instance, marking the reachability status.
[0444] The natural language instruction parsing unit inputs the user instruction "Go to the office entrance and check if the passage is clear" into the large language model, extracting the action type "go + check", the target category "door", the target attribute "passage clear status", the spatial relationship "office entrance", and the safety constraint "maintain a safe distance". After semantic dictionary mapping, a structured task expression is generated. The semantic target retrieval unit extracts candidate targets from the map based on the target category "door", combines spatial relationships to perform matching degree scoring and ranking, and selects the optimal target. The path planning unit generates a semantic topology map based on the probabilistic semantic map, searches for semantic topology paths, and generates a global geometric path in the geometric map under its constraints.
[0445] The closed-loop execution unit controls the robot to move along the navigation path. During movement, the system continuously collects new data and updates the geometric map and probabilistic semantic map, periodically re-searching for the target. When a pedestrian is detected entering a safe distance, the system triggers local replanning to generate a detour path. After the robot reaches a candidate navigation point, the system confirms that the geometric position meets the arrival conditions and that the target semantic confidence remains stable across multiple consecutive frames, thus confirming target arrival. Subsequently, semantic segmentation of the target region is performed to complete the channel state check, generating the check results, and the task is completed.
[0446] If no target exists on the map or all targets are unreachable, the system triggers active exploration: extract the boundary front of the unknown area and the free area, score the front based on the scenario prior that the target category "door" usually appears on both sides of the corridor, and select the front with the highest score to generate an exploration path; during the exploration process, the probabilistic semantic map is continuously updated and periodically re-searched until a credible target is found or the exploration termination condition is met.
[0447] This application's embodiments successfully construct a probabilistic semantic map containing object categories and confidence levels through deep fusion of RGB semantic segmentation and laser SLAM maps; accurately understand user commands and locate targets through natural language parsing and multi-factor target retrieval; and effectively cope with environmental changes such as dynamic obstacles through closed-loop execution and event-triggered replanning, ultimately realizing a complete navigation task from natural language commands to the robot's actual motion execution.
[0448] The visual language navigation device provided in this application is described below. The visual language navigation device described below can be referred to in correspondence with the visual language navigation method described above.
[0449] refer to Figure 5 The visual language navigation device provided in this application includes: The data acquisition module 501 is used to acquire RGB images, laser point clouds, and geometric maps of the robot's surrounding environment; Semantic segmentation module 502 is used to perform semantic segmentation on the RGB image to obtain semantic segmentation results; The semantic map construction module 503 is used to spatially associate the semantic segmentation result with the laser point cloud according to the robot pose, generate semantic observations in the map coordinate system, and fuse multiple frames of semantic observations into the geometric map to construct a probabilistic semantic map. The language navigation planning module 504 is used to parse natural language instructions into a structured task expression containing target categories, and retrieve candidate targets in the probabilistic semantic map according to the structured task expression, generate executable candidate navigation points, and plan navigation paths. The closed-loop execution module 505 is used to control the robot to move along the navigation path, update the probabilistic semantic map during the movement, and re-execute the retrieval of the candidate target based on the updated probabilistic semantic map.
[0450] The visual language navigation device provided in this application deeply fuses RGB semantic segmentation results with a laser SLAM geometric map to construct a probabilistic semantic map containing category probability distribution and semantic confidence. This enables the robot to acquire the category attributes of objects while understanding the geometric structure of the environment. During the semantic map construction process, a multi-frame probability update mechanism effectively reduces the impact of single-frame false detections and dynamic interference, improving the long-term stability and reliability of the semantic map. During execution, the robot continuously acquires new sensor data and updates the probabilistic semantic map in real time. Based on the updated map, the target is re-retrieved, enabling the navigation system to dynamically adapt to environmental changes. This achieves closed-loop visual language navigation from natural language commands to the robot's actual motion execution.
[0451] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6 As shown, the electronic device may include a processor 610, a communications interface 620, a memory 630, and a communication bus 640, wherein the processor 610, communications interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a visual language navigation method. This method includes: acquiring an RGB image, a laser point cloud, and a geometric map of the robot's surrounding environment; performing semantic segmentation on the RGB image to obtain a semantic segmentation result; spatially associating the semantic segmentation result with the laser point cloud based on the robot's pose to generate semantic observations in a map coordinate system, and fusing multiple frames of semantic observations into the geometric map to construct a probabilistic semantic map; parsing natural language instructions into a structured task expression containing target categories, and retrieving candidate targets in the probabilistic semantic map based on the structured task expression, generating executable candidate navigation points and planning a navigation path; controlling the robot to move along the navigation path, updating the probabilistic semantic map during the movement, and re-executing the retrieval of the candidate targets based on the updated probabilistic semantic map.
[0452] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0453] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the visual language navigation method provided by the above methods. The method includes: acquiring an RGB image, a laser point cloud, and a geometric map of the robot's surrounding environment; performing semantic segmentation on the RGB image to obtain a semantic segmentation result; spatially associating the semantic segmentation result with the laser point cloud according to the robot's pose to generate semantic observations in a map coordinate system, and fusing multiple frames of the semantic observations into the geometric map to construct a probabilistic semantic map; parsing natural language instructions into a structured task expression containing target categories, and retrieving candidate targets in the probabilistic semantic map according to the structured task expression, generating executable candidate navigation points and planning a navigation path; controlling the robot to move along the navigation path, updating the probabilistic semantic map during the movement, and re-executing the retrieval of the candidate targets according to the updated probabilistic semantic map.
[0454] Furthermore, this application also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the visual language navigation method provided by the above methods. The method includes: acquiring an RGB image, a laser point cloud, and a geometric map of the robot's surrounding environment; performing semantic segmentation on the RGB image to obtain a semantic segmentation result; spatially associating the semantic segmentation result with the laser point cloud based on the robot's pose to generate semantic observations in a map coordinate system, and fusing multiple frames of the semantic observations into the geometric map to construct a probabilistic semantic map; parsing natural language instructions into a structured task expression containing target categories, and retrieving candidate targets in the probabilistic semantic map based on the structured task expression, generating executable candidate navigation points and planning a navigation path; controlling the robot to move along the navigation path, updating the probabilistic semantic map during the movement, and re-executing the retrieval of the candidate targets based on the updated probabilistic semantic map.
[0455] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0456] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0457] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A visual language navigation method, characterized in that, include: Acquire RGB images, laser point clouds, and geometric maps of the robot's surrounding environment; Perform semantic segmentation on the RGB image to obtain the semantic segmentation result; Based on the robot's pose, the semantic segmentation result is spatially correlated with the laser point cloud to generate semantic observations in the map coordinate system, and multiple frames of semantic observations are fused into the geometric map to construct a probabilistic semantic map. The natural language instructions are parsed into a structured task expression containing the target category, and candidate targets are retrieved in the probabilistic semantic map based on the structured task expression to generate executable candidate navigation points and plan navigation paths. The robot is controlled to move along the navigation path, and the probabilistic semantic map is updated during the movement. The retrieval of the candidate target is then re-executed based on the updated probabilistic semantic map.
2. The visual language navigation method according to claim 1, characterized in that, The step of performing semantic segmentation on the RGB image to obtain semantic segmentation results includes: The RGB image is classified at the pixel level using a semantic segmentation network, and the pixel-level category probability map, semantic category map, semantic confidence map and boundary auxiliary probability map are output. The pixel-level category probability map contains the probability distribution of each pixel belonging to each category, the semantic category map contains the predicted category of each pixel, the semantic confidence map contains the category prediction confidence of each pixel, and the boundary auxiliary probability map contains the probability of each pixel belonging to the object boundary.
3. The visual language navigation method according to claim 2, characterized in that, The semantic segmentation network includes: The encoder is used to extract multi-scale features from the RGB image and provide the multi-scale features to the parsing branch, the context branch, and the boundary branch, respectively. The parsing branch is used to extract region semantic information based on the multi-scale features; The context branch is used to extract scene context information based on the multi-scale features; The boundary branch is used to extract body boundary information based on the multi-scale features; The parsing branch, the context branch, and the boundary branch are respectively equipped with learnable Prompt parameters, a Prompt fusion module, and a FiLM feature modulation module. The Prompt fusion module is used to fuse the Prompt parameters with the corresponding branch features. The FiLM feature modulation module is used to generate channel-level modulation parameters based on the Prompt parameters and to adaptively modulate the fused branch features using the channel-level modulation parameters. The boundary-guided fusion module is used to calculate boundary guidance weights based on the object boundary information, and guide the feature fusion of the region semantic information and the scene context information based on the boundary guidance weights. The prediction output module is used to output the pixel-level category probability map, the semantic category map, the semantic confidence map, and the boundary auxiliary probability map based on the fused features.
4. The visual language navigation method according to claim 1, characterized in that, The step of spatially associating the semantic segmentation result with the laser point cloud based on the robot's pose to generate semantic observations in the map coordinate system includes: Based on the camera's intrinsic parameters and the extrinsic parameters between the camera and the lidar, the laser point cloud is transformed into the camera coordinate system and projected onto the pixel plane of the RGB image to determine the corresponding pixel position of the laser point cloud in the RGB image. The semantic segmentation result is read from the corresponding pixel position, and a correspondence between the laser point cloud and the semantic segmentation result is established so as to assign the semantic segmentation result to the laser point cloud; Based on the robot pose and the extrinsic parameters between the LiDAR and the robot body, the LiDAR point cloud with the semantic segmentation result is transformed to the map coordinate system to generate semantic observations in the map coordinate system.
5. The visual language navigation method according to claim 4, characterized in that, After transforming the laser point cloud to the camera coordinate system and projecting it onto the pixel plane of the RGB image, the process further includes: Perform occlusion consistency verification on multiple laser points projected onto the same pixel neighborhood, calculate the depth between each laser point and the camera, and obtain the minimum depth within the same pixel neighborhood; If the difference between the depth of the laser point in the camera coordinate system and the minimum depth is less than a preset threshold, then the laser point is retained. If the difference between the depth of the laser point in the camera coordinate system and the minimum depth is greater than or equal to a preset threshold, then the laser point is determined to be an occluded point and is removed.
6. The visual language navigation method according to claim 4, characterized in that, The method further includes: Obtain the semantic confidence and / or boundary probability in the semantic segmentation result, and obtain the observation distance between each laser point in the laser point cloud and the camera; Based on the semantic confidence, the boundary probability, the observation distance, and / or the uncertainty of the robot pose, the fusion weight of the semantic observation corresponding to each laser point is determined; The semantic observations are filtered based on the fusion weight, and semantic observations with fusion weights lower than a preset threshold are excluded.
7. The visual language navigation method according to claim 1, characterized in that, The step of fusing the semantic observations from multiple frames into the geometric map to construct a probabilistic semantic map includes: For each map cell in the geometric map, maintain the category probability distribution and semantic confidence of the map cell; Based on the semantic observations of the current frame, update the category probability distribution and semantic confidence of the map unit to obtain the updated category probability distribution and semantic confidence. Based on the updated category probability distribution and semantic confidence, the semantic category of the map unit is determined, and the probabilistic semantic map is obtained.
8. The visual language navigation method according to claim 7, characterized in that, Based on the semantic observations of the current frame, update the category probability distribution of the map unit, including: Obtain the complete category probability vector corresponding to the semantic observation of the current frame and the fusion weight of the semantic observation of the current frame; Based on the complete category probability vector and the fusion weight, determine the category evidence corresponding to the current frame; The Dirichlet probabilistic update method is used to update the Dirichlet category parameters of the map unit based on the category evidence; Based on the updated Dirichlet category parameters, determine the updated category probability distribution of the map unit.
9. The visual language navigation method according to claim 7, characterized in that, The method further includes: If the semantic category of the semantic observation belongs to a static category, then the semantic observation is used to update the long-term category probability distribution of the map unit; If the semantic category of the semantic observation belongs to the dynamic category, then the semantic observation is used to update the short-term dynamic semantic layer of the map unit; The time decay rate of the short-term dynamic semantic layer is faster than the time decay rate of the long-term category probability distribution.
10. The visual language navigation method according to claim 7, characterized in that, After determining the semantic category of the map unit based on the updated category probability distribution and semantic confidence, and obtaining the probabilistic semantic map, the method further includes: Extract adjacent map units from the probabilistic semantic map that have the same semantic category and whose semantic confidence meets preset conditions; The adjacent map units are spatially clustered to generate semantic object instances; Search for candidate navigation points within the traversable area surrounding the semantic object instance; If the candidate navigation point is found, it is determined that the semantic object instance has a local candidate navigation point; If no candidate navigation point is found, the semantic object instance is marked as not having a local candidate navigation point.
11. The visual language navigation method according to claim 1, characterized in that, The process of parsing natural language instructions into structured task representations containing target categories includes: The natural language instructions are structured and parsed using a language model to extract one or more of the following: action type, target category, target attribute, spatial relationship, and security constraints. Based on the preset semantic dictionary and category mapping rules, the extracted target categories are mapped to a unified set of semantic categories, and other extracted fields are used directly as structured fields to generate the structured task expression.
12. The visual language navigation method according to claim 11, characterized in that, The step of retrieving candidate targets in the probabilistic semantic map based on the structured task representation, generating executable candidate navigation points, and planning navigation paths includes: Based on the target category in the structured task representation, candidate targets matching the target category are extracted from the probabilistic semantic map; For each of the candidate targets, candidate navigation points are generated within the traversable area surrounding the candidate target; A predicted path is generated based on the robot's current position, the candidate navigation points, and the geometric map. The reachability of the candidate target is then filtered based on whether the candidate navigation points and the predicted path exist. For candidate targets that pass the accessibility screening, a comprehensive score is determined based on multiple factors including target category, target attribute, spatial relationship, semantic confidence, path cost, and risk cost. The candidate targets are ranked according to the comprehensive score to determine the optimal target; Plan a navigation path based on the candidate navigation points corresponding to the optimal target.
13. The visual language navigation method according to claim 12, characterized in that, The comprehensive score for candidate targets that pass the accessibility screening is determined based on multiple factors including target category, target attribute, spatial relationship, semantic confidence, path cost, and risk cost, including: A category matching score is determined based on the semantic matching degree between the target category and the candidate target. The attribute matching score is determined based on the degree of matching between the target attribute and the attribute of the candidate target; The spatial relationship matching score is determined based on the degree of matching between the spatial relationship and the spatial location of the candidate target; A confidence score is determined based on the semantic confidence of the candidate targets; The path score and safety score are determined based on the path cost and risk cost between the candidate target and the robot's current position. The comprehensive score of the candidate target is determined based on multiple factors, including the category matching score, the attribute matching score, the spatial relationship matching score, the confidence score, the path score, and the security score.
14. The visual language navigation method according to claim 12, characterized in that, The step of planning a navigation path based on the candidate navigation points corresponding to the optimal target includes: Generate a semantic topology map based on the probabilistic semantic map; Based on the semantic topology graph, a semantic topology path search is performed to generate a semantic topology path from the robot's current position to the candidate navigation point corresponding to the optimal target. Based on the geometric map, a global geometric path is generated under the constraints of the semantic topological path.
15. The visual language navigation method according to claim 12, characterized in that, After generating candidate navigation points within the navigable area surrounding the candidate target, the process further includes: For a candidate target with candidate navigation points, an estimated path from the robot's current position to the candidate navigation points is generated based on the robot's current position, the candidate navigation points, and the geometric map. If the estimated path does not exist, the candidate target is determined to be a globally unreachable target and is removed from the candidate target set; If the estimated path exists, the candidate target is determined to be a globally reachable target, and the candidate target is retained for subsequent comprehensive scoring and ranking.
16. The visual language navigation method according to claim 1, characterized in that, The controlled robot moves along the navigation path, updates the probabilistic semantic map during the movement, and re-executes the retrieval of the candidate targets based on the updated probabilistic semantic map, including: Control the robot to move along the navigation path, and continuously acquire new RGB images and new laser point clouds during the movement; The geometric map and the probabilistic semantic map are updated based on the new RGB image and the new laser point cloud. The retrieval of the candidate targets is re-executed based on the updated probabilistic semantic map.
17. The visual language navigation method according to claim 16, characterized in that, During the process of controlling the robot to move along the navigation path, the method further includes: monitoring navigation anomaly events and performing graded recovery based on the navigation anomaly events; wherein, the graded recovery includes: If a local path is blocked by a new obstacle or a dynamic target enters a safe distance, and the original global path is valid, then the current navigation target remains unchanged and a local replanning is triggered. If the global path is blocked, the navigation path enters a restricted area, the robot deviates from the global path, or the original candidate navigation point becomes unreachable, global replanning is triggered. If the positioning uncertainty exceeds a preset threshold, the robot's movement speed will be reduced or it will stop moving, triggering a repositioning process. If the target semantic confidence decreases, the target location changes, or the target disappears, the candidate target retrieval will be re-executed; If no trustworthy and globally reachable target that meets the task requirements is found after a re-search, then active exploration is triggered; If the user's instructions change, the natural language instruction parsing will be re-executed.
18. The visual language navigation method according to claim 1, characterized in that, The method further includes: When there is no credible target that meets the task requirements in the probabilistic semantic map, the confidence of the candidate target is lower than a preset threshold, the candidate target is globally unreachable, or the target navigation path planning fails, active exploration is triggered according to the structured task expression. Extract candidate exploration frontiers between free and unknown regions from the geometric map; Based on the target category, target attribute and / or spatial relationship in the structured task expression, determine the linguistic condition score of each candidate exploration frontier, and determine the information gain, path cost, risk cost and historical access status of each candidate exploration frontier; Based on the language condition score, the information gain, the path cost, the risk cost, and the historical access information, a comprehensive frontier score is determined for each candidate exploration frontier. Based on the comprehensive score of each frontier, an exploration frontier that meets the safety constraints is selected, and an exploration path to the exploration frontier is generated; The probabilistic semantic map is continuously updated during the exploration process, and candidate target retrieval is periodically re-executed. When a trustworthy and globally reachable target that meets the mission requirements is found again, the current active exploration is terminated, and a navigation path to the target is planned.
19. A visual language navigation device, characterized in that, include: The data acquisition module is used to acquire RGB images, laser point clouds, and geometric maps of the robot's surrounding environment; The semantic segmentation module is used to perform semantic segmentation on the RGB image to obtain semantic segmentation results; The semantic map construction module is used to spatially associate the semantic segmentation results with the laser point cloud based on the robot's pose, generate semantic observations in the map coordinate system, and fuse multiple frames of semantic observations into the geometric map to construct a probabilistic semantic map. The language navigation planning module is used to parse natural language instructions into structured task expressions containing target categories, retrieve candidate targets in the probabilistic semantic map based on the structured task expressions, generate executable candidate navigation points, and plan navigation paths. The closed-loop execution module is used to control the robot to move along the navigation path, update the probabilistic semantic map during the movement, and re-execute the retrieval of the candidate target based on the updated probabilistic semantic map.
20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the visual language navigation method as described in any one of claims 1 to 18.
21. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the visual language navigation method as described in any one of claims 1 to 18.
22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the visual language navigation method as described in any one of claims 1 to 18.
