arXiv:2609.35598stat.MLSep 2026

Manuscript Offprint

arXiv:2609.35598

Learning Conditional Expectation Operators via Functional Newton Updates

Thiago Ramos, Alek Fröhlich, Daniel Perazzo, Massimiliano Pontil

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We introduce the Functional Spectral-Newton Method (FSNM) for learning the leading singular structure of a conditional expectation operator without fixing a basis or reproducing kernel Hilbert space. FSNM fits a low-rank representation of the centered joint-to-product density ratio kernel by alternating functional Newton updates. Each update reduces to a preconditioned regression, which we approximate with vector-valued regression trees in a stagewise boosting procedure. At the population level, we establish descent and an O(1/T)O(1/T) best-iterate block-stationarity rate under a relative weak-learner accuracy condition, and show that every nondegenerate local minimum over the full centered L2L^2 spaces is a globally optimal rank-d approximation. Synthetic experiments show that FSNM recovers a low-rank density ratio and its leading spectral structure, and that the same learned kernel can answer multiple conditional queries without refitting.

Keywords: conditional expectation operators, density ratio estimation, functional Newton methods, gradient boosting, spectral methods

1 Introduction

Let (X,Y)(X,Y) be a pair of random variables with joint distribution PX,YP_{X,Y}. We define their conditional expectation operator as

E:L2(PY)→L2(PX),E(g)(x)=E[g(Y)∣X=x].\mathsf{E}:L^{2}(P_{Y})\to L^{2}(P_{X}),\qquad\mathsf{E}(g)(x)=\mathbb{E}\left[g(Y)\mid X=x\right].

Learning E, rather than a separate regression function for each choice of g, provides a reusable representation of the conditional law of Y given X. For instance, taking g to be an indicator function yields conditional probabilities, while taking g to be the identity recovers the usual regression function; other choices yield conditional moments or distribution functions. This viewpoint has been exploited for conditional probability estimation and uncertainty quantification, both in general settings and in problems with known symmetries (Kostic et al., 2024; Ordonez-Apraez et al., 2026). More broadly, conditional expectation operators describe the evolution of observables in stochastic dynamical systems (Mardt et al., 2018; Klus et al., 2018; Kostic et al., 2022, 2023; Turri et al., 2026), govern inverse problems arising in causal effect estimation (Wang et al., 2022; Sun et al., 2025; Meunier et al., 2026), characterize independence and conditional independence (Zhang et al., 2011; Fröhlich et al., 2026), and serve as world models for reinforcement learning (Novelli et al., 2024; Zhang et al., 2022).

*Federal University of São Carlos. Email: thiagorr@ufscar.br.

†^{\dagger}CSML, Istituto Italiano di Tecnologia and University of Genoa. Email: alek.frohlich@iit.it.

‡^{\ddagger}CSML, Istituto Italiano di Tecnologia and University of Genoa. Email: daniel.rodrigues@iit.it.

§^{§}CSML, Istituto Italiano di Tecnologia and University College London. Email: massimiliano.pontil@iit.it.

Existing approaches to learning such operators typically use kernels or neural networks. This raises a natural question:

Can the leading spectral structure of a conditional expectation operator be learned with regression trees, through a functional optimization procedure analogous to gradient boosting?

Besides providing an alternative inductive bias, such a method would make operator learning available to the tree-based regression machinery commonly used for tabular and heterogeneous data. In this work, we answer this question by deriving an alternating functional Newton method whose conditional expectation steps can be approximated by regression trees.

Our goal is to learn the leading spectral structure of E without prescribing a basis for either L2L^{2} space. Throughout the paper, we assume that PX,YP_{X,Y} is absolutely continuous with respect to PX⊗PYP_{X} \otimes P_{Y} and that the density ratio

κ(x,y)=dPX,Yd(PX⊗PY)(x,y),\kappa(x,y)=\frac{d P_{X,Y}}{d(P_{X}\otimes P_{Y})}(x,y),

belongs to L2(PX⊗PY)L^2(P_X \otimes P_Y). Then E\mathbb{E} is a Hilbert–Schmidt integral operator with kernel κ\kappa, and admits a singular value decomposition E=∑i≥0σiϕi⋆⊗ψi⋆\mathbb{E} = \sum_{i \geq 0} \sigma_i \phi_i^\star \otimes \psi_i^\star, with the constant-one functions forming the first singular pair and σ0=1\sigma_0 = 1. The corresponding kernel expansion is

κ(x,y)=1+∑i≥1σiϕi⋆(x)ψi⋆(y).\kappa(x,y)=1+\sum_{i\geq1}\sigma_{i}\phi_{i}^{\star}(x)\psi_{i}^{\star}(y).

The unknown spectral structure is therefore carried by the centered density ratio kernel

κ0(x,y):=κ(x,y)−1=∑i≥1σiϕi⋆(x)ψi⋆(y).\kappa_{0}(x,y):=\kappa(x,y)-1=\sum_{i\geq1}\sigma_{i}\phi_{i}^{\star}(x)\psi_{i}^{\star}(y).

Truncating this expansion to its leading dd terms motivates a rank-dd model. We learn centered feature maps ϕ:X→Rd\phi: \mathcal{X} \to \mathbb{R}^d and ψ:Y→Rd\psi: \mathcal{Y} \to \mathbb{R}^d such that

κ0(x,y)≈κϕ,ψ(x,y):=ϕ(x)⊤ψ(y),E[ϕ(X)]=E[ψ(Y)]=0.\kappa_{0}(x,y)\approx\kappa_{\phi,\psi}(x,y):=\phi(x)^{\top}\psi(y),\qquad\mathbb{E}\left[\phi(X)\right]=\mathbb{E}\left[\psi(Y)\right]=0.

The corresponding approximation of the full density ratio is 1+κϕ,ψ1 + \kappa_{\phi,\psi}.

At first sight, fitting this model appears to require knowing κ0\kappa_{0}. The key observation is that its squared approximation error can instead be written, up to an irrelevant constant, using a joint expectation over observed pairs (X,Y)(X, Y) and the marginal second moments of the two factors. It can therefore be estimated directly from data.

To optimize this objective over flexible function classes, the Functional Spectral-Newton Method (FSNM) alternates functional Newton steps for ϕ\phi and ψ\psi. For either factor, the functional gradient is expressed through a conditional mean regression, while the corresponding block Hessian is a finite-dimensional second-moment matrix. Together, these estimates determine an approximate functional Newton direction. The resulting boosting expansion accumulates weak regressors across iterations (Friedman, 2001; Grubb and Bagnell, 2011; Sigrist, 2021; Zozoulenko et al., 2026).

Our main contributions are:

  1. Starting from a structured least-squares objective for low-rank approximation of the centered density ratio kernel, we derive its closed-form functional block-Newton directions. Each direction is a preconditioned conditional mean regression, which can be estimated by a generic regression learner without fixing a basis or an RKHS.

  2. We instantiate these updates with regression trees, obtaining an alternating stagewise procedure that accumulates weak regressors across iterations. We exploit the invariance of the factorization to obtain a balanced spectral representation of the fitted low-rank model, with orthonormal factors and explicit scale coefficients.

  3. We analyze a population version of the optimization procedure. Under uniformly nondegenerate iterates and a uniform relative tree-regression accuracy condition, the population loss decreases and a best-iterate block-stationarity measure has an O(1/T)O(1/T) rate. Separately, over the full centered L2L^{2} spaces, every nondegenerate local minimum of the population objective is a globally optimal rank-d approximation. For the final fitted class, Rademacher complexity gives uniform concentration of the empirical loss around its population counterpart.

References (66)