Supervised, unsupervised and semi-supervised outlier detection: differences and when to use each

Quick Overview

Compares supervised, unsupervised and semi-supervised (novelty detection) approaches to outlier detection and asks when to use each one. Tests whether you can match a method to the labels and training data you have and explain how each approach handles anomaly types it has never seen.

Supervised, unsupervised and semi-supervised outlier detection: differences and when to use each

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is the difference between supervised, unsupervised, and semi-supervised (novelty detection) approaches to outlier detection, and when would you use each? ```hint Count the labels For each approach, ask what the training set contains: labeled normals and anomalies, only clean normals, or unlabeled data that may already include anomalies. ``` ```hint Think about new anomaly types Consider which approach can flag an anomaly unlike anything seen in training, and which one cannot. ``` ### What a Strong Answer Covers - The training data each approach needs and the labels it depends on - The assumption each approach makes about what an anomaly looks like, and where that assumption breaks - Concrete situations, with example algorithms, for choosing each approach - How each approach copes with anomaly types that never appeared in training - How to evaluate and set thresholds when labels are scarce ### Follow-up Questions - How would you evaluate an unsupervised outlier detector when you have few or no labels? - How would you choose the contamination rate or alert threshold in production? - Confirmed labels start arriving months after launch. How would you move from an unsupervised detector to a supervised one?

Overview: Compares supervised, unsupervised and semi-supervised (novelty detection) approaches to outlier detection and asks when to use each one. Tests whether you can match a method to the labels and training data you have and explain how each approach handles anomaly types it has never seen.

General logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is the difference between supervised, unsupervised, and semi-supervised (novelty detection) approaches to outlier detection, and when would you use each?

What a Strong Answer Covers Guidance

  • The training data each approach needs and the labels it depends on
  • The assumption each approach makes about what an anomaly looks like, and where that assumption breaks
  • Concrete situations, with example algorithms, for choosing each approach
  • How each approach copes with anomaly types that never appeared in training
  • How to evaluate and set thresholds when labels are scarce

Follow-up Questions Guidance

  • How would you evaluate an unsupervised outlier detector when you have few or no labels?
  • How would you choose the contamination rate or alert threshold in production?
  • Confirmed labels start arriving months after launch. How would you move from an unsupervised detector to a supervised one?