ALF: An Active Learning Framework for Scientific Discovery
Organizations: InstaDeep · University of Oxford
Abstract
Machine learning for scientific discovery is almost systematically data bound. Producing relevant high quality data, under budget constraints, is amongst the most promising ways to advance the field. Active learning (AL) offers promise wherever labelling requires expensive experiment, measurement, or simulation. Most existing tools cover only part of the data acquisition loop, and typically focus on either offline benchmarking or online deployment, but not both. We present ALF, a modular AL Framework that runs the full data acquisition loop via five modular components. One clear API for both settings: offline, against an existing dataset for controlled and reproducible experimentation; and online, against an oracle for acquiring new candidates in real-world deployments. ALF is open-source and available at https://github.com/instadeepai/alf.
Figures & tables
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | You implement | Provided by the base |
|---|---|---|
| Dataset | load_dataset | splitting, query , split updates, metrics |
| Model | featurise , train , | setup , embedding hook, metric |
| predict , sample | collection; reuse across roles | |
| Acquisition fn. | call(candidates, state) | top- batching, optimizer integration |
| Search fn. | call(state) | dataset / generator / protocol subclasses |
| Oracle | — (wrap a dataset or model) | offline/online branching |
Active Learning
Active learning selects the examples, labels, features, or experiments most useful for improving a model under limited budgets.
See all 280 papers