Monitor the population that the decision policy lets you observe
Identify selective labels and action-induced feedback, and scope inverse-observation weighting to its actual identification assumptions.
On this page
The question for today
What you’ll understand
- Distinguish missing labels from outcomes changed or defined by an action.
- Calculate an inverse-observation weighted loss estimate under explicit assumptions.
- Explain why zero observation probability and policy feedback block naive monitoring conclusions.
A model often influences which outcomes become visible. Reviewers inspect flagged transactions, recommenders expose selected items, and lenders observe repayment only for issued loans. Performance measured on these records describes a policy-selected population. Retraining on the same feedback can reinforce that selection. A monitor must record the action and observation process alongside predictions, and distinguish a missing measurement of an existing target from an outcome that the decision itself changes.
Selection can alter the evaluated population
Let S indicate whether a target label is observed. Accuracy conditional on S=1 need not equal accuracy over all eligible requests. If reviewers choose difficult cases using information absent from the stored features, observed labels can remain selective even after conditioning on those features. Logging a prediction score does not automatically record every factor that influenced review. Track the policy version, review assignment, observation probability when known, and unresolved cases. Compare label coverage across score bands and groups before interpreting any change in the labeled population's quality.
Some decisions do more than reveal a preexisting label. A loan's repayment under issuance is not an observed outcome for a rejected applicant, and blocking an action can prevent the event being predicted. Such questions require a specified potential outcome or policy-value estimand, consistency, relevant exchangeability assumptions, and action support. Inverse observation weights for passive missing labels do not manufacture counterfactual outcomes. A safe audit or randomized observation program may improve identification, but it must measure the intended target without silently changing its meaning or introducing a different intervention.
Observation weighting needs exchangeability and support
For a passive label-observation setting, suppose the target outcome exists for every eligible request and observing it does not alter it. If observation is conditionally independent of the loss given recorded X, and every relevant X has a known positive observation probability e(X), an inverse-probability total divided by the full eligible population size is unbiased for that population's mean loss under the observation design. The denominator is the number of eligible requests, not the number of observed labels. Unobserved outcomes contribute zero through S, without being declared correct or negative.
Small observation probabilities produce large weights and potentially large variance. If a policy never labels a region, its zero probability violates support and prevents this estimator from recovering that region's risk. Estimated probabilities introduce further modeling and estimation issues; clipping weights changes the estimator's bias properties. Even with exact probabilities, an unbiased finite-sample estimate can fall outside the loss's usual range because a rare observed case receives a large expansion weight. Report uncertainty and coverage, and avoid describing a single weighted estimate as the known full-population truth.
Feedback changes the next population too
A deployed recommendation or pricing policy can change future user behavior, creating a distribution that depends on the policy. A decline in observed error after a rollout may reflect changed exposure, easier selected cases, or an actual improvement. Monitor exposure and policy assignment as well as labels, and retain a defensible comparison design where the deployment question needs causal evidence. Repeatedly retraining on policy-shaped data does not universally converge to a desirable system; convergence and quality results in performative prediction require particular structural assumptions.
The Markov instrument illustrates how transition rules change future state occupancy. Reset, set p=0.20 and q=0.20, predict state-one probability 0.32 after two transitions, then take two Steps. Separately Reset, set p=0.20 and q=0.80, predict probability 0.20 after two transitions, then take two Steps. Each Step adds half a second and one transition; the initial distribution is entirely state zero. These are exact probabilities, not sampled people or policy outcomes. The illustration contains no causal identification, review selection, or inverse weighting, so it only motivates tracking the mechanism generating future observations.
Work it through
A rare audit changes the expansion weight
A fixed cohort contains ten requests: five in group A with passive label-observation probability one, and five in group B with probability 0.20. Outcomes are unaffected by observation and the design probabilities are correct. All five A labels are seen, with two errors; one B label is seen, and it is an error. Compute naive observed error and the inverse-observation estimate.
There are six observed labels and three observed errors, so the naive labeled-only error is 3/6=0.50. It gives the single observed B request the same contribution as each fully observed A request.
The two observed A errors each have weight one. The observed B error has weight 1/0.20=5, making the weighted error total 2+5=7.
Divide by all ten eligible requests: the inverse-observation estimate is 7/10=0.70. This is a design-based estimate under the assumptions, not knowledge that exactly seven of the ten requests were errors.
The two estimates target different observation treatments. Correct weighting can address passive selection with support, while its uncertainty can be substantial.
The living notebook
Explore the model
Interactive lab · markov
Different transition rules generate different future populations
Reset, set p=0.20 and q=0.20, predict P(state 1)=0.32 after two transitions, then take two Steps. Separately Reset, set p=0.20 and q=0.80, predict P(state 1)=0.20, then take two Steps. The chain starts in state 0 and Step advances one transition. These exact probabilities illustrate mechanism-dependent occupancy, not selective-label correction or causal policy evaluation.
- P(state 1) at step 0
- 0%
- Stationary P(state 1)
- 60%
- Chain behavior
- Monotone convergence
Exact finite-step probabilities for a two-state chain starting in state 0, not sampled trajectories. Playback advances two transitions per second. When p = q = 0 every distribution is stationary; when p = q = 1 the chain alternates forever. A single zero transition creates an absorbing state. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forThe observation-generating mechanism belongs in the monitoring record.
Pause & reason
Check your understanding
Your turn
Try it yourself
A passive audit targets twenty eligible requests. Two observed errors have known inclusion probabilities 0.25 and 0.50; all other observed losses are zero. Under the stated exchangeability and support assumptions, calculate the inverse-observation mean-loss estimate and name one reason it could still be unreliable.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Expand the two error contributions, then divide by twenty rather than by the observed-label count.
Compare with the solution
The weighted error total is 1/0.25+1/0.50=4+2=6, giving estimated mean loss 6/20=0.30. Large or estimated weights can create substantial uncertainty, hidden factors can violate conditional exchangeability, and action-induced outcomes require a different causal estimand. The arithmetic alone does not validate those assumptions.
Keep the idea
Take it with you
- Observed-label quality can describe a policy-selected subset rather than all requests.
- Inverse observation weighting needs an unchanged target, exchangeability, correct probabilities, and positive support.
- Actions can reshape future data and require a causal evaluation design.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.