EconBase
← Back to paper

A Unified Framework for Debiased Machine Learning: Riesz Representer Fitting under Bregman Divergence

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

198,265 characters · 55 sections · 161 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

A Unified Framework for Debiased Machine Learning: Riesz Representer Fitting under Bregman Divergence

abstractEstimating the Riesz representer is central to debiased machine learning for causal and structural parameter estimation. We propose generalized Riesz regression, a unified framework for estimating the Riesz representer by fitting a representer model via Bregman divergence minimization. This framework includes various divergences as special cases, such as the squared distance and the Kullback--Leibler (KL) divergence, where the former recovers Riesz regression and the latter recovers tailored loss minimization. Under suitable pairs of divergence and model specifications (link functions), the dual problems of the Riesz representer fitting problem correspond to covariate balancing, which we call automatic covariate balancing. Moreover, under the same specifications, the sample average of outcomes weighted by the estimated Riesz representer satisfies Neyman orthogonality even without estimating the regression function, a property we call automatic Neyman orthogonalization. This property not only reduces the estimation error of Neyman orthogonal scores but also clarifies a key distinction between debiased machine learning and targeted maximum likelihood estimation (TMLE). Our framework can also be viewed as a generalization of density ratio fitting under Bregman divergences to Riesz representer estimation, and it applies beyond density ratio estimation. We provide convergence analyses for both reproducing kernel Hilbert space (RKHS) and neural network model classes. A Python package for generalized Riesz regression is released as genriesz and is available at \url{https://github.com/MasaKat0/genriesz}.

Introduction

The Riesz representer plays a crucial role in debiased machine learning for a variety of causal and structural parameter estimation problems Chen2015sievesemiparametric,Chernozhukov2022automaticdebiased, including Average Treatment Effect (ATE) estimation Imbens2015causalinference, Average Marginal Effect (AME) estimation, Average Policy Effect (APE) estimation, and covariate shift adaptation Shimodaira2000improvingpredictive. The Riesz representer arises from the Riesz representation theorem for a (typically linear) parameter functional and has a close connection to semiparametric efficiency bounds Newey1994theasymptotic. In particular, by using the Riesz representer appropriately, we can construct semiparametric efficient estimators that are asymptotically linear with the efficient influence function, which is also referred to as a Neyman orthogonal score Chernozhukov2018doubledebiased.

In many applications, the Riesz representer admits a closed-form expression in terms of other nuisance objects, but estimating it well is nontrivial. For example, in ATE estimation, the Riesz representer can be written using the inverse propensity score. A straightforward approach is to estimate the propensity score and then construct the Riesz representer by taking its inverse. In covariate shift adaptation, the Riesz representer is given by a density ratio, the ratio of two probability density functions (pdfs). A straightforward approach is to estimate the two pdfs and then take their ratio. However, these approaches are not necessarily designed to minimize the estimation error of the Riesz representer itself, and their performance for the task of Riesz representer estimation is not guaranteed a priori.

To address this issue, end-to-end approaches for Riesz representer estimation have been explored, such as Riesz regression Chen2014sieveinference,Chernozhukov2021automaticdebiased. In addition, many application-specific methods have been developed. For example, in ATE estimation, entropy balancing weights Hainmueller2012entropybalancing, stable balancing weights Zubizarreta2015stableweights, tailored loss minimization Zhao2019covariatebalancing, and calibrated estimation Tan2019regularizedcalbrated have been proposed. In covariate shift adaptation, direct density ratio estimation methods have also been proposed Sugiyama2012densityratio. These developments suggest that “direct” estimation of the Riesz representer can be both statistically and practically advantageous.

This study provides a unified framework for estimating the Riesz representer by fitting a Riesz representer model to the true Riesz representer under a Bregman divergence. Our framework not only accommodates various existing methods as special cases, but also yields new algorithms, clarifies dual balancing interpretations, and provides convergence rate analysis and other theoretical and practical implications.

Setup

We first describe a baseline setup that covers many causal and structural parameters with a single i.i.d.\ sample. Extensions to multi-sample settings, such as covariate shift adaptation, are presented in Section (ref).

We denote the observation by \(W \coloneqq (X,Y)\), where \(Y\in{\mathcal{Y}}\) is an outcome and \(X\in{\mathcal{X}}\) is a regressor vector. Here, ${\mathcal{Y}} \subseteq {\mathbb{R}}$ and ${\mathcal{X}} \subseteq {\mathbb{R}}^k$ are outcome and ($k$-dimensional) regressor spaces, respectively. Let $P_0$ be the distribution that generates $W$. We observe $n$ i.i.d.\ copies of $W$, denoted as \[ {\mathcal{D}} \coloneqq \big\{W_i\big\}^n_{i=1} = \big\{(X_i, Y_i)\big\}^n_{i=1}. \] We denote the regression function by $\gamma_0(x) \coloneqq {\mathbb{E}}_{P_0}\left[Y\mid X=x\right]$. We drop the subscript $P_0$ when the dependence is clear.

\paragraph{Parameter functional.} Our goal is to estimate a parameter of interest of the form \[ \theta_0 \coloneqq {\mathbb{E}}\left[m(W,\gamma_0)\right], \] where $m(W,\gamma)$ is a functional that depends on $W$ and a regression function $\gamma\colon {\mathcal{X}} \to {\mathcal{Y}}$. The map $\gamma \mapsto m(W,\gamma)$ is defined for generic $\gamma$, not limited to the true regression function $\gamma_0$. By changing $m$, we can recover many parameters as special cases, including ATE, AME, and APE.

\paragraph{Riesz representer.} Let ${\mathcal{H}} \coloneqq \left\{\gamma\colon {\mathcal{X}}\to{\mathbb{R}} \mid {\mathbb{E}}\left[\gamma(X)^2\right]<\infty\right\}$ be the Hilbert space $L_2(P_X)$ with inner product $\langle f,g\rangle \coloneqq {\mathbb{E}}\left[f(X)g(X)\right]$. For simplicity, we assume that the map \[ \gamma \longmapsto {\mathbb{E}}\left[m(W,\gamma)\right] \] is linear and continuous on ${\mathcal{H}}$ . Equivalently, there exists a constant $C>0$ such that \[ {\mathbb{E}}\left[m(W,\gamma)\right]^2 \leq C\,{\mathbb{E}}\left[\gamma(X)^2\right] \] holds for all $\gamma \in {\mathcal{H}}$. By the Riesz representation theorem, there exists a function $\alpha_0\in {\mathcal{H}}$ such that \[ {\mathbb{E}}\left[m(W,\gamma)\right]={\mathbb{E}}\left[\alpha_0(X)\gamma(X)\right] \] for all $\gamma\in{\mathcal{H}}$.

The function $\alpha_0$ is referred to as the Riesz representer Chen2015sievesemiparametric,Chernozhukov2022automaticdebiased. As discussed below, it plays an important role in constructing efficient estimators. In ATE estimation, the Riesz representer has also been referred to as the bias-correction term or clever covariates vanderLaan2006targetedmaximum,Schuler2024introductionmodern.

remarkThis formulation follows Chernozhukov2022automaticdebiased and can be generalized to non-linear maps $\gamma \mapsto {\mathbb{E}}\left[m(W,\gamma)\right]$. We focus on the linear case because it is sufficient for presenting our main results. For the details of non-linear cases, see Appendix (ref).

\paragraph{Neyman orthogonal score.} Let $\eta_0 \coloneqq (\gamma_0,\alpha_0)$ be the nuisance parameter, where $\alpha_0$ is the Riesz representer associated with $m$. Define the Neyman orthogonal score by

align[align omitted — 147 chars of source]

It holds that \[ {\mathbb{E}}\left[\psi\left(W;\eta_0,\theta_0\right)\right]=0, \] which yields an estimating equation for $\theta_0$.

Moreover, $\psi$ is Neyman orthogonal at $\eta_0$ in the sense that the Gateaux derivative with respect to $\eta$ vanishes: \[ \partial_{\eta}{\mathbb{E}}\left[\psi\left(W;\eta,\theta_0\right)\right]\big|_{\eta=\eta_0}=0. \] To see this, note that the derivative with respect to $\alpha$ is ${\mathbb{E}}\left[Y-\gamma_0(X)\right]=0$, and the derivative with respect to $\gamma$ cancels by the Riesz identity ${\mathbb{E}}\left[m(W,h)\right]={\mathbb{E}}\left[\alpha_0(X)h(X)\right]$. Orthogonality implies that first-order errors from estimating $\eta_0$ do not affect the asymptotic distribution of the final estimator of $\theta_0$, provided cross fitting (or a Donsker condition) and mild convergence rate conditions on the nuisance estimators hold Chernozhukov2018doubledebiased,Chernozhukov2022automaticdebiased.

A useful identity that follows from the definitions is \[ {\mathbb{E}}\left[\psi\left(W;\eta,\theta_0\right)\right]={\mathbb{E}}\left[\left(\alpha_0(X)-\alpha(X)\right)\left(\gamma(X)-\gamma_0(X)\right)\right], \] which makes explicit that the score drift is second order in the product of nuisance estimation errors.

\paragraph{Estimator of the parameter of interest.} We consider a base estimator for $\theta_0$, which we call the Augmented Riesz Weighted (ARW) estimator. Let $\widehat{\eta}\coloneqq (\widehat{\gamma},\widehat{\alpha})$ be an estimator of $\eta_0$. Replacing the moment condition ${\mathbb{E}}\left[\psi\left(W;\eta_0,\theta_0\right)\right]=0$ with its empirical analogue yields an estimator $\widehat{\theta}^{\text{ARW}}$ that satisfies \[ \frac{1}{n}\sum^n_{i=1}\psi\left(W_i;\widehat{\eta},\widehat{\theta}^{\text{ARW}}\right)=0. \] Equivalently, \[ \widehat{\theta}^{\text{ARW}} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(m\left(W_i,\widehat{\gamma}\right) + \widehat{\alpha}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right)\Big). \] This estimator is the canonical one-step or estimating-equation estimator built from the orthogonal score. In many semiparametric models, it is asymptotically equivalent to other efficient constructions (e.g., estimating equation methods and TMLE) under standard conditions VanderVaart2002semiparametricstatistics,Schuler2024introductionmodern.

In ATE estimation, $\widehat{\theta}^{\text{ARW}}$ coincides with the augmented inverse probability weighting (AIPW) estimator.

\paragraph{Alternative estimators.} In addition to the ARW estimator, we also consider the following three estimators: the regression adjustment (RA) estimator, the Riesz weighted (RW) estimator, and the targeted maximum likelihood estimator (TMLE):

itemize• RA estimator. $\widehat{\theta}^{\text{RA}} \coloneqq \frac{1}{n}\sum^n_{i=1}m\left(W_i,\widehat{\gamma}\right)$. • RW estimator. $\widehat{\theta}^{\text{RW}} \coloneqq \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)Y_i$. • TMLE. $\widehat{\theta}^{\text{TMLE}} \coloneqq \frac{1}{n}\sum^n_{i=1}m\left(W_i,\widehat{\gamma}^{(1)}\right)$, where $\widehat{\gamma}^{(1)}(x)\coloneqq \widehat{\gamma}(x)+\widehat{\epsilon}\widehat{\alpha}(x)$, and $\widehat{\epsilon}\coloneqq \frac{\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right)} {\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)^2}$.

The RA estimator is motivated by the definition $\theta_0={\mathbb{E}}\left[m(W,\gamma_0)\right]$ and is also referred to as a plug-in or direct method estimator. The RW estimator is motivated by the identity $\theta_0={\mathbb{E}}\left[\alpha_0(X)\gamma_0(X)\right]={\mathbb{E}}\left[\alpha_0(X)Y\right]$, where the second equality follows from ${\mathbb{E}}\left[Y-\gamma_0(X)\mid X\right]=0$. In ATE estimation, the RW estimator coincides with the inverse probability weighting (IPW) estimator.

Contributions of this Study

This study proposes generalized Riesz regression, a general approach for estimating the Riesz representer by Bregman divergence minimization. By varying the Bregman divergence (equivalently, the convex generator) and the link function of the Riesz representer model, generalized Riesz regression recovers a range of existing objectives and yields new ones. We further show that appropriate loss--link pairs induce balancing weights automatically, a phenomenon we call automatic regressor balancing as a generalization of covariate balancing. We then clarify how regressor balancing connects to the orthogonal score, yielding automatic Neyman orthogonalization and automatic Neyman error minimization. Finally, we provide convergence rate results for generalized Riesz regression with RKHS models and neural networks.

In summary, our main contributions are:

itemize• Generalized Riesz regression (Section (ref)). • Automatic regressor balancing (Section (ref)). • Automatic Neyman orthogonalization (Section (ref)). • Automatic Neyman error minimization (Section (ref)). • Convergence rate analysis (Section (ref)).

These contributions not only provide new methodological and theoretical findings, but also connect existing studies that have developed related ideas in parallel.

\paragraph{Generalized Riesz Regression.} We formulate Riesz representer estimation as a problem of fitting a Riesz representer model to the true Riesz representer under a Bregman divergence Bregman1967relaxationmethod in Section (ref). We refer to Riesz representer fitting under a Bregman divergence as generalized Riesz regression.\footnote{We may also refer to it as Bregman--Riesz regression, direct bias-correction term estimation, generalized tailored loss minimization, or generalized covariate balancing (Remark (ref)). However, we adopt the term generalized Riesz regression because the choice of loss function is closely related to the choice of link function.} The Bregman divergence includes various discrepancy measures, such as squared distance and Kullback--Leibler (KL) divergence, as special cases. Although the true Riesz representer is unknown, we derive an objective function that does not involve it explicitly and can be approximated using only observations. Therefore, we can train the Riesz representer model within an empirical risk minimization framework.

With the squared loss, the Bregman divergence minimization problem aligns with Riesz regression Chernozhukov2021automaticdebiased. With the KL divergence loss, it aligns with tailored loss minimization Zhao2019covariatebalancing. In addition, BrunsSmith2025augmentedbalancing shows that stable balancing weights arise as dual solutions of Riesz regression, while Zhao2019covariatebalancing shows that entropy balancing weights arise as dual solutions of tailored loss minimization. Our formulation places these correspondences within a single loss-based framework. Moreover, subsequent works show that nearest-neighbor matching and score matching can also be viewed as special cases within this perspective Kato2025nearestneighbor,Kato2025scorematchingriesz.

\paragraph{Automatic Regressor Balancing.} We show that generalized Riesz regression admits a dual interpretation as a regressor balancing problem under specific loss--link choices. For example, generalized Riesz regression with squared distance becomes identical to stable balancing weights when we use a linear link for the Riesz representer model. In contrast, generalized Riesz regression with a KL-type loss becomes identical to entropy balancing weights when we use a logistic link. We make these correspondences explicit in Section (ref). We refer to this property as automatic regressor balancing. Covariate balancing, which targets balance of the covariates $Z$ in settings with $X=(D,Z)$, appears as a special case.

\paragraph{Automatic Neyman Orthogonalization.} Regressor balancing has direct implications for the orthogonal score. To illustrate, suppose $\widehat{\alpha}$ satisfies an exact balancing identity for the function $\gamma_0$, \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\gamma_0(X_i)=\frac{1}{n}\sum^n_{i=1}m\left(W_i,\gamma_0\right). \] Then the RW estimator can be rewritten as an infeasible ARW estimator that uses $\gamma_0$: \[ \widehat{\theta}^{\text{RW}} =\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)Y_i =\frac{1}{n}\sum^n_{i=1}\Big(m\left(W_i,\gamma_0\right)+\widehat{\alpha}(X_i)\left(Y_i-\gamma_0(X_i)\right)\Big) \eqqcolon \widetilde{\theta}^{\text{ARW}}. \] This identity clarifies that (exact) balancing enforces orthogonalization at the level of the estimating equation. Section (ref) formalizes and extends this idea to approximate balancing and more general loss--link pairs.

\paragraph{Automatic Neyman Error Minimization.} A central object in debiased machine learning is the empirical mean of the orthogonal score with estimated nuisances. For a candidate nuisance pair $\widehat{\eta}=(\widehat{\gamma},\widehat{\alpha})$, consider the empirical drift at $\theta_0$, \[ \frac{1}{n}\sum^n_{i=1}\psi\left(W_i;\widehat{\eta},\theta_0\right). \] Using ${\mathbb{E}}\left[\alpha_0(X)\left(Y-\gamma_0(X)\right)\right]=0$ and the Riesz identity ${\mathbb{E}}\left[m(W,\gamma)\right]={\mathbb{E}}\left[\alpha_0(X)\gamma(X)\right]$, the population counterpart satisfies \[ {\mathbb{E}}\left[\psi\left(W;\widehat{\eta},\theta_0\right)\right] ={\mathbb{E}}\left[\left(\alpha_0(X)-\widehat{\alpha}(X)\right)\left(\widehat{\gamma}(X)-\gamma_0(X)\right)\right]. \] Thus, controlling this drift amounts to controlling a second-order product of nuisance errors, which is the key robustness mechanism behind orthogonal scores.

We show that generalized Riesz regression can be interpreted as directly targeting such score drift through its dual balancing structure. In this sense, generalized Riesz regression not only estimates the Riesz representer $\alpha_0$, but also implicitly targets the orthogonal score itself. We refer to this property as automatic Neyman error minimization.

\paragraph{Convergence Rate Analysis.} In Section (ref), we establish convergence rates of the estimated Riesz representer model toward the true Riesz representer for RKHS regression and neural networks. In particular, we show minimax-optimal rates under standard smoothness and complexity assumptions.

\paragraph{Insights for Practitioners.} Our framework also provides practical guidance. First, the loss--link pair determines both the geometry of fitting (via the Bregman divergence) and the implicit balancing behavior (via the dual). This clarifies when KL-type objectives naturally yield nonnegative, approximately normalized weights, and when squared-loss objectives tend to yield more stable (variance-controlled) weights. Second, our analysis highlights that the choice of Riesz representer loss interacts with the approximation properties of the first-step regression learner for $\gamma_0$. Third, the dual balancing view provides diagnostics: imbalance of regressor moments associated with the learned representation can be used to assess whether the learned Riesz representer is likely to deliver small score drift.

\paragraph{Contents of this Study.} In the following sections, we introduce our general setup (Section (ref)) and then propose our generalized Riesz regression method (Section (ref)). In Section (ref), we define and discuss the automatic covariate balancing property, and in Section (ref), we present the automatic Neyman orthogonalization property. In Section (ref), we summarize insights for practitioners. In Section (ref), we present a convergence rate analysis of generalized Riesz regression.

Appendix (ref) provides a detailed review of related work. In Appendix (ref), we explain the relationship between density ratio estimation and Riesz regression Kato2025rieszregression. In Appendix (ref), we introduce extensions of our framework that are developed in subsequent works Kato2025nearestneighbor,Kato2025scorematchingriesz. In Appendix (ref), we provide Bayesian interpretations of our proposed methods. The remaining appendices contain remarks and proofs for the main text.

Related Works and Examples of Debiased Machine Learning Applications

This section briefly reviews related work and applications of debiased machine learning. For a more detailed review, see Appendix (ref). Our framework is primarily built on results from Riesz regression, balancing weights, and density ratio estimation. In particular, Bregman divergences have already been applied to density ratio estimation in Sugiyama2011densityratio, which also discusses the duality between empirical risk minimization and moment matching. Our framework generalizes this viewpoint to a broader class of debiased machine learning problems and clarifies how Riesz representer estimation, balancing, and orthogonal scores fit into a single conceptual and algorithmic pipeline.

figure[figure omitted — 281 chars of source]

\paragraph{General Theory.} Many targets in causal and structural inference can be written as linear functionals of a regression function $\gamma_0$ Newey1994theasymptotic. The Riesz representer $\alpha_0$ is the element that represents this functional as an $L_2(P_X)$ inner product, and it enters the efficient influence function through the orthogonal score ((ref)). Therefore, estimating $\alpha_0$ accurately is central to constructing efficient estimators Chernozhukov2022automaticdebiased. Our generalized Riesz regression views $\alpha_0$ estimation as a divergence-minimizing fitting problem, and its dual formulation yields balancing weights that control the drift of the orthogonal score.

We provide representative examples below, along with the corresponding Riesz representers and Neyman orthogonal scores.

\paragraph{ATE Estimation.} Let the regressor be $X\coloneqq (D,Z)$, where $D\in\left\{0,1\right\}$ is a treatment indicator and $Z\in{\mathcal{Z}}$ is a covariate vector. Following the Neyman--Rubin framework Neyman1923surapplications,Rubin1974estimatingcausal, let $Y(1),Y(0)\in{\mathcal{Y}}$ denote potential outcomes. The ATE is \[ \theta^{\text{ATE}}_0 \coloneqq {\mathbb{E}}\left[m^{\text{ATE}}\left(W,\gamma_0\right)\right], \qquad m^{\text{ATE}}\left(W,\gamma\right)\coloneqq \gamma(1,Z)-\gamma(0,Z). \] To identify the ATE, we assume unconfoundedness and overlap: $(Y(1),Y(0))$ is independent of $D$ given $Z$, and there exists $\epsilon\in(0,1/2)$ such that $\epsilon<e_0(Z)<1-\epsilon$ almost surely, where $e_0(Z)\coloneqq {\mathbb{P}}\left(D=1\mid Z\right)$. We also assume suitable moment conditions, such as ${\mathbb{E}}\left[Y(d)^2\right]<\infty$ for $d\in\left\{0,1\right\}$.

In ATE estimation, the Riesz representer is \[ \alpha^{\text{ATE}}_0(X)\coloneqq \frac{D}{e_0(Z)}-\frac{1-D}{1-e_0(Z)}. \] This term is referred to by various names across different methods. In the semiparametric inference literature, it is called a bias-correction term Schuler2024introductionmodern. In TMLE, it is called the clever covariate vanderLaan2006targetedmaximum. In the DML literature, it is called the Riesz representer Chernozhukov2022automaticdebiased. The components $1/e_0(Z)$ and $1/\left(1-e_0(Z)\right)$ are also referred to as inverse propensity scores or balancing weights Horvitz1952generalization,Hainmueller2012entropybalancing. For its estimation, various methods have been proposed, including covariate balancing Imai2013covariatebalancing,Kallus2020generalizedoptimal,Kong2023covariatebalancing and other approaches Lee2010improvingpropensity.

The orthogonal score is \[ \psi^{\text{ATE}}\left(W;\eta,\theta\right)\coloneqq m^{\text{ATE}}\left(W,\gamma\right)+\alpha^{\text{ATE}}(X)\left(Y-\gamma(X)\right)-\theta, \] where $\eta^{\text{ATE}}_0\coloneqq \left(\gamma_0,\alpha^{\text{ATE}}_0\right)$. Solving $\frac{1}{n}\sum^n_{i=1}\psi^{\text{ATE}}\left(W_i;\widehat{\eta},\theta\right)=0$ yields \[ \widehat{\theta}^{\text{ATE}} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\widehat{\alpha}^{\text{ATE}}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right)+m^{\text{ATE}}\left(W_i,\widehat{\gamma}\right)\Big). \] This is the AIPW (doubly robust) estimator.

\paragraph{AME Estimation.} Let $X=(D,Z)$, where $D$ is a scalar continuous treatment. The AME is defined as \[ \theta^{\text{AME}}_0 \coloneqq {\mathbb{E}}\left[\partial_d \gamma_0(D,Z)\right], \qquad m^{\text{AME}}\left(W,\gamma\right)\coloneqq \partial_d\gamma(D,Z). \] Assume that $X$ admits a continuously differentiable pdf $f_0(D,Z)$ in $d$ and that boundary terms vanish so that integration by parts is valid. Then, \[ {\mathbb{E}}\left[\partial_d\gamma(D,Z)\right] = -{\mathbb{E}}\left[\gamma(D,Z)\,\partial_d\log f_0(D,Z)\right], \] and the Riesz representer is the negative score \[ \alpha^{\text{AME}}_0(X)\coloneqq -\partial_d\log f_0(D,Z). \] The orthogonal score is \[ \psi^{\text{AME}}\left(W;\eta,\theta\right)\coloneqq m^{\text{AME}}\left(W,\gamma\right)+\alpha^{\text{AME}}(X)\left(Y-\gamma(X)\right)-\theta, \] with $\eta^{\text{AME}}_0\coloneqq \left(\gamma_0,\alpha^{\text{AME}}_0\right)$. Solving $\frac{1}{n}\sum^n_{i=1}\psi^{\text{AME}}\left(W_i;\widehat{\eta},\theta\right)=0$ yields \[ \widehat{\theta}^{\text{AME}} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\widehat{\alpha}^{\text{AME}}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right)+m^{\text{AME}}\left(W_i,\widehat{\gamma}\right)\Big). \] In Riesz regression for AME settings, the objective coincides with Hyv\"arinen score matching and (in certain linear models) with least-squares importance fitting (LSIF)-type density ratio objectives Hyvarinen2005estimationof,Kanamori2009aleastsquares.

\paragraph{APE Estimation.} We consider the average effect of a counterfactual shift in the distribution of the regressor $X$ from a known $P_{-1}$ to another $P_1$, under the assumption that $\gamma_0$ is invariant to the distribution of $X$. We define the APE as \[ \theta^{\text{APE}}_0 \coloneqq \int \gamma_0(x)\,{\mathrm{d}} \mu(x), \qquad \mu(x)\coloneqq P_1(x)-P_{-1}(x). \] The linear functional is \[ m^{\text{APE}}\left(W,\gamma\right)\coloneqq \int \gamma(x)\,{\mathrm{d}} \mu(x), \] which does not depend on $W$ once $\gamma$ is fixed. Suppose $P_0$, $P_1$, and $P_{-1}$ admit pdfs $p_0$, $p_1$, and $p_{-1}$, and $P_1$ and $P_{-1}$ are absolutely continuous with respect to $P_0$. Then the Riesz representer is \[ \alpha^{\text{APE}}_0(X)\coloneqq \frac{p_1(X)-p_{-1}(X)}{p_0(X)}. \] The orthogonal score is \[ \psi^{\text{APE}}\left(W;\eta,\theta\right)\coloneqq m^{\text{APE}}\left(W,\gamma\right)+\alpha^{\text{APE}}(X)\left(Y-\gamma(X)\right)-\theta, \] with $\eta^{\text{APE}}_0\coloneqq \left(\gamma_0,\alpha^{\text{APE}}_0\right)$. Solving $\frac{1}{n}\sum^n_{i=1}\psi^{\text{APE}}\left(W_i;\widehat{\eta},\theta\right)=0$ yields \[ \widehat{\theta}^{\text{APE}} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\widehat{\alpha}^{\text{APE}}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right)+m^{\text{APE}}\left(W_i,\widehat{\gamma}\right)\Big). \]

\paragraph{Covariate Shift Adaptation.} Covariate shift refers to settings where the marginal distribution of the regressor $X$ changes across populations, while the conditional distribution of $Y$ given $X$ remains invariant Shimodaira2000improvingpredictive,Reddi2015doublyrobust. Let $(X,Y)\sim P_0$ denote the source (labeled) distribution with regressor pdf $p_0(x)$, and let $\widetilde{X}\sim P_{X,1}$ denote the target (unlabeled) regressor distribution with pdf $p_1(x)$. Assume ${\mathbb{E}}\left[Y\mid X=x\right]=\gamma_0(x)$ holds under both populations and $P_{X,1}$ is absolutely continuous with respect to $P_{X,0}$. The target parameter is \[ \theta^{\text{CS}}_0 \coloneqq {\mathbb{E}}_{P_{X,1}}\left[\gamma_0(\widetilde{X})\right] ={\mathbb{E}}_{P_0}\left[r_0(X)\gamma_0(X)\right], \qquad r_0(X)\coloneqq \frac{p_1(X)}{p_0(X)}. \] In this setting, the Riesz representer associated with the linear functional $\gamma\mapsto {\mathbb{E}}_{P_{X,1}}\left[\gamma(\widetilde{X})\right]$, when represented as an $L_2(P_{X,0})$ inner product, is the density ratio $r_0$.

With independent samples $\big\{(X_i,Y_i)\big\}^n_{i=1}\sim P_0$ and $\big\{\widetilde{X}_j\big\}^m_{j=1}\sim P_{X,1}$, an orthogonal moment condition is \[ {\mathbb{E}}_{P_{X,1}}\left[\gamma(\widetilde{X})\right]+{\mathbb{E}}_{P_0}\left[r(X)\left(Y-\gamma(X)\right)\right]-\theta=0, \] and the corresponding estimator takes the doubly robust form \[ \widehat{\theta}^{\text{CS}} \coloneqq \frac{1}{m}\sum^m_{j=1}\widehat{\gamma}(\widetilde{X}_j) +\frac{1}{n}\sum^n_{i=1}\widehat{r}(X_i)\left(Y_i-\widehat{\gamma}(X_i)\right). \]

\paragraph{Density Ratio Estimation.} We also note that density ratios are important in many tasks, such as learning with noisy labels Liu2014classificationwith, anomaly detection Smola2009relativenovelty,Hido2008inlierbased,Abe2019anomalydetection,Nam2015directdensityratio,Kato2021nonnegativebregman, two-sample testing Keziou2005testof,Sugiyama2011leastsquarestwosample, and change point detection Kawahara2009changepointdetection. Learning from positive and unlabeled data can also be interpreted as an application of density ratio estimation Kato2019learningfrom. Therefore, density ratio estimation has been studied as an independent task in machine learning Sugiyama2012densityratio.

Sugiyama2008directimportance considers covariate shift adaptation using importance weights estimated by LSIF, which can be interpreted as Riesz regression for density ratio estimation Kato2025rieszregression. Chernozhukov2025automaticdebiased and Kato2024doubledebiasedcovariateshift investigate efficient estimation of parameters under covariate shift from different perspectives.

Kato2025nearestneighbor points out that the nearest neighbor matching-based density ratio estimation method proposed in Lin2023estimationbased is a special case of LSIF for density ratio estimation Kanamori2009aleastsquares. Since LSIF can be interpreted as Riesz regression, nearest neighbor matching-based ATE estimation can also be interpreted as ATE estimation via Riesz regression. Kato2025scorematchingriesz proposes a Riesz representer estimation method based on score matching in diffusion models Hyvarinen2005estimationof,Song2020generativemodeling,Song2020improvedtechniques.

\paragraph{Notations and Assumptions.} If nested parentheses appear as $f\left(\left(\cdot\right)\right)t\right)}$, we often drop one layer when no confusion arises. For example, when $X=(D,Z)$, we write $f(X)=f(D,Z)$ instead of $f\left(\left(D,Z\right)\right)Z\right)}$. Let ${\mathbb{E}}$ denote expectation under $P_0$ unless specified otherwise. We use the subscript ${}_0$ to denote parameters under $P_0$.

table*[table* omitted — 3,637 chars of source]

Generalized Riesz Regression

In this study, we propose Riesz representer estimation methods by directly fitting a Riesz representer model to the true value under the Bregman divergence, which is a general discrepancy measure that includes the squared loss and the KL divergence as special cases. We refer to our method as generalized Riesz regression. The term generalized Riesz regression reflects the fact that the choice of loss function is closely connected to the choice of link function from the viewpoint of covariate balancing. We explain this viewpoint in Section (ref) and refer to it as automatic covariate balancing. This section provides a general formulation, and we introduce applications of generalized Riesz regression in Section (ref).

remarkWe can also refer to our method as direct bias correction term estimation, Bregman Riesz regression, or generalized tailored loss minimization. In an earlier draft, we used the term direct bias correction term estimation because the Riesz representer is almost equivalent to the bias correction term in one step bias correction. Bregman Riesz regression highlights that the method combines the Bregman divergence with Riesz regression. Generalized tailored loss minimization emphasizes that our generalized Riesz regression extends tailored loss minimization Zhao2019covariatebalancing and covers a broader class of methods, including Riesz regression. As discussed in Section (ref), standard covariate balancing methods implicitly assume a constant (homogeneous) ATE across $x$, whereas the covariate balancing property under generalized Riesz regression allows for heterogeneity. From this viewpoint, we call the method generalized covariate balancing.

Bregman Divergence

This study fits a Riesz representer model $\alpha \colon {\mathcal{X}} \to {\mathcal{A}}$ to the true Riesz representer $\alpha_0(X)$ under a Bregman divergence, where ${\mathcal{A}}\subset {\mathbb{R}}$ is the Riesz representer space. Let $g\colon {\mathcal{A}} \to {\mathbb{R}}$ be a differentiable and strictly convex function on ${\mathcal{A}}$. As discussed in Section (ref), this function $g$ corresponds to the objective (loss) function in covariate balancing. We refer to this function $g$ as the Bregman--loss function or the loss function.

Given $x \in {\mathcal{X}}$, the Bregman divergence between the scalar values $\alpha_0(x)$ and $\alpha(x)$ is defined as \[\text{BD}^\dagger_g\big(\alpha_0(x)\mid \alpha(x)\big) \coloneqq g(\alpha_0(x)) - g(\alpha(x)) - \partial g(\alpha(x)) \big(\alpha_0(x) - \alpha(x)\big),\] where $\partial g$ denotes the derivative of $g$. We then define the average Bregman divergence as \[\text{BD}^\dagger_g\big(\alpha_0\mid \alpha\big) \coloneqq \mathbb{E}\Big[g(\alpha_0(X)) - g(\alpha(X)) - \partial g(\alpha(X)) \big(\alpha_0(X) - \alpha(X)\big)\Big].\] We define the population target as \[\alpha^* = \operatorname*{arg\,min}_{\alpha\in {\mathcal{H}}} \text{BD}^\dagger_g\big(\alpha_0\mid \alpha\big),\] where ${\mathcal{H}}$ denotes models for $\alpha_0$. If $\alpha_0 \in {\mathcal{H}}$, then $\alpha^* = \alpha_0$ holds.

Although $\alpha_0$ is unknown, we can define an equivalent optimization problem that does not involve $\alpha_0$: \[\alpha^* = \operatorname*{arg\,min}_{\alpha\in {\mathcal{H}}} \text{BD}_g\big(\alpha\big),\] where \[\text{BD}_g\big(\alpha\big) \coloneqq \mathbb{E}\Big[ - g(\alpha(X)) + \partial g(\alpha(X)) \alpha(X) - m\big(W, (\partial g) \circ \alpha\big)\Big].\] Here, we use the linearity of $m$ and the Riesz representation theorem, which imply that \[ {\mathbb{E}}\Big[\partial g(\alpha(X))\alpha_0(X)\Big]={\mathbb{E}}\Big[m\big(W, (\partial g) \circ \alpha\big)\Big]. \]

We estimate the Riesz representer $\alpha_0$ by minimizing an empirical Bregman divergence:

align[align omitted — 174 chars of source]

where $J(\alpha)$ is a regularization function, and \[ \widehat{\text{BD}}_g(\alpha) \coloneqq \frac{1}{n}\sum^n_{i=1}\Big( - g(\alpha(X_i)) + \partial g(\alpha(X_i)) \alpha(X_i) - m\big(W_i, (\partial g)\circ \alpha\big)\Big). \] The choice of the regularization function is important because Riesz representer estimation is known to exhibit a characteristic overfitting phenomenon, often described as train-loss hacking or the density chasm. For details, see Section (ref).

Special Cases of the Bregman Divergence

By choosing different $g$, we obtain various objectives for Riesz representer estimation, including Riesz regression. Specifically, we obtain the following divergences (loss functions) as special cases of the Bregman divergence:

itemize• Squared distance (squared loss): $g^{\text{SQ}}(\alpha) \coloneqq (\alpha - C)^2$ for some constant $C \in {\mathbb{R}}$. • Unnormalized KL (UKL) divergence: $g^{\text{UKL}}(\alpha) \coloneqq \big(|\alpha| - C\big)\log \big(|\alpha| - C\big) - |\alpha|$ for $\alpha \in {\mathcal{A}}$ and some constant $C < \inf {\mathcal{A}}$. • Binary KL (BKL) divergence: $g^{\text{BKL}}(\alpha) \coloneqq (|\alpha| - C)\log \big(|\alpha| - C\big) - (|\alpha| + C)\log(|\alpha| + C)$ for $\alpha \in {\mathcal{A}}$ and some constant $C < \inf {\mathcal{A}}$. • Basu's power (BP) divergence (BP-Riesz): $g^{\text{BP}}(\alpha) \coloneqq \frac{\big(|\alpha| - C\big)^{1 + \omega} - \big(|\alpha| - C\big)}{\omega} - \big(|\alpha| - C\big)$ for some $\omega \in (0, \infty)$, $\alpha \in {\mathcal{A}}$, and some constant $C < \inf {\mathcal{A}}$. • PU learning loss: $g^{\text{PU}}(\alpha) \coloneqq \widetilde{C}\log\left(1-|\alpha|\right) + \widetilde{C}|\alpha|\left(\log\left(|\alpha|\right)-\log\left(1-|\alpha|\right)\right)$ for some $\widetilde{C} \in {\mathbb{R}}$, where $\alpha$ takes values in $(0, 1)$.

See also Table (ref) for a summary. Appendix (ref) provides a more detailed relationship between Riesz representer estimation and density ratio estimation, and Appendix (ref) provides more detailed relationships among the existing methods for each loss.

We refer to our method as SQ-Riesz when using the squared loss, UKL-Riesz when using the UKL divergence, BKL-Riesz when using the BKL divergence, BP-Riesz when using the BP divergence, and PU-Riesz when using the PU learning loss. We explain these special cases in detail in the following subsection

SQ-Riesz Regression

Let $C \in {\mathbb{R}}$ be a constant. We consider the following convex function: \[g^{\text{SQ}}(\alpha) = (\alpha - C)^2.\] This choice of convex function is motivated by the squared loss. The choice of $C$ depends on the researcher. We propose choosing $C$ so that the automatic covariate balancing property holds, see Section (ref). The derivative of $g^{\text{SQ}}(\alpha)$ with respect to $\alpha$ is given as

align*[align* omitted — 66 chars of source]

Under this choice of $g$, the Bregman divergence objective is given as \[\text{BD}_g\big(\alpha\big) \coloneqq \mathbb{E}\Big[\alpha(X)^2 - 2m\big(W, \big(\alpha(\cdot) - C\big)\big)g)\Big]}.\] Then, the estimation problem can be written as

align[align omitted — 190 chars of source]

where \[\widehat{\text{BD}}_{g^{\text{SQ}}}\big(\alpha\big) \coloneqq \frac{1}{n}\sum^n_{i=1}\left( \alpha(X_i)^2 - 2m\big(W_i, \big(\alpha(\cdot)\big)\big)g)}\right).\] Here, for simplicity, we drop constant terms that are irrelevant for the optimization and use the linearity of $m$ for $2(\alpha(\cdot) - C)$\footnote{The original Bregman divergence objective using $g(\alpha) = (\alpha - C)^2$ in ((ref)) is given as

align*[align* omitted — 284 chars of source]

}. This estimation method corresponds to Riesz regression in debiased machine learning Chernozhukov2021automaticdebiased and least-squares importance fitting (LSIF) in density ratio estimation Kanamori2009aleastsquares. Moreover, if we define ${\mathcal{H}}$ appropriately, we can recover nearest neighbor matching, as pointed out in Kato2025nearestneighbor, which extends the argument in Lin2023estimationbased.

UKL-Riesz Regression

Next, we consider a KL-divergence-motivated convex function. Let $C < \inf_x |\alpha(x)|$ be a constant. We define \[g^{\text{UKL}}(\alpha) = (|\alpha| - C)\log\left(|\alpha| - C\right) - |\alpha|.\] The choice of $C$ depends on the researcher. We propose choosing $C$ so that the automatic covariate balancing property holds, see Section (ref). The derivative of $g^{\text{UKL}}(\alpha)$ with respect to $\alpha$ is given as

align*[align* omitted — 110 chars of source]

Under this choice of $g$, the Bregman divergence objective is given as follows\footnote{ This Bregman divergence objective is derived as follows:

align*[align* omitted — 483 chars of source]

}: \[\text{BD}_{g^{\text{UKL}}}\big(\alpha\big) \coloneqq \mathbb{E}\Big[C\log\left(|\alpha(X)| - C\right) + |\alpha(X)| - m\Big(W, \operatorname{sign}\big(\alpha(\cdot)\big) \log\left(|\alpha(\cdot)| - C\right)\Big)\Big].\]

We estimate $\alpha_0$ by minimizing the empirical objective: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha \in {\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{UKL}}}\big(\alpha\big) + \lambda J(\alpha), \] where

align*[align* omitted — 278 chars of source]

In the next subsection, we also introduce the BKL divergence as a KL-divergence-motivated divergence, but the UKL divergence more closely corresponds to the standard KL divergence. The equivalent formulation is known as KLIEP in density ratio estimation. Note that KLIEP is a constrained formulation that is equivalent to UKL divergence minimization, and this equivalence is also known as Silverman's trick Silverman1978densityratios,KatoMinami2023unifiedperspective. This constrained formulation can also be interpreted as a dual formulation. In ATE estimation, tailored loss minimization corresponds to UKL minimization, whose dual yields entropy balancing weights Hainmueller2012entropybalancing.

BKL-Riesz Regression

We introduce the BKL divergence and BKL-Riesz, which are motivated by the KL divergence and logistic regression. Let $C < \inf_x |\alpha(x)|$ be a constant. We define \[g^{\text{BKL}}(\alpha) \coloneqq (|\alpha| - C)\log \big(|\alpha| - C\big) - (|\alpha| + C)\log(|\alpha| + C).\] The choice of $C$ depends on the researcher. We propose choosing $C$ so that the automatic covariate balancing property holds, see Section (ref).

Under this choice of $g$, the Bregman divergence objective is given as follows\footnote{ This Bregman divergence objective is derived as follows:

align*[align* omitted — 556 chars of source]

}: \[\text{BD}_{g^{\text{BKL}}}\big(\alpha\big) \coloneqq \mathbb{E}\left[ C\log \left(\frac{|\alpha(X)| - C}{|\alpha(X)| + C}\right) - m\left(W, \operatorname{sign}\big(\alpha(\cdot)\big) \log\left(\frac{|\alpha(\cdot)| - C}{|\alpha(\cdot)| + C}\right)\right)\right]\right)}}.\]

We estimate $\alpha_0$ by minimizing the empirical objective: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha \in {\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{BKL}}}\big(\alpha\big) + \lambda J(\alpha), \] where

align*[align* omitted — 339 chars of source]

In ATE estimation, this formulation corresponds to MLE for a logistic model of the propensity score. In density ratio estimation, this formulation corresponds to a logistic regression approach, where we classify two datasets using a logistic model and then take the ratio to obtain a density ratio estimator. For details, see Section (ref).

BP-Riesz Regression

Basu's power (BP) divergence bridges the squared loss and KL divergence Basu1998robustandefficient. Let $C < \inf_x |\alpha(x)|$ be a constant. Based on the BP divergence, we introduce the following function: \[g^{\text{BP}}(\alpha) \coloneqq \frac{\big(|\alpha| - C\big)^{1 + \omega} - \big(|\alpha| - C\big)}{\omega} - |\alpha|.\] The derivative is given as \[\partial g^{\text{BP}}(\alpha) = \left(1 + \frac{1}{\omega}\right)\operatorname{sign}(\alpha)\Big(\big(|\alpha| - C\big)^{\omega} - 1\Big).\] Using this function in the Bregman divergence yields a BP-motivated loss and the corresponding objective for BP-Riesz regression. The choice of $C$ depends on the researcher. We propose choosing $C$ so that the automatic covariate balancing property holds, see Section (ref).

Under this choice of $g$, the Bregman divergence objective is given as follows\footnote{ This Bregman divergence objective is derived from

align*[align* omitted — 517 chars of source]

}:

align*[align* omitted — 454 chars of source]

We estimate $\alpha_0$ by minimizing the empirical objective: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha \in {\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{BP}}}\big(\alpha\big) + \lambda J(\alpha), \] where

align*[align* omitted — 481 chars of source]

Basu's power divergence bridges the squared loss and the (U)KL divergence. When $\omega = 1$, BP-Riesz regression reduces to SQ-Riesz regression, while when $\omega \to 0$, BP-Riesz regression reduces to UKL-Riesz regression. This follows because \[\lim_{\omega \to 0}\frac{\big(|\alpha| - C\big)^\omega - 1}{\omega} = \log\big(|\alpha| - C\big).\] BP-Riesz regression plays an important role in robust estimation of the Riesz representer. UKL-Riesz regression implicitly assumes exponential or sigmoid models for the Riesz representer. If the model is misspecified, the estimation accuracy can deteriorate. As Sugiyama2012densityratio notes, SQ-Riesz regression is more robust to outliers, while UKL-Riesz regression can perform well under correct specification. BP-Riesz regression provides an intermediate objective between these two extremes. In addition, BP-Riesz regression is useful for understanding the automatic covariate balancing property.

PU-Riesz Regression

We introduce PU learning loss and PU-Riesz, which are motivated by PU learning. Let $C < \inf_x |\alpha(x)|$ be some constant. We define $g^{\text{PU}}$ as \[g^{\text{PU}}(\alpha) \coloneqq \widetilde{C}\log\left(1-|\alpha|\right) + \widetilde{C}|\alpha|\Big(\log\left(|\alpha|\right)-\log\left(1-|\alpha|\right)\Big)\] for some $\widetilde{C} \in {\mathbb{R}}$, and we restrict $\alpha$ to take values in $(0, 1)$. The choice of $\widetilde{C}$ depends on the researcher. It corresponds to the class prior in PU learning and plays a role that differs from the parameter $C$ in the other loss functions. The derivative of $g^{\text{PU}}(\alpha)$ with respect to $\alpha$ is given as

align*[align* omitted — 363 chars of source]

Under this choice of $g$, the Bregman divergence objective is given as follows: \[\text{BD}_{g^{\text{PU}}}\big(\alpha\big) \coloneqq \mathbb{E}\left[ - \widetilde{C}\log\left(1-|\alpha(X)|\right) - m\left(W, \widetilde{C}\operatorname{sign}(\alpha)\Big(\log\left(|\alpha(\cdot)|\right)-\log\left(1-|\alpha(\cdot)|\right)\Big)\right)\right].\]

Then, we estimate $\alpha_0$ by minimizing the empirical objective: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha \in {\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{PU}}}\big(\alpha\big) + \lambda J(\alpha), \] where

align*[align* omitted — 306 chars of source]

PU learning is a classical problem. For example, Lancaster1996casecontrolstudies studies this problem under a stratified sampling scheme Wooldridge2001asymptoticproperties. duPlessis2015convexformulation rediscovers this formulation and calls it unbiased PU learning. Kato2019learningfrom points out the relationship between PU learning and density ratio estimation, and Kato2021nonnegativebregman shows that PU learning is a special case of density ratio model fitting under a Bregman divergence. Our results further generalize these results. Note that PU learning in these settings and our setting is called case-control PU learning. There is also another formulation called censoring PU learning Elkan2008learningclassifiers. Kato2025puate considers ATE estimation in a PU learning setup and applies our method in their study.

Automatic Regressor Balancing

This section formalizes the automatic regressor balancing phenomenon: under suitable loss--link choices and linear-in-parameters modeling, the generalized Riesz regression estimator satisfies (approximate) moment-balance conditions as a direct consequence of first-order optimality (KKT) for the regularized ERM problem.

A key point throughout is that balancing is not an additional constraint we impose. Rather, it is an implicit constraint that appears whenever we parametrize the score $u=\partial g\circ \alpha$ linearly and solve a convex (or approximately solved) empirical Bregman problem.

Generalized Linear Models

Let ${\bm{\phi}}=(\phi_1,\dots,\phi_p)^\top$ be basis functions ${\bm{\phi}}\colon{\mathcal{X}}\to{\mathbb{R}}^p$. We consider a linear-in-parameter model for the Riesz representer of the form

align[align omitted — 161 chars of source]

where $\zeta^{-1}$ is a (possibly $x$-dependent) inverse link function. This introduction of a link function is motivated by generalized linear models.

\paragraph{Examples.} For example, we can approximate the Riesz representer by \[\alpha_{{\bm{\beta}}}(X) \coloneqq {\bm{\phi}}(X)^\top {\bm{\beta}},\] which corresponds to using a linear link function for $\zeta^{-1}$. This linear specification can be applied in many settings, including ATE estimation and density ratio estimation.

We can improve estimation accuracy by incorporating additional modeling assumptions. For example, in ATE estimation, we can approximate the propensity score $e_0(Z) = P(D = 1\mid Z)$ by a logistic model, \[e_{{\bm{\beta}}}(Z) \coloneqq \frac{1}{1 + \exp\Big(- {\bm{\phi}}(Z)^\top {\bm{\beta}}\Big)},\] where ${\bm{\phi}}\colon {\mathcal{Z}} \to {\mathbb{R}}^p$ is a basis function, and ${\bm{\beta}}$ is the corresponding parameter. Note that in this case, we consider a basis function that receives $Z$ not $X$, or we can interpret that ${\bm{\phi}}(D, Z)$ only depends on $Z$ and is independent of $D$. Plugging this propensity score model into the Riesz representer for ATE, we can approximate the Riesz representer by \[\alpha^{\text{ATE}}_{{\bm{\beta}}}(X) \coloneqq \frac{D}{e_{{\bm{\beta}}}(Z)} - \frac{1 - D}{1 - e_{{\bm{\beta}}}(Z)}.\] In such cases, we define $\zeta^{-1}$ so that

align[align omitted — 358 chars of source]

Note that we can also model the Riesz representer as

align[align omitted — 208 chars of source]

by including $D$ in the basis function. The choice of basis functions depends on the heterogeneity of $\gamma_0(X)$. As we discuss in Section (ref), if $\gamma_0(x)$ is constant for all $x$, ((ref)) may be more appropriate. In contrast, if $\gamma_0(x)$ varies across $x$, ((ref)) may be more appropriate.

Similarly, in covariate shift adaptation, we can model the density ratio as \[\alpha^{\text{CS}}_{{\bm{\beta}}}(X) = \exp\Big(- {\bm{\phi}}(X)^\top {\bm{\beta}}\Big).\]

Key Structural Requirement: Linearity In Dual Coordinates

Automatic balancing arises when the score \[ u_{{\bm{\beta}}}(x)\coloneqq (\partial g)\big(\alpha_{{\bm{\beta}}}(x)\big) \] is linear in the coefficients ${\bm{\beta}}$. To express this cleanly, define feature functions \[ \widetilde\phi_j(x)\coloneqq \widetilde g\left(x,\phi_j(x)\right), \qquad j=1,\dots,p, \] and the linear index

align[align omitted — 108 chars of source]

The canonical way to ensure ((ref)) is to choose the link so that

align[align omitted — 143 chars of source]

When $g$ is strictly convex and differentiable on its domain, ((ref)) is equivalent to $\alpha_{{\bm{\beta}}}(x)=(\partial g)^{-1}\big(u_{{\bm{\beta}}}(x)\big)$ (possibly branchwise; see Section (ref)).

\paragraph{Interpretation.} Equation ((ref)) says that ((ref)) is best viewed as a generalized linear model in dual coordinates $u=\partial g(\alpha)$. The balancing statements below will be written in terms of the features $\widetilde\phi_j$ that index $u_{{\bm{\beta}}}$.

Automatic Regressor Balancing As KKT Conditions

Recall the empirical Bregman objective (Section (ref))

align[align omitted — 299 chars of source]

We estimate ${\bm{\beta}}$ by penalized ERM

align[align omitted — 250 chars of source]

and set $\widehat{\alpha}\coloneqq \alpha_{\widehat{{\bm{\beta}}}}$.

\paragraph{Imbalance Gap Functional.} For each $j=1,\dots,p$, let us define the sample imbalance gap functional as

align[align omitted — 156 chars of source]

We also define

align[align omitted — 230 chars of source]

The quantity $\widehat\Delta_j(\alpha)$ measures mismatch between the weighted empirical moment of $\widetilde\phi_j$ and the empirical target moment induced by $m$.

theorem[Automatic regressor balancing (KKT form)] Assume the following conditions: \begin{enumerate} • $g$ is strictly convex and differentiable on an open domain, and the link is chosen so that \[ \partial g\big(\alpha_{{\bm{\beta}}}(x)\big)=u_{{\bm{\beta}}}(x)=\sum_{j=1}^p \beta_j\,\widetilde\phi_j(x) \quad\text{for all relevant }x. \]$\widehat{{\bm{\beta}}}$ is any minimizer of ((ref)). \end{enumerate} Then there exist scalars $s_1,\dots,s_p$ such that, for each $j=1,\dots,p$, \begin{align} \widehat\Delta_j(\widehat\alpha)+\lambda s_j=0, \end{align} where $s_j\in\partial\big(|\beta_j|^a/a\big)\big|_{\beta_j=\widehat\beta_j}$ is a (sub)gradient of the penalty. Consequently: \begin{itemize} • If $a=1$ (lasso), then $|s_j|\le 1$ and hence \begin{align} \left|\widehat\Delta_j(\widehat\alpha)\right|\le \lambda, \qquad j=1,\dots,p. \end{align} • If $a>1$, then $s_j=\operatorname{sign}(\widehat\beta_j)|\widehat\beta_j|^{a-1}$ and hence \begin{align} \left|\widehat\Delta_j(\widehat\alpha)\right| = \lambda|\widehat\beta_j|^{a-1}, \qquad j=1,\dots,p. \end{align} \end{itemize} In particular, if $\lambda=0$ and ((ref)) admits a minimizer, then $\widehat\alpha$ achieves exact training-sample balance $\widehat\Delta_j(\widehat\alpha)=0$ for all $j$.
corollary[Balancing of the original basis functions] Under the conditions of Theorem (ref), if $\widetilde\phi_j=\phi_j$ for all $j$, then ((ref))--((ref)) become \[ \left| \frac{1}{n}\sum^n_{i=1} \Big( \widehat\alpha(X_i)\phi_j(X_i)-m(W_i,\phi_j) \Big)\right| \le \lambda \quad (a=1), \] and \[ \left| \frac{1}{n}\sum^n_{i=1} \Big( \widehat\alpha(X_i)\phi_j(X_i)-m(W_i,\phi_j) \Big)\right| = \lambda|\widehat\beta_j|^{a-1} \quad (a>1). \]

\paragraph{Interpretation and limitations.} Theorem (ref) is a first-order optimality statement on the training sample used in ((ref)). If cross fitting is used, the same equalities and inequalities generally do not hold on the held-out fold, and imbalance becomes a generalization/diagnostic object rather than an exact constraint. Likewise, if ((ref)) is solved only approximately, or the model is nonconvex, then ((ref)) holds only up to an optimization residual.

\paragraph{When does a constrained “balancing program” coincide with a true dual?} In the linear-score settings emphasized here, for example, SQ-Riesz with a linear link or UKL-Riesz with a compatible log-type link, the map ${\bm{\beta}}\mapsto \widehat{\mathrm{BD}}_g(\alpha_{{\bm{\beta}}})$ is convex, and the penalty $\|{\bm{\beta}}\|_a^a$ is convex for $a\ge 1$. Under standard constraint qualifications, one can derive an explicit Fenchel/Lagrange dual whose constraints are exactly moment-balance inequalities, cf.\ Proposition (ref).

\paragraph{When should the “dual” be interpreted only as a KKT characterization?} Outside the convex or linear regime, for example, when $\alpha$ is represented by a neural network and trained by nonconvex ERM, a constrained balancing program is best interpreted as a KKT-style characterization rather than a literal dual. In such cases, the fitted $\widehat\alpha$ need not satisfy ((ref))--((ref)) exactly due to (i) nonconvexity and (ii) optimization error. Practically, $\max_j|\widehat\Delta_j(\widehat\alpha)|$ is best viewed as a diagnostic of approximate balance.

Connection To Balancing Weights

When ((ref)) is convex, generalized Riesz regression can be viewed as selecting the minimum-$g$ weights among approximately balancing solutions. We state the cleanest form for $\ell_1$ regularization, which yields explicit moment constraints.

proposition[Dual balancing-weight program for $\ell_1$] Suppose $a=1$ and the setup of Theorem (ref) holds with $u_{{\bm{\beta}}}$ linear in ${\bm{\beta}}$. Then, under standard regularity conditions ensuring strong duality, for example, a Slater-type condition for the constraints below, the optimization problem ((ref)) is equivalent to \begin{align} \min_{\alpha_1,\dots,\alpha_n\in\mathrm{dom}(g)}\ &\frac{1}{n}\sum^n_{i=1} g(\alpha_i)\\ subject to\quad &\left| \frac{1}{n}\sum^n_{i=1}\Big(\alpha_i\,\widetilde\phi_j(X_i)-m(W_i,\widetilde\phi_j)\Big)\right| \le \lambda, \qquad j=1,\dots,p. \nonumber \end{align}

Problem ((ref)) is a generalized balancing program, with the generator $g$ determining the geometry of the weights. Exact balance at $\lambda=0$ corresponds to feasibility of the constraints, which need not hold in finite samples or under domain restrictions on $\alpha$; see Section (ref) for a detailed feasibility discussion.

\paragraph{Loss invariance under exact balance.} When exact balance holds on the same dictionary, the final identity ((ref)) depends on balancing, not on which strictly convex generator $g$ selected $\widehat{\alpha}$ among feasible solutions. Thus, in the exact-balance regime, different loss--link pairs that lead to the same balancing equations yield the same RW estimator on that training sample. This “loss invariance” disappears in inexact-balance regimes and is a primary reason loss choice matters in practice (discussed below).

\paragraph{Exact balancing is a sample property for the chosen features.} Even when $\lambda=0$ and $\mathcal{F}_0\neq\emptyset$, exact balancing does not imply $\widehat\alpha=\alpha_0$ pointwise; it only implies moment matching on the chosen dictionary $\{\widetilde\phi_j\}_{j=1}^p$.

\paragraph{Cross fitting breaks exact sample balance.} Exact balancing is derived from KKT conditions on the same sample used to fit $\widehat\alpha$. If $\widehat\alpha$ is estimated on a training fold and evaluated on a separate fold, the evaluation-fold imbalance is generally nonzero. In cross-fitted inference, imbalance is best treated as a diagnostic that should generalize.

\paragraph{Nonconvex ERM does not guarantee KKT satisfaction.} When $\widehat\alpha$ is obtained by nonconvex optimization, for example, neural networks, local minima and early stopping can prevent exact KKT satisfaction even on the training sample. This does not invalidate the objective, but it changes balancing from a theorem-level implication to an empirical property that can be checked.

Feasibility and The Role of Regularization

To make feasibility explicit, define the feasible set of balancing weights at tolerance level $\lambda\ge 0$:

align[align omitted — 261 chars of source]

where $\mathrm{dom}(g)$ denotes the domain of the generator, including any sign restrictions induced by the loss--link choice. By construction, $\mathcal{F}_{\lambda_2}\supseteq \mathcal{F}_{\lambda_1}$ whenever $\lambda_2\ge \lambda_1$, so relaxing $\lambda$ weakly enlarges the feasible set.

\paragraph{Exact balancing at $\lambda=0$ may be infeasible.} Exact sample balancing corresponds to $\mathcal{F}_0\neq\emptyset$. Whether $\mathcal{F}_0$ is nonempty depends on the feature map, the sample size, and the domain restrictions on $\alpha$. In the unconstrained case $\mathrm{dom}(g)={\mathbb{R}}$, exact balancing is a system of $p$ linear equations in $n$ unknowns and is generically solvable when $p\le n$ and the corresponding design matrix has full rank. In contrast, if $\mathrm{dom}(g)$ enforces constraints such as $\alpha_i>0$, for example, density ratios, or branchwise sign restrictions, for example, ATE, feasibility additionally requires that the target moments lie in an appropriate convex cone, and infeasibility can occur even when $p\le n$.

\paragraph{Implications for the primal problem.} When the balancing formulation is a true convex dual of the primal, Proposition (ref), infeasibility at $\lambda=0$ signals that the corresponding unregularized primal problem is ill-behaved: it may fail to attain a minimizer or may drive parameters toward the boundary of $\mathrm{dom}(g)$, producing extreme weights (overfitting). Regularization remedies this by enlarging $\mathcal{F}_\lambda$ or enforcing coercivity of the objective.

Loss--Link Pairs for Automatic Regressor Balancing

Condition ((ref)) is most transparently satisfied by choosing the link as a (branchwise) inverse derivative of $g$. Below we list the main choices used in this paper, writing $C\ge 0$ for a shift parameter and $\xi(x)\in\{0,1\}$ for a known branch selector, for example, $\xi(x)=D$ in ATE:

itemize• Squared distance (SQ-Riesz). Let $g^{\mathrm{SQ}}(\alpha)=(\alpha-C)^2$. Then $\partial g^{\mathrm{SQ}}(\alpha)=2(\alpha-C)$ and \[ \left(\partial g^{\mathrm{SQ}}\right)^{-1}(v)=C+\frac{v}{2}. \] Thus the affine link \[ \alpha_{{\bm{\beta}}}(x)=C+\frac{1}{2}{\bm{\phi}}(x)^\top{\bm{\beta}} \] implies $(\partial g^{\mathrm{SQ}})\circ \alpha_{{\bm{\beta}}}={\bm{\phi}}^\top{\bm{\beta}}$ and hence $\widetilde\phi_j=\phi_j$. • UKL divergence (UKL-Riesz). Let $g^{\mathrm{UKL}}(\alpha)=(|\alpha|-C)\log(|\alpha|-C)-|\alpha|$ on $\{|\alpha|>C\}$. On the positive branch $\alpha>C$, $\partial g^{\mathrm{UKL}}(\alpha)=\log(\alpha-C)$, and on the negative branch $\alpha<-C$, $\partial g^{\mathrm{UKL}}(\alpha)=-\log(-\alpha-C)$. A branchwise link that enforces ((ref)) is \[ \alpha_{{\bm{\beta}}}(x) = \xi(x)\Big(C+\exp({\bm{\phi}}(x)^\top{\bm{\beta}})\Big) - (1-\xi(x))\Big(C+\exp(-{\bm{\phi}}(x)^\top{\bm{\beta}})\Big), \] which satisfies $(\partial g^{\mathrm{UKL}})\circ\alpha_{{\bm{\beta}}}={\bm{\phi}}^\top{\bm{\beta}}$ on both branches. • Basu power divergence (BP-Riesz). Let $\omega\in(0,\infty)$ and $k\coloneqq 1+1/\omega$. A convenient BP derivative is branchwise invertible with inverses \[ (\partial g^{\mathrm{BP}}_{+})^{-1}(v)=C+\Big(1+\frac{v}{k}\Big)^{1/\omega}, \qquad (\partial g^{\mathrm{BP}}_{-})^{-1}(v)=-C-\left(1-\frac{v}{k}\right)^{1/\omega}, \] (on their respective domains). Thus the power link \[ \alpha_{{\bm{\beta}}}(x) = \xi(x)\left(C+\left(1+\frac{{\bm{\phi}}(x)^\top{\bm{\beta}}}{k}\right)^{1/\omega}\right)/\omega}} - (1-\xi(x))\left(C+\left(1-\frac{{\bm{\phi}}(x)^\top{\bm{\beta}}}{k}\right)^{1/\omega}\right)/\omega}} \] enforces $(\partial g^{\mathrm{BP}})\circ\alpha_{{\bm{\beta}}}={\bm{\phi}}^\top{\bm{\beta}}$ branchwise.
remark[Automatic balancing in BKL-Riesz regression] BKL-type generators also admit (less transparent) links that enforce ((ref)). With an appropriate branchwise link, the same KKT argument in Theorem (ref) yields training-sample balancing. However, the standard logistic MLE parametrization for propensity scores corresponds to a different loss--link pairing, Bernoulli likelihood with sigmoid link, and does not produce ATE-type balancing unless one changes the link accordingly. See Appendix (ref) and Section (ref) for the practical implication: with sigmoid propensity modeling, UKL-Riesz, not BKL-Riesz, is the loss that preserves the dual linearity needed for automatic ATE balancing.

Practical Interpretation of the Regularization Parameter

The regularization parameter $\lambda$ plays two conceptually distinct roles:

itemize• Statistical stabilization: it controls variance and prevents extreme solutions, acute for density ratios and inverse propensity weights. • Feasibility relaxation: it enlarges $\mathcal{F}_\lambda$ and ensures approximate balancing constraints are attainable even when exact balancing is impossible or numerically unstable.

Accordingly, in applications where $\lambda=0$ leads to unstable or infeasible balancing, it is natural to treat $\lambda$ as a tuning parameter that trades off balance and stability, while monitoring $\max_j|\widehat\Delta_j(\widehat\alpha)|$ as an interpretable diagnostic.

Regressor Balancing as Moment Matching under Bregman Projection

This appendix connects three perspectives on representer fitting: (i) the sieve Riesz equations in a Hilbert space, (ii) Bregman projection geometry, and (iii) the KKT balancing conditions in generalized Riesz regression.

One can estimate the Riesz representer by directly solving the equations implied by the Riesz representation theorem. This approach is a variant of moment matching, often called the sieve Riesz representer, and it has been used in the semiparametric and sieve inference literature, see, e.g., Chen2015sievesemiparametric and Chen2015sievewald. This viewpoint is closely connected to exact balancing. Understanding this approach clarifies how the choice of the loss function $g$ in the Bregman divergence determines the geometry of the representer fit.

For the linear functional $\gamma\mapsto {\mathbb{E}}\left[m(W,\gamma)\right]$, the Riesz representer $\alpha_0\in{\mathcal{H}}$ satisfies ${\mathbb{E}}\left[m(W,\gamma)\right]=\langle \alpha_0,\gamma\rangle$ for all $\gamma\in{\mathcal{H}}$. On a finite-dimensional sieve space $H_p\coloneqq\mathrm{span}\{\phi_1,\ldots,\phi_p\}$, the sieve Riesz representer $\alpha_p\in H_p$ is characterized by linear equations $\langle \alpha_p,\phi_j\rangle={\mathbb{E}}\left[m(W,\phi_j)\right]$. Our KKT balancing equations are the empirical counterpart, and the Bregman geometry viewpoint is developed in Appendix (ref).

\paragraph{Riesz representer as a linear Equation in a Hilbert space} Let ${\mathcal{H}}\coloneqq L_2(P_X)$ with inner product $\langle f,g\rangle \coloneqq {\mathbb{E}}\left[f(X)g(X)\right]$. For the linear map $\gamma\mapsto {\mathbb{E}}\left[m(W,\gamma)\right]$ (Section (ref)), the Riesz representation theorem yields $\alpha_0\in{\mathcal{H}}$ such that

align[align omitted — 149 chars of source]

Restricting to a finite-dimensional sieve space ${\mathcal{H}}_p\coloneqq \mathrm{span}\{\phi_1,\ldots,\phi_p\}$, the sieve Riesz representer $\alpha_p\in{\mathcal{H}}_p$ is characterized by

align[align omitted — 136 chars of source]

Writing $\alpha_p(x)={\bm{\phi}}(x)^\top{\bm{\beta}}$ with ${\bm{\phi}}\coloneqq (\phi_1,\ldots,\phi_p)^\top$, ((ref)) becomes the linear system

align[align omitted — 201 chars of source]

\paragraph{Bregman objectives, dual variables, and a common projection geometry} Recall the pointwise Bregman divergence \[ \mathrm{BD}^\dagger_g\left(\alpha_0(x)\mid \alpha(x)\right) \coloneqq g(\alpha_0(x)) - g(\alpha(x)) - \partial g(\alpha(x))\big(\alpha_0(x)-\alpha(x)\big), \] and the population target $\alpha^*\coloneqq \arg\min_{\alpha\in{\mathcal{H}}}{\mathbb{E}}\left[\mathrm{BD}^\dagger_g\left(\alpha_0(X)\mid \alpha(X)\right)\right]$. A first-order characterization of Bregman projections is: if ${\mathcal{H}}$ is convex and $\alpha^*$ is an interior minimizer, then

align[align omitted — 173 chars of source]

with equality along feasible smooth directions. Equation ((ref)) makes clear that all losses share the same underlying $L_2(P_X)$ geometry; what changes across losses is the dual coordinate $\partial g(\alpha)$.

A convenient reparameterization uses the convex conjugate $g^*$ and the dual variable

align[align omitted — 49 chars of source]

When $g$ is strictly convex and differentiable, the Fenchel--Young identity implies $g^*(u)=\alpha u-g(\alpha)$ at $u=\partial g(\alpha)$, and the population objective can be written as

align[align omitted — 151 chars of source]

up to an additive constant independent of $\alpha$.

\paragraph{Finite-dimensional dual models and KKT.} Consider a model class specified in dual coordinates as

align[align omitted — 140 chars of source]

(possibly branchwise to enforce sign restrictions). For the penalized empirical objective \[ \widehat{\bm{\beta}} \in \arg\min_{{\bm{\beta}}\in{\mathbb{R}}^p} \Big\{{\mathbb{E}}_n\left[g^*(u_{\bm{\beta}}(X))\right] - {\mathbb{E}}_n\left[m(W,u_{\bm{\beta}})\right] + \tfrac{\lambda}{a}\|{\bm{\beta}}\|_a^a\Big\}, \] the KKT conditions yield

align[align omitted — 184 chars of source]

where $\widehat{\alpha}=\alpha_{\widehat{\bm{\beta}}}$. When $\lambda=0$, ((ref)) reduces exactly to the empirical sieve Riesz equations, the finite-sample analogue of ((ref)).

Covariate Balancing

We now specialize the generic “automatic balancing” equations to the familiar covariate balancing language in treatment-effect problems, and we clarify an important loss--link implication:

\paragraph{ATE balancing with $Z$-only features recovers covariate balance.} In the ATE setting $X=(D,Z)$ with representer $\alpha^{\mathrm{ATE}}(D,Z)=D/e_0(Z)-(1-D)/(1-e_0(Z))$, a common choice in practice is to model the propensity using only covariates $Z$ and to take $\widetilde\phi_j(X)=\phi_j(Z)$. In this case, $m(W,\phi_j(Z))=0$ for ATE-type $m$, because $\phi_j(Z)$ does not vary with $D$, so the exact-balance equations $\widehat\Delta_j(\widehat\alpha)=0$ become \[ \frac{1}{n}\sum^n_{i=1} \widehat\alpha(D_i,Z_i)\,\phi_j(Z_i)=0, \qquad j=1,\dots,p, \] i.e. \[ \frac{1}{n}\sum^n_{i=1} \frac{D_i}{\widehat e(Z_i)}\,\phi_j(Z_i) = \frac{1}{n}\sum^n_{i=1} \frac{1-D_i}{1-\widehat e(Z_i)}\,\phi_j(Z_i), \qquad j=1,\dots,p. \] These are exactly the usual covariate balancing conditions: the weighted covariate moments in the treated and control groups match for the chosen dictionary.

\paragraph{Sigmoid propensity modeling implies a log-link representer.} If we commit to the logistic propensity model $e_{{\bm{\beta}}}(Z)=\Lambda({\bm{\phi}}(Z)^\top{\bm{\beta}})$, then the induced ATE representer is exactly the branchwise log-link form ((ref)). Therefore, the dual-score linearity requirement ((ref)) reduces to a compatibility condition between (i) the chosen generator $g$ and (ii) the log-link induced by the sigmoid propensity model.

\paragraph{UKL-Riesz is loss--link compatible for ATE under a sigmoid propensity model.} Under the shifted UKL generator with $C=1$, the dual score $\partial g^{\mathrm{UKL}}(\alpha)$ becomes linear in the logistic index, indeed, equal to $-{\bm{\phi}}(Z)^\top{\bm{\beta}}$ on both branches. Consequently, UKL-Riesz with the sigmoid-induced log-link enjoys automatic balancing through Theorem (ref). A concise derivation is given in Appendix (ref).

\paragraph{Why logistic MLE (BKL) is not the ATE-balancing choice under the same sigmoid link.} Standard logistic regression MLE corresponds to the Bernoulli likelihood and therefore to the BKL-type generator. Under the same sigmoid-induced ATE representer ((ref)), the BKL dual score is not linear in the index ${\bm{\phi}}(Z)^\top{\bm{\beta}}$, so the KKT balancing mechanism does not align with ATE balancing. This is consistent with the “estimand-driven loss selection” message of Zhao2019covariatebalancing: under logistic modeling, the Bernoulli likelihood corresponds to overlap-style weighting objectives rather than ATE. Within our framework, the resolution is simple: either (i) change the loss to UKL to match the sigmoid-induced log-link for ATE balancing, or (ii) keep the Bernoulli likelihood but reinterpret the target estimand/weighting scheme accordingly.

\paragraph{Why restricting propensity modeling to $Z$ can be undesirable for orthogonalization.} Using $Z$-only features is natural for propensity modeling and yields classical covariate balance, but it can be misaligned with the goal of automatic Neyman orthogonalization: the regression function $\gamma_0(X)={\mathbb{E}}\left[Y\mid D,Z\right]$ is a function of $X=(D,Z)$, and approximating it well typically requires treatment-specific components, for example, separate bases for $D=1$ and $D=0$, or interactions $D\cdot \phi(Z)$. If the balancing dictionary only depends on $Z$, then exact balancing only enforces orthogonality against a narrow outcome model class and may fail under heterogeneous treatment effects. The detailed orthogonality implications and remedies, for example, richer dictionaries, augmentation/TMLE, and inexact-balance regimes, are developed in Section (ref).

Automatic Neyman Orthogonalization and Automatic Neyman Error Minimization

This section explains why balancing is not merely a diagnostic for weighting, but a structural device that yields (approximate) Neyman orthogonality and controls the leading bias of debiased estimators. We first treat the benchmark case of exact balancing (typically $\lambda=0$ on the training sample), and then generalize to inexact balancing (regularization $\lambda>0$, cross fitting, or optimization residuals). We also highlight the special linear--linear case in which balancing collapses to regression (OLS/ridge), and we compare the targeting directions of generalized Riesz regression and TMLE.

Recap of Estimators, the Imbalance Gap, and the Neyman Error

In Section (ref), we defined the following four estimators for the estimation of the parameter of interest:

itemize• RA estimator. $\widehat{\theta}^{\text{RA}} \coloneqq \frac{1}{n}\sum^n_{i=1}m\left(W_i,\widehat{\gamma}\right)$. • RW estimator. $\widehat{\theta}^{\text{RW}} \coloneqq \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)Y_i$. • ARW estimator. $\widehat{\theta}^{\text{ARW}} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(m\left(W_i,\widehat{\gamma}\right) + \widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}(X_i)\big)\Big)$. • TMLE estimator. $\widehat{\theta}^{\text{TMLE}} \coloneqq \frac{1}{n}\sum^n_{i=1}m\left(W_i,\widehat{\gamma}^{(1)}\right)$, where $\widehat\gamma^{(1)}(x)=\widehat\gamma(x)+\widehat\epsilon\widehat\alpha(x)$, and \[ \widehat\epsilon = \frac{\sum^n_{i=1}\widehat\alpha(X_i)\big(Y_i-\widehat\gamma(X_i)\big)} {\sum^n_{i=1}\widehat\alpha(X_i)^2}. \]

In Section (ref), we defined the Neyman error as \[ \text{NeymanError} \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}(X_i)\big) + m\left(W_i,\widehat{\gamma}\right) - m\left(W_i,\gamma_0\right)\Big), \] which is the discrepancy between an estimated Neyman orthogonal score and the true Neyman orthogonal score.

In Section (ref), for functions $f\colon {\mathcal{X}} \to {\mathbb{R}}$ we defined the imbalance gap as \[ \widehat\Delta\left(\alpha,f\right) \coloneqq \frac{1}{n}\sum^n_{i=1} \Big( \alpha(X_i)f(X_i) - m\left(W_i,f\right) \Big). \]

Automatic Regressor Balancing Implies Automatic Neyman Error Minimization

Let $\varepsilon_i\coloneqq Y_i-\gamma_0(X_i)$. Using $\widehat\Delta$, the sample Neyman error admits the decomposition

align[align omitted — 388 chars of source]

The last term is a weighted noise term. Under cross fitting (or other sample-splitting schemes), conditional on the training data used to estimate $\widehat{\alpha}$, the weights are independent of $\varepsilon_i$, so this term has conditional mean zero. Therefore, the leading deterministic component of the sample drift is \[ \text{NeymanError}^\dagger \coloneqq \widehat\Delta\left(\widehat{\alpha},\gamma_0\right) - \widehat\Delta\left(\widehat{\alpha},\widehat{\gamma}\right) = -\widehat\Delta\left(\widehat{\alpha},\widehat{\gamma}-\gamma_0\right), \] which we call the pseudo Neyman error.

\paragraph{Imbalance control over a working regression class.} Suppose that $\widehat\alpha$ is obtained by generalized Riesz regression with the KKT bounds in Theorem (ref), and suppose that $\widehat{\gamma}$ is estimated in a $p$-dimensional working space, \[ \widehat{\gamma}(x)={\bm{\phi}}(x)^\top\widehat{{\bm{\rho}}}, \qquad {\bm{\phi}}(x)=\left(\phi_1(x),\dots,\phi_p(x)\right)^\top. \] If the balancing dictionary coincides with the basis (so $\widetilde\phi_j=\phi_j$), then linearity yields \[ \widehat\Delta\left(\widehat{\alpha},\widehat{\gamma}\right) = \sum_{j=1}^p \widehat{\rho}_j\,\widehat\Delta_j\left(\widehat{\alpha}\right). \] Consequently, Theorem (ref) implies the bound \[ \left|\widehat\Delta\left(\widehat{\alpha},\widehat{\gamma}\right)\right| \le \lambda\sum^p_{j=1}\left|\widehat{\rho}_j\right|\left|\widehat\beta_j\right|^{a-1}, \] and, in particular, for $a=1$, \[ \left|\widehat\Delta\left(\widehat{\alpha},\widehat{\gamma}\right)\right| \le \lambda\|\widehat{{\bm{\rho}}}\|_1. \]

theoremAssume that $\widehat{\gamma}(x)={\bm{\phi}}(x)^\top\widehat{{\bm{\rho}}}$. Let \[ {\bm{\rho}}^* \coloneqq \operatorname*{arg\,min}_{{\bm{\rho}}\in{\mathbb{R}}^p}\Big\{{\mathbb{E}}\Big[\left(Y-{\bm{\phi}}(X)^\top{\bm{\rho}}\right)^2\Big]\Big\}, \qquad \gamma^*(x)\coloneqq {\bm{\phi}}(x)^\top{\bm{\rho}}^*. \] Then the following bound holds: \[ \left|\text{NeymanError}\right| \le \lambda \sum^p_{j=1}\big(\left|\rho^*_j\right| + \left|\widehat{\rho}_j\right|\big)\left|\widehat\beta_j\right|^{a-1} + \left|\widehat\Delta\left(\widehat{\alpha},\gamma_0-\gamma^*\right)\right| + \left|\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\varepsilon_i\right|. \]

\paragraph{Without approximation error for $\gamma_0$.} If $\gamma_0$ belongs to the linear space spanned by ${\bm{\phi}}$, there exists ${\bm{\rho}}_0\in{\mathbb{R}}^p$ such that $\gamma_0(x)={\bm{\phi}}(x)^\top{\bm{\rho}}_0$. In this case, the same argument yields \[ \left|\widehat\Delta\left(\widehat{\alpha},\gamma_0\right)\right| \le \lambda\sum^p_{j=1}\left|\rho_{0,j}\right|\left|\widehat\beta_j\right|^{a-1}. \] Thus, automatic regressor balancing directly controls the pseudo Neyman error by controlling the imbalance gap on the working space.

\paragraph{With approximation error for $\gamma_0$.} When $\gamma_0\notin\mathrm{span}\left\{\phi_1,\dots,\phi_p\right\}$, balancing should be interpreted as shrinking the orthogonality defect on a working regression class. If $\gamma_0$ is well approximated by some $\gamma_\phi\in\mathrm{span}\left\{\widetilde\phi_j\right\}$ and $\widehat\alpha$ approximately balances the same span, then \[ \frac{1}{n}\sum^n_{i=1}\widehat\alpha(X_i)\gamma_\phi(X_i)\approx \frac{1}{n}\sum^n_{i=1}m\left(W_i,\gamma_\phi\right) \] reduces the component of the drift driven by the working approximation, leaving only the approximation residual $\gamma_0-\gamma_\phi$ and the representer error $\widehat\alpha-\alpha_0$. This is the sense in which balancing is an automatic Neyman error control mechanism: it targets the part of the score error that is linear in the regression approximation.

remark[Second-Order Bias] The orthogonal score ((ref)) implies the identity \begin{align} {\mathbb{E}}\left[\psi\left(W;\theta_0,\gamma,\alpha\right)\right] = {\mathbb{E}}\Big[\left(\alpha_0(X)-\alpha(X)\right)\left(\gamma(X)-\gamma_0(X)\right)\Big], \end{align} for any candidate pair $\left(\gamma,\alpha\right)$ (under the Riesz identity and linearity of $m$). Thus, the leading bias of ARW/AIPW estimators is second order and is controlled by the product of nuisance errors.

This second-order structure is discussed in Zhao2019covariatebalancing for the case where UKL-Riesz regression with a basis function ${\bm{\phi}}\colon {\mathcal{Z}} \to {\mathbb{R}}^p$ is used in ATE estimation. Our results generalize that finding to more general models, losses, and parameters of interest.

\paragraph{Neyman error decomposition and the role of imbalance.} At the sample level, the leading error of RW, relative to a target orthogonal score, is governed by imbalance. For $\gamma\in\Gamma_p$ written as $\gamma=\sum_{j=1}^p\rho_j\widetilde\phi_j$,

align[align omitted — 238 chars of source]

Therefore, \[ \left| \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\gamma(X_i) - \frac{1}{n}\sum^n_{i=1}m\left(W_i,\gamma\right) \right| \le \|{\bm{\rho}}\|_1\max_{j\le p}\left|\widehat\Delta_j\left(\widehat{\alpha}\right)\right|. \] Combining this with Theorem (ref) shows that $\lambda$ directly controls the size of the sample orthogonality defect over coefficient-bounded outcome models. This is one concrete sense in which generalized Riesz regression performs automatic Neyman error control and minimization: it chooses $\widehat{\alpha}$ so that the empirical Riesz equations hold approximately on the dictionary, thereby controlling the leading drift term over the corresponding working class.

Exact Balancing Implies Neyman Orthogonalization

\paragraph{Exact balancing implies exact orthogonality on a working regression space.} Let ${\bm{\phi}}(X)=\left(\phi_1(X),\dots,\phi_p(X)\right)^\top$ be the basis used to estimate the representer, and define the working linear space \[ \Gamma_\phi \coloneqq \Big\{ \gamma:{\mathcal{X}}\to{\mathbb{R}} \mid \gamma(x)={\bm{\phi}}(x)^\top{\bm{\rho}}\text{ for some }{\bm{\rho}}\in{\mathbb{R}}^p \Big\}. \] Define the sample imbalance vector \[ \Delta\left(\widehat\alpha\right) \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\widehat\alpha(X_i){\bm{\phi}}(X_i)-m\left(W_i,{\bm{\phi}}\right)\Big) \in{\mathbb{R}}^p, \] where $m\left(W,{\bm{\phi}}\right)\coloneqq\left(m\left(W,\phi_1\right),\dots,m\left(W,\phi_p\right)\right)t(W,\phi_p\right)}^\top$. Then for any $\gamma_\rho(x)={\bm{\phi}}(x)^\top{\bm{\rho}}\in\Gamma_\phi$, linearity gives the identity

align[align omitted — 197 chars of source]

Hence exact balance $\Delta\left(\widehat\alpha\right)=0$ implies \[ \frac{1}{n}\sum^n_{i=1}\widehat\alpha(X_i)\gamma(X_i) = \frac{1}{n}\sum^n_{i=1}m\left(W_i,\gamma\right) \qquad \forall \gamma\in\Gamma_\phi, \] which is precisely the empirical Riesz equation restricted to the sieve space $\Gamma_\phi$.

\paragraph{RW equals the orthogonal-score estimator on the working space.} If $\widehat\Delta_j\left(\widehat\alpha\right)=0$ for all $j$ (e.g., $\lambda=0$ in the convex and feasible regime), then by linearity it holds that

align[align omitted — 207 chars of source]

Consequently, for any $\gamma\in\Gamma_{\phi}$,

align[align omitted — 246 chars of source]

Identity ((ref)) is deterministic and requires no asymptotics: RW equals the orthogonal-score estimator for any $\gamma$ in the working space.

theorem[Automatic Neyman orthogonalization under exact balancing] Consider generalized Riesz regression with the model \[ \alpha(X)=\zeta^{-1}\left(X,{\bm{\phi}}(X)^\top{\bm{\beta}}\right), \] and suppose that $\partial g\left(\alpha_{{\bm{\beta}}}(X_i)\right)=\sum_{j=1}^p\beta_j\phi_j(X_i)$ holds. Let $\widehat\alpha=\alpha_{\widehat{\bm{\beta}}}$ be any solution of the generalized Riesz regression problem with $\lambda=0$ so that $\Delta\left(\widehat\alpha\right)=0$. If $\gamma_0\in\Gamma_\phi$, then the RW estimator satisfies the identity \begin{align} \widehat\theta^{\mathrm{RW}} = \frac{1}{n}\sum^n_{i=1}\Big(\widehat\alpha(X_i)\big(Y_i-\gamma_0(X_i)\big) + m\left(W_i,\gamma_0\right)\Big). \end{align} Equivalently, $\widehat\theta^{\mathrm{RW}}$ is the sample mean of the Neyman-orthogonal score evaluated at $\left(\gamma_0,\widehat\alpha\right)$, and the score is exactly orthogonal on the sieve space $\Gamma_\phi$ at the sample level. If, in addition, $\widehat\alpha$ lies in a Donsker class and $\|\widehat\alpha-\alpha_0\|_{L_2(P_X)}\to 0$, then $\widehat\theta^{\mathrm{RW}}$ is asymptotically linear with influence function $\psi\left(W;\theta_0,\gamma_0,\alpha_0\right)$ and attains the semiparametric efficiency bound.

Equation ((ref)) shows that, on the working regression space spanned by ${\bm{\phi}}$, exact balancing enforces Neyman orthogonality. We refer to this mechanism as automatic Neyman orthogonalization.

\paragraph{Choice of loss--link pairs and automatic Neyman orthogonalization.} To attain automatic Neyman orthogonalization, two requirements must be met:

enumerate$\gamma_0\in\Gamma_\phi$. • Exact balancing is attained under a representer model $\alpha(X)=\zeta^{-1}\left(X,{\bm{\phi}}(X)^\top{\bm{\beta}}\right)$.

We emphasize two related points:

itemize• Exact balancing depends on the choice of link function through the model specification for $\alpha_0$. • Automatic regressor balancing depends on the loss--link pair because the KKT balancing mechanism is written in dual coordinates $u=\partial g\circ\alpha$.

This suggests the following procedure:

itemize• Step 1. Determine a link function that can model $\alpha_0$ and can attain the balance equations $\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\phi_j(X_i)=\frac{1}{n}\sum^n_{i=1}m\left(W_i,\phi_j\right)$. • Step 2. Given the link, choose the Bregman loss function $g$ so that the loss--link pair preserves the dual linearity needed for automatic regressor balancing.

\paragraph{What this does and does not mean.} Equation ((ref)) shows that the first-order plug-in bias coming from approximating $\gamma_0$ within $\Gamma_\phi$ is exactly removed once $\Delta\left(\widehat\alpha\right)=0$ and $\gamma_0\in\Gamma_\phi$.

Theorem (ref) is a working-model statement: exact balancing yields exact orthogonalization on the chosen span $\Gamma_\phi$. If $\gamma_0\notin\Gamma_\phi$, orthogonality does not hold exactly and approximation error must be controlled. Moreover, under cross fitting, balance constraints hold on training folds while the score is evaluated on held-out folds, so the finite-sample identity does not transfer directly.

Inexact Balancing Implies Approximate Neyman Orthogonality with Bias Control

In practice, balance is inexact due to regularization, cross fitting, finite-sample infeasibility, or optimization error. Let $\widehat\Delta_j\left(\widehat\alpha\right)$ be the imbalance defined in ((ref)). For any $\gamma(x)=\sum_{j=1}^p \rho_j \widetilde\phi_j(x)$ in the working span, linearity of $m$ yields the identity

align[align omitted — 225 chars of source]

Combining ((ref)) with Theorem (ref) gives explicit bounds. For example, with lasso ($a=1$), \[ \left| \frac{1}{n}\sum^n_{i=1}\widehat\alpha(X_i)\gamma(X_i) - \frac{1}{n}\sum^n_{i=1}m\left(W_i,\gamma\right) \right| \le \lambda \|{\bm{\rho}}\|_1 \qquad\text{for all }\gamma=\sum_j\rho_j\widetilde\phi_j. \] Thus, $\lambda$ directly controls the worst-case orthogonality defect over the working linear space.

\paragraph{A simple bound on imbalance over the working regression span.} Define the imbalance operator \[ \widehat\Delta\left(\alpha,f\right) \coloneqq \frac{1}{n}\sum^n_{i=1}\Big(\alpha(X_i)f(X_i)-m\left(W_i,f\right)\Big). \] When $f=\widetilde\phi_j$, this is exactly ((ref)). Under the KKT bounds, $\max_j\left|\widehat\Delta\left(\widehat\alpha,\widetilde\phi_j\right)\right|$ is controlled by $\lambda$ via Theorem (ref). If $\gamma=\sum_{j=1}^p\rho_j\widetilde\phi_j$, then

align[align omitted — 257 chars of source]

and analogous bounds hold for $a>1$ using ((ref)). Thus, inexact balancing yields explicit control of the score-equation error on the chosen span, with $\lambda$ acting as a tolerance parameter.

\paragraph{Inexact balancing, regularization, and cross-fitting.} Inexact balancing arises in at least two ubiquitous situations: $\lambda>0$ in the representer fit (stability or feasibility), and cross fitting, where exact KKT balance holds only on the training fold. In both cases, ((ref)) suggests a practical workflow: choose the dictionary and regularization so that $\gamma_0$ is well approximated by the working space and imbalance generalizes, meaning it remains small on held-out folds, and then use ARW or TMLE when needed for inference.

Special Case: Linear Riesz Models with Linear Regression Models

A particularly instructive regime is when both the representer and regression are modeled in the same linear span. This is the regime behind the augmented balancing equivalences emphasized by BrunsSmith2025augmentedbalancing.

Let $\Phi\in{\mathbb{R}}^{n\times p}$ be the design matrix with $\Phi_{ij}=\phi_j(X_i)$, and let $b\in{\mathbb{R}}^p$ be the target moment vector with \[ b_j=\frac{1}{n}\sum^n_{i=1}m\left(W_i,\phi_j\right). \] Exact balance in the linear representer model $\widehat\alpha(X)={\bm{\phi}}(X)^\top\widehat{\bm{\beta}}$ means $\frac{1}{n}\Phi^\top\Phi\,\widehat{\bm{\beta}}=b$ (when solvable). Let $\widehat{\bm{\rho}}^{\mathrm{OLS}}=\left(\Phi^\top\Phi\right)^\dagger\Phi^\top Y$ and $\widehat\gamma^{\mathrm{OLS}}(x)={\bm{\phi}}(x)^\top\widehat{\bm{\rho}}^{\mathrm{OLS}}$.

proposition[Exact-balance RW equals an OLS plug-in functional] If $\widehat\alpha(X)={\bm{\phi}}(X)^\top\widehat{\bm{\beta}}$ and $\frac{1}{n}\Phi^\top\Phi\,\widehat{\bm{\beta}}=b$, then \[ \widehat\theta^{\mathrm{RW}} = \frac{1}{n}\sum^n_{i=1} \widehat\alpha(X_i)Y_i = \Big(\frac{1}{n}\sum^n_{i=1} m\left(W_i,{\bm{\phi}}\right)\Big)^\top \widehat{\bm{\rho}}^{\mathrm{OLS}}. \]

\paragraph{Why this matters.} Proposition (ref) shows that, in the linear--linear exact-balance regime, weighting and regression are two views of the same normal equations. This helps explain why some balancing-weight estimators collapse to regression estimators and why specific regularization choices can yield a single effective regression estimator. See BrunsSmith2025augmentedbalancing for general augmented-balancing identities and ridge and kernel-ridge special cases. This phenomenon is closely related to OLS is doubly robust arguments in Robins2007commentperformance. It is not a failure of orthogonalization: once orthogonality is enforced on the entire working regression space, the RW estimator is already the orthogonal estimator for that space.

\paragraph{Augmented balancing weights collapse to regression estimators.} BrunsSmith2025augmentedbalancing shows that when both models are linear, the augmented estimator is equivalent to a single linear regression whose coefficients are affine combinations of the original regression coefficients and unpenalized OLS coefficients. Under certain regularization choices, the augmented estimator collapses to OLS itself. This makes explicit that aggressive balancing can implicitly undo outcome regularization, which can reduce functional bias at the cost of higher variance.

\paragraph{Kernel ridge special case.} In RKHS settings, this algebraic collapse yields an interpretable undersmoothing rule. If both the outcome regression and the representer are fit by ridge in a common RKHS, the augmented estimator can be written as a single undersmoothed ridge regression with an effective regularization level, rather than as two separate nuisance estimators.

\paragraph{Special case: linear Riesz and linear regression under inexact balance.} When both $\alpha$ and $\gamma$ are fitted in the same linear span with $\ell_2$ penalties, BrunsSmith2025augmentedbalancing shows that the resulting ARW estimator can be written as a single ridge-type regression estimator with an effective regularization parameter. This makes explicit that augmentation can be interpreted as a data-dependent undersmoothing rule: regularization choices that are prediction-optimal for $\gamma$ can be too aggressive for inference on $\theta_0$, and the representer fit provides a principled correction.

Cross-Fitting and the Neyman Error

If we cross-fit $\widehat\alpha$, the balancing identity typically holds on the training folds but not on the evaluation folds where the score is computed. In that regime, exact balance does not transfer as a finite-sample identity, and the drift term in ((ref)) must be controlled by convergence rates, as in standard DML logic. This is precisely where the augmented estimator $\widehat\theta^{\mathrm{ARW}}$ (or TMLE) is the safer default for inference.

\paragraph{Cross fitting and the Donsker trade-off.} Exact automatic regressor balancing can yield sharp finite-sample identities, but efficiency arguments without cross fitting typically require a Donsker-type condition. Cross fitting relaxes Donsker requirements, but it also turns balancing from an identity into a generalization property, so imbalance becomes a diagnostic rather than a deterministic guarantee. This trade-off must be addressed carefully in practice.

\paragraph{Basis functions depending only on $Z$.} In ATE estimation with standard propensity-score modeling, it is common to use basis functions depending only on $Z$, that is, ${\bm{\phi}}\colon {\mathcal{Z}} \to {\mathbb{R}}^p$. Under this choice, for ATE-type $m$ one typically has $m\left(W,\phi_j\right)=0$, so automatic covariate balancing controls only the weighted moments $\frac{1}{n}\sum^n_{i=1}\widehat\alpha(X_i)\phi_j(Z_i)$. Automatic Neyman orthogonalization of RW without regression adjustment is then strongest only for outcome-model components that lie in the same $Z$-only working span. If treatment effects are heterogeneous, the relevant regression components generally depend on $X=\left(D,Z\right)$, so one should use richer dictionaries, such as treatment-specific features $\left(D\phi(Z),(1-D)\phi(Z)\right)$ or other $X$-dependent bases, even though the Riesz representer corresponds to inverse propensity weights.

Estimation Equation and TMLE Approaches

TMLE is another promising approach in debiased machine learning vanderLaan2006targetedmaximum. TMLE adds a perturbation to an initial estimate of $\gamma_0$ and targets an empirical score equation.

To make the contrast concrete, consider the sample Neyman error written as \[ \text{NeymanError} = \frac{1}{n}\sum^n_{i=1}\Big( \underbrace{\widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}(X_i)\big)}_{\text{= $(\star)$}} + m\left(W_i,\widehat{\gamma}\right) - m\left(W_i,\gamma_0\right) \Big). \] TMLE updates $\widehat{\gamma}$ so that the empirical mean of $(\star)$ becomes zero, that is, it enforces \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}^{(1)}(X_i)\big)=0. \]

In contrast, generalized Riesz regression targets the representer, and it controls the empirical drift term induced by imbalance. Equivalently, using $\widehat{\alpha}(X_i)Y_i=\widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}(X_i)\big)+\widehat{\alpha}(X_i)\widehat{\gamma}(X_i)$, we can also rewrite NeymanError as \[ \text{NeymanError} = \frac{1}{n}\sum^n_{i=1}\Big( \widehat{\alpha}(X_i)Y_i + \underbrace{m\left(W_i,\widehat{\gamma}\right)-\widehat{\alpha}(X_i)\widehat{\gamma}(X_i)}_{\text{= $(\star\star)$}} - m\left(W_i,\gamma_0\right) \Big). \] Generalized Riesz regression works to make the sample average of $(\star\star)$ small by enforcing empirical Riesz equations, approximately, on a prescribed working class.

\paragraph{TMLE and generalized Riesz regression target different nuisances.}

itemize• TMLE puts the difficulty of efficient estimation of $\theta_0$ into the estimation of $\gamma_0$ by targeting the regression update so that the empirical score equation holds given $\widehat{\alpha}$. • Generalized Riesz regression puts the difficulty of efficient estimation of $\theta_0$ into the estimation of $\alpha_0$ by targeting $\widehat{\alpha}$ so that the empirical Riesz equations hold, approximately, for a working regression class given $\widehat{\gamma}$.

These are complementary. In practice, one may estimate $\widehat{\alpha}$ by generalized Riesz regression and then apply a TMLE-type fluctuation to $\widehat{\gamma}$.

remark[TMLE] Let $\widehat{\gamma}^{(0)}$ be an initial estimate of $\gamma_0$. Given $\widehat{\gamma}^{(0)}$ and a representer estimate $\widehat{\alpha}$, a simple linear TMLE update sets \[ \widehat{\gamma}^{(1)}(x) \coloneqq \widehat{\gamma}^{(0)}(x) + \widehat{\epsilon}\widehat{\alpha}(x), \qquad \widehat{\epsilon} \coloneqq \frac{\sum^n_{i=1}\widehat{\alpha}(X_i)\big(Y_i-\widehat{\gamma}^{(0)}(X_i)\big)} {\sum^n_{i=1}\widehat{\alpha}(X_i)^2}. \] This choice of $\widehat{\epsilon}$ solves \[ \sum^n_{i=1}\widehat{\alpha}(X_i)\Big(Y_i-\left(\widehat{\gamma}^{(0)}(X_i)+\epsilon\widehat{\alpha}(X_i)\right)\Big)=0, \] thereby eliminating the empirical mean of the $(\star)$ term. The final TMLE estimator is \[ \widehat{\theta}^{\text{TMLE}} \coloneqq \frac{1}{n}\sum^n_{i=1}m\left(W_i,\widehat{\gamma}^{(1)}\right). \]

\paragraph{Automated and end-to-end variants.} Recent automatic debiasing work shows how to estimate $\alpha_0$ without requiring a closed-form representer formula, by directly minimizing an objective whose expectation is minimized at $\alpha_0$ and by using black-box machine learners. This includes Riesz regression and its extensions to generalized regressions Chernozhukov2022automaticdebiased, as well as multitask and targeted-regularization architectures Chernozhukov2022riesznet. These approaches move beyond finite-dimensional moment constraints: balancing becomes a first-order condition at the population level, and practical diagnostics such as imbalance, weight tails, and optimization residuals become central.

\paragraph{A useful comparison point.} Conceptually, TMLE automates orthogonality by updating $\gamma$ given $\alpha$, while generalized Riesz regression automates orthogonality by fitting $\alpha$ against a rich outcome space and then optionally augmenting. Hybrids exist, for example, adding TMLE-like targeted regularization terms while fitting $\alpha$ and $\gamma$ jointly, and they can be interpreted within our loss--link framework via ((ref)).

Modeling of Regression Function and Riesz Representer

We close by emphasizing a modeling principle: the best feature map for balancing is the one that matches the approximation space for the regression components that matter for $\theta_0$.

\paragraph{Two complementary routes to a small remainder.} Orthogonal estimators have leading remainder controlled by \[ \|\widehat{\gamma}-\gamma_0\|_2\|\widehat{\alpha}-\alpha_0\|_2 \] under cross-fitting or Donsker-type conditions. This suggests two complementary strategies:

itemize• Outcome-centric: fit $\widehat{\gamma}$ so that it is accurate for the functional, possibly via undersmoothing. • Representer-centric: fit $\widehat{\alpha}$ accurately and stably, possibly using balance constraints and shape restrictions.

\paragraph{ARW as correction for estimation and approximation bias.} In modern applications, $\widehat{\gamma}$ is typically regularized (lasso, ridge, kernels, neural nets), so it can be biased for $\gamma_0$, and this bias can propagate to $\theta_0$ through $m\left(W,\widehat{\gamma}\right)$. The orthogonal ARW form corrects this bias to first order, leaving a second-order product remainder controlled by ((ref)). This clarifies the complementarity between outcome modeling and representer modeling.

\paragraph{A practical warning about misalignment.} If one balances only low-order moments of $Z$ but uses a rich learner for $\gamma_0(D,Z)$ with interactions and nonlinearities, then the balanced span and the regression approximation space are misaligned. Orthogonality defects can persist even if covariate balance diagnostics look excellent. This is a strong argument for regressor balancing on $X=\left(D,Z\right)$, or at least balancing a basis rich enough to approximate both treatment-specific regression components.

\paragraph{RKHS balancing and functional balance.} Kernel-based balancing methods can be interpreted as balancing an infinite-dimensional feature map, via RKHS mean embeddings, thereby avoiding ad hoc basis selection while controlling a rich class of covariate functions. This motivates implementing generalized Riesz regression in RKHS models, where balance becomes functional balance and the representer theorem yields finite-dimensional computations.

\paragraph{Representer-centric view and robustness under misspecification.} Complementing regression-centric undersmoothing, Singh2024kernelridge studies kernel ridge estimation of the Riesz representer and analyzes its generalization error in population $L_2$. A related message is robustness under misspecification in orthogonal constructions: for an orthogonal estimator built from a regression approximation and a representer approximation, a double-robust type statement persists in the sense that consistency can hold if either nuisance is sufficiently accurate, up to stochastic terms controlled by their convergence rates.

remark[Minimax rate and definition of common support] Mou2023kernelbased provides a complementary minimax viewpoint for estimating weighted linear functionals from observational data, including regimes where strict overlap fails and semiparametric efficiency bounds may be infinite. Two aspects are especially relevant for RR-based debiasing: the functional difficulty is governed by a modulus of continuity, and for RKHS classes the lower bound can be achieved up to constants by computationally simple outcome-regression estimators that do not require knowledge of a behavioral policy. This underscores that the geometry of the function class and the induced Riesz representer govern the attainable risk.

\paragraph{Implicit restriction in covariate balancing.} In ATE applications, it is common to set ${\bm{\phi}}={\bm{\phi}}(Z)$ so that balancing is interpreted as covariate balance. But if the regression function $\gamma_0(D,Z)$ contains heterogeneous components that are poorly approximated by a $Z$-only linear span, then ((ref)) does not directly control the orthogonality defect for those components. This motivates richer feature choices, such as separate dictionaries by treatment arm or $D\times f(Z)$ interactions, when the objective is debiasing rather than propensity interpretation.

Practical Implications for Choice of Regression Models, Link, and Loss Functions

This section provides advice for practitioners on how to use generalized Riesz regression. In generalized Riesz regression, the choice of the Bregman loss function $g$ is not merely a training loss choice. Appropriate loss--link pairs enforce regressor balancing automatically, which also reduces the error of the true Neyman orthogonal score. In addition, $g$ determines (i) the geometry of the fitted representer, (ii) the induced shape constraints through the link, and (iii) which pseudo-true limit is targeted under misspecification.

Summary

We have shown that generalized Riesz regression includes a broad class of objective functions for Riesz representer estimation. This section summarizes how we choose basis functions, link functions, loss functions, and the final estimator of the parameter of interest. These elements are closely related and should be chosen jointly from the following perspectives:

itemize• Loss functions. The loss should be chosen based on the estimand and on the sensitivity of Riesz representer estimation to the data. • Link functions. The link should be compatible with the loss so that the dual coordinate $u=\partial g\circ\alpha$ is linear in parameters, which preserves automatic regressor balancing (Section (ref)). • Basis functions. The basis should be chosen based on the relationship between the Riesz representer model and the outcome model. If the outcome regression lies in the linear span of ${\bm{\phi}}(X)$, then the Riesz weighted estimator can attain automatic Neyman orthogonalization under exact balancing (Section (ref)). • Final estimators. The main choices are the RW estimator, the ARW estimator, and TMLE. Under exact balancing on the training sample, RW and ARW coincide, while under inexact balancing they behave differently.

\paragraph{Exact balancing, inexact balancing, and when loss choice matters.} As shown in BrunsSmith2025augmentedbalancing, in some situations the choice of loss function in generalized Riesz regression does not affect the final estimator. If we do not use cross-fitting, $\lambda=0$, and exact balancing is feasible on the training sample, then the RW identity ((ref)) implies that the final estimator is loss-invariant on that sample. Moreover, in the linear--linear regime this estimator collapses to a regression-based estimator on the same working space, such as the sample average of the OLS estimator of $\gamma_0$ (Section (ref)). Under specific combinations of regularization for the representer and the regression nuisance, the final estimator can simplify further. For example, if we use an $\ell_2$-penalty for both estimators, the final estimator becomes the sample average of the ridge estimator of $\gamma_0$ Singh2024kernelridge. In contrast, under inexact balancing, different generators $g$ generally select different approximately balancing solutions in the same approximation space, so the loss choice can affect the final estimator (Figure (ref)).

figure[figure omitted — 203 chars of source]

\paragraph{Automatic regressor balancing determines the choice of loss and link.} From the viewpoint of constructing a Neyman-orthogonal final estimator, we aim to exploit automatic regressor balancing. As discussed in Section (ref), automatic balancing is a KKT implication when we model the dual coordinate $u=\partial g\circ\alpha$ linearly. Therefore, the loss--link pair should be chosen so that the link makes $u$ linear in parameters. Holding the link fixed while changing $g$ typically breaks the compatibility needed for ((ref)).

\paragraph{Sensitivity viewpoint for the loss--link pair.} The loss--link pair also controls sensitivity of the representer fit to the data, including outliers and tail observations. For ATE estimation, the following combinations are especially interpretable:

itemize• SQ-Riesz + linear link. This choice tends to produce stable weights and is often robust to outliers. • UKL-Riesz + log link. This choice imposes exponential-family structure and can be accurate under correct specification, but it can be sensitive to tail observations because exponentials amplify large linear indices. • BP-Riesz + power link. This choice interpolates between SQ-like and UKL-like behavior and can be used as a robustness device.

Related discussions in density ratio estimation appear in Menon2016linkinglosses and Zellinger2025binarylosses.

\paragraph{Regularization and the choice of final estimator.} If we do not use cross-fitting, $\lambda=0$, and exact balancing is feasible, then RW and ARW are equivalent on the training sample. If $\lambda>0$, RW and ARW generally differ. From the viewpoint of Neyman orthogonality under inexact balancing and cross-fitting, the ARW estimator or TMLE is the safer default.

\paragraph{ARW estimator and TMLE.} The ARW estimator shifts the difficulty of semiparametric inference toward Riesz representer estimation, while TMLE shifts it toward regression function estimation (Section (ref)).

\paragraph{Choice of basis functions.} Ideally, the regression function $\gamma_0$ lies in the linear span of ${\bm{\phi}}(X)$, as discussed in Section (ref). Under certain conditions, if we are interested only in minimax rates, overlap can be mitigated via outcome-modeling viewpoints, as discussed in Section (ref).

remark[Proper scoring rule based on the Beta family] As discussed in Zhao2019covariatebalancing, if we restrict loss functions to the Beta family, the parameter of interest corresponding to BKL-Riesz regression is OWATE rather than ATE, where \[ \theta_0^{\text{OWATE}} \coloneqq {\mathbb{E}}\Big[e_0(Z)\Big(1-e_0(Z)\Big)\Big(Y(1)-Y(0)\Big)\Big]. \] This argument assumes sigmoid-link-based propensity modeling, which induces a log-link representer structure. With a more complicated link function, it is still possible to attain regressor balancing (Remark (ref)). However, such pairings are typically impractical, so we do not pursue them.
remark[Choice of loss functions under exact balancing] If we do not use cross-fitting and exact regressor balancing is feasible on the training sample, then the choice of loss function does not affect the final estimator of the parameter of interest on that sample. Moreover, as discussed in Section (ref), in the linear--linear regime the resulting estimator becomes equivalent to a regression-based estimator on the same working space.

Loss Choice Selects a Bregman Projection

At the population level, for a convex model class $\mathcal H\subset L_2(P_X)$, generalized Riesz regression targets a Bregman projection \[ \alpha_g^\ast \in \arg\min_{\alpha\in\mathcal H}\ {\mathbb{E}}\!\left[\mathrm{BD}^\dagger_g\!\left(\alpha_0(X)\mid \alpha(X)\right)\right]. \] When $\alpha_0\notin\mathcal H$, different generators generally induce different pseudo-true limits $\alpha_g^\ast$. Thus, choosing $g$ is analogous to choosing a likelihood or criterion in a parametric model: it determines which aspects of $\alpha_0$ are prioritized by the fit.

A key message from Section (ref) is that once we model the dual coordinate $u=\partial g\circ\alpha$ linearly, the resulting KKT conditions enforce approximate moment equations that are the empirical analogue of sieve Riesz equations. In that regime, $g$ selects among approximately balancing solutions through its induced Bregman geometry (Appendix (ref)).

Representative Loss--Link Pairs in Generalized Riesz Regression

The loss choice becomes particularly interpretable when paired with a link that makes $u=\partial g\circ\alpha$ linear in a parameter vector, since KKT then yields balancing constraints. Below we summarize three representative pairings used throughout the paper.

SQ-Riesz Regression with a Linear Link Function

We first introduce the combination of the squared-loss generator and a linear link. Let \[ g^{\mathrm{SQ}}(\alpha)=\tfrac12(\alpha-C)^2, \qquad \partial g^{\mathrm{SQ}}(\alpha)=\alpha-C, \] and consider the affine linear representer model \[ \alpha_{{\bm{\beta}}}(X) = C+{\bm{\phi}}(X)^\top{\bm{\beta}}, \] where ${\bm{\phi}} \colon {\mathcal{X}} \to {\mathbb{R}}^p$ is a basis function. This yields $u_{{\bm{\beta}}}(x)=(\partial g^{\mathrm{SQ}})(\alpha_{{\bm{\beta}}}(x))={\bm{\phi}}(x)^\top{\bm{\beta}}$ and hence automatic balancing by KKT.

Under the linear model, if we use an $\ell_1$ penalty in SQ-Riesz regression, the dual formulation implies that the representer fit is equivalent to solving the constrained quadratic program

align*[align* omitted — 257 chars of source]

This matches the “stable balancing weights” formulation in Zubizarreta2015stableweights. When $\lambda = 0$, the constraint enforces exact balancing: \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}_i \phi_j(X_i) = \frac{1}{n}\sum^n_{i=1} m(W_i,\phi_j), \qquad j = 1,\dots,p, \] where $\widehat{\alpha}_i=\alpha_{\widehat{{\bm{\beta}}}}(X_i)$. In ATE estimation, this becomes \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}_i \phi_j(D_i, Z_i) = \frac{1}{n}\sum^n_{i=1}\Big(\phi_j(1, Z_i) - \phi_j(0, Z_i)\Big), \qquad j = 1,\dots,p. \] An advantage of linear models is that we can express the entire ATE estimation problem using a single linear working space, as shown by BrunsSmith2025augmentedbalancing. This pairing is often attractive when weight stability is paramount, for example under weak overlap, because the induced geometry is quadratic.

UKL-Riesz Regression with a Log Link Function

We next describe the pairing of the UKL divergence generator and a log link, which connects generalized Riesz regression to entropy-type balancing and exponential tilting. Let $\xi:{\mathcal{X}}\to\{0,1\}$ be a known branch indicator and define $s(X)\coloneqq 2\xi(X)-1\in\{-1,1\}$. For a constant $C\ge 0$, consider the representer model

align[align omitted — 132 chars of source]

This is a log link model in the sense that, conditional on $s(X)$, the linear index is recovered by taking logarithms of $|\alpha_{{\bm{\beta}}}(X)|-C$.

If we use the UKL generator $g^{\mathrm{UKL}}$ in generalized Riesz regression with the model ((ref)) and an $\ell_1$ penalty, the dual formulation yields an entropy-type balancing program: it minimizes an entropic objective over nonnegative weights subject to linear moment constraints. A representative form is

align*[align* omitted — 345 chars of source]

Up to constants, the objective is the KL divergence from $\bm w$ to uniform weights and matches the entropy-balancing criterion of Hainmueller2012entropybalancing when $C=1$. When $s(X)$ varies across observations, branchwise balance can be imposed by including branch-specific features, such as $\xi(X)\phi_j(X)$ and $(1-\xi(X))\phi_j(X)$, so that the constraints act within each branch. These programs are closely related to stable weights Zubizarreta2015stableweights and overlap weights Li2018addressingextreme.

This loss--link pairing has two practical advantages. First, the model enforces the sign and positivity structure of the representer by construction because $|\alpha_{{\bm{\beta}}}(X)|\ge C$. Second, the induced objective is entropic and therefore shrinks weights toward uniformity, which often improves finite-sample stability, although the exponential form can still be sensitive to large linear indices.

\paragraph{Special case: density ratio estimation.} If $C=0$ and $\xi(X)=1$ for all $X$, then ((ref)) reduces to the positive log-linear model $\alpha_{{\bm{\beta}}}(X)=\exp\Big({\bm{\phi}}(X)^\top{\bm{\beta}}\Big)$. This is the exponential tilting form that arises in maximum-entropy estimation of density ratios Qin1998inferencesfor, Sugiyama2012densityratio.

\paragraph{Connection to logistic propensity models.} For ATE estimation, it is natural to take $\xi(X)=D$ and $C=1$. If the propensity score is modeled by a sigmoid link $e(Z)=\Lambda\Big(\eta_{{\bm{\beta}}}(Z)\Big)$, then the induced ATE representer has the log-link form ((ref)); see Appendix (ref) for details. This explains why UKL with a log link is estimand-consistent for ATE when one works with logistic propensity models.

BP-Riesz Regression with a Power Link Function

We next introduce a specification that pairs the BP divergence generator with a link function that interpolates between the linear link used for SQ-Riesz regression and the log link used for UKL-Riesz regression. This specification is useful both as a robustness device and as a way to understand how automatic covariate balancing varies continuously with the choice of loss and link.

Let $\omega \in (0,\infty)$ and define $k \coloneqq 1 + 1/\omega$. Consider the following model for the Riesz representer:

align[align omitted — 247 chars of source]

where ${\bm{\phi}} \colon {\mathcal{X}} \to {\mathbb{R}}^p$ is a basis function and $\xi \colon {\mathcal{X}} \to \{0,1\}$ selects the branch. We call the link in ((ref)) a power link.

The choice of $(\xi,C)$ is application dependent. For example, in ATE estimation we typically set $\xi(X)=D$ and $C=1$, while in density ratio estimation we often set $\xi(X)=1$ and $C=0$ so that $\alpha_{\bm{\beta}}(X)$ is nonnegative by construction.

Under ((ref)), the dual characterization implies that BP-Riesz regression returns the minimum BP-loss solution among approximately balancing models. In particular, if we use an $\ell_1$ penalty in BP-Riesz regression, it is equivalent to solving a constrained problem of the form

align[align omitted — 308 chars of source]

with $\alpha_i$ restricted to the domain of $g^{\text{BP}}$, that is, $|\alpha_i| \ge C$. When $\lambda = 0$, the constraint ((ref)) enforces exact balancing: \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}_i \phi_j(X_i) = \frac{1}{n}\sum^n_{i=1} m(W_i,\phi_j), \qquad j = 1,\dots,p, \] where $\widehat{\alpha}_i=\alpha_{\widehat{{\bm{\beta}}}}(X_i)$.

\paragraph{Relationship to the linear and log links.} The power link ((ref)) provides a continuous bridge between the linear and log specifications. As $\omega \to 0$, we have $k = 1 + 1/\omega \to \infty$ and \[ \Big(1+\frac{t}{k}\Big)^{1/\omega} = \Big(1+\omega t + o(\omega)\Big)^{1/\omega} \to \exp(t), \] so ((ref)) reduces to the log-link form used for UKL-Riesz regression. At $\omega=1$, the BP generator reduces to the squared-loss generator, and the link becomes an affine transformation of the linear index around the origin, which connects BP-Riesz regression to SQ-Riesz regression up to reparameterization.

This interpolation perspective is also consistent with the robustness interpretation of the BP divergence Basu1998robustandefficient,Sugiyama2012densityratio. Smaller $\omega$ makes the objective closer to a KL-type criterion, which can be efficient under correct specification, while larger $\omega$ yields behavior closer to squared loss and is typically more robust to misspecification and extreme weights.

Loss Choice and Its Impact on Riesz Estimation under Inexact Balance

Finally, the role of the loss choice becomes most visible in regimes where balance is inexact or where $\alpha_0$ is misspecified by the model class. At the population level, generalized Riesz regression targets a Bregman projection $\alpha_g^\ast$ of $\alpha_0$ onto the model class (Section (ref)). Different generators $g$ generally induce different pseudo-true limits and different stability properties of the resulting weights: squared-type losses tend to produce smoother and less extreme weights, while KL-type losses can be efficient under correct exponential-type specification but are often more sensitive to tail observations.

Moreover, as shown in Section (ref), in ATE estimation under a sigmoid propensity model the estimand-consistent choice is UKL-Riesz, whereas logistic MLE corresponds to a different loss--estimand pairing. This is why loss choice should be regarded as part of model specification rather than a mere computational detail.

Under exact balance, the RW identity ((ref)) is loss-invariant on the training sample. Under inexact balance, different generators $g$ select different Bregman-projection solutions within the same approximation space, producing different $\widehat{\alpha}$ even when the same dictionary is used. This affects stability of weights, how approximation error is distributed across the support, and the size of imbalance generalization. The density-ratio literature makes this sensitivity viewpoint explicit Menon2016linkinglosses,Zellinger2025binarylosses.

Practical Workflow for Choosing the Basis, Link, and Loss

A pragmatic workflow is:

enumerate• Fix the estimand (ATE, overlap-weighted effects, policy effects, and so on), hence the target representer structure and domain constraints. • Choose a feature map ${\bm{\phi}}$ large enough to support the orthogonalization plan (Section (ref)). • Choose a link consistent with the intended modeling decision, for example a sigmoid-induced ATE representer implies a log-type link. • Choose $g$ to be compatible with the link if automatic balancing is desired, and to deliver acceptable stability and tail behavior. • Use augmentation (ARW/AIPW) and/or TMLE for inference under inexact balance and cross-fitting; monitor imbalance and weight diagnostics.

Convergence Rate Analysis

This section provides an estimation error analysis for generalized Riesz regression. We model the Riesz representer $\alpha_0$ by \[ \alpha_f(X) = \zeta^{-1}\Big(X, f(X)\Big), \] where $\zeta^{-1}$ is continuously differentiable and globally Lipschitz in its second argument, uniformly in $x \in {\mathcal{X}}$, and $f$ is a base model. Unlike Section (ref), we do not restrict $f$ to be a linear model. For example, in addition to linear models ${\bm{\phi}}(X)^\top {\bm{\beta}}$, we can use random forests, neural networks, and other models for $f$. In this section, we consider the case where we use RKHS methods and neural networks for $f$.

Throughout this section, we assume that the true Riesz representer is bounded.

assumptionThere exists a constant $C > 0$ independent of $n$ such that $|\alpha_0(x)| \le C$ for all $x \in {\mathcal{X}}$.

This boundedness assumption holds in the standard ATE setting under common support and bounded outcomes. In many other applications, this assumption also holds. If we wish to allow unbounded support, we can develop an extension by imposing appropriate tail conditions. For example, density ratios between two Normal distributions may violate this assumption. In such cases, Zheng2022anerror presents a convergence rate analysis, and we can follow their approach. In practical data analysis, it is often reasonable to treat the Riesz representer as bounded.

RKHS

First, we study the case with RKHS regression. Let ${\mathcal{F}}^{\text{RKHS}}$ be a class of RKHS functions and define \[ \widehat{f}^{\text{RKHS}} \coloneqq \operatorname*{arg\,min}_{f \in {\mathcal{F}}^{\text{RKHS}}}\left\{\widehat{\text{BD}}_{g}(\alpha_f) + \lambda \|f\|^2_{{\mathcal{F}}}\right\}, \] where $\|\cdot \|_{{\mathcal{F}}}$ is the RKHS norm and $\lambda > 0$ is a regularization parameter. We then define \[ \widehat{\alpha}^{\text{RKHS}}(x) \coloneqq \alpha_{\widehat{f}^{\text{RKHS}}}(x) \coloneqq \zeta^{-1}\left(x, \widehat{f}^{\text{RKHS}}(x)\right). \] We analyze the estimation error by adapting the approach of Kanamori2012statisticalanalysis, which studies RKHS-based LSIF for density ratio estimation.

For technical control of complexity, we use a localized class. Let $I(f)$ be a complexity measure on ${\mathcal{F}}^{\text{RKHS}}$, and define \[ {\mathcal{F}}^{\text{RKHS}}_M \coloneqq \big\{f \in {\mathcal{F}}^{\text{RKHS}}\colon I(f) \le M\big\}, \qquad {\mathcal{H}}^{\text{RKHS}} \coloneqq \left\{\zeta^{-1}\left(\cdot, f(\cdot)\right)\colon f\in {\mathcal{F}}^{\text{RKHS}}\right\}. \]

assumptionThere exist constants $0 < \tau < 2$ and $A > 0$ such that for all $M \ge 1$ and all $\delta > 0$, \[ H_B\big(\delta, {\mathcal{F}}^{\text{RKHS}}_M, P_0\big) \le A\left(\frac{M}{\delta}\right)^\tau, \] where $H_B(\delta, {\mathcal{F}}^{\text{RKHS}}_M, P_0)$ is the bracketing entropy under the $L_2(P_0)$ metric.

For bracketing entropy, see Definition 2.2 in VandeGeer2000empiricalprocesses and Appendix (ref).

theorem[$L_2$-norm estimation error bound] Suppose that $g$ is $\mu$-strongly convex and there exists a constant $C_g > 0$ such that $|g''(t)| \le C_g$ for all $t \in {\mathbb{R}}$. Assume also that $\zeta^{-1}(0)$ is finite. Suppose that Assumptions (ref) and (ref) hold. Let $\lambda = \lambda_n$ satisfy $\lambda_n \to 0$ and $\lambda_n^{-1} = O\left(n^{1-\delta}\right)$ for some $\delta \in (0,1)$. If $\alpha_0 \in {\mathcal{H}}^{\text{RKHS}}$, then \[ \Big\|\widehat{\alpha}^{\text{RKHS}}(X) - \alpha_0(X)\Big\|_{L_2(P_0)} = O_{P_0}\left(\lambda^{1/2}\right), \qquad \Big\|\widehat{\alpha}^{\text{RKHS}}(X) - \alpha_0(X)\Big\|^2_{L_2(P_0)} = O_{P_0}\left(\lambda\right). \]

The proof is provided in Appendix (ref), following the approach of Kanamori2012statisticalanalysis. The parameter $\tau$ is determined by the function class to which the true base model $f_0$ belongs.

Neural Networks

Second, we provide an estimation error analysis when we use neural networks for ${\mathcal{H}}$. Our analysis follows Kato2021nonnegativebregman and Zheng2022anerror.

definition[Feedforward neural networks. from Zheng2022anerror] Let ${\mathcal{D}}$, ${\mathcal{W}}$, ${\mathcal{U}}$, and ${\mathcal{S}} \in (0, \infty)$ be parameters that can depend on $n$. Let ${\mathcal{F}}^{\text{FNN}} \coloneqq {\mathcal{F}}^{\text{FNN}}_{M, {\mathcal{D}}, {\mathcal{W}}, {\mathcal{U}}, {\mathcal{S}}}$ be a class of ReLU-activated feedforward neural networks satisfying: (i) the number of hidden layers is ${\mathcal{D}}$, (ii) the maximum width of hidden layers is ${\mathcal{W}}$, (iii) the number of neurons is ${\mathcal{U}}$, (iv) the total number of parameters is ${\mathcal{S}}$.

For ${\mathcal{F}}^{\text{FNN}}$, define \[ \widehat{f}^{\text{FNN}} \coloneqq \operatorname*{arg\,min}_{f \in {\mathcal{F}}^{\text{FNN}}}\left\{\widehat{\text{BD}}_{g}(\alpha_f)\right\}, \qquad \widehat{\alpha}^{\text{FNN}}(x) \coloneqq \zeta^{-1}\left(x, \widehat{f}^{\text{FNN}}(x)\right). \]

assumptionThere exists a constant $0 < M < \infty$ such that $\|f_0\|_\infty < M$ and $\|f\|_\infty \le M$ for all $f \in {\mathcal{F}}^{\text{FNN}}$.

Let $\text{Pdim}({\mathcal{F}}^{\text{FNN}})$ be the pseudodimension of ${\mathcal{F}}^{\text{FNN}}$. For the definition, see Anthony1999neuralnetwork and Definition 3 in Zheng2022anerror.

theorem[Estimation error bound for neural networks] Suppose that $g$ is $\mu$-strongly convex and there exists a constant $C_g > 0$ such that $|g''(t)| \le C_g$ for all $t \in {\mathbb{R}}$. Assume also that $\zeta^{-1}(0)$ is finite. Suppose that Assumption (ref) holds. Assume that $\alpha_0(x) = \zeta^{-1}\left(x, f_0(x)\right)$ for some $f_0 \in \Sigma(\nu, M, \left[0,1\right]^d)$ with $\nu = k + a$, $k \in {\mathbb{N}}^+$, and $a \in (0,1]$. Assume that ${\mathcal{F}}^{\text{FNN}}$ has width ${\mathcal{W}}$ and depth ${\mathcal{D}}$ such that \[ {\mathcal{W}} = 38\big(\floor{\nu} + 1\big)^2 d^{\floor{\nu} + 1}, \qquad {\mathcal{D}} = 21\big(\floor{\nu} + 1\big)^2\ceil{n^{\frac{d}{2(d + 2\nu)}}\log_2\left(8n^{\frac{d}{2(d + 2\nu)}}\right)}. \] If $n \ge \text{Pdim}({\mathcal{F}}^{\text{FNN}})$, then \[ \Big\|\widehat{\alpha}^{\text{FNN}}(X) - \alpha_0(X)\Big\|^2_{L_2(P_0)} \le C_0\big(\floor{\nu} + 1\big)^9 d^{2\floor{\nu}+(\nu \land 3)} n^{-\frac{2\nu}{d + 2\nu}}\log^3n, \] where $C_0 > 0$ is a constant independent of $n$.

The proof is provided in Appendix (ref), following Zheng2022anerror. This result implies minimax optimality of the proposed method when $f_0$ belongs to a H\"older class.

Construction of An Efficient Estimator

This subsection describes how we construct an efficient estimator for the parameter of interest $\theta_0$ using generalized Riesz regression. As discussed in Section (ref), we construct $\widehat{\theta}$ by solving \[ \frac{1}{n}\sum^n_{i=1}\psi\left(W_i;\widehat{\eta},\widehat{\theta}^{\text{ARW}}\right)=0, \] where the Neyman orthogonal score is \[ \psi(W;\eta,\theta) \coloneqq m(W,\gamma) + \alpha(X)\big(Y-\gamma(X)\big) - \theta, \qquad \eta \coloneqq (\alpha,\gamma). \] As introduced in Section (ref), we refer to this estimator as the ARW estimator.

assumption[Donsker condition or cross fitting] Either of the following holds: (i) the hypothesis classes ${\mathcal{H}}$ and ${\mathcal{M}}$ are Donsker, or (ii) $\widehat{\gamma}$ and $\widehat{\alpha}$ are estimated via cross fitting.

For example, the Donsker condition holds when the bracketing entropy of ${\mathcal{H}}$ is finite. In contrast, it fails in high-dimensional or series regression settings where the model complexity diverges as $n \to \infty$. For neural networks, the condition can hold when both the number of layers and the width are fixed. If these quantities grow with the sample size, cross fitting is typically used instead.

assumption[Convergence rate] $\big\| \widehat{\alpha} - \alpha_0 \big\|_{L_2(P_0)} = o_p(1)$, $\big\| \widehat{\gamma} - \gamma_0 \big\|_{L_2(P_0)} = o_p(1)$, and \[ \big\| \widehat{\alpha} - \alpha_0 \big\|_{L_2(P_0)}\big\| \widehat{\gamma} - \gamma_0 \big\|_{L_2(P_0)} = o_p\left(\frac{1}{\sqrt{n}}\right). \]

Under these assumptions, asymptotic normality follows from standard debiased machine learning arguments.

theorem[Asymptotic normality] Suppose that Assumptions (ref) and (ref)--(ref) hold. Then \[ \sqrt{n}\Big(\widehat{\theta}^{\text{ARW}} - \theta_0\Big) \xrightarrow{{\mathrm{d}}} {\mathcal{N}}\left(0, V^*\right), \qquad V^* \coloneqq {\mathbb{E}}\left[\psi(W;\eta_0,\theta_0)^2\right]. \]

Here, $V^*$ matches the semiparametric efficiency bound, the variance of the efficient influence function VanderVaart1998asymptoticstatistics,Hahn1998ontherole.

\paragraph{Automatic Neyman orthogonalization in the RW estimator.} A central theme in debiased machine learning is to construct estimators from Neyman orthogonal scores. In our setting, $\gamma_0(x)={\mathbb{E}}\left[Y\mid X=x\left(\right)\right]$, and $\alpha_0$ is the Riesz representer associated with the linear functional $\gamma \mapsto {\mathbb{E}}\left[m(W,\gamma)\right]$. While the ARW estimator requires an explicit regression estimator $\widehat{\gamma}$, the RW estimator \[ \widehat{\theta}^{\text{RW}} \coloneqq \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)Y_i \] uses only the estimated representer. The next theorem shows that if the representer fit achieves exact balancing on a linear working space that contains $\gamma_0$, then $\widehat{\theta}^{\text{RW}}$ admits an exact orthogonal-score representation with $\gamma_0$ plugged in.

theorem[Automatic Neyman orthogonalization in the RW estimator] Let ${\bm{\phi}} \colon {\mathcal{X}} \to {\mathbb{R}}^p$ be a dictionary and suppose that the representer model is parameterized by ${\bm{\beta}}$. Assume that the fitted representer $\widehat{\alpha}$ satisfies the exact balancing equations \[ \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\phi_j(X_i) = \frac{1}{n}\sum^n_{i=1} m\big(W_i,\phi_j\big), \qquad j=1,\dots,p. \] If $\gamma_0$ belongs to the linear span of ${\bm{\phi}}$, that is, $\gamma_0(x)=\sum_{j=1}^p c_j\phi_j(x)$ for some $c_1,\dots,c_p \in {\mathbb{R}}$, then \[ \widehat{\theta}^{\text{RW}} = \frac{1}{n}\sum^n_{i=1}\Big(m(W_i,\gamma_0) + \widehat{\alpha}(X_i)\big(Y_i-\gamma_0(X_i)\big)\Big) = \theta_0 + \frac{1}{n}\sum^n_{i=1}\psi\big(W_i;\widetilde{\eta},\theta_0\big), \] where $\widetilde{\eta}\coloneqq(\widehat{\alpha},\gamma_0)$. If $\widehat{\alpha}$ is consistent and either the Donsker condition holds or cross fitting is used, then $\widehat{\theta}^{\text{RW}}$ is asymptotically efficient.
remarkIn the ATE specialization, the RW estimator corresponds to an IPW or Horvitz--Thompson estimator based on a fitted weight function $\widehat{\alpha}(D,Z)$. Theorem (ref) isolates a general mechanism underlying efficiency results for balancing and weighting estimators: if the fitted weights satisfy exact or sufficiently accurate balancing restrictions on a function class containing a good approximation to $\gamma_0$, then the resulting pure-weighting estimator admits an orthogonal-score representation, even without explicitly fitting $\widehat{\gamma}$. This perspective is closely related to efficiency arguments for kernel-based covariate balancing propensity score methods Wong2017kernelbased and to the semiparametric efficiency result for IPW with an estimated nonparametric propensity score in Hirano2003efficientestimation. A mathematically explicit statement of these links, including the efficient influence function and representative theorem statements, is provided in Appendix (ref).

Applications

This section provides applications of generalized Riesz regression: ATE estimation, AME estimation, and covariate shift adaptation (density ratio estimation). We introduce other applications such as difference-in-difference in Appendix (ref).

ATE Estimation

In ATE estimation, the linear functional is \[ m^{\text{ATE}}(W,\gamma)\coloneqq \gamma(1,Z)-\gamma(0,Z), \] and the Riesz representer is \[ \alpha^{\text{ATE}}_0(X)=\frac{D}{e_0(Z)}-\frac{1-D}{1-e_0(Z)}, \] where $e_0(Z) = P(D = 1\mid Z)$ is the propensity score. Let $r_0(1 , Z) \coloneqq \frac{1}{e_0(Z)}$ and $r_0(0 , Z) \coloneqq \frac{1}{1 - e_0(Z)}$ be the inverse propensity score, also called the density ratio. We estimate $\alpha^{\text{ATE}}_0$ by minimizing the empirical Bregman divergence objective $\widehat{\text{BD}}_g(\alpha)$ introduced in Section (ref), with $m=m^{\text{ATE}}$, an application-specific choice of $g$, and a model class for $\alpha$.

\paragraph{SQ-Riesz Regression.} We take the squared loss, \[ g^{\text{SQ}}(\alpha)=\alpha^2, \] and minimize the corresponding empirical Bregman objective. By substituting $g^{\text{SQ}}$ into ((ref)) and using $m^{\text{ATE}}(W,\gamma)=\gamma(1,Z)-\gamma(0,Z)$, we obtain, up to an additive constant that does not depend on $\alpha$, \[ \text{BD}_{g^{\text{SQ}}}(\alpha) = {\mathbb{E}}\left[ \alpha(D,Z)^2 -2\big(\alpha(1,Z)-\alpha(0,Z)\big) \right]. \] Thus, SQ-Riesz regression estimates $\alpha^{\text{ATE}}_0$ by \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \widehat{\text{BD}}_{g^{\text{SQ}}}(\alpha)+\lambda J(\alpha), \] where \[ \widehat{\text{BD}}_{g^{\text{SQ}}}(\alpha) \coloneqq \frac{1}{n}\sum_{i=1}^n \left( \alpha(D_i,Z_i)^2 -2\big(\alpha(1,Z_i)-\alpha(0,Z_i)\big) \right). \] This coincides with Riesz regression in Chernozhukov2021automaticdebiased and corresponds to LSIF in density ratio estimation Kanamori2009aleastsquares. With appropriate choices of ${\mathcal{H}}$, it also recovers nearest neighbor matching-based constructions, as discussed in Kato2025nearestneighbor.

remark[Linear link function] A recommended Riesz representer modeling is \[ \alpha_{\bm{\beta}}(X)={\bm{\phi}}(X)^\top {\bm{\beta}}, \] where ${\bm{\phi}}\colon{\mathcal{X}}\to{\mathbb{R}}^p$ is a basis function. Under this model, minimizing the SQ-Riesz regression yields an estimator that satisfies an automatic covariate balancing property, as discussed in Section (ref) and Zhao2019covariatebalancing. Concretely, letting $\widehat{\alpha}=\alpha_{\widehat{{\bm{\beta}}}}$, we estimate ${\bm{\beta}}$ by \begin{align*} \widehat{{\bm{\beta}}} &\coloneqq \operatorname*{arg\,min}_{{\bm{\beta}}} \frac{1}{n}\sum_{i=1}^n \Bigg(\Big({\bm{\phi}}(X_i)^\top {\bm{\beta}}\Big)^2 - 2\Big({\bm{\phi}}(1, Z_i)^\top - {\bm{\phi}}(0, Z_i)^\top\Big) {\bm{\beta}}\Bigg) + \frac{1}{a}\lambda \|{\bm{\beta}}\|^a_a. \end{align*} By duality, if $a = 1$, SQ-Riesz regression is equivalent to the following covariate balancing problem: \begin{align*} \min_{\alpha\in{\mathbb{R}}^n}\ &\sum_{i=1}^n \alpha_i^2\\ s.t.\ &\ \ \left|\sum_{i=1}^n\alpha_i\phi_j(X_i) + \phi_j(1, Z_i) - \phi_j(0, Z_i)\right|\le\lambda\ \ \ for\ j=1,2,\dots,p, \end{align*} where the solution $\widehat{w}_i$ corresponds to the estimator of $\alpha_0(X_i)$ if $D_i = 1$ and that of $-\alpha_0(X_i)$ if $D_i = 0$; that is, \[\widehat{w}_i= \begin{cases} \widehat{\alpha}(1,Z_i) & \text{if } D_i=1,\\ - \widehat{\alpha}(0,Z_i) & \text{if } D_i=0. \end{cases}.\]

\paragraph{UKL-Riesz Regression.} Consider Riesz representer models $\alpha$ such that $\alpha(1, x) > 1$ and $\alpha(0, x) < -1$ for all $x$. We next use the UKL divergence loss with $C=1$, \[ g^{\text{UKL}}(\alpha)=(|\alpha|-1)\log\left(|\alpha|-1\right)-|\alpha|. \] By substituting $g^{\text{UKL}}$ into ((ref)) and using $m^{\text{ATE}}(W,\gamma)=\gamma(1,Z)-\gamma(0,Z)$, we obtain

align*[align* omitted — 326 chars of source]

Thus, UKL-Riesz regression estimates $\alpha^{\text{ATE}}_0$ by \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \widehat{\text{BD}}_{g^{\text{UKL}}}(\alpha)+\lambda J(\alpha), \] where

align*[align* omitted — 354 chars of source]

This coincides with the tailored loss minimization with $\alpha = \beta = -1$ in Zhao2019covariatebalancing and corresponds to KLIEP in density ratio estimation Sugiyama2008directimportance.

remark[Log link function] A recommended Riesz representer modeling is \[ \alpha_{\bm{\beta}}(X)=\mathbbm{1}[D=1]\Big(1+\exp\big(-{\bm{\phi}}(X)^\top {\bm{\beta}}\big)\Big)-\mathbbm{1}[D=0]\Big(1+\exp\big({\bm{\phi}}(X)^\top {\bm{\beta}}\big)\Big), \] where ${\bm{\phi}}\colon{\mathcal{X}}\to{\mathbb{R}}^p$ is a basis function. Under this model, minimizing the UKL-Riesz regression yields an estimator that satisfies an automatic covariate balancing property, as discussed in Section (ref) and Zhao2019covariatebalancing. Concretely, letting $\widehat{\alpha}=\alpha_{\widehat{{\bm{\beta}}}}$, we estimate ${\bm{\beta}}$ by \begin{align*} \widehat{{\bm{\beta}}} &\coloneqq \operatorname*{arg\,min}_{{\bm{\beta}}} \frac{1}{n}\sum_{i=1}^n \Bigg( \mathbbm{1}[D_i=1]\left( - {\bm{\phi}}(1, Z_i)^\top {\bm{\beta}} + 1 + \exp\big(-{\bm{\phi}}(1, Z_i)^\top {\bm{\beta}}\big)\right) \\ &\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ + \mathbbm{1}[D_i=0]\left( {\bm{\phi}}(0, Z_i)^\top {\bm{\beta}} + 1 + \exp\big({\bm{\phi}}(0, Z_i)^\top {\bm{\beta}}\big)\right)\\ &\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ - \Big({\bm{\phi}}(1, Z_i)^\top - {\bm{\phi}}(0, Z_i)^\top\Big) {\bm{\beta}}\Bigg) + \frac{1}{a}\lambda \|{\bm{\beta}}\|^a_a. \end{align*} By duality, if $a = 1$, UKL-Riesz regression is equivalent to the following covariate balancing problem: \begin{align*} \min_{{\bm{w}}\in(1,\infty)^n}\ &\sum_{i=1}^n (w_i-1)\log(w_i-1)\\ s.t.\ &\ \ \left|\sum_{i=1}^n\Big(\mathbbm{1}[D_i=1]w_i\phi_j(X_i)-\mathbbm{1}[D_i=0]w_i\phi_j(X_i)\Big) - \Big(\phi_j(1, Z_i) - \phi_j(0, Z_i)\Big)\right|\le\lambda\\ &\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ for\ j=1,2,\dots,p, \end{align*} where the solution $\widehat{w}_i$ corresponds to the estimator of $\alpha_0(X_i)$ if $D_i = 1$ and that of $-\alpha_0(X_i)$ if $D_i = 0$; that is, \[\widehat{w}_i= \begin{cases} \widehat{\alpha}(1,Z_i) & \text{if } D_i=1,\\ - \widehat{\alpha}(0,Z_i) & \text{if } D_i=0. \end{cases}.\] This modeling enforces the correct signs and nonnegativity of the Riesz representer.
remark[Propensity score modeling] We can interpret that the Riesz representer model is based on a propensity score model: \[ \alpha_{\bm{\beta}}(X)=\mathbbm{1}[D=1]r_{\bm{\beta}}(1,Z)-\mathbbm{1}[D=0]r_{\bm{\beta}}(0,Z), \] where \begin{align*} r_{\bm{\beta}}(1,Z)&=\frac{1}{e_{\bm{\beta}}(Z)}, \qquad r_{\bm{\beta}}(0,Z)=\frac{1}{1-e_{\bm{\beta}}(Z)},\\ e_{\bm{\beta}}(Z)&\coloneqq \frac{1}{1+\exp\big(-{\bm{\phi}}(Z)^\top {\bm{\beta}}\big)}, \end{align*} and ${\bm{\phi}}\colon{\mathcal{Z}}\to{\mathbb{R}}^p$ is a basis function. Under this model, minimizing the UKL flavored empirical Bregman objective yields an estimator that satisfies an automatic covariate balancing property, as discussed in Section (ref) and Zhao2019covariatebalancing. Concretely, letting $\widehat{\alpha}=\alpha_{\widehat{{\bm{\beta}}}}$, we estimate ${\bm{\beta}}$ by \begin{align*} \widehat{{\bm{\beta}}} &\coloneqq \operatorname*{arg\,min}_{{\bm{\beta}}} \frac{1}{n}\sum_{i=1}^n \Bigg( \mathbbm{1}[D_i=1]\left( - \log \left(\frac{1}{r_{\bm{\beta}}(1,Z_i)-1}\right) + r_{\bm{\beta}}(1,Z_i)\right)a(1,Z_i)\Bigg) \\ &\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ + \mathbbm{1}[D_i=0]\left( - \log \left(\frac{1}{r_{\bm{\beta}}(0,Z_i)-1}\right) + r_{\bm{\beta}}(0,Z_i)\right)a(0,Z_i)} } + \frac{1}{a}\lambda \|{\bm{\beta}}\|^a_a. \end{align*} By duality, if $a = 1$, this KL divergence objective is equivalent to a covariate balancing program: \begin{align*} \min_{{\bm{w}}\in(1,\infty)^n}\ &\sum_{i=1}^n (w_i-1)\log(w_i-1)\\ s.t.\ &\ \ \left|\sum_{i=1}^n\Big(\mathbbm{1}[D_i=1]w_i\phi_j(Z_i)-\mathbbm{1}[D_i=0]w_i\phi_j(Z_i)\Big)\right|\le\lambda\quad for\ j=1,2,\dots,p, \end{align*} where the solution $\widehat{w}_i$ corresponds to the estimator of $\alpha_0(X_i)$ if $D_i = 1$ and that of $-\alpha_0(X_i)$ if $D_i = 0$; that is, \[\widehat{w}_i= \begin{cases} \widehat{r}(1,Z_i) & \text{if } D_i=1,\\ \widehat{r}(0,Z_i) & \text{if } D_i=0. \end{cases},\] and $\widehat{r}$ is an estimator of the density ratio $r_0$. This constrained optimization matches entropy balancing Hainmueller2012entropybalancing. In particular, when $\lambda=0$ we obtain exact balance, \begin{align*} &\sum_{i=1}^n\Big(\mathbbm{1}[D_i=1]\widehat{w}_i\phi_j(Z_i)-\mathbbm{1}[D_i=0]\widehat{w}_i\phi_j(Z_i)\Big)=0\quad for\ j=1,2,\dots,p. \end{align*} This specification has the practical advantage that $\phi_j(Z)$ can be chosen independently of $D$, which reduces the dimension of the model.

\paragraph{BP-Riesz Regression.} BP-Riesz regression uses Basu's power divergence with $C=1$ and $\omega\in(0,\infty)$: \[ g^{\text{BP}}(\alpha) \coloneqq \frac{\big(|\alpha|-1\big)^{1+\omega}-\big(|\alpha|-1\big)}{\omega}-|\alpha|. \] Plugging $g^{\text{BP}}$ into ((ref)) and using $m^{\text{ATE}}$ yields the empirical objective

align*[align* omitted — 383 chars of source]

where $\upsilon \coloneqq 1+1/\omega$. We then estimate $\alpha^{\text{ATE}}_0$ by \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{BP}}}(\alpha)+\lambda J(\alpha). \]

remark[Power link function] A convenient parametric specification that is consistent with Section (ref) models $\alpha$ through a power link function for the inverse propensity components: \[ \alpha_{\bm{\beta}}(X)=\mathbbm{1}[D=1]r_{\bm{\beta}}(1,Z)-\mathbbm{1}[D=0]r_{\bm{\beta}}(0,Z), \] with \[ r_{\bm{\beta}}(1,Z) \coloneqq 1+\left(1+\frac{{\bm{\phi}}(1, Z)^\top{\bm{\beta}}}{\upsilon }\right)^{1/\omega}, \qquad r_{\bm{\beta}}(0,Z) \coloneqq 1+\left(1-\frac{{\bm{\phi}}(0, Z)^\top{\bm{\beta}}}{\upsilon }\right)^{1/\omega}, \] on the domain where the above powers are well defined. This specification interpolates between the squared distance and UKL divergence: $\omega=1$ recovers SQ-Riesz regression, and the limit $\omega\to 0$ recovers UKL-Riesz regression, as discussed in Section (ref). In applications, BP-Riesz regression can mitigate sensitivity to extreme inverse propensity weights while retaining the covariate balancing behavior implied by the dual characterization.

\paragraph{BKL-Riesz Regression.} Consider Riesz representer models $\alpha$ such that $\alpha(1, x) > 1$ and $\alpha(0, x) < -1$ for all $x$. BKL-Riesz regression uses BKL divergence with $C=1$: \[g^{\text{BKL}}(\alpha) \coloneqq (|\alpha| - 1)\log \big(|\alpha| - 1\big) - (|\alpha| + 1)\log(|\alpha| + 1).\] By plugging $g^{\text{BKL}}$ into ((ref)) and using $m^{\text{ATE}}$, we have the following empirical objective function:

align*[align* omitted — 325 chars of source]

We then estimate $\alpha^{\text{ATE}}_0$ by \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}}\widehat{\text{BD}}_{g^{\text{BKL}}}(\alpha)+\lambda J(\alpha). \]

remark[MLE of the propensity score] BKL-Riesz regression corresponds to estimating the propensity score by regularized logistic likelihood, which is the standard MLE approach in ATE estimation. Let \[ e_{\bm{\beta}}(Z)\coloneqq \frac{1}{1+\exp\big(-{\bm{\phi}}(Z)^\top {\bm{\beta}}\big)}, \] and define the Riesz representer model obtained by plugging in $e_{\bm{\beta}}$, \[ \alpha_{\bm{\beta}}(X)\coloneqq \frac{D}{e_{\bm{\beta}}(Z)}-\frac{1-D}{1-e_{\bm{\beta}}(Z)}. \] Under the BKL choice in Section (ref), minimizing the corresponding empirical Bregman divergence specializes to minimizing the Bernoulli negative log-likelihood: \[ \widehat{{\bm{\beta}}} \coloneqq \operatorname*{arg\,min}_{{\bm{\beta}}} -\frac{1}{n}\sum_{i=1}^n \Big( D_i\log e_{\bm{\beta}}(Z_i) + (1-D_i)\log\big(1-e_{\bm{\beta}}(Z_i)\big) \Big) +\lambda\|{\bm{\beta}}\|_2^2, \] and we set $\widehat{e}(Z)\coloneqq e_{\widehat{{\bm{\beta}}}}(Z)$ and \[ \widehat{\alpha}(X)\coloneqq \frac{D}{\widehat{e}(Z)}-\frac{1-D}{1-\widehat{e}(Z)}. \] This viewpoint aligns with the interpretation of BKL-Riesz as a probabilistic classification approach to density ratio estimation Qin1998inferencesfor,Cheng2004semiparametricdensity, here applied to treatment assignment modeling. It also provides a baseline for comparison with the direct objectives in SQ-Riesz, UKL-Riesz, and BP-Riesz regression.

AME Estimation

We consider the AME setup described in Section (ref). Let $X=(D,Z)$, where $D$ is a scalar continuous regressor and $Z$ is a vector of covariates. The target parameter is \[ \theta^{\text{AME}}_0 \coloneqq \mathbb{E}\Big[\partial_d \gamma_0(D,Z)\Big], \qquad m^{\text{AME}}(W,\gamma)\coloneqq \partial_d \gamma(D,Z). \] Assume that $X$ admits a density $f_0$ that is continuously differentiable and that an integration by parts argument is valid, for example, $\gamma(x)f_0(x)$ vanishes on the boundary of the support in the $d$ direction. Then \[ \mathbb{E}\Big[\partial_d \gamma(X)\Big] = \mathbb{E}\Big[\alpha^{\text{AME}}_0(X)\gamma(X)\Big], \qquad \alpha^{\text{AME}}_0(X)=-\partial_d \log f_0(X), \] so the AME Riesz representer is the negative score of the marginal density of $X$ with respect to $d$. Since $\partial_d \log f_0(D,Z)=\partial_d \log f_0(D\mid Z)$, we can equivalently view $\alpha^{\text{AME}}_0$ as the negative score of the conditional density of $D$ given $Z$.

To estimate $\alpha^{\text{AME}}_0$, we apply generalized Riesz regression with $m=m^{\text{AME}}$. The population objective in Section (ref) becomes \[ \text{BD}^{\text{AME}}_g(\alpha) \coloneqq \mathbb{E}\Big[ - g\big(\alpha(X)\big) + \partial g\big(\alpha(X)\big)\alpha(X) - \partial_d\Big(\partial g\big(\alpha(X)\big)\Big)\Big], \] and we minimize its empirical analogue over a differentiable model class ${\mathcal{H}}$ (so that $\partial_d \alpha(X)$ and $\partial_d\{\partial g(\alpha(X))\}$ are well defined), possibly with regularization.

\paragraph{SQ-Riesz Regression.} Let $g^{\text{SQ}}(\alpha)=(\alpha-C)^2$ for an arbitrary constant $C\in{\mathbb{R}}$, so that $\partial g^{\text{SQ}}(\alpha)=2(\alpha-C)$. Substituting into $\text{BD}^{\text{AME}}_g$ yields

align*[align* omitted — 259 chars of source]

where the constant does not depend on $\alpha$. Hence SQ-Riesz regression targets $\alpha^{\text{AME}}_0$ in $L_2$. This objective is also a score matching style criterion for estimating the score, written here in terms of the negative score $\alpha^{\text{AME}}_0$. The empirical estimator is \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \frac{1}{n}\sum_{i=1}^n\Big(\alpha(X_i)^2-2\partial_d \alpha(X_i)\Big) +\lambda J(\alpha). \] This method corresponds to Riesz regression for AME, as discussed in Chernozhukov2021automaticdebiased.

\paragraph{UKL-Riesz Regression.} To obtain a KL motivated loss that allows signed $\alpha$, we use the signed KL type convex function \[ g^{\text{UKL}}(\alpha)=|\alpha|\log|\alpha|-|\alpha|, \qquad \partial g^{\text{UKL}}(\alpha)=\operatorname{sign}(\alpha)\log|\alpha|, \] on a domain that excludes $\alpha=0$. Plugging into $\text{BD}^{\text{AME}}_g$ gives

align*[align* omitted — 393 chars of source]

Accordingly, we estimate $\alpha^{\text{AME}}_0$ by minimizing the empirical version over ${\mathcal{H}}$: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \frac{1}{n}\sum_{i=1}^n \Big( |\alpha(X_i)| -\partial_d\Big(\operatorname{sign}\big(\alpha(X_i)\big)\log|\alpha(X_i)|\Big)\Big)g)} +\lambda J(\alpha). \] In practice, one can use the shifted UKL loss in Section (ref) to avoid the singularity at zero and combine it with a branchwise link specification as in Section (ref).

\paragraph{BP-Riesz Regression.} BP-Riesz regression interpolates between squared distance and UKL divergence. For simplicity, we present the unshifted form with $C=0$: \[ g^{\text{BP}}(\alpha) \coloneqq \frac{|\alpha|^{1+\gamma}-|\alpha|}{\gamma}-|\alpha|, \qquad \partial g^{\text{BP}}(\alpha) = \left(1+\frac{1}{\gamma}\right)\operatorname{sign}(\alpha)\Big(|\alpha|^\gamma-1\Big), \qquad \gamma\in(0,\infty). \] Let $k\coloneqq 1+1/\gamma$. Then $\text{BD}^{\text{AME}}_g$ simplifies to \[ \text{BD}^{\text{AME}}_{g^{\text{BP}}}(\alpha) = \mathbb{E}\Big[ |\alpha(X)|^{1+\gamma} - \partial_d\Big(k\operatorname{sign}\big(\alpha(X)\big)\Big(|\alpha(X)|^\gamma-1\Big)\Big)g)\Big]} +\text{const}. \] We estimate $\alpha^{\text{AME}}_0$ by minimizing the empirical objective: \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \frac{1}{n}\sum_{i=1}^n \Big( |\alpha(X_i)|^{1+\gamma} - \partial_d\Big(k\operatorname{sign}\big(\alpha(X_i)\big)\Big(|\alpha(X_i)|^\gamma-1\Big)\Big)g)}\Big)g)g)}} +\lambda J(\alpha). \] As in Section (ref), $\gamma=1$ recovers the squared loss behavior (up to scaling), while $\gamma\to 0$ approaches a KL type criterion through the identity $\lim_{\gamma\to 0}(|\alpha|^\gamma-1)/\gamma=\log|\alpha|$.

\paragraph{BKL-Riesz Regression.} Finally, we can use the BKL loss from Section (ref) to obtain a logistic motivated criterion. Let $C>0$ and define \[ g^{\text{BKL}}(\alpha) \coloneqq (|\alpha|-C)\log\big(|\alpha|-C\big)-(|\alpha|+C)\log\big(|\alpha|+C\big), \qquad \partial g^{\text{BKL}}(\alpha) = \operatorname{sign}(\alpha)\log\left(\frac{|\alpha|-C}{|\alpha|+C}\right). \] Then the AME objective is \[ \text{BD}^{\text{AME}}_{g^{\text{BKL}}}(\alpha) = {\mathbb{E}}\left[ C\log\left(\frac{|\alpha(X)|-C}{|\alpha(X)|+C}\right) - \partial_d\left(\operatorname{sign}\big(\alpha(X)\big)\log\left(\frac{|\alpha(X)|-C}{|\alpha(X)|+C}\right)\right)\right]\right)}} +\text{const}, \] and the estimator minimizes its empirical counterpart over ${\mathcal{H}}$ with regularization. As in the ATE case, this loss is naturally paired with a logistic style link for the magnitude of $\alpha$, while sign changes can be handled via the branchwise constructions in Section (ref).

Once we obtain $\widehat{\alpha}^{\text{AME}}$ and an outcome regression estimator $\widehat{\gamma}$, we plug them into the Neyman orthogonal score in Section (ref) to form an estimator of $\theta_0^{\text{AME}}$.

Covariate Shift Adaptation (Density Ratio Estimation)

We consider the covariate shift setting in Section (ref). Let $X$ be the source covariate distribution that generates labeled observations $\{(X_i,Y_i)\}^n_{i=1}$, and let $\widetilde{X}$ be the target covariate distribution that generates unlabeled observations $\{\widetilde{X}_j\}^m_{j=1}$, independent of the source sample. Let $p_0(x)$ and $p_1(x)$ be the pdfs of $X$ and $\widetilde{X}$, respectively. We assume that $p_0(x), p_1(x) > 0$ for all $x\in{\mathcal{X}}$. The Riesz representer for covariate shift adaptation is the density ratio \[ \alpha^{\text{CS}}_0(X)=r_0(X)\coloneqq \frac{p_1(X)}{p_0(X)}. \] We estimate $r_0$ directly by density ratio fitting under a Bregman divergence, avoiding separate density estimation for $p_0(X)$ and $p_1(X)$.

Let $g\colon {\mathbb{R}}_+\to{\mathbb{R}}$ be differentiable and strictly convex. The Bregman divergence between $r_0$ and a candidate ratio model $\alpha$ is \[ \text{BD}^\dagger_g\big(r_0\mid \alpha\big) \coloneqq {\mathbb{E}}_X\Big( g\big(r_0(X)\big)-g\big(\alpha(X)\big)-\partial g\big(\alpha(X)\big)\big(r_0(X)-\alpha(X)\big) \Big). \] Dropping the constant ${\mathbb{E}}_X\big[g(r_0(X))\big]$ and using the identity ${\mathbb{E}}_X\big[r_0(X)h(X)\big]={\mathbb{E}}_{\widetilde{X}}\big[h(X)\big]$, we obtain the equivalent population objective

align*[align* omitted — 187 chars of source]

Given samples $\{X_i\}_{i\in{\mathcal{I}}_S}$ and $\{\widetilde{X}_j\}_{j\in{\mathcal{I}}_T}$, the empirical objective is

align[align omitted — 261 chars of source]

We estimate the density ratio by \[ \widehat{\alpha} \coloneqq \operatorname*{arg\,min}_{\alpha\in{\mathcal{H}}} \widehat{\text{BD}}^{\text{CS}}_g(\alpha)+\lambda J(\alpha), \] where ${\mathcal{H}}$ is a model class and $J$ is a regularizer. A convenient way to enforce $\alpha(x)\ge 0$ is to use a link specification such as $\alpha(x)=\exp\big(f(x)\big)$ with a flexible regression model $f$.

\paragraph{SQ-Riesz Regression.} For the squared loss, take \[ g^{\text{SQ}}(\alpha)=(\alpha-1)^2, \qquad \partial g^{\text{SQ}}(\alpha)=2(\alpha-1). \] Substituting into ((ref)) and dropping constants that do not depend on $\alpha$, we obtain \[ \widehat{\text{BD}}^{\text{CS}}_{g^{\text{SQ}}}(\alpha) = \frac{1}{n}\sum^n_{i=1}\alpha(X_i)^2 - \frac{2}{m}\sum^m_{j=1}\alpha(\widetilde{X}_j). \] This is the classical least-squares importance fitting (LSIF) objective in density ratio estimation Kanamori2009aleastsquares. In the debiased machine learning literature, the same squared loss criterion is also used as Riesz regression for covariate shift adaptation Chernozhukov2025automaticdebiased. Related extensions include doubly robust covariate shift adaptation schemes that combine density ratio estimation with regression adjustment Kato2024doubledebiasedcovariateshift.

\paragraph{UKL-Riesz Regression.} For a KL motivated objective on ${\mathbb{R}}_+$, take \[ g^{\text{UKL}}(\alpha)=\alpha\log\alpha-\alpha, \qquad \partial g^{\text{UKL}}(\alpha)=\log\alpha. \] Then ((ref)) becomes, up to an additive constant that does not depend on $\alpha$, \[ \widehat{\text{BD}}^{\text{CS}}_{g^{\text{UKL}}}(\alpha) = \frac{1}{n}\sum^n_{i=1}\alpha(X_i) - \frac{1}{m}\sum^m_{j=1}\log \alpha(\widetilde{X}_j). \] A standard implementation imposes the normalization constraint $\frac{1}{n}\sum^n_{i=1}\alpha(X_i)=1$, in which case minimizing $\widehat{\text{BD}}^{\text{CS}}_{g^{\text{UKL}}}$ is equivalent to maximizing the target log-likelihood $\frac{1}{m}\sum^m_{j=1}\log \alpha(\widetilde{X}_j)$ subject to normalization and nonnegativity, which yields KLIEP style procedures Sugiyama2008directimportance. This constrained view is also useful for understanding the dual characterization and the associated moment matching property.

\paragraph{BP-Riesz Regression.} BP-Riesz regression interpolates between squared loss and KL type objectives. For $\gamma\in(0,\infty)$, consider the BP choice on ${\mathbb{R}}_+$ with $C=0$, \[ g^{\text{BP}}(\alpha) \coloneqq \frac{\alpha^{1+\gamma}-\alpha}{\gamma}-\alpha, \qquad \partial g^{\text{BP}}(\alpha) = \left(1+\frac{1}{\gamma}\right)\Big(\alpha^\gamma-1\Big). \] A useful simplification is that $\partial g^{\text{BP}}(\alpha)\alpha-g^{\text{BP}}(\alpha)=\alpha^{1+\gamma}$, so ((ref)) reduces, up to constants, to \[ \widehat{\text{BD}}^{\text{CS}}_{g^{\text{BP}}}(\alpha) = \frac{1}{n}\sum^n_{i=1}\alpha(X_i)^{1+\gamma} - \left(1+\frac{1}{\gamma}\right)\frac{1}{m}\sum^m_{j=1}\alpha(\widetilde{X}_j)^{\gamma}. \] When $\gamma=1$, this objective coincides with the SQ-Riesz objective, up to scaling and constants. As $\gamma\to 0$, it approaches a KL flavored criterion via the expansion $\alpha^\gamma=1+\gamma\log \alpha+o(\gamma)$, providing a continuous bridge between LSIF and KLIEP, and offering a robustness device against extreme ratios Basu1998robustandefficient,Sugiyama2012densityratio.

\paragraph{BKL-Riesz Regression.} BKL-Riesz regression corresponds to probabilistic classification based density ratio estimation, which estimates the log density ratio by fitting a classifier that discriminates target covariates from source covariates Qin1998inferencesfor,Cheng2004semiparametricdensity. Let $S\in\{0,1\}$ denote a domain indicator, where $S=1$ for target and $S=0$ for source, and let $\pi\coloneqq P(S=1)$ denote the mixture class prior. Under Bayes' rule, the density ratio satisfies \[ r_0(x)=\frac{p_1(x)}{p_0(x)} = \frac{1-\pi}{\pi}\frac{P(S=1\mid X=x)}{P(S=0\mid X=x)}. \] We model $P(S=1\mid X=x)$ by a logistic specification \[ p_{\bm{\beta}}(S=1\mid X=x)\coloneqq \frac{1}{1+\exp\big(-{\bm{\phi}}(x)^\top{\bm{\beta}}\big)}, \] and estimate ${\bm{\beta}}$ by regularized Bernoulli likelihood on the pooled sample: \[ \widehat{{\bm{\beta}}} \coloneqq \operatorname*{arg\,min}_{{\bm{\beta}}} -\frac{1}{n+m} \left( \sum^n_{i=1}\log\big(1-p_{\bm{\beta}}(S=1\mid X_i)\big) + \sum^m_{j=1}\log p_{\bm{\beta}}(S=1\mid \widetilde{X}_j) \right) +\lambda\|{\bm{\beta}}\|_2^2. \] With $\widehat{\pi}\coloneqq \frac{m}{n+m}$, we then set \[ \widehat{\alpha}(x) \coloneqq \frac{1-\widehat{\pi}}{\widehat{\pi}} \frac{p_{\widehat{{\bm{\beta}}}}(S=1\mid X=x)}{1-p_{\widehat{{\bm{\beta}}}}(S=1\mid X=x)} = \frac{1-\widehat{\pi}}{\widehat{\pi}}\exp\big({\bm{\phi}}(x)^\top\widehat{{\bm{\beta}}}\big). \] This construction enforces nonnegativity by design and connects density ratio estimation to standard classification tools.

remark[From density ratio estimation to covariate shift adaptation] Once we obtain $\widehat{\alpha}$ and an outcome regression estimator $\widehat{\gamma}$, we plug them into the covariate shift Neyman score in Section (ref). In particular, a doubly robust estimator that accommodates separate source and target samples is \[ \widehat{\theta}^{\text{CS}} \coloneqq \frac{1}{m}\sum^m_{j=1}\widehat{\gamma}(\widetilde{X}_j) + \frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)\Big(Y_i-\widehat{\gamma}(X_i)\Big). \] The corresponding IPW estimator is obtained by dropping the regression adjustment term and using $\widehat{\theta}^{\text{CS}}_{\text{IPW}}=\frac{1}{n}\sum^n_{i=1}\widehat{\alpha}(X_i)Y_i$. Cross fitting can be applied by estimating $\widehat{\alpha}$ and $\widehat{\gamma}$ on auxiliary folds and evaluating the above scores on held out folds.
table[table omitted — 2,102 chars of source]

Experiments

We evaluate generalized Riesz regression as a building block for debiased machine learning, focusing on average treatment effect (ATE) estimation. Across all experiments, we compare three ways of estimating the ATE Riesz representer (bias-correction term) introduced in Section (ref): SQ-Riesz (squared-loss objective), UKL-Riesz (unnormalized-KL objective), and BKL-Riesz (binary-KL objective). In the ATE setting, BKL-Riesz coincides with estimating the propensity score by Bernoulli likelihood (logistic MLE) and then plugging it into the closed-form ATE Riesz representer; we therefore refer to it as “BKL-Riesz = MLE.”

Given an estimate of the outcome regression $\widehat{\gamma}$ and an estimate of the Riesz representer $\widehat{\alpha}$, we report three ATE estimators:

itemize• RA: the plug-in direct method based only on $\widehat{\gamma}$, • RW: the RW estimator based only on $\widehat{\alpha}$, • ARW: the Neyman-orthogonal (doubly robust) estimator combining $\widehat{\gamma}$ and $\widehat{\alpha}$ as in Section (ref).

We quantify accuracy by the mean squared error (MSE) of the ATE estimate and quantify uncertainty by the empirical coverage ratio (CR) of nominal $95$

Experiments with synthetic dataset

\paragraph{Design} The covariates are three-dimensional, $K = 3$, and we fix the sample size at $n = 3000$. In each Monte Carlo replication, we generate covariates $Z_i \in {\mathbb{R}}^3$ from a multivariate normal distribution $\mathcal{N}(0, I_3)$ and construct a nonlinear propensity score model with polynomial and interaction terms as \[e_0(Z_i) = \frac{1}{1 + \exp\bigl(-h(Z_i)\bigr)},\] where \[h(Z_i) = \sum_{j=1}^3 a_j Z_{i,j} + \sum_{j=1}^3 b_j Z_{i,j}^2 + c_{1} Z_{i,1} Z_{i,2} + c_{2} Z_{i,2} Z_{i,3} + c_{3} Z_{i,1} Z_{i,3}.\] The coefficients \(a_j\), \(b_j\), and \(c_j\) are independently drawn from \(\mathcal{N}(0,0.5)\). Given these propensity scores, the treatment assignment \(D_i\) is sampled accordingly. We then generate the outcome as \[Y_i = 1.0 + \left(\sum^3_{j=1}Z_{i,j} \widetilde{a}_j\right)^2 + 1/\left(1 + \exp\left(-\left(\sum^3_{j=1}Z^2_{i,j} \widetilde{b}_j\right) \right)\right) }\right) \right)\right) }} + \tau_0 D_i + \varepsilon_i,\] where \(\varepsilon_i \sim \mathcal{N}(0,1)\) and \(\tau_0 = 5.0\).

\paragraph{Estimators and implementation} We estimate the Riesz representer using the following variants, matched to Table (ref).

itemize• SQ-Riesz (Linear) and SQ-Riesz (Logit): squared-loss generalized Riesz regression with two different link specifications for the Riesz-representer model. • UKL-Riesz (${\bm{\phi}}(Z)$) and UKL-Riesz (${\bm{\phi}}(X)$): UKL generalized Riesz regression with a log-type link, comparing two feature sets. Here $X=(D,Z)$ and ${\bm{\phi}}(Z)$ uses only $Z$, while ${\bm{\phi}}(X)$ uses the full regressor (allowing treatment-dependent features). • BKL-Riesz (MLE): propensity-score MLE (Bernoulli likelihood) followed by plugging $\widehat e(Z)$ into the ATE Riesz representer.

For the Riesz representer and regression models, we separately use a neural network with one hidden layer consisting of $100$ nodes. To avoid relying on the Donsker condition, we estimate all nuisance functions using two-fold cross fitting. In each replication, we split the sample into two folds, estimate the nuisance functions on one fold, evaluate the corresponding scores on the other fold, and then swap the roles of the folds. The final estimators aggregate the two cross-fitted scores.

This experiment does not guarantee automatic Neyman orthogonalization, since we use cross fitting and do not use the same basis functions for outcome modeling. However, this implementation is standard in debiased machine learning; therefore, we adopt it.

We repeat the simulation 100 times. The “True” columns in Table (ref) report infeasible oracle performance using the true nuisance functions.

\paragraph{Results} Table (ref) highlights three robust patterns. First, oracle baselines separate estimation error from intrinsic variance. The oracle ARW estimator is close to the efficiency benchmark (MSE $=0.01$) and achieves near-nominal coverage (CR $=0.98$). In contrast, even with the true propensity score, oracle RW remains noisy (MSE $=1.44$) and undercovers (CR $=0.84$), reflecting the well-known finite-sample instability of pure weighting in challenging overlap regimes.

Second, the plug-in RA estimator is not reliable for inference in this design. Across feasible implementations, RA has moderate MSE (about $0.38$$0.40$) but extremely poor coverage (CR $=0.06$$0.12$). This indicates that the outcome regression learner, while not catastrophically inaccurate in MSE, does not deliver a reliable uncertainty estimate when used without orthogonalization, and the resulting Wald intervals are severely miscalibrated.

Third, how we fit the Riesz representer matters substantially for IPW, and ARW mitigates (but does not eliminate) this sensitivity. For IPW, SQ-Riesz (Linear) is the best-performing option in Table (ref) (MSE $=0.49$) and yields near-nominal coverage (CR $=0.98$). In contrast, RW based on UKL-Riesz has larger MSE (about $1.50$) and noticeably lower coverage (CR $=0.68$$0.73$), while BKL-Riesz (= MLE) performs worst (MSE $=3.79$, CR $=0.32$), consistent with propensity-score MLE producing more extreme effective weights in this design.

The ARW estimator is uniformly more stable than RW and RA in terms of MSE, but calibration still depends on the Riesz-representer fit. SQ-Riesz (Logit) attains the best ARW MSE (0.08) with CR 0.89. UKL-Riesz achieves similarly small ARW MSE (0.10) but exhibits undercoverage (CR $=0.77$$0.81$). BKL-Riesz (= MLE) improves substantially over its RW counterpart (ARW MSE $=0.23$), yet its coverage remains poor (CR $=0.60$). Overall, directly fitting the Riesz representer via generalized Riesz regression can materially improve finite-sample performance relative to the MLE plug-in baseline, and the combination of objective and link specification plays a first-order role, especially for RW and for the calibration of ARW intervals.

table[table omitted — 1,670 chars of source]

Experiments with semi synthetic datasets

We next evaluate the same family of estimators on the semi-synthetic IHDP benchmark, following Chernozhukov2022riesznet. We use the standard setting “A” in the npci package and generate 1000 replications. Each replication contains $n=747$ observations with a binary treatment, an outcome, and $p=25$ covariates. The estimand is the ATE.

We report DM, IPW, and ARW for each Riesz-representer estimator (SQ-Riesz, UKL-Riesz, and BKL-Riesz (= MLE)). We consider two nuisance-learner families:

itemize• a feedforward neural network with one hidden layer of 100 units, • an RKHS learner with 100 Gaussian basis functions (with tuning by cross validation).

For each configuration, we compute the MSE of the ATE estimate and the empirical coverage ratio (CR) of nominal $95$% Wald-type confidence intervals across the 1000 replications; CR close to $0.95$ indicates well-calibrated uncertainty quantification. Results appear in Table (ref).

Two findings stand out. With neural networks, ARW is consistently accurate (MSE around $0.31$$0.43$) and well calibrated for UKL-Riesz and BKL-Riesz (CR $=0.94$ and $0.90$), while SQ-Riesz yields overly conservative ARW intervals (CR $=1.00$). In contrast, RA has very low coverage (CR near zero) and RW exhibits large error, especially for SQ-Riesz (MSE $=6.82$), reinforcing that orthogonalization is essential in this benchmark.

With RKHS, performance becomes much more sensitive to the particular objective: SQ-Riesz deteriorates sharply (MSE around $20$ with CR $=0$ for both RA and ARW), whereas UKL-Riesz and BKL-Riesz remain substantially more stable. In particular, UKL-Riesz attains strong RW calibration under RKHS (CR $=0.93$) with comparatively low MSE (1.78), while BKL-Riesz provides a competitive alternative (IPW MSE $=1.22$ with CR $=0.81$). These results underscore that, in finite samples, the interaction between the Riesz-representer objective and the nuisance-function learner can be decisive, and that UKL-type objectives can offer noticeably more robust behavior than squared-loss fitting in this semi-synthetic setting.

Discussion, Remarks, and Extensions

Overfitting Problem

Density ratio estimation often suffers from a characteristic form of overfitting. Kato2021nonnegativebregman refers to this issue as train-loss hacking and shows that the empirical objective can be artificially reduced by inflating $r(X^{(\text{nu})})$ at the training points. Rhodes2020telescopingdensityratio highlights a related mechanism: when $p_{\text{nu}}$ and $p_{\text{de}}$ are far apart, for example when $\mathrm{KL}(p_{\text{nu}}\|p_{\text{de}})$ is on the order of tens of nats, the estimation problem enters a large-gap regime that exacerbates overfitting. They refer to this phenomenon as the density chasm. Although the two papers emphasize different viewpoints, both point to the same underlying difficulty: finite samples provide weak control of the ratio in regions where the two distributions have little overlap.

\paragraph{Non-negative Bregman divergence} Kato2021nonnegativebregman proposes a modification of the Bregman divergence objective that isolates the problematic component and applies a non-negative correction under a mild boundedness condition on $r_0$. Specifically, choose $0<C<1/R$ with $R\coloneqq \sup r_0$. The population objective decomposes, up to an additive constant, into a non-negative term plus a bounded residual. At the sample level, the method replaces the non-negative component with its positive part $[\cdot]_+$. This yields an objective that curbs train-loss hacking while remaining within the Bregman divergence framework Kiryo2017positiveunlabeledlearning,Kato2021nonnegativebregman.

\paragraph{Telescoping density ratio estimation} Rhodes2020telescopingdensityratio proposes telescoping density ratio estimation, which targets overfitting in large-gap regimes by introducing intermediate waymark distributions $p_0 = p_{\text{nu}},p_1,\dots,p_m = p_{\text{de}}$. The method estimates local ratios $p_k/p_{k+1}$ and combines them through the identity \[ \frac{p_0(x)}{p_m(x)} = \prod_{k=0}^{m-1}\frac{p_k(x)}{p_{k+1}(x)}. \] Each local ratio corresponds to a smaller distributional gap, which makes perfect classification harder and typically stabilizes ratio estimation at finite sample sizes. As a result, telescoping can improve robustness and generalization in practice.

Telescoping density ratio estimation is also closely connected to score matching. As the number of intermediate ratios tends to infinity, the log density ratio can be expressed as an integral of time scores along a continuum of bridge distributions, and can be approximated by aggregating these score functions Choi2022densityratio. Building on this idea, Choi2022densityratio proposes density ratio estimation via infinitesimal classification. See Appendix (ref) for details.

genriesz: Python Package

We provide a Python package called genriesz.\footnote{Code: \url{https://github.com/MasaKat0/genriesz}. Document: \url{https://genriesz.readthedocs.io/en/latest/}.} The package implements generalized Riesz regression (GRR) under Bregman divergences, providing an end-to-end interface for fitting the Riesz representer and constructing debiased estimators. At a high level, users specify (i) a linear functional $m(X,\gamma)$, (ii) a basis map $\phi(X)$, and (iii) a Bregman generator $g(X,\alpha)$. The package then (a) constructs the automatic covariate balancing link function induced by $g$, (b) estimates the Riesz representer $\widehat{\alpha}(X)$ by solving a penalized GRR problem, and (c) optionally fits an outcome model $\widehat{\gamma}(X)$. The main entry point grr_functional returns direct-method, inverse-probability-weighting, and augmented estimators (when requested), together with standard errors, confidence intervals, and $p$-values, and supports cross-fitting. For lower-level control, genriesz also exposes solvers (GRR, GRRGLM) with ridge, lasso, and general $\ell_p$ regularization options.

The core installation is lightweight (Python 3.10 or later with NumPy and SciPy) and is available on PyPI via pip install genriesz. Optional extras provide integrations with scikit-learn and PyTorch, enabling additional feature maps such as random forest leaf encodings and neural network feature maps. The library includes a collection of ready-to-use components, including Bregman generators (e.g., squared and Kullback--Leibler-type generators) and basis functions such as polynomial bases, treatment-interaction bases, RKHS-style random Fourier features and Nystr\"om bases, and a $k$NN catchment-area basis for matching-style estimators. Custom generators and bases can also be supplied as Python callables; when analytic derivatives are not provided, the package can fall back on numerical differentiation and scalar root-finding to evaluate the induced link.

For reproducibility and ease of use, the repository includes runnable scripts under examples/ and an end-to-end Jupyter notebook (notebooks/GRR_end_to_end_examples.ipynb). These examples illustrate how to apply genriesz to common causal estimands such as the average treatment effect (grr_ate), average marginal effects (grr_ame), and average policy effects (grr_policy_effect).

There are other implementations of debiased machine learning. See also DoubleML Bach2022doublemlpython,Bach2024doublemlr and EconML Battocchi2019econmla.

Conclusion

This paper develops a unified perspective on estimating the Riesz representer, namely, the bias correction term that appears in Neyman orthogonal scores for a broad class of causal and structural parameters. We formulate Riesz representer estimation as fitting a model to the unknown representer under a Bregman divergence, which yields an empirical risk minimization objective that depends only on observed data. This generalized Riesz regression recovers Riesz regression and least squares importance fitting under squared loss, it recovers KL based tailored loss minimization and its dual entropy balancing weights under a KL type loss, and it connects logistic likelihood based propensity modeling with classification based density ratio estimation through a binary KL criterion. By pairing the loss with an appropriate link function, we make explicit a dual characterization that delivers automatic covariate balancing or moment matching, which clarifies when popular balancing schemes arise as primal or dual solutions. We provide convergence rate results for kernel methods and neural networks, including minimax optimality under standard smoothness classes, and we show how the framework instantiates in ATE, AME, APE, and covariate shift adaptation. Our experiments suggest that directly estimating the bias correction term can be competitive with common propensity score based baselines and can be stable across divergence choices when combined with cross fitting. Overall, the proposed framework bridges density ratio estimation and causal inference, and it offers a single set of tools for designing, analyzing, and implementing Riesz representer estimators, while motivating extensions such as nearest neighbor and score matching based constructions.