# Quality Over Quantity - The Secret Behind Active Learning

- Speaker: [Sivan Biham](/wiki/speakers/sivan-biham.md)
- Event: [Reversim Summit 2021](/wiki/years/2021.md)
- Video: https://www.youtube.com/watch?v=wlRLI1J-nFs
- Transcript: [/transcripts/2021/33-wlRLI1J-nFs.md](/transcripts/2021/33-wlRLI1J-nFs.md)
- Language: Hebrew and English · Type: talk · Level: intermediate
- Topics: [Machine Learning](/wiki/topics/machine-learning.md), [Data Science](/wiki/topics/data-science.md), [Data Engineering](/wiki/topics/data-engineering.md), [MLOps](/wiki/topics/mlops.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker discusses active learning as a strategy to prioritize data quality over quantity when training computer vision models for medical applications. By leveraging unlabeled data and intelligent data selectors, the team can identify difficult cases that require expert annotation. The talk compares two active learning approaches based on model consistency and loss prediction, highlighting how they improve performance on edge cases. Ultimately, the speaker emphasizes the importance of looking behind the scenes of performance graphs to validate that models are actually learning from the most challenging data.

## Key points

- [4:47](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=287s) The computer vision pipeline for wound measurement involves wound detection followed by precise segmentation.
- [5:57](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=357s) Getting expert annotations from clinicians is expensive and time-consuming, necessitating smarter data selection.
- [7:00](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=420s) Random sampling of unlabeled data is inefficient, whereas active learning targets the specific examples where the model struggles.
- [11:30](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=690s) Active learning methods can be categorized into diversity-based approaches and uncertainty-based approaches.
- [13:38](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=818s) The first method tested uses model consistency across training checkpoints to measure uncertainty and select difficult images.
- [16:47](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=1007s) Using annotator agreement as a ground-truth proxy helps verify whether the data selector successfully identifies hard images.
- [21:24](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=1284s) The second method tested trains an auxiliary network to predict the loss value of the primary model on unlabeled data.
- [25:41](https://www.youtube.com/watch?v=wlRLI1J-nFs&t=1541s) Analysis of the loss-prediction method shows that most performance improvements stem from better handling of hard images.

## Takeaways

- Implement active learning to reduce annotation costs and focus labeling efforts on informative, difficult data.
- Do not rely solely on top-level performance metrics; inspect the internal behavior of your data selectors.
- Use annotator consensus on edge cases to validate whether your active learning pipeline successfully targets hard samples.

## Questions this talk answers

- How can you implement active learning when you have large amounts of unlabeled data and expensive expert annotations?
- What are the trade-offs between consistency-based and loss-prediction-based active learning strategies?
- How do you validate that an active learning data selector is actually choosing harder examples rather than just random ones?

## Tags

active learning, computer vision, data quality, machine learning, model training, neural networks
