Tutorials › Marginal Structural Models › Positivity Failures and Unstable Sequential Updates

Longitudinal Targeted Maximum Likelihood · Tutorial 393 of 501

Positivity Failures and Unstable Sequential Updates

Learn why weak treatment or censoring support amplifies sequential targeting updates, how to quantify that amplification, and which diagnostics and remedies preserve a clear interpretation.

Advanced 12 min read

What You'll Learn

  • Define practical positivity problems for treatment and censoring in longitudinal TMLE.
  • Derive how inverse probabilities amplify clever covariates and their variability.
  • Work through a two-time-point example with compounded treatment and censoring weights.
  • Interpret large score contributions and unstable sequential updates.
  • Compare probability truncation, overlap restriction, and changing the intervention as responses to weak support.
  • Distinguish a practical near-positivity problem from a structural positivity failure.

Why Small Probabilities Matter in Sequential Targeting

Longitudinal TMLE targets a parameter by updating sequential outcome regressions. For a specified treatment regime, the clever covariate in an update includes inverse probabilities for following that regime; when censoring is present, it also includes inverse probabilities of remaining observed. These factors connect the observed data to the histories relevant to the target. If a required treatment or observation probability is close to zero, the corresponding clever covariate can be very large.

The issue is not merely that a number in a fitted model is small. A large clever covariate gives a small number of observations substantial influence on a targeting equation. The resulting update can be sensitive to those observations, to small changes in nuisance predictions, and to the details of the fitting procedure. This tutorial focuses on that instability: how it arises, how to quantify it, and what diagnostics and responses are defensible.

Definition: Let \(A_t\) be treatment at time \(t\), \(H_t\) the measured history immediately before that treatment, and \(d_t(H_t)\) the treatment specified by a deterministic regime. Write \(g_t(d_t(H_t)\mid H_t)=P(A_t=d_t(H_t)\mid H_t)\). Let \(R_t=1\) indicate that the participant remains observed at time \(t\), and let \(c_t=P(R_t=1\mid R_{t-1}=1,H_t,A_t)\). For a participant observed through time \(t\), a common regime-specific clever-covariate factor is \(H_t^*=\prod_{s=1}^t \{I(A_s=d_s(H_s))/g_s(d_s(H_s)\mid H_s)\}\{R_s/c_s\}\). When censoring is absent, the \(R_s/c_s\) factors are omitted. The exact indexing can vary with the sequential regressions being targeted; the defining feature is the cumulative inverse probability of the treatment and observation history required by the intervention.

Identification requires more than a well-fitting regression. In particular, consistency and sequential exchangeability are paired with positivity: histories with positive probability under the target regime must have positive probability of the required treatment and of remaining observed. A structural violation means that some required probability is zero. A practical positivity problem occurs when these probabilities are positive but so small that the available sample contains little information about the relevant histories. No fitted model can create information about a treatment path that the data essentially never contain.

How Inverse Probabilities Amplify Variation

The amplification can be seen at a single time point. Conditional on history \(H_t\), write \(p=g_t(d_t(H_t)\mid H_t)\) and \(X=I(A_t=d_t(H_t))/p\). Provided \(p>0\),

$$ E[X\mid H_t]=1,\qquad \operatorname{Var}(X\mid H_t)=\frac{1-p}{p}. $$

The mean remains one, but the variance diverges as \(p\) approaches zero. The derivation is direct: \(X\) equals \(1/p\) with conditional probability \(p\) and zero otherwise, so \(E[X^2\mid H_t]=p(1/p^2)=1/p\), and subtracting the squared mean gives \(1/p-1\). Censoring contributes the same kind of amplification: \(R_t/c_t\) has conditional mean one and variance \((1-c_t)/c_t\) among those at risk of censoring.

Result: In a two-time-point setting with fixed regime probabilities \(p_1\) and \(p_2\) along the regime path, the treatment-only clever covariate \(W=I(A_1=d_1,A_2=d_2)/(p_1p_2)\) has \(E[W]=1\) and \(\operatorname{Var}(W)=1/(p_1p_2)-1\). If an independent observation indicator with probability \(c\) is also required, replacing \(W\) by \(W_R=I(A_1=d_1,A_2=d_2,R=1)/(p_1p_2c)\) gives \(\operatorname{Var}(W_R)=1/(p_1p_2c)-1\).

Proof. Under the stated fixed-probability setup, the probability of matching both treatment decisions is \(p_1p_2\). Thus \(W\) equals \(1/(p_1p_2)\) with probability \(p_1p_2\), and is zero otherwise. Consequently \(E[W]=1\) and \(E[W^2]=1/(p_1p_2)\), which yields the stated variance. With independent observation probability \(c\), the event defining \(W_R\) has probability \(p_1p_2c\), and the same calculation gives \(E[W_R]=1\), \(E[W_R^2]=1/(p_1p_2c)\), and the claimed variance. \(\square\)

Worked Example: A Rare Two-Treatment Path

Suppose a two-time regime requires treatment \(A_1=1\) and then \(A_2=1\). Along the relevant history, let \(P(A_1=1)=0.20\) and \(P(A_2=1\mid A_1=1)=0.05\). The probability of matching the regime is \(0.20(0.05)=0.01\). A matching participant has clever covariate \(1/0.01=100\), while a nonmatching participant has value zero.

The mean of this factor is \(0.01(100)=1\), but its second moment is \(0.01(100^2)=100\), so its variance is \(100-1=99\). Now suppose only 10% of participants on this path remain observed. The probability of a matched, observed path is \(0.01(0.10)=0.001\), and the corresponding factor is \(1/0.001=1000\). Its variance is \(0.001(1000^2)-1=999\). Each inverse probability has a simple mean correction, but their product can leave very little effective information in the observed data.

A key feature of a sequential update is that the large factor multiplies a residual in the targeting score. For a binary outcome regression with fitted value \(Q\), a logistic fluctuation commonly uses a linear predictor of the form \(\operatorname{logit}(Q)+\epsilon H_t^*\). Its score contribution for an observation is proportional to \(H_t^*(Y-Q^\epsilon)\). A large \(H_t^*\) can therefore make that observation influential in determining \(\epsilon\). The update is sequential: changes to a regression at one time can also affect the pseudo-outcomes or fitted values used at earlier times. Near-positivity can consequently show up as unstable changes across several targeting steps, not just as one conspicuous weight.

Worked Example: A High-Leverage Score Contribution

Consider a single binary-outcome targeting update with initial prediction \(Q=0.50\), observed outcome \(Y=1\), and clever covariate \(H^*=50\). At \(\epsilon=0\), the logistic score contribution is \(H^*(Y-Q)=50(1-0.50)=25\). The negative derivative of that score with respect to \(\epsilon\), evaluated at zero, is \(H^{*2}Q(1-Q)=50^2(0.50)(0.50)=625\).

A one-step Newton approximation is therefore \(\epsilon_{\text{new}}=0+25/625=0.04\). Although this parameter increment looks small, the linear predictor for this observation changes by \(H^*\epsilon_{\text{new}}=50(0.04)=2\). Its updated prediction is \(\operatorname{expit}(\operatorname{logit}(0.50)+2)=\operatorname{expit}(2)\), approximately \(0.881\). This calculation illustrates leverage: the update parameter is multiplied by the large clever covariate. It is a one-step approximation, not a claim that one observation determines the full-sample fitted update.

Diagnosing Instability in Practice

Diagnostics should examine the probabilities and the resulting cumulative covariates, not only the final estimate. In particular, inspect treatment probabilities for the regime decision at each time, observation probabilities among those still at risk, and the cumulative clever covariate at every targeted regression. Summaries such as minimum and lower-tail probabilities, upper quantiles of the cumulative covariate, and the largest individual score contributions can reveal whether a small set of records dominates the update.

A useful supplementary summary is the weight-based effective sample size, \(n_{\mathrm{eff}}=(\sum_i H_i^*)^2/\sum_i(H_i^*)^2\), when the covariates being summarized are nonnegative. It is a diagnostic of concentration, not a replacement for the sampling variance of the estimator. Also compare fitted predictions and the target estimate before and after targeting, and check whether small changes in nuisance fits or probability bounds produce large changes in the result. A large maximum alone is a warning, not a universal cutoff; its importance depends on how often large values occur and on their associated residuals.

Worked Example: Probability Truncation Changes the Update

Suppose a regime probability is estimated as \(0.01\) for one history. The corresponding inverse factor is \(1/0.01=100\). If probabilities are floored at \(0.05\) before forming the factor, the value becomes \(1/0.05=20\), a fivefold reduction. For the same residual \(Y-Q=0.30\), the score contribution falls from \(100(0.30)=30\) to \(20(0.30)=6\).

The reduction may make the numerical update less sensitive to that record, but it is not free: the truncated factor no longer has conditional mean one at a history whose true regime probability is \(0.01\), since \(0.01(20)=0.20\). Thus the original inverse-probability correction is changed. Truncation is a bias–stability choice, not a way to recover the information that weak overlap failed to supply. Results should state the bound used and examine sensitivity to plausible alternatives.

Responses, Alternatives, and Limits

Several responses address different problems and should not be treated as interchangeable. First, check coding, time indexing, and fitted probabilities: an apparent extreme value can come from a history encoded incorrectly or a probability computed for the wrong treatment. If the model is correct but estimates are noisy, improved nuisance estimation or additional data may help, although neither removes a genuine lack of support. Probability truncation can limit leverage but changes the estimating equation, as the example showed.

Restricting analysis to a population with better overlap can improve stability, but generally changes the target population and therefore the estimand. Changing a deterministic regime to a stochastic intervention can sometimes reduce demands for unsupported treatment decisions; it changes the intervention being evaluated, so the result answers a different question. The appropriate response depends on the scientific target, not only on which choice produces a more stable estimate. Unlike an analysis that simply omits the targeting step, a targeted estimate still faces the same weak-support limitation: targeting does not manufacture observations in rare histories.

A structural zero is especially consequential. If the intervention requires a treatment that never occurs for a history with positive probability, the observed data do not identify the regime-specific outcome there without additional assumptions. A numerical algorithm may still return a value, but that does not establish identification. With near-zero probabilities, the target may be identified in principle yet estimated imprecisely in the available sample. In either case, report the support diagnostics, the treatment and censoring models used, and sensitivity to any stabilization choice.

A common mistake is to see a finite targeted estimate and conclude that positivity must have been adequate. The reasoning is wrong because finite software output only shows that the fitted calculations completed; it does not show that the target histories were represented well. The correction is to inspect the probabilities, cumulative clever covariates, and score contributions, and then assess whether the scientific target is supported by the observed histories.

Key takeaway: Small treatment or censoring probabilities create large sequential clever covariates, and their products can concentrate the targeting update on a few observations. Diagnose that concentration explicitly; any truncation, restriction, or intervention change should be described as a substantive choice with consequences, not as a numerical fix that preserves everything.

Check Your Understanding

Answer each question, then compare your reasoning with the brief solutions.

  1. If a required treatment has probability \(0.10\) at one time point, what is the conditional variance of its inverse-probability factor?
  2. In the two-time example, what is the treatment-only clever covariate for a participant who does not match the regime?
  3. Why can a small targeting parameter \(\epsilon\) still produce a large prediction change for an observation?
  4. What is one inferential consequence of truncating a probability of \(0.01\) to \(0.05\)?
  5. Does a finite estimate establish that a structural positivity violation is harmless? Explain.

Solutions. (1) The variance is \((1-0.10)/0.10=9\). (2) It is zero because the indicator that the participant follows the full regime is zero. (3) The linear predictor changes by \(H^*\epsilon\), so a large clever covariate can magnify a small increment. (4) The inverse factor changes from 100 to 20, and the truncated factor no longer has conditional mean one at that history; this can trade bias for reduced instability. (5) No. Finite output does not supply information about a required treatment path that has probability zero; identification needs additional assumptions or a different target.

Clinical Biostats