CausalSmith · seminar slides
Private Treatment Effects with Rough Nuisance Functions
Nearby pairs of confidential records can reveal a smooth treatment effect even when treatment selection and baseline outcomes vary roughly.
Research Question
We observe n confidential records (X,A,Y): a covariate, binary treatment, and binary outcome.
We want the causal effect at X=1/2, together with a uniformly valid 90% confidence interval.
- Usual methods fit treatment probabilities and outcome regressions. Their remaining bias includes products of nuisance estimation errors.
- A smooth treatment effect does not make those nuisance functions easy to estimate.
- Kennedy et al. (2024), our closest comparison, attain n−1/4 with additional approximation, eigenvalue, boundedness, and covariate-distribution estimation conditions; our attainment uses observed occupancies under only the stated density bounds.
Pure replacement privacy: replacing one record can multiply the probability of any release event by at most exp(ϵ). Smaller ϵ means stronger protection.
What accuracy remains possible when the nuisances are rough and the covariate density is unknown and merely measurable?
Key Idea
Use two resolutions:
- A neighborhood where the treatment effect barely changes.
- Much smaller cells where treatment selection and baseline variation leave only a small product.
Compare records within cells. Give the numerator and denominator identical count weights, then release both together.
For our binary, scalar-covariate model with bounded density and overlap, one-tenth nuisance smoothness, and a Lipschitz effect, optimal estimation error and honest interval length have order
r(n,ϵ)=min{1,max{n−1/4,(n2ϵ)−1/7,(nϵ)−1/2}}.
Here r(n,ϵ) is the accuracy benchmark, n≥2, and 0<ϵ≤1. The largest of three scales governs accuracy, capped at one.
Model, Identification, and Scope
Let P describe a causal population with binary potential outcomes Y(0),Y(1). The observed records (X,A,Y) are iid, satisfy consistency Y=Y(A), and satisfy conditional exchangeability given X.
With overlap, the observed contrast identifies the causal effect:
τP(x)=EP[Y∣X=x,A=1]−EP[Y∣X=x,A=0],x∈[0,1].
The target is θ(P)=τP(1/2). Continuity and positive design density make this point value unique.
Write eP(x)=P(A=1∣X=x) and μa,P(x)=EP[Y∣X=x,A=a].
The class P imposes:
- measurable density 1/2≤fP≤3/2 almost everywhere;
- overlap 1/4≤eP≤3/4;
- ∣eP(x)−eP(x′)∣≤3∣x−x′∣1/10 and ∣μ0,P(x)−μ0,P(x′)∣≤3∣x−x′∣1/10;
- ∣τP(x)−τP(x′)∣≤3∣x−x′∣.
These radii bound increments. Binary outcomes separately give 0≤μa,P≤1; the class has no fixed interior arm-mean margin.
Main Result
Let Rn,ϵ be the smallest worst-case expected absolute error among private estimators.
informal · Theorem T-2 For n≥2, 0<ϵ≤1, and P, optimal private worst-case expected absolute error is bounded above and below by numerical multiples of r(n,ϵ).
2−20r(n,ϵ)≤Rn,ϵ≤218r(n,ϵ).
An interval is honest if coverage is at least 90% for every P∈P at the given sample size. Let Hn,ϵ be the smallest worst-case expected length among private connected honest intervals.
informal · Theorem T-4 For n≥2, 0<ϵ≤1, and P, optimal private honest expected interval length is bounded above and below by numerical multiples of r(n,ϵ).
2−20r(n,ϵ)≤Hn,ϵ≤P∈PsupE(Pobs)⊗n,In,ϵ∗Leb(In,ϵ∗(D))≤222r(n,ϵ).
Here D is the dataset, Pobs its observed-record law, In,ϵ∗ our interval, and Leb its length. Expectations include sampling and release noise.
Our pair release attains both upper bounds across every admissible density.
Within-cell Pairs
Choose a public window [x0−h,x0+h] centered at x0=1/2, with 0<h≤1/4, and divide it into k≥2 cells of width δ=2h/k.
For two records, use numerator and denominator contributions
KN((X,A,Y),(X′,A′,Y′))KD((X,A,Y),(X′,A′,Y′))=(A−A′)(Y−Y′),=(A−A′)2.
For either kernel κ, a cell’s records R=(o1,…,os) contribute
Fκ(R)=⎩⎨⎧0,(2s)s1≤i<i′≤s∑κ(oi,oi′),s<2,s≥2.
Both statistics use this same rule: SN(D)=∑jFKN(Rj) and SD(D)=∑jFKD(Rj), where Rj contains cell j’s records.
For example, a two-record cell with (A,Y)=(1,1),(0,0) contributes (FKN,FKD)=(2,2). A second two-record cell with (A,Y)=(1,0),(0,1) contributes (−2,2). Their identical count weights combine to total numerator 0, denominator 4, and ratio 0.
Product Bias and Density Robustness
Pair differencing reduces baseline contamination within a cell to
(eP(x)−eP(x′))(μ0,P(x)−μ0,P(x′)).
The two rough increments make this product order δ1/5, while effect variation across the window is order h. For expected numerator and denominator pair contributions νj,dj, with b=3h+24δ1/5,
dj≥83,∣νj−θ(P)dj∣≤bdj.
Let wj be the expected number of records in cell j that have a partner. Then
N=j=1∑kwjνj,D=j=1∑kwjdj.
The ratio is a nonnegative weighted average of controlled cell ratios, so ∣N/D−θ(P)∣≤b. Unknown density changes the common weights without changing this guarantee.
The usable-information scale is A=nhmin{1,nδ}: local sample size times partner availability.
One Private Release
Count weighting bounds the total absolute change in both statistics by 12 when one record is replaced—even when cell counts cross zero, one, or two.
Using sensitivity-calibrated Laplace noise from Dwork et al. (2006), release
S=(SN(D)+ξN, SD(D)+ξD),ξN,ξD∼indLaplace(0,12/ϵ).
The noises ξN,ξD are independent, each with scale 12/ϵ. Write SN,SD for the released coordinates.
With public floor d0=3A/64, estimate
Th,k=clip[−1,1]{max{d0,SD}SN},
The floor prevents unstable division. Clipping moves values outside the target range to the nearest endpoint.
The ratio and any interval computed from this release inherit its pure replacement privacy.
Error Budget and Public Tuning
informal · Theorem T-1 For P∈P, n≥2, k≥2, 0<h≤1/4, and 0<ϵ≤1, the private ratio's mean squared error is at most V(h,δ), with δ=2h/k.
A=nhmin{1,nδ},V(h,δ)=220[h2+δ2/5+A−1+(ϵA)−2].
The terms are localization, nuisance-product bias, sampling variation, and privacy noise. On the local branch choose h within a factor of two of r(n,ϵ) and δ=h5.
| Occupancy regime and error source | Accuracy scale | |---|---| | Sparse nδ<1: sampling | n−1/4 | | Sparse nδ<1: privacy | (n2ϵ)−1/7 | | Dense nδ≥1: privacy | (nϵ)−1/2 |
With δ=h5, sparse occupancy gives A=n2h6: sampling requires n2h8≳1, and privacy requires ϵn2h7≳1. Dense privacy requires ϵnh2≳1. Dense sampling is already controlled, so it adds no fourth term.
The local branch is r(n,ϵ)<1/8. When r(n,ϵ)≥1/8, the public fallback outputs T∗=0 and I∗=[−1,1]; the bounded target range supplies constant-order error and length in this capped regime.
Honest Interval Construction
On the local branch, use the same estimate and public envelope:
I∗(D)=[−1,1]∩[Th,k(D)−10V(h,δ),Th,k(D)+10V(h,δ)].
This centers our interval at the private estimate, with radius 10V(h,δ).
- The squared-error bound makes the probability of exceeding this radius at most 1/10.
- The target belongs to [−1,1], so intersection preserves coverage.
- Both endpoints reuse the same private release.
Coverage holds at every sample size. Constants are conservative: for 2≤n≤240, this tuned interval is exactly [−1,1].
The optimal-order claim comes from matching lower bounds. Why must every private procedure face the same three scales?
Shared Signs
For the hard alternatives, use a localized effect bump tq(x), supported on ∣x−x0∣≤hL, with 0≤q≤1 and q(x0)=1.
δL=hL5,t=2−12hL.
Choose a shared-sign perturbation Sλ satisfying the two identities used by the lower bound:
Within cell j, define ωL(x)=π(x−jδL)/(2δL) and g2=q. The two local weights are cosωL and sinωL, and
Sλ(x)=g(x)[(2λj−1)cosωL(x)+(2λj+1−1)sinωL(x)].
Independent fair signs and cos2+sin2=1 give
EλSλ(x)=0,EλSλ(x)2=q(x).
The first identity cancels linear nuisance terms; the second cancels the effect against the squared perturbation. Sign λj+1 is reused in the neighboring cell.
One-record Cancellation
For each fixed sign vector, draw X uniformly and generate treatment and potential outcomes independently conditional on X.
Selection probability is (1+tSλ(x))/2. Control and treated means are (1−tSλ(x)−tq(x))/2 and (1−tSλ(x)+tq(x))/2.
Thus nuisance shifts have amplitude t, while every alternative has effect tq(x) and target t. Calibration keeps every alternative in P.
The fair null P0 has uniform X, treatment probability 1/2, both conditional outcome means 1/2, and zero treatment effect.
Let U=2A−1 and VY=2Y−1 encode treatment and outcome. Relative to the fair null P0, the conditional likelihood is
Lλ(x,U,VY)=1+UtSλ(x)+VYt(tq(x)−1)Sλ(x)+UVYt(q(x)−Sλ(x)2).
This is four times the conditional probability of the observed treatment–outcome pair.
Sign averaging removes the linear terms and the centered squared term. Consequently,
EλPλobs=P0obs.
A single record hides the positive effect exactly. Shared signs can still reveal it across records.
Full-sample Information
Draw one sign vector for the entire dataset:
Qn=Eλ[(Pλobs)⊗n],
Here Qn averages alternative dataset laws. Sampling is independent within each population; averaging a common sign vector creates dependence.
Records using disjoint signs cancel separately. Nearby records sharing signs can reveal the nuisance pattern.
Our likelihood comparison gives
χ2(Qn,(P0obs)⊗n)≤exp(160n2t2hLδL)−1,Qn≪(P0obs)⊗n,
Chi-square divergence measures squared likelihood deviation. The final condition means the alternative assigns no mass to null-impossible events.
The exponent combines record-pair opportunities, shared-sign localization, and squared signal size. Calibration makes it proportional to n2hL8.
Taking hL=n−1/4/4 keeps total variation—the largest difference in event probabilities—at most 1/4, even before privacy.
Component Cancellation and Matching
Link records that use a common nuisance sign. Conditional on covariates, different components use independent sign sets, and singleton components match the null exactly.
For a component C of size m, fair-sign averaging cancels the first-order change. Its alternative and null configuration masses differ only at second order, yielding mismatch probability at most 4tm2.
Let α be the total common configuration mass matched by the component coupling. Write cH,C(x) for the expected number of replaced records in component C, conditional on its full covariate configuration x. A residual mismatch has mass 1−α and changes at most m records, so
cH,C(x)≤m(1−α)≤4tm3.
Thus isolated records cost nothing, and shared-sign components incur replacement cost proportional to t, rather than t.
Sparse Replacement Cost
A linked pair must lie inside the bump window and within 2δL of each other.
This gives the factors behind the aggregate cost:
- n2: opportunities for a record pair.
- hLδL: probability of a localized shared-sign pair.
- t: mismatch probability after first-order sign cancellation.
Larger components add nearby records. Under nδL≤1/128, their summed contribution remains bounded. Keller and Trotter (2017) supply the labeled-tree count used in this component bound.
Our constructed dataset coupling γ satisfies
∫dH(D,D′)γ(dD,dD′)≤1024tn2hLδL.
Here dH counts replaced record positions.
The coupling principle of Acharya et al. (2021) converts expected replacement cost into private output distance:
dTV(MQ,MQ′)≤2ϵWH(Q,Q′).
Here MQ is the release law under dataset law Q, and WH is minimum expected replacement cost.
Applied to our coupling, output distance is at most 2048ϵtn2hLδL. Calibration makes this proportional to ϵn2hL7, producing the seventh-root scale.
Direct Privacy Comparison
For the remaining privacy regimes, use the same localized bump with constant selection and baseline means.
Couple null and alternative records using the same covariate. Match their treatment–outcome pairs except for mass moved from treated outcome zero to treated outcome one:
ωcross(x):=2tq(x),0≤ωcross(x)≤41.
The crossing probability ωcross(x) is exactly the changed treated-outcome mass.
Because q≤1 and its support has width 2hL, expected replacements across n records are at most nthL.
The same privacy coupling principle bounds output distance by 2ϵnthL, proportional to nϵhL2.
A radius of order (nϵ)−1/2 keeps private outputs close. When nϵ≤1, a fixed-radius bump already does so, forcing constant-order error.
Forced Error and Length
Choose the applicable signed or direct comparison at radius hL=r(n,ϵ)/4.
- The n−1/4 term uses the signed full-sample likelihood comparison.
- The (n2ϵ)−1/7 term uses the signed private coupling; this regime satisfies its required sparse-cell condition nδL≤1/128.
- The (nϵ)−1/2 term and the capped regime use the direct bump comparison.
Its null target is zero; every alternative target is Δ=2−14r(n,ϵ). For every private release M,
dTV(MQ(0),MQ(1))≤41,
Here Q(0) and Q(1) are the null and alternative dataset laws.
- Estimation: an accurate estimate would distinguish the targets by comparison with Δ/2. Close output laws prevent uniformly reliable distinction, forcing error proportional to Δ.
- Honesty: containing Δ with probability 9/10 under the alternative implies containment with probability at least 9/10−1/4 under the null.
- Length: under the null, coverage of zero and transferred coverage of Δ imply simultaneous containment with probability at least 11/20.
A connected interval containing both targets has length at least Δ. Expected length is therefore at least (11/20)Δ.
The same separated populations force both lower bounds.
Takeaways
- Fine-cell pairs replace nuisance-fitting error with a controlled product of local increments; shared occupancy weights preserve it under unknown measurable density.
- Shared signs hide a positive effect from isolated records. Likelihood and replacement comparisons produce the three unavoidable scales.
- One private release attains optimal estimation error and honest interval length of order r(n,ϵ); both vanish exactly when nϵn→∞.
- Next steps include sharper constants, finite-sample evaluation, represented-real implementations, and broader outcome or covariate classes.
Appendix: Matched Private Risk Frontier
This theorem gives matching finite-sample bounds for optimal private absolute error and shows that the publicly tuned pair ratio attains the upper bound.
For every integer n≥2 and privacy parameter 0<ϵ≤1, define the numerical benchmark r(n,ϵ)=min{1,max{n−1/4,(n2ϵ)−1/7,(nϵ)−1/2}}. The private minimax absolute risk Rn,ϵ of Definition P-3, with the infimum taken over all everywhere-defined randomized pure-private scalar Markov kernels as in Definition P-2, satisfies 2−20r(n,ϵ)≤Rn,ϵ≤218r(n,ϵ). Moreover, the publicly tuned scalar estimator T∗, which releases zero when r(n,ϵ)≥1/8 and otherwise uses the specified publicly tuned dyadic pair-ratio release, is an everywhere-defined Markov kernel satisfying pure replacement ϵ-differential privacy. Its maximal expected absolute error satisfies P∈PsupE(Pobs)⊗n,T∗T∗(D)−θ(P)≤218r(n,ϵ), where P is the complete causal-law class and θ(P) is its pointwise treatment-effect target, with expectation integrating the observed sample and release randomization as in Definition P-3. The supremum includes every admissible measurable covariate density fP in that class.
Appendix: Sharp Honest Interval Frontier
This theorem gives uniform finite-sample 90% coverage and matching bounds for optimal expected length of private connected intervals.
For every integer n≥2 and privacy budget 0<ϵ≤1, define the numerical benchmark r(n,ϵ)=min{1,max{n−1/4,(n2ϵ)−1/7,(nϵ)−1/2}}. The honest expected-length benchmark and its constants satisfy ℓ(n,ϵ)=r(n,ϵ)>0,cI=2−20>0,CI=222>0. The interval kernel In,ϵ∗ defined by candidate-value inversion in Definition P-10 equals the total publicly tuned connected-interval kernel of Definition P-6: In,ϵ∗=I∗. For r(n,ϵ)≥1/8, this kernel returns [−1,1]. For r(n,ϵ)<1/8, its public tuning is h=2−⌈log2(1/r(n,ϵ))⌉,k=2h−4,δ=k2h=h5, where 0<h≤1/4 and k is an integer with k≥2. Define the public occupancy scale and mean-squared-error envelope by A=nhmin{1,nδ},V(h,δ)=220[h2+δ2/5+A−1+(ϵA)−2]. Using the clipped pair-ratio estimator from the single joint release in Definition P-5, the tuned interval is I∗(D)=[−1,1]∩[Th,k(D)−10V(h,δ),Th,k(D)+10V(h,δ)]. The kernel In,ϵ∗ is a Markov kernel satisfying pure replacement ϵ-differential privacy in the sense of Definition P-2. For the causal-law class P in Definition P-1, (Pobs)⊗n,In,ϵ∗Pr{θ(P)∈In,ϵ∗(D)}≥109for every P∈P. The honest private expected-length frontier Hn,ϵ of Definition P-4, whose infimum ranges over all total private Markov connected-interval kernels with this class-wide coverage, satisfies 2−20r(n,ϵ)≤Hn,ϵ≤P∈PsupE(Pobs)⊗n,In,ϵ∗Leb(In,ϵ∗(D))≤222r(n,ϵ). For the private minimax absolute-error risk Rn,ϵ of Definition P-3, the extended nonnegative real frontiers also satisfy 2−38Rn,ϵ≤Hn,ϵ≤242Rn,ϵ.
Appendix: Verification and Implementation Scope
The main formal results are conditional on three registered published premises:
- EfronSteinReplacement — Boucheron, Lugosi, and Massart (2013), Theorem 3.1, replacement-copy form, p. 54.
- BoundedDifferencesMGF — Boucheron, Lugosi, and Massart (2013), Theorem 6.2, displayed log-mgf conclusion in its proof, p. 167.
- CayleyLabeledTreeCount — Keller and Trotter (2017), Section 5.6, Theorem 5.40.
Their source proofs are premises; the downstream mapped derivations are the formalized scope.
The estimator and interval are exact-real randomized constructions. Their mathematical privacy, risk, and coverage conclusions are not a finite-precision software guarantee; arithmetic, noise generation, and endpoint handling require separate implementation analysis.
Appendix: Shared-sign Construction
The bump and its squared-cosine envelope are
q(x)=⎩⎨⎧cos4(2hLπ(x−x0)),0,∣x−x0∣≤hL,∣x−x0∣>hL,
with g(x)2=q(x).
Within cell j, put ωL(x)=π(x−jδL)/(2δL). Then
Sλ(x)=g(x)[(2λj−1)cosωL(x)+(2λj+1−1)sinωL(x)].
Independent fair signs and cos2+sin2=1 give EλSλ=0 and EλSλ2=q. The adjacent-cell reuse is shown in the talk figure.