Introduction
In the realm of causal inference, researchers frequently grapple with highly sensitive data—ranging from personal medical records to confidential financial transactions. While Instrumental Variable Regression (IVaR) is a cornerstone technique for uncovering causal relationships hidden by unobserved confounders, making it compatible with strict privacy guarantees has proven exceptionally difficult.
This paper introduces DP-2S-GD (Differentially Private Two-Stage Gradient Descent), the first differentially private algorithm for IV regression that comes with provable finite-sample convergence rates. By transforming the classical two-stage least squares approach into a noisy, iterative gradient descent process, the authors provide a mathematically rigorous way to perform causal inference without sacrificing individual privacy.
The Challenge: Privacy in Causal Inference
IVaR is deployed when a "cause" (the regressor) and an "effect" (the outcome) are both influenced by hidden factors, a pervasive problem known as endogeneity. Standard methods like Ordinary Least Squares (OLS) fail in these scenarios, producing biased estimates. IVaR resolves this by utilizing "instruments"—variables that affect the cause but are strictly independent of the hidden noise and have no direct path to the outcome.
While Differential Privacy (DP) is the gold standard for protecting sensitive datasets and has been successfully applied to OLS, adapting it to IVaR is a mathematical hurdle. The classical solution for IVaR, Two-Stage Least Squares (2SLS), relies on nested matrix inversions and multiplications. Calculating the "sensitivity" of these operations—exactly how much a single person's data can alter the final output—is notoriously complex. Without a clear sensitivity bound, it is impossible to calibrate the exact amount of noise required to guarantee privacy.
The Solution: DP-2S-GD
The authors sidestep the intractable complexity of matrix inversions by proposing an iterative, gradient-based alternative: DP-2S-GD. Instead of relying on a closed-form solution, the algorithm operates in two alternating stages:
- Two-Stage Iteration: The algorithm alternates between updating a projection matrix (Stage 1: mapping instruments to covariates) and a regression parameter (Stage 2: mapping predicted covariates to the outcome).
- Privacy via Perturbation: To guarantee privacy, standard DP-SGD techniques are applied at every step of both stages. Gradients are first "clipped" to a maximum norm to bound the influence of any single individual, and then carefully calibrated Gaussian noise is injected into these clipped gradients.
- Privacy Accounting: The method utilizes $\rho$-zCDP (zero-concentrated differential privacy). This framework allows for much tighter tracking of privacy loss as it accumulates over many iterations compared to standard $(\epsilon, \delta)$-DP.
Key Insights: The "Iteration Trap"
In standard machine learning, running more iterations typically yields better optimization and higher accuracy. However, in DP-2S-GD, there is a fundamental catch: every iteration "spends" a fraction of the total privacy budget. To keep the overall privacy budget constant, running more iterations requires injecting more noise into each individual step.
This dynamic creates a "U-shaped" error curve governed by three competing forces:
- Optimization Error: How far the gradient descent is from the ideal estimate (decays exponentially with iterations $T$).
- Privacy Error: The cumulative cost of the injected noise (grows with $\sqrt{T}$).
- Statistical Error: The inherent noise from having a finite sample size (decays with $\sqrt{n}$).
There is an optimal "plateau" for the number of iterations ($T$). Too few iterations result in high optimization error, but too many iterations cause the privacy noise to drown out the statistical signal. A major technical achievement of the paper is proving "Bi-level Coupling"—showing that the noise injected in the first stage doesn't catastrophically destabilize the convergence of the second stage.
Empirical Validation and Results
The authors validated DP-2S-GD across synthetic datasets (to precisely verify theoretical convergence rates) and classic econometric datasets, including the Angrist (1998) dataset on family size and labor supply, and the Card (1993) dataset on the returns of education.
- Provable Consistency: The theoretical analysis proves that as the sample size $n$ grows, the DP-2S-GD estimator converges to the true causal parameter at a rate of roughly $O(1/\sqrt{n})$, plus a quantifiable privacy overhead.
- Real-World Utility: On the Angrist dataset, the private algorithm estimated that having an additional child reduces a mother's labor supply by approximately 4.3 weeks per year. This result closely matched the non-private benchmark even under strong privacy settings ($\rho=0.1$), proving the method's viability for real-world social science.
- The Plateau Confirmed: Experiments confirmed the existence of the theoretical "plateau" region, providing practitioners with a safe, stable range of iterations to run the algorithm without sacrificing accuracy to privacy noise.
Limitations and Future Work
While a significant step forward, the current framework is restricted to linear IV models. Extending these differential privacy guarantees to non-linear or "Deep IV" models utilizing neural networks remains a logical next step.
Additionally, the authors note a slight efficiency gap: their gradient-based approach is less efficient than the non-private closed-form solution by a factor related to the dimension of the regressors ($\sqrt{p}$). Future algorithmic refinements may close this gap. Finally, while the paper provides a robust upper bound on error, establishing the fundamental lower bound for DP-IVaR remains an open question for the field.
Summary updated