C-Learner: Constrained Learning for Causal Inference and Semiparametric Statistics

Tiffany Tianhui Cai, Yuri Fonseca, Kaiwen Hou, Hongseok NamkoongarXiv 2024 · DOI

Abstract

The C-Learner (Constrained Learner) framework reframes causal effect estimation as a constrained optimization problem. By training machine learning models to minimize prediction error subject to a "zero-bias" constraint, it achieves the statistical efficiency of advanced debiased estimators while maintaining the numerical stability of simple plug-in models. This approach is particularly effective in challenging "low-overlap" scenarios where traditional debiased estimators often fail due to numerical instability.

Introduction

In causal inference, estimating the Average Treatment Effect (ATE) requires accounting for nuisance parameters, such as outcome models and propensity scores. Traditional approaches generally fall into two categories:

  1. Plug-in Estimators: These models are stable but often biased and statistically inefficient.
  2. Debiased Estimators (e.g., AIPW, TMLE): These use first-order corrections to remove bias and achieve asymptotic optimality. However, they suffer from extreme numerical instability in "low-overlap" settings, where near-zero propensity scores cause inverse weights to explode.

The C-Learner bridges this gap by incorporating the debiasing requirement directly into the model training process, creating an estimator that is both theoretically optimal and practically robust.

The Constrained Learning Framework

The core innovation of the C-Learner is its formulation of the learning task as a constrained optimization problem. Instead of fitting a model and applying a post-hoc correction, the C-Learner solves:

$$\min_{\mu \in \mathcal{F}} \text{PredictionError}(\mu) \quad \text{subject to} \quad \text{First-order error} = 0$$

By enforcing the zero-bias constraint during training, the resulting plug-in estimate is automatically debiased. This framework can be implemented across various model classes:

  • Linear Models: Solved analytically via KKT conditions.
  • Gradient Boosted Trees: Implemented through a two-stage boosting procedure.
  • Neural Networks: Optimized using Lagrangian regularizers and periodic "bias shifts" to ensure the constraint is met exactly.
Geometric interpretation of the C-Learner as a constrained minimizer compared to traditional debiased estimators like TMLE and AIPW-SN.

A Unifying Perspective

As illustrated in the figure above, the C-Learner generalizes existing methods. While estimators like TMLE and Self-Normalized AIPW (AIPW-SN) can be viewed as projections onto specific small model classes, the C-Learner allows the entire model class (e.g., all possible neural networks) to satisfy the constraint. This geometric approach ensures that the estimator remains on the "optimal" constraint set while minimizing prediction error.

Key Insights and Stability

A primary advantage of the C-Learner is its stability. In traditional AIPW, extreme weights appear as additive terms that can cause wild swings in the final estimate. In the C-Learner, these weights are contained within the constraint, preventing such volatility. Mathematically, the authors demonstrate that in certain low-overlap scenarios where AIPW and TMLE exhibit infinite variance, the C-Learner maintains finite variance, providing a robust "safety net" for causal estimation.

Empirical Results

The C-Learner was evaluated across three distinct settings:

  1. Kang and Schafer (2007): In this notoriously difficult synthetic dataset characterized by low overlap and misspecification, the C-Learner outperformed AIPW and TMLE by orders of magnitude in Mean Absolute Error (MAE).
  2. CivilComments: Using a fine-tuned DistilBERT model on high-dimensional text data with synthetic selection bias, the C-Learner achieved the lowest bias and MAE among all asymptotically optimal methods.
  3. IHDP: On this standard benchmark based on real-world randomized experiment data, the C-Learner performed competitively with state-of-the-art methods, showing it maintains high accuracy even in well-behaved settings.

Conclusion and Future Work

The C-Learner provides a powerful new tool for semiparametric statistics by unifying the stability of plug-in models with the efficiency of debiased estimators. While the current work focuses on the Average Treatment Effect (ATE), the framework is generalizable to any continuous linear functional. Future research will focus on identifying the specific complex machine learning model classes that satisfy the theoretical "Empirical Process Assumption" (Assumption G) required for the C-Learner's proofs, as well as extending the framework to heterogeneous treatment effects (CATE).

Summary updated

BibTeX
@misc{cai2024c,
  author = {Tiffany Tianhui Cai and Yuri Fonseca and Kaiwen Hou and Hongseok Namkoong},
  title = {{C-Learner: Constrained Learning for Causal Inference and Semiparametric Statistics}},
  year = {2024},
  eprint = {2405.09493},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.09493},
}
Figure