Hybrid Preference Optimization for Alignment: Provably Faster Convergence Rates by Combining Offline Preferences with Online Exploration

Avinandan Bose, Zhihan Xiong, Aadirupa Saha, Simon Shaolei Du, Maryam Fazel

TL;DR

Reinforcement Learning from Human Feedback (RLHF) typically relies either entirely on static offline preference datasets (which demand strict data coverage) or purely online interactive queries (which are prohibitively expensive). This paper introduces Hybrid Preference Optimization (HPO), a practical and theoretically grounded framework that combines offline preference data with active online exploration. By doing so, HPO relaxes the strict coverage requirements of offline RLHF and provably beats the sample-complexity lower bounds of both pure online and pure offline learning.

What Problem Does This Paper Address?

Direct Preference Optimization (DPO) and related RLHF methods are widely used to align LLMs. However, practitioners face a dilemma:

  1. Offline RLHF: Training on pre-collected preference pairs is cheap and scalable, but theoretical guarantees require strong concentrability (i.e., the offline dataset must sufficiently cover trajectories generated by the optimal policy). If the dataset lacks optimal behaviors, offline models yield suboptimal policies.
  2. Online RLHF: Actively generating responses and gathering interactive human/model feedback bypasses coverage limitations, but querying feedback in real time is computationally intensive, slow, and expensive.

The paper asks: Can we leverage readily available offline preference data to drastically reduce the number of expensive online queries needed, without assuming the offline dataset is already near-optimal?

Methods

The authors propose Hybrid Preference Optimization (HPO) (Algorithm 1), an optimistic variant of DPO designed to operate in episodic MDPs and token-level contextual MDPs:

  • Online & Offline Data Mixing: At each step $t$, the algorithm generates a pair of trajectories (one from the current policy $\pi^{(t)}$ and another from a sampling policy $\tilde{\pi}_t$), receives interactive preference feedback, and appends it to an online buffer $\mathcal{D}_{\text{on}}^{(t)}$. Simultaneously, it samples a minibatch of $\gamma$ pairs from the static offline dataset $\mathcal{D}_{\text{off}}$ to form a combined hybrid dataset $\mathcal{D}_{\text{hyb}}^{(t)} = \mathcal{D}_{\text{on}}^{(t)} \cup \mathcal{D}_{\text{off}}^{(t)}$.
  • Optimistic DPO Objective: The policy update optimizes the standard negative log-likelihood DPO objective evaluated over the hybrid dataset $\mathcal{D}_{\text{hyb}}^{(t)}$, augmented with an optimism regularizer: $$\pi^{(t+1)} = \arg \min_{\pi \in \Pi} \left[ \alpha \sum_{\tau \in \mathcal{D}_{\text{opt}}^{(t)}} \log \pi(\tau) - \sum_{(\tau^+, \tau^-) \in \mathcal{D}_{\text{hyb}}^{(t)}} \log \sigma\left(\beta \log \frac{\pi(\tau^+)}{\pi_{\text{ref}}(\tau^+)} - \beta \log \frac{\pi(\tau^-)}{\pi_{\text{ref}}(\tau^-)}\right) \right]$$ where $\mathcal{D}_{\text{opt}}^{(t)}$ consists of $t + \gamma$ rollouts from the sampling policy $\tilde{\pi}_t$, and $\alpha > 0$ controls the exploration bonus.

  • Hybrid Sequential Exploration Coefficient (SEC): The authors extend exploration complexity metrics to define $\text{SEC}_{\text{HybRLHF}}$, showing that adding offline coverage strictly reduces the search space needed during online exploration.

Datasets

  • Synthetic Linear Contextual Bandit: The empirical evaluation follows the benchmark setup from Cen et al. (2024):
  • Context / Prompt space: $x \sim \mathcal{N}(0, I) \in \mathbb{R}^2$.
  • Response space: $|\mathcal{Y}| = 500$ discrete one-hot vectors.
  • Feature map: 100-dimensional representations output by a fixed two-layer MLP with $\tanh$ activations.
  • Ground-truth reward: $r^*(x, y) = \langle \phi(x, y), \theta^* \rangle$, where $\theta^* \sim \mathcal{U}([0, 1])^{100}$.
  • Offline dataset: $N_{\text{off}} = 500$ pairwise comparisons collected strictly from a reference policy $\pi_{\text{ref}}$.
  • Note: No new real-world LLM benchmark datasets were introduced.

Key Insights and Ideas

  • Breaking Classical Lower Bounds: In linear MDPs with dimension $d$, the minimax lower bound on the suboptimality gap for pure offline RLHF is $\Omega(\sqrt{d^2 / N_{\text{off}}})$ and for pure online RLHF is $\Omega(\sqrt{d^2 / T})$. HPO achieves an upper bound of: $$\tilde{\mathcal{O}}\left(R_{\max} e^{2 R_{\max}} \sqrt{\frac{d \cdot d_{\text{hyb}}}{T}}\right)$$ where $d_{\text{hyb}} \le d$ measures the number of feature directions left uncovered by the offline data. When the offline dataset provides coverage over even a subset of directions ($d_{\text{hyb}} \ll d$), HPO strictly outperforms the theoretical limits of both individual paradigms.

  • No Concentrability Requirements: Unlike prior offline RL theory, HPO does not require single-policy or all-policy concentrability. The offline data can be collected by poor, suboptimal policies; HPO will still use it to eliminate uncertainty in those known subspaces, reserving active online queries purely for the remaining unexplored directions.

  • Gumbel Reduction for Lower Bounds: By leveraging Gumbel-max properties, the authors formally reduce linear bandit reward models to Bradley-Terry-Luce dueling bandits, enabling the translation of fundamental information-theoretic lower bounds to preference-based RLHF.

Key Results

  • Theoretical Sample Efficiency: When setting $\gamma = \mathcal{O}(T)$ and choosing the exploration parameter $\alpha$ appropriately, HPO achieves an $\tilde{\mathcal{O}}(1/\sqrt{T})$ convergence rate scaled down by the hybrid dimension $d_{\text{hyb}}$ rather than the ambient dimension $d$.
  • Empirical Regret and Suboptimality: On the linear contextual bandit benchmark:
  • Pure offline methods (Offline DPO, Offline VPO) with $N_{\text{off}} = 500$ fail to find near-optimal policies due to coverage limits.
  • HPO demonstrates a significantly slower cumulative regret growth rate compared to online baselines (Online DPO, Online VPO/XPO) for a matching total query count.
  • When plotting the suboptimality gap against the total sample count (online + offline), HPO converges noticeably faster to lower error than all purely online and purely offline baselines.

Limitations and Future Work

  • Empirical Scope: The experimental validation is limited to synthetic linear contextual bandits; empirical verification on large-scale generative language models (e.g., Llama/Mistral fine-tuning) remains open.
  • Exponential Factors in Bounds: The suboptimality gap depends exponentially on the maximum reward ($e^{2 R_{\max}}$), a common artifact of Bradley-Terry preference log-likelihood analyses that could become loose for wider reward intervals.
  • Hyperparameter Sensitivity: Tuning the offline sampling parameter $\gamma$ and optimism parameter $\alpha$ requires careful balancing relative to the online horizon $T$.

Summary updated

BibTeX
@inproceedings{bose2025hybrid,
  author = {Avinandan Bose and Zhihan Xiong and Aadirupa Saha and Simon Shaolei Du and Maryam Fazel},
  title = {{Hybrid Preference Optimization for Alignment: Provably Faster Convergence Rates by Combining Offline Preferences with Online Exploration}},
  booktitle = {QUESTION @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=YBBXsVta2x},
}
Figure