Efficient Bayesian Updates for Deep Active Learning via Laplace Approximations

Denis Huseljic, Marek Herde, Lukas Rauch, Paul Hahn, Zhixin Huang +3 more
10/12/2022
cs.LG
bayesian

Official code: dhuseljic/dal-toolbox (17 stars, Jupyter Notebook, BSD-3-Clause, last commit 2026-03-10).

Abstract

Deep active learning (AL) selects batches of instances for annotation to avoid retraining deep neural networks (DNNs) after each new label. Employing a naive top-$b$ selection can result in a batch of redundant (similar) instances.

Show full abstract

To address this, various AL strategies employ clustering techniques that ensure diversity within a batch. We approach this issue by substituting the costly retraining with an efficient Bayesian update. Our proposed update represents a second-order optimization step using the Gaussian posterior from a last-layer Laplace approximation. Thereby, we achieve low computational complexity by computing the inverse Hessian in closed form. We demonstrate that in typical AL settings, our update closely approximates retraining while being considerably faster. Leveraging our update, we introduce a new framework for batch selection through sequential construction, updating the DNN after each label acquisition. Furthermore, we incorporate our update into a look-ahead selection strategy as a feasible upper baseline approximating optimal batch selection. Our results highlight the potential of efficient updates to advance deep AL research.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
172Jupyter Notebook, PythonJun 6, 20238 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{huseljic2022efficient,
  title  = {Efficient Bayesian Updates for Deep Active Learning via Laplace Approximations},
  author = {Denis Huseljic and Marek Herde and Lukas Rauch and Paul Hahn and Zhixin Huang and Daniel Kottke and Stephan Vogt and Bernhard Sick},
  year   = {2022},
  eprint = {2210.06112},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06112}
}

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/2210.06112.svg)](https://codeofpaper.com/paper/2210.06112)

Discussion