# Reward-Estimated Hypergradient for Bilevel Reinforcement Learning with Black-Box Follower

DevFeed: [Reward-Estimated Hypergradient for Bilevel Reinforcement Learning with Black-Box Follower](<https://devfeed.tech/articles/reward-estimated-hypergradient-for-bilevel-reinforcement-learning-with-black-box-follower-125494.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11998>)

Author: Shigeki Kusaka, Mikoto Kudo, Takumi Tanabe, Akifumi Wachi, Youhei Akimoto

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [bias](<https://devfeed.tech/tags/bias.md>), [black-box](<https://devfeed.tech/tags/black-box.md>), [covariance](<https://devfeed.tech/tags/covariance.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [eigenvalues](<https://devfeed.tech/tags/eigenvalues.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [feature](<https://devfeed.tech/tags/feature.md>), [follower](<https://devfeed.tech/tags/follower.md>), [leader](<https://devfeed.tech/tags/leader.md>), [linear](<https://devfeed.tech/tags/linear.md>), [local](<https://devfeed.tech/tags/local.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [performance](<https://devfeed.tech/tags/performance.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [reward](<https://devfeed.tech/tags/reward.md>)

## AI overview

Reward-Estimated Hypergradients (RE-HG) estimates a follower's unknown reward from observed trajectories using inverse reinforcement learning, enabling hypergradient methods in black-box bilevel RL. Because inverse RL leaves potential-based shaping ambiguity that can bias gradients, the method aggregates reward estimates across diverse dynamics; for linear rewards, the authors prove this cancels the bias. It also truncates small eigenvalues of the aggregated feature covariance to recover the identifiable subspace and stabilize estimates with finite samples. Experiments report gradients aligned with a white-box Oracle and comparable performance; truncation also suppresses gradient explosions and helps avoid local optima that trap the Oracle in sharp reward landscapes.

## Source excerpt

arXiv:2611.11998v1 Announce Type: new 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.