[Paper Review] Exploring Transformer Backbones for Heterogeneous Treatment Effect Estimation
This paper proposes TransTEE, a novel treatment effect estimator using transformer backbones to model interactions between treatments and covariates via self-attention, enabling flexible, robust, and explainable heterogeneous treatment effect estimation across discrete, continuous, and structured treatments. TransTEE outperforms strong baselines on diverse benchmarks and enables interpretable covariate adjustment and auditing of pre-trained language models.
Previous works on Treatment Effect Estimation (TEE) are not in widespread use because they are predominantly theoretical, where strong parametric assumptions are made but untractable for practical application. Recent work uses multilayer perceptron (MLP) for modeling casual relationships, however, MLPs lag far behind recent advances in ML methodology, which limits their applicability and generalizability. To extend beyond the single domain formulation and towards more realistic learning scenarios, we explore model design spaces beyond MLPs, i.e., transformer backbones, which provide flexibility where attention layers govern interactions among treatments and covariates to exploit structural similarities of potential outcomes for confounding control. Through careful model design, Transformers as Treatment Effect Estimators (TransTEE) is proposed. We show empirically that TransTEE can: (1) serve as a general purpose treatment effect estimator that significantly outperforms competitive baselines in a variety of challenging TEE problems (e.g., discrete, continuous, structured, or dosage-associated treatments) and is applicable to both when covariates are tabular and when they consist of structural data (e.g., texts, graphs); (2) yield multiple advantages: compatibility with propensity score modeling, parameter efficiency, robustness to continuous treatment value distribution shifts, explainable in covariate adjustment, and real-world utility in auditing pre-trained language models
Motivation & Objective
- To address the limitations of existing MLP-based treatment effect estimators, which suffer from poor generalizability, parameter inefficiency, and brittleness under distribution shifts.
- To explore transformer backbones as a flexible alternative to MLPs for modeling complex treatment-covariate interactions in heterogeneous treatment effect estimation.
- To develop a unified framework compatible with propensity score modeling, parameter-efficient, and robust to continuous treatment distribution shifts.
- To enable interpretable covariate adjustment through attention-based feature importance, supporting causal inference in real-world settings.
- To demonstrate utility in auditing pre-trained language models for fairness and social impact.
Proposed method
- TransTEE employs a single transformer backbone to embed all treatments and covariates jointly, avoiding multi-task architectures and enabling end-to-end learning.
- Self-attention mechanisms dynamically model interactions among treatments and covariates, enabling adaptive covariate selection and confounding control.
- The model leverages attention weights to identify and prioritize confounders and relevant covariates, aligning with the disjunctive cause criterion for conditional ignorability.
- It is designed to be compatible with propensity score modeling, enhancing robustness and interpretability in observational studies.
- The framework supports both tabular and structural inputs (e.g., text, graphs), enabling broad applicability.
- A surrogate modeling task is introduced to evaluate real-world utility beyond synthetic benchmarks.
Experimental results
Research questions
- RQ1Can transformer backbones effectively model heterogeneous treatment effects across diverse treatment types, including discrete, continuous, and structured treatments?
- RQ2How does TransTEE compare to state-of-the-art MLP-based baselines in terms of performance, robustness, and parameter efficiency?
- RQ3To what extent can attention mechanisms in TransTEE provide interpretable and meaningful covariate adjustment for causal inference?
- RQ4Can TransTEE be effectively used to audit pre-trained language models for fairness and social impact?
- RQ5How robust is TransTEE to distribution shifts in continuous treatment values?
Key findings
- TransTEE significantly outperforms competitive baselines on six benchmarks across four treatment types, including IHDP, News, and TCGA, demonstrating superior generalization and performance.
- The model achieves state-of-the-art performance in estimating average treatment effects (ATE) on semi-synthetic and real-world datasets, with maximal ATEs reaching 0.9976 in the surrogate task.
- TransTEE exhibits robustness to continuous treatment value distribution shifts, maintaining performance where MLP-based models degrade.
- Attention weights in TransTEE effectively identify and prioritize confounders and relevant covariates, providing interpretable feature importance scores that align with causal identification principles.
- TransTEE enables effective auditing of pre-trained language models, revealing social bias through perturbation analysis with extreme ATEs of 0.9976 and 0.0, demonstrating utility in fairness evaluation.
- The framework is parameter-efficient and compatible with propensity score modeling, enhancing practical deployment in real-world causal inference settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.