TL;DR
This paper introduces the first computationally efficient, near-optimal algorithm for contextual dueling bandits over continuous action spaces. By utilizing standard offline regression oracles (batch training) instead of computationally intractable online oracles, the proposed method achieves a near-optimal regret bound of $\tilde{O}(\sqrt{dT})$, paving the way for more scalable preference-based learning in systems like Reinforcement Learning with Human Feedback (RLHF).
The Challenge: Contextual Dueling Bandits
In many modern AI systems—most notably RLHF used to train Large Language Models—it is much easier to get humans to provide pairwise preferences ("Response A is better than Response B") than absolute reward scores ("Response A is an 8.5/10"). This is formalized as the dueling bandit problem.
When user preferences depend on specific contexts (e.g., the specific prompt given to an LLM, or user demographics in a recommender system), it becomes a contextual dueling bandit problem. Prior research in this area suffers from two major limitations:
- Finite Action Spaces: Existing algorithms assume the system is choosing between a small, finite set of $K$ actions. Real-world applications, like generating text or continuous control in robotics, have continuous, effectively infinite action spaces.
- Online Regression Oracles: Prior optimal algorithms require an online regression oracle. This means the model must update sequentially after every single interaction while guaranteeing worst-case performance bounds. For complex function classes like deep neural networks, online oracles are computationally impossible.
The authors tackle this gap by asking: Can we design an optimal algorithm for continuous contextual dueling bandits using only an offline regression oracle (standard batch training)?
Proposed Methods: The Double-Monster Algorithms
The authors propose two algorithms: Double-Monster (for finite action spaces) and Double-Monster-Inf (for continuous action spaces $\mathcal{K} \subset \mathbb{R}^d$).
The core approach shifts away from updating the model at every step. Instead, the algorithm runs in epochs (e.g., doubling in length).
- Offline Regression: At the start of each epoch, the algorithm takes all historical context-action-preference data and feeds it into an offline regression oracle. This is standard supervised batch learning (like training a neural network on a static dataset) to estimate the underlying scoring function.
- Duel Selection via Convex Constraints: To pick the pair of actions to duel in the current round, the algorithm uses a continuous convex constraint solver. It constructs a distribution over action pairs using a log-determinant barrier.
- Explore-Exploit Tradeoff: The duel selection balances exploitation (putting mass on action pairs that score highly according to the offline model) and exploration (putting mass on diverse, distinct pairs of actions to reduce the model's uncertainty, driven by the log-det term).
Key Insights
- Offline is Enough: You don't need the heavy, often impossible machinery of online regression to achieve optimal regret in contextual dueling bandits. Batch-updating at exponentially growing intervals is sufficient, bridging the gap between theoretical bandit literature and practical machine learning workflows.
- Continuous Action Spaces are Solvable: By using a log-det barrier for exploration, the authors successfully adapt techniques previously used for standard reward-based bandits into the relative-feedback (dueling) setting.
- The $\varepsilon$-net Proof Device: To prove that their continuous space algorithm works, the authors project the infinite-dimensional problem onto a finite $\varepsilon$-net. This allows them to apply Karush–Kuhn–Tucker (KKT) conditions mathematically without actually forcing the algorithm to discretize the space in practice.
Results and Performance
The paper evaluates the algorithms on synthetically generated environments. For the continuous space, it was evaluated on a unit ball in $d$-dimensions using linear and quadratic feature maps. For the finite space, it was compared against existing non-contextual dueling bandit baselines.
- Theoretical Guarantees: The
Double-Monster-Infalgorithm achieves a best-response regret bound of $\tilde{O}(\sqrt{dT})$ for continuous action spaces (where $d$ is the embedding dimension and $T$ is the number of rounds). This is the first guarantee of its kind for this general setting and is near-optimal. - Empirical Scaling: In synthetic continuous environments (tested up to $d=15$), the regret scales exactly as the theory predicts.
- Computational Efficiency: Because it relies on offline oracles, the algorithm is highly efficient. Simulating 10,000 rounds for a 15-dimensional continuous space took only a few minutes on a standard laptop.
Limitations and Future Work
While the theoretical contributions are significant, the authors acknowledge a few limitations:
- Empirical Limitations: The experiments are purely synthetic. Deploying and testing this algorithm in practical, large-scale scenarios (like tuning LLMs or AI-alignment in robotics) is a necessary next step.
- Theoretical Assumptions: The proofs rely on a "realizability" assumption (the true preference model lies within the chosen function class) and an "Idempotent Best-Response" (IBR) assumption. IBR essentially assumes there are no infinite rock-paper-scissors loops in the optimal items, situating it within a specific hierarchy of preference models.
- Future Directions: The authors suggest extending this framework beyond pairwise preferences to multiset or ranking preferences (e.g., ranking 5 items at once). They also propose extending the algorithmic framework to general reinforcement learning (MDPs) rather than just contextual bandits.
Summary updated