Match the method to the evidence
Supervised learning needs examples with labels that reflect the decision you want to automate. Unsupervised methods find structure or outliers without trustworthy labels. Semi-supervised and self-supervised methods can help when labels are scarce, but they do not remove the need to validate operational meaning.
In security, labels are delayed, incomplete, and influenced by existing detections. A model trained only on confirmed incidents can learn the blind spots of the current program.
- Classification: predict a defined class from labeled examples.
- Ranking: order alerts so scarce review time reaches the most useful cases.
- Anomaly detection: identify deviations that require investigation, not automatic guilt.
- Clustering: organize behavior or campaigns for analyst exploration.
- Generation: produce hypotheses, summaries, or test cases that still require validation.