advanced28 min studyLesson 877 in Engineering

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

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.

Robserved=E[ℓ(f(X),Y)∣S=1]need not equalR=E[ℓ(f(X),Y)]R_{\rm observed}=\mathbb E[\ell(f(X),Y)\mid S=1]\quad\text{need not equal}\quad R=\mathbb E[\ell(f(X),Y)]
S denotes label observation for a defined target population and loss. Conditioning on observation can change the input–outcome distribution. This expression does not assert that Y is a well-defined unobserved counterfactual for every action; that must be specified separately.↔ Scroll wide equations horizontally.

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.

R^IPW=1N∑i=1NSiℓie(Xi),e(x)=P(S=1∣X=x)>0\widehat R_{\rm IPW}=\frac1N\sum_{i=1}^{N}\frac{S_i\ell_i}{e(X_i)},\qquad e(x)=P(S=1\mid X=x)>0
N>0 is the full eligible cohort size. Unbiasedness for passive observation requires correct positive inclusion probabilities and conditional independence of observation and loss given X, with integrability. This is not by itself an off-policy causal estimator when actions change outcomes.↔ Scroll wide equations horizontally.

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.

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.

  1. 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.

  2. 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.

  3. 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 result

The two estimates target different observation treatments. Correct weighting can address passive selection with support, while its uncertainty can be substantial.

Explore the model

Interactive lab

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.

Different transition rules generate different future populationsExact 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. Current readings: P(state 1) at step 0: 0%; Stationary P(state 1): 60%; Chain behavior: Monotone convergence. All parameters are adjustable with the labeled controls below.Two-state Markov distribution after 0 steps: state zero probability 1, state one probability 0.Initial distribution (1, 0) · step 0p = 0.3q = 0.201100%0%1−p1−qP(0)P(1)Monotone convergence
P(state 0)P(state 1)Stationary distribution
P(state 1) at step 0
0%
Stationary P(state 1)
60%
Chain behavior
Monotone convergence
t = 0 s

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.

Check your understanding

A deterministic policy never collects labels in one target-input region. What can inverse observation weighting recover there from those logs alone?

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.

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.