A robot that learns from sparse rewards (it hears "success" only when it finishes the task) gets most of its learning signal from hindsight relabeling. When an attempt fails, the method pretends that wherever the robot actually ended up was the goal all along, which turns failures into useful examples. That trick quietly assumes the robot knows where it ended up. In labs this knowledge comes from ceiling-mounted motion-capture cameras or simulator ground truth. A robot in the field has only onboard odometry, meaning its own running estimate of motion from a camera and an inertial sensor, and that estimate drifts. Once relabeling is done with drifting estimates, the relabeled goals are wrong. They are also wrong in a structured way. Fast, blurry, feature-poor motion produces the largest drift, so the policy can learn behaviors that make the estimator report success without actually achieving it.
We propose drift-aware hindsight relabeling. Achieved goals are expressed as the robot's estimated displacement between two moments of its own trajectory, never as a global position. Each relabeled reward is replaced by the probability that the true displacement matched the goal, computed from a calibrated estimate of how much the odometry drifted over that segment. The claim is that this removes the main obstacle to training sparse-reward goal-reaching policies without external localization, and that naive relabeling with odometry overstates success by learning to exploit estimator error. The second half of that claim can be measured directly.
Where the gap is
Hindsight relabeling methods all compute achieved goals from privileged state. The original Hindsight Experience Replay relabels with the true final state. USHER fixes the bias HER suffers in stochastic environments, where it credits accidental successes. USHER uses importance weights from learned successor representations and reports 75% versus HER's 55% on a wind-perturbed throwing robot, and 60% versus 40% on a physical Mecanum base. However, USHER treats the environment as the noise source and still reads the robot's coordinates as ground truth. HIPSS relabels with generated language instructions, but it relies on known object states in simulation. These three papers supply the method we build on. Our proposal adds a second noise source that none of them model: the robot's own measurement of what it achieved, whose error depends on the policy's actions.
The localization-free systems avoid the problem differently. Mapless PointGoal navigation (Zhao et al.; Partsey et al.) replaces GPS with learned visual odometry at test time. During training, though, it rewards reductions in geodesic distance computed from the simulator's ground-truth mesh. Swift flies on onboard sensing but trains on a hand-built progress reward along a surveyed track. TopoNav handles sparse rewards with topological landmarks and intrinsic exploration bonuses, which does not give the metric goals that a quadrotor or precise base needs. CCE shortens or lengthens rollouts according to policy entropy and assumes known local goal coordinates. These works motivate the proposal: each shows localization independence at deployment, and each moves dense or privileged supervision into training. None asks what sparse-reward learning looks like when the reward itself must be judged by a drifting estimator, which is exactly the situation for fine-tuning on a real robot without motion capture.
Core Claim
Let $\hat\Delta_{t,k}$ be the onboard estimate of the robot's displacement from time $t$ to time $k$. Let $\Sigma_{t,k}$ be a calibrated covariance of that estimate's error. A relabeled goal is $g = \hat\Delta_{t,k}$ for a sampled future time $k$, and the reward for reaching a commanded relative goal $g$ within tolerance $\epsilon$ is
$$ r(t,k,g) = \Pr\big(\lVert \hat\Delta_{t,k} + e - g \rVert \le \epsilon\big), \quad e \sim \mathcal{N}(0, \Sigma_{t,k}). $$
Two consequences follow. Relative, segment-local goals bound the drift any single label can carry, because odometry error grows with segment length and does not depend on where the session started. The probabilistic reward pays less for "successes" that occurred during high-drift segments, which removes the incentive to exploit the estimator.
The success of the method rests on $\Sigma_{t,k}$ being honest. Visual-inertial pipelines are typically overconfident. We therefore calibrate the covariance with a small learned residual model, in the spirit of Swift's Gaussian-process perception residuals. In simulation it is fit against ground truth. On a real robot it is fit from roughly a minute of motion-capture flight, after which motion capture is removed.
Research Program
The work has three parts. First, we build a drift simulator inside parallel robot simulators. Ground-truth motion is passed through a visual-inertial odometry error model whose drift rate increases with angular velocity, low texture, and lighting changes, matching the known failure modes of these estimators. We validate this model against the drift profile reported for onboard SLAM in aerial grasping: mean relative pose error 0.028, peaking at 0.042 in fast descents (Bauer et al.).
Second, we characterize estimator hacking. We train HER with odometry-based achieved goals and measure the gap between estimator-reported success and true success, and whether this gap grows over training as the policy discovers high-drift maneuvers.
Third, we train drift-aware relabeling with the same learner and replay settings. We also combine it with USHER's importance weights, since environmental stochasticity and estimator error are separate and their corrections should compose.
Baselines
The naive reference point is the same off-policy goal-conditioned learner trained on the sparse terminal reward with no relabeling. It shows how sparse the task is.
The second baseline is HER with achieved goals read from the onboard estimate in its global odometry frame. This is what a practitioner without motion capture would deploy today.
The strongest existing method is USHER run on the same estimator-derived goals, since it is the best published correction for biased hindsight credit. Its reported 60% versus 40% gain over HER on a physical Mecanum base sets the size of improvement that bias correction alone has achieved.
Above all of these sits an oracle: HER with ground-truth achieved goals. We report it as a ceiling, not as a competitor.
Two ablations isolate the key ingredients. The first keeps relative segment-local goals but uses a hard 0/1 reward on the estimate. The second keeps the probabilistic reward but uses the global odometry frame.
All methods share the network, replay size, environment steps, and a matched hyperparameter search budget, with five or more seeds each. We count the proposal as beating the baselines if it closes at least half the true-success gap between odometry-based HER and the ground-truth oracle, while showing a smaller reported-versus-true success gap than odometry-based USHER.
For sparse-reward PointGoal navigation with odometry relabeling, we found no reported result on Lacuna. The dense-reward reference is 94% success and 74% SPL (Habitat Challenge, Partsey et al.), with a 99.8% ground-truth-odometry oracle. We cite it to show how much dense ground-truth supervision buys, not as a like-for-like target.
Why not just…?
Why not just train with ground-truth relabels in simulation and deploy on onboard odometry, as Swift and mapless PointNav do? This is the real threat. For tasks fully learnable in simulation it may be enough. It gives no way to keep learning on a real robot without motion capture, and it trains the policy on goals that never carry drift, so goals given in a drifting frame at deployment are out of distribution. We test this directly with a sim-to-noisy-deployment condition: a ground-truth-trained policy is evaluated with drifting goal frames and also fine-tuned on the target domain with each relabeling scheme. If the privileged policy's true success under drift matches ours, we would narrow the claim to real-world fine-tuning only.
Why not just shorten the hindsight horizon so relabeled segments are too short to drift? Truncating relabels to the near future does reduce drift. It also removes the long-range goals that give HER its value on long tasks. A sweep over relabel horizon for plain odometry-based HER will show whether any fixed horizon matches the uncertainty-weighted reward. If one does, the honest conclusion is that relative goals, not the probabilistic reward, carry the gain, and the second ablation is designed to reveal that.
Why not just use a learned visual progress critic such as VLAC instead of coordinates? VLAC compares pairs of camera frames for progress and raised real manipulation success from 30% to 90% within 200 episodes. It assumes progress increases monotonically, and its 2–8 billion parameter backbone is too slow for fast flight control loops. Goal-reaching with backtracking, which navigation requires, violates the monotonicity assumption. We include a smaller pairwise-progress critic as an additional baseline on the navigation task.
Proposed Experiments
The ground-navigation testbed is the Habitat realistic PointGoal setting with GPS and compass disabled. We replace the geodesic dense reward with sparse terminal success and goals expressed relative to the robot. Learned visual odometry (Zhao et al.) provides the estimate, and the simulator supplies true success for evaluation only.
The aerial testbed is a goal-reaching and perching suite in OmniDrones using its velocity-control mode, with the drift model applied. Its reported throughput of up to 732,000 frames per second makes many-seed sweeps affordable.
Metrics are true success rate, SPL or time-to-goal, environment steps to reach 50% success, and the estimator-hacking gap: reported minus true success, tracked over training together with the policy's mean angular velocity. A real-world check on a ground base, mirroring USHER's Mecanum setup, uses motion capture only for scoring.
Two results decide the proposal. The hacking gap for odometry-based HER must be positive and grow over training, or the problem we target does not exist. Drift-aware relabeling must shrink that gap while improving true success at matched sample budget. Corrupting $\Sigma$ to be deliberately overconfident should bring the gap back, which would confirm that the calibrated uncertainty, rather than some incidental change, is doing the work.
References
- Hindsight Experience Replay
- USHER: Unbiased Sampling for Hindsight Experience Replay
- Grounding Hindsight Instructions in Multi-Goal Reinforcement Learning for Robotics
- The Surprising Effectiveness of Visual Odometry Techniques for Embodied PointGoal Navigation
- Is Mapping Necessary for Realistic PointGoal Navigation?
- Champion-level drone racing using deep reinforcement learning
- TopoNav: Topological Navigation for Efficient Exploration in Sparse Reward Environments
- Confidence-Controlled Exploration: Efficient Sparse-Reward Policy Learning for Robot Navigation
- An Open-Source Soft Robotic Platform for Autonomous Aerial Manipulation in the Wild
- A Generalist Pair-wise Progress Critic Model for Vision-Language-Action Robots
- OmniDrones: An Efficient and Flexible Platform for Reinforcement Learning in Drone Control