Active Learning Query-Strategy Simulation
A pool-based active learning simulation replays a labelling project on data whose labels are already known. Starting from a few labelled rows, each query strategy repeatedly fits the model, scores the unlabelled pool and reveals the labels of the rows it would have asked an annotator to label. Strategies include random choice, least confidence, smallest margin, predictive entropy, query by committee (vote entropy) and BALD (disagreement within a model ensemble). Test-set accuracy is tracked as labels are bought.
이미 정답이 있는 자료로 라벨링 작업을 미리 재현해 보는 능동 학습 모의실험입니다. 적은 수의 라벨에서 시작해 질의 전략마다 모형을 적합하고, 라벨이 없는 후보 중 어떤 사례의 라벨을 살지 고른 뒤 그 라벨을 공개합니다. 무작위, 최소 확신도, 최소 마진, 예측 엔트로피, 위원회 질의(투표 엔트로피), BALD 전략의 학습곡선을 비교합니다.
If I can only afford to label a few hundred cases, which way of choosing them gives the best classifier for the money?
라벨을 몇백 개만 붙일 수 있다면 어떤 사례를 골라야 가장 좋은 분류기를 얻을 수 있습니까?
Compare the learning curves: a strategy with a larger area under the curve reaches good accuracy with fewer labels. The labels needed to reach 95% of the accuracy obtained with the whole pool labelled show the potential saving in annotation cost. If no strategy beats random selection, active learning is not worth the extra complexity for these data.
When to use Active Learning Query-Strategy Simulation
- You plan to label data by hand and want to know whether smart selection would save annotation effort.
- You have a labelled pilot data set and want to choose a query strategy before a larger labelling round.
When to use something else
- Most of your data are unlabelled already and you only want to use them in training: use Semi-Supervised Classification (Self-Training, Label Spreading)
- You want to know how accuracy grows with random sample size only: use Learning and Validation Curves
Assumptions and requirements
- The observed labels are correct (they play the role of the annotator)
- The pool resembles the unlabelled data you will face in practice
- Every class has at least a few rows
What the analysis reports
- Learning curve of every strategy averaged over repeats
- Area under the learning curve and accuracy at the budget
- Labels needed to reach 95% of full-pool accuracy
- Full-pool accuracy as the ceiling
How to report it
In a pool-based simulation (logistic model, pool n = [value], [value] seed labels, batches of [value]), the [strategy] strategy had the largest area under the learning curve ([value]); with [value] labels it reached accuracy [value] against [value] with the whole pool labelled.
Related methods
- Learning and Validation Curves
- Semi-Supervised Classification (Self-Training, Label Spreading)
- Co-Training Semi-Supervised Classification
- Classification Performance Report
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy, scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.
독립 계산. SciPy·scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Active Learning Query-Strategy Simulation on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.