Efficient Active Learning with Adapters

Daria Galimzianova, Leonid SanochkinEMNLP 2024

Introduction

Active Learning (AL) is a powerful paradigm designed to minimize data annotation costs by iteratively selecting the most informative samples for labeling. However, the computational overhead of AL is significant. In a standard loop, an "acquisition model" must be trained to rank unlabeled data, followed by a "successor model" trained on the expanded dataset. This process repeats multiple times, often making the computational cost of selecting data exceed the cost of the human labeling itself.

The Challenge: Acquisition-Successor Mismatch (ASM)

To mitigate these costs, researchers frequently employ a smaller, distilled model (e.g., DistilBERT) as the acquisition model to select data for a larger successor model (e.g., ELECTRA). While this speeds up the selection phase, it introduces Acquisition-Successor Mismatch (ASM). Because the two models possess different architectures, the small model may prioritize data points that are not beneficial for the larger model, leading to suboptimal performance compared to full fine-tuning.

Methodology: Adapters for Acquisition

This paper proposes using bottleneck adapters—parameter-efficient modules—during the acquisition phase. Instead of fine-tuning the entire backbone of a model like ELECTRA-base (110M parameters), only a small set of adapter layers are trained to identify "hard" examples.

Once the data is selected, the final successor model is fully fine-tuned on the accumulated dataset to ensure maximum performance. This approach aims to provide the speed of a small model while maintaining the architectural consistency of the larger model, thereby eliminating the "mismatch tax."

Performance Evaluation

The authors evaluated this approach across four diverse NLP benchmarks: AG News (topic classification), Banking77 (intent detection), Amazon MASSIVE (multi-domain intent), and CoNLL-2003 (NER).

Figure 1: Performance comparison across different acquisition strategies, showing that adapter-based acquisition matches full fine-tuning performance.

As shown in the performance curves, the adapter-based acquisition strategy (ELECTRA_ADAPTER) is virtually indistinguishable from the gold-standard full fine-tuning approach. In contrast, using a distilled model (DistilBERT) often leads to lower accuracy, particularly as more data is labeled, highlighting the impact of ASM.

Why Adapters Work: Preserving Uncertainty

The success of adapters in this context stems from their ability to preserve the uncertainty profile of the base model. The researchers utilized statistical tests, including Wasserstein Distance (WD) and KL Divergence, to compare the uncertainty scores produced by adapters versus fully fine-tuned models.

Figure 5: Statistical measures showing the high similarity in uncertainty distributions between full models and adapters across datasets.

The low WD and KL divergence values indicate that the uncertainty rankings generated by adapters are nearly identical to those of a fully fine-tuned model. Because the rankings are preserved, the resulting data selection is equally effective.

Key Results and Efficiency

  • Significant Speedup: The use of adapters resulted in an average 20.84% reduction in total compute time across the AL loop.
  • Accuracy Parity: Adapter-based acquisition achieved performance parity with full fine-tuning across all tested datasets.
  • Superiority over Distillation: On complex datasets like Amazon MASSIVE and Banking77, the adapter approach significantly outperformed DistilBERT-based acquisition, proving that architectural consistency is more important than raw model size for effective data selection.

Conclusion

By utilizing adapters for the acquisition phase of Active Learning, practitioners can achieve substantial computational savings without sacrificing model accuracy. This method effectively solves the Acquisition-Successor Mismatch problem by ensuring the acquisition model "sees" data through the same architectural lens as the successor model. Future work may explore the application of other PEFT methods, such as LoRA, and evaluate these findings on larger decoder-only architectures.

Summary updated

BibTeX
@inproceedings{galimzianova2024efficient,
  author = {Daria Galimzianova and Leonid Sanochkin},
  title = {{Efficient Active Learning with Adapters}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.840},
}
Figure