From DR-Learner and Dragonnet to AutoDML: how prediction error affects policy decisions
Connect doubly robust correction, cross-fitting, Dragonnet and Riesz regression; distinguish average effects, customer ranking and policy value, then examine response calibration in lending.
Contents · 12 sections
When modeling credit limit and term responses, factual prediction metrics may look reasonable. Yet changing a customer's limit and using the difference between two predictions for policy decisions may still be unreliable.
This note follows prediction → effects → decisions. It explains which errors causal corrections address, connects three methods, and considers their roles in response calibration, eligibility and limit optimization. Numerical examples are constructed. Business applications are deductions from earlier workflow designs, with no new training or online experimental results.
Why can effects be wrong when predictions look accurate?
Let A be binary: A=1 is the new offer and A=0 the control. X contains pre-action customer features; Y is an outcome with an explicitly defined observation window.
| Notation | Meaning | One credit interpretation |
|---|---|---|
| μₐ(X)=E[Y|A=a,X] | Conditional outcome mean | Expected outcome under an offer, given customer features |
| e(X)=P(A=1|X) | Propensity score: action assignment probability | Probability that this customer receives the new offer |
| τ(X)=E[Y(1)−Y(0)|X] | Conditional average treatment effect, CATE | Average change after switching offers for customers with these features |
| ψ=E[τ(X)] | Average treatment effect, ATE | Average change across the target population |
If Y is a default event, negative τ means lower risk. If Y is net return, positive τ means higher return. Fix this direction before discussing ranking.
Causal interpretation requires consistent action definitions, no relevant interference, no uncontrolled confounding conditional on X, and a positive chance of both actions in the target population. Conditional exchangeability in observational data is an assumption, not something a model score proves. Under the conditions, τ(X) can be written as μ₁(X)−μ₀(X).Treatment effect setup in DML
Subtracting predictions is a natural plug-in estimator. S-Learner can input different A values to one model and obtain two predictions; it is not inherently biased. Finite samples, regularization, specification and training objectives can, however, accumulate errors in their difference. With few new-offer samples, good overall prediction can coexist with an overly flat action response.
Distinguish two problems:Prediction errors can affect estimation even when identification holds. When identification fails, correcting prediction error cannot restore missing causal information. Influence functions help construct corrections and analyze uncertainty; they are not a source of bias.
DR correction: combine model predictions with observed residuals
First treat nuisance models as fixed functions, using tildes for their estimates. Construct this signal:
Γ̃ = μ̃₁(X) − μ̃₀(X) + A/ẽ(X) · [Y − μ̃₁(X)] − (1−A)/(1−ẽ(X)) · [Y − μ̃₀(X)]The first term is the predicted difference. The other terms reweight residuals under the action actually taken by its probability. Rare-action observations represent more similar customers, receiving larger weights that can also amplify noise.
Averaging Γ̃ gives an AIPW/DR estimate of ATE. Regressing Γ̃ on X in a second stage enters DR-Learner's CATE estimation. At the true nuisance functions, centered Γ−ψ is the efficient influence function for ATE. These objects are connected but have different outputs and uses.Constructing DR-Learner
Γ̃ is a noisy pseudo-outcome, not an observed causal label for each customer. Even with binary Y, it can lie outside [−1,1]. Do not clip it into a probability or interpret a large individual Γ̃ as a certain policy opportunity.
Why doubly robust? Expand the conditional expectation
Let μ₁, μ₀ and e be the true functions, with outcome-model errors δ₁=μ̃₁−μ₁ and δ₀=μ̃₀−μ₀. Conditional on X:
E[Γ̃ | X] = μ̃₁ − μ̃₀ + e/ẽ · (μ₁−μ̃₁) − (1−e)/(1−ẽ) · (μ₀−μ̃₀)
E[Γ̃ | X] − τ(X) = (ẽ−e) · [ δ₁/ẽ + δ₀/(1−ẽ) ]The identity shows zero conditional-mean bias if either the propensity score is correct or both outcome means are correct. With errors on both sides, their product remains. The fitted functions are treated conditionally; independent evaluation or appropriate sample splitting clarifies this interpretation.
Double robustness describes the estimator's structure and corresponding consistency properties. Finite-sample variation remains, and two incorrect models have no automatic safety net. Near-absent actions can still produce poor weights and high variance.
A reproducible example
Consider one customer type. The true new-offer assignment probability is 25%; outcome means are 10% and 20%, so the true effect is −10 percentage points. Only model estimates change below, not the data-generating mechanism.
| Estimated outcomes: new / control | Estimated assignment probability | Predicted difference | Expected DR signal | Bias versus the true effect |
|---|---|---|---|---|
| 16% / 24% | 25%, correct | −8 percentage points | −10 percentage points | 0 |
| 10% / 20%, correct | 40% | −10 percentage points | −10 percentage points | 0 |
| 16% / 24% | 40% | −8 percentage points | −6.75 percentage points | +3.25 percentage points |
The third row is −0.08 + 0.25/0.40×(−0.06) − 0.75/0.60×(−0.04)=−0.0675. It verifies cancellation in expectation, not sample size, variance or model superiority.
Cross-fitting addresses sample reuse; convergence rates require separate analysis
A model that memorizes an observation can produce a misleadingly small residual. Cross-fitting uses a nuisance model that has not seen each observation used for effect estimation. This differs from ordinary cross-validation for hyperparameter selection. All feature processing, calibration and tuning must also stay inside the corresponding training region.Orthogonal scores and cross-fitting in DML
Five folds are illustrative. ATE can aggregate out-of-fold Γ̃ values. CATE also needs a clear second-stage design—for example, generating signals and fitting an effect model within each held-out fold, then ensembling. Out-of-fold predictions alone do not establish theory for arbitrary CATE regression or confidence intervals.
For low-dimensional ATE, a common sufficient condition, alongside overlap, moments, consistency and sample splitting, is the following L₂ nuisance-error requirement:
‖ẽ−e‖₂ · (‖μ̃₁−μ₁‖₂ + ‖μ̃₀−μ₀‖₂) = oₚ(n⁻¹ᐟ²)Each component being oₚ(n⁻¹ᐟ⁴) is a convenient sufficient case; one can also be faster and the other slower. Only with the remaining asymptotic-linearity conditions does √n(ψ̂−ψ) converge to N(0,V). The unscaled error does not converge to a standard normal. CATE additionally depends on second-stage smoothness, complexity and local sample size, so its rate cannot simply be copied from ATE.Semiparametric estimation review, Section 4
Orthogonality gives first-order insensitivity to nuisance perturbations near the truth. Cross-fitting mainly addresses dependence from overfitting. Neither replaces action coverage or removes unobserved confounding. Cross-fitting suits complex ML, but classical function-complexity conditions can also control empirical-process terms; it is not mandatory for every debiased estimator.
Double robustness's one-correct consistency differs from local orthogonality. This ATE score has both properties; other orthogonal losses may not share its one-correct guarantee. Continuous-action residual models must be assessed through their own estimating equations.
Dragonnet: distinguish the architecture from targeted regularization
Dragonnet uses a shared representation with three outputs: control outcome μ₀, treated outcome μ₁ and propensity e. Factual outcome and action classification losses jointly train the representation. Targeted Regularization is a separate objective modification that can be combined with the architecture. Three heads alone do not perform DR correction.Dragonnet paper, Sections 2–3
Targeted regularization is easier to understand through squared loss for continuous outcomes. Define:
H̃(A,X) = A/ẽ(X) − (1−A)/(1−ẽ(X))μ*(A,X) = μ̃(A,X) + εH̃(A,X)L_target = mean{ [Y−μ*(A,X)]² }Differentiate with respect to an unpenalized free scalar ε. At the corresponding stationary point, mean{H̃(Y−μ*)}=0. The mean prediction difference using μ* then equals the DR mean using the same μ* and ẽ on this sample. A target-relevant residual moment is thus brought into training.
The derivation reveals a limit: there is one constraint, mainly targeting overall ATE. Errors across groups can cancel. A zero global moment guarantees neither group calibration nor correct ranking. Early stopping, penalizing ε or changing the loss requires rechecking the stationary identity.
For binary outcomes, directly adding εH̃ may push probabilities outside [0,1]. A possible adaptation fluctuates logit(μ̃) with Bernoulli loss. Differentiating in ε still yields a weighted residual, while probabilities stay valid. This is an output-specific derivation, not a claim about an existing project's implementation.
Targeted updates, TMLE and one-step DR share influence-function ideas. Under suitable conditions they can be first-order asymptotically equivalent, while finite-sample values and output forms differ. Weights, optimization and independent evaluation still need checking; adding debiasing to a loss does not replace that work.One-step versus TMLE in the review
AutoDML: from explicit inverse probabilities to learned correction weights
To distinguish from customer-only X, let Z=(A,X) and g₀(Z)=E[Y|Z]. Consider targets linear in the regression function and continuous in L₂: ψ=E[m(W,g₀)].
If a Riesz representer α₀ exists, the target applied to any test function h can be written as:
E[m(W,h)] = E[α₀(Z)h(Z)]For binary ATE, m(W,h)=h(1,X)−h(0,X) and α₀(A,X)=A/e(X)−(1−A)/(1−e(X)). This includes familiar inverse-probability correction. α depends on the action as well as features; it is not one weight depending only on X.AutoDML's linear-functional framework and ATE example
Riesz Regression can learn α by minimizing the following population risk, without first deriving explicit inverse components and plugging in estimates:
L(α) = E[α(Z)² − 2m(W,α)] = E[(α(Z)−α₀(Z))²] − E[α₀(Z)²]
ψ̂ = mean{ m(W,g̃) + α̃(Z)[Y−g̃(Z)] }In practice, use empirical risk, a model class, regularization and sample splitting. Later Riesz Regression work develops these objectives and analyses; distinguish these from the specific learners and theoretical scope of earlier AutoDML work.Riesz Regression, Section 2
Substituting conditional expectations gives this corrected population bias:
E[m(W,g̃) + α̃(Z)(Y−g̃(Z))] − ψ = E[(α₀(Z)−α̃(Z))(g̃(Z)−g₀(Z))]The product of two errors appears again. AutoDML generalizes estimation of the correction function; the researcher must still define the target, causal identification and action support. Rich function classes can overfit. Avoiding explicit 1/e calculations does not remove difficulties in sparse data regions.
One diagnostic checks, on data excluded from fitting, whether E[α̃h]−E[m(W,h)] is near zero for prespecified h, alongside weight tails. A finite set of moment checks detects only some misspecifications, not correctness in every function direction.
The role of each method in the pipeline
| Method or stage | Main role | Requires separate validation |
|---|---|---|
| Outcome models and response structures such as SPN | Represent outcome means under different actions, with structural constraints when needed | Causal identification, effect calibration and action coverage |
| DR / AIPW | Estimate overall effects from predictions and weighted residuals | Extreme weights and finite-sample uncertainty |
| DR-Learner | Learn conditional average effects from corrected signals | Second-stage error, segment stability and ranking |
| Dragonnet + Targeted Regularization | Jointly train representations, outcomes and propensity; add a target moment constraint | Optimization convergence, segment calibration and unseen-data performance |
| OR-Learner / Orthogonal representation learning | Combine representation learning with orthogonal objectives; different effect-learning objectives are possible | Retention of effect heterogeneity and identification/estimation conditions for the chosen target |
| AutoDML / Riesz Regression | Learn a residual correction function for a specified target | Target regularity, function class and weight quality |
| Operations research and final-offer evaluation | Choose offers under constraints and independently evaluate the resulting complete policy | Target estimation error, selection bias and unsupported actions |
OR in OR-Learner means Orthogonal Representation, distinct from operations research. It is a combination framework, not reducible to one residual regression. The table organizes responsibilities; it does not license stacking algorithms without derivation.Published OR-Learner paper
Credit limit and term responses: define what needs calibration
For the earlier workflow, my main interest is a verifiable average-effect reference for predicted responses. It helps locate whether errors concern overall change, customer heterogeneity or ranking.
An experimentally supported term comparison can fix target population, limit and pricing and compare two terms. If the experiment also changes other fields, it estimates a combined action. Holding one model input fixed in analysis does not establish identification of a pure term effect.
Use known randomization probabilities according to the actual strata and assignment mechanism. Distinguish assigned from implemented offers; noncompliance changes the question if the action variable is simply replaced. Transporting results to a larger observational population adds coverage and effect-transportability requirements.
For each fixed contrast, I would separate these evaluations:
| Question | Comparison | Evidence easily misused |
|---|---|---|
| Is risk calibrated under the original offer? | Factual outcomes and predictions in the corresponding mature window | Substituting near-zero mean effects for factual calibration |
| Is the average change after switching calibrated? | Experimental differences or an out-of-fold DR reference in a fixed population | Showing only the difference between two model prediction means |
| Who benefits more from switching? | Prespecified ranking groups, within-group effects and uncertainty | Treating noisy individual pseudo-outcomes as true labels |
| Does the selected policy have value? | Policy value on data excluded from search or an independent experiment | Reporting the best result on repeatedly searched data |
Amount weighting needs an advance definition. A fixed pre-treatment weight can define a weighted target with a matching estimator. If disbursed amounts depend on the offer, portfolio risk commonly involves expected loss divided by expected amount. Estimate both under the target policy. Do not simply average individual risk rates or weight an unrederived ATE by adjusted amounts.
Average effects can be calibrated while limit ranking is entirely wrong
Suppose two equally sized groups have true net-return gains of −1 and +3 units, averaging +1. A model predicting +1 for both passes the overall mean check but cannot identify who should receive resources first.
Reversing the −1 and +3 predictions preserves the overall mean but selects in the wrong direction. For eligibility and limit allocation, ATE is a reference point. Prespecified segment responses, ranking groups and policy value still need checking.
A global ε in Dragonnet or an overall response shift may mainly improve that single reference. Learning heterogeneity requires supported effect models or group targets, evaluated on data excluded from fitting and segment selection. Finer segmentation loses precision; more slices cannot manufacture calibration everywhere.
Eligibility has another limit: rejected applicants usually lack loan default labels. Labeling non-borrowers as non-defaults changes Y. Applicant-level net return can explicitly define the economic outcome of no disbursement, but post-borrowing default risk still has selective labels. DR, Dragonnet and AutoDML cannot create these missing facts.
Multidimensional offers: transfer targeted correction, not the binary formula
A complete combination of limit, term and pricing is called an Offer below. It has multiple action dimensions, some continuous, and data may cover only limited combinations. The binary A∈{0,1} formulas apply to a clear two-offer contrast; A cannot simply be replaced with a vector or amount.
One possible target is the value of a stochastic policy within data support. Given X, π(a|X) assigns probability or density to action a. For a fixed policy and historical action distribution g(a|X):
V(π) = Eₓ[∫ μ(a,X)π(a|X) da]
Γπ = ∫ μ̃(a,X)π(a|X) da + π(A|X)/g̃(A|X) · [Y−μ̃(A,X)]For discrete actions, replace integration with summation. The expression requires consistency, appropriate unconfoundedness, absolute continuity of the policy relative to historical actions, and sufficient weight moments. Fix π in advance or learn it independently of evaluation data. This connects Riesz weights to policy targets.Influence-function estimation for stochastic interventions
For a genuinely continuous amount, assigning every customer of a type exactly one amount is a point intervention. In a general nonparametric model, its target may lack an ordinary L₂ Riesz representer or root-n inference. Extra smoothness, structure or localization is needed. If historical actions are finite discrete tiers, model that actual support rather than inventing a continuous density.
I would first validate corrections on supported discrete offers, local randomized adjustments or explicit structural models, before studying a full response surface. An automatic debiasing weight for every new combination cannot solve unsupported extrapolation.
Keep model changes separate from action changes
The earlier workflow includes risk segmentation, response calibration, candidate scoring, constrained optimization, individual adjustment and independent final-offer evaluation. Causal correction most directly affects response calibration and policy evaluation. Whether to change the training architecture too depends on locating the errors.
If predicted return rises for the same offer only because the calibration model changed, that is a model-definition change. Prediction differences after changing the offer concern an action change. Fix the model package and observation definitions, or report the two separately. Otherwise an overall mean correction can be misreported as optimizer-generated value.
Candidate tables contain many actions per customer, but the current-offer population baseline should be counted once. If individual adjustments change the complete offer, rescore that final offer. Reusing its parent candidate's result skips the actual action change. These follow earlier workflow agreements; this note has not revalidated production implementation.
Evaluation needs data genuinely excluded from search. Nuisance cross-fitting controls some reuse, but repeated use of one effect report to choose segments, actions and thresholds still creates selection bias. Split repeated applications by customer or randomization unit, reserve a clear out-of-time window, and keep label maturity and preprocessing consistent.
For AutoDML, I currently value its target-oriented formulation: construct a correction for portfolio policy value, a weighted effect or a response derivative if that is the final objective. Ordinary binary RCT comparisons are easier to reproduce with known-assignment DR references. Learning a Riesz representer becomes more worth its engineering cost as the target or weight structure grows complex. This methodological judgment still needs data validation.
Further reading
- DR-Learner:Towards Optimal Doubly Robust Estimation of Heterogeneous Causal Effects: two-stage effect regression and error analysis.
- Semiparametric Doubly Robust Targeted Double Machine Learning: A Review: influence functions, error expansions and targeted estimation.
- Adapting Neural Networks for the Estimation of Treatment Effects: Dragonnet and targeted regularization.
- Automatic Debiased Machine Learning of Causal and Structural Effects: the overall AutoDML framework.
- Automatic Debiased Machine Learning via Riesz Regression: Riesz losses and more general learners.
- Double/Debiased Machine Learning for Treatment and Structural Parameters: orthogonal scores, cross-fitting and inference for low-dimensional targets.
- Orthogonal Representation Learning for Estimating Causal Quantities: connections with the earlier orthogonal representation note.