Abstract
Active learning parallelization is widely used, but typically relies on fixing the batch size throughout experimentation. This fixed approach is inefficient because of a dynamic trade-off between cost and speed -- larger batches are more costly, smaller batches lead to slower wall-clock run-times -- and the trade-off may change over the run (larger batches are often preferable earlier). To address this trade-off, we propose a novel Probabilistic Numerics framework that adaptively changes batch sizes. By framing batch selection as a quadrature task, our integration-error-aware algorithm facilitates the automatic tuning of batch sizes to meet predefined quadrature precision objectives, akin to how typical optimizers terminate based on convergence thresholds. This approach obviates the necessity for exhaustive searches across all potential batch sizes. We also extend this to scenarios with constrained active learning and constrained optimization, interpreting constraint violations as reductions in the precision requirement, to subsequently adapt batch construction. Through extensive experiments, we demonstrate that our approach significantly enhances learning efficiency and flexibility in diverse Bayesian batch active learning and Bayesian optimization applications.
Introduction
In Active Learning (AL) and Bayesian Optimization (BO), collecting data in batches is essential for leveraging parallel computing resources. However, the standard practice of using a fixed batch size (e.g., querying 10 points per iteration) is fundamentally limited. Early in an experiment, large batches are often beneficial for rapid exploration, whereas later stages may require smaller, more precise batches to refine the solution cost-effectively. Furthermore, real-world applications often involve unknown safety constraints; committing to a large batch in a high-risk region can lead to significant resource waste if experiments fail.
AdaBatAL addresses these challenges by shifting the focus from "how many points to pick" to "how much precision is required," allowing the batch size to adapt dynamically to the problem's complexity and safety landscape.
Methods: Batching as Numerical Integration
The core innovation of AdaBatAL is framing batch selection as a Kernel Quadrature (KQ) problem. The algorithm views the acquisition function—which identifies the most informative next samples—as a continuous distribution. Selecting a discrete batch of points is then treated as approximating this distribution through quantization.
Adaptive Batch Selection
Instead of pre-defining a batch size $n$, users set a desired precision level ($\epsilon$). The algorithm then identifies the minimum number of points required to satisfy this error bound. This is achieved through a Nyström approximation and a Linear Programming (LP) formulation that yields sparse weights, effectively selecting only the most informative points from a candidate pool.
Handling Unknown Constraints
AdaBatAL elegantly incorporates safety constraints by interpreting the risk of violation as a reason to adjust the precision requirement. In regions where the risk of failure is high, the algorithm allows for a looser approximation, which naturally results in smaller, more cautious batches. This prevents the waste of experimental budget on points likely to violate constraints.
Experimental Evaluation
The authors evaluated AdaBatAL across 17 diverse tasks, ranging from synthetic benchmarks (e.g., Hartmann-6D, Ackley-23D) to real-world applications such as electrolyte conductivity prediction for batteries, structural engineering (Steel and Cantilever), and drug discovery (Malaria dataset).
Key Results
- Efficiency: AdaBatAL consistently outperformed state-of-the-art baselines like B3O and Thompson Sampling by optimizing the information-per-query ratio.
- Adaptivity: Empirical results confirmed that the algorithm naturally initiates with larger exploratory batches and transitions to smaller batches as it converges or encounters safety boundaries.
- Domain Agnostic: By utilizing Kernel Quadrature, the method proved effective in non-continuous domains, including molecular SMILES strings and social network graphs.
Discussion and Conclusion
AdaBatAL provides a robust framework for adaptive batching that balances exploration speed with query cost. While highly effective, the method currently focuses on synchronous batching and relies on the eigenvalue decay of the kernel, which may pose challenges in extremely high-dimensional spaces. Future work aims to extend this framework to asynchronous settings and further refine the theoretical links between dimensionality and Nyström error bounds. Overall, AdaBatAL represents a significant step toward more flexible and efficient automated experimentation.
Summary updated