[Paper Review] Bayesian active learning for production, a systematic study and a reusable library
This paper proposes practical improvements to Bayesian active learning for real-world deployment, introducing partial uncertainty sampling and larger query sizes to accelerate the active learning loop. It demonstrates that these techniques maintain performance on noisy, imbalanced datasets like Mio-TCD and introduces BaaL, an open-source library for scalable active learning in production environments.
Active learning is able to reduce the amount of labelling effort by using a machine learning model to query the user for specific inputs. While there are many papers on new active learning techniques, these techniques rarely satisfy the constraints of a real-world project. In this paper, we analyse the main drawbacks of current active learning techniques and we present approaches to alleviate them. We do a systematic study on the effects of the most common issues of real-world datasets on the deep active learning process: model convergence, annotation error, and dataset imbalance. We derive two techniques that can speed up the active learning loop such as partial uncertainty sampling and larger query size. Finally, we present our open-source Bayesian active learning library, BaaL.
Motivation & Objective
- Address the gap between academic active learning methods and real-world deployment constraints such as model training time, annotation cost, and data quality issues.
- Investigate the impact of common data pathologies—model convergence issues, annotation errors, and class imbalance—on deep active learning performance.
- Develop scalable, production-ready active learning techniques that reduce computational overhead without sacrificing performance.
- Demonstrate the effectiveness of active learning on a real-world, non-academic dataset (Mio-TCD) with heavy class imbalance and labeling noise.
- Release BaaL, a reusable open-source library to support active learning experiments at scale for researchers and practitioners.
Proposed method
- Use Bayesian uncertainty estimation via MC-Dropout and BALD (Bayesian Active Learning by Disagreement) to quantify epistemic uncertainty in deep models.
- Implement batch active learning with periodic model retraining and uncertainty re-computation on a subset of the unlabeled pool.
- Introduce partial uncertainty sampling by limiting uncertainty estimation to a random subset (≤25%) of the unlabeled pool to reduce computational cost.
- Evaluate the impact of increasing query size (from 50 to 2000) on performance, finding that larger batches can be used without significant accuracy loss.
- Apply active learning to the Mio-TCD dataset, a large-scale, imbalanced dataset with real-world labeling noise, to assess robustness.
- Integrate all components into BaaL, a modular, open-source library supporting active learning workflows from model training to uncertainty sampling.
Experimental results
Research questions
- RQ1How do common data pathologies—such as annotation errors, class imbalance, and poor model convergence—affect deep active learning performance?
- RQ2Can increasing the query size in batch active learning improve efficiency without degrading model accuracy?
- RQ3Does limiting uncertainty estimation to a random subset of the unlabeled pool preserve performance while reducing computational cost?
- RQ4How effective is Bayesian active learning on real-world, non-academic datasets with inherent data quality issues?
- RQ5Can active learning significantly improve performance on underrepresented classes in imbalanced datasets like Mio-TCD?
Key findings
- Partial uncertainty sampling using only 25% of the unlabeled pool reduces uncertainty estimation time by a factor of 3 with no significant performance drop.
- Larger query sizes (up to 2000) maintain competitive performance, with Entropy-based acquisition outperforming BALD at high query sizes on CIFAR10.
- On the Mio-TCD dataset, active learning significantly improves F1 scores for underrepresented classes (e.g., Single-Unit Truck, Bicycle) compared to random sampling.
- BALD shows strong initial performance gains on rare classes, while performance for the most frequent class (Cars) remains stable across acquisition functions.
- The study confirms that active learning is effective on real-world data with labeling noise and imbalance, validating its use in production settings.
- The BaaL library enables scalable, reproducible active learning experiments and supports integration into production pipelines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.