Provably Feedback-Efficient Reinforcement Learning via Active Reward Learning

Dingwen Kong, Lin Yang

The Challenge of Reward Design

Designing accurate reward functions is one of the most notorious challenges in Reinforcement Learning (RL). In practice, engineers often spend more time "shaping" rewards to prevent unintended behaviors—commonly known as reward hacking—than they do tuning the agents themselves. Human-in-the-loop (HiL) RL offers a compelling alternative by allowing humans to communicate complex goals directly through feedback.

However, traditional HiL RL faces three significant hurdles:

  1. High Feedback Complexity: Current methods require thousands of human interactions, making the process exhausting and expensive.
  2. Noisy/Non-Numerical Feedback: Humans struggle to provide precise numerical rewards (e.g., "that action was worth 0.72") but are highly capable of binary judgments ("good" or "bad").
  3. Lack of Theoretical Grounding: While empirical HiL RL works well in practice, there has been a lack of rigorous mathematical proof explaining why it is efficient or establishing the theoretical bounds on how many queries are actually necessary.

A Two-Phase Framework for Active Reward Learning

To address these challenges, the authors propose a provably feedback-efficient algorithmic framework that decouples environmental exploration from reward learning. The framework operates in two distinct phases:

Phase I: Unsupervised Exploration The agent explores the environment entirely without a reward signal. By employing "reward-free exploration" techniques—such as optimistic value iteration with exploration bonuses—the agent collects a diverse dataset that comprehensively covers the reachable state space.

Phase II: Active Reward Learning Rather than querying the human teacher about every state-action pair in the collected dataset, the agent utilizes a pool-based active learning strategy. It calculates an "information gain" bonus for each pair, selectively querying the human only for the most informative transitions. This embodies the "ask only what you don't know" principle, avoiding redundant queries.

The feedback model assumes that the human provides binary feedback ($0$ or $1$) subject to Massart noise (or Bounded Noise). This means the human is more likely to provide the correct binary label than the incorrect one by at least a margin $\Delta$. To quantify the complexity of the reward function class, the authors utilize the Eluder dimension ($\text{dim}_R$), a general measure applicable to both linear and non-linear reward models, including neural networks.

Key Insights and Theoretical Guarantees

The most striking insight from this research is the decoupling of environment and reward complexity. The number of human queries required is entirely independent of the environmental transition complexity ($d$) and the target policy accuracy ($\epsilon$). Instead, it depends solely on the complexity of the reward function itself.

Mathematically, the algorithm requires only $\tilde{O}(H \text{dim}_R^2 / \Delta^2)$ queries to find a nearly optimal policy, where $H$ is the horizon of the RL environment. In stark contrast, standard RL algorithms effectively query the reward at every step, leading to a complexity that scales with $1/\epsilon^2$ and the size of the environment.

Furthermore, the framework offers multi-task efficiency. Because Phase I is reward-independent, the initially collected dataset can be reused across multiple different tasks; engineers only need to re-run the Phase II human queries for each new goal. The framework is also proven to be robust, functioning effectively in both online settings (where the agent actively explores) and offline settings (where a dataset is pre-provided).

Numerical Simulations

While primarily theoretical, the paper validates its framework using numerical simulations on Tabular MDPs with linear rewards. In these tests, the active learning approach reached a $0.02$-optimal policy with approximately 70 queries. Meanwhile, passive (uniform) learning required around 200 queries, demonstrating a nearly 3x improvement in feedback efficiency.

Limitations and Future Directions

Despite its strong theoretical guarantees, the framework has limitations:

  • The Margin Assumption: The proof relies heavily on the Bounded Noise assumption ($\Delta > 0$). If a human teacher is completely unsure or perfectly random at the decision boundary, the query complexity could spike.
  • Computational Cost: Calculating the information-gain bonus involves solving optimization problems over function classes, which can be computationally expensive for large neural networks.
  • Real-World Human Factors: The model assumes a stationary human teacher, whereas real-world human feedback often shifts as the teacher observes the agent improving.

Future work suggested by the authors includes exploring "disagreement-based" active learning and testing these theoretical insights in large-scale deep RL environments to bridge the gap between finite-sample query complexity bounds and practical, high-dimensional applications.

Summary updated

BibTeX
@inproceedings{kong2022provably,
  author = {Dingwen Kong and Lin Yang},
  title = {{Provably Feedback-Efficient Reinforcement Learning via Active Reward Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=B2rqx0w63U},
}
Figure