TL;DR
Contemporary Reinforcement Learning from Human Feedback (RLHF) relies heavily on an intermediate step: training a reward model to mimic human preferences. This paper introduces BSAD (Batched Sequential Action Dueling), a model-free algorithm that completely bypasses reward inference, learning the optimal policy directly from batched human comparisons. The authors prove that end-to-end RLHF achieves an instance-dependent sample complexity comparable to classic RL, showing that learning directly from human preferences isn't fundamentally harder than learning from explicit rewards.
What Problem Does This Paper Address?
Aligning Large Language Models (LLMs) with human values typically relies on RLHF. The standard pipeline involves three steps: supervised pre-training, training a reward model from human pairwise preferences via Maximum Likelihood Estimation (MLE), and optimizing the policy against this reward model using standard RL.
However, this intermediate reward-modeling step suffers from severe pitfalls. Reward models easily overfit preference datasets, leading to in-distribution errors and a failure to accurately evaluate out-of-distribution state-action pairs during the subsequent RL fine-tuning phase. This paper tackles a fundamental question: Can we eliminate the reward inference step entirely and design a model-free RLHF algorithm that directly learns the optimal policy with provable sample efficiency?
Methods
The authors propose BSAD (Batched Sequential Action Dueling), a model-free algorithm designed for episodic Markov Decision Processes (MDPs). Instead of learning a reward function, BSAD identifies the optimal policy directly through the following mechanisms:
- Backward Action Dueling: The algorithm works backward from the final planning step $H$ down to step 1. At the current step, it uses a dueling bandit sub-routine called B-RUCB (Batched Relative Upper Confidence Bound) to constantly compare pairs of actions based on human feedback.
- Reward-Free Exploration: To minimize sample complexity, BSAD incorporates a strategic exploration policy (adapted from UCBZero) that equalizes the visitation probability across all states within the same planning step.
- Adaptive Stopping Criteria: The algorithm monitors confidence bounds for action preferences. As soon as the optimal action for a given state is identifiable with high confidence, it dynamically stops exploring that step and moves backward to the previous one.
- Trajectory Batching ($M$): A key theoretical insight is that a single trajectory comparison might not align with the true expected reward. By querying humans with batches of trajectories ($M$), the algorithm guarantees that the mathematically optimal policy aligns with the "Condorcet winner" (the option preferred by humans more than half the time).
The problem of single-trajectory misalignment is illustrated in the MDP counterexample below:
Datasets
The paper does not evaluate its method on standard empirical human preference datasets (like Anthropic HH-RLHF). Instead, the authors validate BSAD using a synthetic, custom-designed three-state, two-step MDP environment specifically constructed to simulate the Condorcet winner problem shown in Figure 1.
Key Insights and Ideas
- Bypassing the Reward Model Works: End-to-end learning directly from preferences avoids the compounding errors of reward model overfitting and distribution shift.
- The Necessity of Batching: For small batch sizes, the optimal action might not be the one humans prefer most frequently due to environmental stochasticity. Increasing the batch size $M$ mathematically guarantees the existence of a Condorcet winner (Lemma 1).
- RLHF $\approx$ Classic RL: The theoretical analysis reveals that learning from human feedback is not inherently more complex than classic RL with handcrafted rewards, sharing similar dependencies on the number of states ($S$) and value function gaps.
Key Results
- Sample Complexity: BSAD achieves a provable, instance-dependent sample complexity of: $$\tilde{\mathcal{O}}\left(\frac{H^3 M S A^3 \log(1/\delta)}{(\bar{\Delta}_{\min}^M p_{\max}^\pi)^2}\right)$$ As shown in the comparison table below, BSAD is the first model-free, instance-dependent algorithm to guarantee exact optimal policy identification in the RLHF setting:
- Logarithmic Regret: When adapted into an explore-then-commit framework, BSAD achieves $\mathcal{O}(\log T)$ regret, marking a first for model-free RLHF.
- Empirical Speed and Accuracy: In numerical simulations, BSAD matched the performance of classic Q-learning (which has access to true rewards). Furthermore, it demonstrated significantly faster running times than reward-inference baselines (like P2R and REGIME) because it completely skips the computationally expensive MLE reward model training phase.
Limitations and Future Work
- Tabular Constraints: The current theoretical bounds and algorithm depend directly on the number of states ($S$) and actions ($A$). This tabular assumption does not scale directly to massive state spaces like modern LLMs.
- Batch Size Selection: The algorithm requires a carefully chosen batch size $M$ to ensure the optimal policy behaves as a Condorcet winner, which might be difficult to tune in highly stochastic environments.
- Future Directions: The authors suggest extending this model-free, reward-free framework to settings with function approximation (e.g., linear or neural network models) to make it applicable to deep reinforcement learning and practical LLM alignment.
Summary updated