# RieszNet and ForestRiesz: Automatic Debiased Machine Learning with Neural Nets and Random Forests

arXiv: https://arxiv.org/abs/2110.03031 · HTML: https://mlsanity.com/paper/2110.03031/

## Key facts

- Cited by 42 papers in the map (data through 14 Oct 2026).
- Builds on 9 of its 32 references that are in the map.
- First posted on arXiv 6 Oct 2021.

## Builds on (most cited first, 9 of 9)

- [Generalized Random Forests](https://mlsanity.com/paper/1610.01271/) (2016)
- [Adapting Neural Networks for the Estimation of Treatment Effects](https://mlsanity.com/paper/1906.02120/) (2019)
- [Backpropagation through the Void: Optimizing control variates for black-box gradient estimation](https://mlsanity.com/paper/1711.00123/) (2017)
- [Deep Neural Networks for Estimation and Inference](https://mlsanity.com/paper/1809.09953/) (2018)
- [Adversarial Estimation of Riesz Representers](https://mlsanity.com/paper/2101.00009/) (2020)
- [De-Biased Machine Learning of Global and Local Parameters Using Regularized Riesz Representers](https://mlsanity.com/paper/1802.08667/) (2018)
- [Program Evaluation and Causal Inference with High-Dimensional Data](https://mlsanity.com/paper/1311.2645/) (2013)
- [Uniformly Valid Post-Regularization Confidence Regions for Many Functional Parameters in Z-Estimation Framework](https://mlsanity.com/paper/1512.07619/) (2015)
- [Uniform Post Selection Inference for LAD Regression and Other Z-estimation problems](https://mlsanity.com/paper/1304.0282/) (2013)

## Built on by (most cited first, 30 of 42)

- [Long Story Short: Omitted Variable Bias in Causal Machine Learning](https://mlsanity.com/paper/2112.13398/) (2021)
- [Augmented balancing weights as linear regression](https://mlsanity.com/paper/2304.14545/) (2023)
- [Towards Causal Foundation Model: on Duality between Causal Inference and Attention](https://mlsanity.com/paper/2310.00809/) (2023)
- [Inference on Strongly Identified Functionals of Weakly Identified Functions](https://mlsanity.com/paper/2208.08291/) (2022)
- [DRCFS: Doubly Robust Causal Feature Selection](https://mlsanity.com/paper/2306.07024/) (2023)
- [Mitigating Adversarial Vulnerability through Causal Parameter Estimation by Adversarial Double Machine Learning](https://mlsanity.com/paper/2307.07250/) (2023)
- [Stabilized Inverse Probability Weighting via Isotonic Calibration](https://mlsanity.com/paper/2411.06342/) (2024)
- [Direct Bias-Correction Term Estimation for Average Treatment Effect Estimation](https://mlsanity.com/paper/2509.22122/) (2025)
- [A Neural Mean Embedding Approach for Back-door and Front-door Adjustment](https://mlsanity.com/paper/2210.06610/) (2022)
- [Doubly-Robust LLM-as-a-Judge: Externally Valid Estimation with Imperfect Personas](https://mlsanity.com/paper/2509.22957/) (2025)
- [Orthogonal Causal Calibration](https://mlsanity.com/paper/2406.01933/) (2024)
- [Controlling Learned Effects to Reduce Spurious Correlations in Text Classifiers](https://mlsanity.com/paper/2305.16863/) (2023)
- [Learning Decision Policies with Instrumental Variables through Double Machine Learning](https://mlsanity.com/paper/2405.08498/) (2024)
- [Double Machine Learning Based Structure Identification from Temporal Data](https://mlsanity.com/paper/2311.06012/) (2023)
- [Automated Efficient Estimation using Monte Carlo Efficient Influence Functions](https://mlsanity.com/paper/2403.00158/) (2024)
- [Off-Policy Evaluation with Policy-Dependent Optimization Response](https://mlsanity.com/paper/2202.12958/) (2022)
- [Riesz Regression As Direct Density Ratio Estimation](https://mlsanity.com/paper/2511.04568/) (2025)
- [CATE Estimation With Potential Outcome Imputation From Local Regression](https://mlsanity.com/paper/2311.03630/) (2023)
- [Towards Representation Learning for Weighting Problems in Design-Based Causal Inference](https://mlsanity.com/paper/2409.16407/) (2024)
- [Automatic debiasing of neural networks via moment-constrained learning](https://mlsanity.com/paper/2409.19777/) (2024)
- [AI Alignment in Medical Imaging: Unveiling Hidden Biases Through Counterfactual Analysis](https://mlsanity.com/paper/2504.19621/) (2025)
- [Data-Driven Influence Functions for Optimization-Based Causal Inference](https://mlsanity.com/paper/2208.13701/) (2022)
- [Causal Effect Regularization: Automated Detection and Removal of Spurious Attributes](https://mlsanity.com/paper/2306.11072/) (2023)
- [General targeted machine learning for modern causal mediation analysis](https://mlsanity.com/paper/2408.14620/) (2024)
- [Semi-Supervised Treatment Effect Estimation with Unlabeled Covariates for Prediction-Powered Causal Inference](https://mlsanity.com/paper/2511.08303/) (2025)
- [Estimating Aleatoric Uncertainty in the Causal Treatment Effect](https://mlsanity.com/paper/2602.08461/) (2026)
- [Statistical Inference and Learning for Shapley Additive Explanations (SHAP)](https://mlsanity.com/paper/2602.10532/) (2026)
- [Debiased neural operators for estimating functionals](https://mlsanity.com/paper/2604.19296/) (2026)
- [Tailoring Strictly Proper Scoring Rules for Downstream Tasks: An Application to Causal Inference](https://mlsanity.com/paper/2606.03332/) (2026)
- [Beyond the Training Distribution: Evaluating Predictions Under Distribution Shift and Selection Bias](https://mlsanity.com/paper/2606.14506/) (2026)

## Abstract (arXiv)

Many causal and policy effects of interest are defined by linear functionals of high-dimensional or non-parametric regression functions. √n-consistent and asymptotically normal estimation of the object of interest requires debiasing to reduce the effects of regularization and/or model selection on the object of interest. Debiasing is typically achieved by adding a correction term to the plug-in estimator of the functional, which leads to properties such as semi-parametric efficiency, double robustness, and Neyman orthogonality. We implement an automatic debiasing procedure based on automatically learning the Riesz representation of the linear functional using Neural Nets and Random Forests. Our method only relies on black-box evaluation oracle access to the linear functional and does not require knowledge of its analytic form. We propose a multitasking Neural Net debiasing method with stochastic gradient descent minimization of a combined Riesz representer and regression loss, while sharing representation layers for the two functions. We also propose a Random Forest method which learns a locally linear representation of the Riesz function. Even though our method applies to arbitrary functionals, we experimentally find that it performs well compared to the state of art neural net based algorithm of Shi et al. (2019) for the case of the average treatment effect functional. We also evaluate our method on the problem of estimating average marginal effects with continuous treatments, using semi-synthetic data of gasoline price changes on gasoline demand.
