The next active learning decision is not only what to label. It is what is worth its cost.
Two examples can carry similar information while requiring very different annotation effort. A useful acquisition strategy must reason about both the value of a batch and the resources needed to obtain it.
Given a fixed annotation budget and non-uniform example costs, which subset provides the greatest expected information gain?
Every label is treated as one identical unit. The method can select a highly informative batch that is too expensive in practice.
Each candidate has an informativeness score and an instance-level cost. Selection becomes a constrained optimization problem.
The goal is to maximize final-model performance while respecting one global budget C across all R acquisition rounds.
Every acquired batch reduces the same global budget. The budget does not restart at each round.
A k is the ranked candidate set, a(x) is informativeness, and the chosen subset becomes the round batch B r .
Each item is either selected once or not selected.
A 0-1 knapsack problem gives every item a value and a cost. For each item i, the binary variable z i is 1 when the item is selected and 0 when it is not. The goal is to maximize total value without exceeding the budget.
v i is value, c i is cost, W is the budget, and z i is the keep-or-skip decision.
At each item and capacity, compare skipping the item with taking it. Taking is available only when the item fits.
Pack the most value into the budget
Select items manually, change the budget, or ask the solver to find the optimal subset.
z = [0, 0, 0, 0, 0, 0]
How dynamic programming reaches the answer
The table stores the best value possible after considering the first i items at every capacity w.
How this maps to the paper
The optimization stays the same. Item value becomes acquisition score, item cost becomes annotation cost, capacity becomes the remaining budget, and selected items become the acquisition batch.
Change the costs, ranking rule, and budget.
This scaled demonstration starts with 12 pool items, preselects 10 instead of the paper's 80, and keeps 7 instead of 60 before solving the knapsack problem. The selection logic is the same, while the displayed per-item scores make each stage visible. The paper uses BatchBALD for the preselection step.
The round spending-limit slider is a teaching control. In the paper, the knapsack is constrained by the remaining global budget. Here, the effective constraint is the smaller of the slider value and the remaining global budget.
Build an affordable acquisition batch
Selected cards form B r . Shortlisted cards passed the ranking stage but were not chosen by the 0-1 knapsack solver.
Inspect the three stages, then acquire the selected batch to spend from the global budget.
Hold the pool constant and switch from HS to LC.
HS protects highly informative candidates during ranking. LC protects cheap candidates. The knapsack step then finds the most informative affordable subset inside that shortlist.
KnapsackBALD separates candidate generation, ranking, and constrained selection.
BatchBALD identifies a diverse set of informative candidates from the unlabeled pool.
HS keeps the most informative candidates. LC keeps the least costly candidates.
The optimizer selects the highest-value combination that fits the remaining budget.
The batch is labeled, the model is updated, and the pool and budget are reduced.
The experiments use a global annotation budget equal to 30 percent of the normalized pool cost. Costs are normalized so their average is one, making results comparable across languages and cost scenarios.
Non-uniform cost is not a single phenomenon.
Examples receive heterogeneous costs directly, representing generic variation in annotation effort.
More reliable annotation is modeled as more expensive, capturing a quality and cost tradeoff.
Language-model perplexity represents difficulty. Harder examples receive higher annotation costs.
Each scenario is evaluated at baseline, moderate, and high levels of cost extremity. As the distribution becomes more uneven, ignoring cost becomes increasingly damaging.
The advantage grows as costs become more extreme.
Select a scenario and extremity level to inspect the reported relative F1 improvement over the uniform-cost BatchBALD baseline.
At high extremity, both variants improve relative F1 by more than 10 percent in every scenario. The highest reported gain is 12.84 percent for LC-BDK under sample-difficulty costs.
Counted labels are not the same as spent resources.
The experiments cover 13 MasakhaNEWS language conditions, including 11 African languages plus English and French, and use AfroXLMR-Large. Performance is measured after each acquisition round, with final results averaged across five random seeds.
Uniform-cost BatchBALD remains a strong baseline when costs are close to equal. As heterogeneity increases, cost-aware selection extracts more predictive value from the same annotation budget.
The study simulates annotation costs.
The scenarios are controlled abstractions of real annotation markets. A natural next step is to estimate costs from observed annotation time, annotator expertise, disagreement, and language-specific access constraints.
Active Learning with Non-Uniform Costs for African Natural Language Processing
Bonaventure F. P. Dossou, Ines Arous, Audrey Durand, and Jackie Chi Kit Cheung. Findings of EACL, 2026.
Reading behind this essay
Ideas to follow further.
These sources explain the acquisition objective, the annotation-budget constraint, and the evaluation data. The results explorer presents reported findings; the interactive pools and budgets are teaching examples. The study itself uses simulated annotation costs.
- Dossou, Arous, Durand, and Cheung (2026). Active Learning with Non-Uniform Costs for African Natural Language Processing. The study behind KnapsackBALD: combine informative batch acquisition with a budget constraint, and evaluate controlled forms of cost heterogeneity.
- Kirsch, van Amersfoort, and Gal (2019). BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learning. Why a batch should account for information shared between examples instead of selecting only the highest individual scores.
- Houlsby, Huszár, Ghahramani, and Lengyel (2011). Bayesian Active Learning for Classification and Preference Learning. The Bayesian information-gain foundation from which BALD and its batch extensions develop.
- Adelani et al. (2023). MasakhaNEWS: News Topic Classification for African languages. The African-language news benchmark underlying the experiments; its original scope is broader than the language subset used in the cost study.