CausalSmith · seminar slides
Estimating the Value of Optimal Treatment
We estimate the average outcome attainable by choosing the better treatment in each covariate group, even when there are many groups.
slides for Minimax Estimation of Optimal Treatment Values with Discrete Covariates
Motivation
A practitioner wants to know how much treatment tailored to observed characteristics could achieve.
Let x index d covariate groups, px be a group’s population share, and μax its outcome mean under treatment a∈{0,1}.
Ψ(P)=Ψ(q):=x=1∑dpxa∈{0,1}maxμax.
This averages the better treatment’s mean across groups. Here P is the observed distribution and q its treatment–outcome probability table.
Zeng et al. (2024) study linear treatment-specific means with categorical covariates. Maximizing within each group adds the difficulty of deciding which mean is larger.
Standard Approach
Estimate both arm means, select the larger estimate, and average.
Vn,dER=x=1∑dpxa∈{0,1}maxμax.
Here px is the sample group share; μax is successes divided by observations in group x, arm a.
- Near a tie, maximizing selects positive sampling noise.
- Across many groups, these errors accumulate.
- Small arm counts also make the estimated means unstable.
Jiao et al. (2018) study the closest statistical analogue: sums of absolute differences between categorical probabilities.
How accurately can we estimate the optimal value when d grows with sample size n?
Key Idea
Approximate each group’s maximum contribution by a local polynomial, then estimate the polynomial’s powers without moment bias.
Our Jackson factorial estimator combines a polynomial formed by weighted averaging with count statistics that estimate its terms unbiasedly.
informal · Theorem T-5 For independent, identically distributed binary-treatment, binary-outcome data with fixed overlap, an explicit estimator attains minimax squared-risk order min{1,d/[nlog(ed)]} for every n≥1,d≥2.
“Minimax” means the smallest worst-case mean-squared error over the model.
The method estimates the value without first choosing whichever arm looks better in the sample.
Example
Take equally common groups and balanced treatment assignment:
px=d1,πx=21,μ1x=21+θx,μ0x=21−θx,
Here πx is the probability of treatment 1, and θx∈[−1/2,1/2] is the treatment-effect contrast.
Ψ{Obs(Pθdense)}=21+2d1x=1∑d∣θx∣.
Here Pθdense denotes this potential-outcome model; Obs extracts its observed distribution.
The target is one half plus an average absolute contrast. At θx=0, an empirical absolute contrast turns sampling noise into an apparent treatment benefit.
The construction must estimate this absolute-value corner accurately.
Model
Observe n independent, identically distributed triples Oi=(Xi,Ai,Yi): categorical covariates, binary treatment, and binary outcome.
Each group has four probabilities qay,x=P(X=x,A=a,Y=y):
qa1,x=pxπxa(1−πx)1−aμax,qa0,x=pxπxa(1−πx)1−a(1−μax),
These give success and failure probabilities for each arm. Write qx=(q00,x,q01,x,q10,x,q11,x).
Fixed overlap guarantees population representation of both arms in every occupied group:
ϵ≤πx≤1−ϵ,
The constant 0<ϵ<1/2 stays fixed. Group shares and propensities are unknown; exact ties are allowed.
Our balanced example satisfies this condition.
Causal Interpretation
Let Y(a) be the potential outcome under arm a, and let P govern observed and potential outcomes.
V⋆(P)=EP[a∈{0,1}maxEP{Y(a)∣X}].
This is the outcome attainable by choosing the better potential-outcome mean within each group.
- Consistency: Y=Y(A); we observe the potential outcome under the received treatment.
- Conditional exchangeability: Y(a)⊥A∣X; within a group, assignment carries no further information about that potential outcome.
Together with fixed overlap, these give
V⋆(P)=Ψ{Obs(P)}.
Every observed law in our model also has such a causal completion: draw Bernoulli potential outcomes with means μax, draw treatment independently of them given X, and set Y=Y(A).
Thus all observed distributions used for the statistical lower bound remain available under the causal assumptions.
Main Result
Let Dd,ϵobs be the binary observed model with fixed overlap, Rn,d,ϵ its minimax squared risk, and Ld=log(ed).
With universal tuning, the Jackson factorial estimator Vn,dJF satisfies
cϵmin{1,nLdd}≤Rn,d,ϵ≤P∈Dd,ϵobssupEP⊗n[(Vn,dJF−Ψ(P))2]≤Cϵmin{1,nLdd}.
Here P⊗n denotes n independent observations; positive constants cϵ,Cϵ depend only on overlap.
For every n≥1,d≥2, the estimator’s worst-case squared error matches the difficulty facing every estimator. Causal minimax risk is identical because the observed distributions and identified targets coincide.
In our example, this uniformly bounds error in estimating the average absolute contrast, including exact zeros.
Stable Cell Contributions
We approximate a function of observable probabilities, protecting the unknown arm denominators first.
For a candidate table u, let sa(u)=ua0+ua1 be arm mass and s(u)=s0(u)+s1(u) total mass.
ga,ϵ(u):=max{sa(u),ϵs(u)}s(u)ua1,a∈{0,1},
This computes an arm’s contribution with a denominator bounded below by its overlap share. Let fˉϵ(u)=maxaga,ϵ(u), with value zero at the origin.
Ψ(P)=x=1∑dfˉϵ(qx).
On population tables satisfying overlap, this preserves the target exactly. On other nonnegative tables, it controls sensitivity to changes in the four probabilities.
We can therefore approximate on rectangles that include noisy tables outside the overlap restriction.
Independent Count Tables
A random sample size makes counts in distinct treatment–outcome categories independent.
Draw an auxiliary inclusion count:
M∼Pois(n/4).
Here M determines how many observations enter the randomized construction. Mark each included observation with an independent fair coin: one outcome sends it to the pilot, the other to evaluation.
In the uncapped experiment, Poisson sampling and splitting produce mutually independent counts N,x′ and N,x, each with mean mq,x, where m=n/8.
The index ∈J labels the four treatment–outcome coordinates.
The fixed-sample implementation uses the first M of the n observations when M≤n, and sets its randomized output to zero otherwise. We average out this randomization after constructing the estimate.
Pilot Localization
The pilot locates the unknown table; the independent evaluation counts estimate the polynomial.
c,x=mN,x′,h,x=H0{mc,xLd+mLd}.
Here c,x is the pilot frequency; h,x is its uncertainty width, inflated by a fixed constant H0.
Use endpoints ℓ,x=max{0,c,x−h,x} and u,x=c,x+h,x. Their product forms rectangle Qx.
Let bx and rx be its coordinate centers and radii.
The square-root term adapts to count noise. The additive term keeps the rectangle useful even when a pilot count is zero.
A Finite Polynomial
Jackson smoothing is weighted averaging that retains only finitely many trigonometric terms.
- Write each rectangle coordinate as its center plus its radius times the cosine of an angle.
- Average over angle shifts using normalized weights JKd(t)=cKd{sin(Kdt/2)/sin(t/2)}4. Here t is a shift and cKd normalizes the weights.
- This kernel is a finite sum of sine and cosine terms. Averaging removes frequencies above 2(Kd−1).
- The result is even in each angle. Each retained cosine term is a polynomial in that angle’s cosine.
Returning to the original coordinates therefore gives a finite polynomial Px,Kd approximating fˉϵ.
Use order Kd=max{2,⌊κLd⌋}, with a sufficiently small fixed κ>0. Each coordinate degree is at most 2(Kd−1).
Accuracy Near Boundaries
The approximation is especially accurate near a rectangle face.
Px,K(v)−fˉϵ(v)≤Cϵ∈J∑{K(v−ℓ,x)(u,x−v)+K2r,x}.
This bounds the approximation error at a table v∈Qx; K=Kd.
The first term depends on distances to the two faces in each coordinate. The second depends on the coordinate radius.
At a zero coordinate on the zero face, the first term vanishes. Only radius divided by K2 remains.
This matters because many groups may be empty: their additive pilot widths must not create a large aggregate bias.
Unbiased Polynomial Terms
Inserting empirical frequencies into powers creates moment bias. Falling factorials remove it.
For an evaluation count N, pilot-chosen center z, and nonnegative integer power h, define
Uh(N;z)=t=0∑h(th)(−z)h−tmt(N)t.
Here (N)t multiplies t descending factors; (N)0=1. Conditional on the pilot, Uh has expectation (q−z)h, where q is the count’s population probability.
Expand Px,Kd(v) in centered, radius-normalized powers. Denote its coefficients by γx,α; α records the four powers.
| Polynomial term | Count replacement | |---|---| | γx,α∏((v−b,x)/r,x)α | γx,α∏Uα(N,x;b,x)/r,xα |
Independent evaluation coordinates make each product unbiased. Summing gives the cell estimate Zx, whose conditional expectation is Px,Kd(qx). The constant term is included automatically because U0=1.
The Example Revisited
In the balanced example, the observable probabilities are affine functions of the contrast:
- q11,x=q00,x=(1+θx)/(4d).
- q10,x=q01,x=(1−θx)/(4d).
Restrict the actual local Jackson polynomial to this table. It becomes a polynomial in θx approximating the cell contribution (1+∣θx∣)/(2d).
Its powers are estimated through counts rather than through an estimated absolute contrast.
For example, a term containing (q11,x−b11,x)2 uses
U2(N11,x;b11,x)=N11,x(N11,x−1)/m2−2b11,xN11,x/m+b11,x2.
Its conditional expectation is exactly that centered square. Using N11,x2 instead would add Poisson sampling variance.
At a tie, the approximation has controlled error, while factorial replacement avoids adding the moment bias of empirical powers.
Aggregate Bias
Unbiased polynomial evaluation leaves approximation error as the principal bias.
After clipping the cell estimate to limit extreme evaluations, the resulting statistic TxJF satisfies
ETxJF−fˉϵ(qx)≤Cϵ{mLdpx+mLd1},
This bounds each cell’s bias by its population share px. The first term comes from count uncertainty divided by logarithmic approximation order; the second uses the improved accuracy at zero faces.
Since shares sum to one, ∑xpx≤d.
Thus the square-root terms aggregate on the scale d/(mLd), and the additive terms on the scale d/(mLd). In the polynomial branch, n≥d/Ld and m=n/8, so squared aggregate bias is at most a constant times d/(nLd).
For equally common groups, all d square-root contributions are equal.
Degree and Variability
Higher powers cost variance, so logarithmic degree needs a small multiplier.
The coefficient bound is ∑α∈Ax∣γx,α∣≤AK(1+ϵ−1)∑∈Jr,x, where Ax indexes the polynomial terms and A is universal.
Dividing centered powers by the pilot radii measures them on their uncertainty scale. With K=Kd and sufficiently small κ, coefficient and factorial-moment growth give
Var(TxJF)≤Cϵd1/16{mpxLd+m2Ld2},
This is the resulting variance bound for each clipped cell estimate.
Cells are independent in the uncapped Poisson experiment. Summing replaces the shares by one and contributes d copies of the second term.
For n≥d/Ld, the resulting variance is at most a constant times d/(nLd): the available factor d absorbs d1/16 and the logarithmic factors.
Fixed-sample Estimator
Clip each Zx around the pilot-based contribution to limit extreme count statistics. Sum the clipped cells and project onto [0,1], the range of the target, obtaining V.
Average over the auxiliary inclusion count and fair-coin split:
Vn,dJF=E[V∣O1,…,On],
This returns a deterministic estimator from the original n observations. Conditional averaging cannot increase squared error; the inclusion-count safeguard preserves the risk order.
- For d<D0, use the empirical-ratio estimator.
- For d≥D0 and n<d/Ld, output 1/2.
- Otherwise, use the polynomial construction.
Here D0 is a fixed alphabet cutoff. Bias and variance bounds establish the upper side of the main result.
Moment Matching
Why can no estimator do better? Return to the balanced example with sufficiently large d and n>d2.
Choose K=Kdlb=2⌈4Ld⌉, and two symmetric probability distributions ν0,K,ν1,K on [−1,1] whose moments agree through degree K, but
∫−11∣t∣dν1,K(t)−∫−11∣t∣dν0,K(t)=2EK.
Here EK is the smallest uniform error of a degree-K polynomial approximation to ∣t∣. The approximation input has EK≍1/K.
Draw contrasts independently from one distribution and multiply them by amplitude an,d, with an,d2=Kdlbd/(128n).
Matching moments hides the low-order likelihood terms while leaving different average absolute contrasts. This approximation–moment connection follows Cai and Low (2011).
Quantitative Lower Bound
The two contrast priors have mean-value separation
Δn,ddense=an,dEKdlb.
Here Δn,ddense measures how far apart their mean optimal values are.
Amplitude squared is proportional to Kdlbd/n; approximation error is proportional to 1/Kdlb. Therefore,
(Δn,ddense)2≍nKdlbd(Kdlb)21=nKdlbd.
The observation mixtures have total-variation distance at most 1/16: no event’s probability differs by more than that amount. Under either prior, the target lies within Δn,ddense/4 of its own mean with probability at least 7/8.
An estimate much more accurate than this separation would distinguish two observation distributions that are nearly indistinguishable. Consequently,
cϵ(Δn,ddense)2≤R2n,d,ϵPois,cϵnKdlbd≤R2n,d,ϵPois,
The right side is minimax risk with Poisson sample size of mean 2n. Using the first n observations when available transfers this obstruction to fixed samples; the shortfall probability is negligible here. Since Kdlb is proportional to Ld, this gives the required logarithmic lower bound.
Remaining Sample-size Regimes
A categorical-distance problem supplies the lower bound outside the dense construction.
For probability vectors P,Q over the groups, encode q11,x=q00,x=Px/4 and q10,x=q01,x=Qx/4. This has propensity 1/2 and
Ψ(P)=21+41x∈[d]∑∣Px−Qx∣.
The sum is their L1 distance: total absolute probability difference.
An exact randomized transformation converts paired draws from P,Q into our observed triples. A more accurate value estimator would therefore give a more accurate distance estimator.
| Range | Source of the lower bound | |---|---| | n<d/Ld | Distance estimation gives a constant obstruction. | | d/Ld≤n≤d2 | The distance bound gives the required d/(nLd) scale. | | n>d2, large d | Dense moment matching gives that scale. | | Bounded d | The lower bound has the usual n−1 scale. |
Together these cover every n≥1,d≥2.
Further Results
Keep overlap fixed and let dn≥2 denote alphabet size as sample size grows.
- Uniform consistency is possible exactly when dn=o{nlog(en)}.
- Parametric squared-risk order n−1 is possible exactly when dn=O(1).
- Both boundaries apply to observed-value and identified causal-value estimation.
informal · Theorem T-7 For independent, identically distributed binary data with fixed overlap and any sequence dn≥2, observed and causal minimax risks vanish iff dn=o{nlog(en)}, and have n−1 order iff dn=O(1).
Open Questions
Along sequences with d→∞ and d/{nlog(ed)}→0, does the normalized risk
dnlog(ed)Rn,d,ϵ
converge to a finite positive limit?
This divides out the established risk order and asks for its leading constant.
Can an estimator attain that constant by rescaling local tables according to count noise and optimizing polynomial bias and variance?
Takeaways
- Under consistency, conditional exchangeability, and fixed overlap, the attainable causal value equals the population average of the better arm’s conditional mean.
- Local polynomial approximation controls the treatment-effect corner; factorial counts estimate polynomial terms without moment bias. Accuracy near zero faces and a carefully chosen degree let the errors aggregate safely.
- The explicit estimator attains minimax squared-risk order min{1,d/[nlog(ed)]}. Moment matching and categorical-distance comparisons show why every estimator faces the same difficulty.
Appendix: Jackson Factorial Risk Bound
Universal tuning gives a uniform finite-sample squared-risk upper bound for the explicit estimator.
Assume the sampling condition in Assumption A-1: for every alphabet size d, sample size n, and observed finite law P, the sample law is the canonical i.i.d. product law generated by P. Then there exist tuning constants H0>0, κ∈(0,1), and an integer cutoff D0>2 such that the Jackson factorial estimator Vn,dJF of Definition P-7 satisfies the following guarantee whenever:
- (Overlap.) The overlap constant ϵ satisfies 0<ϵ<1/2.
- (Sample size.) The sample size satisfies n≥1.
- (Alphabet size.) The alphabet size satisfies d≥2.
- (Observed model.) The observed law P belongs to Dd,ϵobs as in Definition P-10.
For every such ϵ, there is a constant Cϵ>0 such that, for every such n,d, and P, RiskP(Vn,dJF,Ψ)≤Cϵmin{1,nlog(ed)d}. Here Ψ(P) is the observed-law optimal-regression value of Definition P-11.
Appendix: Global Minimax Lower Bound
Every estimator faces the same risk order somewhere in the fixed-overlap observed model.
Suppose the observed samples satisfy the independent product sampling law in Assumption A-1. For every overlap constant 0<ϵ<1/2, there exists a constant cϵ>0 such that, for every n≥1 and d≥2, the fixed-sample minimax squared risk Rn,d,ϵ in Definition P-12 satisfies cϵmin{1,nlog(ed)d}≤Rn,d,ϵ.
Appendix: Matched Minimax Frontier
The constructive upper bound and all-estimator lower bound match, and causal minimax risk equals observed minimax risk.
There are universal tuning constants H0>0, 0<κ<1, and an integer cutoff D0>2 for the Jackson factorial estimator such that the following holds. For every fixed overlap constant ϵ∈(0,1/2), there are real constants cϵ and Cϵ with 0<cϵ≤Cϵ. For every n≥1 and d≥2, with Ld=log(ed) and with Rn,d,ϵ denoting the fixed-sample observed minimax squared risk in Definition P-12, cϵmin{1,nLdd}≤Rn,d,ϵ≤P∈Dd,ϵobssupEP⊗n[(Vn,dJF−Ψ(P))2]≤Cϵmin{1,nLdd}. Moreover, the fixed-sample minimax squared risk over the full-data causal completion class Pd,ϵ is exactly Rn,d,ϵ for the same n, d, and ϵ.
Appendix: Consistency and Parametric Boundaries
Alphabet growth determines exactly when uniform consistency and parametric squared-risk order are possible.
For every overlap constant ϵ with 0<ϵ<1/2, and for every alphabet-size sequence d∙=(dn)n≥1 satisfying dn≥2 for all n, the following equivalences hold:
- (Observed consistency.) The fixed-sample minimax squared risk Rn,dn,ϵ of Definition P-12 satisfies Rn,dn,ϵ⟶0 if and only if dn=o{nlog(en)}.
- (Causal consistency.) The causal minimax squared risk over Pdn,ϵ satisfies Rn,dn,ϵcausal⟶0 if and only if dn=o{nlog(en)}.
- (Observed parametric boundary.) The observed minimax risk sequence has the parametric n−1 rate, meaning that there exist constants c,C with 0<c≤C such that, for all sufficiently large n, nc≤Rn,dn,ϵ≤nC, if and only if the alphabet-size sequence is uniformly bounded asymptotically, meaning dn=O(1).
- (Causal parametric boundary.) The causal minimax risk sequence has the parametric n−1 rate, meaning that there exist constants c,C with 0<c≤C such that, for all sufficiently large n, nc≤Rn,dn,ϵcausal≤nC, if and only if dn=O(1).