Reading SPN: calibrating action responses in observational data with limited experimental data

Study notesCausal inferenceResponse modelingCredit policies

Start with a semiparametric response model to understand how experimental and observational data can be combined, then examine effect calibration for credit limits and terms, and policy optimization.

Contents · 13 sections
Likes and comments ↓

A credit model must predict current risk and ask how borrowing and risk change if limits rise or terms lengthen. The latter is harder: each customer usually experiences one offer, leaving outcomes under alternatives unobserved.

Historical data are large and broad but reflect old-policy selection. Randomized experiments better distinguish action effects but are often small. SPN, Semi-Parametric Network, uses a neural network for complex customer features, explicitly represents how actions affect outcomes, then uses experimental data to calibrate responses.

My main question is whether term-effect averages can become more accurate while retaining prediction and ranking. Ranking identifies more sensitive users; average effects quantify a group's overall change. Validate them separately.

Why accurate prediction alone does not support decisions

Ride-order pricing needs completion responses for the same order at different prices. Ordinary prediction identifies likely completions; decisions also require the change in completion probability after a price change.

Price-response signals can be weak and overwhelmed by context. Experiments have business costs and cannot always maintain large traffic. Separate explicit semiparametric response modeling from fusion of observational and experimental data to correct estimation bias.

This resembles current-offer risk versus risk changes after altering an offer. A credit Offer includes limit, term and price. Similar modeling questions still require newly defined labels, action mechanisms and identifiable scope.

Why SPN's structure helps

Let X be pre-action features, T an action such as price, limit or term, and p(X,T) a binary-event probability. A basic SPN form is:

z(X,T) = α(X) × T + β(X)
p(X,T) = sigmoid(z(X,T))

A DNN maps X to α(X) and β(X); T enters an explicit parametric form. Think of β as a reference position and α as action sensitivity, then sigmoid maps their combination to probability. Flexible feature modeling coexists with restricted response shape along T.

Component Interpretation Condition to retain
β(X) Logit intercept given X A baseline risk only if T=0 is a valid reference action
α(X) Action slope given X Units depend on T's encoding, transformation and standardization
sigmoid Convert logits into probabilities Equal slopes imply different probability changes at different baselines
Sign constraints on α Impose monotone responses inside the model Direction depends on action/outcome definitions and business evidence

For a fixed X, compute α and β once and vectorize over T. Real speed gains depend on feature computation and other branches and need deployment measurement.

A network maps customer features to a slope and baseline, which combine with the action to predict probability.
Semiparametric response structure: the network learns customer differences and an explicit formula models action dependence.

Separate coefficients, probability changes and economic elasticity

Direct differentiation of the formula gives:

∂p/∂T = α(X) × p(X,T) × [1 - p(X,T)]
Δp(X; T1,T0) = sigmoid[α(X)T1 + β(X)]
- sigmoid[α(X)T0 + β(X)]

α is a logit-scale slope. Compare actual actions by subtracting full outputs, not by treating α as a probability effect. Only if T is the positive price can point elasticity be written as T × α(X) × [1-p(X,T)]; log, standardization or other transformations require the chain rule.

A purely mathematical example: T goes from 0 to 1 with α=0.4. Starting at 2% gives roughly 2.95%; starting at 20% gives roughly 27.16%. The same α implies about 0.95 versus 7.16 percentage points. Correcting slopes without intercept checks can still give wrong probability effects.

I would store logit slopes, probability differences between offers and relative changes separately to avoid unit confusion in evaluation and optimization.

Monotonicity is not globally diminishing marginal effects

Sigmoid's second derivative is:

∂²p/∂T² = α(X)² × p(X,T) × [1-p(X,T)] × [1-2p(X,T)]

Curvature changes sign across p=0.5. A fixed-slope sigmoid can be monotone without diminishing effects across the entire action range. That requirement needs additional structure or constraints.

For probability decreasing in T, parameterize the slope as −[ReLU(a(X))+ε], with a small positive ε. First define whether T is price, discount or another action and whether Y is conversion or risk. Limits and terms need their own directions, checked on the complete action grid.

Why directly pooling observational data can be biased

Historically, order features affect both pricing and completion. Prices already encode old-policy judgments. Learning E[Y|X,T]requires additional causal conditions to interpret it as the response to changing T.

Pre-action features affect historical assignment and outcomes, while actions affect outcomes too. Historical associations therefore contain policy selection.
When old policies choose actions, customer differences and action effects can be mixed.

For example, low-risk segments historically receive higher limits. Their lower risk may reflect the limit or stronger pre-existing profiles. A strong factual predictor can mistakenly learn population differences as action benefits.

Causal correction seeks to distinguish why old policy assigned an action from the action's effect. A residual layer does not change historical assignment. Its effectiveness depends on experimental information and assumptions identifying the bias.

The role of limited randomized data

RCTs assign actions through predefined random mechanisms. OBS records routine behavior under existing policies.

Fusion needs explicit conditions: experimental assignment follows design and is independent of potential outcomes conditional on randomization strata; responses transport from experimental to target populations under stated conditions; correction complexity suits sample size. Additivity is one modeling choice, not universal to fusion. Under the conditions, experimental information can guide residual response correction.

The relation can be understood as:

目标动作响应(X) ≈ 观测模型学到的响应(X) + 偏差修正(X)

One illustrative design first learns observational responses and then experimental corrections. The figure explains the idea; implementation must define estimands, sample boundaries, weights and updates.

Large histories learn initial responses, smaller randomized samples learn corrections, and independent data validate their sum.
Teaching illustration of experimental calibration. Transfer depends on samples, action support and assumptions.

Large samples can provide richer representations, while experimental samples constrain response direction and scale. Keep correction complexity controlled; small experiments may not support flexible networks. Public work also corrects observational bias with limited experiments, but its consistency claims depend on its own assumptions and do not automatically guarantee this SPN.Research on correcting observational bias with experimental data

Randomization still does not reveal every individual's outcomes under every action

Each experimental observation reveals the assigned action's outcome, not all potential outcomes or a true individual α label.

If training aligns parameters with experimental estimates, state their origin, update status and whether targets use samples excluded from that model's training. Experimental-branch parameters remain noisy estimates, not true individual elasticities.

A prudent starting point is identifiable between-arm RCT contrasts constraining average effect magnitudes, followed by finer heterogeneity. Group effects still have estimation error; retain sample sizes and uncertainty in training and reporting.

Trade-offs expressed by the losses

Organize objectives by role: factual fit, supported experimental contrasts and correction complexity. The following is a discussion objective, not a paper's complete algorithm:

Training objectives by responsibility
L = L_factual + λ_exp × L_experiment + λ_reg × L_correction
Constraint Directly controls Does not establish alone
Factual prediction term Prediction error on observed labels Accurate counterfactual effects
Experimental alignment term Response bias for specified contrasts Accurate magnitudes or ranking in every segment
Correction complexity constraint Degrees of freedom or correction magnitude Correct correction direction
Prediction protection relative to the base model Perturbation of existing predictions Preserving old predictions does not correct old response bias

BCE can fit binary factual outcomes; MSE can fit certain parameter or effect targets. Identical loss forms can have entirely different target meanings and are not interchangeable.

Strong alignment with noisy experimental estimates can amplify noise. Choose weights on development data and monitor prediction, effects and stability. Record sampling ratios, weight decay and frozen parameters separately.

Interpreting prediction, ranking and error improvements

Report classification discrimination, effect size and ranking separately. AUC assesses discrimination; calibration curves and total prediction comparisons assess probabilities. Effect evaluation needs specified action contrasts, average changes and sensitive-user ranking.

Define what MAE compares. Near-zero true average effects destabilize MAPE and ratios; include absolute differences and uncertainty. Qini and AUUC need explicit actions, weights and curves.

Separate architecture, added data and experimental calibration in ablations. Simultaneous changes obscure what should improve next, even when overall results rise.

Comparison with my earlier credit modeling

My earlier work began with a model predicting current risk and added responses to alternative limits or terms. Three stages make it easier to understand.

Stage one: retain the base model and learn action changes separately

Freeze learned components and add limit/term correction modules that learn additional changes after action adjustments, like corrections to existing predictions.

This limits disruption but does not guarantee effect accuracy. Some averages improved while splits stayed unstable. Check which users/actions change and whether factual predictions deteriorate.

SPN explicitly exposes action responses and parameter roles. Experimental–observational fusion then asks whether randomized information can correct bias inherited from old policies.

Stage two: validate prediction, mean effects and ranking separately

These can improve and deteriorate simultaneously.

Check Plain meaning Credit example
Factual prediction Accuracy of observed-outcome prediction Expected and observed delinquency totals under the current offer
Average impact Overall group change after an offer adjustment Average risk change after extending the term
Effect ranking Identify users more sensitive to adjustments Whose risk changes more after extending the term?

Later changes constrained these requirements separately. Prediction drift improved, but one action's gains could hide another's weakness. Better term ranking does not establish better limit responses.

Report limits and terms separately, and validate mean effects and ranking separately. Aggregates can hide local decline.

Stage three: improve effect magnitudes after ranking

Existing experiments improved term ranking more clearly, left limit ranking broadly flat and retained term-mean bias. Finding sensitive users improved more than quantifying changes.

A testable direction is to retain ranking while using experiments to calibrate averages. Try segment calibration, shrinkage of unstable estimates or slope correction, then recheck factual prediction and ranking.

Through sigmoid, equal parameter changes affect different baseline risks differently. Mean calibration therefore requires renewed ranking checks. These are earlier observations and extensions, not new validation results.

Roles of SPN, orthogonal learning and operations research

Method Main role Interpretation
SPN semiparametric structure Explicitly specifies how actions enter predictions Separates customer characteristics from action changes
Experimental–observational fusion Uses experiments to correct response bias Calibrates large histories with smaller, more identifying samples
OR-Learner / Orthogonal learning Combines representations and orthogonal objectives to reduce sensitivity to small nuisance errors Makes effect-estimation objectives less sensitive to specified errors
Operations Research Select offers under return, risk and business constraints Make decisions from candidate predictions

OR-Learner means Orthogonal Representation, distinct from operations research. Orthogonality requires appropriate objectives and sample separation; residual layers, dual branches or additive corrections do not supply it automatically.OR-Learner、DML

First business experiment: validate term-response calibration

Start with a randomized-supported term contrast, fixing limit/pricing or using the experiment's actual joint action. Define the estimand first:

Δ_term(X; P1,P0 | L0,R0)
= m(X,L0,P1,R0) - m(X,L0,P0,R0)

The expression applies only where the contrast is supported and identified. If experiments jointly change limit, term or price, define the joint contrast rather than calling it a pure term effect.

Freeze action definitions—granted cap, displayed offer or realized use—plus feature timing, labels/maturity, population and person/principal weighting. Realized drawdown and chosen terms may follow assignment and cannot automatically replace randomized actions.

Suggested comparisons

Arm Design Question
A Frozen current baseline Current prediction, mean-effect and ranking references
B Explicit action model with OBS only Does architecture alone help?
C Same model family with RCT only How variable are estimates at available experimental scale?
D Direct OBS+RCT pooling What does adding data alone achieve?
E OBS+RCT with controlled experimental calibration Does calibration add value beyond direct pooling?

Use the same eligibility, splits, features and comparable tuning budgets. Keep B–E architectures similar to avoid crediting capacity changes to data fusion.

Freeze the backbone and limit correction freedom initially. Test partial unfreezing separately only if structure clearly limits mean calibration, helping distinguish targets from representation updates.

An experimental objective

The following proposed credit-response objective has not yet been validated:

L = L_factual
+ λ_exp × L_experimental_contrast
+ λ_anchor × L_baseline_prediction_anchor
+ λ_reg × L_correction_complexity
可选:在上述验证稳定后,单独加入并消融 L_rank。

L_experimental_contrast Align with within-training-fold experimental contrasts estimated using actual assignment mechanisms and appropriate unequal-probability weights. Randomizing one action does not identify all limit × term × price combinations.

Teachers, nuisance models, group statistics and preprocessing that generate targets must use only their training regions. If OOF predictions are needed, each target comes from a model not trained on that observation. Check the whole pipeline, not just the last layer.

Report these evaluations together

Layer Minimum checks
Factual prediction PCOC, calibration curves, overall and key groups; AUC as supplementary evidence
Mean effect Raw predicted and experimental differences, errors and intervals, separately for limits and terms
Ranking Explicitly defined AUUC, RATE or similar metrics for identifying sensitive groups, with uncertainty
Stability Month, key segments, action ranges and experimental versions; inspect worst splits
Support Comparable actions, sample sizes, assignment probabilities and effective sample sizes where needed
Policy value Return, risk and coverage changes on independent data after freezing candidates

Near-zero true effects destabilize ratios, relative errors and some normalized metrics. Include absolute differences. Loss shares also do not replace gradient diagnostics.

Repeated use of an OOT set for selection makes it development data. Reserve another mature-label window excluded from tuning for final frozen-policy validation.

Credit's additional selective-label problem

Some credit labels exist only after disbursement, drawdown or sufficient follow-up. Even randomized limits can affect borrowing. Comparing delinquency only among borrowers selects after treatment and can compare different populations.

Distinguish two questions:

  1. Effects of assigned offers on borrowing, income and losses among applicants eligible at randomization.
  2. Changes in a defined default probability or loss rate among actual borrowers.

The latter is not automatically identified by initial randomization. Non-borrowers have no default label for a nonexistent loan and cannot be labeled non-defaults. Zero economic loss for non-disbursement can be defined for eligible applicants, but that is a different outcome.

Bind labels to windows. Do not zero-fill immature D+90 labels and mix them with full windows. Freeze historical months, repayment status, loss recognition and denominators. Different maturity across RCT/OBS can teach label-system differences.

LTV, income, balances and continuous losses do not all use BCE. Choose prediction/calibration per actual outcome and combine using business definitions. Adding sigmoid does not solve definition problems.

Connecting to limit and term optimization

An Offer is a complete limit–term–price package. Predict each package's outcomes, then select under risk, return and business constraints. SPN and fusion can improve responses before optimization and final acceptance.

固定样本、标签、动作定义和评价口径
↓
OBS 学习事实与表示;RCT 约束可识别的动作响应
↓
输出通过预测、均值、排序与稳定性检查的模型
↓
在受支持的候选 Offer 上评分
↓
运筹优化器在既定业务约束下选择方案
↓
个体调整后,对最终 Offer 独立重算和验收

Separate one current-offer baseline per application, candidate scoring details per application/offer, and segment/offer aggregates. They support comparison, candidate coverage/usability checks and optimization respectively. Matching totals do not replace application-level coverage checks.

Separate model revaluation of the same action from action changes under a fixed model. Do not report revaluing an old offer as new-policy-created gains.

Bind candidates and final actions to complete offers, models, rules, months and feature versions. Off-grid individual adjustments require full rescoring, not the parent offer's predictions.

Lessons for eligibility and in-life limit increases

Eligibility: establish which decisions have observed support

Fusion may calibrate supported limit/term actions among approved users. Repayment if rejected applicants were approved remains missing; structure alone cannot supply it.

Use calibration within existing support first. Expansion to rejected populations needs explicit identification sources, assumptions and controlled validation. Search or optimizer scores are not incremental eligibility evidence.

In-life limit increases: preserve pre/post-action boundaries

Richer customer histories can define X. Utilization, repayments and later policies after an increase can be mediators or further interventions and must not be arbitrarily inserted into pre-action features.

Repeated increases across cycles exceed a static single-action surface's question. Long-term effects depend on subsequent policies. Fix one decision time and follow-up protocol before extending to multiple periods.

Check extrapolation before entering the optimizer

Explicit formulas can output actions outside training ranges—extrapolation. A model trained on one limit range can predict higher limits, but reliability needs additional evidence.

Separate observed values of limit, term and rate do not establish support for their joint combination within a segment. Optimizers favor apparently profitable edge actions, so pass support and uncertainty into candidate scoring.

Record segment/action coverage, distance to experimental actions, prediction stability and permitted ranges. Unsupported actions should stay outside automatic selection or become separate research candidates. Conservative penalties require justified uncertainty; a hand-set penalty is not a statistically covered lower bound.

With limit × term interactions, positive main effects do not ensure full-model monotonicity. Differentiate or enumerate the complete surface to check where each constraint holds.

Further reading

Read alongside

Responses elsewhere

No public responses have been added yet. I will check the original before adding a submitted link.

Include a public link in your comment
LEAVE A NOTE

Thoughts after reading?

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    Ask Max Ask about this site
    Ask Max ↗

    Opening the assistant…

    Paper figure

    Photo comments

    LEAVE A NOTE

    About this photograph

    Connecting to the discussion board…

      Comments become public after moderation. You can delete your own comments from this browser.
      No email is required. Clearing cookies prevents this browser from claiming earlier comments.

      MAX WANG / INDEX

      Find something

      Enter a keyword, or explore the directory below.