Monitoring

For Both Executive and Technical Readers

A prediction engine answers the question it was asked. A model built from explicit mechanisms can answer a second one: should you still trust it right now?

The model was validated once and trusted indefinitely. The world changed.

A model is fitted, validated once, and then trusted indefinitely, until the day the world quietly changes underneath it and the answers keep arriving with the same false confidence. The expensive failures are rarely wrong arithmetic. They are a model that was right last year and is wrong now, still being believed.

Most systems never ask whether they should be believed. An explicit causal model can. Alongside every answer, it runs a second, standing question: are the mechanisms this model encodes still the mechanisms the world is running? When the answer turns to no, the system says so, before the wrong answer reaches a decision.

The operational instantiation of the Learn primitive, continuous drift detection.

Monitoring is the final Cognitive Primitives, Action component and the operational instantiation of the Learn primitive in production. It runs a standing likelihood monitor over incoming observations, distinguishes probabilistic anomalies (rare draws from an intact mechanism) from mechanism drift (the relationship itself has changed), and issues a TrustAlert when the evidence exceeds a drift threshold.

Trust Alert the signal that the model may no longer be trustworthy
FieldWhat it holds
TypeProbabilistic anomaly (the numbers look off) or mechanism drift (a relationship itself has changed)
Affected mechanismWhich edge or parameter triggered the alert
Likelihood trendThe running log-likelihood trend that crossed the drift threshold
Recommended action: investigate, re-elicit, or suspend. Always one of the three, never silent.

The distinction between anomaly types decides what to do. A probabilistic anomaly is a reason to look closer. A mechanism drift is a reason to stop trusting the model until it is re-elicited. Conflating the two produces either false alarms or dangerous silence.

Drift detection timeline showing model predictions tracking reality until a structural change in the world occurs, after which predictions diverge while individual scores remain plausible. Only the model-level monitor detects the shift.

The world changes silently. Individual predictions remain plausible throughout. Only a system with an explicit domain model, one that tracks expected log-likelihood across cases, can detect that the model as a whole has drifted.

Log-likelihood over time. Anomaly vs. drift. Trust gate.

Standing likelihood monitor. For each incoming observation, the model computes the log-likelihood, a measure of how surprising the observation is given the model, of that observation under the current mechanisms. A time series of log-likelihoods that drifts downward signals that the world is becoming harder to predict under the current model.

Anomaly classification. A single low log-likelihood is a probabilistic anomaly, a rare draw. A sustained downward trend is mechanism drift. The monitor distinguishes the two by comparing the observed trend against a control chart with explicit drift thresholds.

Trust gate. When a drift threshold is crossed, the monitor issues a TrustAlert with a recommended action: investigate (the drift may be local), re-elicit (the mechanism has changed and needs expert review), or suspend (the model should not be used for decisions until re-validated). The Pipeline can be configured to block certified outputs when a suspend alert is active.

For decades a rate cut lifted technology equities; the elicited mechanism carries that sign. When the observed regime reverses it, the disagreement is not a rare data point, it is a signal that the mechanism no longer holds.

The one component whose job is to question the others.

Monitoring is the brains watching itself, the one component whose job is to question the others.

There is no .bayes file for Monitoring, it operates on any domain-specific domain model in production. The TrustAlert is a governance artifact: it is logged, versioned, and can trigger a suspension of the pipeline’s certified output until re-elicitation is complete.

# Standing likelihood monitor, running over incoming observations
monitor = Monitor(net, drift_threshold=-2.5)

for obs in incoming_stream:
  alert = monitor.update(obs)
  if alert:
    if alert.type == "mechanism_drift":
      pipeline.suspend() # block certified outputs
      elicitation.schedule_review(alert.affected_mechanism)

Should we still be trusting this model?

Monitoring answers the standing question: should we still be trusting this model?

Has anything changed in the environment that might affect the credit model?
AnyChatMonitoring · drift detection
Running standing likelihood monitor over the last 90 days. Log-likelihood trend on the mechanism “CreditSpread → DefaultRate” has drifted below the threshold over the last 34 observations. This is a mechanism drift signal, not a probabilistic anomaly, the relationship appears to have changed sign. Recommended action: re-elicit this mechanism before using the model for decisions.
Should we suspend the model?
AnyChatTrust gate · suspension
Issuing a TrustAlert with recommended action: suspend on the CreditSpread → DefaultRate pathway. The pipeline will block certified outputs from this mechanism until re-elicitation is complete. Other mechanisms are unaffected. The alert is logged with the affected mechanism, the log-likelihood trend, and the timestamp.
How do you know it is drift and not just a bad run of data?
AnyChatProvenance
The monitor distinguishes the two by trend, not by individual observations. A single low log-likelihood is a probabilistic anomaly. A sustained downward trend over 34 observations is inconsistent with a rare draw from an intact mechanism, it exceeds the drift threshold at p < 0.01. The classification is deterministic. The TrustAlert is attached to the AuditRecord.
Couldn't our MLOps team just set threshold alerts on model performance metrics?
AnyChatRung 2 · drift vs. shift
Threshold alerts fire when a metric crosses a line. They cannot distinguish why it crossed, whether the input distribution has shifted, the underlying relationships have changed, or the population has structurally drifted. Those three causes require different responses: recalibration, retraining, or model replacement. A threshold tells you something is wrong. The causal monitor tells you which mechanism changed, which node in the graph is behaving differently from elicitation, and whether the divergence is within the model’s validity envelope or outside it. Acting on a threshold without that distinction means solving the wrong problem.

The audit trail is the TrustAlert log. Suspension and re-elicitation decisions are part of the audit trail.

Final component in Cognitive Primitives. The only one running continuously.

Monitoring is the final component in the Cognitive Primitives layer and the only one that operates continuously in production. All other components fire on demand; Monitoring runs as a standing process alongside every inference the pipeline makes.

Upstream: the domain model, the AuditRecord stream from Execute, and incoming observations. Downstream: the TrustAlert feeds 12 BPMN Integration (which can block the governance handoff on a suspend alert) and triggers re-elicitation back to 02 Discovery and 03 Evidence. Monitoring is the feedback loop that keeps the domain model honest over time.