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

The team and the pipeline: who does what (R&R)

A detector is not a model - it is a relay of people. This session maps the five roles that make anomaly detection work and the artifact each one hands to the next: the analyst labels and baselines, the data scientist builds and tunes, engineering streams it, on-call responds, and everyone monitors. The twist that makes detection special is the loop at the end - what on-call decides about each alert flows back and retrains the detector.

🟡 Leader track Leaders: PM · biz · product No code · concepts + decisions ~45 min
0-3 · Welcome 3-22 · The relay + its hand-offs 22-40 · RACI + the feedback loop 40-45 · Q&A
Part 0

The one idea for today

The most common way an anomaly-detection project fails is not a bad model - it is a broken relay. The data scientist ships a detector that never gets served; the alerts fire into a channel no one owns; on-call mutes them and no one hears; the confirmations of "real" or "false" evaporate instead of improving the detector. Detection is a five-role relay, and the value lives in the hand-offs between roles. This session names the roles, the artifact each passes on, and the one loop - unique to detection - that turns responses back into a better detector.

Live - presented in session Self-study - read after class Sources covered (cited)
★ What you walk out with today The five roles of a detection pipeline (analyst → data scientist → ML engineer/DevOps → on-call/ops → monitoring), the concrete artifact each hands to the next, a RACI grid you can drop onto your own org, and a clear grip on the feedback loop that most teams forget to build - the one that turns every alert disposition into training signal.
Part 1 · the pipeline as a relay

Five roles, five hand-offs 12 min live

Follow the baton. Each role does its part and hands a specific artifact to the next - labels and a baseline, then a tuned detector, then live alerts, then triaged incidents, then a health view. Miss any hand-off and the relay stalls. The numbers in brackets map each role to the builder-track sessions where it lives.

The baton passes an artifact at every hand-off Data Analyst profiles history, labels incidents [b1,b2] labels + baseline detector Data Scientist builds & tunes, sets threshold [b3-b9] tuned detector + threshold ML Eng / DevOps streams on live data, routes alerts [b10] streaming alerts On-call / Ops responds; marks real or false [b10] triaged incidents + feedback Monitoring led by DS: still catching? crying wolf? health dashboard Feedback loop: on-call dispositions flow back to retrain and retune the detector
🔍 Click to zoom - the five-role relay and the feedback loop
LiveThe relay, role by role4 min▶
  • Data analyst - profiles the history, labels the incidents everyone remembers, and ships a plain baseline detector (a z-score or seasonal rule). Hands off: labels + a baseline. This is the honest bar everything later must beat. [b1, b2]
  • Data scientist - builds and tunes the real detector - statistical, ML, or deep - and, critically, sets the threshold on a precision/recall trade-off. That threshold is a business decision dressed as a technical one. Hands off: a tuned detector and a threshold. [b3-b9]
  • ML engineer / DevOps - takes the detector off the notebook and streams it: runs detection on live data and routes each alert to a channel someone owns. Hands off: streaming alerts. [b10]
  • On-call / ops - the humans who receive the alerts, respond, and - the part teams forget - record whether each one was real or a false alarm. Hands off: triaged incidents + feedback. [b10]
  • Everyone, led by the data scientist - monitors the detector itself: is it still catching real anomalies, and is it crying wolf? Hands off: a health dashboard. [b10]
Self-studyWhere relays snap2 min read▶

Each hand-off is a place the whole system can quietly break:

  • Analyst → DS - no labels, so no one can measure whether the detector is any good. The DS flies blind.
  • DS → engineering - a great notebook detector that is never served. It scores well in a slide and catches nothing in production.
  • Engineering → on-call - alerts fire into an unowned channel. Everyone assumes someone else is watching.
  • On-call → back to DS - the disposition of each alert is never captured, so the detector never learns. This broken loop is the most common and most damaging gap.
Part 2 · who is on the hook

The RACI grid 7 min live

The relay tells you the order; RACI tells you who owns each step. R does the work, A is accountable for the outcome, C is consulted. Notice the diagonal: accountability moves along the relay, and the data scientist stays consulted almost everywhere - because the threshold and the detector's health are theirs to defend.

The RACI grid: who is Accountable at each step Analyst Data Scientist ML Eng/DevOps On-call/Ops Label + baseline R / A C - - Build, tune, threshold C R / A C - Stream + route alerts - C R / A C Respond (disposition) - C C R / A Monitor the detector C A C R Walk every row: each must have exactly one A. "Monitor the detector" is the row that usually goes orphaned.
🔍 Click to zoom - accountability walks the relay, but the DS stays consulted almost everywhere
StepAnalystData ScientistML Eng / DevOpsOn-call / Ops
Label history + ship baselineR / AC--
Build + tune detector, set thresholdCR / AC-
Stream detection + route alerts-CR / AC
Respond to alerts (disposition)-CCR / A
Monitor the detectorCACR
The threshold is not just a model dial When the data scientist sets the threshold, they are choosing how often on-call gets paged versus how many real anomalies slip through. That is a business trade-off (precision vs recall, session 5), so the DS is accountable for it but should set it with the people who live with the alerts - which is why they are Consulted right across the grid.
Self-studySmall team? One person wears several hats2 min read▶

The grid names five roles, not five people. On a small team one analyst-turned-data-scientist may cover the first two columns, and a platform engineer may own serving and monitoring both. That is fine - what matters is that every step has a clear Accountable, not that every role has a distinct headcount. Two rules survive any team size:

  • No orphan steps. Walk the five rows and check each has exactly one A. The row that usually goes orphaned is "monitor the detector" - everyone assumes the model still works until it quietly stops.
  • Never merge the loop away. Even when one person plays both on-call and data scientist, the disposition still has to be written down, not just remembered. The feedback loop is a data flow, not a conversation - if it lives only in someone's head, it is already lost.

The point of RACI here is not bureaucracy; it is to surface the two gaps that sink detection projects - an unowned monitoring step and an uncaptured feedback loop - before they cost you a missed outage.

Part 3 · the loop that makes detection special

On-call feedback retrains the detector 6 min live

Here is what makes an anomaly pipeline different from an ordinary dashboard: the last role feeds the first. Every time on-call marks an alert "real" or "false alarm," they are creating exactly the labelled data the whole system was starving for. Captured, that disposition becomes precious training signal - the false alarms teach the detector to fire less, the confirmed hits teach it what a real one looks like. Left uncaptured, the detector never improves and slowly drifts into noise.

Real world

Lumen's on-call loop. An alert fires: sessions dropped hard at 2am. On-call checks, finds a CDN outage - real - and marks it. Next week a similar-looking dip fires; on-call finds a scheduled maintenance window - false alarm - and marks that too. Those two dispositions flow back to the data scientist, who now has labelled examples to retune the threshold and add a maintenance-window rule. Without that loop, the same false alarm fires every month until on-call mutes the whole channel - and then the next real outage goes unseen. The feedback loop is not a nice-to-have; it is what keeps the detector alive.

Two Lumen alerts, two dispositions, one better detector Week 1: real alert 2am session drop fires On-call finds a CDN outage Marked real - retunes threshold Week 2: false alarm Similar-looking dip fires On-call finds scheduled maint. Marked false - adds a rule Without the loop, the same false alarm fires monthly until on-call mutes the whole channel.
🔍 Click to zoom - every disposition, real or false, is training signal the detector needs
Self-studyWhy this loop is unique to detection2 min read▶

In most analytics, the humans consume the output and that is the end of the line. In detection, the humans are the label source. Because true anomalies are rare and their truth only emerges through investigation, the on-call disposition is often the only ground truth the system will ever get. That is why the loop matters so much more here than in a normal reporting pipeline - and why the single most valuable thing a leader can do is make sure alert dispositions are captured, not lost. If your pipeline has no path from on-call back to the detector, you do not have a detection system; you have an alarm no one can improve.

Homework

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

Source material

Sources covered (cited)

This session is drawn from applied detection practice, with the evaluation framing that anchors the roles:

✓Industry detection practice (analyst → DS → engineering → ops → monitoring relay)Parts 1-3 · the five roles, hand-off artifacts, and the RACI grid
◐Numenta Anomaly Benchmark (NAB, Lavin & Ahmad 2015)Part 3 · streaming detection and the cost of alert fatigue that the loop guards against
Check yourself

Three questions before you go 🎯 ◐ 90 seconds

1 · The data scientist hands the ML engineer a tuned detector. What did the analyst hand the data scientist first?

The analyst profiles history, labels the incidents, and ships a baseline - the honest bar the data scientist's detector must beat.

2 · What makes the anomaly-detection pipeline different from an ordinary reporting dashboard?

Detection has a feedback loop: on-call marking alerts real or false creates the scarce labelled data that improves the detector. That loop is the defining feature.

3 · Who is accountable for the alert threshold, and why is it a business decision?

The threshold is a precision/recall trade-off. The data scientist owns it but sets it with the people who live with the alerts, which is why they are consulted across the grid.

Leader session 4 cheat sheet · pin this

Detection is a relayfive roles, and the value lives in the hand-offs between them.
Analystprofiles + labels history, ships a baseline. Hands off: labels + baseline. [b1,b2]
Data scientistbuilds + tunes, sets the threshold on a precision/recall trade-off. Hands off: tuned detector. [b3-b9]
ML eng / DevOpsstreams detection on live data, routes alerts. Hands off: streaming alerts. [b10]
On-call / opsresponds, marks real or false. Hands off: triaged incidents + feedback. [b10]
Monitoring (led by DS)still catching? crying wolf? Hands off: a health dashboard. [b10]
The feedback loopon-call dispositions flow back and retrain the detector - unique to detection, and the most-forgotten piece.
Next sessiona5 - measuring detection: precision, recall, and why accuracy lies on rare events.