The Cost of Agnosticism in Interactive Learning
In interactive learning domains such as A/B testing, active classification, and Bayesian optimization, algorithms sequentially query data points based on past feedback. Historically, the field has favored agnostic algorithms. These algorithms are designed to be robust, hedging against model misspecification by not assuming the true data-generating process perfectly fits the chosen model class.
However, this robustness comes at a steep price. This paper demonstrates that when the world is realizable—meaning the true function perfectly matches the model class—agnostic algorithms pay a massive, exponential penalty in sample complexity. For instance, in active classification, an agnostic algorithm might require $\Omega(\sqrt{n})$ queries, while a realizability-based algorithm needs only $O(\log n)$.
The primary bottleneck preventing the widespread adoption of realizability-based algorithms is computational intractability. Traditional approaches require explicitly enumerating and tracking the "version space"—the set of all functions consistent with the observed data. For general function classes, this is computationally infeasible.
Introducing GRAILS: Sampling the Version Space
To bridge the gap between theoretical optimality and computational feasibility, the authors introduce GRAILS (GReedy Algorithm for Interactive Learning using Sampling). GRAILS abandons the need to explicitly maintain an intractably large version space, relying instead on a highly efficient sampling oracle.
The algorithm operates on three core principles:
- Greedy Volume Reduction: At each step, GRAILS selects the data point (or arm) that will eliminate the largest portion of the remaining version space, assuming the worst-case observation.
- The Sampling Trick: Instead of measuring the volume of the version space through enumeration, GRAILS samples functions from it using Monte Carlo "hit-and-run" techniques.
- Overcoming Non-Convexity: A significant technical hurdle is that the version space under a greedy algorithm is not inherently convex, causing standard sampling algorithms to fail. GRAILS resolves this by decomposing the version space into a union of convex sets and sampling from a mixture distribution over these sets.
Theoretical Guarantees and Complexity Measures
To quantify the worst-case difficulty of these tasks, the authors introduce two novel theoretical complexity measures inspired by the extended teaching dimension: $v^*_{best}$ for best-arm identification and $v^*_{loss}$ for cumulative loss minimization.
GRAILS is the first computationally efficient algorithm for best-arm identification with generic function classes that matches the minimax lower bound up to logarithmic factors, achieving a sample complexity of $O(v^*_{best} \log n)$. Similarly, for cumulative loss minimization, GRAILS bounds the loss at $O(v^*_{loss} \log|\mathcal{F}|)$. Furthermore, the authors formally link cumulative loss minimization to regret minimization, proving that GRAILS provides state-of-the-art regret bounds that scale with the minimum gap ($\Delta_{min}$) rather than the maximum gap ($\Delta_{max}$).
Empirical Performance and the Power of Prior Knowledge
Rather than relying on standard empirical benchmarks, the authors evaluate GRAILS on synthetic environments designed to test complex function classes, including 2D functions in a Radial Basis Function (RBF) Reproducing Kernel Hilbert Space (RKHS) and 1D convex functions.
In these experiments, GRAILS matches or slightly outperforms strong baselines like GP-UCB and OFUL. However, its true advantage shines in its ability to seamlessly integrate prior knowledge. Because GRAILS operates on version spaces defined by constraints, injecting prior knowledge (e.g., "Arm A is strictly better than Arm B") is as simple as adding another constraint to shrink the version space. When provided with random pairwise constraints, GRAILS drastically reduces the number of samples required to achieve a simple regret of 0.005, whereas standard baselines struggle to utilize this specific type of structural prior.
Limitations and Future Directions
While GRAILS represents a significant step forward, the authors note a few limitations:
- Scalability: Although vastly more efficient than enumeration, GRAILS becomes computationally burdensome when the number of arms $n$ scales to extreme sizes (e.g., $n \approx 10,000$).
- The Noiseless Assumption: The core algorithm and its theoretical guarantees rely heavily on a noiseless realizable setting. Adapting this framework to achieve near-minimax optimality in noisy environments remains an open challenge.
- Continuous Outputs: The current optimal sample complexity bounds require discretizing the output space. Developing natively continuous, computationally efficient algorithms is a promising avenue for future work.
Summary updated