Reward-Estimated Hypergradient for Bilevel Reinforcement Learning with Black-Box Follower
Shigeki Kusaka, Mikoto Kudo, Takumi Tanabe, Akifumi Wachi, Youhei Akimoto
NeurIPS page · OpenReview · Open on the map
Category: Reinforcement Learning & Games › Offline Goal-Conditioned Reinforcement Learning · Type: new method · Keywords: bilevel reinforcement learning, black-box follower, inverse reinforcement learning, hypergradient estimation, regularization
Areas: RL for LLMs & Agents › Language Model Reinforcement Learning › Policy Optimization and Offline Learning
Summary
Reward-Estimated Hypergradients (RE-HG) enables bilevel RL with a black-box follower by estimating the follower’s reward via inverse RL and using a bias-cancellation mechanism with eigenvalue truncation.
Explained to a 5-year-old
In a game with two players, one player tries to be smart while the other player follows rules we cannot see. We want the first player to learn how to win even though we don’t know the hidden rules. We guess the hidden rules by watching how the second player acts. Then we smooth out our guesses so they don’t change too wildly. This helps the first player stay stable and win better.
Explained to a 5-year-old, longer
Imagine two characters playing a game together. One character is the boss and makes big decisions. The other character is the helper and follows some rules, but we cannot see what those rules are. Usually, when we want to help the boss do better, we need to know the helper’s rules. But in real life, sometimes the helper’s rules are secret. The researchers figured out a way to guess those secret rules by watching how the helper moves. They noticed that simply guessing can lead to mistakes because the guesses might be too biased. So they added a trick that cancels out those mistakes by looking at many different situations. They also made sure the guesses stay calm by limiting how big they can become. This makes the boss’s learning process stable and less likely to jump around. As a result, the boss can learn to win even when the helper’s rules are hidden. The method works well in many games and helps us build smarter systems in the real world.
For a technical reader
The paper addresses bilevel reinforcement learning where the lower-level policy (the follower) is a black-box, i.e., its reward function is unknown. Instead of requiring the follower’s reward, the authors estimate it using inverse reinforcement learning from observed trajectories. They introduce a bias-cancellation mechanism that aggregates information across diverse dynamics to correct estimation errors and prevent reward-shaping bias. Additionally, eigenvalue truncation is applied to regularize hypergradient updates, avoiding norm explosions and improving stability. Empirical results show that the estimated gradients align with those from a white-box oracle and the approach remains robust in sharp reward landscapes.
Problem
Optimizing a leader's policy in bilevel reinforcement learning typically assumes the follower is white-box, i.e., its reward function is known. In many real-world settings the follower is black-box, providing only observed trajectories, making it difficult to compute hypergradients for the leader.
Method
The approach estimates the unobserved follower reward using inverse reinforcement learning, then corrects bias by aggregating information across diverse dynamics. It also applies eigenvalue truncation to regularize hypergradient updates and prevent norm explosions.
Results
The approach produces gradients that match those of a white-box oracle and remains robust in sharp reward landscapes where the oracle can get stuck in suboptimal minima.
Contributions
It introduces a bias-cancellation mechanism for reward estimation in black-box bilevel RL and shows that eigenvalue truncation provides implicit regularization to stabilize hypergradients. The work also demonstrates empirical robustness across diverse dynamics.
Practical relevance
It enables deploying bilevel reinforcement learning in settings where the lower-level policy is black-box, such as multi-agent or hierarchical control systems.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction