Adaptive Batch Sizes for Active Learning A Probabilistic Numerics Approach

Masaki Adachi, Satoshi Hayakawa, Martin Jørgensen, Xingchen Wan, Vu Nguyen +2 more
6/9/2023
cs.LGcs.AImath.NA

No official code found. Best implementation: ma921/AdaBatAL (1 star, last commit 2025-05-31).

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.

View on arXivView PDF

Code Implementations(1)

ma921/AdaBatALCommunity100%

(AISTATS 2024) "Adaptive Batch Sizes for Active Learning: A Probabilistic Numerics Approach"

10Python, Jupyter NotebookJan 28, 20241 years ago

Similar Papers

Cite this paper

@article{adachi2023adaptive,
  title  = {Adaptive Batch Sizes for Active Learning A Probabilistic Numerics Approach},
  author = {Masaki Adachi and Satoshi Hayakawa and Martin Jørgensen and Xingchen Wan and Vu Nguyen and Harald Oberhauser and Michael A. Osborne},
  year   = {2023},
  eprint = {2306.05843},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05843v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.05843.svg)](https://codeofpaper.com/paper/2306.05843)

Discussion