What is novelty detection, and how does it differ from unsupervised outlier detection on contaminated data?

Quick Overview

Asks what novelty detection is and how training an anomaly detector on known-clean data differs from finding outliers inside a contaminated dataset. Tests your grasp of the assumptions behind each setting, how contamination distorts estimates, and practical method choices.

What is novelty detection, and how does it differ from unsupervised outlier detection on contaminated data?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is novelty detection, and how does fitting a detector on known-clean data differ from unsupervised outlier detection on contaminated data? ```hint Compare the assumptions For each setting, ask what the training set is assumed to contain and which points the detector is asked to judge. ``` ```hint Contamination Think about what a handful of extreme points does to a mean and standard deviation estimated from the same data. ``` ### What a Strong Answer Covers - The assumption about the training data in each setting and where the anomalies are expected to be - How the training and scoring workflow differs between the two settings - How contamination distorts the learned notion of normal, and how to guard against it - Practical method choices, such as a contamination setting or a library's novelty mode - When the "known-clean" assumption is itself risky ### Follow-up Questions - How would you set the decision threshold for a novelty detector when you have no labeled anomalies? - Your supposedly clean training set turns out to contain 2% anomalies. What happens to a one-class SVM, and how would you adjust? - How do you evaluate an outlier detector when labels are scarce or missing? - Normal behavior shifts a few months after the detector is trained. How do you keep a novelty detector from flagging everything?

Overview: Asks what novelty detection is and how training an anomaly detector on known-clean data differs from finding outliers inside a contaminated dataset. Tests your grasp of the assumptions behind each setting, how contamination distorts estimates, and practical method choices.

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

What is novelty detection, and how does fitting a detector on known-clean data differ from unsupervised outlier detection on contaminated data?

What a Strong Answer Covers Guidance

  • The assumption about the training data in each setting and where the anomalies are expected to be
  • How the training and scoring workflow differs between the two settings
  • How contamination distorts the learned notion of normal, and how to guard against it
  • Practical method choices, such as a contamination setting or a library's novelty mode
  • When the "known-clean" assumption is itself risky

Follow-up Questions Guidance

  • How would you set the decision threshold for a novelty detector when you have no labeled anomalies?
  • Your supposedly clean training set turns out to contain 2% anomalies. What happens to a one-class SVM, and how would you adjust?
  • How do you evaluate an outlier detector when labels are scarce or missing?
  • Normal behavior shifts a few months after the detector is trained. How do you keep a novelty detector from flagging everything?