The Challenge of Offline PbRL
Reinforcement Learning (RL) traditionally relies on numerical reward signals to guide an agent. However, in complex real-world domains—such as training Large Language Models (LLMs) or robotics—designing a flawless reward function is notoriously difficult. Preference-based RL (PbRL) offers a compelling alternative by asking humans to simply choose which of two behaviors they prefer, sidestepping the need for explicit reward engineering.
The "offline" variant of this problem is particularly challenging. The agent must learn entirely from a pre-collected dataset of trajectory pairs and human preferences, without any further interaction with the environment. Existing methods for offline PbRL have largely lacked theoretical guarantees or were restricted to simple linear models. This paper bridges that gap, introducing the first algorithm for offline PbRL that provides provable guarantees for general function classes (like deep neural networks) under partial data coverage.
The FREEHAND Algorithm
The authors propose FREEHAND (oFfline ReinforcemEnt lEarning with HumAN feeDback), a two-stage algorithm designed to tackle the complexities of offline preference learning:
- Reward Estimation via MLE: FREEHAND first uses Maximum Likelihood Estimation (MLE) to find a reward function that best explains the observed human preferences. To accommodate complex models like neural networks, the authors utilize "bracketing numbers" to rigorously measure the complexity of the function class.
- Pessimistic Policy Optimization: Rather than blindly trusting the MLE reward, the algorithm constructs a confidence set of plausible reward functions. It then solves a "distributionally robust" planning problem. By optimizing for a policy that performs well even under the least favorable reward function in that set, the algorithm applies a crucial "pessimism." This prevents the agent from over-optimistically selecting actions that are poorly represented in the offline training data.
Theoretical Insights: The Concentrability Gap
A major contribution of this work is proving that learning from trajectory-level human preferences is fundamentally harder than learning from standard step-wise numerical rewards.
- Trajectory-wise vs. Step-wise Hardness: In standard RL, rewards are observed at every step. In PbRL, a human often provides a single preference for an entire sequence. The authors prove this makes the problem exponentially harder.
- Per-Trajectory Coverage: They establish a theoretical separation between standard offline RL and offline PbRL. "Per-step" data coverage—a common assumption in standard RL theory—is insufficient here. Instead, offline PbRL strictly requires "per-trajectory" coverage, meaning the offline data must cover entire trajectories of the target policy.
- Action-Based Comparisons: If preferences are instead provided at the action level (akin to certain RLHF setups), the requirements relax. The sample complexity then depends on the advantage function, which is generally smaller and easier to learn.
Key Results and Sample Complexity
As a theoretical work, the paper focuses on establishing Probably Approximately Correct (PAC) bounds rather than empirical benchmarks (though it cites practical motivations like RL4LM).
- General Guarantees: The paper provides the first polynomial sample complexity guarantee for offline PbRL using general function approximation.
- Sample Complexity Bound: For the trajectory-based setting, the number of samples $N$ required to reach an $\epsilon$-optimal policy scales as $\mathcal{O}(C_r^2 \kappa^2 \log(\mathcal{N}) / \epsilon^2)$, where $C_r$ is a novel single-policy concentrability coefficient, $\kappa$ represents the non-linearity of the human preference model, and $\mathcal{N}$ relates to the function class complexity.
- Lower Bounds: The authors prove that without per-trajectory coverage, no algorithm can reliably learn the optimal policy in the trajectory-preference setting, confirming the inherent difficulty of the task.
- Soft Margin Acceleration: Under a "soft margin" assumption (where the optimal action is significantly better than alternatives most of the time), the learning rate can be accelerated to $\mathcal{O}(1/\epsilon)$ instead of $\mathcal{O}(1/\epsilon^2)$.
Limitations and Future Directions
While FREEHAND establishes a strong theoretical foundation, the authors note several practical challenges:
- Computational Complexity: The distributionally robust planning step is computationally demanding. While a Lagrangian relaxation is suggested to make it more tractable, scaling it to massive neural networks remains an open challenge.
- Reference Distribution: The algorithm relies on a "reference trajectory distribution" ($\mu_{ref}$). While the offline data distribution is a natural choice, this selection heavily impacts performance.
- Human Noise Models: The current framework assumes a specific link function (e.g., Sigmoid) for human preferences. Future research could explore more robust models capable of handling inconsistent, noisy, or biased human feedback.
Summary updated