Annotation Efficiency: Identifying Hard Samples via Blocked Sparse Linear Bandits

Adit Jain, Soumyabrata Pal, Sunav Choudhary, Ramasuri Narayanam, Vikram Krishnamurthy · Submission to ICLR 2025 · Rejected

TL;DR

When training machine learning models under severe label scarcity, selecting "hard" examples is crucial, but standard active learning fails because no reliable model exists yet to gauge uncertainty. This paper proposes querying expert annotators for both ground-truth labels and annotation difficulty, framing sample selection as a high-dimensional sparse linear bandit problem with a blocking constraint (each datapoint can only be labeled once). The resulting Explore-Then-Commit algorithm, BSLB, and its parameter-free variant C-BSLB, achieve sub-linear regret bounds and substantially improve downstream model performance on hard test samples.

What Problem Does This Paper Address?

In niche or low-resource domains (such as low-resource NLP or specialized computer vision), labeling data requires expensive domain experts. Two major paradigms—active learning and coreset selection—are ill-suited for the extreme label-scarce regime ($T \ll d \ll M$, where budget $T$ is smaller than embedding dimension $d$ and pool size $M$):

  1. Active learning suffers from the "cold-start" problem; it relies on uncertainty estimates from a partially trained model, which are unreliable when labeled data is virtually nonexistent.
  2. Coreset selection typically requires a fully labeled dataset from which to prune redundant samples.
  3. Defining sample "hardness" via heuristics often captures outliers or label noise rather than genuinely informative points.

To bypass these hurdles, the authors propose asking annotators for a simple secondary signal: how difficult was it to label this point? Because annotating an item multiple times is wasteful, the sequential decision process must enforce a blocking constraint (sampling without replacement).

Methods

The authors model the expected annotation difficulty as a sparse linear function of the data embedding, $\mathbb{E}[r_t] = \langle \theta, a_t \rangle$, allowing for "soft" sparsity where $\theta$ has a non-zero tail $\beta_k$:

  1. Blocked Sparse Linear Bandits (BSLB): An Explore-Then-Commit (ETC) algorithm:
  2. Representative Subset Selection (GETGOODSUBSET): To ensure good coverage without replacement, the algorithm maximizes the minimum eigenvalue of the expected covariance matrix. Because this is NP-hard, they formulate a convex relaxation bounded by $1/\hat{g}$ on arm selection probabilities and recover a discrete subset $\mathcal{G}$ via randomized rounding.
  3. Exploration: Samples $T_{\text{explore}}$ datapoints uniformly without replacement from $\mathcal{G}$ to gather noisy difficulty feedback.
  4. Sparse Estimation: Recovers $\hat{\theta}$ via a Lasso estimator under the Restricted Eigenvalue (RE) condition adapted for sampling without replacement.
  5. Exploitation: Selects the top $(T - T_{\text{explore}})$ remaining unlabeled points predicted to have the highest difficulty.
  6. C-BSLB (Corralling Meta-Algorithm): Optimal exploration length depends on the unknown sparsity level $k^*$. C-BSLB ensembles multiple base BSLB instances over an exponentially spaced grid $k \in \{2^0, 2^1, \dots, 2^{\lfloor\log_2 d\rfloor}\}$ using the CORRAL online learning framework, achieving near-optimal regret without tuning $k$ beforehand.

Datasets

The authors evaluate their approach on multiple domains:

  • PASCAL VOC 2012: Visual object classification (chair, car, bottle, and chair-or-bottle) using frozen Vision Transformer (ViT-Base) embeddings and real-world visual search difficulty scores measured by human annotation times (Ionescu et al., 2016).
  • SST-2: Text sentiment classification using MiniLM-L6-v2 embeddings, with text rarity used as a difficulty heuristic.
  • Recommendation Datasets (Appendix): Goodbooks-10k, MovieLens-100K, and Jester under single-rating constraints.

Key Insights and Ideas

  • Direct Hardness Feedback Beats Heuristics: Annotators can reliably provide difficulty feedback with minimal cognitive overhead, bypassing ambiguous model-based uncertainty metrics in cold-start scenarios.
  • Eigenvalue Maximization via Convex Relaxation: Pure random sampling fails in high dimensions when data is concentrated in subspaces. Relaxing the discrete subset selection problem ensures the empirical covariance matrix satisfies the Restricted Eigenvalue (RE) property.
  • Robustness to "Soft" Sparsity Without RIP: Unlike prior work requiring the strong Restricted Isometry Property (RIP) or hard sparsity ($k$ non-zeros), the theoretical regret degrades gracefully with the $\ell_1$-norm of the parameter tail $\beta_k$: $$\tilde{\mathcal{O}}\left(k^{1/3}T^{2/3} + k^{-1/2}\beta_k + k^{-1/12}\beta_k^{1/2}T^{5/6}\right)$$
  • Telescoping Covering Argument: By running CORRAL over only $\mathcal{O}(\log d)$ exponential grid points instead of all $d$ possible sparsities, C-BSLB prevents the dimension $d$ from blowing up the meta-regret.

Key Results

On PASCAL VOC 2012 image classification with an SVM trained on top of frozen ViT representations:

  • Hard Samples: On the hard-valid split, BSLB outperforms random sampling by 5% to 14% in test accuracy and beats state-of-the-art active learning methods (AnchorAL and SEALS) by 3.5% to 7%.
  • Sample Efficiency: Models trained on BSLB-selected subsets (budget $T \approx 90\text{--}140$) match or exceed the performance of models trained on all available training data ($6\times$ to $13\times$ larger sample size) on the hard validation splits (e.g., 74.0% vs. 65.4% on car, 66.8% vs. 64.8% on bottle).
  • Easy Samples: On the easy-valid split, BSLB remains within 1–2% of the all-data ceiling, demonstrating that prioritizing difficulty does not sacrifice standard accuracy.

Limitations and Future Work

  • Linear Difficulty Assumption: Difficulty is assumed to be a linear function of pre-trained feature embeddings; highly non-linear difficulty functions would require kernelized or neural bandit extensions.
  • Subjective Human Variance: Real-world difficulty feedback can be noisy or inconsistent across multiple annotators (e.g., intermediate difficulty scores [3.1, 3.8] in PASCAL VOC had to be filtered out due to high variance).
  • Generative / Complex Tasks: The empirical study focuses on classification with frozen embeddings; exploring generative tasks (e.g., LLM instruction tuning or RLHF sample selection) remains open for future research.

Summary updated

BibTeX
@inproceedings{jain2024annotation,
  author = {Adit Jain and Soumyabrata Pal and Sunav Choudhary and Ramasuri Narayanam and Vikram Krishnamurthy},
  title = {{Annotation Efficiency: Identifying Hard Samples via Blocked Sparse Linear Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  doi = {10.48550/arxiv.2410.20041},
}
Figure