Which machine learning paradigm is most commonly used to build spam filters that improve over time based on user feedback (marking emails as spam or not spam)?
- A.A. Supervised learning - the user-provided labels (spam/not-spam) train the classifier
- B.B. Unsupervised learning - the filter clusters emails without any labels
- C.C. Reinforcement learning - the filter receives a reward each time a user opens an email
- D.D. Self-supervised learning - the filter predicts missing words in emails to learn semantics
Why A is correct
Spam filters retrain on labeled examples: each email marked spam or not-spam by the user becomes a labeled training pair for a supervised classifier. This is the defining characteristic of supervised learning. Unsupervised clustering (B) can discover patterns but cannot directly optimize for the spam/not-spam boundary without labels. RL (C) could theoretically be used but is not how practical spam filters work; user opens are not the right reward signal and the feedback loop is too sparse. Self-supervised learning (D) is used for language model pretraining, not for binary classification with explicit user labels.
Know someone studying for AI Security Fundamentals? Send them this one.