Skip to main content
QUICK REVIEW

[Paper Review] Escaping Offline Pessimism: Vector-Field Reward Shaping for Safe Frontier Exploration

Amirhossein Roknilamouki, Arnob Ghosh|arXiv (Cornell University)|Mar 18, 2026
Reinforcement Learning in RoboticsComputer Science0 citations
TL;DR

The paper introduces a vector-field reward shaping method to induce safe, continuous boundary exploration during offline-to-online RL, using gradient alignment and rotational flow on an uncertainty manifold.

ABSTRACT

While offline reinforcement learning provides reliable policies for real-world deployment, its inherent pessimism severely restricts an agent's ability to explore and collect novel data online. Drawing inspiration from safe reinforcement learning, exploring near the boundary of regions well covered by the offline dataset and reliably modeled by the simulator allows an agent to take manageable risks--venturing into informative but moderate-uncertainty states while remaining close enough to familiar regions for safe recovery. However, naively rewarding this boundary-seeking behavior can lead to a degenerate parking behavior, where the agent simply stops once it reaches the frontier. To solve this, we propose a novel vector-field reward shaping paradigm designed to induce continuous, safe boundary exploration for non-adaptive deployed policies. Operating on an uncertainty oracle trained from offline data, our reward combines two complementary components: a gradient-alignment term that attracts the agent toward a target uncertainty level, and a rotational-flow term that promotes motion along the local tangent plane of the uncertainty manifold. Through theoretical analysis, we show that this reward structure naturally induces sustained exploratory behavior along the boundary while preventing degenerate solutions. Empirically, by integrating our proposed reward shaping with Soft Actor-Critic on a 2D continuous navigation task, we validate that agents successfully traverse uncertainty boundaries while balancing safe, informative data collection with primary task completion.

Motivation & Objective

  • Motivate safe exploration in offline RL by expanding beyond known data while avoiding unrecoverable regions.
  • Pre-train a fixed policy that collects informative data near the uncertainty boundary during online deployment.
  • Develop a reward shaping mechanism that drives boundary exploration without degenerate parking behaviors.
  • Provide theoretical guarantees that the shaping encourages sustained, safe frontier exploration.

Proposed method

  • Define an uncertainty-based target manifold U = {s : U(s) = U_mid} using an uncertainty oracle U trained from offline data.
  • Propose a vector-field shaping reward r'(s,a,s') with two terms: Gradient Alignment α(s)⟨∇U(s), Δs⟩ and Rotational Flow β(s)⟨W∇U(s), Δs⟩.
  • Use a potential-based decomposition to show the gradient term acts as a near-potential shaper and the rotational term sustains tangential exploration.
  • Ensure rotational flow uses a skew-symmetric matrix W to guarantee tangential movement along the manifold.
  • Integrate the shaping reward with Soft Actor-Critic (SAC) and a Normalizing Flow actor on a 2D navigation task.
  • Provide theoretical results (Theorem 1 and Corollary 1) about manifold-seeking and no-sticking behavior.

Experimental results

Research questions

  • RQ1How can offline-trained policies explore near the sim-to-real boundary while remaining recoverable in deployment?
  • RQ2Can a vector-field reward shaping induce continuous, boundary-bound exploration without degenerate parking?
  • RQ3What are the theoretical guarantees that such shaping guides exploration to the uncertainty boundary and along it?
  • RQ4How does fixed online deployment of an offline-trained policy balance task completion with safe data collection?
  • RQ5Does the approach scale to realistic non-linear policies and simulators?

Key findings

  • The vector-field reward shapes exploration to seek the uncertainty boundary and then travel along its tangent, yielding boundary coverage.
  • Gradient alignment guides movement toward U_mid, while rotational flow ensures sustained on-boundary exploration.
  • The approach prevents degenerate parking by enforcing tangential motion on the manifold.
  • Theoretical results show a potential-based decomposition and near-manifold concentration under standard assumptions.
  • Empirical results on a 2D navigation task show safe boundary exploration with low unsafe transitions when combined with SAC.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.