Reward-Estimated Hypergradient for Bilevel Reinforcement Learning with Black-Box Follower
Shigeki Kusaka, Mikoto Kudo, Takumi Tanabe, Akifumi Wachi, Youhei Akimoto
Abstract
Hypergradient (HG) methods for bilevel reinforcement learning (RL) typically assume a white-box follower whose reward is known. In practice, however, the leader rarely knows the follower's reward function and can only observe its trajectories. We address this black-box setting and propose Reward-Estimated Hypergradients (RE-HG), which recovers the follower's reward from these trajectories via inverse RL (IRL). Yet IRL identifies the reward only up to potential-based shaping, a transformation that leaves the follower's behavior unchanged but biases the HG. We prove that, for linear rewards, this bias cancels when IRL estimates are aggregated across sufficiently diverse dynamics, which the leader's own updates naturally supply. To handle finite samples, RE-HG truncates small eigenvalues of the aggregated feature covariance, restoring the identifiable subspace and stabilizing the estimation. Experiments show that RE-HG estimates gradients aligned with a white-box Oracle and achieves comparable performance; empirically, the truncation also suppresses HG explosions, letting RE-HG avoid local optima that trap the Oracle in sharp reward landscapes.
Create a lesson
Related papers
Margin-Guided Token Credit for Reinforcement Learning with Verifiable Rewards
Shared title terminology · Chi Liu, Xin Chen, Yuchuan Weng et al.
Temporal Behavior Trees for Reinforcement Learning: Specifications as Rewards, Curricula, and Diagnostics
Shared title terminology · Vladimir Krsmanovic, Bernd Finkbeiner
TRUER: Test-Time Reward Correction Using an Error-Aware Rectifier for Reinforcement Learning
Shared title terminology · Mingxiang Shen, Jinhao Li, Jiaming Xu et al.
Safe Reinforcement Learning for Multi-Turn Clinical Agents: When Dense Rewards Beat Outcome Rewards
Shared title terminology · Brendan P. Murphy, Agustina Saenz
Reward Tilting via Semantic Noising
Shared title terminology · Rafał Karczewski, Peter Blohm, Markus Heinonen et al.
Look Back: Reinforcement Learning with Counterfactual World Models
Shared title terminology · Jinwoo Kim, Toghrul Abbasov, Lucius E. J. Bynum et al.