# ReForesight: Occlusion-Robust Re-Identification and Future Occupancy Forecasting for Dynamic Semantic Mapping

Robotics.world

> Semantic occupancy maps tell a robot where people currently are, but not where they are about to be, so a robot sharing a walkway with pedestrians tends to react late or stop.

**arXiv**: 2610.17279 · Preprint · not peer-reviewed

**Published**: 2026-10-12

**Authors**: Didar Seyidov, Faith Ogunwoye, Hajira Amjad, Danil Tolkachev, Yuri Sarkisov, Dzmitry Tsetserukou

## In plain words

Semantic occupancy maps tell a robot where people currently are, but not where they are about to be, so a robot sharing a walkway with pedestrians tends to react late or stop. Large learned 4D occupancy-forecasting networks exist, but they are trained for driving setups and are hard to run deterministically at low latency on the compact, power-efficient computers used on service robots.

## AI summary

## Overview

- **Research area:** Robotics — specifically mobile robot perception, semantic occupancy mapping, pedestrian trajectory forecasting, and multi-object tracking/re-identification.
- **Technical level:** Intermediate. The paper assumes familiarity with ROS 2, particle-based occupancy mapping, and basic trajectory-prediction metrics (ADE/FDE), but its central idea is explained in plain geometric terms.
- **Scope (one sentence):** The paper presents ReForesight, an open-source ROS 2 toolkit that attaches instance-level future occupancy ("ghost" point clouds) and post-occlusion re-identification to an existing instance-aware semantic mapping pipeline, and evaluates its lightweight MLP forecaster against a Kalman filter and a GRU on the CODa dataset.

## What This Paper Is About

Semantic occupancy maps tell a robot where people currently are, but not where they are about to be, so a robot sharing a walkway with pedestrians tends to react late or stop. Large learned 4D occupancy-forecasting networks exist, but they are trained for driving setups and are hard to run deterministically at low latency on the compact, power-efficient computers used on service robots. ReForesight's goal is to close that gap cheaply: take each tracked person or vehicle already present in the map, forecast its motion with a tiny learned model, and move the object's own observed points to the forecast pose so the map contains a correctly shaped prediction of future occupancy.

## Key Contributions

1. **Instance-level future occupancy without an occupancy decoder.** A ROS 2 node lifts each tracked instance into the map frame, forecasts it up to 3 s ahead with a compact learned model (a 36,594-parameter MLP by default; a 29,787-parameter GRU is included for comparison), and publishes forecast trajectories plus "ghost" point clouds built from the instance's own observed points. Because the shape comes from the latest observation, each ghost retains the real object's size and extent.
2. **Re-identification after occlusion (`ReIDTracker`).** A two-stage tracker re-associates objects lost for up to 30 frames (3 s) using cosine similarity of SuperPoint descriptors that the pipeline already computes (so no extra network inference), combined with a metric 3D motion gate that resolves depth-aliased candidates a pixel gate confuses.
3. **A lightweight, reproducible release.** CPU-side forecasting that leaves the GPU to the perception networks, a ROS 2 port of the Semantic DSP Map, CODa replay tools, all trained checkpoints, unit tests, a Docker image, and a ROS-free demo that reproduces every table in the paper in under a minute on a CPU.
4. **Safety gates around the learned forecaster.** A Kalman fallback for short tracks or systems without PyTorch, and a stationary gate that replaces the forecast with the current pose when measured net speed over the last 1 s is below 0.15 m/s — added after synthetic stopped histories showed the learned model keeps extrapolating motion for people who have just stopped.

## Main Findings

- **The MLP beats the Kalman filter on the main split.** On held-out CODa sequence 7 (5,812 windows, 184 tracks), the MLP lowers 3 s final displacement error from 0.708 m to 0.660 m, a 6.9% reduction, with a track-level 95% bootstrap interval of the difference of [−0.079, −0.018] m.
- **It also beats a similar-size GRU.** The GRU reaches 0.664 m on sequence 7, and the MLP is more accurate than the GRU on every held-out sequence.
- **Cross-sequence gains hold.** Across four held-out sequences (7, 13, 16, and 3, with 184, 256, 217, and 42 tracks), the MLP lowers mean 3 s FDE from 0.728 m (Kalman) to 0.662 m — 9.0% — with gains up to 22.8% on sequence 3. The GRU lowers mean FDE by 5.0% but is 6.0% worse than the Kalman filter on sequence 13, where the MLP still improves slightly (0.4%).
- **The stationary gate helps every method on every held-out sequence.** On the stationary windows of sequence 7 (14.2% of windows) it reduces the MLP's FDE by 38%, from 0.215 m to 0.134 m. With the gate applied to both methods, only the MLP remains significantly better than the Kalman filter (GRU interval [−0.074, 0.006] m).
- **The MLP is less seed-sensitive.** On sequence 7 it ranges from 0.660 to 0.691 m across seeds, versus 0.664 to 0.772 m for the GRU.
- **The raw constant-velocity baseline is far worse.** 1.899 m FDE, because single-step velocities amplify 10 Hz annotation jitter — which is why the filtered Kalman model is treated as the relevant baseline.
- **Class-specific conclusions are limited.** Pedestrian gains are significant, but vehicle and bicycle results are inconclusive with only 20 and 16 test tracks in sequence 7.
- **Forecasting is not the runtime bottleneck.** On a single efficiency core, the TorchScript MLP takes 0.04 ms per instance (0.08 ms for a batch of 20); the GRU takes 1.92 ms (3.15 ms for a batch of 20). The mapping core logged median update times of 0.350 s on robot recordings (n = 366) and 0.214 s on CODa (n = 8,173).
- **Re-identification works in scripted synthetic tests.** With appearance cues, `ReIDTracker` keeps identity through occlusions of up to 30 frames, rejects a different object entering an occluded track's gate (100% versus 0% for motion alone), and avoids a depth-aliased decoy. The metric 3D gate matters when descriptors are unavailable, for example on low-texture objects.
- **Identity swapping remains unsolved.** In the crossing-objects scenario, 27 of 100 seeds produce a swap, because the first, overlap-based tracking stage does not consult appearance; the authors limit their claim to re-association after disappearance.
- **Field demonstrations show operation, not accuracy.** Two runs of about 2 min each with a commercial outdoor cleaning robot in a public park (four fisheye cameras, merged LiDAR at about 10 Hz, front camera used) have no ground truth, so they demonstrate pipeline operation only; Figures 1 and 3 were recorded with the GRU checkpoint.

## Methodology in Plain English

The design rests on one observation: a tracked instance in the map already carries its own observed geometry, so moving that geometry along a forecast trajectory produces instance-shaped future occupancy directly — no occupancy network needed.

The authors start from the Semantic DSP Map, an instance-aware semantic mapping system released for ROS 1, and port it to ROS 2. They build a front end for their robot: fisheye images are rectified to a shared pinhole model, the merged LiDAR cloud is projected into a depth image, YOLOv8n-seg provides instance masks with IDs from its default BoT-SORT tracker, SegFormer-B0 labels the background, and SuperPoint with LightGlue matches keypoints for per-instance motion estimation. The camera pose is timestamped to match the depth image so depth and pose refer to the same LiDAR sweep.

The forecasting node is purely additive: it does not modify or recompile the mapping core, and its launch file includes the original pipeline launch file unchanged. It subscribes to three topics the mapping pipeline already publishes — instance masks with track IDs, depth, and camera pose — back-projects mask pixels with valid depth into the map frame, removes sparse silhouette-edge points with a voxel density filter (0.12 m voxels, at least 5 points in the 3×3×3 neighborhood), keeps at most 2,000 points per instance, and appends the instance position to a 3 s history.

The default forecaster is an MLP that reads 19 relative increments (Δx, Δy, Δψ) from a 2 s history, expressed in the object's heading frame, plus an 8-dimensional embedding of the motion class (pedestrian, vehicle, bicycle), and maps them through two hidden layers of 128 units to 30 future increments (3 s at 10 Hz). Training minimizes ADE + 0.5·FDE plus a small heading term, with windows weighted to balance class and motion regime (moving, stationary, accelerating, decelerating), since CODa is dominated by continuously walking pedestrians; the GRU comparison uses scheduled sampling. Two guard mechanisms wrap the learner: a constant-velocity Kalman filter for tracks with fewer than 20 samples or systems without PyTorch, and the stationary gate described above.

To produce future occupancy at a horizon of 0.5, 1, 2, or 3 s, the instance's current point cluster is rotated about its centroid by the predicted heading change and translated to the predicted position, with heights unchanged. Ghost clouds for all instances are published as a single `PointCloud2` in the map frame, with `MarkerArray` trajectories. The 1 s default horizon keeps the expected error (0.234 m for the MLP with the gate) close to the map's 0.2 m voxel size while still covering about 1.3 m of walking.

Evaluation uses CODa's 3D boxes with persistent instance IDs at 10 Hz, converted to world-frame trajectories with globally aligned poses. Tracks are split at gaps longer than 30 frames or implied speeds above 36 m/s, short gaps are filled linearly, and windows of 2 s history and 3 s future are cut with a 0.5 s stride. The main split trains on seven sequences (32,267 windows), validates on sequence 20, and tests on sequence 7; cross-sequence tests hold out sequences 13, 16, and 3 in turn. Every learned model is trained with three seeds and the lowest-validation-ADE run is reported. Baselines are the constant-velocity Kalman filter (also the runtime fallback) and a raw constant-velocity model from the last observed step. Re-identification is ablated on scripted synthetic scenarios with 100 seeds each.

## Why This Matters

**Impact on research.** The paper argues that useful future occupancy does not require a large 4D occupancy network: propagating an instance's own observed points along a forecast trajectory preserves real object extent and identity at negligible cost. It also releases a ROS 2 port of an existing ROS 1 mapper, a dataset replay path, and a ROS-free demo that reproduces all three tables on a CPU — lowering the barrier to comparing new predictors inside the same perception stack on public data.

**Real-world applications:**

- **Human-aware navigation.** The ghost cloud is a standard `PointCloud2` in the map frame, so costmap layers and planners that already consume point clouds can react to where people are about to be rather than only where they are.
- **Service and cleaning robots in shared public spaces.** The field demonstrations use a commercial outdoor cleaning robot in a park, the kind of platform with a tight power budget where a heavy occupancy network is impractical.
- **Studying and communicating robot anticipation.** Ghosts and the bird's-eye view make the robot's predictions visible to experimenters, and could be shown to participants in studies of robot legibility.
- **Reproducible benchmarking of predictors.** Alternative forecasters can be swapped into the same perception stack and compared on public data.

**Industry relevance.** The forecaster costs 0.04 ms per instance on a single CPU efficiency core and leaves the GPU to the perception networks, with a headless deployment configuration for an onboard NVIDIA Jetson and targeting Ubuntu 24.04 with ROS 2 Jazzy (ROS 2 Humble on the Jetson). Code is Apache-2.0, matching the upstream mapper. The authors are explicit that forecasts are deterministic point estimates learned from one university campus, are not safety certified, and must not be a robot's only safety layer.

## Future Directions

- **Multimodal forecasting.** The current models are unimodal point estimates; the propagation is planar and rigid, ignoring articulated motion and agent interactions.
- **Comparison against heavier occupancy forecasters.** The authors have not compared ReForesight with large 4D occupancy networks on the same hardware.
- **Closed-loop navigation and user studies.** Neither has been run; both are named as next steps, along with studies of how visualized ghosts affect human observers.
- **Real-data re-identification.** `ReIDTracker` was evaluated only on synthetic occlusion scenarios, is disabled by default, and an evaluation against BoT-SORT on annotated real data is future work; the crossing-object identity swap (27 of 100 seeds) remains open because the first tracking stage ignores appearance. The live front end also still labels cyclists as people.

## Target Audience

Robotics engineers and researchers building perception or navigation stacks on ROS 2, particularly those working with service robots, mobile manipulators, or any platform with a tight compute and power budget. It also suits mapping and tracking researchers who want a lightweight, reproducible baseline for instance-level future occupancy, and students entering human-aware navigation who need an end-to-end, open-source example connecting semantic mapping, trajectory prediction, and re-identification. Readers seeking state-of-the-art accuracy on occupancy-forecasting benchmarks will find the scope deliberately narrower than that.

## Authors’ abstract

Robots sharing walkways need to know where people will be, yet semantic occupancy maps show only where they are. We present ReForesight, an open-source ROS 2 toolkit that adds instance-level future occupancy and re-identification after occlusion to a particle-based semantic mapping pipeline. A 36.6k-parameter MLP predicts each tracked person or vehicle up to 3 s ahead, guarded by a Kalman fallback and a stationary gate, and the object's own points are moved to the forecast…

[The full abstract on arXiv](https://arxiv.org/abs/2610.17279)

[Read the original paper](https://arxiv.org/abs/2610.17279)

## Related papers

- [SmellDiffusion: Diffusion-Based Quadruped Navigation with Olfactory Scene Graphs](https://robotics.world/paper/smelldiffusion-diffusion-based-quadruped-navigation-with-olfactory-2609.20624) 2026-09-17 · cs.RO · Also by Didar Seyidov, Dzmitry Tsetserukou +2
- [JitterVLA: A Replay Benchmark for Motion Quality in VLA-Driven Human-Robot Manipulation](https://robotics.world/paper/jittervla-a-replay-benchmark-for-motion-quality-in-vla-driven-human-2610.13628) 2026-10-09 · cs.RO · Also by Didar Seyidov, Dzmitry Tsetserukou +1
- [HorizonNav: Geometry-Guided Video Diffusion for Anticipatory 3D Robot Navigation](https://robotics.world/paper/horizonnav-geometry-guided-video-diffusion-for-anticipatory-3d-robot-2610.13849) 2026-10-09 · cs.RO · Also by Didar Seyidov, Dzmitry Tsetserukou +1
- [SG^2SLAM: Spatial Geometry-Informed 3D Gaussian Splatting SLAM for Monocular Outdoor Navigation](https://robotics.world/paper/sg-2slam-spatial-geometry-informed-3d-gaussian-splatting-slam-for-2610.36312) 2026-10-26 · cs.RO · Also by Didar Seyidov, Dzmitry Tsetserukou
- [AutodidactWAM: Cross-Modal Self-Distillation from Generated Video to Robot Actions](https://robotics.world/paper/autodidactwam-cross-modal-self-distillation-from-generated-video-to-2610.08119) 2026-10-06 · cs.RO · Also by Dzmitry Tsetserukou

---

Canonical: https://robotics.world/paper/reforesight-occlusion-robust-re-identification-and-future-occupancy-2610.17279
