Preference-based reinforcement learning: a formal framework and a policy iteration algorithm

Johannes Fürnkranz, Eyke Hüllermeier, Weiwei Cheng, Sang-Hyeun ParkMachine Learning 2012

Introduction: The Reward Engineering Headache

In traditional Reinforcement Learning (RL), agents learn by maximizing a numerical reward signal. However, "reward engineering"—the process of assigning specific point values to outcomes—is often arbitrary and difficult. For instance, in a medical simulation, how many points is a human life worth? In chess, is a strong move worth 0.5 or 0.7 points?

Qualitative move evaluation in chess illustrates the natural preference for ranking over arbitrary numerical scoring.

Numerical rewards assume a total order, but real-world outcomes are often multi-objective or incomparable. This paper introduces a formal framework for Preference-based Reinforcement Learning (PbRL), which allows agents to learn from qualitative "this is better than that" feedback rather than arbitrary numbers.

Methodology: Preference-Based Policy Iteration (PBPI)

The authors propose the Preference-Based Policy Iteration (PBPI) algorithm. Unlike standard methods that seek a single "best" action, PBPI uses a label ranker to sort actions based on their likelihood of leading to superior trajectories.

Key components include:

  1. Formal Preference Framework: Defining preferences over trajectories using a generalization of stochastic dominance. This allows the framework to handle partial preferences where some outcomes are incomparable.
  2. Learning by Pairwise Comparison (LPC): The agent performs "roll-outs" (simulations) to compare action $A$ against action $B$. These binary preferences train a model to rank all available actions in any given state.

This approach is more data-efficient because it utilizes "silver medalist" information—knowing action $A$ is better than $C$ is useful even if the absolute best action is still uncertain. Ranking actions provides a "sweet spot" between learning a full numerical utility function and just identifying the single best action.

Experimental Evaluation

The framework was tested across three distinct domains:

  • Inverted Pendulum & Mountain Car: In these classic benchmarks, PBPI scaled effectively as the action space increased (up to 17 actions), significantly outperforming standard Approximate Policy Iteration (API) in terms of success rates and training efficiency.
  • Cancer Clinical Trials Simulation: In a complex environment simulating tumor growth and toxicity, PBPI successfully learned Pareto-optimal policies. By ranking outcomes rather than guessing numerical penalties for patient death, the agent achieved statistically significant lower mortality rates compared to fixed-dosage or random policies.

Conclusion and Future Directions

PBPI demonstrates that qualitative preferences can replace numerical rewards in complex or multi-objective environments. While the current model requires a simulator for roll-outs, future work aims to develop on-policy, online versions of the algorithm and establish a preference-based equivalent to the Bellman equation to pass information backward from future states more efficiently.

Summary updated

BibTeX
@article{furnkranz2012preference,
  author = {Johannes Fürnkranz and Eyke Hüllermeier and Weiwei Cheng and Sang-Hyeun Park},
  title = {{Preference-based reinforcement learning: a formal framework and a policy iteration algorithm}},
  journal = {Machine Learning},
  year = {2012},
  doi = {10.1007/s10994-012-5313-8},
}
Figure