Wiki: Labeling against all odds
For agents: Markdown version · Wiki index · Explore
- Speaker: Dana Kaner
- Event: Reversim Summit 2019
- Video: https://www.youtube.com/watch?v=lSrFh4vOno4
- Transcript: /transcripts/2019/72-lSrFh4vOno4.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Machine Learning, Data Science, Security, MLOps
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker shares the journey of obtaining data labels for training bot-detection machine learning models in the cybersecurity domain. The talk details the transition from unsupervised methods to supervised learning, data programming, and semi-supervised techniques to handle the scarcity and noise of labels. The audience learns how to combine expert heuristics with automated labeling strategies and iterative model training to overcome data challenges.
Key points
- 0:00 The speaker introduces the challenge of building real-time bot detection models in cybersecurity with a scarcity of reliable data labels.
- 3:17 Initial attempts using unsupervised anomaly detection failed because web traffic behavior is too diverse and context-dependent.
- 5:31 The team shifted to supervised learning using heuristic risk scores generated by human analysts as a starting point.
- 8:44 Manual labeling by analysts proved non-scalable, leading to the adoption of active learning strategies.
- 15:20 Data programming techniques and weak supervision sources were introduced to generate larger training datasets from multiple heuristic functions.
- 17:33 The team addressed label noise by exploring regularization methods and noise-robust models to prevent accuracy degradation.
- 21:52 Semi-supervised learning methods like co-training were implemented to leverage abundant unlabeled data without falling into error feedback loops.
Takeaways
- Combine expert human knowledge with automated weak supervision to scale training data generation.
- Be aware of the trade-offs between dataset size and label noise when using heuristic labeling functions.
- Utilize semi-supervised techniques like co-training to improve model generalization using unlabeled data.
Questions this talk answers
- How can you train effective machine learning models when you lack a large set of manually labeled data?
- What are the best strategies for handling label noise introduced by heuristic weak supervision sources?
- How can co-training be used in semi-supervised learning to prevent models from reinforcing their own errors?
Technologies
BigQuery, Opsgenie, Slack, Snorkel
Tags
active learning, bot detection, cybersecurity, data labeling, machine learning, semi-supervised learning, weak supervision