Skip to content
StackDecode
System Design
19. AI System Design and LLM InfrastructureAnimated

Model Monitoring

Watching a model after deployment.

The idea

Track accuracy, drift, latency and fairness, and alert when quality drops.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

PredictionsLogDrift detectorQuality (labels…Alerts + retrain
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Log inputs and predictions.

step:
1/4
at:
Predictions
1/8

The green dot is a request moving through the system.

Step by step

  1. 1Log predictions
  2. 2Compare input distributions
  3. 3Track quality when labels arrive
  4. 4Trigger retraining

Where it is used

Production ML.

Watch out for

Labels often arrive late.

Related