learn-anomaly-detection-with-phoebe / Leader session 2 of 6
Learn Anomaly Detection with Phoebe · Leader track · Session 2 of 6

Types of anomalies: point, contextual, and collective, in plain English

Not every anomaly is the same shape, and that matters more than it sounds. There are three kinds - one stands out on its own, one is only wrong for its context, and one is a whole run that goes wrong together. Knowing which kind you are hunting tells you whether a simple detector will ever see it. No math tonight, just the three shapes and why the shape decides the tool.

🟢 Leader track Leaders: PM · biz · product No code · concepts + decisions 15 min read
0-3 · Recap 3-22 · The three types 22-40 · Why the type picks the tool 40-45 · Q&A
Part 0

Where we are

Last session we settled the one idea - flag the point that does not belong - and the trade-off you price on every project: cost of a miss against cost of a false alarm. Tonight we get sharper about what "does not belong" actually means, because it comes in three flavours. The canonical survey (Chandola, Banerjee & Kumar, 2009) names them point, contextual, and collective. The reason a leader cares is practical: the type decides which detector can even see the anomaly, so getting the type wrong is how detection projects quietly fail.

Live - presented in session Self-study - read after class Sources covered (cited)
★ What you walk out with today The three anomaly types in plain language, an everyday example of each, and the single most useful rule of thumb in this course: match the detector to the type. Point anomalies are easy; contextual and collective ones are where the real work - and most of the missed fraud and missed outages - live.
Part 1 · covers the Chandola et al. taxonomy

The three types, on one series 8 min live

Here is the whole taxonomy on a single line of Lumen's daily web traffic. Watch how differently the three kinds behave: one leaps off the chart, one hides in plain sight at a perfectly normal value, and one only reveals itself as a stretch.

One traffic line, three kinds of "does not belong" Point a huge spike, on its own Contextual normal value, wrong day Collective a run that is wrong together Same series - three very different problems for a detector to catch.
🔍 Click to zoom - point, contextual, and collective anomalies on one series
LiveThe three types, in one sentence each4 min▶
  • Point - a single value far from everything else. The easy case. Example: a card suddenly charged $9,000 when this cardholder never breaks $200. It stands out on its own, so even a crude threshold catches it.
  • Contextual - a value that is perfectly normal in general, but wrong for this context. Example: a quiet Tuesday. Tuesday traffic at a Sunday level is not a strange number - plenty of days sit there - but for a Tuesday it is alarming. You cannot see it without knowing "it is a Tuesday".
  • Collective - no single point looks wrong, but a run of them together is. Example: a slow leak - a tank that drips a little longer each hour. Any one reading is plausible; the sustained stretch is the anomaly. You have to look at the window, not the point.

Notice the difficulty climbs as you go down the list. Point anomalies are the ones everyone already catches. Contextual and collective are where the fraud, the slow outages, and the subtle defects hide - and where the rest of this course earns its keep.

Our running brand

Lumen carries all three. The bot surge that triples one day's sessions is a point anomaly - obvious. The weekday sitting at a weekend-low level is contextual - the number is fine, the day is not. And a sustained odd run of elevated evenings would be collective - no single hour alarming, the stretch unmistakable. One brand, one metric, all three shapes.

Part 2 · the type most detectors miss

Why context changes everything 5 min live

Contextual anomalies deserve their own moment, because they are the ones simple detectors are blind to - and the ones that cause the most expensive misses. The trap is that the value looks completely normal. The exact same number can be perfectly fine on one day and a red flag on another.

Same value - 400 sessions - two verdicts On a WEEKEND expected weekend range 400 sits right in the band - normal On a WEEKDAY expected weekday range 400 is far below - anomaly The number never changed - only the context did. This is why you deseasonalize before flagging. A global detector sees one value, calls it normal both times, and misses the weekday drop entirely.
🔍 Click to zoom - the same value, normal on a weekend, an anomaly on a weekday
Self-studyWhy the type decides the detector3 min read▶

This is the single most useful rule in the course, and it is why one detector is never enough:

  • Global methods (a simple threshold, a z-score) only ask "is this value extreme overall?" They catch point anomalies beautifully and miss contextual ones completely - the value is not extreme, only wrong for its day.
  • Context-aware methods first strip out the expected pattern (the weekly rhythm) and then look at what is left. Now the quiet Tuesday finally stands out. This is what "deseasonalize before flagging" means.
  • Window methods look at stretches of points rather than one at a time, which is the only way to catch a collective anomaly - a run where no single point is alarming.

So when a team proposes a detector, the leader's question is simple: which type are we trying to catch, and can this method even see it? A mismatch there is a guaranteed miss, no matter how sophisticated the model sounds.

Part 3 · the one-glance rule of thumb

Which type points to which kind of method 3 min live

You do not need to know the algorithms yet (that is a3). You only need the mapping - which shape of anomaly calls for which broad kind of detector. Keep this picture; it is the spine of the whole method discussion.

Point anomaly stands out on its own Global threshold - a z-score or IQR on the raw value the easy case; most teams already do this Contextual anomaly wrong for its context Deseasonalize first - remove the weekly pattern, then flag global methods are blind here - this is where misses hide Collective anomaly a run, wrong together Window methods - judge a stretch, not a single point needed for slow leaks and sustained odd runs
🔍 Click to zoom - which anomaly type calls for which kind of method
The leader's one question Whenever someone proposes an anomaly detector, ask which of the three types it is built to catch - and whether the anomalies you actually care about are that type. A global threshold aimed at a contextual problem will look busy, pass its demo, and miss the thing that matters. The next session (a3) walks through the method families themselves, still without math.
Homework

Try it yourself - this week ◐ 20-30 min total

Source material

Sources covered (cited)

Taught from the anomaly-detection canon. This session covers:

✓Chandola, Banerjee & Kumar (2009), "Anomaly Detection: A Survey," ACM Computing SurveysParts 1-3 · the point / contextual / collective taxonomy and why the type constrains the method
Check yourself

Three questions before you go 🎯 ◐ 90 seconds

1 · A card is charged $9,000 when this cardholder never breaks $200. Which type of anomaly is that?

One value far from the rest, standing out on its own, is a point anomaly - the easy case a simple threshold can catch.

2 · Why do simple global detectors miss contextual anomalies?

A quiet Tuesday sits at a value plenty of days share. Only by removing the weekly pattern (deseasonalizing) does the wrong-for-its-day dip stand out.

3 · A slow leak where each hourly reading is plausible but the sustained stretch is wrong is which type?

Collective anomalies live in the window, not the point. You need methods that judge a stretch, because no single reading looks wrong.

Leader session 2 cheat sheet · pin this

Pointa single value far from the rest. The easy case - a global threshold catches it.
Contextualnormal value, wrong context (a weekday at a weekend level). Deseasonalize first.
Collectivea run that is wrong together, though no single point is. Needs window methods.
Everyday examplesa huge fraud charge (point), a quiet Tuesday (contextual), a slow leak (collective).
The type picks the toolmatch detector to type, or you get a guaranteed miss.
Global methodscatch point anomalies, blind to contextual ones.
Where misses hidecontextual and collective - the fraud, slow outages, and subtle defects.
The leader's questionwhich type is this detector built for, and is that the type I care about?
Next sessiona3 - the method families, without math: statistical to ML to deep.