Introduction
Semiparametric inference [11 ] is one of the most important statistical frameworks and central to a wide range of problems, such as partial linear models, causal inference and survival analysis. A long-standing challenge is that, to ensure the efficiency of the estimator, it is often necessary to employ the efficient influence function (EIF) of the parameter of interest, which can be difficult to derive and to estimate in the presence of complex nuisance functions [92 , 21 ] . Moreover, the EIF is specific to each estimand, and it must be estimated together with its nuisance functions for each new sample, imposing computational burdens and hindering fast inference. Hence, a natural question is whether it is possible to use a single model for automated efficient inference across samples and estimands, without deriving the EIFs or nuisance functions?
Recent advances in tabular foundation models based on prior-data fitted networks (PFN, [66 , 46 ] ) shed light on this objective due to their amortised learning ([86 ] ) ability, in the sense that a Transformer pretrained once on large-scale simulated data can be applied to new data, returning an estimate in one forward pass without updating the Transformer parameters. This zero-shot paradigm enables fast estimation and prediction, since the learning cost is paid in pretraining instead of for new samples. Tabular foundation models have been developed for causal effect estimation ([6 ] ), nonparametric regression ([24 ] (Ma et al. 2026)), and uncertainty quantification ([33 ] (Ye et al. 2026)), as reviewed in Section A of our supplementary material (SM).
However, when applied for semiparametric inference, the PFN may lead to inefficient estimates and invalid confidence intervals. For the average treatment effect, Melnychuk et al. [62 ] proposes to correct the posterior of the PFN and remove a confounding bias induced by the prior. Zhang [112 ] and Melnychuk et al. [63 ] considered one-step EIF corrections in pretraining by debiasing the labels or the prior. However, these methods commonly target one estimand at a time, mostly the average treatment effect, and their estimand-specific EIF correction method can limit their applicability to general parameter families, such as quantile treatment effects at different levels. Moreover, since pretraining is computationally demanding, it is more desirable to obtain a pretrained model that serves a whole family of estimands.
In this study, we aim to propose a single pretrained Transformer for efficient semiparametric inference across samples and estimands, without deriving any EIF or estimating any nuisance function.
Methodologically, we introduce a query-indexed semiparametric framework, where the query specifies which estimand within a prespecified family to estimate and infer. For instance, in causal inference, the query class can include the average treatment effect and quantile treatment effects at different levels, so that one model serves the whole family. The designed Transformer takes a sample and a query as inputs and returns both a queried parameter estimate and its estimated covariance. Pretrained on data simulated from a pretraining prior with a Gaussian score loss, it uses only the true parameter as the label, without any nuisance estimation or influence function derivation. Once pretrained, the Transformer can output an estimate and a confidence region for any queried parameter without updating the model on an evaluation sample.
Theoretically, we characterise how the pretraining prior, the complexity of the Transformer and the evaluation distribution govern efficiency of amortised inference. (i) We establish that, under a locally flat pretraining prior of slowly growing complexity, the
posterior mean of every queried estimand is semiparametrically efficient. Crucially, the posterior attains this efficiency without any estimand-specific EIF correction. Hence, a single pretraining objective, with the true parameter as the only label, suffices for the whole family of estimands. (ii) It is shown that, under such a prior, a pretrained Transformer can inherit the efficiency of the posterior mean, provided that its parameter count is quadratic in the prior complexity and the number of pretraining samples is at least quadratic in the prior complexity, up to logarithmic factors whose powers increase with the data dimension. (iii) We provide the efficiency and inference validity guarantees of the Transformer output that holds in probability over evaluation populations and queries, even when their distribution differs from the pretraining prior. It is also revealed that for a fixed evaluation population, as in the classical frequentist inference framework, the efficiency is harder to attain, because guarantees that cover every approximate minimiser of the pretraining loss then need a number of pretraining samples exponential in the prior complexity.
Empirically, we test the proposal on four concrete tasks: estimating the average and quantile treatment effects, the coefficient in a semiparametric model, and the mean survival time. These four tasks cover important problems in causal inference, semiparametric regression, and survival analysis. Comparisons of our method with various existing baselines show that (i) our method achieves superior estimation accuracy and (ii) it delivers valid statistical inference, empirically covering the true parameters at close to the nominal level. Computationally, it is also much faster than existing machine learning methods, with a runtime below 10 − 1 10^{-1} 1 0 − 1 seconds.
The remainder of the paper is organised as follows. § 2 introduces the framework and the proposed method, § 3 establishes theoretical guarantees, § 4 reports numerical experiments, before closing the paper with a discussion in § 5 . Detailed reviews of related works, proofs and implementation details are presented in the supplement.
Framework and methodology
Problem setup
Let P \mathcal{P} P be a statistical model for the distribution P \mathbb{P} P of an observation Z ∈ Z ⊂ R d z Z \in\mathcal{Z} \subset\mathbb{R}^{d_z} Z ∈ Z ⊂ R d z . Semiparametric inference concerns a finite-dimensional parameter β 0 \beta_0 β 0 of P \mathbb{P} P in the presence of a potentially infinite-dimensional nuisance component η P \eta_{\mathbb{P}} η P [11 , 92 ] . Classical semiparametric inference methods typically involve an influence function correction and variance estimation, tailored to different parameters and recomputed for every dataset. Motivated by the zero-shot learning ability of foundation models, we ask whether this whole procedure can be learned via pretraining, so that a single pretrained model delivers fast and efficient inference for new evaluation samples and for each parameter in a prespecified family, even without knowledge of its EIF.
To this end, we consider a family of parameters
{ β q ( P ) : q ∈ Q , P ∈ P } , \left\{\beta_q(\mathbb{P}) : q \in\mathcal{Q},\ \mathbb{P} \in\mathcal{P}\right\}, { β q ( P ) : q ∈ Q , P ∈ P } ,
with the target parameter β q ( P ) ∈ R d k \beta_q(\mathbb{P}) \in\mathbb{R}^{d_k} β q ( P ) ∈ R d k indexed by some query q = ( k , u ) q = (k, u) q = ( k , u ) in an estimand query set Q : = { ( k , u ) : k ∈ K , u ∈ U k } \mathcal{Q} := \{(k, u) : k \in\mathcal{K},\ u \in\mathcal{U}_k\} Q := {( k , u ) : k ∈ K , u ∈ U k } , where k k k selects an estimand class from a prespecified set K \mathcal{K} K of semiparametric targets and u ∈ U k u \in\mathcal{U}_k u ∈ U k is an optional argument for the parameter class. For instance, K \mathcal{K} K may contain the average treatment effect (ATE), the quantile treatment effect (QTE) and the partially linear projection (PLR), with U k ⊂ ( 0 , 1 ) \mathcal{U}_k \subset(0, 1) U k ⊂ ( 0 , 1 ) as the quantile level set for the QTE, while u u u can be suppressed for estimands without a level argument, such as the ATE. We aim to obtain a single model that can be used for inference of all parameters in Q \mathcal{Q} Q , where computation burdens are amortised in pretraining.
Pretraining and inference procedure
Having specified the estimands and their queries, we now describe how a Transformer can be pretrained and conduct inference of all queried parameters in Q \mathcal{Q} Q . Our procedure consists of three steps, including synthetic data generation, Transformer pretraining, and inference on evaluation samples. Figure 1 summarises the procedure.
Figure 1. Graphical illustration of the pretraining and amortised inference pipeline.
Step 1: Generate pretraining data. We specify a pretraining prior π : = π P ⊗ π q \pi:= \pi_{\mathbb{P}} \otimes\pi_q π := π P ⊗ π q on P × Q \mathbb{P} \times\mathcal{Q} P × Q and a distribution π n \pi_n π n on the sample sizes N : = { n min , … , n max } \mathcal{N} := \{n_{\min}, \ldots, n_{\max}\} N := { n m i n , … , n m a x } , where π P \pi_{\mathbb{P}} π P and π q \pi_q π q are the priors on populations and queries, respectively. Under the pretraining prior π \pi π , the pretraining data T : = { ( D n t ( t ) , q t , β 0 , t ) } t = 1 T \mathcal{T} := \{(\mathcal{D}_{n_t}^{(t)}, q_t, \beta_{0,t})\}_{t=1}^{T} T := {( D n t ( t ) , q t , β 0 , t ) } t = 1 T is generated as follows.
Draw random distribution triples { ( P t , q t , n t ) } t = 1 T ∼ i . i . d . π ⊗ π n \{(\mathbb{P}_t, q_t, n_t)\}_{t=1}^{T} \overset{\mathrm{i.i.d.}}{\sim} \pi\otimes\pi_n {( P t , q t , n t ) } t = 1 T ∼ i.i.d. π ⊗ π n , with q t : = ( k t , u t ) q_t := (k_t, u_t) q t := ( k t , u t ) .
For each t ∈ [ T ] t \in[T] t ∈ [ T ] , independently generate D n t ( t ) = { Z i ( t ) } i = 1 n t ∼ i . i . d . P t \mathcal{D}_{n_t}^{(t)} = \{Z_i^{(t)}\}_{i=1}^{n_t} \overset{\mathrm{i.i.d.}}{\sim} \mathbb{P}_t D n t ( t ) = { Z i ( t ) } i = 1 n t ∼ i.i.d. P t , and compute the true parameter β 0 , t : = β q t ( P t ) \beta_{0,t} := \beta_{q_t}(\mathbb{P}_t) β 0 , t := β q t ( P t ) .
Step 2: Pretrain the Transformer. The Transformer f = ( f β , f V ) f = (f^\beta, f^V) f = ( f β , f V ) takes a dataset D n = { Z i } i = 1 n \mathcal{D}_n = \{Z_i\}_{i=1}^{n} D n = { Z i } i = 1 n and a query q = ( k , u ) q = (k, u) q = ( k , u ) as inputs and returns ( β , V ) : = ( f β ( D n , q ) , f V ( D n , q ) ) (\beta, V) := (f^\beta(\mathcal{D}_n, q), f^V(\mathcal{D}_n, q)) ( β , V ) := ( f β ( D n , q ) , f V ( D n , q )) , where β ∈ R d k \beta\in\mathbb{R}^{d_k} β ∈ R d k estimates β q ( P ) \beta_q(\mathbb{P}) β q ( P ) , and V ∈ R d k × d k V \in\mathbb{R}^{d_k \times d_k} V ∈ R d k × d k is positive definite and V / n V/n V / n estimates the sampling covariance. The detailed architecture of the Transformer class F T F \mathcal{F}_{\mathrm{TF}} F TF is presented in Section B.1 of the SM. We pretrain a Transformer f f f using the Gaussian score loss
ℓ n ( β 0 ; β , V ) : = 1 2 log det V + n 2 ( β 0 − β ) T V − 1 ( β 0 − β ) , (1) \ell_n(\beta_0; \beta, V) := \frac{1}{2}\log\det V + \frac{n}{2}(\beta_0-\beta)^\mathsf{T}V^{-1}(\beta_0-\beta), \tag*{(1)} ℓ n ( β 0 ; β , V ) := 2 1 log det V + 2 n ( β 0 − β ) T V − 1 ( β 0 − β ) , (1)
where β 0 \beta_0 β 0 is the true parameter and ( β , V ) (\beta, V) ( β , V ) is a candidate output. The empirical risk is
R ^ T ( f ) : = 1 T ∑ t = 1 T ℓ n t { β 0 , t ; f β ( D n t ( t ) , q t ) , f V ( D n t ( t ) , q t ) } . \widehat{R}_T(f) := \frac{1}{T}\sum_{t=1}^{T}\ell_{n_t}\{\beta_{0,t}; f^\beta(\mathcal{D}_{n_t}^{(t)}, q_t), f^V(\mathcal{D}_{n_t}^{(t)}, q_t)\}. R T ( f ) := T 1 t = 1 ∑ T ℓ n t { β 0 , t ; f β ( D n t ( t ) , q t ) , f V ( D n t ( t ) , q t )} .
We obtain f ^ ∈ F T F \widehat{f} \in\mathcal{F}_{\mathrm{TF}} f ∈ F TF by approximate empirical risk minimisation so that
R ^ T ( f ^ ) ≤ inf f ∈ F T F R ^ T ( f ) + ϵ o p t , (2) \widehat{R}_T(\widehat{f}) \leq\inf_{f \in\mathcal{F}_{\mathrm{TF}}}\widehat{R}_T(f) + \epsilon_{\mathrm{opt}}, \tag*{(2)} R T ( f ) ≤ f ∈ F TF inf R T ( f ) + ϵ opt , (2)
where ϵ o p t ≥ 0 \epsilon_{\mathrm{opt}} \geq0 ϵ opt ≥ 0 is some optimisation tolerance.
Step 3: Inference on an evaluation sample. With the pretrained f ^ \hat{f} f ^ , we can conduct inference on an evaluation sample for any semiparametric target q ∈ Q q \in\mathcal{Q} q ∈ Q , without updating f ^ \hat{f} f ^ . Let N ∈ N N \in\mathbb{N} N ∈ N be the size of the evaluation sample and let ν \nu ν be an evaluation distribution on P × Q \mathcal{P} \times\mathcal{Q} P × Q . Independently of T T T , draw ( P , q ) ∼ ν (P,q) \sim\nu ( P , q ) ∼ ν and then D N = { Z i } i = 1 N D_N = \{Z_i\}_{i=1}^{N} D N = { Z i } i = 1 N with Z i ∼ i . i . d . P Z_i \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} P Z i ∼ i.i.d. P . The fitted Transformer returns β ^ : = f ^ β ( D N , q ) \hat{\beta} := \hat{f}^{\beta}(D_N,q) β ^ := f ^ β ( D N , q ) and V ^ : = f ^ V ( D N , q ) \hat{V} := \hat{f}^{V}(D_N,q) V ^ := f ^ V ( D N , q ) . A Wald-type confidence region with nominal ( 1 − α ) (1-\alpha) ( 1 − α ) confidence level can be constructed as
C ^ N ( D N , q ) : = { β ∈ R d k : N ( β ^ − β ) T V ^ − 1 ( β ^ − β ) ≤ χ d k , 1 − α 2 } , (3) \widehat{C}_N(D_N,q) := \left\{\beta\in\mathbb{R}^{d_k}: N(\hat{\beta}-\beta)^{\mathsf{T}}\hat{V}^{-1}(\hat{\beta}-\beta) \le\chi^2_{d_k,1-\alpha}\right\}, \tag*{(3)} C N ( D N , q ) := { β ∈ R d k : N ( β ^ − β ) T V ^ − 1 ( β ^ − β ) ≤ χ d k , 1 − α 2 } , (3)
where χ d k , 1 − α 2 \chi^2_{d_k,1-\alpha} χ d k , 1 − α 2 is the ( 1 − α ) (1-\alpha) ( 1 − α ) quantile of the χ d k 2 \chi^2_{d_k} χ d k 2 distribution.
Our proposal has three main methodological advantages. (i) The labels in (1) are simply the true parameters, available for every population and query drawn in Step 1, whereas labels involving the EIF, such as in Zhang [112 ] , must be computed for each estimand from its own nuisance functions, such as the outcome density at each quantile level for the QTE. Therefore, our approach is better suited than EIF corrections to amortised inference across a family of estimands. (ii) By accommodating the parameter query as one of its inputs, a single Transformer serves the whole prespecified family of target parameters, such as the QTE at different levels, so that the cost of pretraining is shared across datasets and targets. (iii) One application of the pretrained Transformer to an evaluation sample returns β ^ \hat{\beta} β ^ and V ^ \hat{V} V ^ jointly, and hence the Wald region (3) , avoiding the nuisance estimation, bias correction and variance estimation that classical methods repeat for each dataset.
Theoretical results
In this section, we investigate whether β ^ = f ^ β ( D N , q ) \hat{\beta} = \hat{f}^{\beta}(D_N,q) β ^ = f ^ β ( D N , q ) attains the semiparametric efficiency bound and C ^ N ( D N , q ) \widehat{C}_N(D_N,q) C N ( D N , q ) has asymptotically exact coverage, for ( P , q ) (P,q) ( P , q ) drawn from the evaluation distribution ν \nu ν .
To formalise the efficiency benchmark, let ψ P , q ∗ \psi^{*}_{P,q} ψ P , q ∗ denote the EIF of β q ( P ) \beta_q(P) β q ( P ) , with efficiency bound V q ∗ ( P ) : = E P { ( ψ P , q ∗ ) ⊗ 2 } V_q^{*}(P) := \mathbb{E}_{P}\{(\psi^{*}_{P,q})^{\otimes2}\} V q ∗ ( P ) := E P {( ψ P , q ∗ ) ⊗ 2 } , and let P N h : = N − 1 ∑ i = 1 N h ( Z i ) P_N h := N^{-1}\sum_{i=1}^{N} h(Z_i) P N h := N − 1 ∑ i = 1 N h ( Z i ) . We say the fitted Transformer f ^ \widehat{f} f is efficient under ν \nu ν if
β ^ = β q ( P ) + P N ψ P , q ∗ + o ν ( N − 1 / 2 ) and V ^ = V q ∗ ( P ) + o ν ( 1 ) , (4) \widehat{\beta}=\beta_q(\mathbb{P})+\mathbb{P}_N\psi^*_{\mathbb{P},q}+o_\nu(N^{-1/2}) \quad\text{and}\quad\widehat{V}=V_q^*(\mathbb{P})+o_\nu(1), \tag*{(4)} β = β q ( P ) + P N ψ P , q ∗ + o ν ( N − 1/2 ) and V = V q ∗ ( P ) + o ν ( 1 ) , (4)
namely that β ^ \widehat{\beta} β attains the semiparametric efficiency bound and V ^ \widehat{V} V estimates it consistently. Because the evaluation population and query ( P , q ) (\mathbb{P},q) ( P , q ) are drawn from ν \nu ν , this is efficiency in probability over populations and queries , so that (4) holds for all but a vanishing ν \nu ν proportion of ( P , q ) (\mathbb{P},q) ( P , q ) . Throughout, we assume that the support N \mathcal{N} N of π n \pi_n π n consists of finitely many sample sizes, with n min ≲ n max n_{\min}\lesssim n_{\max} n m i n ≲ n m a x and π n ( N ) \pi_n(\mathcal{N}) π n ( N ) bounded away from zero, so that n ≲ N n\lesssim N n ≲ N for every n ∈ N n\in\mathcal{N} n ∈ N and all rates are stated in terms of N N N . We consider both π P \pi_{\mathcal{P}} π P and ν \nu ν to vary with N N N . The index ν \nu ν in o ν o_\nu o ν , O ν O_\nu O ν , → ν \overset{\nu}{\to} → ν and ⇝ ν \overset{\nu}{\rightsquigarrow} ⇝ ν refers to Pr ν \Pr_\nu Pr ν , the joint distribution of ( T , P , q , D N ) (\mathcal{T},\mathbb{P},q,\mathcal{D}_N) ( T , P , q , D N ) under which ( P , q ) ∼ ν (\mathbb{P},q)\sim\nu ( P , q ) ∼ ν is independent of T \mathcal{T} T and D N ∣ ( P , q , T ) ∼ P ⊗ N \mathcal{D}_N\mid(\mathbb{P},q,\mathcal{T})\sim\mathbb{P}^{\otimes N} D N ∣ ( P , q , T ) ∼ P ⊗ N .
The pretraining target and its efficiency
Because the loss (1) is averaged over populations drawn from π \pi π , pretraining essentially estimates the Bayes rule under π \pi π , which minimises the posterior expected loss for each dataset and query, as the following proposition shows.
Proposition 1. Define the posterior mean and scaled covariance by
m π ( D n , q ) : = E π P { β q ( P ) ∣ D n } and S π ( D n , q ) : = n Cov π P { β q ( P ) ∣ D n } , (5) m_\pi(\mathcal{D}_n,q):=\mathbb{E}_{\pi_{\mathcal{P}}}\{\beta_q(\mathbb{P})\mid\mathcal{D}_n\}\quad\text{and}\quad S_\pi(\mathcal{D}_n,q):=n\operatorname{Cov}_{\pi_{\mathcal{P}}}\{\beta_q(\mathbb{P})\mid\mathcal{D}_n\}, \tag*{(5)} m π ( D n , q ) := E π P { β q ( P ) ∣ D n } and S π ( D n , q ) := n Cov π P { β q ( P ) ∣ D n } , (5) respectively, and let f π : = ( m π , S π ) f_\pi:=(m_\pi,S_\pi) f π := ( m π , S π ) . For every n ∈ N n\in\mathcal{N} n ∈ N , query q ∈ Q q\in\mathcal{Q} q ∈ Q and dataset D n ∈ Z n \mathcal{D}_n\in\mathcal{Z}^n D n ∈ Z n such that β q ( P ) \beta_q(\mathbb{P}) β q ( P ) has a finite posterior second moment conditional on ( D n , q ) (\mathcal{D}_n,q) ( D n , q ) and S π ( D n , q ) ≻ 0 S_\pi(\mathcal{D}_n,q)\succ0 S π ( D n , q ) ≻ 0 ,
arg min β ∈ R k d , V ≻ 0 E π { ℓ n ( β q ( P ) ; β , V ) ∣ D n , q } = f π ( D n , q ) . (6) \underset{\beta\in\mathbb{R}^d_k,V\succ0}{\arg\min}\ \mathbb{E}_\pi\{\ell_n(\beta_q(\mathbb{P});\beta,V)\mid\mathcal{D}_n,q\}=f_\pi(\mathcal{D}_n,q). \tag*{(6)} β ∈ R k d , V ≻ 0 arg min E π { ℓ n ( β q ( P ) ; β , V ) ∣ D n , q } = f π ( D n , q ) . (6)
The above proposition reveals that the oracle targets of pretraining are the posterior moments of β q ( P ) \beta_q(\mathbb{P}) β q ( P ) given the evaluation sample D n \mathcal{D}_n D n , as a property of the Dawid–Sebastiani score (Dawid and Sebastiani (1999)). Whether the m π ( D n , q ) m_\pi(\mathcal{D}_n,q) m π ( D n , q ) is efficient depends on the prior π \pi π . Since priors of tabular foundation models are often defined implicitly by stochastic mechanisms without analytic densities, we approximate π P \pi_{\mathcal{P}} π P by a class of sieve priors. Specifically, following Rivoirard and Rousseau [78 ] , let ( b k ) k = 1 ∞ (b_k)_{k=1}^{\infty} ( b k ) k = 1 ∞ be a bounded orthonormal basis of the mean zero functions in L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) , where P 0 \mathbb{P}_0 P 0 is a reference distribution on Z \mathcal{Z} Z specified in Section B.2 of the SM. For every K ≥ 1 K\geq1 K ≥ 1 , every P ∈ P \mathbb{P}\in\mathcal{P} P ∈ P can be written uniquely as
d P d P 0 ∝ exp ( ∑ k = 1 K θ P , k b k + g P , K ) \frac{\mathrm{d}\mathbb{P}}{\mathrm{d}\mathbb{P}_0}\propto\exp\left(\sum_{k=1}^{K}\theta_{\mathbb{P},k}b_k+g_{\mathbb{P},K}\right) d P 0 d P ∝ exp ( k = 1 ∑ K θ P , k b k + g P , K )
with coefficients θ P ∈ R K \theta_{\mathbb{P}}\in\mathbb{R}^{K} θ P ∈ R K and a mean zero remainder g P , K g_{\mathbb{P},K} g P , K orthogonal to ( b k ) k ∈ [ K ] (b_k)_{k\in[K]} ( b k ) k ∈ [ K ] in L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) . We define the truncated Gaussian series prior π K \pi_K π K as the distribution on the sieve P K : = { P ∈ P : g P , K = 0 } \mathcal{P}_K:=\{\mathbb{P}\in\mathcal{P}:g_{\mathbb{P},K}=0\} P K := { P ∈ P : g P , K = 0 } by drawing θ P ∼ N ( 0 , σ 2 diag ( k − 2 a ) k ∈ [ K ] ) \theta_{\mathbb{P}}\sim\mathcal{N}(0,\sigma^2\operatorname{diag}(k^{-2a})_{k\in[K]}) θ P ∼ N ( 0 , σ 2 diag ( k − 2 a ) k ∈ [ K ] ) truncated to ∥ θ P ∥ 1 ≤ B \lVert\theta_{\mathbb{P}}\rVert_1\leq B ∥ θ P ∥ 1 ≤ B , for some constants a > 1 a>1 a > 1 and σ , B > 0 \sigma,B>0 σ , B > 0 . We call { π K } K ≥ 1 \{\pi_K\}_{K\geq1} { π K } K ≥ 1 the sieve prior class . Just as π K \pi_K π K is supported on the sieve P K \mathcal{P}_K P K , we let P π \mathcal{P}_\pi P π denote the support of the simulator prior π P \pi_P π P , which the conditions below compare with the sieve. Our results hold under the following conditions, formalised as Assumptions 1–5 in Section D of the SM.
(A1) Each β q ( P ) \beta_q(\mathbb{P}) β q ( P ) is pathwise differentiable, with ψ P , q ⋆ ∈ L 2 ( P ) \psi^\star_{\mathbb{P},q} \in L_2(\mathbb{P}) ψ P , q ⋆ ∈ L 2 ( P ) continuous in ( P , q ) (\mathbb{P},q) ( P , q ) , has a Lipschitz Jacobian in θ P \theta_{\mathbb{P}} θ P , and is computable as in Definition F.1 of the SM.
(A2) Eigenvalues of V q ⋆ ( P ) V^\star_q(\mathbb{P}) V q ⋆ ( P ) are bounded away from zero and infinity, uniformly in ( P , q ) (\mathbb{P},q) ( P , q ) .
(A3) There exists K = K N K = K_N K = K N such that ∥ θ P ∥ 1 ≤ B \lVert\theta_{\mathbb{P}}\rVert_1 \le B ∥ θ P ∥ 1 ≤ B for every P ∈ P π \mathbb{P} \in\mathcal{P}_{\pi} P ∈ P π , sup P ∈ P π ∥ g P , K ∥ ∞ = o ( 1 ) \sup_{\mathbb{P}\in\mathcal{P}_{\pi}}\lVert g_{\mathbb{P},K}\rVert_\infty= o(1) sup P ∈ P π ∥ g P , K ∥ ∞ = o ( 1 ) and δ π : = sup P ∈ P π ∥ g P , K ∥ L 2 ( P 0 ) = o ( N − 1 / 2 ) \delta_{\pi} := \sup_{\mathbb{P}\in\mathcal{P}_{\pi}}\lVert g_{\mathbb{P},K}\rVert_{L_2(\mathbb{P}_0)} = o(N^{-1/2}) δ π := sup P ∈ P π ∥ g P , K ∥ L 2 ( P 0 ) = o ( N − 1/2 ) .
(A4) The density of θ P \theta_{\mathbb{P}} θ P conditional on g P , K g_{\mathbb{P},K} g P , K relative to π K \pi_K π K is uniformly bounded away from zero and infinity, and its logarithm is Lipschitz with constant L N = o ( N ) L_N = o(\sqrt{N}) L N = o ( N ) .
(A5) The evaluation distribution satisfies sup N χ 2 ( ν ∥ π ) < ∞ \sup_N \chi^2(\nu\mathbin\Vert\pi) < \infty sup N χ 2 ( ν ∥ π ) < ∞ .
Beyond pathwise differentiability, (A1) controls the second order term of θ ↦ β q ( P θ ) \theta\mapsto\beta_q(\mathbb{P}_{\theta}) θ ↦ β q ( P θ ) and asks for a computable representation of the queries, used by Theorem 2 to construct Transformers and satisfied by all our examples, while (A2) is the usual nondegeneracy of the efficiency bound. Under (A3), the sieve approximates every population in P π \mathcal{P}_{\pi} P π with an error negligible relative to the sampling error N − 1 / 2 N^{-1/2} N − 1/2 , and we call K K K the pretraining prior complexity of π P \pi_P π P . Condition (A4) requires π P \pi_P π P to reweight π K \pi_K π K by a density nearly flat at the scale N − 1 / 2 N^{-1/2} N − 1/2 of posterior fluctuations, as assumed in the Bernstein–von Mises theorem for exponential families of growing dimension (Ghosal, [37 ] ). Together, (A3) and (A4) make the posteriors under π P \pi_P π P and π K \pi_K π K equivalent to first order, which justifies the sieve approximation of π P \pi_P π P by π K \pi_K π K and reduces the analysis of every such simulator prior to that of a Gaussian series prior whose complexity grows with N N N . Section D of the SM verifies (A3) and (A4) for the Gaussian series prior, and (A3) for remainders in a Sobolev ball. Finally, as in Ma et al. (2026), (A5) allows distribution shift within a χ 2 \chi^2 χ 2 ball around π \pi π , including evaluation at a single query that π q \pi_q π q selects with positive probability. Under these conditions, the efficiency of the posterior moments hinges on how fast the prior complexity K K K grows with N N N , as the next theorem establishes.
Theorem 1 (Efficiency of the target). Suppose (A1) and (A3)–(A5) hold, and the pretraining prior complexity satisfies K → ∞ K \to\infty K → ∞ and K 3 ∨ 2 a = o ( N ) K^{3\vee2a} = o(N) K 3 ∨ 2 a = o ( N ) . Then f π f_{\pi} f π is efficient under ν \nu ν , that is, the posterior moments at ( D N , q ) (D_N,q) ( D N , q ) satisfy
m π = β q ( P ) + P N ψ P , q ⋆ + o ν ( N − 1 / 2 ) and S π = V q ⋆ ( P ) + o ν ( 1 ) . (7) m_{\pi} = \beta_q(\mathbb{P}) + \mathbb{P}_N\psi^\star_{\mathbb{P},q} + o_{\nu}(N^{-1/2}) \quad\text{and} \quad S_{\pi} = V^\star_q(\mathbb{P}) + o_{\nu}(1). \tag*{(7)} m π = β q ( P ) + P N ψ P , q ⋆ + o ν ( N − 1/2 ) and S π = V q ⋆ ( P ) + o ν ( 1 ) . (7)
Theorem 1 is a semiparametric efficiency theorem for the posterior moments, in which a common prior π P \pi_P π P , specified without any EIF, serves every estimand q ∈ Q q \in\mathcal{Q} q ∈ Q . The posterior attains such efficiency by correcting every estimand along the same sieve scores. For the sieve prior π K \pi_K π K , our proof shows that
m π = β q ( P ) + P N ψ P , q / K + o ν ( N − 1 / 2 ) and S π = E P { ( ψ P , q / K ) ⊗ 2 } + o ν ( 1 ) , (8) m_{\pi} = \beta_q(\mathbb{P}) + \mathbb{P}_N\psi^{/K}_{\mathbb{P},q} + o_{\nu}(N^{-1/2}) \quad\text{and} \quad S_{\pi} = \mathbb{E}_{\mathbb{P}}\left\{(\psi^{/K}_{\mathbb{P},q})^{\otimes2}\right\} + o_{\nu}(1), \tag*{(8)} m π = β q ( P ) + P N ψ P , q / K + o ν ( N − 1/2 ) and S π = E P { ( ψ P , q / K ) ⊗ 2 } + o ν ( 1 ) , (8)
whenever K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) , where ψ P , q K \psi_{\mathcal{P},q}^{K} ψ P , q K is the projection of ψ P , q ∗ \psi_{\mathcal{P},q}^{*} ψ P , q ∗ onto the span of the sieve scores { b k − E P b k } k ∈ [ K ] \{b_k-\mathbb{E}_{\mathcal{P}}b_k\}_{k\in[K]} { b k − E P b k } k ∈ [ K ] . Hence, to the first order, m π m_\pi m π matches a one-step estimator that corrects with the projected EIF, and becomes efficient in P \mathcal{P} P as K → ∞ K\to\infty K → ∞ so that sieve scores approximate every EIF. Such an implicit correction requires a prior that adds no bias of order N − 1 / 2 N^{-1/2} N − 1/2 , which the Gaussian series prior ensures in every sieve direction, since the prior standard deviations σ k − a \sigma k^{-a} σ k − a exceed N − 1 / 2 N^{-1/2} N − 1/2 when K 2 a = o ( N ) K^{2a}=o(N) K 2 a = o ( N ) . As a result, in this smooth regime, the EIF corrections of the prior or the labels ([76 , 112 ] ) are not needed, and the posterior mean agrees to first order with the efficient sieve plug-in estimator ([88 ] ), which pretraining amortises across datasets and queries.
Remark 1. The above theorem reveals that the prior complexity K K K must increase with the sample size for efficiency across a general query family, since for bounded K K K the posterior moments in (8) are efficient only in the parametric sieve P K \mathcal{P}_K P K . Slow growth with K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) suffices to keep the posterior of θ P \theta_{\mathcal{P}} θ P nearly normal and free of prior bias, but lets the sieve error in (A3) fall below the sampling error only for joint log densities of Sobolev smoothness s > d ( 3 / 2 ∨ a ) s>d(3/2\vee a) s > d ( 3/2 ∨ a ) in d d d continuous coordinates. This smoothness requirement, while restrictive for large d d d , is the price of controlling the approximation bias of every queried estimand through the sieve error of the density alone. By contrast, for a single estimand, a smooth EIF can offset a rough density, as only the product of their sieve errors must be o ( N − 1 / 2 ) o(N^{-1/2}) o ( N − 1/2 ) ([18 ] ).
Efficiency of the pretrained Transformer
We now study whether the pretrained Transformer f ^ \widehat{f} f can accurately estimate f π f_\pi f π and perform efficient inference on evaluation samples. The following theorem establishes the convergence rate of the estimation error of ( β ^ , V ^ ) (\widehat{\beta},\widehat{V}) ( β , V ) for the posterior moment ( m π , S π ) (m_\pi,S_\pi) ( m π , S π ) .
Theorem 2 (Transformer estimation error). Suppose (A1)–(A5) hold, K → ∞ K\to\infty K → ∞ with K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) , ϵ o p t → 0 \epsilon_{\mathrm{opt}}\to0 ϵ opt → 0 and K 2 log 2 d + 7 N = o ( T ) K^2\log^{2d+7}N=o(T) K 2 log 2 d + 7 N = o ( T ) . Then, for the Transformer class F T F \mathcal{F}_{\mathrm{TF}} F TF with a single attention head and O ( K 2 log 2 d + 2 N ) O(K^2\log^{2d+2}N) O ( K 2 log 2 d + 2 N ) parameters, we have
N ∥ β ^ − m π ∥ + ∥ V ^ − S π ∥ F = O ν ( r N ) , (9) \sqrt{N}\lVert\widehat{\beta}-m_\pi\rVert+\lVert\widehat{V}-S_\pi\rVert_F=O_\nu(\sqrt{r_N}), \tag*{(9)} N ∥ β − m π ∥ + ∥ V − S π ∥ F = O ν ( r N ) , (9) where
r N : = K 3 N + K log N N + K 2 T log 2 d + 7 ( N T ) + L N 2 N + N δ π 2 + ϵ o p t . (10) r_N:=\frac{K^3}{N}+K\sqrt{\frac{\log N}{N}}+\frac{K^2}{T}\log^{2d+7}(NT)+\frac{L_N^2}{N}+N\delta_\pi^2+\epsilon_{\mathrm{opt}}. \tag*{(10)} r N := N K 3 + K N log N + T K 2 log 2 d + 7 ( N T ) + N L N 2 + N δ π 2 + ϵ opt . (10)
The rate r N r_N r N consists of the approximation, stochastic and optimisation errors of the Transformer for learning f π f_\pi f π . The approximation error includes three parts, where L N 2 / N + N δ π 2 L_N^2/N+N\delta_\pi^2 L N 2 / N + N δ π 2 is the price of π P \pi_{\mathcal{P}} π P that departs from the sieve prior π K \pi_K π K , K 3 / N K^3/N K 3 / N arises from a normal approximation to the posterior in dimension K K K after one attention head pools the data into the sieve basis sample means { P N b k } k ∈ [ K ] \{\mathbb{P}_N b_k\}_{k\in[K]} { P N b k } k ∈ [ K ] , which are sufficient for θ P \theta_{\mathcal{P}} θ P under π K \pi_K π K , and K log N / N K\sqrt{\log N/N} K log N / N from populations whose coefficients lie near the boundary of the ℓ 1 \ell_1 ℓ 1 ball truncating the prior. The term ( K 2 / T ) log 2 d + 7 ( N T ) (K^2/T)\log^{2d+7}(NT) ( K 2 / T ) log 2 d + 7 ( N T ) is the stochastic error of fitting O ( K 2 ) O(K^2) O ( K 2 ) Transformer parameters with T T T pretraining samples. Therefore, once the optimisation error vanishes, order K 2 K^2 K 2 Transformer parameters and pretraining samples suffice up to some logarithmic factor, so that the statistical cost of pretraining grows quadratically with the prior complexity.
Theorem 3 (Efficient amortised inference). Suppose ( A 1 ) (A1) ( A 1 ) –( A 5 ) (A5) ( A 5 ) hold, K → ∞ K \to\infty K → ∞ with K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) , and f ^ \hat{f} f ^ satisfies (2) over F T F \mathcal{F}_{\mathrm{TF}} F TF with r N → 0 r_N \to0 r N → 0 . Then
N { β ^ − β q ( P ) } ∣ ( P , q , T ) ⇝ ν N { 0 , V q ⋆ ( P ) } and V ^ → ν V q ⋆ ( P ) , (11) \sqrt{N}\{\hat{\beta}-\beta_q(\mathbb{P})\}\mid(\mathbb{P},q,\mathcal{T})\overset{\nu}{\rightsquigarrow}\mathcal{N}\{0,V_q^\star(\mathbb{P})\}\quad\text{and}\quad\hat{V}\overset{\nu}{\to}V_q^\star(\mathbb{P}), \tag*{(11)} N { β ^ − β q ( P )} ∣ ( P , q , T ) ⇝ ν N { 0 , V q ⋆ ( P )} and V ^ → ν V q ⋆ ( P ) , (11) and, for every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , the Wald region (3) satisfies
P { β q ( P ) ∈ C ^ N ( D N , q ) ∣ q , T } → ν 1 − α . (12) \mathbb{P}\{\beta_q(\mathbb{P})\in\widehat{C}_N(D_N,q)\mid q,\mathcal{T}\}\overset{\nu}{\to}1-\alpha. \tag*{(12)} P { β q ( P ) ∈ C N ( D N , q ) ∣ q , T } → ν 1 − α . (12)
Theorem 3 shows that the pretrained f ^ \hat{f} f ^ returns an efficient estimate and an asymptotically exact Wald region, in probability over populations and queries drawn from ν \nu ν . Because the probability in (12) is taken under P \mathbb{P} P , the coverage holds population by population, except for a vanishing proportion in ν \nu ν , and hence is stronger than coverage averaged over the prior. However, classical frequentist inference usually concerns the efficiency and inference validity at a fixed population P ⋆ \mathbb{P}_\star P ⋆ , which Theorem 3 does not cover because a point mass at P ⋆ \mathbb{P}_\star P ⋆ has infinite χ 2 \chi^2 χ 2 divergence from π \pi π , violating Condition ( A 5 ) (A5) ( A 5 ) . The pretraining cost and efficiency guarantee in this case is established in the following theorem.
Theorem 4 (Inference at a fixed population). Suppose that ( A 1 ) (A1) ( A 1 ) –( A 4 ) (A4) ( A 4 ) hold with δ π = 0 \delta_\pi=0 δ π = 0 , and let ν = δ P ⋆ ⊗ π q \nu=\delta_{\mathbb{P}_\star}\otimes\pi_q ν = δ P ⋆ ⊗ π q for a fixed population P ⋆ \mathbb{P}_\star P ⋆ satisfying Assumption 6 in the SM. If f ^ \hat{f} f ^ satisfies (2) over a Transformer class with exp { O ( K 2 log N ) } \exp\{O(K^2\log N)\} exp { O ( K 2 log N )} parameters, T ≥ exp ( C K 2 log N ) T\geq\exp(CK^2\log N) T ≥ exp ( C K 2 log N ) for a large enough constant C C C and ϵ o p t = O ( N − K 2 ) \epsilon_{\mathrm{opt}}=O(N^{-K^2}) ϵ opt = O ( N − K 2 ) , then
N { β ^ − β q ( P ⋆ ) } ∣ ( q , T ) ⇝ ν N { 0 , V q ⋆ ( P ⋆ ) } and V ^ → ν V q ⋆ ( P ⋆ ) , (13) \sqrt{N}\{\hat{\beta}-\beta_q(\mathbb{P}_\star)\}\mid(q,\mathcal{T})\overset{\nu}{\rightsquigarrow}\mathcal{N}\{0,V_q^\star(\mathbb{P}_\star)\}\quad\text{and}\quad\hat{V}\overset{\nu}{\to}V_q^\star(\mathbb{P}_\star), \tag*{(13)} N { β ^ − β q ( P ⋆ )} ∣ ( q , T ) ⇝ ν N { 0 , V q ⋆ ( P ⋆ )} and V ^ → ν V q ⋆ ( P ⋆ ) , (13) and, for every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , the Wald region (3) satisfies
P ⋆ { β q ( P ⋆ ) ∈ C ^ N ( D N , q ) ∣ q , T } → ν 1 − α . (14) \mathbb{P}_\star\{\beta_q(\mathbb{P}_\star)\in\widehat{C}_N(D_N,q)\mid q,\mathcal{T}\}\overset{\nu}{\to}1-\alpha. \tag*{(14)} P ⋆ { β q ( P ⋆ ) ∈ C N ( D N , q ) ∣ q , T } → ν 1 − α . (14)
Theorem 4 extends the efficiency guarantee of Theorem 3 to a fixed evaluation population, while the number of pretraining samples grows from order K 2 K^2 K 2 to exp ( C K 2 log N ) \exp(CK^2\log N) exp ( C K 2 log N ) . Hence, the posterior moments remain efficient at P ⋆ \mathbb{P}_\star P ⋆ , but are costly to learn, because a pointwise guarantee requires the Transformer to approximate them accurately on samples drawn from P ⋆ \mathbb{P}_\star P ⋆ itself. Intuitively, since the pretraining loss averages over pretraining samples, it controls the Transformer error mainly on samples that are simulated often. However, samples from a fixed P ⋆ \mathbb{P}_\star P ⋆ are rarely simulated in the pretraining data. As a result, pretraining needs exponentially many pretraining samples to ensure the efficiency at a fixed P ⋆ \mathbb{P}_\star P ⋆ .
Table 1 summarises the pretraining requirements under which Theorems 3 and 4 guarantee efficiency at random and fixed evaluation populations, respectively. For a fixed population, the lower bound in Proposition F.2 of our SM further reveals that exponentially many pretraining samples are also necessary for guarantees covering every approximate empirical risk minimiser.
Table 1. Sufficient sizes and optimisation error for efficient inference.
Numerical experiments
We study inference tasks in causal inference, semiparametric regression, and survival analysis. Each experiment uses a task-specific instance of the pretraining and inference procedure in § 2.2 ; the corresponding estimator is labelled “Ours” in every figure. The task generators, preprocessing and optimisation details are deferred to Section H of the SM. Throughout these experiments, we use two criteria to evaluate performance: the root mean squared error (RMSE), { R − 1 ∑ r = 1 R ∥ β ^ ( r ) − β q ( P r ) ∥ 2 } 1 / 2 \{R^{-1}\sum_{r=1}^{R}\|\widehat{\beta}^{(r)}-\beta_q(\mathbb{P}_r)\|^2\}^{1/2} { R − 1 ∑ r = 1 R ∥ β ( r ) − β q ( P r ) ∥ 2 } 1/2 , and the empirical coverage rate R − 1 ∑ r = 1 R 1 { β q ( P r ) ∈ C ^ N ( D N ( r ) , q ) } R^{-1}\sum_{r=1}^{R}\mathbf{1}\{\beta_q(\mathbb{P}_r)\in\widehat{C}_N(\mathcal{D}_N^{(r)},q)\} R − 1 ∑ r = 1 R 1 { β q ( P r ) ∈ C N ( D N ( r ) , q )} of the 95% Wald region (3) , where r r r indexes R = 100 R=100 R = 100 independent replications, each with its own simulated population P r \mathbb{P}_r P r , evaluation sample D N ( r ) \mathcal{D}_N^{(r)} D N ( r ) and estimate β ^ ( r ) \widehat{\beta}^{(r)} β ( r ) . To save space, the results on survival analysis are deferred to Section H.7 of the SM.
Average treatment effect
The average treatment effect (ATE) is the mean change in the outcome that would result if every unit in the target population were switched from control to treatment. Formally, let Z = ( Y , X , D ) ∼ P Z=(Y,X,D)\sim\mathbb{P} Z = ( Y , X , D ) ∼ P , where D ∈ { 0 , 1 } D\in\{0,1\} D ∈ { 0 , 1 } is the treatment, X X X contains pretreatment covariates and Y Y Y is the observed outcome, and define m d ( x ) : = E P ( Y ∣ D = d , X = x ) m_d(x):=\mathbb{E}_{\mathbb{P}}(Y\mid D=d,X=x) m d ( x ) := E P ( Y ∣ D = d , X = x ) . Under consistency, conditional exchangeability and overlap [82 ] , the target is identified by β A T E ( P ) = E P { m 1 ( X ) − m 0 ( X ) } \beta_{\mathrm{ATE}}(\mathbb{P})=\mathbb{E}_{\mathbb{P}}\{m_1(X)-m_0(X)\} β ATE ( P ) = E P { m 1 ( X ) − m 0 ( X )} . The evaluation data have the form D N = { ( Y i , X i , D i ) } i = 1 N ∼ i . i . d . P \mathcal{D}_N=\{(Y_i,X_i,D_i)\}_{i=1}^{N}\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\mathbb{P} D N = {( Y i , X i , D i ) } i = 1 N ∼ i.i.d. P .
We compare our estimator with CausalPFN [6 ] , Do-PFN [79 ] , inverse-probability weighting (Hirano et al., 2003), the S-, T- and X-learners (Künzel et al., 2019), augmented inverse-probability weighting (AIPW) [7 ] , and the difference in means (Neyman, 1990). The left panel of Figure 2 (A) shows that our estimator has the smallest RMSE at every sample size. In particular, it outperforms both AIPW, a doubly robust estimator, and CausalPFN, an amortised plug-in estimator based on outcome regression. AIPW has a larger RMSE than CausalPFN suggests that its random-forest nuisance estimates are less accurate. CausalPFN, in turn, has a larger RMSE than our estimator, which is consistent with Theorem 3, under which our estimator attains the semiparametric efficiency bound. The right panel shows that the coverage of our Wald interval remains close to the nominal 95% level, as Theorem 3 guarantees asymptotically, whereas several comparison intervals substantially undercover.
Figure 2. Performance of ATE estimation (Subfigure A) and coefficient estimation in the partially linear projection (Subfigure B). Left: RMSE with pointwise 95% bootstrap intervals. Right: empirical coverage with 95% Wilson intervals.
Partially linear projection
The partially linear projection measures the linear association between a scalar regressor W W W and an outcome Y Y Y after allowing the effect of the covariates X X X on both variables to be nonlinear. Let Z = ( Y , W , X ) ∼ P Z = (Y, W, X) \sim\mathbb{P} Z = ( Y , W , X ) ∼ P , W ~ : = W − E P ( W ∣ X ) \widetilde{W} := W - \mathbb{E}_{\mathbb{P}}(W \mid X) W := W − E P ( W ∣ X ) and Y ~ : = Y − E P ( Y ∣ X ) \widetilde{Y} := Y - \mathbb{E}_{\mathbb{P}}(Y \mid X) Y := Y − E P ( Y ∣ X ) . The target is β P L R ( P ) : = [ E P ( W ~ 2 ) ] − 1 E P ( W ~ Y ~ ) \beta_{\mathrm{PLR}}(\mathbb{P}) := [\mathbb{E}_{\mathbb{P}}(\widetilde{W}^{2})]^{-1}\mathbb{E}_{\mathbb{P}}(\widetilde{W}\widetilde{Y}) β PLR ( P ) := [ E P ( W 2 ) ] − 1 E P ( W Y ) , the one-dimensional instance of the projection in Section C of the SM. If E P ( Y ∣ W , X ) = W β + g ( X ) \mathbb{E}_{\mathbb{P}}(Y \mid W, X) = W\beta+ g(X) E P ( Y ∣ W , X ) = W β + g ( X ) , then β P L R ( P ) = β \beta_{\mathrm{PLR}}(\mathbb{P}) = \beta β PLR ( P ) = β . The evaluation sample is D N = { ( Y i , W i , X i ) } i = 1 N ∼ i . i . d . P \mathcal{D}_{N} = \{(Y_i, W_i, X_i)\}_{i=1}^{N} \overset{\mathrm{i.i.d.}}{\sim} \mathbb{P} D N = {( Y i , W i , X i ) } i = 1 N ∼ i.i.d. P . We compare our estimator with ordinary least squares, Robinson residualisation (Robinson, 1988) and cross-fitted double machine learning [21 ] . Figure 2 (B) shows that our estimator again has the smallest coefficient RMSE. The coverage of its Wald interval remains very close to the nominal 95% level.
Quantile treatment effect
The quantile treatment effect (QTE) at level q ∈ ( 0 , 1 ) q \in(0,1) q ∈ ( 0 , 1 ) is the difference between the q q q -quantiles of the outcome distributions that would result if every unit in the target population were switched to treatment and to control. The observation, the identification conditions and the evaluation sample D N D_N D N are as in § 4.1 ; only the target differs. Let F d , P ( y ) : = E X P ( Y ≤ y ∣ D = d , X = x ) F_{d,\mathbb{P}}(y) := \mathbb{E}_{X}\mathbb{P}(Y \le y \mid D=d, X=x) F d , P ( y ) := E X P ( Y ≤ y ∣ D = d , X = x ) , and let ξ d , P : = F d , P − 1 \xi_{d,\mathbb{P}} := F_{d,\mathbb{P}}^{-1} ξ d , P := F d , P − 1 . The target is β Q T E , q ( P ) : = ξ 1 , P ( q ) − ξ 0 , P ( q ) \beta_{\mathrm{QTE},q}(\mathbb{P}) := \xi_{1,\mathbb{P}}(q) - \xi_{0,\mathbb{P}}(q) β QTE , q ( P ) := ξ 1 , P ( q ) − ξ 0 , P ( q ) . Unlike the ATE, this target also involves a query: the quantile level q q q is supplied with D N D_N D N as q = ( Q T E , u ) q = (\mathrm{QTE},u) q = ( QTE , u ) .
We compare our estimator with several classical baselines, including distribution regression (Chernozhukov et al., 2013), inverse-probability weighting (IPW) for marginal quantile treatment effects (Firpo, [31 ] ), and a doubly robust (DR) estimator of marginal quantiles (Díaz, 2017), as well as with CausalPFN (Balazadeh et al., [6 ] ). We evaluate these methods in terms of both point and interval estimation at two quantile levels, q = 0.2 q = 0.2 q = 0.2 and q = 0.8 q = 0.8 q = 0.8 . Figure 3 shows that our estimator attains the smallest RMSE at most combinations of quantile level and context length, with CausalPFN its closest competitor. Moreover, its coverage rate is close to the nominal 95% level. In contrast, the distribution regression, CausalPFN and IPW intervals sometimes fall short of the nominal level.
Figure 3. Point and interval estimation of the quantile treatment effect on held-out datasets at quantile levels q = 0.2 q = 0.2 q = 0.2 (top row) and q = 0.8 q = 0.8 q = 0.8 (bottom row).
Computational analysis
We now study the computational cost of our procedure, together with that of the baselines in § 4.1 –§ 4.3 , and Section H.7 of the SM. Figure 4 shows that our method takes about 2 × 10 − 2 2 \times10^{-2} 2 × 1 0 − 2 seconds per dataset at every context length, and that it is faster than the other machine-learning-based methods.
Figure 4. Runtime comparison for the four tasks considered in numerical experiments. The x x x -axis is the context length and the y y y -axis is the runtime in seconds (log 10 \log_{10} log 10 -scaled).
Analysis of the Infant Health and Development Program
The Infant Health and Development Program (IHDP) was an eight-site randomised trial that evaluated whether comprehensive early intervention, such as home visits and parent support groups, improved the cognitive and health outcomes of premature infants (The Infant Health and Development Program, 1990). Hill (2011) turned the trial into a benchmark for observational studies by simulating the outcomes from known nonlinear response surfaces of the real covariates. Each realisation of the benchmark contains the same N = 747 N = 747 N = 747 children, of whom 139 are treated, together with 25 pretreatment covariates describing the child and the mother. Because the potential outcomes are simulated from functions of X X X alone, the treatment is unconfounded conditional on X X X by construction, and the conditional means m 0 m_0 m 0 and m 1 m_1 m 1 are known. Following Shalit et al. (2017), we compute the true effect from the noiseless potential outcomes, τ : = 1 N ∑ i = 1 N { m 1 ( X i ) − m 0 ( X i ) } \tau:= \frac{1}{N}\sum_{i=1}^{N}\{m_1(X_i)-m_0(X_i)\} τ := N 1 ∑ i = 1 N { m 1 ( X i ) − m 0 ( X i )} . We measure the accuracy of our estimator and of the baselines of § 4.1 by their absolute estimation error. Our estimator uses the checkpoint pretrained for § 4.1 without any modification, so this is a distribution-shift setting: neither the covariates nor the response surfaces are generated by the simulator prior.
Table 2 shows that our estimator attains the smallest mean absolute error, below that of CausalPFN, another amortised method. CausalPFN is the best baseline, which may reflect more accurate estimates of the conditional means m 0 m_0 m 0 and m 1 m_1 m 1 than those of the other baselines.
Table 2. Mean absolute error of ATE estimation together with standard error on the IHDP data.
Discussion
In this study, we show that a Transformer pretrained once on simulated data, with true parameters as the only label, can deliver efficient estimates and valid inference for a family of semiparametric estimands, in probability over evaluation populations and queries, even under distribution shift. The posterior under a locally flat prior of slowly growing complexity is efficient for every estimand, and the Transformer recovers the posterior moments as an amortised sieve estimator at a statistical cost quadratic in the prior complexity, up to logarithmic factors whose powers grow with the data dimension.
Theoretically, our guarantees need a pretraining prior that grows with the sample size, whereas foundation models are usually pretrained once, and whether they can recover the efficient posteriors of suitable priors that do not grow seems to be an open question. The one-step correction method based on the EIF restores inference validity Melnychuk et al., [62 ] , but for a family of estimands they need the influence function and nuisance estimates of every estimand on every dataset. Consequently, they forgo amortisation and need not cohere across estimands. It is of our future interest to explore methods that attain valid inference for a whole family at lower cost than the EIF correction approach, while under weaker prior requirements than this study.
It is also worth remarking that the semiparametric efficiency is an asymptotic property, yet it is found that tabular foundation models outperform tuned predictors on small datasets Hollmann et al., [46 ] . In our experiments, the pretrained Transformer also achieved smaller RMSEs than asymptotically efficient doubly robust and double machine learning estimators. We conjecture it is because their nuisance estimates are inaccurate in small samples, whereas the simulator priors in our experiments, unlike the locally flat priors of our theory, carry information about the nuisance functions. Characterising whether and when pretrained models outperform asymptotically optimal statistical estimators in finite samples is an interesting theoretical question, which may call for new optimality criteria to explain such a phenomenon.
Supplementary material for “Can pretrained Transformers deliver semiparametrically efficient inference?”
This supplementary material is organised as follows. Section A reviews related work. Section B specifies the sieve prior of § 3.1 and the Transformer architecture of § 2.2 , Section C presents examples of the queried estimands of § 2.1 , and Section D formalises the assumptions of § 3.1 . Sections E, F and G prove the results of § 3.1 , § 3.3 and C, respectively. Section H details the experiments of § 4 .
Related work
This section reviews the three lines of research on which our work draws, compares our results with the closest works and describes the techniques on which our proofs build.
Tabular foundation models and statistical applications
Development of tabular foundation models. Amortised inference maps a dataset to an estimate or posterior through one forward pass of a network trained on simulations [106 , 86 ] . Prior-data fitted networks (PFNs) apply this idea to the posterior predictive distribution [66 ] (Müller et al. 2025), and TabPFN and its successors made them tabular foundation models [45 , 46 , 39 ] . Later models scale to larger tables through more efficient architectures [107 ] (Qu et al. 2025; Qu et al. 2026), or change the pretraining data, from a mixture of synthetic priors to real tables [109 , 35 ] (Ma et al. 2025). Others exploit column names and text [53 , 34 ] or model the joint distribution of all variables [110 ] . On the TabArena benchmark [29 ] , several tabular foundation models outperform many machine learning methods, such as tree-based and boosting algorithms, on regression and classification problems for tabular data.
Statistical applications of PFNs. Many PFN models can be naturally used for statistical analysis, since they can return posteriors of model parameters in context [77 , 64 ] and conditional densities for simulation-based inference [96 ] . Pretrained Transformers have since been adapted to many statistical tasks, including Bayesian optimisation [67 ] , clustering [113 ] , variable selection [114 ] and contextual bandits [90 ] . Among various statistical applications of the PFNs, those on causal effect estimation are closest to our semiparametric framework and are reviewed in Section A.4.
Uncertainty quantification for PFNs. Since amortised posteriors can be overconfident [42 ] , validity for inference/uncertainty quantification is usually restored by conformal calibration [72 ] or Neyman construction (Dalmasso et al., 2024), which WALDO ([61 ] ) applies to the Wald statistic similar to (3) . For tabular foundation models, martingale posteriors ([32 ] ) quantify the uncertainty of PFN estimates by imputing future observations ([69 ] (Ng et al. 2026)), and a predictive central limit theorem yields Gaussian credible bands ([33 ] ). TabCon outputs intervals in one forward pass and calibrates them by reinforcement learning (Ye et al., 2026), and TabCUQ perturbs the outcomes in the context and applies a wild bootstrap ([89 ] ). By Theorem 3, our covariance output estimates the efficiency bound itself, so that the Wald-type confidence region, without calibration, is centred at an efficient estimator and attains asymptotically exact coverage in probability over populations, that is, conditional on each population for all but a vanishing proportion of them. This is stronger than the expected coverage over the prior used to assess amortised posteriors ([42 ] ), much as conditional coverage is stronger than marginal coverage in conformal prediction ([55 , 8 ] ).
Semiparametric estimation and inference
One step correction with the EIF. For an estimand β q ( P ) \beta_q(\mathbb{P}) β q ( P ) with EIF ψ P , q ⋆ \psi^\star_{\mathbb{P},q} ψ P , q ⋆ , the one step estimator β q ( P ^ ) + P N ψ ^ P ^ , q ⋆ \beta_q(\widehat{\mathbb{P}})+\mathbb{P}_N\widehat{\psi}^\star_{\widehat{\mathbb{P}},q} β q ( P ) + P N ψ P , q ⋆ removes the first order bias − P ψ ^ P ^ , q ⋆ -\mathbb{P}\widehat{\psi}^\star_{\widehat{\mathbb{P}},q} − P ψ P , q ⋆ of a plug-in estimate by the empirical mean of the estimated EIF ([11 , 92 , 43 ] ). Estimating equation and targeted maximum likelihood estimators attain the same efficiency by solving the estimated EIF equation ([80 , 7 , 94 ] ), and with sample splitting, flexible nuisance estimates suffice when the product of their errors is o ( N − 1 / 2 ) o(N^{-1/2}) o ( N − 1/2 ) ([21 ] ). Recent work automates the EIF by numerical or automatic differentiation ([17 , 49 , 57 ] ), Monte Carlo approximation ([1 ] ) or learned Riesz representers ([23 a] ), but still fits nuisance functions and a correction for every dataset and every estimand. For a family of estimands, such as quantile treatment effects at all levels, each member needs its own EIF and nuisance functions. Separate corrections also need not cohere, so that estimated quantile curves can cross ([20 ] ) and survival curves need not be monotone ([16 ] ), unless one distribution is updated for all estimands at once ([93 ] ).
Semiparametric BvM theorems. These theorems show that the posterior of a smooth functional is asymptotically normal and centred at an efficient estimator ([10 , 18 ] ), but a nonparametric prior can bias it at the order N − 1 / 2 N^{-1/2} N − 1/2 ([78 ] ). The remedies tailor the prior to the functional ([76 , 13 ] ), correct the posterior with the EIF ([105 ] ), or use priors on parametric models of suitably growing dimension ([37 , 78 ] ), and Rosa [81 ] locates the bias through nonasymptotic bounds. Sieve plug-in estimators, such as sieve maximum likelihood estimators, are also efficient for smooth functionals under undersmoothing, without any EIF correction ([70 , 88 , 19 ] ), and the posterior moments under the sieve prior agree with the plug-in of Definition E.1 to first order, since both are efficient at every smooth population by Proposition F.1. Our Theorem 1 belongs to the third class, whose priors need no EIF because they are flat along every sieve direction at the scale N − 1 / 2 N^{-1/2} N − 1/2 , and adapts it to amortisation.
Statistical theory of in-context learning
Theory for in-context learning views a pretrained Transformer either as an approximation to a Bayes rule or as an algorithm run on the context, and our results draw on both views, the first for the target of pretraining and the second for learning it
The Bayesian view. Since pretraining tasks are drawn from a prior, the pretraining loss is minimised by the Bayes rule, and a well-trained Transformer performs approximate Bayesian inference in context [102 , 66 ] . Theory in this view relates attention to Bayesian model averaging [111 ] , bounds the gap to the Bayes rule [98 ] and constructs Transformers for Gaussian process posterior predictive distributions [50 ] , while experiments indicate that task diversity decides which prior the network follows [75 ] . For nonparametric regression, Ma et al. (2026a) takes the nonparametric Bayesian view and shows that pretraining on a prior mixing over smoothness levels attains adaptive optimal rates over test distributions within a χ 2 \chi^2 χ 2 ball around the prior, a distribution shift similar to our (A5). Closest to our setting, Li and Simchi-Levi [56 ] imitate Bayesian updating under Gaussian series priors by attention to estimate the average treatment effect in adaptive experiments.
The algorithmic view. This view emerged from the finding that Transformers learn linear functions in context [36 ] and from attention layers constructed to perform gradient descent and ridge regression [3 , 97 ] . Bai et al. [5 ] develop it into a systematic statistical theory, showing that Transformers can implement least squares, ridge regression, the Lasso and generalised linear models in context with near-optimal prediction risk. Their constructions rely on in-context gradient descent and can be learned from polynomially many pretraining sequences. They further show that a single Transformer can perform in-context algorithm selection, adapting its procedure to each input, much as a statistician chooses a method for the data at hand. Subsequent work bounds the number of pretraining tasks needed for linear regression (Wu et al., 2024) and shows that pretrained Transformers attain minimax rates in nonparametric regression [52 , 24 ] .
Pretrained networks for semiparametric inference
Pretrained causal estimators. CausalPFN [6 ] learns posteriors of conditional potential outcome means, and hence of the ATE and conditional average treatment effects (CATEs), from simulated causal data. Its posterior mean is consistent for almost every data generating process under the prior exactly when the prior identifies these means, and its credible intervals are calibrated. Do-PFN [79 ] , CausalFM (Ma et al., 2026b) and CInA [108 ] pretrain related networks for interventional distributions, for front door and instrumental variable designs and for covariate balancing weights, respectively. Bynum et al. [15 ] label simulated datasets by their true effects, as we do, and decompose the mean squared error of the trained network over the prior. Pretrained models also serve inside influence function estimators, as nuisance learners for doubly robust estimators (Weckstein et al., [99 ] ) and for the natural indirect effect (NIE) in MediPFN (Bo and Hu, [12 ] ), or as predictors in prediction-powered inference (Angelopoulos et al., [4 ] ; Ji et al., 2025). The guarantees for networks trained without the EIF concern consistency or accuracy, and the intervals of causal PFNs can undercover (Mourao et al., [65 ] ), whereas influence function estimators keep their guarantees but must be refitted for every dataset and estimand.
EIF corrections of pretrained networks. The three works closest to ours use the EIF to make pretrained networks efficient. Melnychuk et al. [62 ] show that PFN estimates of the ATE can retain a confounding bias induced by the prior. They remove it after pretraining by a one step correction of the posterior on each evaluation dataset, which combines the EIF with nuisance posteriors recovered from the network. Melnychuk et al. [63 ] instead correct, during pretraining, either the labels through a Bayesian bootstrap of the EIF or the prior along a least favourable direction, and analyse an idealised network that returns the exact posterior. Zhang [112 ] labels each simulated dataset by the EIF corrected estimate β q ( P ) + P n ψ P , q ∗ \beta_q(\mathbb{P}) + \mathbb{P}_n\psi^\ast_{\mathbb{P},q} β q ( P ) + P n ψ P , q ∗ of the ATE and learns its variance through a separate output. Its error bound for the trained network holds on average over the prior and transfers, for instance, to a population P ⋆ \mathbb{P}_\star P ⋆ with positive prior mass at a cost proportional to 1 / π P ( { P ⋆ } ) 1/\pi_{\mathbb{P}}(\{\mathbb{P}_\star\}) 1/ π P ({ P ⋆ }) . Each of these corrections is constructed for one estimand, so a family of estimands needs the EIF and nuisance values of every member at every simulated observation, with the difficulties described in Section A.2.
Our position. Different from the aforementioned studies, our approach aims to attain efficiency for a whole family of estimands with the true parameter as the only label, without any EIF or nuisance function. The reason is that the posterior targeted by pretraining already corrects every estimand along the same sieve scores. Under a locally flat prior of slowly growing complexity, this implicit correction makes the posterior moments efficient in probability over populations and queries, reflected in Theorem 1. The pretrained Transformer inherits their efficiency once the number of pretraining samples is at least quadratic in the prior complexity, up to logarithmic factors shown in Theorem 3.
The price of this versatility is smoothness of the whole joint density, whereas, for a single estimand, a smooth EIF can offset a rough density, as discussed in Remark 1. At a fixed population, the posterior moments remain efficient, but learning them becomes costly. Exponentially many pretraining samples suffice by Theorem 4, and Proposition F.2 shows that they are also necessary for a guarantee that covers every approximate empirical risk minimiser.
Techniques
Our analysis employs several different existing theoretical techniques from the statistics and learning theory literature to establish our efficiency, approximation and generalisation guarantees. The analysis of the posterior target uses the exponential series of Rivoirard and Rousseau [78 ] with the Gaussian coefficients of Castillo and Rousseau [18 ] and a logarithmic Sobolev inequality for the coefficient posterior (Ledoux, [54 ] ). We show that Transformer network averages the data by its attention layer that is similar in Zhang [112 ] , unrolls proximal gradient and projected Richardson steps as motivated by Bai et al. [5 ] and Kang et al. [50 ] , and approximates smooth maps by GELU networks and Chebyshev series (Yakovlev and Puchkin, [103 ] ; Trefethen, [91 ] ). The generalisation bound rests on an exponential inequality for fast rates (van Erven et al., [95 ] ; Grünwald and Mehta, [40 ] ), and the transfer to evaluation distributions on the χ 2 \chi^2 χ 2 argument of Ma et al. (2026a).
Table 3. Pretrained Transformer for causal and semiparametric inference. The columns indicate whether a method needs no efficient influence function, returns its output in one forward pass, supports inference, establishes efficiency, bounds its pretraining sample complexity and holds at a fixed population, with ✓, × and ◦ indicating yes, no and partly.
Prior and Transformer architecture
This section specifies the Transformer architecture and the sieve prior.
Transformer architecture
One parameter vector ω ∈ Ω \omega\in\Omega ω ∈ Ω , with ∥ ω ∥ ∞ ≤ W \lVert\omega\rVert_{\infty} \le W ∥ ω ∥ ∞ ≤ W , serves all queries q ∈ Q q \in\mathcal{Q} q ∈ Q and sample sizes N ∈ N N \in\mathcal{N} N ∈ N . For q = ( k , u ) ∈ Q q=(k,u) \in\mathcal{Q} q = ( k , u ) ∈ Q and j ∈ K j \in\mathcal{K} j ∈ K , let u j ( q ) : = u u_j(q):=u u j ( q ) := u if j = k j=k j = k and u j ( q ) : = u ˉ j u_j(q):=\bar{u}_j u j ( q ) := u ˉ j if j ≠ k j\ne k j = k , where u ˉ j ∈ U j \bar{u}_j \in\mathcal{U}_j u ˉ j ∈ U j are given points. We encode the query family, its argument and the scaled context size by
ξ ( q , N ) : = ( 1 , ( 1 { j = k } ) j ∈ K , ( u j ( q ) T ) j ∈ K , N n max ) T ∈ R d ξ , \xi(q,N):=\left(1,\left(1\{j=k\}\right)_{j\in\mathcal{K}},\left(u_j(q)^{\mathsf{T}}\right)_{j\in\mathcal{K}},\frac{N}{n_{\max}}\right)^{\mathsf{T}}\in\mathbb{R}^{d_{\xi}}, ξ ( q , N ) := ( 1 , ( 1 { j = k } ) j ∈ K , ( u j ( q ) T ) j ∈ K , n m a x N ) T ∈ R d ξ ,
where d ξ : = 2 + ∣ K ∣ + ∑ j ∈ K ℓ j d_{\xi}:=2+|\mathcal{K}|+\sum_{j\in\mathcal{K}}\ell_j d ξ := 2 + ∣ K ∣ + ∑ j ∈ K ℓ j and n max = max N n_{\max}=\max\mathcal{N} n m a x = max N .
Definition B.1 (Input embedding). For N ∈ N N\in\mathcal{N} N ∈ N , each map Emb ω ∈ F Emb ( d e , W ) \operatorname{Emb}_{\omega}\in\mathcal{F}_{\operatorname{Emb}}(d_e,W) Emb ω ∈ F Emb ( d e , W ) sends
( D N , q ) ∈ Z N × Q (\mathcal{D}_N,q) \in\mathcal{Z}^N \times\mathcal{Q} ( D N , q ) ∈ Z N × Q , with D N = { Z i } i = 1 N \mathcal{D}_N=\{Z_i\}_{i=1}^N D N = { Z i } i = 1 N , to
Emb ω ( D N , q ) : = ( ( 1 , Z 1 T ) E o 1 0 ⋮ ⋮ ⋮ ( 1 , Z N T ) E o 1 0 ξ ( q , N ) T E q 0 1 ) ∈ R ( N + 1 ) × d e , \operatorname{Emb}_{\omega}(\mathcal{D}_N,q):=
\begin{pmatrix}
(1,Z_1^{\mathsf{T}})E_o & 1 & 0\\
\vdots& \vdots& \vdots\\
(1,Z_N^{\mathsf{T}})E_o & 1 & 0\\
\xi(q,N)^{\mathsf{T}}E_q & 0 & 1
\end{pmatrix}
\in\mathbb{R}^{(N+1)\times d_e}, Emb ω ( D N , q ) := ( 1 , Z 1 T ) E o ⋮ ( 1 , Z N T ) E o ξ ( q , N ) T E q 1 ⋮ 1 0 0 ⋮ 0 1 ∈ R ( N + 1 ) × d e ,
where E o ∈ [ − W , W ] ( d z + 1 ) × ( d e − 2 ) E_o\in[-W,W]^{(d_z+1)\times(d_e-2)} E o ∈ [ − W , W ] ( d z + 1 ) × ( d e − 2 ) and E q ∈ [ − W , W ] d ξ × ( d e − 2 ) E_q\in[-W,W]^{d_{\xi}\times(d_e-2)} E q ∈ [ − W , W ] d ξ × ( d e − 2 ) are components of ω \omega ω learned during pretraining.
For S ∈ [ − ∞ , ∞ ) ( N + 1 ) × ( N + 1 ) S\in[-\infty,\infty)^{(N+1)\times(N+1)} S ∈ [ − ∞ , ∞ ) ( N + 1 ) × ( N + 1 ) , let σ ( S ) i j : = e S i j / ∑ r = 1 N + 1 e S i r \boldsymbol{\sigma}(S)_{ij}:=e^{S_{ij}}/\sum_{r=1}^{N+1}e^{S_{ir}} σ ( S ) ij := e S ij / ∑ r = 1 N + 1 e S i r , for i , j ∈ [ N + 1 ] i,j\in[N+1] i , j ∈ [ N + 1 ] , denote the row-wise softmax, with e − ∞ = 0 e^{-\infty}=0 e − ∞ = 0 .
Definition B.2 (Masked attention). For J ≥ 1 J\geq1 J ≥ 1 heads and masks M = ( M 1 , … , M J ) \mathbf{M}=(M_1,\ldots,M_J) M = ( M 1 , … , M J ) , each map Attn ω ∈ F Attn ( J , d e , W ; M ) \operatorname{Attn}_{\omega}\in\mathcal{F}_{\operatorname{Attn}}(J,d_e,W;\mathbf{M}) Attn ω ∈ F Attn ( J , d e , W ; M ) acts on H ∈ R ( N + 1 ) × d e H\in\mathbb{R}^{(N+1)\times d_e} H ∈ R ( N + 1 ) × d e by
Attn ω ( H ) : = H + ∑ j = 1 J σ { H Q j ( H K j ) T d e + M j } H V j , \operatorname{Attn}_{\omega}(H):=H+\sum_{j=1}^{J}\boldsymbol{\sigma}\left\{\frac{HQ_j(HK_j)^{\mathsf{T}}}{\sqrt{d_e}}+M_j\right\}HV_j, Attn ω ( H ) := H + j = 1 ∑ J σ { d e H Q j ( H K j ) T + M j } H V j , where Q j , K j , V j ∈ [ − W , W ] d e × d e Q_j,K_j,V_j\in[-W,W]^{d_e\times d_e} Q j , K j , V j ∈ [ − W , W ] d e × d e , for j ∈ [ J ] j\in[J] j ∈ [ J ] , are components of ω \omega ω .
The masks M j = M j ( N ) ∈ { 0 , − ∞ } ( N + 1 ) × ( N + 1 ) M_j=M_j^{(N)}\in\{0,-\infty\}^{(N+1)\times(N+1)} M j = M j ( N ) ∈ { 0 , − ∞ } ( N + 1 ) × ( N + 1 ) , given by one rule for all N ∈ N N\in\mathbb{N} N ∈ N , have an unmasked entry in every row and are invariant under relabelling of observations, that is,
max r ∈ [ N + 1 ] M j ( i , r ) = 0 and M j ( ρ ( i ) , ρ ( r ) ) = M j ( i , r ) , \max_{r\in[N+1]}M_j(i,r)=0
\quad\text{and}\quad
M_j(\rho(i),\rho(r))=M_j(i,r), r ∈ [ N + 1 ] max M j ( i , r ) = 0 and M j ( ρ ( i ) , ρ ( r )) = M j ( i , r ) , for all j ∈ [ J ] j\in[J] j ∈ [ J ] , i , r ∈ [ N + 1 ] i,r\in[N+1] i , r ∈ [ N + 1 ] and permutations ρ \rho ρ of [ N + 1 ] [N+1] [ N + 1 ] with ρ ( N + 1 ) = N + 1 \rho(N+1)=N+1 ρ ( N + 1 ) = N + 1 .
Definition B.3 (Feedforward layers and blocks). For width d f ≥ 1 d_f\geq1 d f ≥ 1 , each map FFN ω ∈ F FFN ( d e , d f , W ) \operatorname{FFN}_{\omega}\in\mathcal{F}_{\operatorname{FFN}}(d_e,d_f,W) FFN ω ∈ F FFN ( d e , d f , W ) acts on H ∈ R ( N + 1 ) × d e H\in\mathbb{R}^{(N+1)\times d_e} H ∈ R ( N + 1 ) × d e by
FFN ω ( H ) : = H + GELU ( H U 1 + 1 N + 1 c 1 T ) U 2 + 1 N + 1 c 2 T , \operatorname{FFN}_{\omega}(H):=H+\operatorname{GELU}(HU_1+\mathbf{1}_{N+1}c_1^{\mathsf{T}})U_2+\mathbf{1}_{N+1}c_2^{\mathsf{T}}, FFN ω ( H ) := H + GELU ( H U 1 + 1 N + 1 c 1 T ) U 2 + 1 N + 1 c 2 T , where U 1 ∈ [ − W , W ] d e × d f U_1\in[-W,W]^{d_e\times d_f} U 1 ∈ [ − W , W ] d e × d f , U 2 ∈ [ − W , W ] d f × d e U_2\in[-W,W]^{d_f\times d_e} U 2 ∈ [ − W , W ] d f × d e , c 1 ∈ [ − W , W ] d f c_1\in[-W,W]^{d_f} c 1 ∈ [ − W , W ] d f and c 2 ∈ [ − W , W ] d e c_2\in[-W,W]^{d_e} c 2 ∈ [ − W , W ] d e are components of ω \omega ω , 1 N + 1 : = ( 1 , … , 1 ) T ∈ R N + 1 \mathbf{1}_{N+1}:=(1,\ldots,1)^{\mathsf{T}}\in\mathbb{R}^{N+1} 1 N + 1 := ( 1 , … , 1 ) T ∈ R N + 1 , and the activation GELU ( x ) : = x Φ ( x ) \operatorname{GELU}(x):=x\Phi(x) GELU ( x ) := x Φ ( x ) acts entrywise, with Φ \Phi Φ the standard normal distribution function. The blocks form the class
F Block ( J , d e , d f , W ; M ) : = { F ∘ A : A ∈ F Attn ( J , d e , W ; M ) , F ∈ F FFN ( d e , d f , W ) } . \mathcal{F}_{\operatorname{Block}}(J,d_e,d_f,W;\mathbf{M}):=\{F\circ A:A\in\mathcal{F}_{\operatorname{Attn}}(J,d_e,W;\mathbf{M}),\ F\in\mathcal{F}_{\operatorname{FFN}}(d_e,d_f,W)\}. F Block ( J , d e , d f , W ; M ) := { F ∘ A : A ∈ F Attn ( J , d e , W ; M ) , F ∈ F FFN ( d e , d f , W )} .
Let d 0 : = max k ∈ K d k d_0:=\max_{k\in\mathcal{K}}d_k d 0 := max k ∈ K d k , where β ( k , u ) ( P ) ∈ R d k \beta_{(k,u)}(\mathbb{P})\in\mathbb{R}^{d_k} β ( k , u ) ( P ) ∈ R d k , let P k ∈ { 0 , 1 } d k × d 0 P_k\in\{0,1\}^{d_k\times d_0} P k ∈ { 0 , 1 } d k × d 0 with P k P k T = I d k P_kP_k^{\mathsf{T}}=I_{d_k} P k P k T = I d k , for k ∈ K k\in\mathcal{K} k ∈ K , be coordinate projections, and let P q : = P k P_q:=P_k P q := P k for q = ( k , u ) ∈ Q q=(k,u)\in\mathcal{Q} q = ( k , u ) ∈ Q . For constants 0 < v − < v + < ∞ 0<v_-<v_+<\infty 0 < v − < v + < ∞ , we define the spectral clipping of A = A T = U diag ( λ 1 , … , λ r ) U T ∈ R r × r A=A^{\mathsf{T}}=U\operatorname{diag}(\lambda_1,\ldots,\lambda_r)U^{\mathsf{T}}\in\mathbb{R}^{r\times r} A = A T = U diag ( λ 1 , … , λ r ) U T ∈ R r × r with U T U = I r U^{\mathsf{T}}U=I_r U T U = I r by
clip [ v − , v + ] ( A ) : = U diag { ( λ j ∨ v − ) ∧ v + : j ∈ [ r ] } U T . \operatorname{clip}_{[v_-,v_+]}(A):=U\operatorname{diag}\{(\lambda_j\vee v_-)\wedge v_+:j\in[r]\}U^{\mathsf{T}}. clip [ v − , v + ] ( A ) := U diag {( λ j ∨ v − ) ∧ v + : j ∈ [ r ]} U T .
For the point output, let C β ∈ ( 0 , ∞ ) C_{\beta}\in(0,\infty) C β ∈ ( 0 , ∞ ) be a constant with ∥ β q ( P ) ∥ ≤ C β \lVert\beta_q(\mathbb{P})\rVert\leq C_{\beta} ∥ β q ( P )∥ ≤ C β for all P ∈ P \mathbb{P}\in\mathcal{P} P ∈ P and q ∈ Q q\in\mathcal{Q} q ∈ Q , which exists by (E.1) and Assumption 1(i), and let clip C β ( β ) : = C β β / max { C β , ∥ β ∥ } \operatorname{clip}_{C_\beta}(\beta) := C_\beta\beta/\max\{C_\beta,\|\beta\|\} clip C β ( β ) := C β β / max { C β , ∥ β ∥ } denote the Euclidean projection of β ∈ R d k \beta\in\mathbb{R}^{d_k} β ∈ R d k onto { β ′ ∈ R d k : ∥ β ′ ∥ ≤ C β } \{\beta' \in\mathbb{R}^{d_k} : \|\beta'\| \le C_\beta\} { β ′ ∈ R d k : ∥ β ′ ∥ ≤ C β } .
Definition B.4 (Parameter and covariance readout). Each map Read ω ∈ F Read ( d e , W ) \operatorname{Read}_\omega\in\mathcal{F}_{\operatorname{Read}}(d_e,W) Read ω ∈ F Read ( d e , W ) sends ( H , q ) ∈ R ( N + 1 ) × d e × Q (H,q) \in\mathbb{R}^{(N+1)\times d_e} \times\mathcal{Q} ( H , q ) ∈ R ( N + 1 ) × d e × Q to
Read ω ( H , q ) : = ( clip C β { P q a β ( z ) } , clip [ v − , v + ] { C ω + C ω T 2 } ) . \operatorname{Read}_\omega(H,q) := \left(\operatorname{clip}_{C_\beta}\{P_q a_\beta(z)\},\operatorname{clip}_{[v_-,v_+]}\left\{\frac{C_\omega+C_\omega^{\mathsf{T}}}{2}\right\}\right). Read ω ( H , q ) := ( clip C β { P q a β ( z )} , clip [ v − , v + ] { 2 C ω + C ω T } ) . where z : = H N + 1 , : T ∈ R d e z := H^{\mathsf{T}}_{N+1,:} \in\mathbb{R}^{d_e} z := H N + 1 , : T ∈ R d e , C ω : = P q a C ( z ) P q T C_\omega:= P_q a_C(z)P_q^{\mathsf{T}} C ω := P q a C ( z ) P q T , and a β : R d e → R d 0 a_\beta:\mathbb{R}^{d_e}\to\mathbb{R}^{d_0} a β : R d e → R d 0 and a C : R d e → R d 0 × d 0 a_C:\mathbb{R}^{d_e}\to\mathbb{R}^{d_0\times d_0} a C : R d e → R d 0 × d 0 are affine with coefficients in [ − W , W ] [-W,W] [ − W , W ] .
The point projection and the spectral clipping are nonexpansive, that is, ∥ clip C β ( β ) − clip C β ( β ′ ) ∥ ≤ ∥ β − β ′ ∥ \|\operatorname{clip}_{C_\beta}(\beta)-\operatorname{clip}_{C_\beta}(\beta')\| \le\|\beta-\beta'\| ∥ clip C β ( β ) − clip C β ( β ′ ) ∥ ≤ ∥ β − β ′ ∥ and ∥ clip [ v − , v + ] ( A ) − clip [ v − , v + ] ( A ′ ) ∥ F ≤ ∥ A − A ′ ∥ F \|\operatorname{clip}_{[v_-,v_+]}(A)-\operatorname{clip}_{[v_-,v_+]}(A')\|_F \le\|A-A'\|_F ∥ clip [ v − , v + ] ( A ) − clip [ v − , v + ] ( A ′ ) ∥ F ≤ ∥ A − A ′ ∥ F for all β , β ′ ∈ R d k \beta,\beta' \in\mathbb{R}^{d_k} β , β ′ ∈ R d k and symmetric A , A ′ ∈ R r × r A,A' \in\mathbb{R}^{r\times r} A , A ′ ∈ R r × r .
Definition B.5 (Transformer class). For L ≥ 1 L \ge1 L ≥ 1 blocks, let F T F ( L , J , d e , d f , W ) : = { f ω = ( f ω μ , f ω V ) : ω ∈ Ω } \mathcal{F}_{\mathrm{TF}}(L,J,d_e,d_f,W) := \{f_\omega=(f_\omega^\mu,f_\omega^V):\omega\in\Omega\} F TF ( L , J , d e , d f , W ) := { f ω = ( f ω μ , f ω V ) : ω ∈ Ω } , where, for all N ∈ N N\in\mathbb{N} N ∈ N and ( D N , q ) ∈ Z N × Q (D_N,q)\in\mathcal{Z}^N\times\mathcal{Q} ( D N , q ) ∈ Z N × Q ,
f ω ( D N , q ) : = Read ω ( Block L , ω ∘ ⋯ ∘ Block 1 , ω { Emb ω ( D N , q ) } , q ) . f_\omega(D_N,q):=\operatorname{Read}_\omega\left(\operatorname{Block}_{L,\omega}\circ\cdots\circ\operatorname{Block}_{1,\omega}\{\operatorname{Emb}_\omega(D_N,q)\},q\right). f ω ( D N , q ) := Read ω ( Block L , ω ∘ ⋯ ∘ Block 1 , ω { Emb ω ( D N , q )} , q ) . with Emb ω ∈ F E m b ( d e , W ) \operatorname{Emb}_\omega\in\mathcal{F}_{\mathrm{Emb}}(d_e,W) Emb ω ∈ F Emb ( d e , W ) , Block l , ω ∈ F B l o c k ( J , d e , d f , W ; M l ) \operatorname{Block}_{l,\omega}\in\mathcal{F}_{\mathrm{Block}}(J,d_e,d_f,W;\mathcal{M}_l) Block l , ω ∈ F Block ( J , d e , d f , W ; M l ) with masks M l \mathcal{M}_l M l for l ∈ [ L ] l\in[L] l ∈ [ L ] , and Read ω ∈ F R e a d ( d e , W ) \operatorname{Read}_\omega\in\mathcal{F}_{\mathrm{Read}}(d_e,W) Read ω ∈ F Read ( d e , W ) .
Pretraining prior
Let Z = ( V , D ) Z=(V,D) Z = ( V , D ) take values in Z = V × Z D ⊂ R d \mathcal{Z}=\mathcal{V}\times\mathcal{Z}_D\subset\mathbb{R}^d Z = V × Z D ⊂ R d , where V = ( V 1 , ⋯ , V d ) V=(V_1,\cdots,V_d) V = ( V 1 , ⋯ , V d ) collects the d ≥ 1 d\ge1 d ≥ 1 continuous coordinates, with V = ∏ ℓ = 1 d V ℓ \mathcal{V}=\prod_{\ell=1}^d\mathcal{V}_\ell V = ∏ ℓ = 1 d V ℓ and V ℓ ∈ { R , [ 0 , 1 ] } \mathcal{V}_\ell\in\{\mathbb{R},[0,1]\} V ℓ ∈ { R , [ 0 , 1 ]} , and D D D takes values in a finite set Z D ⊂ [ 0 , 1 ] d D \mathcal{Z}_D\subset[0,1]^{d_D} Z D ⊂ [ 0 , 1 ] d D . Under the reference distribution P 0 \mathbb{P}_0 P 0 , the variables V 1 , ⋯ , V d , D V_1,\cdots,V_d,D V 1 , ⋯ , V d , D are independent, V ℓ ∼ N ( 0 , 1 ) V_\ell\sim\mathcal{N}(0,1) V ℓ ∼ N ( 0 , 1 ) if V ℓ = R \mathcal{V}_\ell=\mathbb{R} V ℓ = R , V ℓ ∼ Unif [ 0 , 1 ] V_\ell\sim\operatorname{Unif}[0,1] V ℓ ∼ Unif [ 0 , 1 ] if V ℓ = [ 0 , 1 ] \mathcal{V}_\ell=[0,1] V ℓ = [ 0 , 1 ] , and D ∼ Unif ( Z D ) D\sim\operatorname{Unif}(\mathcal{Z}_D) D ∼ Unif ( Z D ) . Let Φ ℓ ( v ) : = P 0 ( V ℓ ≤ v ) \Phi_\ell(v):=\mathbb{P}_0(V_\ell\le v) Φ ℓ ( v ) := P 0 ( V ℓ ≤ v ) for v ∈ V ℓ v\in\mathcal{V}_\ell v ∈ V ℓ , let ( χ 0 , ⋯ , χ ∣ Z D ∣ − 1 ) (\chi_0,\cdots,\chi_{|\mathcal{Z}_D|-1}) ( χ 0 , ⋯ , χ ∣ Z D ∣ − 1 ) be an orthonormal basis of L 2 { Unif ( Z D ) } L_2\{\operatorname{Unif}(\mathcal{Z}_D)\} L 2 { Unif ( Z D )} with χ 0 ≡ 1 \chi_0\equiv1 χ 0 ≡ 1 , and define, for u ∈ [ 0 , 1 ] u\in[0,1] u ∈ [ 0 , 1 ] and h ∈ N h\in\mathbb{N} h ∈ N ,
φ 0 ( u ) : = 1 , φ 2 h − 1 ( u ) : = 2 cos ( 2 π h u ) and φ 2 h ( u ) : = 2 sin ( 2 π h u ) . \varphi_0(u):=1,\qquad\varphi_{2h-1}(u):=\sqrt{2}\cos(2\pi h u)\qquad\text{and}\qquad\varphi_{2h}(u):=\sqrt{2}\sin(2\pi h u). φ 0 ( u ) := 1 , φ 2 h − 1 ( u ) := 2 cos ( 2 π h u ) and φ 2 h ( u ) := 2 sin ( 2 π h u ) .
Definition B.6 (Orthonormal trigonometric basis). Let ( b k ) k ≥ 1 (b_k)_{k\ge1} ( b k ) k ≥ 1 enumerate, in nondecreasing order of ∥ r ∥ ∞ \|r\|_\infty ∥ r ∥ ∞ , with ties broken lexicographically in ( r , η ) (r,\eta) ( r , η ) , the functions
( v , D ) ↦ χ η ( D ) ∏ ℓ = 1 d φ r ℓ { Φ ℓ ( v ℓ ) } (v,D)\mapsto\chi_\eta(D)\prod_{\ell=1}^{d}\varphi_{r_\ell}\{\Phi_\ell(v_\ell)\} ( v , D ) ↦ χ η ( D ) ℓ = 1 ∏ d φ r ℓ { Φ ℓ ( v ℓ )} over r = ( r 1 , ⋯ , r d ) ∈ N 0 d r=(r_1,\cdots,r_d)\in\mathbb{N}_0^d r = ( r 1 , ⋯ , r d ) ∈ N 0 d and η ∈ { 0 , ⋯ , ∣ Z D ∣ − 1 } \eta\in\{0,\cdots,|\mathcal{Z}_D|-1\} η ∈ { 0 , ⋯ , ∣ Z D ∣ − 1 } with ( r , η ) ≠ ( 0 , 0 ) (r,\eta)\ne(0,0) ( r , η ) = ( 0 , 0 ) . Then ( 1 , b 1 , b 2 , ⋯ ) (1,b_1,b_2,\cdots) ( 1 , b 1 , b 2 , ⋯ ) is an orthonormal basis of L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) with sup k ≥ 1 , z ∈ Z ∣ b k ( z ) ∣ ≤ C ∞ \sup_{k\ge1,z\in\mathcal{Z}}|b_k(z)|\le C_\infty sup k ≥ 1 , z ∈ Z ∣ b k ( z ) ∣ ≤ C ∞ , where C ∞ : = 2 d / 2 max 0 ≤ η < ∣ Z D ∣ ∥ χ η ∥ ∞ C_\infty:=2^{d/2}\max_{0\le\eta<|\mathcal{Z}_D|}\|\chi_\eta\|_\infty C ∞ := 2 d /2 max 0 ≤ η < ∣ Z D ∣ ∥ χ η ∥ ∞ . For K ≥ 1 K\ge1 K ≥ 1 , let b ( K ) : = ( b 1 , ⋯ , b K ) T b^{(K)}:=(b_1,\cdots,b_K)^{\mathsf{T}} b ( K ) := ( b 1 , ⋯ , b K ) T and A K ( θ ) : = log E P 0 e θ T b ( K ) ( Z ) A_K(\theta):=\log\mathbb{E}_{\mathbb{P}_0}e^{\theta^{\mathsf{T}}b^{(K)}(Z)} A K ( θ ) := log E P 0 e θ T b ( K ) ( Z ) for θ ∈ R K \theta\in\mathbb{R}^K θ ∈ R K . For a > 1 a>1 a > 1 and σ , B > 0 \sigma,B>0 σ , B > 0 , let λ k : = σ 2 k − 2 a \lambda_k:=\sigma^2k^{-2a} λ k := σ 2 k − 2 a for k ∈ N k\in\mathbb{N} k ∈ N , Λ K : = diag ( λ 1 , ⋯ , λ K ) \Lambda_K:=\operatorname{diag}(\lambda_1,\cdots,\lambda_K) Λ K := diag ( λ 1 , ⋯ , λ K ) and Θ K : = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } \Theta_K:=\{\theta\in\mathbb{R}^K:\|\theta\|_1\le B\} Θ K := { θ ∈ R K : ∥ θ ∥ 1 ≤ B } .
Definition B.7 (Exponential sieve prior). For K ≥ 1 K \ge1 K ≥ 1 , each θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K defines the exponential-tilt P θ \mathbb{P}_{\theta} P θ by
d P θ d P 0 ( z ) : = exp { θ T b ( K ) ( z ) − A K ( θ ) } , z ∈ Z , (15) \frac{d\mathbb{P}_{\theta}}{d\mathbb{P}_{0}}(z) := \exp\{\theta^{\mathsf{T}}b_{(K)}(z)-A_{K}(\theta)\}, \qquad z \in\mathcal{Z}, \tag*{(15)} d P 0 d P θ ( z ) := exp { θ T b ( K ) ( z ) − A K ( θ )} , z ∈ Z , (15) and the coefficient θ \theta θ has the prior
θ ∼ π K : = N ( 0 , Λ K ) ∣ { θ ∈ Θ K } . (16) \theta\sim\pi_{K} := \mathcal{N}(0,\Lambda_{K}) \mid\{\theta\in\Theta_{K}\}. \tag*{(16)} θ ∼ π K := N ( 0 , Λ K ) ∣ { θ ∈ Θ K } . (16) Let c 0 ∈ ( 0 , e − 2 ( B + 2 ) C ∞ ] c_{0} \in(0,e^{-2(B+2)C_{\infty}}] c 0 ∈ ( 0 , e − 2 ( B + 2 ) C ∞ ] and C 0 ∈ [ e ( B + 2 ) C ∞ , ∞ ) C_{0} \in[e^{(B+2)C_{\infty}},\infty) C 0 ∈ [ e ( B + 2 ) C ∞ , ∞ ) be constants, and let P \mathcal{P} P denote the set of distributions P ≪ P 0 \mathbb{P} \ll\mathbb{P}_{0} P ≪ P 0 on Z \mathcal{Z} Z whose density satisfies c 0 < ess inf ( d P / d P 0 ) ≤ ess sup ( d P / d P 0 ) < C 0 c_{0} < \operatorname{ess\,inf}(d\mathbb{P}/d\mathbb{P}_{0}) \le\operatorname{ess\,sup}(d\mathbb{P}/d\mathbb{P}_{0}) < C_{0} c 0 < ess inf ( d P / d P 0 ) ≤ ess sup ( d P / d P 0 ) < C 0 and, for quantile queries, has a version continuous in the outcome value y y y .
Since 0 ≤ A K ( θ ) ≤ C ∞ ∥ θ ∥ 1 0 \le A_{K}(\theta) \le C_{\infty}\|\theta\|_{1} 0 ≤ A K ( θ ) ≤ C ∞ ∥ θ ∥ 1 , the model P \mathcal{P} P contains P θ \mathbb{P}_{\theta} P θ for all K ≥ 1 K \ge1 K ≥ 1 and θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 < B + 2 \|\theta\|_{1} < B+2 ∥ θ ∥ 1 < B + 2 , and every P \mathbb{P} P with ∥ d P / d P 0 − d P θ j / d P 0 ∥ ∞ → 0 \|d\mathbb{P}/d\mathbb{P}_{0}-d\mathbb{P}_{\theta_{j}}/d\mathbb{P}_{0}\|_{\infty} \to0 ∥ d P / d P 0 − d P θ j / d P 0 ∥ ∞ → 0 for some sequence of θ j ∈ R K j \theta_{j} \in\mathbb{R}^{K_{j}} θ j ∈ R K j with ∥ θ j ∥ 1 ≤ B + 1 \|\theta_{j}\|_{1} \le B+1 ∥ θ j ∥ 1 ≤ B + 1 . For P ∈ P \mathbb{P} \in\mathcal{P} P ∈ P and bounded s ∈ L 2 0 ( P ) : = { h ∈ L 2 ( P ) : E P h = 0 } s \in L_{2}^{0}(\mathbb{P}) := \{h \in L_{2}(\mathbb{P}) : \mathbb{E}_{\mathbb{P}}h=0\} s ∈ L 2 0 ( P ) := { h ∈ L 2 ( P ) : E P h = 0 } , continuous in y y y for quantile queries, the path P τ \mathbb{P}_{\tau} P τ with d P τ / d P : = 1 + τ s d\mathbb{P}_{\tau}/d\mathbb{P} := 1+\tau s d P τ / d P := 1 + τ s lies in P \mathcal{P} P for all sufficiently small ∣ τ ∣ |\tau| ∣ τ ∣ , and these scores s s s are dense in L 2 0 ( P ) L_{2}^{0}(\mathbb{P}) L 2 0 ( P ) . Hence the tangent space of P \mathcal{P} P at P \mathbb{P} P is L 2 0 ( P ) L_{2}^{0}(\mathbb{P}) L 2 0 ( P ) , so that each pathwise differentiable query has a unique gradient, which is the corresponding EIF [11 , 92 ] .
For a finite set K \mathcal{K} K and k ∈ K k \in\mathcal{K} k ∈ K , let U k ⊂ R ℓ k \mathcal{U}_{k} \subset\mathbb{R}^{\ell_{k}} U k ⊂ R ℓ k be nonempty and compact, and let π q , k \pi_{q,k} π q , k be a distribution on U k \mathcal{U}_{k} U k , uniform in our experiments. The prior π q \pi_{q} π q on the query set Q \mathcal{Q} Q is specified as follows.
Definition B.8 (Query prior). The query prior is the distribution π q \pi_{q} π q on Q \mathcal{Q} Q with π q ( { k } × A ) : = ϖ k π q , k ( A ) \pi_{q}(\{k\}\times A) := \varpi_{k}\pi_{q,k}(A) π q ({ k } × A ) := ϖ k π q , k ( A ) for all k ∈ K k \in\mathcal{K} k ∈ K and Borel sets A ⊆ U k A \subseteq\mathcal{U}_{k} A ⊆ U k , where ϖ k ≥ 0 \varpi_{k} \ge0 ϖ k ≥ 0 and ∑ k ∈ K ϖ k = 1 \sum_{k\in\mathcal{K}}\varpi_{k}=1 ∑ k ∈ K ϖ k = 1 .
Semiparametric examples
This section presents motivating examples of the semiparametric queried estimands β q ( P ) \beta_{q}(\mathbb{P}) β q ( P ) of § 2 , in the notation of Section B.2, all of which, together with their finite stacks, satisfy Assumption 1 by Proposition C.1 , which Section G proves.
Average and group treatment effects.
Data. Z = ( Y , X , D ) \mathcal{Z}=(Y,X,D) Z = ( Y , X , D ) , with outcome Y ∈ R Y \in\mathbb{R} Y ∈ R , covariates X ∈ [ 0 , 1 ] d X X \in[0,1]^{d_{X}} X ∈ [ 0 , 1 ] d X and treatment D ∈ { 0 , 1 } D \in\{0,1\} D ∈ { 0 , 1 } , so that V = ( Y , X ) V=(Y,X) V = ( Y , X ) , d = 1 + d X d=1+d_{X} d = 1 + d X , Z D = { 0 , 1 } \mathcal{Z}_{D}=\{0,1\} Z D = { 0 , 1 } and χ 1 ( D ) = 2 D − 1 \chi_{1}(D)=2D-1 χ 1 ( D ) = 2 D − 1 .
Estimand. For a group G ⊆ [ 0 , 1 ] d X G \subseteq[0,1]^{d_{X}} G ⊆ [ 0 , 1 ] d X with indicator w G ( x ) : = 1 { x ∈ G } w_{G}(x):=1\{x \in G\} w G ( x ) := 1 { x ∈ G } and probability p G : = E P w G ( X ) > 0 p_{G}:=\mathbb{E}_{\mathbb{P}}w_{G}(X)>0 p G := E P w G ( X ) > 0 , the group effect is
β G ( P ) : = E P [ w G ( X ) { m 1 ( X ) − m 0 ( X ) } ] p G , \beta_{G}(\mathbb{P}) := \frac{\mathbb{E}_{\mathbb{P}}[w_{G}(X)\{m_{1}(X)-m_{0}(X)\}]}{p_{G}}, β G ( P ) := p G E P [ w G ( X ) { m 1 ( X ) − m 0 ( X )}] ,
where m a ( x ) : = E P ( Y ∣ D = a , X = x ) m_{a}(x):=\mathbb{E}_{\mathbb{P}}(Y\mid D=a,X=x) m a ( x ) := E P ( Y ∣ D = a , X = x ) for a ∈ { 0 , 1 } a \in\{0,1\} a ∈ { 0 , 1 } . Under consistency, conditional exchangeability and overlap [82 ] , β G ( P ) \beta_{G}(\mathbb{P}) β G ( P ) is the average treatment effect within G G G , and β [ 0 , 1 ] d X ( P ) \beta_{[0,1]^{d_{X}}}(\mathbb{P}) β [ 0 , 1 ] d X ( P ) is the ATE of § 4.1 .
EIF. With the propensity score e a ( x ) : = P ( D = a ∣ X = x ) e_a(x) := \mathbb{P}(D = a \mid X = x) e a ( x ) := P ( D = a ∣ X = x ) , the EIF, which reduces to that of Hahn [41 ] for the ATE, is
ψ P , G ∗ ( Z ) = w G ( X ) p G [ ( 2 D − 1 ) { Y − m D ( X ) } e D ( X ) + m 1 ( X ) − m 0 ( X ) − β G ( P ) ] . \psi^*_{\mathbb{P},G}(Z) = \frac{w_G(X)}{p_G}\left[\frac{(2D-1)\{Y-m_D(X)\}}{e_D(X)}+m_1(X)-m_0(X)-\beta_G(\mathbb{P})\right]. ψ P , G ∗ ( Z ) = p G w G ( X ) [ e D ( X ) ( 2 D − 1 ) { Y − m D ( X )} + m 1 ( X ) − m 0 ( X ) − β G ( P ) ] .
Queries. The argument is a rectangle G = ∏ j = 1 d X [ u j − , u j + ] ⊆ [ 0 , 1 ] d X G = \prod_{j=1}^{d_X}[u_j^-,u_j^+] \subseteq[0,1]^{d_X} G = ∏ j = 1 d X [ u j − , u j + ] ⊆ [ 0 , 1 ] d X with P 0 ( X ∈ G ) ≥ p 0 \mathbb{P}_0(X \in G) \ge p_0 P 0 ( X ∈ G ) ≥ p 0 for a given p 0 > 0 p_0 > 0 p 0 > 0 , specified by its endpoints u = ( u − , u + ) u = (u^-,u^+) u = ( u − , u + ) or selected from a finite collection.
Quantile treatment effect
Estimand. Let F a ( y ∣ x ) : = P ( Y ≤ y ∣ D = a , X = x ) F_a(y \mid x) := \mathbb{P}(Y \le y \mid D = a, X = x) F a ( y ∣ x ) := P ( Y ≤ y ∣ D = a , X = x ) and F a , P ( y ) : = E P F a ( y ∣ X ) F_{a,\mathbb{P}}(y) := \mathbb{E}_{\mathbb{P}}F_a(y \mid X) F a , P ( y ) := E P F a ( y ∣ X ) , which, under the same conditions, is the distribution function of the potential outcome under treatment a a a . At a quantile level u ∈ ( 0 , 1 ) u \in(0,1) u ∈ ( 0 , 1 ) , the QTE is
β u ( P ) : = ξ 1 , P ( u ) − ξ 0 , P ( u ) , where ξ a , P : = F a , P − 1 . \beta_u(\mathbb{P}) := \xi_{1,\mathbb{P}}(u)-\xi_{0,\mathbb{P}}(u), \qquad\text{where } \xi_{a,\mathbb{P}} := F_{a,\mathbb{P}}^{-1}. β u ( P ) := ξ 1 , P ( u ) − ξ 0 , P ( u ) , where ξ a , P := F a , P − 1 .
EIF. By the continuity of d P / d P 0 d\mathbb{P}/d\mathbb{P}_0 d P / d P 0 in y y y on P \mathcal{P} P , the density f a , P ( y ) : = d F a , P ( y ) / d y f_{a,\mathbb{P}}(y) := dF_{a,\mathbb{P}}(y)/dy f a , P ( y ) := d F a , P ( y ) / d y is continuous and positive, and, differentiating the identity F a , P { ξ a , P ( u ) } = u F_{a,\mathbb{P}}\{\xi_{a,\mathbb{P}}(u)\}=u F a , P { ξ a , P ( u )} = u along paths through P \mathbb{P} P , we obtain the EIF (Firpo, [31 ] )
ψ P , u ∗ ( Z ) = − ψ 1 , P { Z ; ξ 1 , P ( u ) } f 1 , P { ξ 1 , P ( u ) } + ψ 0 , P { Z ; ξ 0 , P ( u ) } f 0 , P { ξ 0 , P ( u ) } . \psi^*_{\mathbb{P},u}(Z) = -\frac{\psi_{1,\mathbb{P}}\{Z;\xi_{1,\mathbb{P}}(u)\}}{f_{1,\mathbb{P}}\{\xi_{1,\mathbb{P}}(u)\}}+\frac{\psi_{0,\mathbb{P}}\{Z;\xi_{0,\mathbb{P}}(u)\}}{f_{0,\mathbb{P}}\{\xi_{0,\mathbb{P}}(u)\}}. ψ P , u ∗ ( Z ) = − f 1 , P { ξ 1 , P ( u )} ψ 1 , P { Z ; ξ 1 , P ( u )} + f 0 , P { ξ 0 , P ( u )} ψ 0 , P { Z ; ξ 0 , P ( u )} .
where ψ a , P ( Z ; y ) : = 1 { D = a } { 1 { Y ≤ y } − F a ( y ∣ X ) } / e a ( X ) + F a ( y ∣ X ) − F a , P ( y ) \psi_{a,\mathbb{P}}(Z;y) := 1\{D=a\}\{1\{Y\le y\}-F_a(y\mid X)\}/e_a(X)+F_a(y\mid X)-F_{a,\mathbb{P}}(y) ψ a , P ( Z ; y ) := 1 { D = a } { 1 { Y ≤ y } − F a ( y ∣ X )} / e a ( X ) + F a ( y ∣ X ) − F a , P ( y ) is the EIF of F a , P ( y ) F_{a,\mathbb{P}}(y) F a , P ( y ) .
Queries. The argument is the level u ∈ [ u ‾ , 1 − u ‾ ] u \in[\underline{u},1-\underline{u}] u ∈ [ u , 1 − u ] for a given u ‾ ∈ ( 0 , 1 / 2 ) \underline{u} \in(0,1/2) u ∈ ( 0 , 1/2 ) .
Mean survival time
Data. Z = ( Y , Δ , X ) Z=(Y,\Delta,X) Z = ( Y , Δ , X ) , with observed time Y : = min ( T , C ) Y:=\min(T,C) Y := min ( T , C ) , event indicator Δ : = 1 { T ≤ C } \Delta:=1\{T\le C\} Δ := 1 { T ≤ C } and covariates X ∈ [ 0 , 1 ] d X X\in[0,1]^{d_X} X ∈ [ 0 , 1 ] d X , where the failure and censoring times T , C ∈ [ J ] T,C\in[J] T , C ∈ [ J ] are recorded at visits 1 , ⋯ , J 1,\cdots,J 1 , ⋯ , J . The pair ( Y , Δ ) (Y,\Delta) ( Y , Δ ) takes values in { ( l , 1 ) : l ∈ [ J ] } ∪ { ( l , 0 ) : l ∈ [ J − 1 ] } \{(l,1):l\in[J]\}\cup\{(l,0):l\in[J-1]\} {( l , 1 ) : l ∈ [ J ]} ∪ {( l , 0 ) : l ∈ [ J − 1 ]} , and the discrete factor is D : = ( Y / J , Δ ) ∈ [ 0 , 1 ] 2 D:=(Y/J,\Delta)\in[0,1]^2 D := ( Y / J , Δ ) ∈ [ 0 , 1 ] 2 , so that V = X V=X V = X and d = d X d=d_X d = d X .
λ l ( x ) : = P ( Y = l , Δ = 1 ∣ X = x ) P ( Y ≥ l ∣ X = x ) and S ( j ∣ x ) : = ∏ l = 1 j { 1 − λ l ( x ) } \lambda_l(x):=\frac{\mathbb{P}(Y=l,\Delta=1\mid X=x)}{\mathbb{P}(Y\ge l\mid X=x)}
\qquad\text{and}\qquad
S(j\mid x):=\prod_{l=1}^{j}\{1-\lambda_l(x)\} λ l ( x ) := P ( Y ≥ l ∣ X = x ) P ( Y = l , Δ = 1 ∣ X = x ) and S ( j ∣ x ) := l = 1 ∏ j { 1 − λ l ( x )}
denote the discrete hazard and survival functions, respectively. At a horizon u ∈ [ J ] u\in[J] u ∈ [ J ] , the restricted mean survival time is
β u ( P ) : = E P μ u ( X ) , where μ u ( x ) : = ∑ j = 0 u − 1 S ( j ∣ x ) . \beta_u(\mathbb{P}):=\mathbb{E}_{\mathbb{P}}\mu_u(X), \qquad\text{where }\mu_u(x):=\sum_{j=0}^{u-1}S(j\mid x). β u ( P ) := E P μ u ( X ) , where μ u ( x ) := j = 0 ∑ u − 1 S ( j ∣ x ) .
If censoring is conditionally independent, that is, T T T and C C C are independent given X X X , then λ l ( x ) = P ( T = l ∣ T ≥ l , X = x ) \lambda_l(x) = \mathbb{P}(T = l \mid T \ge l, X = x) λ l ( x ) = P ( T = l ∣ T ≥ l , X = x ) , S ( j ∣ X ) = P ( T > j ∣ X ) S(j \mid X) = \mathbb{P}(T > j \mid X) S ( j ∣ X ) = P ( T > j ∣ X ) by the Kaplan–Meier product formula ([51 ] ), and β u ( P ) = E { min ( T , u ) } \beta_u(\mathbb{P}) = \mathbb{E}\{\min(T,u)\} β u ( P ) = E { min ( T , u )} , so that β J ( P ) = E ( T ) \beta_J(\mathbb{P}) = \mathbb{E}(T) β J ( P ) = E ( T ) is the mean survival time of Section H.7. There is a constant c > 0 c > 0 c > 0 such that P { ( Y , Δ ) = a ∣ X } ≥ c \mathbb{P}\{(Y,\Delta) = a \mid X\} \ge c P {( Y , Δ ) = a ∣ X } ≥ c for all P ∈ P \mathbb{P} \in\mathcal{P} P ∈ P and values a a a of ( Y , Δ ) (Y,\Delta) ( Y , Δ ) , so that P ( C ≥ l ∣ X ) ≥ P ( Y ≥ l ∣ X ) ≥ c \mathbb{P}(C \ge l \mid X) \ge\mathbb{P}(Y \ge l \mid X) \ge c P ( C ≥ l ∣ X ) ≥ P ( Y ≥ l ∣ X ) ≥ c , which is the positivity condition, and 1 − λ l ( X ) ≥ c 1 - \lambda_l(X) \ge c 1 − λ l ( X ) ≥ c for l ∈ [ J − 1 ] l \in[J - 1] l ∈ [ J − 1 ] .
ψ P , u ∗ ( Z ) = μ u ( X ) − β u ( P ) − ∑ l = 1 u − 1 ∑ j = l u − 1 S ( j ∣ X ) 1 − λ l ( X ) ⋅ 1 { Y = l , Δ = 1 } − λ l ( X ) 1 { Y ≥ l } P ( Y ≥ l ∣ X ) . \psi^*_{\mathbb{P},u}(Z) = \mu_u(X) - \beta_u(\mathbb{P}) - \sum_{l=1}^{u-1} \frac{\sum_{j=l}^{u-1} S(j \mid X)}{1-\lambda_l(X)} \cdot\frac{\mathbf{1}\{Y=l,\Delta=1\}-\lambda_l(X)\mathbf{1}\{Y\ge l\}}{\mathbb{P}(Y\ge l\mid X)}. ψ P , u ∗ ( Z ) = μ u ( X ) − β u ( P ) − l = 1 ∑ u − 1 1 − λ l ( X ) ∑ j = l u − 1 S ( j ∣ X ) ⋅ P ( Y ≥ l ∣ X ) 1 { Y = l , Δ = 1 } − λ l ( X ) 1 { Y ≥ l } .
Queries. The argument is the horizon u ∈ { 2 , … , J } u \in\{2,\ldots,J\} u ∈ { 2 , … , J } .
Partially linear projection.
Data. Z = ( Y , W , X ) Z = (Y,W,X) Z = ( Y , W , X ) , with outcome Y ∈ R Y \in\mathbb{R} Y ∈ R , regressors W ∈ [ 0 , 1 ] d W W \in[0,1]^{d_W} W ∈ [ 0 , 1 ] d W and covariates X ∈ [ 0 , 1 ] d X X \in[0,1]^{d_X} X ∈ [ 0 , 1 ] d X , so that V = ( Y , W , X ) V = (Y,W,X) V = ( Y , W , X ) , d = 1 + d W + d X d = 1 + d_W + d_X d = 1 + d W + d X and Z D \mathcal{Z}_D Z D is a singleton.
Estimand. Let m W ( x ) : = E P ( W ∣ X = x ) m_W(x) := \mathbb{E}_{\mathbb{P}}(W \mid X=x) m W ( x ) := E P ( W ∣ X = x ) and m Y ( x ) : = E P ( Y ∣ X = x ) m_Y(x) := \mathbb{E}_{\mathbb{P}}(Y \mid X=x) m Y ( x ) := E P ( Y ∣ X = x ) , and let W ~ : = W − m W ( X ) \widetilde{W} := W-m_W(X) W := W − m W ( X ) and Y ~ : = Y − m Y ( X ) \widetilde{Y} := Y-m_Y(X) Y := Y − m Y ( X ) . The partially linear projection is the least squares coefficient
β ( P ) : = arg min b ∈ R d W E P { ( Y ~ − b T W ~ ) 2 } = Σ W − 1 E P ( W ~ Y ~ ) , where Σ W : = E P ( W ~ ⊗ 2 ) , \beta(\mathbb{P}) := \underset{b\in\mathbb{R}^{d_W}}{\arg\min}\ \mathbb{E}_{\mathbb{P}}\{(\widetilde{Y}-b^\mathsf{T}\widetilde{W})^2\} = \Sigma_W^{-1}\mathbb{E}_{\mathbb{P}}(\widetilde{W}\widetilde{Y}), \qquad\text{where }\Sigma_W := \mathbb{E}_{\mathbb{P}}(\widetilde{W}^{\otimes2}), β ( P ) := b ∈ R d W arg min E P {( Y − b T W ) 2 } = Σ W − 1 E P ( W Y ) , where Σ W := E P ( W ⊗ 2 ) ,
and λ min ( Σ W ) ≥ c > 0 \lambda_{\min}(\Sigma_W) \ge c > 0 λ m i n ( Σ W ) ≥ c > 0 by the lower density bound c 0 c_0 c 0 of P \mathcal{P} P . If E P ( Y ∣ W , X ) = W T β + g ( X ) \mathbb{E}_{\mathbb{P}}(Y \mid W,X) = W^\mathsf{T}\beta+ g(X) E P ( Y ∣ W , X ) = W T β + g ( X ) , then β ( P ) = β \beta(\mathbb{P})=\beta β ( P ) = β , and, for d W = 1 d_W=1 d W = 1 , β ( P ) \beta(\mathbb{P}) β ( P ) is the PLR coefficient of § 4.2 .
ψ P ∗ ( Z ) = Σ W − 1 W ~ { Y ~ − W ~ T β ( P ) } . \psi^*_{\mathbb{P}}(Z) = \Sigma_W^{-1}\widetilde{W}\{\widetilde{Y}-\widetilde{W}^\mathsf{T}\beta(\mathbb{P})\}. ψ P ∗ ( Z ) = Σ W − 1 W { Y − W T β ( P )} .
Queries. The argument is a matrix M M M with d W d_W d W columns in a given compact set, and the query returns the contrast M β ( P ) M\beta(\mathbb{P}) M β ( P ) , which equals β ( P ) \beta(\mathbb{P}) β ( P ) for M = I d W M=I_{d_W} M = I d W .
For m ∈ N m \in\mathbb{N} m ∈ N and query families k 1 , … , k m k_1,\ldots,k_m k 1 , … , k m , the finite stack k = ( k 1 , … , k m ) k=(k_1,\ldots,k_m) k = ( k 1 , … , k m ) is the query family with arguments u = ( u 1 , … , u m ) ∈ U k : = ∏ j = 1 m U k j u=(u_1,\ldots,u_m)\in\mathcal{U}_k:=\prod_{j=1}^m\mathcal{U}_{k_j} u = ( u 1 , … , u m ) ∈ U k := ∏ j = 1 m U k j and values β ( k , u ) ( P ) : = { β ( k 1 , u 1 ) ( P ) T , … , β ( k m , u m ) ( P ) T } T \beta_{(k,u)}(\mathbb{P}):=\{\beta_{(k_1,u_1)}(\mathbb{P})^\mathsf{T},\ldots,\beta_{(k_m,u_m)}(\mathbb{P})^\mathsf{T}\}^\mathsf{T} β ( k , u ) ( P ) := { β ( k 1 , u 1 ) ( P ) T , … , β ( k m , u m ) ( P ) T } T , such as quantile effects at several levels.
Proposition C.1 (Query conditions for the examples). Let K \mathcal{K} K be a finite set of finite stacks of the four query families above, with the arguments specified there. Then, on the model P \mathcal{P} P of Section B.2, the queries q ∈ Q q \in\mathcal{Q} q ∈ Q satisfy Assumption 1 ( i ) 1(i) 1 ( i ) –( i v ) (iv) ( i v ) .
Assumptions
Assumptions 1–5 formalise Conditions (A1)–(A5) of § 3.1 , and Assumption 6 in Section F.4 states the conditions of Theorem 4 on the fixed population. In these assumptions, p p p and p ′ p' p ′ denote the densities d P / d P 0 d\mathbb{P}/d\mathbb{P}_0 d P / d P 0 and d P ′ / d P 0 d\mathbb{P}'/d\mathbb{P}_0 d P ′ / d P 0 of P , P ′ ∈ P \mathbb{P},\mathbb{P}' \in\mathcal{P} P , P ′ ∈ P , and Θ K \Theta_{\mathcal{K}} Θ K , P θ \mathbb{P}_\theta P θ and π K \pi_{\mathcal{K}} π K are as in Section B.2. Moreover, P π \mathcal{P}_\pi P π denotes the support of π P \pi_{\mathbb{P}} π P , and θ P ∈ R K \theta_{\mathbb{P}} \in\mathbb{R}^{K} θ P ∈ R K and g P , K g_{\mathbb{P},\mathcal{K}} g P , K denote the sieve coefficients and remainder of P \mathbb{P} P in § 3.1 , given by d P / d P 0 ∝ exp { θ P T b ( K ) + g P , K } \mathrm{d}\mathbb{P}/\mathrm{d}\mathbb{P}_0 \propto\exp\{\theta_{\mathbb{P}}^{\mathsf{T}}b_{(K)}+g_{\mathbb{P},K}\} d P / d P 0 ∝ exp { θ P T b ( K ) + g P , K } with E P 0 g P , K = 0 \mathbb{E}_{\mathbb{P}_0}g_{\mathbb{P},K}=0 E P 0 g P , K = 0 and E P 0 { g P , K b ( K ) } = 0 \mathbb{E}_{\mathbb{P}_0}\{g_{\mathbb{P},K}b_{(K)}\}=0 E P 0 { g P , K b ( K ) } = 0 .
Assumption 1 (Regular parameters). There exists C < ∞ C < \infty C < ∞ such that, for all K ≥ 1 K \ge1 K ≥ 1 , P ∈ P \mathbb{P} \in\mathcal{P} P ∈ P and q = ( k , u ) ∈ Q q=(k,u)\in\mathcal{Q} q = ( k , u ) ∈ Q , the following hold.
(i) The map β q : P → R d k \beta_q:\mathcal{P}\to\mathbb{R}^{d_k} β q : P → R d k is pathwise differentiable at P \mathbb{P} P with EIF ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ , and ∥ β q ( P 0 ) ∥ + ∥ ψ P , q ⋆ ∥ L 2 ( P ) ≤ C \|\beta_q(\mathbb{P}_0)\|+\|\psi_{\mathbb{P},q}^{\star}\|_{L_2(\mathbb{P})}\le C ∥ β q ( P 0 ) ∥ + ∥ ψ P , q ⋆ ∥ L 2 ( P ) ≤ C .
(ii) The Jacobian D q ( θ ) : = ∂ β q ( P θ ) / ∂ θ T ∈ R d k × K D_q(\theta):=\partial\beta_q(\mathbb{P}_\theta)/\partial\theta^{\mathsf{T}}\in\mathbb{R}^{d_k\times K} D q ( θ ) := ∂ β q ( P θ ) / ∂ θ T ∈ R d k × K satisfies ∥ D q ( θ ) − D q ( θ ′ ) ∥ o p ≤ C K ∥ θ − θ ′ ∥ \|D_q(\theta)-D_q(\theta')\|_{\mathrm{op}}\le C\sqrt{K}\|\theta-\theta'\| ∥ D q ( θ ) − D q ( θ ′ ) ∥ op ≤ C K ∥ θ − θ ′ ∥ for all θ , θ ′ ∈ R K \theta,\theta'\in\mathbb{R}^K θ , θ ′ ∈ R K with ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 \|\theta\|_1,\|\theta'\|_1\le B+1 ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 .
(iii) The EIF satisfies ∥ ψ P 0 , ( k , u ′ ) − ψ P , q ⋆ ∥ L 2 ( P 0 ) → 0 \|\psi_{\mathbb{P}_0,(k,u')}-\psi_{\mathbb{P},q}^{\star}\|_{L_2(\mathbb{P}_0)}\to0 ∥ ψ P 0 , ( k , u ′ ) − ψ P , q ⋆ ∥ L 2 ( P 0 ) → 0 as ∥ p ′ − p ∥ ∞ + ∥ u ′ − u ∥ → 0 \|p'-p\|_\infty+\|u'-u\|\to0 ∥ p ′ − p ∥ ∞ + ∥ u ′ − u ∥ → 0 with P ′ ∈ P \mathbb{P}'\in\mathcal{P} P ′ ∈ P and u ′ ∈ U k u'\in\mathcal{U}_k u ′ ∈ U k .
(iv) The query family k k k admits the integral representation of Definition F.1 in Section F.1.2.
Assumption 2 (Covariance bounds). With v ± v_{\pm} v ± the clipping bounds of the covariance readout clip [ v − , v + ] \operatorname{clip}_{[v_-,v_+]} clip [ v − , v + ] in Definition B.4, the efficiency bound V q ⋆ ( P ) V_q^{\star}(\mathbb{P}) V q ⋆ ( P ) satisfies the following.
(i) For ν \nu ν -almost every ( P , q ) (\mathbb{P},q) ( P , q ) , v − I ⪯ V q ⋆ ( P ) ⪯ v + I v_-I\preceq V_q^{\star}(\mathbb{P})\preceq v_+I v − I ⪯ V q ⋆ ( P ) ⪯ v + I .
(ii) There exist constants v − < v ‾ ≤ v ‾ < v + v_-<\underline{v}\le\overline{v}<v_+ v − < v ≤ v < v + , independent of N N N , such that v ‾ I ⪯ V q ⋆ ( P ) ⪯ v ‾ I \underline{v}I\preceq V_q^{\star}(\mathbb{P})\preceq\overline{v}I v I ⪯ V q ⋆ ( P ) ⪯ v I for π \pi π -almost every ( P , q ) (\mathbb{P},q) ( P , q ) .
Assumption 3 (Sieve prior approximation). There exist K = K N K=K_N K = K N and sequences c N , h N → 0 c_N,h_N\to0 c N , h N → 0 such that θ P ∈ Θ K \theta_{\mathbb{P}}\in\Theta_K θ P ∈ Θ K , N ∥ g P , K ∥ L 2 ( P 0 ) 2 ≤ c N N\|g_{\mathbb{P},K}\|_{L_2(\mathbb{P}_0)}^2\le c_N N ∥ g P , K ∥ L 2 ( P 0 ) 2 ≤ c N and ∥ g P , K ∥ ∞ ≤ h N \|g_{\mathbb{P},K}\|_\infty\le h_N ∥ g P , K ∥ ∞ ≤ h N for all P ∈ P π \mathbb{P}\in\mathcal{P}_{\pi} P ∈ P π .
Assumption 4 (Prior regularity). There exist constants 0 < c w ≤ C w < ∞ 0<c_w\le C_w<\infty 0 < c w ≤ C w < ∞ , independent of N N N , and L N = o ( N ) L_N=o(\sqrt{N}) L N = o ( N ) such that, for every g ∈ { g P , K : P ∈ P π } g\in\{g_{\mathbb{P},K}:\mathbb{P}\in\mathcal{P}_{\pi}\} g ∈ { g P , K : P ∈ P π } , the conditional density w π ( ⋅ ∣ g ) w_{\pi}(\cdot\mid g) w π ( ⋅ ∣ g ) defined by π P ( θ P ∈ d θ ∣ g P , K = g ) = w π ( θ ∣ g ) π K ( d θ ) \pi_{\mathbb{P}}(\theta_{\mathbb{P}}\in\mathrm{d}\theta\mid g_{\mathbb{P},K}=g)=w_{\pi}(\theta\mid g)\pi_K(\mathrm{d}\theta) π P ( θ P ∈ d θ ∣ g P , K = g ) = w π ( θ ∣ g ) π K ( d θ ) exists and satisfies, for all θ , θ ′ ∈ Θ K \theta,\theta'\in\Theta_K θ , θ ′ ∈ Θ K ,
c w ≤ w π ( θ ∣ g ) ≤ C w and ∣ log w π ( θ ∣ g ) − log w π ( θ ′ ∣ g ) ∣ ≤ L N ∥ θ − θ ′ ∥ c_w\le w_{\pi}(\theta\mid g)\le C_w \quad\text{and}\quad|\log w_{\pi}(\theta\mid g)-\log w_{\pi}(\theta'\mid g)|\le L_N\|\theta-\theta'\| c w ≤ w π ( θ ∣ g ) ≤ C w and ∣ log w π ( θ ∣ g ) − log w π ( θ ′ ∣ g ) ∣ ≤ L N ∥ θ − θ ′ ∥ .
Assumption 5 (Evaluation distribution). There exists C < ∞ C<\infty C < ∞ such that χ 2 ( ν N ∥ π ) ≤ C \chi^2(\nu_N\mathbin{\|}\pi)\le C χ 2 ( ν N ∥ π ) ≤ C for every N N N , where ν N \nu_N ν N is the evaluation distribution ν \nu ν at sample size N N N and χ 2 ( ν N ∥ π ) : = ∫ ( d ν N / d π − 1 ) 2 d π \chi^2(\nu_N\mathbin{\|}\pi):=\int(\mathrm{d}\nu_N/\mathrm{d}\pi-1)^2\mathrm{d}\pi χ 2 ( ν N ∥ π ) := ∫ ( d ν N / d π − 1 ) 2 d π if ν N ≪ π \nu_N\ll\pi ν N ≪ π and χ 2 ( ν N ∥ π ) : = ∞ \chi^2(\nu_N\mathbin{\|}\pi):=\infty χ 2 ( ν N ∥ π ) := ∞ otherwise.
Assumptions 1 and 2 concern the queries. Assumption 1(i) asks each query to be pathwise differentiable with an efficient influence function bounded in L 2 ( P ) L_2(\mathbb{P}) L 2 ( P ) , the standard setting of semiparametric efficiency theory ([11 , 92 ] ). Of the remaining parts, (ii) bounds the second order term ∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) ( θ ′ − θ ) ∥ \|\beta_q(\mathbb{P}_{\theta'})-\beta_q(\mathbb{P}_{\theta})-D_q(\theta)(\theta'-\theta)\| ∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) ( θ ′ − θ ) ∥ by C K ∥ θ ′ − θ ∥ 2 C\sqrt{K}\|\theta'-\theta\|^2 C K ∥ θ ′ − θ ∥ 2 , as shown in Lemma E.2 , like the remainder conditions of Castillo and Rousseau [18 ] , (iii) ensures that the sieve scores approximate the efficient influence function as K K K grows, and (iv) is used only to construct Transformers that evaluate the queries. All four parts hold for the examples of Section C by Proposition C.1 . Assumption 2 is the usual nondegeneracy of the efficiency bound, relative to the eigenvalue range [ v − , v + ] [v_-,v_+] [ v − , v + ] of the covariance readout, and follows from (A2) when this range contains the bounds of (A2) in its interior, while its part (ii) makes the clipping of S π S_{\pi} S π rarely active in pretraining, by (F.15).
Assumptions 3 and 4 require the simulator prior π P \pi_{\mathbb{P}} π P to stay close to the sieve prior π K \pi_K π K at the resolution of the data, and both hold trivially for π K \pi_K π K , with g P , K = 0 g_{\mathbb{P},K}=0 g P , K = 0 , w π = 1 w_{\pi}=1 w π = 1 and L N = 0 L_N = 0 L N = 0 . Assumption 3 bounds the sieve approximation error of every population in P π \mathcal{P}_{\pi} P π by o ( N − 1 / 2 ) o(N^{-1/2}) o ( N − 1/2 ) in L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) , below the sampling error, and by o ( 1 ) o(1) o ( 1 ) in supremum norm, which lets Assumption 1(iii) relate P \mathbb{P} P to P θ P \mathbb{P}_{\theta_P} P θ P . This assumption plays the role of the no-bias condition in semiparametric Bernstein–von Mises (BvM) theorems ([18 ] ), and holds, for example, when P π \mathcal{P}_{\pi} P π lies in a Sobolev class P s ( Ξ , η ) \mathcal{P}_s(\Xi,\eta) P s ( Ξ , η ) of the form (F.67) with s > d / 2 s > d/2 s > d /2 and N K − s / d → 0 \sqrt{N}K^{-s/d} \to0 N K − s / d → 0 , because then ∥ g P , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d \|g_{P,K}\|_{L_2(\mathbb{P}_0)} \le\Xi K^{-s/d} ∥ g P , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d and ∥ g P , K ∥ ∞ ≲ K 1 / 2 − s / d \|g_{P,K}\|_{\infty} \lesssim K^{1/2-s/d} ∥ g P , K ∥ ∞ ≲ K 1/2 − s / d . Assumption 4 lets π P \pi_P π P reweight π K \pi_K π K by a density that is bounded away from zero and infinity and almost constant over shifts of order N − 1 / 2 N^{-1/2} N − 1/2 , since L N N − 1 / 2 → 0 L_NN^{-1/2} \to0 L N N − 1/2 → 0 , a quantitative form of the usual BvM requirements that the prior density be continuous and positive ([10 ] ) and nearly invariant under such shifts ([38 ] ). Assumption 5 bounds the χ 2 \chi^2 χ 2 divergence of the evaluation distribution from the pretraining prior, as in the distribution shift analysis of Ma et al. (2026a).
Proofs for Section 3.1
This section proves Proposition 1 and Theorem 1, the latter through the expansion of Proposition E.1 and the change of prior in Section E.3.5. We say that a statement holds under π K \pi_K π K if it holds when π P \pi_P π P is the distribution of P θ \mathbb{P}_{\theta} P θ with θ ∼ π K \theta\sim\pi_K θ ∼ π K of Definition B.7. At size n n n , we let E π E P ϕ : = ∬ ϕ ( P , q , D n ) P ⊗ n ( d D n ) π ( d P , d q ) \mathbb{E}_{\pi}\mathbb{E}_{P}\phi:= \iint\phi(\mathbb{P},q,D_n)\mathbb{P}^{\otimes n}(dD_n)\,\pi(d\mathbb{P},dq) E π E P ϕ := ∬ ϕ ( P , q , D n ) P ⊗ n ( d D n ) π ( d P , d q ) for measurable ϕ ≥ 0 \phi\ge0 ϕ ≥ 0 . Let G N h : = N ( P N h − E P h ) \mathbb{G}_N h := \sqrt{N}(\mathbb{P}_N h-\mathbb{E}_{P}h) G N h := N ( P N h − E P h ) denote the empirical process. Throughout, N ≥ 3 N \ge3 N ≥ 3 and T ≥ 2 T \ge2 T ≥ 2 , and constants c c c and C C C may vary between bounds.
Besides the density envelope c 0 ≤ d P / d P 0 ≤ C 0 c_0 \le d\mathbb{P}/d\mathbb{P}_0 \le C_0 c 0 ≤ d P / d P 0 ≤ C 0 for P ∈ P \mathbb{P} \in\mathcal{P} P ∈ P of Section B.2, two consequences of the assumptions recur in the proofs. First, for P , P ′ ∈ P \mathbb{P},\mathbb{P}' \in\mathcal{P} P , P ′ ∈ P with densities p , p ′ p,p' p , p ′ , the path P t ∈ P \mathbb{P}_t \in\mathcal{P} P t ∈ P with density p t : = ( 1 − t ) p + t p ′ p_t := (1-t)p+tp' p t := ( 1 − t ) p + t p ′ , t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] , has score ( p ′ − p ) / p t (p'-p)/p_t ( p ′ − p ) / p t with L 2 ( P t ) L_2(\mathbb{P}_t) L 2 ( P t ) norm at most c 0 − 1 / 2 ∥ p − p ′ ∥ L 2 ( P 0 ) c_0^{-1/2}\|p-p'\|_{L_2(\mathbb{P}_0)} c 0 − 1/2 ∥ p − p ′ ∥ L 2 ( P 0 ) , so that, integrating ∂ t β q ( P t ) = E P t { ψ P t , q ( p ′ − p ) / p t } \partial_t\beta_q(\mathbb{P}_t)=\mathbb{E}_{\mathbb{P}_t}\{\psi_{\mathbb{P}_t,q}(p'-p)/p_t\} ∂ t β q ( P t ) = E P t { ψ P t , q ( p ′ − p ) / p t } of Assumption 1(i) over t ∈ [ 0 , 1 ] t \in[0,1] t ∈ [ 0 , 1 ] , we obtain, for q ∈ Q q \in\mathcal{Q} q ∈ Q ,
∥ β q ( P ) − β q ( P ′ ) ∥ ≤ C c 0 − 1 / 2 ∥ p − p ′ ∥ L 2 ( P 0 ) . (17) \|\beta_q(\mathbb{P})-\beta_q(\mathbb{P}')\| \le Cc_0^{-1/2}\|p-p'\|_{L_2(\mathbb{P}_0)}. \tag*{(17)} ∥ β q ( P ) − β q ( P ′ ) ∥ ≤ C c 0 − 1/2 ∥ p − p ′ ∥ L 2 ( P 0 ) . (17)
Second, by Assumption 5, ν N \nu_N ν N , the evaluation distribution at size N N N , has a density w w w relative to π P ⊗ π q \pi_P \otimes\pi_q π P ⊗ π q with ∫ w 2 d ( π P ⊗ π q ) ≤ 1 + C \int w^2\,d(\pi_P \otimes\pi_q) \le1+C ∫ w 2 d ( π P ⊗ π q ) ≤ 1 + C , so that, by the Cauchy–Schwarz inequality and ( E P ϕ ) 2 ≤ E P ϕ (\mathbb{E}_P\phi)^2 \le\mathbb{E}_P\phi ( E P ϕ ) 2 ≤ E P ϕ , every measurable ϕ = ϕ ( P , q , D N ) \phi=\phi(\mathbb{P},q,D_N) ϕ = ϕ ( P , q , D N ) with values in [ 0 , 1 ] [0,1] [ 0 , 1 ] satisfies
E ν N E P ϕ ≤ { ( 1 + C ) E π P ⊗ π q E P ϕ } 1 / 2 . (18) \mathbb{E}_{\nu_N}\mathbb{E}_{P}\phi\le\{(1+C)\mathbb{E}_{\pi_P\otimes\pi_q}\mathbb{E}_{P}\phi\}^{1/2}. \tag*{(18)} E ν N E P ϕ ≤ {( 1 + C ) E π P ⊗ π q E P ϕ } 1/2 . (18)
Proof of Proposition 1
Proof. For symmetric matrices C C C and A A A in R d k × d k \mathbb{R}^{d_k \times d_k} R d k × d k with A ≻ 0 A \succ0 A ≻ 0 , define F C ( A ) : = − log det A + tr ( A C ) F_C(A):=-\log\det A+\operatorname{tr}(AC) F C ( A ) := − log det A + tr ( A C ) . We first minimise F C F_C F C under spectral constraints and then apply the minimisers to the posterior risk.
Let ( e j ) j ∈ [ d k ] (e_j)_{j\in[d_k]} ( e j ) j ∈ [ d k ] be an orthonormal basis of R d k \mathbb{R}^{d_k} R d k with C e j = λ j e j Ce_j=\lambda_j e_j C e j = λ j e j , and, with ν ± \nu_{\pm} ν ± as in Section B.1, let J J J be [ ν + − 1 , ν − − 1 ] [\nu_+^{-1},\nu_-^{-1}] [ ν + − 1 , ν − − 1 ] or, if C ≻ 0 C \succ0 C ≻ 0 , ( 0 , ∞ ) (0,\infty) ( 0 , ∞ ) . For symmetric A A A with eigenvalues in J J J , the entries A j j : = e j T A e j A_{jj}:=e_j^{\mathsf T}Ae_j A j j := e j T A e j lie in J J J , and, by Hadamard’s inequality, we have
F C ( A ) ≥ ∑ j = 1 d k ( λ j A j j − log A j j ) , F_C(A)\geq\sum_{j=1}^{d_k}(\lambda_jA_{jj}-\log A_{jj}), F C ( A ) ≥ j = 1 ∑ d k ( λ j A j j − log A j j ) ,
with equality only if e i T A e j = 0 e_i^{\mathsf T}Ae_j=0 e i T A e j = 0 for all i ≠ j i\neq j i = j .
Since ϕ j ( a ) : = λ j a − log a \phi_j(a):=\lambda_ja-\log a ϕ j ( a ) := λ j a − log a is strictly convex in a > 0 a>0 a > 0 with ϕ j ′ ( a ) = λ j − 1 / a \phi_j'(a)=\lambda_j-1/a ϕ j ′ ( a ) = λ j − 1/ a , the unique minimiser of ϕ j \phi_j ϕ j over J J J is λ j − 1 \lambda_j^{-1} λ j − 1 if J = ( 0 , ∞ ) J=(0,\infty) J = ( 0 , ∞ ) and { ( λ j ∨ v − ) ∧ v + } − 1 \{(\lambda_j\vee v_-)\wedge v_+\}^{-1} {( λ j ∨ v − ) ∧ v + } − 1 otherwise, so that
arg min A ≻ 0 F C ( A ) = { C − 1 } if C ≻ 0 , (19) \underset{A\succ0}{\arg\min}\ F_C(A)=\{C^{-1}\}\quad\text{if }C\succ0, \tag*{(19)} A ≻ 0 arg min F C ( A ) = { C − 1 } if C ≻ 0 , (19)
arg min v + − 1 I ⪯ A ⪯ v − − 1 I F C ( A ) = { ( clip C ) − 1 } , (20) \underset{v_+^{-1}I\preceq A\preceq v_-^{-1}I}{\arg\min}\ F_C(A)=\{(\operatorname{clip} C)^{-1}\}, \tag*{(20)} v + − 1 I ⪯ A ⪯ v − − 1 I arg min F C ( A ) = {( clip C ) − 1 } , (20)
where clip : = clip [ v − , v + ] \operatorname{clip}:=\operatorname{clip}_{[v_-,v_+]} clip := clip [ v − , v + ] is the spectral clipping of Section B.1.
Since the posterior of β q ( P ) \beta_q(\mathbb{P}) β q ( P ) has mean m π m_\pi m π and covariance S π / n S_\pi/n S π / n , expanding the quadratic form in (1) around m π m_\pi m π with A : = V − 1 A:=V^{-1} A := V − 1 , we have
2 E π { ℓ n ( β q ( P ) ; β , V ) ∣ D n , q } = F S π ( A ) + n ( β − m π ) T A ( β − m π ) , (21) 2\mathbb{E}_{\pi}\{\ell_n(\beta_q(\mathbb{P});\beta,V)\mid D_n,q\}=F_{S_\pi}(A)+n(\beta-m_\pi)^{\mathsf T}A(\beta-m_\pi), \tag*{(21)} 2 E π { ℓ n ( β q ( P ) ; β , V ) ∣ D n , q } = F S π ( A ) + n ( β − m π ) T A ( β − m π ) , (21)
whose quadratic term vanishes only at β = m π \beta=m_\pi β = m π . Hence, by (E.3) with C = S π C=S_\pi C = S π , (6) holds, and f π ∘ : = ( m π , clip S π ) f_\pi^\circ:=(m_\pi,\operatorname{clip}S_\pi) f π ∘ := ( m π , clip S π ) satisfies f π ∘ = f π f_\pi^\circ=f_\pi f π ∘ = f π whenever v − I ⪯ S π ⪯ v + I v_-I\preceq S_\pi\preceq v_+I v − I ⪯ S π ⪯ v + I . Subtracting (E.5) at f π ∘ f_\pi^\circ f π ∘ from (E.5) at ( u , Σ ) (u,\Sigma) ( u , Σ ) , for u ∈ R d k u\in\mathbb{R}^{d_k} u ∈ R d k and v − I ⪯ Σ ⪯ v + I v_-I\preceq\Sigma\preceq v_+I v − I ⪯ Σ ⪯ v + I , we obtain the conditional excess score
E π { ℓ n ( β 0 ; u , Σ ) − ℓ n ( β 0 ; m π , clip S π ) ∣ D n , q } = n 2 ( u − m π ) T Σ − 1 ( u − m π ) + 1 2 { F S π ( Σ − 1 ) − F S π ( A ∗ ) } ≥ 0 , (22) \begin{aligned}
&\mathbb{E}_{\pi}\{\ell_n(\beta_0;u,\Sigma)-\ell_n(\beta_0;m_\pi,\operatorname{clip}S_\pi)\mid D_n,q\}\\
&\qquad=\frac{n}{2}(u-m_\pi)^{\mathsf T}\Sigma^{-1}(u-m_\pi)+\frac{1}{2}\{F_{S_\pi}(\Sigma^{-1})-F_{S_\pi}(A_*)\}\geq0, \tag*{(22)}
\end{aligned} E π { ℓ n ( β 0 ; u , Σ ) − ℓ n ( β 0 ; m π , clip S π ) ∣ D n , q } = 2 n ( u − m π ) T Σ − 1 ( u − m π ) + 2 1 { F S π ( Σ − 1 ) − F S π ( A ∗ )} ≥ 0 , (22)
where β 0 : = β q ( P ) \beta_0:=\beta_q(\mathbb{P}) β 0 := β q ( P ) , A ∗ : = ( clip S π ) − 1 A_*:=(\operatorname{clip}S_\pi)^{-1} A ∗ := ( clip S π ) − 1 and the inequality follows from (E.4). Equality holds only at ( u , Σ ) = f π ∘ (u,\Sigma)=f_\pi^\circ ( u , Σ ) = f π ∘ , which completes the proof.
Proof of Theorem 1
Proof. We first prove the theorem for the sieve prior, for each complexity K K K and then as K K K grows, and then extend the theorem to every prior satisfying Assumptions 3 and 4.
Under π K \pi_K π K with K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) , by Proposition E.1 and (E.2) with φ = R N K ∈ [ 0 , 1 ] \varphi=R_N^K\in[0,1] φ = R N K ∈ [ 0 , 1 ] , the projected remainder defined after (E.36), we have
E ν E P R N K ≤ { ( 1 + C ) E π E P R N K } 1 / 2 = o ( 1 ) , \mathbb{E}_{\nu}\mathbb{E}_{\mathbb{P}}R_N^K\leq\{(1+C)\mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}R_N^K\}^{1/2}=o(1), E ν E P R N K ≤ {( 1 + C ) E π E P R N K } 1/2 = o ( 1 ) ,
which proves (8) for the sieve prior by Markov’s inequality, without using K → ∞ K\to\infty K → ∞ .
We next let K → ∞ K\to\infty K → ∞ under the sieve prior. Since ψ P θ , q ∗ \psi^*_{\mathbb{P}_\theta,q} ψ P θ , q ∗ is centred under P θ \mathbb{P}_\theta P θ , the projection error e K ( θ , q ) : = ∥ ψ P θ , q ∗ − ψ P θ , q K ∥ L 2 ( P θ ) e_K(\theta,q):=\|\psi^*_{\mathbb{P}_\theta,q}-\psi^K_{\mathbb{P}_\theta,q}\|_{L_2(\mathbb{P}_\theta)} e K ( θ , q ) := ∥ ψ P θ , q ∗ − ψ P θ , q K ∥ L 2 ( P θ ) , with ψ P , q K \psi^K_{\mathbb{P},q} ψ P , q K as in Section E.3.4, satisfies
e K ( θ , q ) 1 / 2 ≤ ∥ ψ P θ , q ∗ − Π K ψ P θ , q ∗ ∥ L 2 ( P θ ) ≤ C ∥ ψ P θ , q ∗ − Π K ψ P θ , q ∗ ∥ L 2 ( P 0 ) , e_K(\theta,q)^{1/2}\leq\|\psi^*_{\mathbb{P}_\theta,q}-\Pi_K\psi^*_{\mathbb{P}_\theta,q}\|_{L_2(\mathbb{P}_\theta)}\leq C\|\psi^*_{\mathbb{P}_\theta,q}-\Pi_K\psi^*_{\mathbb{P}_\theta,q}\|_{L_2(\mathbb{P}_0)}, e K ( θ , q ) 1/2 ≤ ∥ ψ P θ , q ∗ − Π K ψ P θ , q ∗ ∥ L 2 ( P θ ) ≤ C ∥ ψ P θ , q ∗ − Π K ψ P θ , q ∗ ∥ L 2 ( P 0 ) ,
where Π K \Pi_K Π K denotes the componentwise L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) projection onto span ( 1 , b 1 , ⋯ , b K ) \operatorname{span}(1,b_1,\cdots,b_K) span ( 1 , b 1 , ⋯ , b K ) , the first inequality holds because Π K ψ P θ , q ∗ − E P θ Π K ψ P θ , q ∗ \Pi_K\psi^*_{\mathbb{P}_\theta,q}-\mathbb{E}_{\mathbb{P}_\theta}\Pi_K\psi^*_{\mathbb{P}_\theta,q} Π K ψ P θ , q ∗ − E P θ Π K ψ P θ , q ∗ lies componentwise in span { b k − E P θ b k : \operatorname{span}\{b_k-\mathbb{E}_{\mathbb{P}_\theta}b_k: span { b k − E P θ b k : k ∈ [ K ] k \in[K] k ∈ [ K ] , and the second follows from the density envelope. With ϑ \vartheta ϑ , B ∞ \mathcal{B}_{\infty} B ∞ and P ϑ \mathbb{P}_{\vartheta} P ϑ as defined before Lemma E.5 , for each q ∈ Q q \in\mathcal{Q} q ∈ Q and on the event B ∞ \mathcal{B}_{\infty} B ∞ , since Π K \Pi_K Π K is an orthogonal projection, we have
e K ( ϑ 1 : K , q ) 1 2 ≤ C ∥ ψ P ϑ 1 : K , q ⋆ − ψ P ϑ , q ⋆ ∥ L 2 ( P 0 ) + C ∥ ψ P ϑ , q ⋆ − Π K ψ P ϑ , q ⋆ ∥ L 2 ( P 0 ) = o ( 1 ) . e_K(\vartheta_{1:K},q)^{\frac{1}{2}} \le C\lVert\psi_{\mathbb{P}_{\vartheta_{1:K},q}}^{\star}-\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\rVert_{L_2(\mathbb{P}_0)}+C\lVert\psi_{\mathbb{P}_{\vartheta,q}}^{\star}-\Pi_K\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\rVert_{L_2(\mathbb{P}_0)}=o(1). e K ( ϑ 1 : K , q ) 2 1 ≤ C ∥ ψ P ϑ 1 : K , q ⋆ − ψ P ϑ , q ⋆ ∥ L 2 ( P 0 ) + C ∥ ψ P ϑ , q ⋆ − Π K ψ P ϑ , q ⋆ ∥ L 2 ( P 0 ) = o ( 1 ) .
where the first term vanishes by Assumption 1(iii), as ∥ d P ϑ 1 : K / d P 0 − d P ϑ / d P 0 ∥ ∞ ≤ C ∑ k > K ∣ ϑ k ∣ \lVert\mathrm{d}\mathbb{P}_{\vartheta_{1:K}}/\mathrm{d}\mathbb{P}_0-\mathrm{d}\mathbb{P}_{\vartheta}/\mathrm{d}\mathbb{P}_0\rVert_{\infty}\le C\sum_{k>K}|\vartheta_k| ∥ d P ϑ 1 : K / d P 0 − d P ϑ / d P 0 ∥ ∞ ≤ C ∑ k > K ∣ ϑ k ∣ , and the second by the completeness of the basis, while e K ≤ C e_K \le C e K ≤ C by Assumption 1(i). By conditional centring and (E.35), we have
E P ϑ ∥ G N ( ψ P ϑ , q K − ψ P ϑ , q ⋆ ) ∥ 2 = e K ( ϑ , q ) and \mathbb{E}_{\mathbb{P}_{\vartheta}}\lVert G_N(\psi_{\mathbb{P}_{\vartheta,q}}^K-\psi_{\mathbb{P}_{\vartheta,q}}^{\star})\rVert^2=e_K(\vartheta,q)\quad\text{and} E P ϑ ∥ G N ( ψ P ϑ , q K − ψ P ϑ , q ⋆ ) ∥ 2 = e K ( ϑ , q ) and
∥ V q ⋆ ( P ϑ ) − E P ϑ { ( ψ P ϑ , q K ) ⊗ 2 } ∥ o p ≤ e K ( ϑ , q ) . (23) \lVert V_q^{\star}(\mathbb{P}_{\vartheta})-\mathbb{E}_{\mathbb{P}_{\vartheta}}\{(\psi_{\mathbb{P}_{\vartheta,q}}^K)^{\otimes2}\}\rVert_{\mathrm{op}}\le e_K(\vartheta,q). \tag*{(23)} ∥ V q ⋆ ( P ϑ ) − E P ϑ {( ψ P ϑ , q K ) ⊗ 2 } ∥ op ≤ e K ( ϑ , q ) . (23)
By the triangle inequality, (E.7) and 1 ∧ ( 2 x + y ) ≤ 2 ( 1 ∧ x ) + y 1\wedge(2x+y)\le2(1\wedge x)+y 1 ∧ ( 2 x + y ) ≤ 2 ( 1 ∧ x ) + y for x , y ≥ 0 x,y\ge0 x , y ≥ 0 , we have
R N ≤ 2 R N K + 2 ∥ G N ( ψ P ϑ , q K − ψ P ϑ , q ⋆ ) ∥ 2 + C e K ( ϑ , q ) . \mathcal{R}_N\le2\mathcal{R}_N^K+2\lVert G_N(\psi_{\mathbb{P}_{\vartheta,q}}^K-\psi_{\mathbb{P}_{\vartheta,q}}^{\star})\rVert^2+Ce_K(\vartheta,q). R N ≤ 2 R N K + 2 ∥ G N ( ψ P ϑ , q K − ψ P ϑ , q ⋆ ) ∥ 2 + C e K ( ϑ , q ) .
Averaging over ( ϑ , q ) ∼ π K ⊗ π q (\vartheta,q)\sim\pi_K\otimes\pi_q ( ϑ , q ) ∼ π K ⊗ π q and D N ∼ P ϑ ⊗ N D_N\sim\mathbb{P}_{\vartheta}^{\otimes N} D N ∼ P ϑ ⊗ N , by Proposition E.1, (E.7) and (E.29), we obtain
E π E P R N ≤ 2 E π E P R N K + C E π K ⊗ π q e K = o ( 1 ) , (24) \mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}\mathcal{R}_N\le2\mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}\mathcal{R}_N^K+C\mathbb{E}_{\pi_K\otimes\pi_q}e_K=o(1), \tag*{(24)} E π E P R N ≤ 2 E π E P R N K + C E π K ⊗ π q e K = o ( 1 ) , (24)
which, by (E.2) with φ = R N \varphi=\mathcal{R}_N φ = R N and Markov’s inequality, proves (7) for the sieve prior.
We finally extend the expansion to the priors of Assumptions 3 and 4, with the sequences c N , h N c_N,h_N c N , h N and the bound C w C_w C w therein. Let R ‾ N \overline{\mathcal{R}}_N R N denote (E.36) with f π K f_{\pi_K} f π K in place of f π f_{\pi} f π , where f π K f_{\pi_K} f π K , P ϑ , g \mathbb{P}_{\vartheta,g} P ϑ , g and ϵ π , N \epsilon_{\pi,N} ϵ π , N are as in Section E.3.5. By (E.47) and Lemma E.8 , we have
E π P ⊗ π q E P R N ≤ 2 E π P ⊗ π q E P R ‾ N + C ϵ π , N \mathbb{E}_{\pi_P\otimes\pi_q}\mathbb{E}_{\mathbb{P}}\mathcal{R}_N\le2\mathbb{E}_{\pi_P\otimes\pi_q}\mathbb{E}_{\mathbb{P}}\overline{\mathcal{R}}_N+C\epsilon_{\pi,N} E π P ⊗ π q E P R N ≤ 2 E π P ⊗ π q E P R N + C ϵ π , N
≤ 2 C w sup g E π K ⊗ π q E P ϑ , g R ‾ N ( P ϑ , g , q , D N ) + C ϵ π , N , (25) \le2C_w\sup_g\mathbb{E}_{\pi_K\otimes\pi_q}\mathbb{E}_{\mathbb{P}_{\vartheta,g}}\overline{\mathcal{R}}_N(\mathbb{P}_{\vartheta,g},q,D_N)+C\epsilon_{\pi,N}, \tag*{(25)} ≤ 2 C w g sup E π K ⊗ π q E P ϑ , g R N ( P ϑ , g , q , D N ) + C ϵ π , N , (25)
where ϵ π , N = o ( 1 ) \epsilon_{\pi,N}=o(1) ϵ π , N = o ( 1 ) by Assumptions 3 and 4. Hence it suffices to bound the last expectation at P : = P ϑ , g N \mathbb{P}:=\mathbb{P}_{\vartheta,g_N} P := P ϑ , g N for every sequence g N ∈ { g P 0 , K : P 0 ∈ P π } g_N\in\{g_{\mathbb{P}_0,K}:\mathbb{P}_0\in\mathcal{P}_{\pi}\} g N ∈ { g P 0 , K : P 0 ∈ P π } , for which we have
N { m π K − β q ( P ) } − G N ψ P , q ⋆ = N { m π K − β q ( P ϑ ) − P N ψ P ϑ , q ⋆ } − N { β q ( P ) − β q ( P ϑ ) − E P ψ P ϑ , q ⋆ } + G N ( ψ P ϑ , q ⋆ − ψ P , q ⋆ ) , (26) \sqrt{N}\{m_{\pi_K}-\beta_q(\mathbb{P})\}-G_N\psi_{\mathbb{P},q}^{\star}
=\sqrt{N}\{m_{\pi_K}-\beta_q(\mathbb{P}_{\vartheta})-\mathbb{P}_N\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\}-\sqrt{N}\{\beta_q(\mathbb{P})-\beta_q(\mathbb{P}_{\vartheta})-\mathbb{E}_{\mathbb{P}}\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\}+G_N(\psi_{\mathbb{P}_{\vartheta,q}}^{\star}-\psi_{\mathbb{P},q}^{\star}), \tag*{(26)} N { m π K − β q ( P )} − G N ψ P , q ⋆ = N { m π K − β q ( P ϑ ) − P N ψ P ϑ , q ⋆ } − N { β q ( P ) − β q ( P ϑ ) − E P ψ P ϑ , q ⋆ } + G N ( ψ P ϑ , q ⋆ − ψ P , q ⋆ ) , (26)
where G N G_N G N is centred under P \mathbb{P} P , the first term is the mean error in R ‾ N ( P ϑ , q , D N ) \overline{\mathcal{R}}_N(\mathbb{P}_{\vartheta},q,D_N) R N ( P ϑ , q , D N ) as E P ϑ ψ P ϑ , q ⋆ = 0 \mathbb{E}_{\mathbb{P}_{\vartheta}}\psi_{\mathbb{P}_{\vartheta,q}}^{\star}=0 E P ϑ ψ P ϑ , q ⋆ = 0 , and the last term has second moment at most Δ ψ 2 \Delta_{\psi}^2 Δ ψ 2 for Δ ψ : = ∥ ψ P , q ⋆ − ψ P ϑ , q ⋆ ∥ L 2 ( P ) \Delta_{\psi}:=\lVert\psi_{\mathbb{P},q}^{\star}-\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\rVert_{L_2(\mathbb{P})} Δ ψ := ∥ ψ P , q ⋆ − ψ P ϑ , q ⋆ ∥ L 2 ( P ) . Moreover,
N ∥ β q ( P ) − β q ( P ϑ ) − E P ψ P ϑ , q ⋆ ∥ ≤ (i) C { N χ 2 ( P ∥ P ϑ ) } 1 2 ≤ (ii) C c N 1 2 , (27) \sqrt{N}\lVert\beta_q(\mathbb{P})-\beta_q(\mathbb{P}_{\vartheta})-\mathbb{E}_{\mathbb{P}}\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\rVert\overset{\text{(i)}}{\le} C\{N\chi^2(\mathbb{P}\mathbin\Vert\mathbb{P}_{\vartheta})\}^{\frac{1}{2}}\overset{\text{(ii)}}{\le}Cc_N^{\frac{1}{2}}, \tag*{(27)} N ∥ β q ( P ) − β q ( P ϑ ) − E P ψ P ϑ , q ⋆ ∥ ≤ (i) C { N χ 2 ( P ∥ P ϑ ) } 2 1 ≤ (ii) C c N 2 1 , (27)
∥ V q ⋆ ( P ) − V q ⋆ ( P ϑ ) ∥ F ≤ (iii) ∥ E P { ( ψ P , q ⋆ ) ⊗ 2 − ( ψ P ϑ , q ⋆ ) ⊗ 2 } ∥ F + ( e 2 h N − 1 ) E P ϑ ∥ ψ P ϑ , q ⋆ ∥ 2 ≤ C ( Δ ψ + h N ) . (28) \begin{aligned}
\lVert V_q^{\star}(\mathbb{P})-V_q^{\star}(\mathbb{P}_{\vartheta})\rVert_F\overset{\text{(iii)}}{\le}\lVert\mathbb{E}_{\mathbb{P}}\{(\psi_{\mathbb{P},q}^{\star})^{\otimes2}-(\psi_{\mathbb{P}_{\vartheta,q}}^{\star})^{\otimes2}\}\rVert_F+(e^{2h_N}-1)\mathbb{E}_{\mathbb{P}_{\vartheta}}\lVert\psi_{\mathbb{P}_{\vartheta,q}}^{\star}\rVert^2 \\
&\le C(\Delta_{\psi}+h_N). \tag*{(28)}
\end{aligned} ∥ V q ⋆ ( P ) − V q ⋆ ( P ϑ ) ∥ F ≤ (iii) ∥ E P {( ψ P , q ⋆ ) ⊗ 2 − ( ψ P ϑ , q ⋆ ) ⊗ 2 } ∥ F + ( e 2 h N − 1 ) E P ϑ ∥ ψ P ϑ , q ⋆ ∥ 2 ≤ C ( Δ ψ + h N ) . (28)
where (i) follows from (E.1), ∥ p − d P θ / d P 0 ∥ L 2 ( P 0 ) 2 ≤ C χ 2 ( P ∥ P θ ) \lVert p-\mathrm{d}P_\theta/\mathrm{d}P_0\rVert_{L^2(P_0)}^2 \le C\chi^2(P\mathbin\Vert P_\theta) ∥ p − d P θ / d P 0 ∥ L 2 ( P 0 ) 2 ≤ C χ 2 ( P ∥ P θ ) , E P θ ψ P θ , q ∗ = E P θ { ( d P / d P θ − 1 ) ψ P θ , q ∗ } \mathbb{E}_{P_\theta}\psi_{P_\theta,q}^*=\mathbb{E}_{P_\theta}\{(\mathrm{d}P/\mathrm{d}P_\theta-1)\psi_{P_\theta,q}^*\} E P θ ψ P θ , q ∗ = E P θ {( d P / d P θ − 1 ) ψ P θ , q ∗ } , Cauchy–Schwarz and Assumption 1(i), (ii) and (iii) from (E.46), and (iv) from Cauchy–Schwarz and Assumption 1(i). Consequently, we obtain
E π K ⊗ π q E P R ‾ N ( P , q , D N ) ≤ ( i ) 3 E π K ⊗ π q E P R ‾ N ( P θ , q , D N ) + C ( c N + h N 2 + E π K ⊗ π q Δ ψ 2 ) ≤ ( i i ) 3 E π K ⊗ π q E P θ R ‾ N ( P θ , q , D N ) + C E π K ⊗ π q Δ ψ 2 + o ( 1 ) = ( i i i ) C E π K ⊗ π q Δ ψ 2 + o ( 1 ) , (29) \begin{aligned}
\mathbb{E}_{\pi_K\otimes\pi_q}\mathbb{E}_P\overline{\mathcal{R}}_N(P,q,D_N)
&\overset{(i)}{\le}3\mathbb{E}_{\pi_K\otimes\pi_q}\mathbb{E}_P\overline{\mathcal{R}}_N(P_\theta,q,D_N)+C(c_N+h_N^2+\mathbb{E}_{\pi_K\otimes\pi_q}\Delta_\psi^2)\\
&\overset{(ii)}{\le}3\mathbb{E}_{\pi_K\otimes\pi_q}\mathbb{E}_{P_\theta}\overline{\mathcal{R}}_N(P_\theta,q,D_N)+C\mathbb{E}_{\pi_K\otimes\pi_q}\Delta_\psi^2+o(1)\\
&\overset{(iii)}{=}C\mathbb{E}_{\pi_K\otimes\pi_q}\Delta_\psi^2+o(1), \tag*{(29)}
\end{aligned} E π K ⊗ π q E P R N ( P , q , D N ) ≤ ( i ) 3 E π K ⊗ π q E P R N ( P θ , q , D N ) + C ( c N + h N 2 + E π K ⊗ π q Δ ψ 2 ) ≤ ( ii ) 3 E π K ⊗ π q E P θ R N ( P θ , q , D N ) + C E π K ⊗ π q Δ ψ 2 + o ( 1 ) = ( iii ) C E π K ⊗ π q Δ ψ 2 + o ( 1 ) , (29)
where (i) follows from (E.10)–(E.12), ∥ a + b + c ∥ 2 ≤ 3 ( ∥ a ∥ 2 + ∥ b ∥ 2 + ∥ c ∥ 2 ) \lVert a+b+c\rVert^2\le3(\lVert a\rVert^2+\lVert b\rVert^2+\lVert c\rVert^2) ∥ a + b + c ∥ 2 ≤ 3 (∥ a ∥ 2 + ∥ b ∥ 2 + ∥ c ∥ 2 ) and 1 ∧ ( 3 x + y ) ≤ 3 ( 1 ∧ x ) + y 1\wedge(3x+y)\le3(1\wedge x)+y 1 ∧ ( 3 x + y ) ≤ 3 ( 1 ∧ x ) + y for x , y ≥ 0 x,y\ge0 x , y ≥ 0 , (ii) from Lemma E.7 and (E.46), and (iii) from (E.8).
It remains to show that E π K ⊗ π q Δ ψ 2 = o ( 1 ) \mathbb{E}_{\pi_K\otimes\pi_q}\Delta_\psi^2=o(1) E π K ⊗ π q Δ ψ 2 = o ( 1 ) . For q ∈ Q q\in\mathcal{Q} q ∈ Q , let θ : = ϑ 1 : K \theta:=\vartheta_{1:K} θ := ϑ 1 : K on B ∞ \mathcal{B}_\infty B ∞ . Since ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ → 0 \lVert\mathrm{d}P_\theta/\mathrm{d}P_0-\mathrm{d}P_\vartheta/\mathrm{d}P_0\rVert_\infty\to0 ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ → 0 , by (E.46) and the density envelope we have
∥ p − d P ϑ / d P 0 ∥ ∞ + ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ ≤ C ( e 2 h N − 1 ) + 2 ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ = o ( 1 ) , \lVert p-\mathrm{d}P_\vartheta/\mathrm{d}P_0\rVert_\infty+\lVert\mathrm{d}P_\theta/\mathrm{d}P_0-\mathrm{d}P_\vartheta/\mathrm{d}P_0\rVert_\infty\le C(e^{2h_N}-1)+2\lVert\mathrm{d}P_\theta/\mathrm{d}P_0-\mathrm{d}P_\vartheta/\mathrm{d}P_0\rVert_\infty=o(1), ∥ p − d P ϑ / d P 0 ∥ ∞ + ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ ≤ C ( e 2 h N − 1 ) + 2 ∥ d P θ / d P 0 − d P ϑ / d P 0 ∥ ∞ = o ( 1 ) ,
so that Δ ψ = o ( 1 ) \Delta_\psi=o(1) Δ ψ = o ( 1 ) by Assumption 1(iii) at P ϑ P_\vartheta P ϑ and the density envelope. Since Δ ψ ≤ C \Delta_\psi\le C Δ ψ ≤ C by Assumption 1(i), applying (E.29) to Δ ψ 2 \Delta_\psi^2 Δ ψ 2 , we obtain E π K ⊗ π q Δ ψ 2 = o ( 1 ) \mathbb{E}_{\pi_K\otimes\pi_q}\Delta_\psi^2=o(1) E π K ⊗ π q Δ ψ 2 = o ( 1 ) . Consequently, by (E.2), (E.9) and (E.13),
E ν E P R N ≤ { ( 1 + C ) E π P ⊗ π q E P R N } 1 / 2 = o ( 1 ) , \mathbb{E}_\nu\mathbb{E}_P\mathcal{R}_N\le\left\{(1+C)\mathbb{E}_{\pi_P\otimes\pi_q}\mathbb{E}_P\mathcal{R}_N\right\}^{1/2}=o(1), E ν E P R N ≤ { ( 1 + C ) E π P ⊗ π q E P R N } 1/2 = o ( 1 ) ,
which proves (7) for these priors by Markov’s inequality and completes the proof. □
Technical lemmas for Theorem 1
We first introduce some notations that will be used in this part. At a context ( D N , q ) (D_N,q) ( D N , q ) , with b ( K ) b_{(K)} b ( K ) , A K A_K A K , Λ K \Lambda_K Λ K and Θ K \Theta_K Θ K as in Section B.2. For θ ∈ R K \theta\in\mathbb{R}^K θ ∈ R K , we define, b ˉ : = E P N b ( K ) \bar b:=\mathbb{E}_{P_N}b_{(K)} b ˉ := E P N b ( K ) , s θ : = b ( K ) − E P θ b ( K ) s_\theta:=b_{(K)}-\mathbb{E}_{P_\theta}b_{(K)} s θ := b ( K ) − E P θ b ( K ) , I K ( θ ) : = Cov P θ { b ( K ) } I_K(\theta):=\operatorname{Cov}_{P_\theta}\{b_{(K)}\} I K ( θ ) := Cov P θ { b ( K ) } and
V N ( θ ) : = N { A K ( θ ) − θ T b ˉ } + θ T Λ K − 1 θ / 2. \mathcal{V}_N(\theta):=N\{A_K(\theta)-\theta^\mathsf{T}\bar b\}+\theta^\mathsf{T}\Lambda_K^{-1}\theta/2. V N ( θ ) := N { A K ( θ ) − θ T b ˉ } + θ T Λ K − 1 θ /2.
Under θ ∼ π K \theta\sim\pi_K θ ∼ π K and D N ∣ θ ∼ P θ ⊗ N D_N\mid\theta\sim P_\theta^{\otimes N} D N ∣ θ ∼ P θ ⊗ N , the coefficient posterior of θ \theta θ given D N D_N D N has density p N : = e − V N / ∫ Θ K e − V N ( θ ) d θ p_N:=e^{-\mathcal{V}_N}/\int_{\Theta_K}e^{-\mathcal{V}_N(\theta)}\,\mathrm{d}\theta p N := e − V N / ∫ Θ K e − V N ( θ ) d θ on Θ K \Theta_K Θ K , and we let E N \mathbb{E}_N E N , Var N \operatorname{Var}_N Var N and Cov N \operatorname{Cov}_N Cov N denote the expectation, variance and covariance of θ ∼ p N \theta\sim p_N θ ∼ p N , respectively. The posterior mode θ ~ : = arg min θ ∈ Θ K V N ( θ ) \widetilde{\theta}:=\arg\min_{\theta\in\Theta_K}\mathcal{V}_N(\theta) θ := arg min θ ∈ Θ K V N ( θ ) is unique by the strong convexity in Lemma E.1.
For a sufficiently large constant C r C_r C r , let ρ N : = C r K log N / N \rho_N:=C_r\sqrt{K\log N/N} ρ N := C r K log N / N , and call a context ( D N , q ) (D_N,q) ( D N , q ) regular if ( D N , q ) ∈ E N (D_N,q)\in\mathcal{E}_N ( D N , q ) ∈ E N , where
E N : = { ( D N , q ) ∈ Z N × Q : ∃ θ ′ ∈ R K : ∥ θ ′ − θ ~ ∥ ≤ ρ N } ⊂ Θ K . \mathcal{E}_N:=\{(D_N,q)\in\mathcal{Z}^N\times\mathcal{Q}:\exists\theta'\in\mathbb{R}^K:\lVert\theta'-\widetilde{\theta}\rVert\le\rho_N\}\subset\Theta_K. E N := {( D N , q ) ∈ Z N × Q : ∃ θ ′ ∈ R K : ∥ θ ′ − θ ∥ ≤ ρ N } ⊂ Θ K .
Definition E.1 (Mode approximation). The mode pair ( g , V ) (g,V) ( g , V ) at a context ( D N , q ) ∈ Z N × Q (D_N,q)\in\mathcal{Z}^N\times\mathcal{Q} ( D N , q ) ∈ Z N × Q is given by
g ( D N , q ) : = β q ( P θ ~ ) and V ( D N , q ) : = D q ( θ ~ ) { I K ( θ ~ ) + Λ K − 1 N } − 1 D q ( θ ~ ) T , (30) g(D_N,q):=\beta_q(P_{\widetilde{\theta}})\quad\text{and}\quad V(D_N,q):=D_q(\widetilde{\theta})\left\{I_K(\widetilde{\theta})+\frac{\Lambda_K^{-1}}{N}\right\}^{-1}D_q(\widetilde{\theta})^\mathsf{T}, \tag*{(30)} g ( D N , q ) := β q ( P θ ) and V ( D N , q ) := D q ( θ ) { I K ( θ ) + N Λ K − 1 } − 1 D q ( θ ) T , (30)
where D q ( θ ) D_q(\theta) D q ( θ ) is the Jacobian of θ ↦ β q ( P θ ) \theta\mapsto\beta_q(P_\theta) θ ↦ β q ( P θ ) in Assumption 1(ii).
Sieve curvature and query derivatives
Lemma E.1. There exist constants 0 < c ≤ C < ∞ 0 < c \le C < \infty 0 < c ≤ C < ∞ , depending only on B B B and the basis bound C ∞ C_\infty C ∞ of Section B.2, such that, for all K ≥ 1 K \ge1 K ≥ 1 and θ , θ ′ ∈ R K \theta,\theta' \in\mathbb{R}^{K} θ , θ ′ ∈ R K with ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 \|\theta\|_1,\|\theta'\|_1 \le B+1 ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 ,
c ≤ d P θ d P 0 ≤ C , c I ≤ I K ( θ ) ≤ C I and ∥ I K ( θ ) − I K ( θ ′ ) ∥ o p ≤ C K ∥ θ − θ ′ ∥ . c \le\frac{\mathrm{d}P_\theta}{\mathrm{d}P_0} \le C,\qquad cI \le I_K(\theta) \le CI \quad\text{and}\quad\|I_K(\theta)-I_K(\theta')\|_{\mathrm{op}} \le C\sqrt{K}\|\theta-\theta'\|. c ≤ d P 0 d P θ ≤ C , c I ≤ I K ( θ ) ≤ C I and ∥ I K ( θ ) − I K ( θ ′ ) ∥ op ≤ C K ∥ θ − θ ′ ∥.
Proof. We derive the density bounds from sup k , z ∣ b k ( z ) ∣ ≤ C ∞ \sup_{k,z}|b_k(z)| \le C_\infty sup k , z ∣ b k ( z ) ∣ ≤ C ∞ , compare I K ( θ ) I_K(\theta) I K ( θ ) with I K ( 0 ) = I I_K(0)=I I K ( 0 ) = I and then integrate third moments of s θ s_\theta s θ along coefficient segments.
For ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1 \le B+1 ∥ θ ∥ 1 ≤ B + 1 , both ∣ θ T b ( K ) ∣ |\theta^\mathsf{T}b_{(K)}| ∣ θ T b ( K ) ∣ and ∣ A K ( θ ) ∣ |A_K(\theta)| ∣ A K ( θ ) ∣ are at most C ∞ ( B + 1 ) C_\infty(B+1) C ∞ ( B + 1 ) , so that
e − 2 C ∞ ( B + 1 ) ≤ d P θ d P 0 ≤ e 2 C ∞ ( B + 1 ) . e^{-2C_\infty(B+1)} \le\frac{\mathrm{d}P_\theta}{\mathrm{d}P_0} \le e^{2C_\infty(B+1)}. e − 2 C ∞ ( B + 1 ) ≤ d P 0 d P θ ≤ e 2 C ∞ ( B + 1 ) .
which is the first claim. Since E P 0 b ( K ) = 0 \mathbb{E}_{P_0}b_{(K)}=0 E P 0 b ( K ) = 0 and Cov P 0 { b ( K ) } = I \operatorname{Cov}_{P_0}\{b_{(K)}\}=I Cov P 0 { b ( K ) } = I , by these density bounds, we obtain, for every v ∈ R K v\in\mathbb{R}^{K} v ∈ R K ,
v T I K ( θ ) v = inf t ∈ R E P θ { ( v T b ( K ) − t ) 2 } ≥ c inf t ∈ R E P 0 { ( v T b ( K ) − t ) 2 } = c ∥ v ∥ 2 , v^\mathsf{T}I_K(\theta)v=\inf_{t\in\mathbb{R}}\mathbb{E}_{P_\theta}\{(v^\mathsf{T}b_{(K)}-t)^2\}\ge c\inf_{t\in\mathbb{R}}\mathbb{E}_{P_0}\{(v^\mathsf{T}b_{(K)}-t)^2\}=c\|v\|^2, v T I K ( θ ) v = t ∈ R inf E P θ {( v T b ( K ) − t ) 2 } ≥ c t ∈ R inf E P 0 {( v T b ( K ) − t ) 2 } = c ∥ v ∥ 2 ,
v T I K ( θ ) v ≤ E P θ { ( v T b ( K ) ) 2 } ≤ C E P 0 { ( v T b ( K ) ) 2 } = C ∥ v ∥ 2 . (31) v^\mathsf{T}I_K(\theta)v\le\mathbb{E}_{P_\theta}\{(v^\mathsf{T}b_{(K)})^2\}\le C\mathbb{E}_{P_0}\{(v^\mathsf{T}b_{(K)})^2\}=C\|v\|^2. \tag*{(31)} v T I K ( θ ) v ≤ E P θ {( v T b ( K ) ) 2 } ≤ C E P 0 {( v T b ( K ) ) 2 } = C ∥ v ∥ 2 . (31)
which is the second claim. Since I K = ∇ 2 A K I_K=\nabla^2 A_K I K = ∇ 2 A K , by ∥ u T s θ ∥ ∞ ≤ 2 C ∞ K ∥ u ∥ \|u^\mathsf{T}s_\theta\|_\infty\le2C_\infty\sqrt{K}\|u\| ∥ u T s θ ∥ ∞ ≤ 2 C ∞ K ∥ u ∥ and (E.15), the directional derivative ∂ u { v T I K ( θ ) v } : = ∂ t { v T I K ( θ + t u ) v } ∣ t = 0 \partial_u\{v^\mathsf{T}I_K(\theta)v\}:=\partial_t\{v^\mathsf{T}I_K(\theta+tu)v\}|_{t=0} ∂ u { v T I K ( θ ) v } := ∂ t { v T I K ( θ + t u ) v } ∣ t = 0 along u ∈ R K u\in\mathbb{R}^{K} u ∈ R K satisfies
∣ ∂ u { v T I K ( θ ) v } ∣ = ∣ E P θ { ( v T s θ ) 2 u T s θ } ∣ ≤ 2 C ∞ K ∥ u ∥ v T I K ( θ ) v ≤ C K ∥ u ∥ ∥ v ∥ 2 . |\partial_u\{v^\mathsf{T}I_K(\theta)v\}|=|\mathbb{E}_{P_\theta}\{(v^\mathsf{T}s_\theta)^2u^\mathsf{T}s_\theta\}|\le2C_\infty\sqrt{K}\|u\|v^\mathsf{T}I_K(\theta)v\le C\sqrt{K}\|u\|\|v\|^2. ∣ ∂ u { v T I K ( θ ) v } ∣ = ∣ E P θ {( v T s θ ) 2 u T s θ } ∣ ≤ 2 C ∞ K ∥ u ∥ v T I K ( θ ) v ≤ C K ∥ u ∥∥ v ∥ 2 .
Integrating this bound at θ + t ( θ ′ − θ ) \theta+t(\theta'-\theta) θ + t ( θ ′ − θ ) with u : = θ ′ − θ u:=\theta'-\theta u := θ ′ − θ over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , as ∥ θ + t ( θ ′ − θ ) ∥ 1 ≤ B + 1 \|\theta+t(\theta'-\theta)\|_1\le B+1 ∥ θ + t ( θ ′ − θ ) ∥ 1 ≤ B + 1 , and using the symmetry of I K I_K I K , we obtain
∥ I K ( θ ′ ) − I K ( θ ) ∥ o p = sup ∥ v ∥ = 1 ∣ v T { I K ( θ ′ ) − I K ( θ ) } v ∣ ≤ C K ∥ θ ′ − θ ∥ . \|I_K(\theta')-I_K(\theta)\|_{\mathrm{op}}=\sup_{\|v\|=1}|v^\mathsf{T}\{I_K(\theta')-I_K(\theta)\}v|\le C\sqrt{K}\|\theta'-\theta\|. ∥ I K ( θ ′ ) − I K ( θ ) ∥ op = ∥ v ∥ = 1 sup ∣ v T { I K ( θ ′ ) − I K ( θ )} v ∣ ≤ C K ∥ θ ′ − θ ∥.
which is the third claim and completes the proof.
Lemma E.2. Under Assumption 1(i), there exists a constant C C C , depending only on B B B , C ∞ C_\infty C ∞ and the constant in Assumption 1, such that, for all K ≥ 1 K\ge1 K ≥ 1 , q ∈ Q q\in\mathcal{Q} q ∈ Q and θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1\le B+1 ∥ θ ∥ 1 ≤ B + 1 , the Jacobian D q ( θ ) D_q(\theta) D q ( θ ) of θ ↦ β q ( P θ ) \theta\mapsto\beta_q(P_\theta) θ ↦ β q ( P θ ) satisfies
D q ( θ ) = E P θ ( ψ P θ , q ⋆ s θ T ) and ∥ D q ( θ ) ∥ o p ≤ C , (32) D_q(\theta)=\mathbb{E}_{P_\theta}(\psi^\star_{P_\theta,q}s_\theta^\mathsf{T})\quad\text{and}\quad\|D_q(\theta)\|_{\mathrm{op}}\le C, \tag*{(32)} D q ( θ ) = E P θ ( ψ P θ , q ⋆ s θ T ) and ∥ D q ( θ ) ∥ op ≤ C , (32) and, if Assumption 1(ii) also holds, then, for all θ ′ ∈ R K \theta'\in\mathbb{R}^{K} θ ′ ∈ R K with ∥ θ ′ ∥ 1 ≤ B + 1 \|\theta'\|_1\le B+1 ∥ θ ′ ∥ 1 ≤ B + 1 and Δ : = θ ′ − θ \Delta:=\theta'-\theta Δ := θ ′ − θ ,
∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) Δ ∥ ≤ C K ∥ Δ ∥ 2 . (33) \|\beta_q(P_{\theta'})-\beta_q(P_\theta)-D_q(\theta)\Delta\|\le C\sqrt{K}\|\Delta\|^2. \tag*{(33)} ∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) Δ∥ ≤ C K ∥Δ ∥ 2 . (33)
Proof. We identify D q D_q D q through the scores of the paths t ↦ P θ + t v t\mapsto P_{\theta+tv} t ↦ P θ + t v and then integrate the Lipschitz bound of Assumption 1(ii) along coefficient segments. For v ∈ R K v \in\mathbb{R}^{K} v ∈ R K , by the density envelope, the path t ↦ P θ + t v t \mapsto\mathbb{P}_{\theta+tv} t ↦ P θ + t v lies in P \mathcal{P} P for ∣ t ∣ ∥ v ∥ 1 < 1 |t|\|v\|_{1}<1 ∣ t ∣∥ v ∥ 1 < 1 and has score v T s θ v^{\mathsf{T}}s_{\theta} v T s θ at t = 0 t=0 t = 0 . Hence, by Assumption 1(i), Cauchy–Schwarz and (E.15), we have
∥ D q ( θ ) v ∥ = ∥ E P θ ( ψ P θ , q ∗ v T s θ ) ∥ ≤ { E P θ ∥ ψ P θ , q ∗ ∥ 2 } 1 / 2 { v T I K ( θ ) v } 1 / 2 ≤ C ∥ v ∥ . \|D_{q}(\theta)v\|=\|\mathbb{E}_{P_{\theta}}(\psi_{P_{\theta,q}}^{*}v^{\mathsf{T}}s_{\theta})\|\leq\{\mathbb{E}_{P_{\theta}}\|\psi_{P_{\theta,q}}^{*}\|^{2}\}^{1/2}\{v^{\mathsf{T}}I_{K}(\theta)v\}^{1/2}\leq C\|v\|. ∥ D q ( θ ) v ∥ = ∥ E P θ ( ψ P θ , q ∗ v T s θ ) ∥ ≤ { E P θ ∥ ψ P θ , q ∗ ∥ 2 } 1/2 { v T I K ( θ ) v } 1/2 ≤ C ∥ v ∥.
Since ∥ θ + t Δ ∥ 1 ≤ B + 1 \|\theta+t\Delta\|_{1}\leq B+1 ∥ θ + t Δ ∥ 1 ≤ B + 1 for t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , integrating ∂ t β q ( P θ + t Δ ) = D q ( θ + t Δ ) Δ \partial_{t}\beta_{q}(\mathbb{P}_{\theta+t\Delta})=D_{q}(\theta+t\Delta)\Delta ∂ t β q ( P θ + t Δ ) = D q ( θ + t Δ ) Δ over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] and applying Assumption 1(ii), we obtain
∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) Δ ∥ ≤ ∫ 0 1 ∥ D q ( θ + t Δ ) − D q ( θ ) ∥ o p ∥ Δ ∥ d t ≤ C K ∥ Δ ∥ 2 , \|\beta_{q}(\mathbb{P}_{\theta'})-\beta_{q}(\mathbb{P}_{\theta})-D_{q}(\theta)\Delta\|\leq\int_{0}^{1}\|D_{q}(\theta+t\Delta)-D_{q}(\theta)\|_{\mathrm{op}}\|\Delta\|\,dt\leq C\sqrt{K}\|\Delta\|^{2}, ∥ β q ( P θ ′ ) − β q ( P θ ) − D q ( θ ) Δ∥ ≤ ∫ 0 1 ∥ D q ( θ + t Δ ) − D q ( θ ) ∥ op ∥Δ∥ d t ≤ C K ∥Δ ∥ 2 ,
which is (E.17) and completes the proof.
Posterior concentration
Lemma E.3 (Posterior concentration). Under π K \pi_{K} π K and Assumption 1(i), there exists a constant s 0 < ∞ s_{0}<\infty s 0 < ∞ , depending only on B B B , C ∞ C_{\infty} C ∞ and the constant in Assumption 1, such that, for all N N N , K K K , contexts ( D N , q ) (D_{N},q) ( D N , q ) , u ∈ R d u\in\mathbb{R}^{d} u ∈ R d with ∥ u ∥ = 1 \|u\|=1 ∥ u ∥ = 1 and t ∈ R t\in\mathbb{R} t ∈ R ,
log E N exp [ t N u T { β q ( P θ ) − m π } ] ≤ s 0 2 t 2 2 , \log\mathbb{E}_{N}\exp\left[t\sqrt{N}u^{\mathsf{T}}\{\beta_{q}(\mathbb{P}_{\theta})-m_{\pi}\}\right]\leq\frac{s_{0}^{2}t^{2}}{2}, log E N exp [ t N u T { β q ( P θ ) − m π } ] ≤ 2 s 0 2 t 2 , where E N \mathbb{E}_{N} E N is the expectation over θ ∼ p N \theta\sim p_{N} θ ∼ p N .
Proof. We derive logarithmic Sobolev and Poincaré inequalities from the strong log-concavity of the posterior and then apply Herbst’s argument to the Lipschitz function θ ↦ N u T β q ( P θ ) \theta\mapsto\sqrt{N}u^{\mathsf{T}}\beta_{q}(\mathbb{P}_{\theta}) θ ↦ N u T β q ( P θ ) .
By Lemma E.1, ∇ 2 V N ⪰ c N I \nabla^{2}\mathcal{V}_{N}\succeq cNI ∇ 2 V N ⪰ c N I on Θ K \Theta_{K} Θ K , so that W ( θ ) : = V N ( θ ) − c N ∥ θ ∥ 2 / 2 W(\theta):=\mathcal{V}_{N}(\theta)-cN\|\theta\|^{2}/2 W ( θ ) := V N ( θ ) − c N ∥ θ ∥ 2 /2 is convex on Θ K \Theta_{K} Θ K . We extend W W W by its supporting planes and penalise the distance to Θ K \Theta_{K} Θ K , defining, for x ∈ R K x\in\mathbb{R}^{K} x ∈ R K and j ≥ 1 j\geq1 j ≥ 1 ,
W ~ ( x ) : = sup y ∈ Θ K { W ( y ) + ∇ W ( y ) T ( x − y ) } and V j ( x ) : = c N 2 ∥ x ∥ 2 + W ~ ( x ) + j dist ( x , Θ K ) 2 , \widetilde{W}(x):=\sup_{y\in\Theta_{K}}\{W(y)+\nabla W(y)^{\mathsf{T}}(x-y)\}\quad\text{and}\quad V_{j}(x):=\frac{cN}{2}\|x\|^{2}+\widetilde{W}(x)+j\,\operatorname{dist}(x,\Theta_{K})^{2}, W ( x ) := y ∈ Θ K sup { W ( y ) + ∇ W ( y ) T ( x − y )} and V j ( x ) := 2 c N ∥ x ∥ 2 + W ( x ) + j dist ( x , Θ K ) 2 ,
where W ~ = W \widetilde{W}=W W = W on Θ K \Theta_{K} Θ K by convexity and the slopes are bounded by compactness. Mollifying the last two terms of V j V_{j} V j with radii at most one preserves the curvature c N cN c N and, by a supporting plane of W ~ \widetilde{W} W , the envelope, with C C C depending on N N N , K K K and D N D_{N} D N ,
e − V j ( x ) ≤ exp { − c N ∥ x ∥ 2 / 2 + C ∥ x ∥ + C } , for x ∈ R K and j ≥ 1. e^{-V_{j}(x)}\leq\exp\{-cN\|x\|^{2}/2+C\|x\|+C\},\qquad\text{for }x\in\mathbb{R}^{K}\text{ and }j\geq1. e − V j ( x ) ≤ exp { − c N ∥ x ∥ 2 /2 + C ∥ x ∥ + C } , for x ∈ R K and j ≥ 1.
Applying the logarithmic Sobolev inequality (2.17) of Ledoux [54 ] for these potentials to the L L L -Lipschitz extension inf y ∈ Θ K { f ( y ) + L ∥ ⋅ − y ∥ } \inf_{y\in\Theta_{K}}\{f(y)+L\|\,\cdot-y\|\} inf y ∈ Θ K { f ( y ) + L ∥ ⋅ − y ∥ } of an L L L -Lipschitz f f f on Θ K \Theta_{K} Θ K , and then removing the smoothing and letting j → ∞ j\to\infty j → ∞ , we obtain
Ent N ( f 2 ) ≤ 2 c N E N ∥ ∇ f ∥ 2 and Var N ( f ) ≤ 1 c N E N ∥ ∇ f ∥ 2 , (34) \operatorname{Ent}_{N}(f^{2})\leq\frac{2}{cN}\mathbb{E}_{N}\|\nabla f\|^{2}\quad\text{and}\quad\operatorname{Var}_{N}(f)\leq\frac{1}{cN}\mathbb{E}_{N}\|\nabla f\|^{2}, \tag*{(34)} Ent N ( f 2 ) ≤ c N 2 E N ∥∇ f ∥ 2 and Var N ( f ) ≤ c N 1 E N ∥∇ f ∥ 2 , (34)
where Ent N ( f 2 ) : = E N ( f 2 log f 2 ) − E N ( f 2 ) log E N ( f 2 ) \operatorname{Ent}_{N}(f^{2}):=\mathbb{E}_{N}(f^{2}\log f^{2})-\mathbb{E}_{N}(f^{2})\log\mathbb{E}_{N}(f^{2}) Ent N ( f 2 ) := E N ( f 2 log f 2 ) − E N ( f 2 ) log E N ( f 2 ) , the limits follow by dominated convergence (Durrett, [28 ] ), and the variance bound by linearisation, as in Proposition 2.1 of Ledoux [54 ] .
For an L L L -Lipschitz F : Θ K → R F : \Theta_K \to\mathbb{R} F : Θ K → R , applying Herbst’s argument in Proposition 2.3 of Ledoux [54 ] to (E.18), we have
log E N e t { F − E N ( F ) } ≤ t 2 L 2 2 c N , for t ∈ R . (35) \log\mathbb{E}_N e^{t\{F-\mathbb{E}_N(F)\}} \le\frac{t^2L^2}{2cN}, \qquad\text{for } t \in\mathbb{R}. \tag*{(35)} log E N e t { F − E N ( F )} ≤ 2 c N t 2 L 2 , for t ∈ R . (35)
By Lemma E.2 , F : = N u T β q ( P θ ) F := \sqrt{N}\,u^\mathsf{T}\beta_q(\mathbb{P}_\theta) F := N u T β q ( P θ ) is C N C\sqrt{N} C N -Lipschitz on Θ K \Theta_K Θ K for ∥ u ∥ = 1 \lVert u\rVert=1 ∥ u ∥ = 1 , and, applying (E.19) with L = C N L=C\sqrt{N} L = C N and E N F = N u T m π \mathbb{E}_N F=\sqrt{N}\,u^\mathsf{T}m_\pi E N F = N u T m π , we obtain the asserted bound with s 0 2 : = C 2 / c s_0^2 := C^2/c s 0 2 := C 2 / c .
The posterior mode
The coefficient posterior density p N p_N p N , which is continuous on Θ K \Theta_K Θ K , the posterior expectation E N \mathbb{E}_N E N and mode θ ~ \tilde{\theta} θ ~ , the average b ˉ = P N b ( K ) \bar{b}=\mathbb{P}_N b(K) b ˉ = P N b ( K ) , the radius ρ N \rho_N ρ N and the set E N \mathcal{E}_N E N of regular contexts are as in Section E.3. Let η ( θ ) \eta(\theta) η ( θ ) denote the outward unit normal at θ ∈ ∂ Θ K \theta\in\partial\Theta_K θ ∈ ∂ Θ K , and define the integrated boundary density by
B ∂ , N : = ∫ ∂ Θ K p N ( θ ) d H K − 1 ( θ ) , B_{\partial,N}:=\int_{\partial\Theta_K}p_N(\theta)\,\mathrm{d}\mathcal{H}^{K-1}(\theta), B ∂ , N := ∫ ∂ Θ K p N ( θ ) d H K − 1 ( θ ) ,
where H K − 1 \mathcal{H}^{K-1} H K − 1 is the ( K − 1 ) (K-1) ( K − 1 ) -dimensional Hausdorff measure.
Lemma E.4 (Posterior mode comparison). *Under π K \pi_K π K and Assumption 1(i)–(ii), if K 3 ≤ N K^3\le N K 3 ≤ N and ∥ Λ K − 1 ∥ o p ≤ C Λ N \lVert\Lambda_K^{-1}\rVert_{\mathrm{op}}\le C_\Lambda N ∥ Λ K − 1 ∥ op ≤ C Λ N for a constant C Λ > 0 C_\Lambda>0 C Λ > 0 , then there exists a constant C C C , depending only on B B B , C ∞ C_\infty C ∞ , C Λ C_\Lambda C Λ , C r C_r C r , d 0 = max k ∈ K d k d_0=\max_{k\in K}d_k d 0 = max k ∈ K d k and the constant in Assumption 1, such that, for every context ( D N , q ) (D_N,q) ( D N , q ) , the posterior moments ( m π , S π ) (m_\pi,S_\pi) ( m π , S π ) and the mode pair ( g , V ) (g,V) ( g , V ) of Definition E.1 satisfy ∥ S π ∥ F + ∥ V ∥ F ≤ C \lVert S_\pi\rVert_F+\lVert V\rVert_F\le C ∥ S π ∥ F + ∥ V ∥ F ≤ C and
N ∥ m π − g ∥ 2 ≤ C K and N ∥ m π − g ∥ ≤ C ( B ∂ , N + K 3 2 ) , N\lVert m_\pi-g\rVert^2\le CK \qquad\text{and}\qquad N\lVert m_\pi-g\rVert\le C\left(B_{\partial,N}+K^{\frac{3}{2}}\right), N ∥ m π − g ∥ 2 ≤ C K and N ∥ m π − g ∥ ≤ C ( B ∂ , N + K 2 3 ) , and, if ( D N , q ) ∈ E N (D_N,q)\in\mathcal{E}_N ( D N , q ) ∈ E N , then
N ∥ m π − g ∥ ≤ C K 3 2 N and ∥ S π − V ∥ F ≤ C K N . \sqrt{N}\lVert m_\pi-g\rVert\le\frac{CK^{\frac{3}{2}}}{\sqrt{N}} \qquad\text{and}\qquad\lVert S_\pi-V\rVert_F\le\frac{CK}{\sqrt{N}}. N ∥ m π − g ∥ ≤ N C K 2 3 and ∥ S π − V ∥ F ≤ N C K .
Proof. At every context, we bound the posterior moments about θ ~ \tilde{\theta} θ ~ and compare m π m_\pi m π with g g g by the Gauss–Green formula, and on E N \mathcal{E}_N E N we show B ∂ , N ≤ N − 8 B_{\partial,N}\le N^{-8} B ∂ , N ≤ N − 8 and bound ∥ S π − V ∥ F \lVert S_\pi-V\rVert_F ∥ S π − V ∥ F .
By the variational inequality ( θ − θ ~ ) T ∇ V N ( θ ~ ) ≥ 0 (\theta-\tilde{\theta})^\mathsf{T}\nabla V_N(\tilde{\theta})\ge0 ( θ − θ ~ ) T ∇ V N ( θ ~ ) ≥ 0 at the mode, strong convexity and the convexity of Θ K \Theta_K Θ K , we have, for θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K and for θ \theta θ on each boundary facet, respectively,
( θ − θ ~ ) T ∇ V N ( θ ) ≥ c N ∥ θ − θ ~ ∥ 2 and ( θ − θ ~ ) T η ( θ ) ≥ 0. (\theta-\tilde{\theta})^\mathsf{T}\nabla V_N(\theta)\ge cN\lVert\theta-\tilde{\theta}\rVert^2 \qquad\text{and}\qquad(\theta-\tilde{\theta})^\mathsf{T}\eta(\theta)\ge0. ( θ − θ ~ ) T ∇ V N ( θ ) ≥ c N ∥ θ − θ ~ ∥ 2 and ( θ − θ ~ ) T η ( θ ) ≥ 0.
Applying the Gauss–Green formula (Evans and Gariepy, [30 ] ) to the field ( θ − θ ~ ) e − V N ( θ ) (\theta-\tilde{\theta})e^{-V_N(\theta)} ( θ − θ ~ ) e − V N ( θ ) , whose divergence is { K − ( θ − θ ~ ) T ∇ V N ( θ ) } e − V N ( θ ) \{K-(\theta-\tilde{\theta})^\mathsf{T}\nabla V_N(\theta)\}e^{-V_N(\theta)} { K − ( θ − θ ~ ) T ∇ V N ( θ )} e − V N ( θ ) , we obtain
c N E N ∥ θ − θ ~ ∥ 2 ≤ E N { ( θ − θ ~ ) T ∇ V N ( θ ) } = K − ∫ ∂ Θ K ( θ − θ ~ ) T η p N d H K − 1 ≤ K . (36) cN\mathbb{E}_N\lVert\theta-\tilde{\theta}\rVert^2\le\mathbb{E}_N\{(\theta-\tilde{\theta})^\mathsf{T}\nabla V_N(\theta)\}=K-\int_{\partial\Theta_K}(\theta-\tilde{\theta})^\mathsf{T}\eta\,p_N\,\mathrm{d}\mathcal{H}^{K-1}\le K. \tag*{(36)} c N E N ∥ θ − θ ~ ∥ 2 ≤ E N {( θ − θ ~ ) T ∇ V N ( θ )} = K − ∫ ∂ Θ K ( θ − θ ~ ) T η p N d H K − 1 ≤ K . (36)
so that N ∥ m π − g ∥ 2 ≤ C N E N ∥ θ − θ ~ ∥ 2 ≤ C K N\lVert m_\pi-g\rVert^2\le CN\mathbb{E}_N\lVert\theta-\tilde{\theta}\rVert^2\le CK N ∥ m π − g ∥ 2 ≤ C N E N ∥ θ − θ ~ ∥ 2 ≤ C K by m π = E N β q ( P θ ) m_\pi=\mathbb{E}_N\beta_q(\mathbb{P}_\theta) m π = E N β q ( P θ ) , Jensen’s inequality and ∥ D q ∥ o p ≤ C \lVert D_q\rVert_{\mathrm{op}} \le C ∥ D q ∥ op ≤ C in (E.16), and ∥ S π ∥ F + ∥ V ∥ F ≤ C \lVert S_\pi\rVert_F+\lVert V\rVert_F\le C ∥ S π ∥ F + ∥ V ∥ F ≤ C by Lemmas E.3 , E.1 and E.2 , as d k ≤ d 0 d_k\le d_0 d k ≤ d 0 .
To compare E N θ \mathbb{E}_N\theta E N θ with θ ~ \tilde{\theta} θ ~ , let H : = I K ( θ ~ ) + Λ K − 1 / N H:=I_K(\tilde{\theta})+\Lambda_K^{-1}/N H := I K ( θ ~ ) + Λ K − 1 / N and define the gradient remainder r ( θ ) r(\theta) r ( θ ) by
∇ V N ( θ ) = ∇ V N ( θ ~ ) + N H ( θ − θ ~ ) + r ( θ ) , (37) \nabla V_N(\theta)=\nabla V_N(\tilde{\theta})+NH(\theta-\tilde{\theta})+r(\theta), \tag*{(37)} ∇ V N ( θ ) = ∇ V N ( θ ~ ) + N H ( θ − θ ~ ) + r ( θ ) , (37)
where, by Lemma E.1, ∥ r ( θ ) ∥ ≤ C N K ∥ θ − θ ~ ∥ 2 \lVert r(\theta)\rVert\le CN\sqrt{K}\lVert\theta-\tilde{\theta}\rVert^2 ∥ r ( θ )∥ ≤ C N K ∥ θ − θ ~ ∥ 2 and ∥ D θ r ( θ ) ∥ o p ≤ C N K ∥ θ − θ ~ ∥ \lVert D_\theta r(\theta)\rVert_{\mathrm{op}}\le CN\sqrt{K}\lVert\theta-\tilde{\theta}\rVert ∥ D θ r ( θ ) ∥ op ≤ C N K ∥ θ − θ ~ ∥ . By (E.20) and the Gauss–Green formula, we obtain
∥ E N r ∥ ≤ C K 3 2 and ∥ E N ∇ V N ( θ ) ∥ = ∥ ∫ ∂ Θ K η p N d H K − 1 ∥ ≤ B ∂ , N . (38) \lVert\mathbb{E}_N r\rVert\le CK^{\frac{3}{2}}\quad\text{and}\quad\lVert\mathbb{E}_N\nabla V_N(\theta)\rVert=\left\lVert\int_{\partial\Theta_K}\eta p_N\,d\mathcal{H}^{K-1}\right\rVert\le B_{\partial,N}. \tag*{(38)} ∥ E N r ∥ ≤ C K 2 3 and ∥ E N ∇ V N ( θ )∥ = ∫ ∂ Θ K η p N d H K − 1 ≤ B ∂ , N . (38)
Since E N θ ∈ Θ K \mathbb{E}_N\theta\in\Theta_K E N θ ∈ Θ K and H ⪰ c I H\succeq cI H ⪰ c I , we have
c N ∥ E N θ − θ ~ ∥ 2 ≤ ( E N θ − θ ~ ) T N H ( E N θ − θ ~ ) cN\lVert\mathbb{E}_N\theta-\tilde{\theta}\rVert^2\le(\mathbb{E}_N\theta-\tilde{\theta})^{\mathsf T}NH(\mathbb{E}_N\theta-\tilde{\theta}) c N ∥ E N θ − θ ~ ∥ 2 ≤ ( E N θ − θ ~ ) T N H ( E N θ − θ ~ )
= (i) ( E N θ − θ ~ ) T { E N ∇ V N ( θ ) − ∇ V N ( θ ~ ) − E N r } \underset{\text{(i)}}{=}(\mathbb{E}_N\theta-\tilde{\theta})^{\mathsf T}\{\mathbb{E}_N\nabla V_N(\theta)-\nabla V_N(\tilde{\theta})-\mathbb{E}_N r\} (i) = ( E N θ − θ ~ ) T { E N ∇ V N ( θ ) − ∇ V N ( θ ~ ) − E N r }
≤ (ii) ∥ E N θ − θ ~ ∥ ( B ∂ , N + C K 3 2 ) , (39) \underset{\text{(ii)}}{\le}\lVert\mathbb{E}_N\theta-\tilde{\theta}\rVert(B_{\partial,N}+CK^{\frac{3}{2}}), \tag*{(39)} (ii) ≤ ∥ E N θ − θ ~ ∥ ( B ∂ , N + C K 2 3 ) , (39)
where (i) averages (E.21) under E N \mathbb{E}_N E N , and (ii) uses (E.22) and the variational inequality ( E N θ − θ ~ ) T ∇ V N ( θ ~ ) ≥ 0 (\mathbb{E}_N\theta-\tilde{\theta})^{\mathsf T}\nabla V_N(\tilde{\theta})\ge0 ( E N θ − θ ~ ) T ∇ V N ( θ ~ ) ≥ 0 . Combining (E.23) with (E.17) and (E.20), we obtain
∥ m π − g ∥ ≤ C ∥ E N θ − θ ~ ∥ + C K E N ∥ θ − θ ~ ∥ 2 ≤ C N ( B ∂ , N + K 3 2 ) . (40) \lVert m_\pi-g\rVert\le C\lVert\mathbb{E}_N\theta-\tilde{\theta}\rVert+C\sqrt{K}\mathbb{E}_N\lVert\theta-\tilde{\theta}\rVert^2\le\frac{C}{N}\left(B_{\partial,N}+K^{\frac{3}{2}}\right). \tag*{(40)} ∥ m π − g ∥ ≤ C ∥ E N θ − θ ~ ∥ + C K E N ∥ θ − θ ~ ∥ 2 ≤ N C ( B ∂ , N + K 2 3 ) . (40)
We now let ( D N , q ) ∈ E N (D_N,q)\in\mathcal{E}_N ( D N , q ) ∈ E N , so that ∇ V N ( θ ~ ) = 0 \nabla V_N(\tilde{\theta})=0 ∇ V N ( θ ~ ) = 0 . As c N I ⪯ ∇ 2 V N ⪯ C N I cNI\preceq\nabla^2V_N\preceq CNI c N I ⪯ ∇ 2 V N ⪯ C N I on Θ K \Theta_K Θ K by Lemma E.1 and ∥ Λ K − 1 ∥ o p ≤ C Λ N \lVert\Lambda_K^{-1}\rVert_{\mathrm{op}}\le C_{\Lambda}N ∥ Λ K − 1 ∥ op ≤ C Λ N , the normalising constant satisfies
∫ Θ K e − V N ( θ ) + V N ( θ ~ ) d θ ≥ ∫ ∥ θ − θ ~ ∥ ≤ ρ N e − C N ∥ θ − θ ~ ∥ 2 2 d θ ≥ ( c N ) K 2 , (41) \int_{\Theta_K}e^{-V_N(\theta)+V_N(\tilde{\theta})}\,d\theta\ge\int_{\lVert\theta-\tilde{\theta}\rVert\le\rho_N}e^{-\frac{CN\lVert\theta-\tilde{\theta}\rVert^2}{2}}\,d\theta\ge\left(\frac{c}{N}\right)^{\frac{K}{2}}, \tag*{(41)} ∫ Θ K e − V N ( θ ) + V N ( θ ~ ) d θ ≥ ∫ ∥ θ − θ ~ ∥ ≤ ρ N e − 2 C N ∥ θ − θ ~ ∥ 2 d θ ≥ ( N c ) 2 K , (41)
as Pr ( ∥ G ∥ ≤ ρ N ) ≥ 1 / 2 \Pr(\lVert G\rVert\le\rho_N)\ge1/2 Pr (∥ G ∥ ≤ ρ N ) ≥ 1/2 for G ∼ N ( 0 , ( C N ) − 1 I ) G\sim\mathcal{N}(0,(CN)^{-1}I) G ∼ N ( 0 , ( C N ) − 1 I ) by Markov’s inequality and large C r C_r C r . As ∥ θ − θ ~ ∥ ≥ ρ N \lVert\theta-\tilde{\theta}\rVert\ge\rho_N ∥ θ − θ ~ ∥ ≥ ρ N on ∂ Θ K \partial\Theta_K ∂ Θ K , combining (E.25) with H K − 1 ( ∂ Θ K ) = 2 K K B K − 1 / ( K − 1 ) ! \mathcal{H}^{K-1}(\partial\Theta_K)=2^K\sqrt{K}B^{K-1}/(K-1)! H K − 1 ( ∂ Θ K ) = 2 K K B K − 1 / ( K − 1 )! , we obtain
B ∂ , N ≤ ( N c ) K 2 2 K K B K − 1 ( K − 1 ) ! e − c N ρ N 2 2 ≤ exp { C K + K 2 log N + 1 2 log K − c C r 2 K log N } ≤ N − 8 . \begin{aligned}
B_{\partial,N}\le\left(\frac{N}{c}\right)^{\frac{K}{2}}\frac{2^K\sqrt{K}B^{K-1}}{(K-1)!}e^{-\frac{cN\rho_N^2}{2}} \\
&\le\exp\left\{CK+\frac{K}{2}\log N+\frac{1}{2}\log K-cC_r^2K\log N\right\}\le N^{-8}.
\end{aligned} B ∂ , N ≤ ( c N ) 2 K ( K − 1 )! 2 K K B K − 1 e − 2 c N ρ N 2 ≤ exp { C K + 2 K log N + 2 1 log K − c C r 2 K log N } ≤ N − 8 .
for sufficiently large C r C_r C r . Substituting B ∂ , N ≤ N − 8 B_{\partial,N}\le N^{-8} B ∂ , N ≤ N − 8 into (E.24), we obtain N ∥ m π − g ∥ ≤ C K 3 2 / N \sqrt{N}\lVert m_\pi-g\rVert\le CK^{\frac{3}{2}}/\sqrt{N} N ∥ m π − g ∥ ≤ C K 2 3 / N .
It remains to bound the covariance error. For v , w ∈ R K v,w\in\mathbb{R}^K v , w ∈ R K with ∥ v ∥ = ∥ w ∥ = 1 \lVert v\rVert=\lVert w\rVert=1 ∥ v ∥ = ∥ w ∥ = 1 , by (E.18) and the bound on D θ r D_\theta r D θ r , we have Var N ( v T θ ) ≤ C / N \operatorname{Var}_N(v^{\mathsf T}\theta)\le C/N Var N ( v T θ ) ≤ C / N and
Var N ( w T r ) ≤ C N E N ∥ ( D θ r ) T w ∥ 2 ≤ C N K E N ∥ θ − θ ~ ∥ 2 ≤ C K 2 , \operatorname{Var}_N(w^{\mathsf T}r)\le\frac{C}{N}\mathbb{E}_N\lVert(D_\theta r)^{\mathsf T}w\rVert^2\le CNK\mathbb{E}_N\lVert\theta-\tilde{\theta}\rVert^2\le CK^2, Var N ( w T r ) ≤ N C E N ∥( D θ r ) T w ∥ 2 ≤ C N K E N ∥ θ − θ ~ ∥ 2 ≤ C K 2 ,
so that, by Cauchy–Schwarz, ∥ Cov N ( θ , r ) ∥ o p ≤ C K / N \lVert\operatorname{Cov}_N(\theta,r)\rVert_{\mathrm{op}}\le CK/\sqrt{N} ∥ Cov N ( θ , r ) ∥ op ≤ C K / N . Since ∇ p N = − p N ∇ V N \nabla p_N=-p_N\nabla V_N ∇ p N = − p N ∇ V N , in:VEVENT tegrating { θ − E N ( θ ) } ∇ p N ( θ ) T \{\theta-\mathbb{E}_{N}(\theta)\}\nabla p_{N}(\theta)^{\mathsf{T}} { θ − E N ( θ )} ∇ p N ( θ ) T by parts over Θ K \Theta_{K} Θ K , we have Cov N { θ , ∇ V N ( θ ) } = I − B N \operatorname{Cov}_{N}\{\theta,\nabla V_{N}(\theta)\}=I-B_{N} Cov N { θ , ∇ V N ( θ )} = I − B N , where
B N : = ∫ ∂ Θ K { θ − E N ( θ ) } η ( θ ) T p N ( θ ) d H K − 1 ( θ ) B_{N}:=\int_{\partial\Theta_{K}}\{\theta-\mathbb{E}_{N}(\theta)\}\eta(\theta)^{\mathsf{T}}p_{N}(\theta)\,\mathrm{d}\mathcal{H}^{K-1}(\theta) B N := ∫ ∂ Θ K { θ − E N ( θ )} η ( θ ) T p N ( θ ) d H K − 1 ( θ )
satisfies ∥ B N ∥ o p ≤ 2 B N − 8 \lVert B_{N}\rVert_{\mathrm{op}}\le2BN^{-8} ∥ B N ∥ op ≤ 2 B N − 8 .
Substituting (E.21) with ∇ V N ( θ ~ ) = 0 \nabla V_{N}(\widetilde{\theta})=0 ∇ V N ( θ ) = 0 and multiplying on the right by H − 1 H^{-1} H − 1 , we obtain
∥ N Cov N ( θ ) − H − 1 ∥ o p = ∥ { B N + Cov N ( θ , r ) } H − 1 ∥ o p ≤ C ( N − 8 + K N ) ≤ C K N . (42) \lVert N\operatorname{Cov}_{N}(\theta)-H^{-1}\rVert_{\mathrm{op}}=\lVert\{B_{N}+\operatorname{Cov}_{N}(\theta,r)\}H^{-1}\rVert_{\mathrm{op}}\le C\left(N^{-8}+\frac{K}{\sqrt{N}}\right)\le C\frac{K}{\sqrt{N}}. \tag*{(42)} ∥ N Cov N ( θ ) − H − 1 ∥ op = ∥{ B N + Cov N ( θ , r )} H − 1 ∥ op ≤ C ( N − 8 + N K ) ≤ C N K . (42)
For the query, let A : = D q ( θ ~ ) A:=D_{q}(\widetilde{\theta}) A := D q ( θ ) and define the remainder R q ( θ ) R_{q}(\theta) R q ( θ ) by
β q ( P θ ) = g + A ( θ − θ ~ ) + R q ( θ ) , (43) \beta_{q}(P_{\theta})=g+A(\theta-\widetilde{\theta})+R_{q}(\theta), \tag*{(43)} β q ( P θ ) = g + A ( θ − θ ) + R q ( θ ) , (43)
where ∥ R q ( θ ) ∥ ≤ C K ∥ θ − θ ~ ∥ 2 \lVert R_{q}(\theta)\rVert\le C\sqrt{K}\lVert\theta-\widetilde{\theta}\rVert^{2} ∥ R q ( θ )∥ ≤ C K ∥ θ − θ ∥ 2 and ∥ D θ R q ( θ ) ∥ o p ≤ C K ∥ θ − θ ~ ∥ \lVert D_{\theta}R_{q}(\theta)\rVert_{\mathrm{op}}\le C\sqrt{K}\lVert\theta-\widetilde{\theta}\rVert ∥ D θ R q ( θ ) ∥ op ≤ C K ∥ θ − θ ∥ by (E.17) and Assumption 1(ii). Applying (E.18) to the d k ≤ d 0 d_{k}\le d_{0} d k ≤ d 0 coordinates and using (E.20), we have
E N ∥ R q − E N R q ∥ 2 ≤ C N E N ∥ D θ R q ∥ F 2 ≤ C K N E N ∥ θ − θ ~ ∥ 2 ≤ C K 2 N 2 , (44) \mathbb{E}_{N}\lVert R_{q}-\mathbb{E}_{N}R_{q}\rVert^{2}\le\frac{C}{N}\mathbb{E}_{N}\lVert D_{\theta}R_{q}\rVert_{F}^{2}\le\frac{CK}{N}\mathbb{E}_{N}\lVert\theta-\widetilde{\theta}\rVert^{2}\le\frac{CK^{2}}{N^{2}}, \tag*{(44)} E N ∥ R q − E N R q ∥ 2 ≤ N C E N ∥ D θ R q ∥ F 2 ≤ N C K E N ∥ θ − θ ∥ 2 ≤ N 2 C K 2 , (44)
and, likewise, E N ∥ A { θ − E N ( θ ) } ∥ 2 ≤ C / N \mathbb{E}_{N}\lVert A\{\theta-\mathbb{E}_{N}(\theta)\}\rVert^{2}\le C/N E N ∥ A { θ − E N ( θ )} ∥ 2 ≤ C / N . Expanding N Cov N { β q ( P θ ) } N\operatorname{Cov}_{N}\{\beta_{q}(P_{\theta})\} N Cov N { β q ( P θ )} by (E.27) and applying Cauchy–Schwarz to the cross terms, we obtain
∥ S π − V ∥ F ≤ ∥ A { N Cov N ( θ ) − H − 1 } A T ∥ F + N E N ∥ R q − E N R q ∥ 2 + 2 N [ E N ∥ A { θ − E N ( θ ) } ∥ 2 E N ∥ R q − E N R q ∥ 2 ] 1 2 ≤ (i) C { K N + K 2 N } ≤ (ii) C K N , \begin{aligned}
\lVert S_{\pi}-V\rVert_{F}
&\le\lVert A\{N\operatorname{Cov}_{N}(\theta)-H^{-1}\}A^{\mathsf{T}}\rVert_{F}
+N\mathbb{E}_{N}\lVert R_{q}-\mathbb{E}_{N}R_{q}\rVert^{2}\\
&\quad+2N\left[\mathbb{E}_{N}\lVert A\{\theta-\mathbb{E}_{N}(\theta)\}\rVert^{2}\mathbb{E}_{N}\lVert R_{q}-\mathbb{E}_{N}R_{q}\rVert^{2}\right]^{\frac{1}{2}}\\
&\underset{\text{(i)}}{\le}C\left\{\frac{K}{\sqrt{N}}+\frac{K^{2}}{N}\right\}\underset{\text{(ii)}}{\le}C\frac{K}{\sqrt{N}},
\end{aligned} ∥ S π − V ∥ F ≤ ∥ A { N Cov N ( θ ) − H − 1 } A T ∥ F + N E N ∥ R q − E N R q ∥ 2 + 2 N [ E N ∥ A { θ − E N ( θ )} ∥ 2 E N ∥ R q − E N R q ∥ 2 ] 2 1 (i) ≤ C { N K + N K 2 } (ii) ≤ C N K ,
where (i) follows from (E.26), (E.28) and the bound on E N ∥ A { θ − E N ( θ ) } ∥ 2 \mathbb{E}_{N}\lVert A\{\theta-\mathbb{E}_{N}(\theta)\}\rVert^{2} E N ∥ A { θ − E N ( θ )} ∥ 2 , and (ii) from K 3 ≤ N K^{3}\le N K 3 ≤ N . This proves the bound on ∥ S π − V ∥ F \lVert S_{\pi}-V\rVert_{F} ∥ S π − V ∥ F on E N \mathcal{E}_{N} E N and completes the proof.
Let ϑ k ∼ N ( 0 , λ k ) \vartheta_{k}\sim\mathcal{N}(0,\lambda_{k}) ϑ k ∼ N ( 0 , λ k ) , k ∈ N k\in\mathbb{N} k ∈ N , be independent, with λ k = σ 2 k − 2 a \lambda_{k}=\sigma^{2}k^{-2a} λ k = σ 2 k − 2 a as in Section B.2, let ϑ 1 : K : = ( ϑ 1 , … , ϑ K ) T \vartheta_{1:K}:=(\vartheta_{1},\ldots,\vartheta_{K})^{\mathsf{T}} ϑ 1 : K := ( ϑ 1 , … , ϑ K ) T and, for K ∈ N ∪ { ∞ } K\in\mathbb{N}\cup\{\infty\} K ∈ N ∪ { ∞ } , define the truncation events B K : = { ∑ k = 1 K ∣ ϑ k ∣ ≤ B } \mathcal{B}_{K}:=\{\sum_{k=1}^{K}|\vartheta_{k}|\le B\} B K := { ∑ k = 1 K ∣ ϑ k ∣ ≤ B } , so that π K \pi_{K} π K is the distribution of ϑ 1 : K \vartheta_{1:K} ϑ 1 : K given B K \mathcal{B}_{K} B K , with normalising constant Z K : = Pr ( B K ) Z_{K}:=\Pr(\mathcal{B}_{K}) Z K := Pr ( B K ) . On B ∞ \mathcal{B}_{\infty} B ∞ , the series ∑ k ≥ 1 ϑ k b k \sum_{k\ge1}\vartheta_{k}b_{k} ∑ k ≥ 1 ϑ k b k converges uniformly on Z \mathcal{Z} Z , and the population P ϑ P_{\vartheta} P ϑ with d P ϑ / d P 0 ∝ exp ( ∑ k ≥ 1 ϑ k b k ) \mathrm{d}P_{\vartheta}/\mathrm{d}P_{0}\propto\exp(\sum_{k\ge1}\vartheta_{k}b_{k}) d P ϑ / d P 0 ∝ exp ( ∑ k ≥ 1 ϑ k b k ) lies in P \mathcal{P} P and satisfies ∥ d P ϑ 1 : K / d P 0 − d P ϑ / d P 0 ∥ ∞ → 0 \lVert\mathrm{d}P_{\vartheta_{1:K}}/\mathrm{d}P_{0}-\mathrm{d}P_{\vartheta}/\mathrm{d}P_{0}\rVert_{\infty}\to0 ∥ d P ϑ 1 : K / d P 0 − d P ϑ / d P 0 ∥ ∞ → 0 as K → ∞ K\to\infty K → ∞ . Let p K p_{K} p K denote the Lebesgue density of π K \pi_{K} π K on R K \mathbb{R}^{K} R K .
Lemma E.5. Under π K \pi_{K} π K , there exists a constant C C C , depending only on σ \sigma σ , a a a and B B B , such that, for all N , K ≥ 1 N,K\ge1 N , K ≥ 1 and t > 0 t>0 t > 0 , we have Z K ≥ C − 1 Z_{K}\ge C^{-1} Z K ≥ C − 1 , π K { θ ∈ R K : B − t < ∥ θ ∥ 1 ≤ B } ≤ C t \pi_{K}\{\theta\in\mathbb{R}^{K}:B-t<\lVert\theta\rVert_{1}\le B\}\le Ct π K { θ ∈ R K : B − t < ∥ θ ∥ 1 ≤ B } ≤ C t and E π E P B ∂ , N ≤ C K \mathbb{E}_{\pi}\mathbb{E}_{P}\mathcal{B}_{\partial,N}\le C\sqrt{K} E π E P B ∂ , N ≤ C K . Moreover, if K = K N → ∞ K=K_{N}\to\infty K = K N → ∞ and measurable functions φ N : R K × Q → [ 0 , ∞ ) \varphi_{N}:\mathbb{R}^{K}\times\mathcal{Q}\to[0,\infty) φ N : R K × Q → [ 0 , ∞ ) satisfy sup N ∥ φ N ∥ ∞ < ∞ \sup_{N}\lVert\varphi_{N}\rVert_{\infty}<\infty sup N ∥ φ N ∥ ∞ < ∞ and lim N → ∞ φ N ( ϑ 1 : K , q ) = 0 \lim_{N\to\infty}\varphi_{N}(\vartheta_{1:K},q)=0 lim N → ∞ φ N ( ϑ 1 : K , q ) = 0 on B ∞ \mathcal{B}_{\infty} B ∞ for every q ∈ Q q\in\mathcal{Q} q ∈ Q , then
E π K ⊗ π q φ N = o ( 1 ) . (45) \mathbb{E}_{\pi_{K}\otimes\pi_{q}}\varphi_{N}=o(1). \tag*{(45)} E π K ⊗ π q φ N = o ( 1 ) . (45)
Proof. We first bound Z K Z_{K} Z K below by Pr ( B ∞ ) \Pr(\mathcal{B}_{\infty}) Pr ( B ∞ ) , then bound the boundary layer of π K \pi_{K} π K and the average boundary density, and finally deduce (E.29). Since a > 1 a>1 a > 1 , we may choose J J J with ∑ k > J E ∣ ϑ k ∣ < B / 4 \sum_{k>J}\mathbb{E}|\vartheta_k|<B/4 ∑ k > J E ∣ ϑ k ∣ < B /4 . By independence and Markov’s inequality, we have
Pr ( B ∞ ) ≥ Pr ( ∑ k = 1 J ∣ ϑ k ∣ ≤ B 2 ) Pr ( ∑ k > J ∣ ϑ k ∣ ≤ B 2 ) ≥ 1 2 Pr ( ∑ k = 1 J ∣ ϑ k ∣ ≤ B 2 ) > 0 , \Pr(\mathcal{B}_{\infty})\geq\Pr\left(\sum_{k=1}^{J}|\vartheta_k|\leq\frac{B}{2}\right)\Pr\left(\sum_{k>J}|\vartheta_k|\leq\frac{B}{2}\right)\geq\frac{1}{2}\Pr\left(\sum_{k=1}^{J}|\vartheta_k|\leq\frac{B}{2}\right)>0, Pr ( B ∞ ) ≥ Pr ( k = 1 ∑ J ∣ ϑ k ∣ ≤ 2 B ) Pr ( k > J ∑ ∣ ϑ k ∣ ≤ 2 B ) ≥ 2 1 Pr ( k = 1 ∑ J ∣ ϑ k ∣ ≤ 2 B ) > 0 ,
and Z K ≥ Pr ( B ∞ ) > 0 Z_K\geq\Pr(\mathcal{B}_{\infty})>0 Z K ≥ Pr ( B ∞ ) > 0 as B ∞ ⊆ B K \mathcal{B}_{\infty}\subseteq\mathcal{B}_K B ∞ ⊆ B K . By convolution, the density p ˉ K \bar p_K p ˉ K of ∥ ϑ 1 : K ∥ 1 \lVert\vartheta_{1:K}\rVert_1 ∥ ϑ 1 : K ∥ 1 obeys the bound ∥ p ˉ K ∥ ∞ ≤ 2 / ( π λ 1 ) \lVert\bar p_K\rVert_{\infty}\leq\sqrt{2}/(\pi\lambda_1) ∥ p ˉ K ∥ ∞ ≤ 2 / ( π λ 1 ) of the density of ∣ ϑ 1 ∣ |\vartheta_1| ∣ ϑ 1 ∣ , and hence, by (B.2),
π K { B − t < ∥ θ ∥ 1 ≤ B } = Z K − 1 ∫ ( B − t ) + B p ˉ K ( s ) d s ≤ C t . \pi_K\{B-t<\lVert\theta\rVert_1\leq B\}=Z_K^{-1}\int_{(B-t)_+}^{B}\bar p_K(s)\,ds\leq Ct. π K { B − t < ∥ θ ∥ 1 ≤ B } = Z K − 1 ∫ ( B − t ) + B p ˉ K ( s ) d s ≤ C t .
For the boundary density, the likelihood ratio L N ( θ ) : = e N { θ T b ˉ − A K ( θ ) } \mathcal{L}_N(\theta):=e^{N\{\theta^\mathsf{T}\bar b-A_K(\theta)\}} L N ( θ ) := e N { θ T b ˉ − A K ( θ )} satisfies E π 0 ⊗ N L N ( θ ) = 1 \mathbb{E}_{\pi_0\otimes N}\mathcal{L}_N(\theta)=1 E π 0 ⊗ N L N ( θ ) = 1 . Averaging Bayes’ formula over D N D_N D N under E π K E P \mathbb{E}_{\pi_K}\mathbb{E}_{\mathbb{P}} E π K E P , in which the predictive density cancels, we have, for θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K ,
E π K E P { p N ( θ ) } = ∫ p K ( θ ) L N ( θ ) d P 0 ⊗ N ( D N ) = p K ( θ ) . \mathbb{E}_{\pi_K}\mathbb{E}_{\mathbb{P}}\{p_N(\theta)\}=\int p_K(\theta)\mathcal{L}_N(\theta)\,d\mathbb{P}^{\otimes N}_0(D_N)=p_K(\theta). E π K E P { p N ( θ )} = ∫ p K ( θ ) L N ( θ ) d P 0 ⊗ N ( D N ) = p K ( θ ) .
Consequently, by Tonelli’s theorem ([28 ] ) and the coarea formula ([30 ] ) with factor K \sqrt{K} K on each facet, we obtain
E π K E P B ∂ , N = ∫ ∂ Θ K p K ( θ ) d H K − 1 ( θ ) = K p ˉ K ( B ) Z K ≤ C K . (46) \mathbb{E}_{\pi_K}\mathbb{E}_{\mathbb{P}}B_{\partial,N}=\int_{\partial\Theta_K}p_K(\theta)\,d\mathcal{H}^{K-1}(\theta)=\frac{\sqrt{K}\,\bar p_K(B)}{Z_K}\leq C\sqrt{K}. \tag*{(46)} E π K E P B ∂ , N = ∫ ∂ Θ K p K ( θ ) d H K − 1 ( θ ) = Z K K p ˉ K ( B ) ≤ C K . (46)
Finally, let q ∼ π q q\sim\pi_q q ∼ π q be independent of ϑ \vartheta ϑ . Since B ∞ ⊆ B K \mathcal{B}_{\infty}\subseteq\mathcal{B}_K B ∞ ⊆ B K and Z K ≥ Pr ( B ∞ ) Z_K\geq\Pr(\mathcal{B}_{\infty}) Z K ≥ Pr ( B ∞ ) , we have
E π K ⊗ π q φ N = E { 1 B K φ N ( ϑ 1 : K , q ) } Z K ≤ E { 1 B ∞ φ N ( ϑ 1 : K , q ) } + C Pr ( B K ∖ B ∞ ) Pr ( B ∞ ) , \mathbb{E}_{\pi_K\otimes\pi_q}\varphi_N=\frac{\mathbb{E}\{1_{\mathcal{B}_K}\varphi_N(\vartheta_{1:K},q)\}}{Z_K}\leq\frac{\mathbb{E}\{1_{\mathcal{B}_{\infty}}\varphi_N(\vartheta_{1:K},q)\}+C\Pr(\mathcal{B}_K\setminus\mathcal{B}_{\infty})}{\Pr(\mathcal{B}_{\infty})}, E π K ⊗ π q φ N = Z K E { 1 B K φ N ( ϑ 1 : K , q )} ≤ Pr ( B ∞ ) E { 1 B ∞ φ N ( ϑ 1 : K , q )} + C Pr ( B K ∖ B ∞ ) ,
where E { 1 B ∞ φ N ( ϑ 1 : K , q ) } = o ( 1 ) \mathbb{E}\{1_{\mathcal{B}_{\infty}}\varphi_N(\vartheta_{1:K},q)\}=o(1) E { 1 B ∞ φ N ( ϑ 1 : K , q )} = o ( 1 ) by dominated convergence ([28 ] ) and Pr ( B K ∖ B ∞ ) = o ( 1 ) \Pr(\mathcal{B}_K\setminus\mathcal{B}_{\infty})=o(1) Pr ( B K ∖ B ∞ ) = o ( 1 ) as B K → B ∞ \mathcal{B}_K\to\mathcal{B}_{\infty} B K → B ∞ , which proves (E.29) and completes the proof. □ \square □
Lemma E.6. For all N N N , K K K , D N ∈ Z N D_N\in\mathbb{Z}^N D N ∈ Z N and θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K ,
∥ θ ~ − θ ∥ ≤ C ( ∥ b ˉ − E P θ b ( K ) ∥ + ∥ Λ K − 1 θ ∥ N ) , (47) \lVert\tilde\theta-\theta\rVert\leq C\left(\lVert\bar b-\mathbb{E}_{\mathbb{P}_\theta}b(K)\rVert+\frac{\lVert\Lambda_K^{-1}\theta\rVert}{N}\right), \tag*{(47)} ∥ θ ~ − θ ∥ ≤ C ( ∥ b ˉ − E P θ b ( K )∥ + N ∥ Λ K − 1 θ ∥ ) , (47) where C C C depends only on B B B and C ∞ C_{\infty} C ∞ . If, moreover, K 3 ≤ N K^3\leq N K 3 ≤ N and ∥ Λ K − 1 ∥ o p ≤ C Λ N \lVert\Lambda_K^{-1}\rVert_{\mathrm{op}}\leq C_{\Lambda}N ∥ Λ K − 1 ∥ op ≤ C Λ N for a constant C Λ > 0 C_{\Lambda}>0 C Λ > 0 , then
E π K { P θ ( E N c ) } ≤ C ( K log N N + N − 4 ) , \mathbb{E}_{\pi_K}\{\mathbb{P}_{\theta}(\mathcal{E}_N^c)\}\leq C\left(K\sqrt{\frac{\log N}{N}}+N^{-4}\right), E π K { P θ ( E N c )} ≤ C ( K N log N + N − 4 ) , where P θ ( E N c ) : = P θ ⊗ N { D N : ( D N , q ) ∉ E N } \mathbb{P}_{\theta}(\mathcal{E}_N^c):=\mathbb{P}_{\theta}^{\otimes N}\{D_N:(D_N,q)\notin\mathcal{E}_N\} P θ ( E N c ) := P θ ⊗ N { D N : ( D N , q ) ∈ / E N } does not depend on q q q and C C C depends only on σ \sigma σ , a a a , B B B , C ∞ C_{\infty} C ∞ , C Λ C_{\Lambda} C Λ and C r C_r C r .
Proof. We derive (E.31) from the strong monotonicity of ∇ V N \nabla V_N ∇ V N and then bound
E π K { P θ ( E N c ) } \mathbb{E}_{\pi_K}\{\mathbb{P}_{\theta}(\mathcal{E}_N^c)\} E π K { P θ ( E N c )} through the tails of b ˉ \bar b b ˉ and of Λ K − 1 θ \Lambda_K^{-1}\theta Λ K − 1 θ .
By the strong monotonicity of ∇ V N \nabla V_N ∇ V N on Θ K \Theta_K Θ K in Lemma E.1 and the variational inequality at θ ~ \tilde\theta θ ~ , we have
c N ∥ θ ~ − θ ∥ 2 ≤ ( θ ~ − θ ) T { ∇ V N ( θ ~ ) − ∇ V N ( θ ) } ≤ − ( θ ~ − θ ) T ∇ V N ( θ ) , cN\lVert\tilde\theta-\theta\rVert^2 \leq(\tilde\theta-\theta)^{\mathsf T}\{\nabla V_N(\tilde\theta)-\nabla V_N(\theta)\}\leq-(\tilde\theta-\theta)^{\mathsf T}\nabla V_N(\theta), c N ∥ θ ~ − θ ∥ 2 ≤ ( θ ~ − θ ) T { ∇ V N ( θ ~ ) − ∇ V N ( θ )} ≤ − ( θ ~ − θ ) T ∇ V N ( θ ) ,
which proves (E.31), as ∇ V N ( θ ) = N { E P θ b ( K ) − b ˉ } + Λ K − 1 θ \nabla V_N(\theta)=N\{\mathbb{E}_{P_\theta}b_{(K)}-\bar b\}+\Lambda_K^{-1}\theta ∇ V N ( θ ) = N { E P θ b ( K ) − b ˉ } + Λ K − 1 θ . As ∣ b k ∣ ≤ C ∞ |b_k|\leq C_\infty ∣ b k ∣ ≤ C ∞ , applying Hoeffding’s inequality [44 ] under P θ ∞ P_\theta^\infty P θ ∞ to each k ∈ [ K ] k\in[K] k ∈ [ K ] and a union bound, we obtain
P θ { ∥ b ˉ − E P θ b ( K ) ∥ > c b K log N N } ≤ 2 K exp ( − c b 2 log N 2 C ∞ 2 ) ≤ 2 N − 4 , (48) \mathbb{P}_{\theta}\left\{\lVert\bar b-\mathbb{E}_{P_\theta}b_{(K)}\rVert>c_b\sqrt{\frac{K\log N}{N}}\right\}\leq2K\exp\left(-\frac{c_b^2\log N}{2C_\infty^2}\right)\leq2N^{-4}, \tag*{(48)} P θ { ∥ b ˉ − E P θ b ( K ) ∥ > c b N K log N } ≤ 2 K exp ( − 2 C ∞ 2 c b 2 log N ) ≤ 2 N − 4 , (48)
for a large constant c b c_b c b , where the last inequality uses K ≤ N K\leq N K ≤ N . Let Q K : = ∑ k = 1 K ϑ k 2 / λ k ∼ χ K 2 Q_K:=\sum_{k=1}^K\vartheta_k^2/\lambda_k\sim\chi_K^2 Q K := ∑ k = 1 K ϑ k 2 / λ k ∼ χ K 2 , so that ∥ Λ K − 1 ϑ 1 : K ∥ 2 ≤ C Λ N Q K \lVert\Lambda_K^{-1}\vartheta_{1:K}\rVert^2\leq C_\Lambda NQ_K ∥ Λ K − 1 ϑ 1 : K ∥ 2 ≤ C Λ N Q K . By Markov’s inequality and E e Q K / 4 = 2 K / 2 \mathbb{E}e^{Q_K/4}=2^{K/2} E e Q K /4 = 2 K /2 , we have
Pr { Q K > 2 K log 2 + 16 log N } ≤ N − 4 . (49) \Pr\{Q_K>2K\log2+16\log N\}\leq N^{-4}. \tag*{(49)} Pr { Q K > 2 K log 2 + 16 log N } ≤ N − 4 . (49)
Since conditioning on B K \mathcal{B}_K B K multiplies probabilities by at most Z K − 1 ≲ 1 Z_K^{-1}\lesssim1 Z K − 1 ≲ 1 by Lemma E.5, combining (E.32) and (E.33) with (E.31), we obtain, for a constant C 3 C_3 C 3 ,
E π K [ P θ { ∥ θ ~ − θ ∥ > C 3 K log N N } ] ≤ C N − 4 . \mathbb{E}_{\pi_K}\left[\mathbb{P}_{\theta}\left\{\lVert\tilde\theta-\theta\rVert>C_3\sqrt{\frac{K\log N}{N}}\right\}\right]\leq CN^{-4}. E π K [ P θ { ∥ θ ~ − θ ∥ > C 3 N K log N } ] ≤ C N − 4 .
On the event { ∥ θ ~ − θ ∥ ≤ C 3 K log N / N } \{\lVert\tilde\theta-\theta\rVert\leq C_3\sqrt{K\log N/N}\} {∥ θ ~ − θ ∥ ≤ C 3 K log N / N } , by the triangle inequality and ∥ x ∥ 1 ≤ K ∥ x ∥ \lVert x\rVert_1\leq\sqrt{K}\lVert x\rVert ∥ x ∥ 1 ≤ K ∥ x ∥ for x ∈ R K x\in\mathbb{R}^K x ∈ R K , we have
sup ∥ θ ′ − θ ~ ∥ ≤ ρ N ∥ θ ′ ∥ 1 ≤ ∥ θ ∥ 1 + K ( ∥ θ ~ − θ ∥ + ρ N ) ≤ ∥ θ ∥ 1 + ( C 3 + C r ) K log N N . \sup_{\lVert\theta'-\tilde\theta\rVert\leq\rho_N}\lVert\theta'\rVert_1\leq\lVert\theta\rVert_1+\sqrt{K}(\lVert\tilde\theta-\theta\rVert+\rho_N)\leq\lVert\theta\rVert_1+(C_3+C_r)K\sqrt{\frac{\log N}{N}}. ∥ θ ′ − θ ~ ∥ ≤ ρ N sup ∥ θ ′ ∥ 1 ≤ ∥ θ ∥ 1 + K (∥ θ ~ − θ ∥ + ρ N ) ≤ ∥ θ ∥ 1 + ( C 3 + C r ) K N log N .
so that ( D N , q ) ∈ E N (\mathcal{D}_N,q)\in\mathcal{E}_N ( D N , q ) ∈ E N unless ∥ θ ∥ 1 > B − ( C 3 + C r ) K log N / N \lVert\theta\rVert_1>B-(C_3+C_r)K\sqrt{\log N/N} ∥ θ ∥ 1 > B − ( C 3 + C r ) K log N / N . Consequently, by Lemma E.5, we obtain
E π K { P θ ( E N c ) } ≤ C N − 4 + π K { B − ( C 3 + C r ) K log N N < ∥ θ ∥ 1 ≤ B } ≤ C ( K log N N + N − 4 ) , (50) \begin{aligned}
\mathbb{E}_{\pi_K}\{\mathbb{P}_{\theta}(\mathcal{E}_N^c)\}\leq CN^{-4}+\pi_K\left\{B-(C_3+C_r)K\sqrt{\frac{\log N}{N}}<\lVert\theta\rVert_1\leq B\right\} \\
&\leq C\left(K\sqrt{\frac{\log N}{N}}+N^{-4}\right), \tag*{(50)}
\end{aligned} E π K { P θ ( E N c )} ≤ C N − 4 + π K { B − ( C 3 + C r ) K N log N < ∥ θ ∥ 1 ≤ B } ≤ C ( K N log N + N − 4 ) , (50)
which is the asserted bound on E π K { P θ ( E N c ) } \mathbb{E}_{\pi_K}\{\mathbb{P}_{\theta}(\mathcal{E}_N^c)\} E π K { P θ ( E N c )} and completes the proof.
Posterior expansion under the sieve prior
For a population P \mathbb{P} P with c 0 ≤ d P / d P 0 ≤ C 0 c_0\leq d\mathbb{P}/d\mathbb{P}_0\leq C_0 c 0 ≤ d P / d P 0 ≤ C 0 , where c 0 c_0 c 0 and C 0 C_0 C 0 are the density bounds of Section B.2, let s P , K : = b ( K ) − E P b ( K ) s_{\mathbb{P},K}:=b_{(K)}-\mathbb{E}_{\mathbb{P}}b_{(K)} s P , K := b ( K ) − E P b ( K ) denote the centred features, with covariance J P , K : = E P ( s P , K s P , K T ) J_{\mathbb{P},K}:=\mathbb{E}_{\mathbb{P}}(s_{\mathbb{P},K}s_{\mathbb{P},K}^{\mathsf T}) J P , K := E P ( s P , K s P , K T ) , so that c I ⪯ J P , K ⪯ C I cI\preceq J_{\mathbb{P},K}\preceq CI c I ⪯ J P , K ⪯ C I as in (E.15). We define the projection coefficients and the projected influence function by
C K , q ( P ) : = E P ( ψ P , q ⋆ s P , K ) J P , K − 1 and ψ P , q K : = C K , q ( P ) s P , K , C_{K,q}(\mathbb{P}) := \mathbb{E}_{\mathbb{P}}(\psi_{\mathbb{P},q}^{\star}s_{\mathbb{P},K})J_{\mathbb{P},K}^{-1}
\quad\text{and}\quad
\psi_{\mathbb{P},q}^{K} := C_{K,q}(\mathbb{P})s_{\mathbb{P},K}, C K , q ( P ) := E P ( ψ P , q ⋆ s P , K ) J P , K − 1 and ψ P , q K := C K , q ( P ) s P , K ,
respectively, and, by the normal equations, ψ P , q K \psi_{\mathbb{P},q}^{K} ψ P , q K is the componentwise L 2 ( P ) L_{2}(\mathbb{P}) L 2 ( P ) projection of ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ onto span { b k − E P b k : k ∈ [ K ] } \operatorname{span}\{b_{k}-\mathbb{E}_{\mathbb{P}}b_{k}: k\in[K]\} span { b k − E P b k : k ∈ [ K ]} . Since E P { ( ψ P , q ⋆ ) T ( ψ P , q ⋆ − ψ P , q K ) } = 0 \mathbb{E}_{\mathbb{P}}\{(\psi_{\mathbb{P},q}^{\star})^{\mathsf{T}}(\psi_{\mathbb{P},q}^{\star}-\psi_{\mathbb{P},q}^{K})\}=0 E P {( ψ P , q ⋆ ) T ( ψ P , q ⋆ − ψ P , q K )} = 0 , we have
V q ⋆ ( P ) − E P { ( ψ P , q K ) ⊗ 2 } = E P { ( ψ P , q ⋆ − ψ P , q K ) ⊗ 2 } . (51) V_{q}^{\star}(\mathbb{P})-\mathbb{E}_{\mathbb{P}}\{(\psi_{\mathbb{P},q}^{K})^{\otimes2}\}
=
\mathbb{E}_{\mathbb{P}}\{(\psi_{\mathbb{P},q}^{\star}-\psi_{\mathbb{P},q}^{K})^{\otimes2}\}. \tag*{(51)} V q ⋆ ( P ) − E P {( ψ P , q K ) ⊗ 2 } = E P {( ψ P , q ⋆ − ψ P , q K ) ⊗ 2 } . (51)
Finally, with the empirical process G N \mathbb{G}_{N} G N of Section E, we define the bounded error of the efficient expansion of the posterior moments by
R N ( P , q , D N ) : = 1 ∧ { ∥ N ( m π − β q ( P ) ) − G N ψ P , q ⋆ ∥ 2 2 + ∥ S π − V q ⋆ ( P ) ∥ F 2 } , (52) R_{N}(\mathbb{P},q,D_{N})
:=
1\wedge\left\{
\left\|\sqrt{N}(m_{\pi}-\beta_{q}(\mathbb{P}))-\mathbb{G}_{N}\psi_{\mathbb{P},q}^{\star}\right\|_{2}^{2}
+
\left\|S_{\pi}-V_{q}^{\star}(\mathbb{P})\right\|_{F}^{2}
\right\}, \tag*{(52)} R N ( P , q , D N ) := 1 ∧ { N ( m π − β q ( P )) − G N ψ P , q ⋆ 2 2 + S π − V q ⋆ ( P ) F 2 } , (52)
and its projected counterpart R N K R_{N}^{K} R N K by the same formula with ψ P , q K \psi_{\mathbb{P},q}^{K} ψ P , q K and E P { ( ψ P , q K ) ⊗ 2 } \mathbb{E}_{\mathbb{P}}\{(\psi_{\mathbb{P},q}^{K})^{\otimes2}\} E P {( ψ P , q K ) ⊗ 2 } in place of ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ and V q ⋆ ( P ) V_{q}^{\star}(\mathbb{P}) V q ⋆ ( P ) . We call the joint distribution of ( θ , q , D N ) (\theta,q,D_{N}) ( θ , q , D N ) with ( θ , q ) ∼ π K ⊗ π q (\theta,q)\sim\pi_{K}\otimes\pi_{q} ( θ , q ) ∼ π K ⊗ π q and D N ∣ ( θ , q ) ∼ P θ ⊗ N D_{N}\mid(\theta,q)\sim\mathbb{P}_{\theta}^{\otimes N} D N ∣ ( θ , q ) ∼ P θ ⊗ N the simulator experiment.
Proposition E.1 (Posterior moments under the sieve prior). Under π K \pi_{K} π K and Assumption 1 ( i ) 1(i) 1 ( i ) –( i i ) (ii) ( ii ) , if K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) , then E π E P R N K = o ( 1 ) \mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}R_{N}^{K}=o(1) E π E P R N K = o ( 1 ) , that is, under the simulator experiment,
N { m π − β q ( P θ ) } = G N ψ P θ , q K + o P ( 1 ) and S π = E P θ { ( ψ P θ , q K ) ⊗ 2 } + o P ( 1 ) . \sqrt{N}\{m_{\pi}-\beta_{q}(\mathbb{P}_{\theta})\}
=
\mathbb{G}_{N}\psi_{\mathbb{P}_{\theta},q}^{K}+o_{\mathbb{P}}(1)
\quad\text{and}\quad
S_{\pi}
=
\mathbb{E}_{\mathbb{P}_{\theta}}\{(\psi_{\mathbb{P}_{\theta},q}^{K})^{\otimes2}\}
+o_{\mathbb{P}}(1). N { m π − β q ( P θ )} = G N ψ P θ , q K + o P ( 1 ) and S π = E P θ {( ψ P θ , q K ) ⊗ 2 } + o P ( 1 ) .
Proof. We localise θ ~ \widetilde{\theta} θ around the generating coefficient θ \theta θ , expand θ ~ − θ \widetilde{\theta}-\theta θ − θ in the sieve scores and carry the expansion over to ( m π , S π ) (m_{\pi},S_{\pi}) ( m π , S π ) , without using K → ∞ K\to\infty K → ∞ .
Since inf K Z K > 0 \inf_{K}Z_{K}>0 inf K Z K > 0 by Lemma E.5 , conditioning on B K \mathcal{B}_{K} B K preserves moment bounds up to a constant, and hence
E π K ∥ Λ K − 1 θ ∥ 2 ≤ C E ∥ Λ K − 1 ϑ 1 : K ∥ 2 = C ∑ k = 1 K λ k − 1 ≤ C K 2 a + 1 . (53) \mathbb{E}_{\pi_{K}}\|\Lambda_{K}^{-1}\theta\|^{2}
\leq C\mathbb{E}\|\Lambda_{K}^{-1}\vartheta_{1:K}\|^{2}
=
C\sum_{k=1}^{K}\lambda_{k}^{-1}
\leq CK^{2a+1}. \tag*{(53)} E π K ∥ Λ K − 1 θ ∥ 2 ≤ C E ∥ Λ K − 1 ϑ 1 : K ∥ 2 = C k = 1 ∑ K λ k − 1 ≤ C K 2 a + 1 . (53)
For h : = θ ~ − θ h:=\widetilde{\theta}-\theta h := θ − θ , squaring (E.31) and using E P θ ∥ b ‾ − E P θ b ( K ) ∥ 2 = tr { I K ( θ ) } / N ≤ C K / N \mathbb{E}_{\mathbb{P}_{\theta}}\|\overline{b}-\mathbb{E}_{\mathbb{P}_{\theta}}b_{(K)}\|^{2}=\operatorname{tr}\{I_{K}(\theta)\}/N\leq CK/N E P θ ∥ b − E P θ b ( K ) ∥ 2 = tr { I K ( θ )} / N ≤ C K / N , we obtain
E π K E P θ ∥ h ∥ 2 ≤ C ( K N + K 2 a + 1 N 2 ) ≤ C K N . (54) \mathbb{E}_{\pi_{K}}\mathbb{E}_{\mathbb{P}_{\theta}}\|h\|^{2}
\leq C\left(\frac{K}{N}+\frac{K^{2a+1}}{N^{2}}\right)
\leq C\frac{K}{N}. \tag*{(54)} E π K E P θ ∥ h ∥ 2 ≤ C ( N K + N 2 K 2 a + 1 ) ≤ C N K . (54)
For large N N N , K 3 ≤ N K^{3}\leq N K 3 ≤ N and ∥ Λ K − 1 ∥ o p = σ − 2 K 2 a ≤ N \|\Lambda_{K}^{-1}\|_{\mathrm{op}}=\sigma^{-2}K^{2a}\leq N ∥ Λ K − 1 ∥ op = σ − 2 K 2 a ≤ N , so that, by Lemma E.6 with C Λ = 1 C_{\Lambda}=1 C Λ = 1 ,
E π K { P θ ( E N c ) } ≤ C ( K log N N + N − 4 ) = o ( 1 ) . \mathbb{E}_{\pi_{K}}\{\mathbb{P}_{\theta}(\mathcal{E}_{N}^{c})\}
\leq C\left(K\sqrt{\frac{\log N}{N}}+N^{-4}\right)=o(1). E π K { P θ ( E N c )} ≤ C ( K N log N + N − 4 ) = o ( 1 ) .
On E N \mathcal{E}_{N} E N , let I : = I K ( θ ) I:=I_{K}(\theta) I := I K ( θ ) , H : = I + Λ K − 1 / N H:=I+\Lambda_{K}^{-1}/N H := I + Λ K − 1 / N , A : = D q ( θ ) A:=D_{q}(\theta) A := D q ( θ ) and U N : = N − 1 / 2 ∑ i = 1 N { b ( K ) ( Z i ) − E P θ b ( K ) } U_{N}:=N^{-1/2}\sum_{i=1}^{N}\{b_{(K)}(Z_{i})-\mathbb{E}_{\mathbb{P}_{\theta}}b_{(K)}\} U N := N − 1/2 ∑ i = 1 N { b ( K ) ( Z i ) − E P θ b ( K ) } . Since ∇ V N ( θ ~ ) = 0 \nabla V_{N}(\widetilde{\theta})=0 ∇ V N ( θ ) = 0 , with rem ( h ) : = ∇ A K ( θ ~ ) − ∇ A K ( θ ) − I h \operatorname{rem}(h):=\nabla A_{K}(\widetilde{\theta})-\nabla A_{K}(\theta)-Ih rem ( h ) := ∇ A K ( θ ) − ∇ A K ( θ ) − I h , we obtain
N h = H − 1 U N − H − 1 Λ K − 1 θ N − H − 1 N rem ( h ) , (55) \sqrt{N}h
=
H^{-1}U_{N}
-
\frac{H^{-1}\Lambda_{K}^{-1}\theta}{\sqrt{N}}
-
H^{-1}\sqrt{N}\operatorname{rem}(h), \tag*{(55)} N h = H − 1 U N − N H − 1 Λ K − 1 θ − H − 1 N rem ( h ) , (55)
where ∥ rem ( h ) ∥ ≤ C K ∥ h ∥ 2 \|\operatorname{rem}(h)\|\leq C\sqrt{K}\|h\|^{2} ∥ rem ( h ) ∥ ≤ C K ∥ h ∥ 2 by Lemma E.1. To bound H − 1 Λ K − 1 θ / N H^{-1}\Lambda_{K}^{-1}\theta/\sqrt{N} H − 1 Λ K − 1 θ / N in (E.39), for u ∈ R d k u \in\mathbb{R}^{d_k} u ∈ R d k with ∥ u ∥ = 1 \lVert u\rVert=1 ∥ u ∥ = 1 and z : = Λ K − 1 2 ϑ 1 : K ∼ N ( 0 , I ) z:=\Lambda_K^{-\frac{1}{2}}\vartheta_{1:K}\sim\mathcal{N}(0,I) z := Λ K − 2 1 ϑ 1 : K ∼ N ( 0 , I ) , we define
w ( θ ) : = H − 1 A T u and F ( z ) : = Λ K − 1 2 w ( Λ K 1 2 z ) , w(\theta):=H^{-1}A^{\mathsf T}u \qquad\text{and}\qquad F(z):=\Lambda_K^{-\frac{1}{2}}w\left(\Lambda_K^{\frac{1}{2}}z\right), w ( θ ) := H − 1 A T u and F ( z ) := Λ K − 2 1 w ( Λ K 2 1 z ) ,
where w w w is extended from Θ K \Theta_K Θ K by Euclidean projection, so that ∥ w ∥ ≤ C \lVert w\rVert\le C ∥ w ∥ ≤ C and w w w is C K C\sqrt{K} C K -Lipschitz by Lemma E.1, (E.16) and Assumption 1(ii). For smooth F F F and δ F : = z T F − div F \delta F:=z^{\mathsf T}F-\operatorname{div}F δ F := z T F − div F , integrating by parts in z ∼ N ( 0 , I ) z\sim\mathcal{N}(0,I) z ∼ N ( 0 , I ) , we have
E { ( δ F ) f } = E ( F T ∇ f ) and ∂ k δ F = F k + δ ( ∂ k F ) , \mathbb{E}\{(\delta F)f\}=\mathbb{E}(F^{\mathsf T}\nabla f)\qquad\text{and}\qquad\partial_k\delta F=F_k+\delta(\partial_kF), E {( δ F ) f } = E ( F T ∇ f ) and ∂ k δ F = F k + δ ( ∂ k F ) ,
and hence
E ( δ F ) 2 = ∑ k = 1 K E { F k [ F k + δ ( ∂ k F ) ] } = E { ∥ F ∥ 2 + tr [ ( D F ) 2 ] } . \mathbb{E}(\delta F)^2=\sum_{k=1}^{K}\mathbb{E}\{F_k[F_k+\delta(\partial_kF)]\}=\mathbb{E}\{\lVert F\rVert^2+\operatorname{tr}[(DF)^2]\}. E ( δ F ) 2 = k = 1 ∑ K E { F k [ F k + δ ( ∂ k F )]} = E {∥ F ∥ 2 + tr [( D F ) 2 ]} .
By mollification and dominated convergence, this identity extends to the present F F F , and, substituting z = Λ K − 1 2 ϑ 1 : K z=\Lambda_K^{-\frac{1}{2}}\vartheta_{1:K} z = Λ K − 2 1 ϑ 1 : K , we obtain
E { ( ϑ 1 : K T Λ K − 1 w − div w ) 2 } = E { w T Λ K − 1 w + tr [ ( D w ) 2 ] } ≤ C ( K 2 a + K 2 ) , \mathbb{E}\{(\vartheta_{1:K}^{\mathsf T}\Lambda_K^{-1}w-\operatorname{div}w)^2\}=\mathbb{E}\{w^{\mathsf T}\Lambda_K^{-1}w+\operatorname{tr}[(Dw)^2]\}\le C(K^{2a}+K^2), E {( ϑ 1 : K T Λ K − 1 w − div w ) 2 } = E { w T Λ K − 1 w + tr [( D w ) 2 ]} ≤ C ( K 2 a + K 2 ) ,
where ∣ tr [ ( D w ) 2 ] ∣ ≤ K ∥ D w ∥ o p 2 ≤ C K 2 \lvert\operatorname{tr}[(Dw)^2]\rvert\le K\lVert Dw\rVert_{\mathrm{op}}^2\le CK^2 ∣ tr [( D w ) 2 ]∣ ≤ K ∥ D w ∥ op 2 ≤ C K 2 and w T Λ K − 1 w ≤ C K 2 a w^{\mathsf T}\Lambda_K^{-1}w\le CK^{2a} w T Λ K − 1 w ≤ C K 2 a . Since also ( div w ) 2 ≤ K 2 ∥ D w ∥ o p 2 ≤ C K 3 (\operatorname{div}w)^2\le K^2\lVert Dw\rVert_{\mathrm{op}}^2\le CK^3 ( div w ) 2 ≤ K 2 ∥ D w ∥ op 2 ≤ C K 3 , conditioning on B K \mathcal{B}_K B K and summing over the d k ≤ d 0 d_k\le d_0 d k ≤ d 0 query coordinates, we have
E π K ∥ A H − 1 Λ K − 1 ϑ N ∥ 2 ≤ C K 3 ∨ 2 a N = o ( 1 ) . (56) \mathbb{E}_{\pi_K}\left\lVert\frac{AH^{-1}\Lambda_K^{-1}\vartheta}{\sqrt{N}}\right\rVert^2\le C\frac{K^{3\vee2a}}{N}=o(1). \tag*{(56)} E π K N A H − 1 Λ K − 1 ϑ 2 ≤ C N K 3 ∨ 2 a = o ( 1 ) . (56)
By (E.38), we have
E π K E P θ { N ∥ rem ( h ) ∥ } ≤ C N K E π K E P θ ∥ h ∥ 2 ≤ C K 3 / 2 N = o ( 1 ) . (57) \mathbb{E}_{\pi_K}\mathbb{E}_{P_\theta}\{\sqrt{N}\lVert\operatorname{rem}(h)\rVert\}\le C\sqrt{NK}\mathbb{E}_{\pi_K}\mathbb{E}_{P_\theta}\lVert h\rVert^2\le C\frac{K^{3/2}}{\sqrt{N}}=o(1). \tag*{(57)} E π K E P θ { N ∥ rem ( h )∥} ≤ C N K E π K E P θ ∥ h ∥ 2 ≤ C N K 3/2 = o ( 1 ) . (57)
Moreover, M : = H − 1 − I − 1 = − H − 1 Λ K − 1 I − 1 / N M:=H^{-1}-I^{-1}=-H^{-1}\Lambda_K^{-1}I^{-1}/N M := H − 1 − I − 1 = − H − 1 Λ K − 1 I − 1 / N and, conditionally on ( θ , q ) (\theta,q) ( θ , q ) , U N U_N U N is centred with covariance I I I , so that
E P θ ∥ A M U N ∥ 2 = tr ( A M I M A T ) ≤ C d 0 ∥ A ∥ o p 2 ∥ M ∥ o p 2 ≤ C K 4 a N 2 = o ( 1 ) . (58) \mathbb{E}_{P_\theta}\lVert AMU_N\rVert^2=\operatorname{tr}(AMIM A^{\mathsf T})\le Cd_0\lVert A\rVert_{\mathrm{op}}^2\lVert M\rVert_{\mathrm{op}}^2\le C\frac{K^{4a}}{N^2}=o(1). \tag*{(58)} E P θ ∥ A M U N ∥ 2 = tr ( A M I M A T ) ≤ C d 0 ∥ A ∥ op 2 ∥ M ∥ op 2 ≤ C N 2 K 4 a = o ( 1 ) . (58)
By (E.16), A I − 1 = C K , q ( P θ ) AI^{-1}=C_{K,q}(P_\theta) A I − 1 = C K , q ( P θ ) and hence A I − 1 U N = G N ψ P θ , q K AI^{-1}U_N=G_N\psi^{K}_{P_\theta,q} A I − 1 U N = G N ψ P θ , q K . Therefore, on E N \mathcal{E}_N E N , we obtain
N { m π − β q ( P θ ) } = N ( m π − g ) + N { β q ( P θ ~ ) − β q ( P θ ) − A h } + A N h \sqrt{N}\{m_\pi-\beta_q(P_\theta)\}=\sqrt{N}(m_\pi-g)+\sqrt{N}\{\beta_q(P_{\widetilde{\theta}})-\beta_q(P_\theta)-Ah\}+A\sqrt{N}h N { m π − β q ( P θ )} = N ( m π − g ) + N { β q ( P θ ) − β q ( P θ ) − A h } + A N h
= (i) O ( K 3 / 2 N + N K ∥ h ∥ 2 ) + A I − 1 U N + o P ( 1 ) (59) \mathrel{\mathop{=}^{\text{(i)}}}O\left(\frac{K^{3/2}}{\sqrt{N}}+\sqrt{NK}\lVert h\rVert^2\right)+AI^{-1}U_N+o_P(1) \tag*{(59)} = (i) O ( N K 3/2 + N K ∥ h ∥ 2 ) + A I − 1 U N + o P ( 1 ) (59)
= (ii) G N ψ P θ , q K + o P ( 1 ) , \mathrel{\mathop{=}^{\text{(ii)}}}G_N\psi^{K}_{P_\theta,q}+o_P(1), = (ii) G N ψ P θ , q K + o P ( 1 ) ,
where (i) follows from Lemma E.4, (E.17), (E.39), (E.40), (E.41) and (E.42), and (ii) from (E.38). By Lemma E.4, Assumption 1(ii) and the resolvent identity, we have
∥ S π − E P θ { ( ψ P θ , q K ) ⊗ 2 } ∥ F ≤ ∥ S π − V ∥ F + ∥ V − A I − 1 A T ∥ F ≤ C ( K N + K ∥ h ∥ + K 2 a N ) = o P ( 1 ) , (60) \left\|S_{\pi}-\mathbb{E}_{P_{\theta}}\left\{\left(\psi^{K}_{P_{\theta,q}}\right)^{\otimes2}\right\}\right\|_{F}
\leq\left\|S_{\pi}-V\right\|_{F}+\left\|V-AI^{-1}A^{\mathsf T}\right\|_{F}
\leq C\left(\frac{K}{\sqrt{N}}+\sqrt{K}\|h\|+\frac{K^{2a}}{N}\right)=o_{P}(1), \tag*{(60)} S π − E P θ { ( ψ P θ , q K ) ⊗ 2 } F ≤ ∥ S π − V ∥ F + V − A I − 1 A T F ≤ C ( N K + K ∥ h ∥ + N K 2 a ) = o P ( 1 ) , (60)
where E P θ { ( ψ P θ , q K ) ⊗ 2 } = A I − 1 A T \mathbb{E}_{P_{\theta}}\left\{\left(\psi^{K}_{P_{\theta,q}}\right)^{\otimes2}\right\}=AI^{-1}A^{\mathsf T} E P θ { ( ψ P θ , q K ) ⊗ 2 } = A I − 1 A T by (E.16). As E π K { P θ ( E N c ) } = o ( 1 ) \mathbb{E}_{\pi_K}\{P_{\theta}(\mathcal{E}^{c}_{N})\}=o(1) E π K { P θ ( E N c )} = o ( 1 ) and 0 ≤ R N K ≤ 1 0\leq R^{K}_{N}\leq1 0 ≤ R N K ≤ 1 , by (E.43) and (E.44)`, we obtain E π E P R N K = o ( 1 ) \mathbb{E}_{\pi}\mathbb{E}_{P}R^{K}_{N}=o(1) E π E P R N K = o ( 1 ) , which proves the proposition.
Change of prior
The lemmas below compare the posterior under a prior π P \pi_{P} π P with that under π K \pi_{K} π K and reduce expectations under π P \pi_{P} π P to the simulator experiment. In this subsection, θ P \theta_{P} θ P and g P , K g_{P,K} g P , K are the sieve coefficients and remainder of P ∈ P P\in\mathcal{P} P ∈ P in § 3.1 , P π \mathcal{P}_{\pi} P π is the support of π P \pi_{P} π P , and w π w_{\pi} w π , C w C_{w} C w and L N L_{N} L N are as in Assumption 4.
At every context ( D n , q ) (D_{n},q) ( D n , q ) , let f π K : = ( m π K , S π K ) f_{\pi_{K}}:=(m_{\pi_{K}},S_{\pi_{K}}) f π K := ( m π K , S π K ) denote the posterior moments (5) under π K \pi_{K} π K and E n \mathbb{E}_{n} E n the expectation over the coefficient posterior of Section E.3 at size n n n , with density proportional to e − V n e^{-V_{n}} e − V n on Θ K \Theta_{K} Θ K . We define the sieve approximation error in (10) by ϵ π , N : = L N 2 / N + N δ π 2 \epsilon_{\pi,N}:=L_{N}^{2}/N+N\delta_{\pi}^{2} ϵ π , N := L N 2 / N + N δ π 2 , with δ π = sup P ∈ P π ∥ g P , K ∥ L 2 ( P 0 ) \delta_{\pi}=\sup_{P\in\mathcal{P}_{\pi}}\|g_{P,K}\|_{L_{2}(P_{0})} δ π = sup P ∈ P π ∥ g P , K ∥ L 2 ( P 0 ) of (A3), and, except in the mode pair ( g , V ) (g,V) ( g , V ) , g g g denotes a remainder g P ′ , K g_{P',K} g P ′ , K with P ′ ∈ P π P'\in\mathcal{P}_{\pi} P ′ ∈ P π .
For θ ∈ Θ K \theta\in\Theta_{K} θ ∈ Θ K and bounded g : Z → R g:\mathcal{Z}\to\mathbb{R} g : Z → R , let P θ , g P_{\theta,g} P θ , g denote the tilt with d P θ , g / d P θ : = e g / E P θ e g \mathrm{d}P_{\theta,g}/\mathrm{d}P_{\theta}:=e^{g}/\mathbb{E}_{P_{\theta}}e^{g} d P θ , g / d P θ := e g / E P θ e g . If g = g P ′ , K g=g_{P',K} g = g P ′ , K for some P ′ ∈ P π P'\in\mathcal{P}_{\pi} P ′ ∈ P π , then ∣ θ T b ( K ) + g ∣ ≤ C ∞ ( B + 1 ) |\theta^{\mathsf T}b_{(K)}+g|\leq C_{\infty}(B+1) ∣ θ T b ( K ) + g ∣ ≤ C ∞ ( B + 1 ) once h N ≤ C ∞ h_{N}\leq C_{\infty} h N ≤ C ∞ , for the bound ∥ g ∥ ∞ ≤ h N \|g\|_{\infty}\leq h_{N} ∥ g ∥ ∞ ≤ h N of Assumption 3, so that P θ , g ∈ P P_{\theta,g}\in\mathcal{P} P θ , g ∈ P by the envelope argument in Section B.2.
Lemma E.7. Let P 1 P_{1} P 1 and P 2 P_{2} P 2 be probability measures on a common measurable space with P 2 ≪ P 1 P_{2}\ll P_{1} P 2 ≪ P 1 and Γ : = 1 + χ 2 ( P 2 ∥ P 1 ) < ∞ \Gamma:=1+\chi^{2}(P_{2}\Vert P_{1})<\infty Γ := 1 + χ 2 ( P 2 ∥ P 1 ) < ∞ . Then every measurable φ \varphi φ with values in [ 0 , 1 ] [0,1] [ 0 , 1 ] satisfies
E P 2 φ ≤ E P 1 φ + { ( Γ − 1 ) E P 1 φ } 1 / 2 . \mathbb{E}_{P_{2}}\varphi\leq\mathbb{E}_{P_{1}}\varphi+\{(\Gamma-1)\mathbb{E}_{P_{1}}\varphi\}^{1/2}. E P 2 φ ≤ E P 1 φ + {( Γ − 1 ) E P 1 φ } 1/2 .
Proof. We compare the two expectations through w : = d P 2 / d P 1 w:=\mathrm{d}P_{2}/\mathrm{d}P_{1} w := d P 2 / d P 1 , which satisfies E P 1 { ( w − 1 ) 2 } = Γ − 1 \mathbb{E}_{P_{1}}\{(w-1)^{2}\}=\Gamma-1 E P 1 {( w − 1 ) 2 } = Γ − 1 . Since φ 2 ≤ φ \varphi^{2}\leq\varphi φ 2 ≤ φ , by Cauchy–Schwarz, we have
E P 2 φ − E P 1 φ = E P 1 { ( w − 1 ) φ } ≤ [ E P 1 { ( w − 1 ) 2 } E P 1 ( φ 2 ) ] 1 / 2 ≤ { ( Γ − 1 ) E P 1 φ } 1 / 2 . \mathbb{E}_{P_{2}}\varphi-\mathbb{E}_{P_{1}}\varphi=\mathbb{E}_{P_{1}}\{(w-1)\varphi\}\leq\left[\mathbb{E}_{P_{1}}\{(w-1)^{2}\}\mathbb{E}_{P_{1}}(\varphi^{2})\right]^{1/2}\leq\{(\Gamma-1)\mathbb{E}_{P_{1}}\varphi\}^{1/2}. E P 2 φ − E P 1 φ = E P 1 {( w − 1 ) φ } ≤ [ E P 1 {( w − 1 ) 2 } E P 1 ( φ 2 ) ] 1/2 ≤ {( Γ − 1 ) E P 1 φ } 1/2 .
which proves the lemma.
Lemma E.8 (Reduction to the sieve prior). Under Assumptions 3 and 4, every measurable φ : P × Q × Z N → [ 0 , ∞ ] \varphi:\mathcal{P}\times\mathcal{Q}\times\mathcal{Z}^{N}\to[0,\infty] φ : P × Q × Z N → [ 0 , ∞ ] satisfies
E π P ⊗ π q E P φ ≤ C w sup g E π K ⊗ π q E P θ , g φ ( P θ , g , q , D N ) , (61) \mathbb{E}_{\pi_{P}\otimes\pi_{q}}\mathbb{E}_{P}\varphi\leq C_{w}\sup_{g}\mathbb{E}_{\pi_{K}\otimes\pi_{q}}\mathbb{E}_{P_{\theta,g}}\varphi(P_{\theta,g},q,D_{N}), \tag*{(61)} E π P ⊗ π q E P φ ≤ C w g sup E π K ⊗ π q E P θ , g φ ( P θ , g , q , D N ) , (61) where g g g ranges over { g P ′ , K : P ′ ∈ P π } \{g_{P',K}:P'\in\mathcal{P}_{\pi}\} { g P ′ , K : P ′ ∈ P π } . Moreover, there exists a constant C C C such that, for every sequence g N ∈ { g P ′ , K : P ′ ∈ P π } g_{N}\in\{g_{P',K}:P'\in\mathcal{P}_{\pi}\} g N ∈ { g P ′ , K : P ′ ∈ P π } , the tilts P : = P θ , g N P:=P_{\theta,g_{N}} P := P θ , g N satisfy ∥ d P / d P θ − 1 ∥ ∞ ≤ e 2 h N − 1 \|\mathrm{d}P/\mathrm{d}P_{\theta}-1\|_{\infty}\leq e^{2h_{N}}-1 ∥ d P / d P θ − 1 ∥ ∞ ≤ e 2 h N − 1 , χ 2 ( P ∥ P θ ) ≤ C c N / N \chi^{2}(P\Vert P_{\theta})\leq Cc_{N}/N χ 2 ( P ∥ P θ ) ≤ C c N / N and χ 2 ( P ⊗ N ∥ P θ ⊗ N ) = o ( 1 ) \chi^{2}(P^{\otimes N}\Vert P_{\theta}^{\otimes N})=o(1) χ 2 ( P ⊗ N ∥ P θ ⊗ N ) = o ( 1 ) uniformly in θ ∈ Θ K \theta\in\Theta_{K} θ ∈ Θ K , where c N c_{N} c N and h N h_{N} h N are the sequences of Assumption 3.
Proof. We derive (E.45) from the conditional density of the coefficient and then bound the divergences of the tilts from the sieve populations. By Assumption 4, the coefficient θ P \theta_{\mathbb{P}} θ P has density w π ≤ C w w_{\pi} \le C_w w π ≤ C w relative to π K \pi_K π K given g P , K g_{\mathbb{P},K} g P , K , and P = P θ P , g P , K \mathbb{P}=\mathbb{P}_{\theta_{\mathbb{P}},g_{\mathbb{P},K}} P = P θ P , g P , K , which proves (E.45). For bounded φ \varphi φ , the supremum is o ( 1 ) o(1) o ( 1 ) if the expectation is o ( 1 ) o(1) o ( 1 ) along every sequence g N g_N g N . For the tilts, by Assumption 3, we have
∣ d P d P θ − 1 ∣ = ∣ e g N E P θ e g N − 1 ∣ ≤ e 2 h N − 1 , χ 2 ( P ∥ P θ ) = Var P θ ( e g N ) ( E P θ e g N ) 2 ≤ ( i ) e 4 h N E P θ ( g N 2 ) ≤ ( i i ) C C N N , χ 2 ( P ⊗ N ∥ P θ ⊗ N ) = { 1 + χ 2 ( P ∥ P θ ) } N − 1 ≤ ( i i i ) e C C N − 1 = o ( 1 ) , (62) \begin{aligned}
\left|\frac{\mathrm{d}\mathbb{P}}{\mathrm{d}\mathbb{P}_{\theta}}-1\right|
&=\left|\frac{e^{g_N}}{\mathbb{E}_{\mathbb{P}_{\theta}}e^{g_N}}-1\right|
\le e^{2h_N}-1,\\
\chi^2(\mathbb{P}\Vert\mathbb{P}_{\theta})
&=\frac{\operatorname{Var}_{\mathbb{P}_{\theta}}(e^{g_N})}{(\mathbb{E}_{\mathbb{P}_{\theta}}e^{g_N})^2}
\mathrel{\overset{\mathrm{(i)}}{\le}}e^{4h_N}\mathbb{E}_{\mathbb{P}_{\theta}}(g_N^2)
\mathrel{\overset{\mathrm{(ii)}}{\le}}\frac{C C_N}{N},\\
\chi^2(\mathbb{P}^{\otimes N}\Vert\mathbb{P}_{\theta}^{\otimes N})
&=\left\{1+\chi^2(\mathbb{P}\Vert\mathbb{P}_{\theta})\right\}^{N}-1
\mathrel{\overset{\mathrm{(iii)}}{\le}}e^{C C_N}-1=o(1), \tag*{(62)}
\end{aligned} d P θ d P − 1 χ 2 ( P ∥ P θ ) χ 2 ( P ⊗ N ∥ P θ ⊗ N ) = E P θ e g N e g N − 1 ≤ e 2 h N − 1 , = ( E P θ e g N ) 2 Var P θ ( e g N ) ≤ ( i ) e 4 h N E P θ ( g N 2 ) ≤ ( ii ) N C C N , = { 1 + χ 2 ( P ∥ P θ ) } N − 1 ≤ ( iii ) e C C N − 1 = o ( 1 ) , (62)
where (i) follows from Var ( e g N ) ≤ E ( e g N − 1 ) 2 \operatorname{Var}(e^{g_N})\le\mathbb{E}(e^{g_N}-1)^2 Var ( e g N ) ≤ E ( e g N − 1 ) 2 , ∣ e x − 1 ∣ ≤ ∣ x ∣ e ∣ x ∣ |e^x-1|\le|x|e^{|x|} ∣ e x − 1∣ ≤ ∣ x ∣ e ∣ x ∣ and E P θ e g N ≥ e − h N \mathbb{E}_{\mathbb{P}_{\theta}}e^{g_N}\ge e^{-h_N} E P θ e g N ≥ e − h N , (ii) from the density envelope and Assumption 3, and (iii) from 1 + x ≤ e x 1+x\le e^x 1 + x ≤ e x , uniformly in θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K , which completes the proof.
Lemma E.9 (Stability of the posterior). Under Assumptions 1(i), 3 and 4, there exist constants C C C and s 0 s_0 s 0 , independent of N N N , K K K , n n n , q q q and D n D_n D n , such that, for all sufficiently large N N N , all n ∈ N n\in\mathcal{N} n ∈ N and all contexts ( D n , q ) (D_n,q) ( D n , q ) ,
n ∥ m π − m π K ∥ 2 + ∥ S π − S π K ∥ F 2 ≤ C ϵ π , N , (63) n\lVert m_{\pi}-m_{\pi_K}\rVert^2+\lVert S_{\pi}-S_{\pi_K}\rVert_F^2\le C\epsilon_{\pi,N}, \tag*{(63)} n ∥ m π − m π K ∥ 2 + ∥ S π − S π K ∥ F 2 ≤ C ϵ π , N , (63) and, for all u ∈ R d k u\in\mathbb{R}^{d_k} u ∈ R d k with ∥ u ∥ = 1 \lVert u\rVert=1 ∥ u ∥ = 1 and t ∈ R t\in\mathbb{R} t ∈ R ,
log E n ( exp [ t n u T { β q ( P ) − m π } ] | D n , q ) ≤ s 0 2 t 2 2 . \log\mathbb{E}_n\left(\exp\left[t\sqrt{n}u^{\mathsf{T}}\{\beta_q(\mathbb{P})-m_{\pi}\}\right]\middle|D_n,q\right)\le\frac{s_0^2t^2}{2}. log E n ( exp [ t n u T { β q ( P ) − m π } ] D n , q ) ≤ 2 s 0 2 t 2 .
Proof. We bound the density ρ \rho ρ of the posterior of θ P \theta_{\mathbb{P}} θ P under π P \pi_{\mathbb{P}} π P relative to that under π K \pi_K π K , deduce a bound on E n { ( ρ − 1 ) 2 } \mathbb{E}_n\{(\rho-1)^2\} E n {( ρ − 1 ) 2 } , and then compare moments and tails.
For each n n n , D n D_n D n and q q q , let μ \mu μ denote the distribution of g P , K g_{\mathbb{P},K} g P , K under π P \pi_{\mathbb{P}} π P . Since P θ , g \mathbb{P}_{\theta,g} P θ , g has density e g / E P θ e g e^g/\mathbb{E}_{\mathbb{P}_{\theta}}e^g e g / E P θ e g relative to P θ \mathbb{P}_{\theta} P θ , the posterior of θ P \theta_{\mathbb{P}} θ P under π P \pi_{\mathbb{P}} π P has a density ρ \rho ρ relative to that under π K \pi_K π K , which satisfies
ρ ( θ ) ∝ ∫ w π ( θ ∣ g ) exp { ∑ i = 1 n g ( Z i ) − n log E P θ e g } μ ( d g ) . (64) \rho(\theta)\propto\int w_{\pi}(\theta\mid g)\exp\left\{\sum_{i=1}^{n}g(Z_i)-n\log\mathbb{E}_{\mathbb{P}_{\theta}}e^g\right\}\mu(\mathrm{d}g). \tag*{(64)} ρ ( θ ) ∝ ∫ w π ( θ ∣ g ) exp { i = 1 ∑ n g ( Z i ) − n log E P θ e g } μ ( d g ) . (64)
Since the functions b k b_k b k are orthonormal in L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) , by Bessel’s inequality we have
∥ ∇ θ log E P θ e g ∥ = ∥ E P θ , g b ( K ) − E P θ b ( K ) ∥ ≤ ∥ d P θ , g d P 0 − d P θ d P 0 ∥ L 2 ( P 0 ) ≤ C ∥ g ∥ L 2 ( P 0 ) . (65) \lVert\nabla_{\theta}\log\mathbb{E}_{\mathbb{P}_{\theta}}e^g\rVert
=\lVert\mathbb{E}_{\mathbb{P}_{\theta,g}}b^{(K)}-\mathbb{E}_{\mathbb{P}_{\theta}}b^{(K)}\rVert
\le\left\|\frac{\mathrm{d}\mathbb{P}_{\theta,g}}{\mathrm{d}\mathbb{P}_0}-\frac{\mathrm{d}\mathbb{P}_{\theta}}{\mathrm{d}\mathbb{P}_0}\right\|_{L_2(\mathbb{P}_0)}
\le C\lVert g\rVert_{L_2(\mathbb{P}_0)}. \tag*{(65)} ∥ ∇ θ log E P θ e g ∥ = ∥ E P θ , g b ( K ) − E P θ b ( K ) ∥ ≤ d P 0 d P θ , g − d P 0 d P θ L 2 ( P 0 ) ≤ C ∥ g ∥ L 2 ( P 0 ) . (65)
where the last inequality uses the density envelope and ∥ g ∥ ∞ ≤ h N ≤ 1 \lVert g\rVert_{\infty}\le h_N\le1 ∥ g ∥ ∞ ≤ h N ≤ 1 . By Assumption 4 and (E.49), the logarithm of each integrand in (E.48) is L N ′ L'_N L N ′ -Lipschitz in θ \theta θ for L N ′ : = L N + C n δ π L'_N:=L_N+Cn\delta_{\pi} L N ′ := L N + C n δ π , and hence so is log ρ \log\rho log ρ on Θ K \Theta_K Θ K .
We next bound the χ 2 \chi^2 χ 2 divergence. Normalising ρ \rho ρ so that E n ( ρ ) = 1 \mathbb{E}_n(\rho)=1 E n ( ρ ) = 1 and applying (E.19) to log ρ \log\rho log ρ at t = 2 t=2 t = 2 , we have
E n ( ρ 2 ) ≤ ( i ) E n ( ρ 2 ) e 2 E n ( log ρ ) ≤ exp ( 2 L N ′ 2 c n ) , \mathbb{E}_n(\rho^2)\mathrel{\overset{\mathrm{(i)}}{\le}}\frac{\mathbb{E}_n(\rho^2)}{e^{2\mathbb{E}_n(\log\rho)}}\le\exp\left(\frac{2L_N^{\prime2}}{cn}\right), E n ( ρ 2 ) ≤ ( i ) e 2 E n ( l o g ρ ) E n ( ρ 2 ) ≤ exp ( c n 2 L N ′2 ) ,
e n d s m i d = 1 {ends_mid=1} e n d s m i d = 1
where (i) holds because E n ( log ρ ) ≤ log E n ( ρ ) = 0 \mathbb{E}_n(\log\rho) \leq\log\mathbb{E}_n(\rho) = 0 E n ( log ρ ) ≤ log E n ( ρ ) = 0 by Jensen’s inequality. Since n ≍ N n \asymp N n ≍ N and L N ′ 2 / n ≲ L N 2 / N + N δ π 2 L_N^{\prime2}/n \lesssim L_N^2/N + N\delta_\pi^2 L N ′2 / n ≲ L N 2 / N + N δ π 2 is bounded, it follows that
χ n 2 : = E n { ( ρ − 1 ) 2 } ≤ C L N ′ 2 n ≤ C ϵ π , N . (66) \chi_n^2 := \mathbb{E}_n\{(\rho-1)^2\} \leq\frac{CL_N^{\prime2}}{n} \leq C\epsilon_{\pi,N}. \tag*{(66)} χ n 2 := E n {( ρ − 1 ) 2 } ≤ n C L N ′2 ≤ C ϵ π , N . (66)
For u ∈ R d k u \in\mathbb{R}^{d_k} u ∈ R d k with ∥ u ∥ = 1 \lVert u\rVert= 1 ∥ u ∥ = 1 , let G : = n u T { β q ( P θ ) − m π K } G := \sqrt{n}u^{\mathsf T}\{\beta_q(\mathbb{P}_\theta)-m_{\pi_K}\} G := n u T { β q ( P θ ) − m π K } , so that E n ( G ) = 0 \mathbb{E}_n(G)=0 E n ( G ) = 0 , E n ( G 2 ) ≤ s 0 2 \mathbb{E}_n(G^2)\leq s_0^2 E n ( G 2 ) ≤ s 0 2 and E n ( G 4 ) ≤ 16 s 0 4 \mathbb{E}_n(G^4)\leq16s_0^4 E n ( G 4 ) ≤ 16 s 0 4 by Lemma E.3 . By Cauchy–Schwarz and (E.50), we have
∣ E n ( ρ G ) ∣ = ∣ E n { ( ρ − 1 ) G } ∣ ≤ s 0 χ n and ∣ E n ( ρ G 2 ) − E n ( G 2 ) ∣ ≤ 4 s 0 2 χ n . (67) \left|\mathbb{E}_n(\rho G)\right|=\left|\mathbb{E}_n\{(\rho-1)G\}\right|\leq s_0\chi_n
\quad\text{and}\quad
\left|\mathbb{E}_n(\rho G^2)-\mathbb{E}_n(G^2)\right|\leq4s_0^2\chi_n. \tag*{(67)} ∣ E n ( ρG ) ∣ = ∣ E n {( ρ − 1 ) G } ∣ ≤ s 0 χ n and E n ( ρ G 2 ) − E n ( G 2 ) ≤ 4 s 0 2 χ n . (67)
By (E.1), ∥ β q ( P θ , g ) − β q ( P θ ) ∥ ≤ C ∥ g ∥ L 2 ( P 0 ) ≤ C δ π \lVert\beta_q(\mathbb{P}_{\theta,g})-\beta_q(\mathbb{P}_\theta)\rVert\leq C\lVert g\rVert_{L^2(\mathbb{P}_0)}\leq C\delta_\pi ∥ β q ( P θ , g ) − β q ( P θ )∥ ≤ C ∥ g ∥ L 2 ( P 0 ) ≤ C δ π , and, since E n ( ρ G 2 ) ≤ C \mathbb{E}_n(\rho G^2)\leq C E n ( ρ G 2 ) ≤ C by (E.51), we obtain
∣ n u T ( m π − m π K ) − E n ( ρ G ) ∣ ≤ C n δ π , \left|\sqrt{n}u^{\mathsf T}(m_\pi-m_{\pi_K})-\mathbb{E}_n(\rho G)\right|\leq C\sqrt{n}\delta_\pi, n u T ( m π − m π K ) − E n ( ρG ) ≤ C n δ π ,
∣ u T ( S π − S π K ) u − E n ( ρ G 2 ) + E n ( G 2 ) + { E n ( ρ G ) } 2 ∣ ≤ C ( n δ π + n δ π 2 ) . \left|u^{\mathsf T}(S_\pi-S_{\pi_K})u-\mathbb{E}_n(\rho G^2)+\mathbb{E}_n(G^2)+\{\mathbb{E}_n(\rho G)\}^2\right|\leq C(\sqrt{n}\delta_\pi+n\delta_\pi^2). u T ( S π − S π K ) u − E n ( ρ G 2 ) + E n ( G 2 ) + { E n ( ρG ) } 2 ≤ C ( n δ π + n δ π 2 ) .
Taking the supremum over u ∈ R d k u\in\mathbb{R}^{d_k} u ∈ R d k with ∥ u ∥ = 1 \lVert u\rVert=1 ∥ u ∥ = 1 and using d k ≤ d 0 d_k\leq d_0 d k ≤ d 0 , we obtain (E.47).
For the sub-Gaussian bound, let F : = n u T β q ( P θ ) F:=\sqrt{n}u^{\mathsf T}\beta_q(\mathbb{P}_\theta) F := n u T β q ( P θ ) for ∥ u ∥ = 1 \lVert u\rVert=1 ∥ u ∥ = 1 , which is C n C\sqrt{n} C n -Lipschitz in θ \theta θ by Lemma E.2 . By Cauchy–Schwarz, for t ∈ R t\in\mathbb{R} t ∈ R , we have
E n { ρ e t ( F − E n F ) } ≤ { E n ( ρ 2 ) } 1 / 2 { E n e 2 t ( F − E n F ) } 1 / 2 ≤ C e C t 2 . \mathbb{E}_n\{\rho e^{t(F-\mathbb{E}_nF)}\}\leq\{\mathbb{E}_n(\rho^2)\}^{1/2}\{\mathbb{E}_n e^{2t(F-\mathbb{E}_nF)}\}^{1/2}\leq Ce^{Ct^2}. E n { ρ e t ( F − E n F ) } ≤ { E n ( ρ 2 ) } 1/2 { E n e 2 t ( F − E n F ) } 1/2 ≤ C e C t 2 .
where the last inequality uses (E.50) and (E.19) for F F F . Under the posterior for π P \pi_P π P , by the bound on ∥ β q ( P θ , g ) − β q ( P θ ) ∥ \lVert\beta_q(\mathbb{P}_{\theta,g})-\beta_q(\mathbb{P}_\theta)\rVert ∥ β q ( P θ , g ) − β q ( P θ )∥ and Cauchy–Schwarz, X : = n u T { β q ( P ) − m π } X:=\sqrt{n}u^{\mathsf T}\{\beta_q(\mathbb{P})-m_\pi\} X := n u T { β q ( P ) − m π } satisfies
∣ X − ( F − E n F ) ∣ ≤ ∣ X − { F − E n ( ρ F ) } ∣ + ∣ E n ( ρ F ) − E n F ∣ ≤ C n δ π + χ n { E n [ ( F − E n F ) 2 ] } 1 / 2 ≤ C , \begin{aligned}
\left|X-(F-\mathbb{E}_nF)\right|
\leq\left|X-\{F-\mathbb{E}_n(\rho F)\}\right|+\left|\mathbb{E}_n(\rho F)-\mathbb{E}_nF\right| \\
&\leq C\sqrt{n}\delta_\pi+\chi_n\{\mathbb{E}_n[(F-\mathbb{E}_nF)^2]\}^{1/2}\leq C,
\end{aligned} ∣ X − ( F − E n F ) ∣ ≤ ∣ X − { F − E n ( ρF )} ∣ + ∣ E n ( ρF ) − E n F ∣ ≤ C n δ π + χ n { E n [( F − E n F ) 2 ] } 1/2 ≤ C ,
so that the centred variable X X X has moment generating function at most exp { C ( 1 + ∣ t ∣ + t 2 ) } \exp\{C(1+|t|+t^2)\} exp { C ( 1 + ∣ t ∣ + t 2 )} . Since e x ≤ 1 + x + x 2 e ∣ x ∣ / 2 e^x\leq1+x+x^2e^{|x|}/2 e x ≤ 1 + x + x 2 e ∣ x ∣ /2 , this function is at most 1 + C t 2 1+Ct^2 1 + C t 2 for ∣ t ∣ ≤ 1 |t|\leq1 ∣ t ∣ ≤ 1 , and the asserted bound follows with s 0 s_0 s 0 depending only on C C C .
Proofs for Section 3.2
This section proves Theorems 2 2 2 , 3 3 3 and 4 4 4 for every prior satisfying Assumptions 3 3 3 and 4 4 4 . As in Section E, N ≥ 3 N\geq3 N ≥ 3 , T ≥ 2 T\geq2 T ≥ 2 , constants c c c and C C C may vary between bounds and, at size n n n , E π E P \mathbb{E}_\pi\mathbb{E}_P E π E P averages over ( P , q ) ∼ π (P,q)\sim\pi ( P , q ) ∼ π and D n ∼ P ⊗ n D_n\sim P^{\otimes n} D n ∼ P ⊗ n . For outputs f = ( f β , f V ) f=(f^\beta,f^V) f = ( f β , f V ) and f ′ = ( f ′ β , f ′ V ) f'=(f'^\beta,f'^V) f ′ = ( f ′ β , f ′ V ) at the same context ( D N , q ) (D_N,q) ( D N , q ) , we define the moment error
e ( f , f ′ ) : = N ∥ f β − f ′ β ∥ 2 + ∥ f V − f ′ V ∥ F 2 . (68) e(f,f'):=N\lVert f^\beta-f'^\beta\rVert^2+\lVert f^V-f'^V\rVert_F^2. \tag*{(68)} e ( f , f ′ ) := N ∥ f β − f ′ β ∥ 2 + ∥ f V − f ′ V ∥ F 2 . (68)
For the empirical risk R ^ T \widehat{R}_T R T of § 2.2 , let R ( f ) : = E { R ^ T ( f ) } R(f):=\mathbb{E}\{\widehat{R}_T(f)\} R ( f ) := E { R T ( f )} denote the population pretraining risk. For the class F T F = F T F ( L , J , d e , d f , W ) \mathcal{F}_{\mathrm{TF}}=\mathcal{F}_{\mathrm{TF}}(L,J,d_e,d_f,W) F TF = F TF ( L , J , d e , d f , W ) of Definition B.5 , with $\Omega\subseteq [ − W , W ] p [-W,W]^p [ − W , W ] p and W ≥ 1 W \ge1 W ≥ 1 , we define the approximation error and the pretraining error by
ϵ a p p : = inf f ∈ F T F { R ( f ) − R ( f π ∘ ) } and (69) \epsilon_{\mathrm{app}} := \inf_{f \in\mathcal{F}_{\mathrm{TF}}} \left\{R(f)-R(f_{\pi}^{\circ})\right\} \quad\text{and} \tag*{(69)} ϵ app := f ∈ F TF inf { R ( f ) − R ( f π ∘ ) } and (69)
r ~ N : = ϵ a p p + ϵ o p t + p L 2 log ( 2 p T W n max ) T , (70) \widetilde{r}_N := \epsilon_{\mathrm{app}}+\epsilon_{\mathrm{opt}}+\frac{pL^2\log(2pTWn_{\max})}{T}, \tag*{(70)} r N := ϵ app + ϵ opt + T p L 2 log ( 2 pT W n m a x ) , (70)
respectively.
Proof of Theorem 2
Let X : = ( D n , q ) X := (\mathcal{D}_n,q) X := ( D n , q ) denote a context independent of T \mathcal{T} T , with ( P , q , n ) ∼ π ⊗ π n (\mathbb{P},q,n)\sim\pi\otimes\pi_n ( P , q , n ) ∼ π ⊗ π n and D n ∼ P ⊗ n \mathcal{D}_n\sim\mathbb{P}^{\otimes n} D n ∼ P ⊗ n , at which e e e is evaluated with n n n in place of N N N . For β 0 ∈ R k \beta_0 \in\mathbb{R}^k β 0 ∈ R k and an output f f f with v − I ⪯ f V ⪯ v + I v_{-I}\preceq f^V\preceq v_{+I} v − I ⪯ f V ⪯ v + I , where [ v − , v + ] [v_-,v_+] [ v − , v + ] is the covariance range of Section B.1, we define the score difference
g f ( X , β 0 ) : = ℓ n { β 0 ; f β ( X ) , f V ( X ) } − ℓ n { β 0 ; m π ( X ) , clip S π ( X ) } . (71) g_f(X,\beta_0) := \ell_n\{\beta_0;f^\beta(X),f^V(X)\}-\ell_n\{\beta_0;m_\pi(X),\operatorname{clip} S_\pi(X)\}. \tag*{(71)} g f ( X , β 0 ) := ℓ n { β 0 ; f β ( X ) , f V ( X )} − ℓ n { β 0 ; m π ( X ) , clip S π ( X )} . (71)
We let h f ( X ) : = E π { g f ( X , β q ( P ) ) ∣ X } h_f(X):=\mathbb{E}_\pi\{g_f(X,\beta_q(\mathbb{P}))\mid X\} h f ( X ) := E π { g f ( X , β q ( P )) ∣ X } and E ^ T ( φ ) : = T − 1 ∑ t = 1 T φ { ( D n t ( t ) , q t ) , β 0 , t } \widehat{\mathbb{E}}_T(\varphi):=T^{-1}\sum_{t=1}^T\varphi\{(\mathcal{D}_{n_t}^{(t)},q_t),\beta_{0,t}\} E T ( φ ) := T − 1 ∑ t = 1 T φ {( D n t ( t ) , q t ) , β 0 , t } denote the conditional excess score in (E.6) and the empirical mean over T T T of a function φ \varphi φ of ( X , β 0 ) (X,\beta_0) ( X , β 0 ) , respectively, so that h f ≥ 0 h_f\geq0 h f ≥ 0 , E h f = R ( f ) − R ( f π ∘ ) \mathbb{E}h_f=R(f)-R(f_\pi^\circ) E h f = R ( f ) − R ( f π ∘ ) and E ^ T ( g f ) = R ^ T ( f ) − R ^ T ( f π ∘ ) \widehat{\mathbb{E}}_T(g_f)=\widehat{R}_T(f)-\widehat{R}_T(f_\pi^\circ) E T ( g f ) = R T ( f ) − R T ( f π ∘ ) .
Proof. We decompose the truncated excess risk of f ^ \widehat{f} f into approximation, optimisation and stochastic errors, bound the first by approximating the mode pair ( g , V ) (g,V) ( g , V ) of Definition E.1 and the last by metric entropy and localisation, and then transfer the bound to ν \nu ν .
Step 1: Risk decomposition (F.5). Let J ( f ) : = E ( 1 ∧ h f ) \mathcal{J}(f):=\mathbb{E}(1\wedge h_f) J ( f ) := E ( 1 ∧ h f ) denote the truncated excess risk, so that E { 1 ∧ e ( f ^ , f π ∘ ) ∣ T } ≲ J ( f ^ ) \mathbb{E}\{1\wedge e(\widehat{f},f_\pi^\circ)\mid\mathcal{T}\}\lesssim\mathcal{J}(\widehat{f}) E { 1 ∧ e ( f , f π ∘ ) ∣ T } ≲ J ( f ) by Lemma F.12 . For a deterministic f ∘ ∈ F T F f^\circ\in\mathcal{F}_{\mathrm{TF}} f ∘ ∈ F TF and c ′ > 0 c'>0 c ′ > 0 , we have
J ( f ^ ) = c ′ E ^ T ( g f ^ ) + { J ( f ^ ) − c ′ E ^ T ( g f ^ ) } ≤ c ′ E ^ T ( g f ∘ ) + c ′ ϵ o p t + sup f ∈ F T F { J ( f ) − c ′ E ^ T ( g f ) } , (72) \begin{aligned}
\mathcal{J}(\widehat{f}) &= c'\widehat{\mathbb{E}}_T(g_{\widehat{f}})+\{\mathcal{J}(\widehat{f})-c'\widehat{\mathbb{E}}_T(g_{\widehat{f}})\}\\
&\leq c'\widehat{\mathbb{E}}_T(g_{f^\circ})+c'\epsilon_{\mathrm{opt}}+\sup_{f\in\mathcal{F}_{\mathrm{TF}}}\{\mathcal{J}(f)-c'\widehat{\mathbb{E}}_T(g_f)\}, \tag*{(72)}
\end{aligned} J ( f ) = c ′ E T ( g f ) + { J ( f ) − c ′ E T ( g f )} ≤ c ′ E T ( g f ∘ ) + c ′ ϵ opt + f ∈ F TF sup { J ( f ) − c ′ E T ( g f )} , (72)
where the inequality follows from the basic inequality E ^ T ( g f ^ ) ≤ E ^ T ( g f ∘ ) + ϵ o p t \widehat{\mathbb{E}}_T(g_{\widehat{f}})\leq\widehat{\mathbb{E}}_T(g_{f^\circ})+\epsilon_{\mathrm{opt}} E T ( g f ) ≤ E T ( g f ∘ ) + ϵ opt implied by (2) . The three terms in the last line are the approximation, optimisation and stochastic errors, respectively.
Step 2: Approximation error (F.6). For large N N N , K 3 ∨ σ − 2 K 2 a ≤ n min K^3\vee\sigma^{-2}K^2a\leq n_{\min} K 3 ∨ σ − 2 K 2 a ≤ n m i n , so that, by Lemma F.1, a network f ~ = ( f ~ β , clip C ∘ ) \widetilde{f}=(\widetilde{f}^{\beta},\operatorname{clip} C^\circ) f = ( f β , clip C ∘ ) satisfies (F.18) and sup n ∈ N a n ( f ~ , C ∘ ) ≤ ( 4 n min ) − 1 \sup_{n\in\mathbb{N}}a_n(\widetilde{f},C^\circ)\leq(4n_{\min})^{-1} sup n ∈ N a n ( f , C ∘ ) ≤ ( 4 n m i n ) − 1 . As f ˉ ∈ F N \bar{f} \in\mathcal{F}_N f ˉ ∈ F N of Section F.1.1 for Ω : = [ − W , W ] p \Omega:= [-W,W]^p Ω := [ − W , W ] p , with W W W its coefficient bound, we obtain
ϵ a p p ≤ R ( f ˉ ) − R ( f ∘ ) = ∑ n ∈ N π n ( n ) E π E P h f ˉ ≲ ( i ) n ∈ N ∑ n ∈ N π n ( n ) E π E P { n min − 2 + n ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } ≲ ( i i ) n ∈ N K 3 N + K log N N + ϵ π , N , (73) \begin{aligned}
\epsilon_{\mathrm{app}} &\le R(\bar{f}) - R(f^\circ) = \sum_{n \in\mathcal{N}} \pi_n(n)\mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}h_{\bar{f}} \\
&\underset{n \in\mathcal{N}}{\overset{(\mathrm{i})}{\lesssim}} \sum_{n \in\mathcal{N}} \pi_n(n)\mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}\left\{n_{\min}^{-2} + n\lVert m_{\pi}-g\rVert^2 + \lVert S_{\pi}-V\rVert_F^2\right\} \\
&\underset{n \in\mathcal{N}}{\overset{(\mathrm{ii})}{\lesssim}} \frac{K^3}{N} + K\sqrt{\frac{\log N}{N}} + \epsilon_{\pi,N}, \tag*{(73)}
\end{aligned} ϵ app ≤ R ( f ˉ ) − R ( f ∘ ) = n ∈ N ∑ π n ( n ) E π E P h f ˉ n ∈ N ≲ ( i ) n ∈ N ∑ π n ( n ) E π E P { n m i n − 2 + n ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } n ∈ N ≲ ( ii ) N K 3 + K N log N + ϵ π , N , (73)
where (i) follows from (F.30) at size n n n and the triangle inequality, as in (F.31), and (ii) from the proof of Lemma F.3 under π K \pi_K π K , where ϵ π , N = 0 \epsilon_{\pi,N}=0 ϵ π , N = 0 , from Lemma F.4 otherwise, and from n min − 2 ≤ K 3 / n min n_{\min}^{-2} \le K^3/n_{\min} n m i n − 2 ≤ K 3 / n m i n and n min ≳ N n_{\min} \gtrsim N n m i n ≳ N .
Step 3: Metric entropy of the loss class. Let δ ∈ ( 0 , 1 / 2 ) \delta\in(0,1/2) δ ∈ ( 0 , 1/2 ) , and let z ˉ \bar{z} z ˉ , H δ H_\delta H δ and u δ u_\delta u δ be as in (F.51). By Lemma F.14 with u = T − 1 u=T^{-1} u = T − 1 , J + d e + d f ≤ p W J+d_e+d_f \le pW J + d e + d f ≤ p W , W ≥ 1 W \ge1 W ≥ 1 and log ( 1 + z ˉ ) ≲ log ( 2 n max T / δ ) \log(1+\bar{z}) \lesssim\log(2n_{\max}T/\delta) log ( 1 + z ˉ ) ≲ log ( 2 n m a x T / δ ) , we have
H δ + u δ ≲ p L 2 log ( 2 p T W n max δ − 1 ) . (74) H_\delta+ u_\delta\lesssim pL^2\log(2pTWn_{\max}\delta^{-1}). \tag*{(74)} H δ + u δ ≲ p L 2 log ( 2 pT W n m a x δ − 1 ) . (74)
For the last term of (F.3), F N \mathcal{F}_N F N has the architecture in the statement, with J = 1 J=1 J = 1 and constant input and output dimensions, so that p ≲ L d e ( d e + d f ) p \lesssim Ld_e(d_e+d_f) p ≲ L d e ( d e + d f ) , and, as K ≤ n max ≲ N K \le n_{\max} \lesssim N K ≤ n m a x ≲ N , we have
p L 2 log ( 2 p T W n max ) ≲ K 2 log 2 d + 6 n max log ( 2 N T ) ≲ K 2 log 2 d + 7 ( 2 N T ) , (75) pL^2\log(2pTWn_{\max}) \lesssim K^2\log^{2d+6}n_{\max}\log(2NT) \lesssim K^2\log^{2d+7}(2NT), \tag*{(75)} p L 2 log ( 2 pT W n m a x ) ≲ K 2 log 2 d + 6 n m a x log ( 2 N T ) ≲ K 2 log 2 d + 7 ( 2 N T ) , (75)
where the first inequality follows from (F.18) and p , W ≲ n max C p,W \lesssim n_{\max}^{C} p , W ≲ n m a x C , and the second from n max ≲ N n_{\max} \lesssim N n m a x ≲ N . Substituting (F.6) and (F.8) into (F.3), we obtain
r ~ N ≲ K 3 N + K log N N + K 2 log 2 d + 7 ( 2 N T ) T + ϵ π , N + ϵ o p t ≲ r N , (76) \widetilde{r}_N \lesssim\frac{K^3}{N}+K\sqrt{\frac{\log N}{N}}+\frac{K^2\log^{2d+7}(2NT)}{T}+\epsilon_{\pi,N}+\epsilon_{\mathrm{opt}}\lesssim r_N, \tag*{(76)} r N ≲ N K 3 + K N log N + T K 2 log 2 d + 7 ( 2 N T ) + ϵ π , N + ϵ opt ≲ r N , (76)
where r N r_N r N is as in (10) and the last inequality uses log ( 2 N T ) ≤ 2 log ( N T ) \log(2NT)\le2\log(NT) log ( 2 N T ) ≤ 2 log ( N T ) and the definition ϵ π , N = L N 2 / N + N δ π 2 \epsilon_{\pi,N}=L_N^2/N+N\delta_\pi^2 ϵ π , N = L N 2 / N + N δ π 2 in Section E.3.5, with L N L_N L N of Assumption 4 and δ π \delta_\pi δ π of (A3). Moreover, we have
r N ≤ K 3 N + K log N N + 4 2 d + 7 K 2 log 2 d + 7 N ( 1 T + 1 N 3 ) + ϵ π , N + ϵ o p t = o ( 1 ) , r_N \le\frac{K^3}{N}+K\sqrt{\frac{\log N}{N}}+4^{2d+7}K^2\log^{2d+7}N\left(\frac{1}{T}+\frac{1}{N^3}\right)+\epsilon_{\pi,N}+\epsilon_{\mathrm{opt}}=o(1), r N ≤ N K 3 + K N log N + 4 2 d + 7 K 2 log 2 d + 7 N ( T 1 + N 3 1 ) + ϵ π , N + ϵ opt = o ( 1 ) ,
where the inequality uses log ( N T ) ≤ 4 log N \log(NT)\le4\log N log ( N T ) ≤ 4 log N if T ≤ N 3 T\le N^3 T ≤ N 3 and the decrease of t ↦ t − 1 log 2 d + 7 ( N t ) t\mapsto t^{-1}\log^{2d+7}(Nt) t ↦ t − 1 log 2 d + 7 ( N t ) for log ( N t ) > 2 d + 7 \log(Nt)>2d+7 log ( N t ) > 2 d + 7 if T > N 3 T>N^3 T > N 3 , and the equality the conditions of Theorem 2.
Step 4: Localised stochastic error (F.10). Let f ∘ ∈ F T F f^\circ\in\mathcal{F}_{\mathrm{TF}} f ∘ ∈ F TF be deterministic with E h f ∘ ≤ ϵ 0 = ϵ a p p + T − 1 \mathbb{E}h_{f^\circ}\le\epsilon_0=\epsilon_{\mathrm{app}}+T^{-1} E h f ∘ ≤ ϵ 0 = ϵ app + T − 1 . Bounding the terms of (F.5) with c ′ = τ 0 / c 2 c'= \tau_0/c_2 c ′ = τ 0 / c 2 as in (F.53) by Lemma F.13 and (F.7), we obtain, on an event E T ( δ ) \mathcal{E}_{T}(\delta) E T ( δ ) with Pr { E T ( δ ) } ≥ 1 − δ \Pr\{\mathcal{E}_{T}(\delta)\} \ge1-\delta Pr { E T ( δ )} ≥ 1 − δ ,
π n ( N ) E π E P { 1 ∧ e ( f ^ , f π ∘ ) } ≤ ( i ) E { 1 ∧ e ( f ^ , f π ∘ ) ∣ T } ≲ ( i i ) ϵ o p t + p L 2 log ( 2 p T W n max δ − 1 ) T + ϵ a p p + T − 1 δ . \pi_{n}(N)\mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}\{1\wedge e(\widehat{f},f_{\pi}^{\circ})\} \overset{(i)}{\le} \mathbb{E}\{1\wedge e(\widehat{f},f_{\pi}^{\circ})\mid\mathcal{T}\}
\overset{(ii)}{\lesssim} \epsilon_{\mathrm{opt}}+\frac{pL^{2}\log(2pTWn_{\max}\delta^{-1})}{T}+\frac{\epsilon_{\mathrm{app}}+T^{-1}}{\delta}. π n ( N ) E π E P { 1 ∧ e ( f , f π ∘ )} ≤ ( i ) E { 1 ∧ e ( f , f π ∘ ) ∣ T } ≲ ( ii ) ϵ opt + T p L 2 log ( 2 pT W n m a x δ − 1 ) + δ ϵ app + T − 1 .
where (i) keeps the term n = N n=N n = N and (ii) follows from Lemma F.13 and (F.7). As π n ( N ) ≥ c \pi_{n}(N)\ge c π n ( N ) ≥ c , T − 1 ≲ r ~ N T^{-1}\lesssim\widetilde r_{N} T − 1 ≲ r N and log ( 1 / δ ) ≤ δ − 1 \log(1/\delta)\le\delta^{-1} log ( 1/ δ ) ≤ δ − 1 , we have, on E T ( δ ) \mathcal{E}_{T}(\delta) E T ( δ ) ,
E π E P { 1 ∧ e ( f ^ , f π ∘ ) } ≤ C δ − 1 r ~ N . (77) \mathbb{E}_{\pi}\mathbb{E}_{\mathbb{P}}\{1\wedge e(\widehat{f},f_{\pi}^{\circ})\}\le C\delta^{-1}\widetilde r_{N}. \tag*{(77)} E π E P { 1 ∧ e ( f , f π ∘ )} ≤ C δ − 1 r N . (77)
Besides bounds depending only on P \mathbb{P} P , this step uses the prior only through Lemma E.3, which extends to the priors of Assumptions 3 3 3 and 4 4 4 by Lemma E.9, and hence so does (F.10).
Step 5: Transfer to ν \nu ν in (F.13). We let L π , n \mathcal{L}_{\pi,n} L π , n and L ν , N \mathcal{L}_{\nu,N} L ν , N denote the distributions of ( D n , q ) (D_n,q) ( D n , q ) for ( P , q ) ∼ π (\mathbb{P},q)\sim\pi ( P , q ) ∼ π and of ( D N , q ) (D_N,q) ( D N , q ) for ( P , q ) ∼ ν (\mathbb{P},q)\sim\nu ( P , q ) ∼ ν , respectively, where D n ∼ P ⊗ n D_n\sim\mathbb{P}^{\otimes n} D n ∼ P ⊗ n given ( P , q ) (\mathbb{P},q) ( P , q ) , and define the overlap factor
Γ N ( ν ) : = 1 + χ 2 ( L ν , N ∥ L π , N ) . (78) \Gamma_N(\nu):=1+\chi^2(\mathcal{L}_{\nu,N}\Vert\mathcal{L}_{\pi,N}). \tag*{(78)} Γ N ( ν ) := 1 + χ 2 ( L ν , N ∥ L π , N ) . (78)
Let T ∈ E T ( δ ) \mathcal{T}\in\mathcal{E}_{T}(\delta) T ∈ E T ( δ ) and 0 < u ≤ 1 0<u\le1 0 < u ≤ 1 . Since 1 { e > u 2 } ≤ ( 1 ∧ e ) / u 2 \mathbf{1}_{\{e>u^2\}}\le(1\wedge e)/u^2 1 { e > u 2 } ≤ ( 1 ∧ e ) / u 2 , by (F.10), we have
γ u : = L π , N { e ( f ^ , f π ∘ ) > u 2 } ≤ C r ~ N δ u 2 . \gamma_u:=\mathcal{L}_{\pi,N}\{e(\widehat{f},f_{\pi}^{\circ})>u^2\}\le\frac{C\widetilde r_N}{\delta u^2}. γ u := L π , N { e ( f , f π ∘ ) > u 2 } ≤ δ u 2 C r N .
As ( P , q , D N ) (\mathbb{P},q,D_N) ( P , q , D N ) is independent of T \mathcal{T} T , applying Lemma E.7 to φ = 1 { e ( f , f π ∘ ) > u 2 } \varphi=\mathbf{1}_{\{e(f,f_{\pi}^{\circ})>u^2\}} φ = 1 { e ( f , f π ∘ ) > u 2 } , we obtain
Pr ν { e ( f ^ , f π ∘ ) 1 / 2 > u ∣ T } ≤ γ u + { ( Γ N ( ν ) − 1 ) γ u } 1 / 2 ≤ C r ~ N δ u 2 + { C ( Γ N ( ν ) − 1 ) r ~ N } 1 / 2 δ u . (79) \Pr_{\nu}\{e(\widehat{f},f_{\pi}^{\circ})^{1/2}>u\mid\mathcal{T}\}\le\gamma_u+\{(\Gamma_N(\nu)-1)\gamma_u\}^{1/2}\le\frac{C\widetilde r_N}{\delta u^2}+\frac{\{C(\Gamma_N(\nu)-1)\widetilde r_N\}^{1/2}}{\sqrt{\delta}\,u}. \tag*{(79)} ν Pr { e ( f , f π ∘ ) 1/2 > u ∣ T } ≤ γ u + {( Γ N ( ν ) − 1 ) γ u } 1/2 ≤ δ u 2 C r N + δ u { C ( Γ N ( ν ) − 1 ) r N } 1/2 . (79)
For a constant M > 0 M>0 M > 0 and u : = M { Γ N ( ν ) r ~ N } 1 / 2 u:=M\{\Gamma_N(\nu)\widetilde r_N\}^{1/2} u := M { Γ N ( ν ) r N } 1/2 , which is at most one for large N N N if Γ N ( ν ) r ~ N = o ( 1 ) \Gamma_N(\nu)\widetilde r_N=o(1) Γ N ( ν ) r N = o ( 1 ) , adding Pr { E T ( δ ) c } ≤ δ \Pr\{\mathcal{E}_{T}(\delta)^{c}\}\le\delta Pr { E T ( δ ) c } ≤ δ to (F.12) and using Γ N ( ν ) ≥ 1 \Gamma_N(\nu)\ge1 Γ N ( ν ) ≥ 1 , we obtain
Pr ν { N ∥ β ^ − m π ∥ + ∥ V ^ − clip S π ∥ F > 2 u } ≤ δ + C δ M 2 + C δ M . \Pr_{\nu}\left\{\sqrt{N}\lVert\widehat{\beta}-m_{\pi}\rVert+\lVert\widehat{V}-\operatorname{clip}S_{\pi}\rVert_{F}>\sqrt{2}\,u\right\}\le\delta+\frac{C}{\delta M^{2}}+\frac{C}{\sqrt{\delta}\,M}. ν Pr { N ∥ β − m π ∥ + ∥ V − clip S π ∥ F > 2 u } ≤ δ + δ M 2 C + δ M C .
where we use { N ∥ β ^ − m π ∥ + ∥ V ^ − clip S π ∥ F } 2 ≤ 2 e ( f ^ , f π ∘ ) \{\sqrt{N}\lVert\widehat{\beta}-m_{\pi}\rVert+\lVert\widehat{V}-\operatorname{clip}S_{\pi}\rVert_{F}\}^{2}\le2e(\widehat{f},f_{\pi}^{\circ}) { N ∥ β − m π ∥ + ∥ V − clip S π ∥ F } 2 ≤ 2 e ( f , f π ∘ ) . Taking δ \delta δ small and then M M M large, we obtain, for every F T F \mathcal{F}_{\mathrm{TF}} F TF and ν \nu ν with Γ N ( ν ) r ~ N = o ( 1 ) \Gamma_N(\nu)\widetilde r_N=o(1) Γ N ( ν ) r N = o ( 1 ) ,
N ∥ β ^ − m π ∥ + ∥ V ^ − clip S π ∥ F = O ν ( { Γ N ( ν ) r ~ N } 1 / 2 ) . (80) \sqrt{N}\lVert\widehat{\beta}-m_{\pi}\rVert+\lVert\widehat{V}-\operatorname{clip}S_{\pi}\rVert_{F}=O_{\nu}\left(\{\Gamma_N(\nu)\widetilde r_N\}^{1/2}\right). \tag*{(80)} N ∥ β − m π ∥ + ∥ V − clip S π ∥ F = O ν ( { Γ N ( ν ) r N } 1/2 ) . (80)
Under Assumption 5 5 5 , L ν , N \mathcal{L}_{\nu,N} L ν , N has density E π { w ( P , q ) ∣ D N , q } \mathbb{E}_{\pi}\{w(\mathbb{P},q)\mid D_N,q\} E π { w ( P , q ) ∣ D N , q } relative to L π , N \mathcal{L}_{\pi,N} L π , N , where w : = d ν N / d ( π P ⊗ π q ) w:=d\nu_N/d(\pi_{\mathbb{P}}\otimes\pi_q) w := d ν N / d ( π P ⊗ π q ) , and hence, by conditional Jensen’s inequality,
Γ N ( ν ) ≤ ∫ w 2 d ( π P ⊗ π q ) ≤ 1 + C . (81) \Gamma_N(\nu)\le\int w^2\,d(\pi_{\mathbb{P}}\otimes\pi_q)\le1+C. \tag*{(81)} Γ N ( ν ) ≤ ∫ w 2 d ( π P ⊗ π q ) ≤ 1 + C . (81)
Step 6: From f π ∘ f_{\pi}^{\circ} f π ∘ to f π f_{\pi} f π in (F.17). Let E n \mathcal{E}_n E n denote the event E N \mathcal{E}_N E N of regular contexts in Section E.3 at size n n n and define
G n : = { ( D n , q ) ∈ E n : v − I ⪯ S π ( D n , q ) ⪯ v + I } . \mathcal{G}_n := \{(\mathcal{D}_n,q) \in\mathcal{E}_n : v_{-I} \preceq S_{\pi}(\mathcal{D}_n,q) \preceq v_{+I}\}. G n := {( D n , q ) ∈ E n : v − I ⪯ S π ( D n , q ) ⪯ v + I } .
Under π K \pi_K π K by (E.34) and (E.8), and otherwise by the proofs of Lemma F.4 and Theorem 1, L π , n ( E n ) = 1 − o ( 1 ) \mathcal{L}_{\pi,n}(\mathcal{E}_n)=1-o(1) L π , n ( E n ) = 1 − o ( 1 ) and S π = V q ⋆ ( P ) + o ( 1 ) S_{\pi}=V_q^{\star(\mathrm{P})}+o(1) S π = V q ⋆ ( P ) + o ( 1 ) in pretraining probability, and hence, by Assumption 2(ii),
inf n ∈ N L π , n ( G n ) = 1 − o ( 1 ) . (82) \inf_{n\in\mathbb{N}}\mathcal{L}_{\pi,n}(\mathcal{G}_n)=1-o(1). \tag*{(82)} n ∈ N inf L π , n ( G n ) = 1 − o ( 1 ) . (82)
By Cauchy–Schwarz and (F.14), we obtain
L ν , N { f π ≠ f π ∘ } ≤ L ν , N ( G N c ) ≤ { Γ N ( ν ) L π , N ( G N c ) } 1 2 = o ( 1 ) . (83) \mathcal{L}_{\nu,N}\{f_{\pi}\ne f_{\pi}^{\circ}\}\le\mathcal{L}_{\nu,N}(\mathcal{G}_N^{c})\le\{\Gamma_N(\nu)\mathcal{L}_{\pi,N}(\mathcal{G}_N^{c})\}^{\frac{1}{2}}=o(1). \tag*{(83)} L ν , N { f π = f π ∘ } ≤ L ν , N ( G N c ) ≤ { Γ N ( ν ) L π , N ( G N c ) } 2 1 = o ( 1 ) . (83)
For F T F \mathcal{F}_{\mathrm{TF}} F TF with r ~ N = o ( 1 ) \widetilde r_N=o(1) r N = o ( 1 ) and a constant M > 0 M>0 M > 0 , since e ( f ^ , f π ) = e ( f ^ , f π ∘ ) e(\widehat f,f_{\pi})=e(\widehat f,f_{\pi}^{\circ}) e ( f , f π ) = e ( f , f π ∘ ) on { f π = f π ∘ } \{f_{\pi}=f_{\pi}^{\circ}\} { f π = f π ∘ } , we have
Pr ν { e ( f ^ , f π ) > M 2 r ~ N } ≤ Pr ν { e ( f ^ , f π ∘ ) > M 2 r ~ N } + L ν , N { f π ≠ f π ∘ } , \Pr_{\nu}\{e(\widehat f,f_{\pi})>M^{2}\widetilde r_N\}\le\Pr_{\nu}\{e(\widehat f,f_{\pi}^{\circ})>M^{2}\widetilde r_N\}+\mathcal{L}_{\nu,N}\{f_{\pi}\ne f_{\pi}^{\circ}\}, ν Pr { e ( f , f π ) > M 2 r N } ≤ ν Pr { e ( f , f π ∘ ) > M 2 r N } + L ν , N { f π = f π ∘ } ,
where the second term is o ( 1 ) o(1) o ( 1 ) by (F.16) and the first is arbitrarily small for large M M M by (F.13) and (F.14). Hence, for every F T F \mathcal{F}_{\mathrm{TF}} F TF with r ~ N = o ( 1 ) \widetilde r_N=o(1) r N = o ( 1 ) and f ^ \widehat f f satisfying (2) ,
N ∥ β ^ − m π ∥ + ∥ V ^ − S π ∥ F ≤ { 2 e ( f ^ , f π ) } 1 2 = O ν ( r ~ N 1 2 ) . (84) \sqrt{N}\lVert\widehat\beta-m_{\pi}\rVert+\lVert\widehat V-S_{\pi}\rVert_F\le\{2e(\widehat f,f_{\pi})\}^{\frac{1}{2}}=O_{\nu}(\widetilde r_N^{\frac{1}{2}}). \tag*{(84)} N ∥ β − m π ∥ + ∥ V − S π ∥ F ≤ { 2 e ( f , f π ) } 2 1 = O ν ( r N 2 1 ) . (84)
For F N \mathcal{F}_N F N , we have r ~ N ≲ r N = o ( 1 ) \widetilde r_N\lesssim r_N=o(1) r N ≲ r N = o ( 1 ) by Step 3, and hence, by (F.17), we obtain (9) , which completes the proof.
Approximation error
For the approximation error in Step 2 of the proof of Theorem 2, we construct a Transformer that approximates the mode pair ( g , V ) (g,V) ( g , V ) of Definition E.1 uniformly over contexts, while recording its depth, width and coefficient bounds, and then bound the prior-averaged excess score of this Transformer. As in Sections B.2 and E.3, b ( K ) b_{(K)} b ( K ) , A K A_K A K , Λ K \Lambda_K Λ K , Θ K \Theta_K Θ K , b ˉ \bar b b ˉ , I K I_K I K , V N \mathcal{V}_N V N , E N \mathcal{E}_N E N , θ ~ \widetilde\theta θ , E N \mathcal{E}_N E N and B ∂ , N B_{\partial,N} B ∂ , N denote the sieve basis, log partition function, prior covariance and support, sample mean, information, potential, expectation and mode of the coefficient posterior under π K \pi_K π K , event of regular contexts and integrated boundary density at size N N N , with n n n in place of N N N at size n n n .
Let F N \mathcal{F}_N F N denote a class F T F ( L , 1 , d e , d f , W ) \mathcal{F}_{\mathrm{TF}}(L,1,d_e,d_f,W) F TF ( L , 1 , d e , d f , W ) of Definition B.5 with L ≲ log 2 N L\lesssim\log^2 N L ≲ log 2 N , d e ∨ d f ≲ K log d N d_e\vee d_f\lesssim K\log^d N d e ∨ d f ≲ K log d N and W ≲ N C W\lesssim N^C W ≲ N C . For an output f = ( f β , clip C ) f=(f^\beta,\operatorname{clip} C) f = ( f β , clip C ) with raw covariance C = C T C=C^{\mathsf T} C = C T , we measure the uniform error relative to ( g , V ) (g,V) ( g , V ) at size N N N by
a N ( f , C ) : = sup ( D N , q ) ∈ Z N × Q { N ∥ f β − g ∥ + ∥ C − V ∥ F } . a_N(f,C):=\sup_{(\mathcal{D}_N,q)\in\mathcal{Z}_N\times\mathcal{Q}}\{\sqrt{N}\lVert f^\beta-g\rVert+\lVert C-V\rVert_F\}. a N ( f , C ) := ( D N , q ) ∈ Z N × Q sup { N ∥ f β − g ∥ + ∥ C − V ∥ F } .
Lemma F.1 (Approximation of the mode pair). Suppose that Assumption 1(i), (ii) and
(iv) hold, K 3 ∨ σ − 2 K 2 a ≤ n min K^3 \vee\sigma^{-2}K^{2a} \le n_{\min} K 3 ∨ σ − 2 K 2 a ≤ n m i n and n max ≲ n min n_{\max} \lesssim n_{\min} n m a x ≲ n m i n . Then there exist L L L , d e d_e d e , d f d_f d f and W W W with
L ≲ log 2 n max , d e ∨ d f ≲ K log d n max and W ≲ n max c , (85) L \lesssim\log^2 n_{\max}, \qquad d_e \vee d_f \lesssim K\log^d n_{\max} \qquad\text{and} \qquad W \lesssim n_{\max}^c, \tag*{(85)} L ≲ log 2 n m a x , d e ∨ d f ≲ K log d n m a x and W ≲ n m a x c , (85)
and a deterministic f ∘ ∈ F T F ( L , 1 , d e , d f , W ) f^\circ\in\mathcal{F}_{\mathrm{TF}}(L,1,d_e,d_f,W) f ∘ ∈ F TF ( L , 1 , d e , d f , W ) , with raw covariance C ∘ C^\circ C ∘ , such that sup N ∈ N a N ( f ∘ , C ∘ ) ≤ ( 4 n min ) − 1 \sup_{N\in\mathbb{N}} a_N(f^\circ,C^\circ) \le(4n_{\min})^{-1} sup N ∈ N a N ( f ∘ , C ∘ ) ≤ ( 4 n m i n ) − 1 , with constants independent of K K K , n min n_{\min} n m i n and n max n_{\max} n m a x .
Proof. The network f ∘ f^\circ f ∘ averages the features in one attention head, approximates θ ~ \tilde{\theta} θ ~ by projected gradient steps and evaluates β q \beta_q β q and the covariance V V V at this approximation, with degree and accuracy
r : = ⌈ C 1 log ( C 1 n max K ) ⌉ ≤ 2 C 1 log ( C 1 n max K ) and τ : = e − r ≤ ( C 1 n max K ) − C 1 r := \lceil C_1\log(C_1n_{\max}K)\rceil\le2C_1\log(C_1n_{\max}K) \qquad\text{and} \qquad\tau:= e^{-r} \le(C_1n_{\max}K)^{-C_1} r := ⌈ C 1 log ( C 1 n m a x K )⌉ ≤ 2 C 1 log ( C 1 n m a x K ) and τ := e − r ≤ ( C 1 n m a x K ) − C 1
with a constant C 1 ≥ 2 C_1 \ge2 C 1 ≥ 2 . As the constants c c c and C C C below do not depend on C 1 C_1 C 1 , we choose C 1 C_1 C 1 so large that the finitely many conditions used below hold, all of the forms
n max 3 2 ( K r ) C τ ≤ c and r ≥ C log ( 2 K ) . n_{\max}^{\frac{3}{2}}(Kr)^C\tau\le c \qquad\text{and} \qquad r \ge C\log(2K). n m a x 2 3 ( K r ) C τ ≤ c and r ≥ C log ( 2 K ) .
Moreover, log ( 2 K ) ≤ r ≲ log n max \log(2K) \le r \lesssim\log n_{\max} log ( 2 K ) ≤ r ≲ log n m a x , because K ≤ n max K \le n_{\max} K ≤ n m a x .
Step 1: Features b ^ \hat{b} b ^ and penalty a ^ N \hat{a}_N a ^ N . With the features b ^ K , τ \hat{b}_{K,\tau} b ^ K , τ of Lemma F.8 and zero query and key maps, the masked head returns b ^ : = N − 1 ∑ i = 1 N b ^ K , τ ( Z i ) \hat{b} := N^{-1}\sum_{i=1}^{N}\hat{b}_{K,\tau}(Z_i) b ^ := N − 1 ∑ i = 1 N b ^ K , τ ( Z i ) , as in Lemma G.2 of Zhang [112 ] , so that
∥ b ^ − b ˉ ∥ ≤ K τ . (86) \lVert\hat{b}-\bar{b}\rVert\le\sqrt{K}\,\tau. \tag*{(86)} ∥ b ^ − b ˉ ∥ ≤ K τ . (86)
The query row encodes N / n max ∈ [ c , 1 ] N/n_{\max} \in[c,1] N / n m a x ∈ [ c , 1 ] through ξ ( q , N ) \xi(q,N) ξ ( q , N ) of Section B.1, and, by Lemmas F.6 and F.7, we compute s ^ N \hat{s}_N s ^ N with ∣ s ^ N − n max / N ∣ ≤ C τ |\hat{s}_N-n_{\max}/N| \le C\tau ∣ s ^ N − n m a x / N ∣ ≤ C τ and a ^ N ( x ) \hat{a}_N(x) a ^ N ( x ) with ∥ a ^ N ( x ) − s ^ N Λ K − 1 x / n max ∥ ∞ ≤ τ \lVert\hat{a}_N(x)-\hat{s}_N\Lambda_K^{-1}x/n_{\max}\rVert_\infty\le\tau ∥ a ^ N ( x ) − s ^ N Λ K − 1 x / n m a x ∥ ∞ ≤ τ . For ∥ x ∥ ∞ ≤ C \lVert x\rVert_\infty\le C ∥ x ∥ ∞ ≤ C , since ∥ Λ K − 1 ∥ o p = σ − 2 K 2 a ≤ n min ≤ n max \lVert\Lambda_K^{-1}\rVert_{\mathrm{op}}=\sigma^{-2}K^{2a}\le n_{\min}\le n_{\max} ∥ Λ K − 1 ∥ op = σ − 2 K 2 a ≤ n m i n ≤ n m a x , we have
∥ a ^ N ( x ) − Λ K − 1 x N ∥ ≤ K τ + ∥ Λ K − 1 x ∥ n max ∣ s ^ N − n max N ∣ ≤ C K τ . (87) \left\lVert\hat{a}_N(x)-\frac{\Lambda_K^{-1}x}{N}\right\rVert\le\sqrt{K}\,\tau+\frac{\lVert\Lambda_K^{-1}x\rVert}{n_{\max}}\left|\hat{s}_N-\frac{n_{\max}}{N}\right| \le C\sqrt{K}\,\tau. \tag*{(87)} a ^ N ( x ) − N Λ K − 1 x ≤ K τ + n m a x ∥ Λ K − 1 x ∥ s ^ N − N n m a x ≤ C K τ . (87)
All later value maps are zero, which preserves b ^ \hat{b} b ^ .
Step 2: Quadrature error (F.22). For ∥ θ ∥ 1 ≤ B + 1 \lVert\theta\rVert_1 \le B+1 ∥ θ ∥ 1 ≤ B + 1 , the function g θ : = θ T b ( K ) g_\theta:= \theta^\mathsf{T}b_{(K)} g θ := θ T b ( K ) satisfies ∥ g θ ∥ ∞ ≤ C ∞ ( B + 1 ) \lVert g_\theta\rVert_\infty\le C_\infty(B+1) ∥ g θ ∥ ∞ ≤ C ∞ ( B + 1 ) for the basis bound C ∞ C_\infty C ∞ of Section B.2, so that, by Taylor’s theorem with m 0 : = ⌈ C r ⌉ m_0 := \lceil Cr\rceil m 0 := ⌈ C r ⌉ , we have
∥ e g θ − ∑ j = 0 m 0 g θ j j ! ∥ ∞ ≤ C m 0 + 1 ( m 0 + 1 ) ! ≤ τ . (88) \left\lVert e^{g_\theta}-\sum_{j=0}^{m_0}\frac{g_\theta^j}{j!}\right\rVert_\infty\le\frac{C^{m_0+1}}{(m_0+1)!}\le\tau. \tag*{(88)} e g θ − j = 0 ∑ m 0 j ! g θ j ∞ ≤ ( m 0 + 1 )! C m 0 + 1 ≤ τ . (88)
Let P 0 , Q \mathbb{P}_{0,Q} P 0 , Q denote the uniform distribution on the grid
Z Q : = { ( Φ 1 − 1 ( x 1 ) , … , Φ d − 1 ( x d ) , D ) : x 1 , … , x d ∈ { 2 j − 1 2 m Q : j ∈ [ m Q ] } , D ∈ Z D } , \mathcal{Z}_Q := \left\{(\Phi_1^{-1}(x_1),\ldots,\Phi_d^{-1}(x_d),D):x_1,\ldots,x_d\in\left\{\frac{2j-1}{2m_Q}:j\in[m_Q]\right\},\ D\in\mathcal{Z}_D\right\}, Z Q := { ( Φ 1 − 1 ( x 1 ) , … , Φ d − 1 ( x d ) , D ) : x 1 , … , x d ∈ { 2 m Q 2 j − 1 : j ∈ [ m Q ] } , D ∈ Z D } ,
where m Q : = ( m 0 + 2 ) m K + 1 m_Q := (m_0 + 2)m_K + 1 m Q := ( m 0 + 2 ) m K + 1 , m K m_K m K is the largest coordinate frequency in (F.33) and Φ ℓ \Phi_\ell Φ ℓ is the distribution function of V ℓ V_\ell V ℓ under P 0 \mathbb{P}_0 P 0 in Section B.2. As P 0 , Q \mathbb{P}_{0,Q} P 0 , Q integrates the Taylor polynomial in (F.21) times each f ∈ { 1 , b k , b k b l } f \in\{1, b_k, b_kb_l\} f ∈ { 1 , b k , b k b l } exactly, we have
∣ ( E P 0 , Q − E P 0 ) ( f e g θ ) ∣ ≤ 2 ∥ f ∥ ∞ ∥ e g θ − ∑ j = 0 m 0 g θ j j ! ∥ ∞ ≤ C τ . \left|(\mathbb{E}_{\mathbb{P}_{0,Q}}-\mathbb{E}_{\mathbb{P}_0})(fe^{g_\theta})\right| \le2\|f\|_\infty\left\|e^{g_\theta}-\sum_{j=0}^{m_0}\frac{g_\theta^j}{j!}\right\|_\infty\le C\tau. ( E P 0 , Q − E P 0 ) ( f e g θ ) ≤ 2∥ f ∥ ∞ e g θ − j = 0 ∑ m 0 j ! g θ j ∞ ≤ C τ .
Let M f M_f M f and M f , Q M_{f,Q} M f , Q denote E P 0 ( f e g θ ) \mathbb{E}_{\mathbb{P}_0}(fe^{g_\theta}) E P 0 ( f e g θ ) and E P 0 , Q ( f e g θ ) \mathbb{E}_{\mathbb{P}_{0,Q}}(fe^{g_\theta}) E P 0 , Q ( f e g θ ) , respectively. Since M 1 , M 1 , Q ∈ [ c , C ] M_1,M_{1,Q}\in[c,C] M 1 , M 1 , Q ∈ [ c , C ] , the normalised moments satisfy
∣ M f , Q M 1 , Q − M f M 1 ∣ ≤ ∣ M f , Q − M f ∣ M 1 , Q + ∣ M f ∣ ∣ M 1 , Q − M 1 ∣ M 1 , Q M 1 ≤ C τ . \left|\frac{M_{f,Q}}{M_{1,Q}}-\frac{M_f}{M_1}\right|\le\frac{|M_{f,Q}-M_f|}{M_{1,Q}}+\frac{|M_f||M_{1,Q}-M_1|}{M_{1,Q}M_1}\le C\tau. M 1 , Q M f , Q − M 1 M f ≤ M 1 , Q ∣ M f , Q − M f ∣ + M 1 , Q M 1 ∣ M f ∣∣ M 1 , Q − M 1 ∣ ≤ C τ .
The gradients and Hessians of A Q ( θ ) : = log M 1 , Q A_Q(\theta):=\log M_{1,Q} A Q ( θ ) := log M 1 , Q and A K ( θ ) = log M 1 A_K(\theta)=\log M_1 A K ( θ ) = log M 1 are the means and covariances of b ( K ) b_{(K)} b ( K ) under e g θ d P 0 , Q / M 1 , Q e^{g_\theta}\,d\mathbb{P}_{0,Q}/M_{1,Q} e g θ d P 0 , Q / M 1 , Q and e g θ d P 0 / M 1 = d P θ e^{g_\theta}\,d\mathbb{P}_0/M_1=d\mathbb{P}_\theta e g θ d P 0 / M 1 = d P θ , respectively, and, applying the ratio bound coordinatewise, we obtain
sup ∥ θ ∥ 1 ≤ B + 1 { K − 1 / 2 ∥ ∇ A Q ( θ ) − ∇ A K ( θ ) ∥ + K − 1 ∥ ∇ 2 A Q ( θ ) − I K ( θ ) ∥ F } ≤ C τ . (89) \sup_{\|\theta\|_1\le B+1}\left\{K^{-1/2}\|\nabla A_Q(\theta)-\nabla A_K(\theta)\|+K^{-1}\|\nabla^2 A_Q(\theta)-I_K(\theta)\|_F\right\}\le C\tau. \tag*{(89)} ∥ θ ∥ 1 ≤ B + 1 sup { K − 1/2 ∥∇ A Q ( θ ) − ∇ A K ( θ ) ∥ + K − 1 ∥ ∇ 2 A Q ( θ ) − I K ( θ ) ∥ F } ≤ C τ . (89)
Let z 1 , ⋯ , z S Q z_1,\cdots,z_{S_Q} z 1 , ⋯ , z S Q denote the nodes of Z Q \mathcal{Z}_Q Z Q , where, by (F.33), S Q = ∣ Z D ∣ m Q ≲ K ( m 0 + 2 ) d ≲ K r d S_Q=|\mathcal{Z}_D|^{m_Q}\lesssim K(m_0+2)^d\lesssim Kr^d S Q = ∣ Z D ∣ m Q ≲ K ( m 0 + 2 ) d ≲ K r d , and define the tilted expectation by
E Q , θ ( f ) : = S Q − 1 ∑ i = 1 S Q f ( z i ) e g θ ( z i ) S Q − 1 ∑ i = 1 S Q e g θ ( z i ) . (90) \mathbb{E}_{Q,\theta}(f):=\frac{S_Q^{-1}\sum_{i=1}^{S_Q}f(z_i)e^{g_\theta(z_i)}}{S_Q^{-1}\sum_{i=1}^{S_Q}e^{g_\theta(z_i)}}. \tag*{(90)} E Q , θ ( f ) := S Q − 1 ∑ i = 1 S Q e g θ ( z i ) S Q − 1 ∑ i = 1 S Q f ( z i ) e g θ ( z i ) . (90)
As E P 0 , Q b ( K ) = E P 0 b ( K ) = 0 \mathbb{E}_{\mathbb{P}_{0,Q}}b_{(K)}=\mathbb{E}_{\mathbb{P}_0}b_{(K)}=0 E P 0 , Q b ( K ) = E P 0 b ( K ) = 0 , E P 0 , Q b ( K ) b ( K ) T = E P 0 b ( K ) b ( K ) T = I \mathbb{E}_{\mathbb{P}_{0,Q}}b_{(K)}b_{(K)}^{\mathsf T}=\mathbb{E}_{\mathbb{P}_0}b_{(K)}b_{(K)}^{\mathsf T}=I E P 0 , Q b ( K ) b ( K ) T = E P 0 b ( K ) b ( K ) T = I and e g θ / M 1 , Q ∈ [ c , C ] e^{g_\theta}/M_{1,Q}\in[c,C] e g θ / M 1 , Q ∈ [ c , C ] , by (E.15), c I ⪯ ∇ 2 A Q ( θ ) ⪯ C I cI\preceq\nabla^2A_Q(\theta)\preceq CI c I ⪯ ∇ 2 A Q ( θ ) ⪯ C I for ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1\le B+1 ∥ θ ∥ 1 ≤ B + 1 .
Step 3: Mode error ((F.26)). As in the proof of Theorem D.2 of Bai et al. [5 ] , where successive Transformer layers implement proximal gradient steps, we compute θ Q , N : = arg min θ ∈ Θ K F Q , N ( θ ) \theta_{Q,N}:=\mathop{\arg\min}_{\theta\in\Theta_K}F_{Q,N}(\theta) θ Q , N := arg min θ ∈ Θ K F Q , N ( θ ) , where
F Q , N ( θ ) : = A Q ( θ ) − θ T b ^ + 1 2 N θ T Λ K − 1 θ . F_{Q,N}(\theta):=A_Q(\theta)-\theta^{\mathsf T}\widehat b+\frac{1}{2N}\theta^{\mathsf T}\Lambda_K^{-1}\theta. F Q , N ( θ ) := A Q ( θ ) − θ T b + 2 N 1 θ T Λ K − 1 θ .
As ∥ Λ K − 1 ∥ o p ≤ N \|\Lambda_K^{-1}\|_{\mathrm{op}}\le N ∥ Λ K − 1 ∥ op ≤ N , c I ⪯ ∇ 2 F Q , N ⪯ C I cI\preceq\nabla^2F_{Q,N}\preceq CI c I ⪯ ∇ 2 F Q , N ⪯ C I on { θ ∈ R K : ∥ θ ∥ 1 ≤ B + 1 } \{\theta\in\mathbb{R}^K:\|\theta\|_1\le B+1\} { θ ∈ R K : ∥ θ ∥ 1 ≤ B + 1 } . Since θ ~ \widetilde\theta θ minimises V N / N \mathcal{V}_N/N V N / N over Θ K \Theta_K Θ K and ∇ F Q , N − ∇ V N / N = ∇ A Q − ∇ A K − b ^ + b ‾ \nabla F_{Q,N}-\nabla\mathcal{V}_N/N=\nabla A_Q-\nabla A_K-\widehat b+\overline b ∇ F Q , N − ∇ V N / N = ∇ A Q − ∇ A K − b + b , by Lemma F.5(ii), (F.19) and (F.22), we have
c ∥ θ Q , N − θ ~ ∥ ≤ ∥ b ^ − b ‾ ∥ + ∥ ∇ A Q ( θ ~ ) − ∇ A K ( θ ~ ) ∥ ≤ C K τ . (91) c\|\theta_{Q,N}-\widetilde\theta\|\le\|\widehat b-\overline b\|+\|\nabla A_Q(\widetilde\theta)-\nabla A_K(\widetilde\theta)\|\le C\sqrt{K}\tau. \tag*{(91)} c ∥ θ Q , N − θ ∥ ≤ ∥ b − b ∥ + ∥∇ A Q ( θ ) − ∇ A K ( θ ) ∥ ≤ C K τ . (91)
Computing e g θ ( z i ) e^{g_\theta(z_i)} e g θ ( z i ) and the reciprocal of their average in (F.23) within C τ C\tau C τ per coordinate by Lemmas F.6 and F.7, and adding (F.20), we obtain
∥ ∇ A Q ^ ( θ ) − b ^ + a ^ N ( θ ) − ∇ F Q , N ( θ ) ∥ ≤ C K τ for ∥ θ ∥ 1 ≤ B + 1. (92) \left\|\widehat{\nabla A_Q}(\theta)-\widehat b+\widehat a_N(\theta)-\nabla F_{Q,N}(\theta)\right\|\le C\sqrt{K}\tau\quad\text{for }\|\theta\|_1\le B+1. \tag*{(92)} ∇ A Q ( θ ) − b + a N ( θ ) − ∇ F Q , N ( θ ) ≤ C K τ for ∥ θ ∥ 1 ≤ B + 1. (92)
We use a step size 0 < γ ≤ 1 / C 0 < \gamma\le1/C 0 < γ ≤ 1/ C , start at θ ^ 0 = 0 \widehat{\theta}_0 = 0 θ 0 = 0 and let θ ^ j + 1 : = P ^ ( z j ) \widehat{\theta}_{j+1} := \widehat{P}(z_j) θ j + 1 := P ( z j ) , where P ^ \widehat{P} P is the map of Lemma F.9 with λ : = C K log ( 2 K ) / τ \lambda:= C\sqrt{K}\log(2K)/\tau λ := C K log ( 2 K ) / τ , so that ∥ P ^ ( z ) − proj Θ K ( z ) ∥ ≤ τ \|\widehat{P}(z)-\operatorname{proj}_{\Theta_K}(z)\| \le\tau ∥ P ( z ) − proj Θ K ( z ) ∥ ≤ τ for ∥ z ∥ ∞ ≤ C \|z\|_\infty\le C ∥ z ∥ ∞ ≤ C , and
z j : = θ ^ j − γ { ∇ A Q ( θ ^ j ) − b ^ + a ^ N ( θ ^ j ) } . z_j := \widehat{\theta}_j-\gamma\{\nabla A_Q(\widehat{\theta}_j)-\widehat{b}+\widehat{a}_N(\widehat{\theta}_j)\}. z j := θ j − γ { ∇ A Q ( θ j ) − b + a N ( θ j )} .
If ∥ θ ^ j ∥ 1 ≤ B + 1 / 2 \|\widehat{\theta}_j\|_1 \le B+1/2 ∥ θ j ∥ 1 ≤ B + 1/2 , then ∥ z j ∥ ∞ ≤ C \|z_j\|_\infty\le C ∥ z j ∥ ∞ ≤ C , and, since K τ ≤ 1 / 2 \sqrt{K}\tau\le1/2 K τ ≤ 1/2 ,
∥ θ ^ j + 1 ∥ 1 ≤ ∥ proj Θ K ( z j ) ∥ 1 + K ∥ θ ^ j + 1 − proj Θ K ( z j ) ∥ ≤ B + 1 2 . \|\widehat{\theta}_{j+1}\|_1 \le\|\operatorname{proj}_{\Theta_K}(z_j)\|_1+\sqrt{K}\|\widehat{\theta}_{j+1}-\operatorname{proj}_{\Theta_K}(z_j)\| \le B+\frac{1}{2}. ∥ θ j + 1 ∥ 1 ≤ ∥ proj Θ K ( z j ) ∥ 1 + K ∥ θ j + 1 − proj Θ K ( z j ) ∥ ≤ B + 2 1 .
so that, by induction, ∥ θ ^ j ∥ 1 ≤ B + 1 / 2 \|\widehat{\theta}_j\|_1 \le B+1/2 ∥ θ j ∥ 1 ≤ B + 1/2 for all j j j . The map T Q , N ( θ ) : = proj Θ K { θ − γ ∇ F Q , N ( θ ) } T_{Q,N}(\theta):=\operatorname{proj}_{\Theta_K}\{\theta-\gamma\nabla F_{Q,N}(\theta)\} T Q , N ( θ ) := proj Θ K { θ − γ ∇ F Q , N ( θ )} satisfies T Q , N ( θ Q , N ) = θ Q , N T_{Q,N}(\theta_{Q,N})=\theta_{Q,N} T Q , N ( θ Q , N ) = θ Q , N by the variational inequality at θ Q , N \theta_{Q,N} θ Q , N , and, for ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1\le B+1 ∥ θ ∥ 1 ≤ B + 1 , as proj Θ K \operatorname{proj}_{\Theta_K} proj Θ K is nonexpansive [14 ] ,
∥ T Q , N ( θ ) − θ Q , N ∥ ≤ ∥ [ I − γ ∫ 0 1 ∇ 2 F Q , N { θ Q , N + s ( θ − θ Q , N ) } d s ] ( θ − θ Q , N ) ∥ ≤ ρ ∥ θ − θ Q , N ∥ , \begin{aligned}
\|T_{Q,N}(\theta)-\theta_{Q,N}\|\le\left\|\left[I-\gamma\int_0^1\nabla^2F_{Q,N}\{\theta_{Q,N}+s(\theta-\theta_{Q,N})\}\,ds\right](\theta-\theta_{Q,N})\right\| \\
&\le\rho\|\theta-\theta_{Q,N}\|,
\end{aligned} ∥ T Q , N ( θ ) − θ Q , N ∥ ≤ [ I − γ ∫ 0 1 ∇ 2 F Q , N { θ Q , N + s ( θ − θ Q , N )} d s ] ( θ − θ Q , N ) ≤ ρ ∥ θ − θ Q , N ∥ ,
where ρ : = 1 − γ c < 1 \rho:=1-\gamma c<1 ρ := 1 − γ c < 1 . Since ∥ θ ^ j + 1 − T Q , N ( θ ^ j ) ∥ ≤ τ + C γ K τ \|\widehat{\theta}_{j+1}-T_{Q,N}(\widehat{\theta}_j)\|\le\tau+C\gamma\sqrt{K}\tau ∥ θ j + 1 − T Q , N ( θ j ) ∥ ≤ τ + C γ K τ by (F.25), by Lemma F.5(i) with ∥ θ ^ 0 − θ Q , N ∥ ≤ B \|\widehat{\theta}_0-\theta_{Q,N}\|\le B ∥ θ 0 − θ Q , N ∥ ≤ B and J : = ⌈ C r ⌉ J:=\lceil Cr\rceil J := ⌈ C r ⌉ , and by (F.24), we obtain
∥ θ ^ J − θ ~ ∥ ≤ B ρ J + C K τ 1 − ρ + C K τ ≤ C K τ . (93) \|\widehat{\theta}_J-\widetilde{\theta}\|\le B\rho^J+\frac{C\sqrt{K}\tau}{1-\rho}+C\sqrt{K}\tau\le C\sqrt{K}\tau. \tag*{(93)} ∥ θ J − θ ∥ ≤ B ρ J + 1 − ρ C K τ + C K τ ≤ C K τ . (93)
Step 4: Outputs β ^ \widehat{\beta} β , D ^ \widehat{D} D and X ^ \widehat{X} X . At θ ^ : = θ ^ J \widehat{\theta}:=\widehat{\theta}_J θ := θ J , by Lemma F.11 with degree r r r and accuracy τ = e − r \tau=e^{-r} τ = e − r for each product and positive part, including the errors of selecting the query family, we have, for the Jacobian D q D_q D q of θ ↦ β q ( P θ ) \theta\mapsto\beta_q(P_\theta) θ ↦ β q ( P θ ) in Assumption 1(ii),
∥ β ^ − β q ( P θ ^ ) ∥ + ∥ D ^ − D q ( θ ^ ) ∥ F ≤ C ( K r ) C τ . (94) \|\widehat{\beta}-\beta_q(P_{\widehat{\theta}})\|+\|\widehat{D}-D_q(\widehat{\theta})\|_F\le C(Kr)^{C}\tau. \tag*{(94)} ∥ β − β q ( P θ ) ∥ + ∥ D − D q ( θ ) ∥ F ≤ C ( K r ) C τ . (94)
By Lemma E.2 and d k ≤ d 0 = max j ∈ K d j d_k\le d_0=\max_{j\in K}d_j d k ≤ d 0 = max j ∈ K d j , ∥ D ^ ∥ F ≤ C \|\widehat{D}\|_F\le C ∥ D ∥ F ≤ C , and the matrix H Q : = ∇ 2 A Q ( θ ^ ) + Λ K − 1 / N H_Q:=\nabla^2A_Q(\widehat{\theta})+\Lambda_K^{-1}/N H Q := ∇ 2 A Q ( θ ) + Λ K − 1 / N , with c I ⪯ H Q ⪯ C I cI\preceq H_Q\preceq CI c I ⪯ H Q ⪯ C I , acts as
H Q x = E Q , θ ^ [ b ^ ( K ) { b ^ ( K ) − E Q , θ ^ b ^ ( K ) } T x ] + Λ K − 1 x N . H_Qx=\mathbb{E}_{Q,\widehat{\theta}}\left[\widehat{b}_{(K)}\{\widehat{b}_{(K)}-\mathbb{E}_{Q,\widehat{\theta}}\widehat{b}_{(K)}\}^{\mathsf T}x\right]+\frac{\Lambda_K^{-1}x}{N}. H Q x = E Q , θ [ b ( K ) { b ( K ) − E Q , θ b ( K ) } T x ] + N Λ K − 1 x .
As ∣ b ( K ) ( z ) T x ∣ ≤ C ∞ K ∥ x ∥ ∞ ≤ C K |b_{(K)}(z)^{\mathsf T}x|\le C_\infty K\|x\|_\infty\le CK ∣ b ( K ) ( z ) T x ∣ ≤ C ∞ K ∥ x ∥ ∞ ≤ C K for z ∈ Z z\in\mathcal{Z} z ∈ Z and ∥ x ∥ ∞ ≤ C \|x\|_\infty\le C ∥ x ∥ ∞ ≤ C , computing the tilted mean and grid weights, with S Q − 1 S_Q^{-1} S Q − 1 factored out, within C τ C\tau C τ per coordinate as in Step 3 and using (F.20), we obtain
∥ H ^ Q x − H Q x ∥ ≤ C K ( K τ + τ ) + ∥ a ^ N ( x ) − Λ K − 1 x N ∥ ≤ C K 3 2 τ . \|\widehat{H}_Qx-H_Qx\|\le C\sqrt{K}(K\tau+\tau)+\left\|\widehat{a}_N(x)-\frac{\Lambda_K^{-1}x}{N}\right\|\le CK^{\frac{3}{2}}\tau. ∥ H Q x − H Q x ∥ ≤ C K ( K τ + τ ) + a N ( x ) − N Λ K − 1 x ≤ C K 2 3 τ .
Let X ∗ : = H Q − 1 D ^ T X_*:=H_Q^{-1}\widehat{D}^{\mathsf T} X ∗ := H Q − 1 D T and let proj \operatorname{proj} proj denote the entrywise projection onto [ − C , C ] K × d k [-C,C]^{K\times d_k} [ − C , C ] K × d k , which contains X ∗ X_* X ∗ . As proj \operatorname{proj} proj is nonexpansive and X ∗ = proj { X ∗ − γ ( H Q X ∗ − D ^ T ) } X_*=\operatorname{proj}\{X_*-\gamma(H_QX_*-\widehat{D}^{\mathsf T})\} X ∗ = proj { X ∗ − γ ( H Q X ∗ − D T )} , the projected Richardson step ([85 ] ) of Kang et al. [50 ] satisfies
∥ proj { X ^ − γ ( H Q X ^ − D ^ T ) } − X ∗ ∥ F ≤ ∥ ( I − γ H Q ) ( X − X ∗ ) ∥ F ≤ ρ ∥ X − X ∗ ∥ F . \left\| \operatorname{proj}\{\widehat{X}-\gamma(H_Q\widehat{X}-\widehat{D}^{\mathsf T})\}-X_\ast\right\|_F \le\left\|(I-\gamma H_Q)(X-X_\ast)\right\|_F \le\rho\left\|X-X_\ast\right\|_F. proj { X − γ ( H Q X − D T )} − X ∗ F ≤ ∥ ( I − γ H Q ) ( X − X ∗ ) ∥ F ≤ ρ ∥ X − X ∗ ∥ F .
Starting at X ^ 0 = 0 \widehat{X}_0=0 X 0 = 0 , we let X ^ j + 1 \widehat{X}_{j+1} X j + 1 denote the computed value of this step at X ^ j \widehat{X}_j X j , so that
∥ X ^ j + 1 − proj { X ^ j − γ ( H Q X ^ j − D ^ T ) } ∥ F ≤ C K 3 2 τ , \left\|\widehat{X}_{j+1}-\operatorname{proj}\{\widehat{X}_j-\gamma(H_Q\widehat{X}_j-\widehat{D}^{\mathsf T})\}\right\|_F\le CK^{\frac{3}{2}}\tau, X j + 1 − proj { X j − γ ( H Q X j − D T )} F ≤ C K 2 3 τ ,
and hence, by Lemma F.5 (i), for X ^ : = X ^ J \widehat{X}:=\widehat{X}_J X := X J ,
∥ X ^ − H Q − 1 D ^ T ∥ F ≤ ρ J ∥ X ∗ ∥ F + C K 3 2 τ 1 − ρ ≤ C K 3 2 τ . (95) \left\|\widehat{X}-H_Q^{-1}\widehat{D}^{\mathsf T}\right\|_F\le\rho^J\left\|X_\ast\right\|_F+\frac{CK^{\frac{3}{2}}\tau}{1-\rho}\le CK^{\frac{3}{2}}\tau. \tag*{(95)} X − H Q − 1 D T F ≤ ρ J ∥ X ∗ ∥ F + 1 − ρ C K 2 3 τ ≤ C K 2 3 τ . (95)
Step 5: Bound on a N ( f ∘ , C ∘ ) a_N(f^\circ,C^\circ) a N ( f ∘ , C ∘ ) and (F.18). For H K : = I K ( θ ~ ) + Λ ~ K − 1 / N H_K:=I_K(\widetilde{\theta})+\widetilde{\Lambda}_K^{-1}/N H K := I K ( θ ) + Λ K − 1 / N , by the resolvent identity, (F.22), (F.26) and Lemma E.1, we have
∥ H Q − 1 − H K − 1 ∥ o p ≤ ∥ H Q − 1 ∥ o p ∥ H Q − H K ∥ o p ∥ H K − 1 ∥ o p ≤ C ( K τ + K ∥ θ ^ − θ ~ ∥ ) ≤ C K τ . \left\|H_Q^{-1}-H_K^{-1}\right\|_{\mathrm{op}}\le\left\|H_Q^{-1}\right\|_{\mathrm{op}}\left\|H_Q-H_K\right\|_{\mathrm{op}}\left\|H_K^{-1}\right\|_{\mathrm{op}}\le C(K\tau+\sqrt{K}\left\|\widehat{\theta}-\widetilde{\theta}\right\|)\le CK\tau. H Q − 1 − H K − 1 op ≤ H Q − 1 op ∥ H Q − H K ∥ op H K − 1 op ≤ C ( K τ + K θ − θ ) ≤ C K τ .
Since the point readout clip C β \operatorname{clip}_{C_\beta} clip C β of Definition B.4 is nonexpansive and clip C β ( g ) = g \operatorname{clip}_{C_\beta}(g)=g clip C β ( g ) = g , by (F.27), (F.26), Lemma E.2 and Assumption 1(ii), for D : = D q ( θ ~ ) D:=D_q(\widetilde{\theta}) D := D q ( θ ) we have
∥ f ∘ , β − g ∥ ≤ ∥ β ^ − g ∥ ≤ C ( K r ) C τ and ∥ D ^ − D ∥ F ≤ C ( K r ) C τ . \left\|f^{\circ,\beta}-g\right\|\le\left\|\widehat{\beta}-g\right\|\le C(Kr)^{C}\tau
\qquad\text{and}\qquad
\left\|\widehat{D}-D\right\|_F\le C(Kr)^{C}\tau. f ∘ , β − g ≤ β − g ≤ C ( K r ) C τ and D − D F ≤ C ( K r ) C τ .
Inserting D ^ H Q − 1 D ^ T \widehat{D}H_Q^{-1}\widehat{D}^{\mathsf T} D H Q − 1 D T in C ∘ − V C^\circ-V C ∘ − V , where C ∘ = { D ^ X + ( D ^ X ) T } / 2 C^\circ=\{\widehat{D}X+(\widehat{D}X)^{\mathsf T}\}/2 C ∘ = { D X + ( D X ) T } /2 for the computed product D ^ X ^ \widehat{D}\widehat{X} D X of D ^ \widehat{D} D and X ^ \widehat{X} X , we obtain
∥ C ∘ − V ∥ F ≤ C { ∥ X ^ − H Q − 1 D ^ T ∥ F + ∥ D ^ − D ∥ F + ∥ H Q − 1 − H K − 1 ∥ o p + ( K r ) C τ } ≤ C ( K r ) C τ , \left\|C^\circ-V\right\|_F\le C\left\{\left\|\widehat{X}-H_Q^{-1}\widehat{D}^{\mathsf T}\right\|_F+\left\|\widehat{D}-D\right\|_F+\left\|H_Q^{-1}-H_K^{-1}\right\|_{\mathrm{op}}+(Kr)^C\tau\right\}\le C(Kr)^C\tau, ∥ C ∘ − V ∥ F ≤ C { X − H Q − 1 D T F + D − D F + H Q − 1 − H K − 1 op + ( K r ) C τ } ≤ C ( K r ) C τ ,
where the second inequality follows from (F.28) and the two preceding bounds. Since N ≤ n max N\le n_{\max} N ≤ n m a x , by the choice of C 1 C_1 C 1 and n min ≤ n max n_{\min}\le n_{\max} n m i n ≤ n m a x , we have, for every N ∈ N N\in\mathcal{N} N ∈ N ,
a N ( f ∘ , C ∘ ) ≤ C n max ( K r ) C τ ≤ ( 4 n min ) − 1 . a_N(f^\circ,C^\circ)\le C\sqrt{n_{\max}}(Kr)^C\tau\le(4n_{\min})^{-1}. a N ( f ∘ , C ∘ ) ≤ C n m a x ( K r ) C τ ≤ ( 4 n m i n ) − 1 .
For the size, the features, the reciprocal and each of the J J J gradient and J J J Richardson updates use O ( r ) O(r) O ( r ) layers, as log ( 2 K ) ≤ r \log(2K)\le r log ( 2 K ) ≤ r , the query evaluation uses O ( r 2 ) O(r^2) O ( r 2 ) layers and each layer has O ( S Q + K ) O(S_Q+K) O ( S Q + K ) coordinates, so that, since J ≲ r ≲ log n max J\lesssim r\lesssim\log n_{\max} J ≲ r ≲ log n m a x ,
L ≲ r 2 ≲ log 2 n max and d e ∨ d f ≲ S Q + K ≲ K r d ≲ K log d n max . L\lesssim r^2\lesssim\log^2 n_{\max}
\qquad\text{and}\qquad
d_e\vee d_f\lesssim S_Q+K\lesssim Kr^d\lesssim K\log^d n_{\max}. L ≲ r 2 ≲ log 2 n m a x and d e ∨ d f ≲ S Q + K ≲ K r d ≲ K log d n m a x .
The coefficients are polynomial in n max K / τ ≤ e ( C 1 n max K ) C 1 + 1 n_{\max}K/\tau\le e(C_1n_{\max}K)^{C_1+1} n m a x K / τ ≤ e ( C 1 n m a x K ) C 1 + 1 , which proves (F.18). As the coefficients and the mask rule do not depend on N N N , one f ∘ f^\circ f ∘ serves all N ∈ N N\in\mathcal{N} N ∈ N , which completes the proof.
Lemma F.2. Suppose that π P \pi_P π P is the distribution of P θ P_\theta P θ under θ ∼ π K \theta\sim\pi_K θ ∼ π K , Assumption 1(i)–(ii) holds and K 3 ∨ ∥ Λ K − 1 ∥ o p ≤ N K^3\vee\left\|\Lambda_K^{-1}\right\|_{\mathrm{op}}\le N K 3 ∨ Λ K − 1 op ≤ N . Then, with a constant independent of N N N and K K K , the mode mean g g g satisfies
E π E P { N ∥ m π − g ∥ 2 } ≲ K 3 N + K N . (96) \mathbb{E}_{\pi}\mathbb{E}_{P}\left\{N\left\|m_\pi-g\right\|^2\right\}\lesssim\frac{K^3}{N}+\frac{K}{\sqrt{N}}. \tag*{(96)} E π E P { N ∥ m π − g ∥ 2 } ≲ N K 3 + N K . (96) Proof. We interpolate between the mean bounds N ∥ m π − g ∥ 2 ≤ C K N\left\|m_\pi-g\right\|^2\le CK N ∥ m π − g ∥ 2 ≤ C K and $N\left|m_\pi-g\right|\le
C ( B ∂ , N + K 3 / 2 ) C(B_{\partial,N}+K^{3/2}) C ( B ∂ , N + K 3/2 ) of Lemma E.4 , valid at every context, and obtain
N ∥ m π − g ∥ 2 ≤ C { K 3 N + min ( K , B ∂ , N 2 N ) } ≤ C ( K 3 N + K N B ∂ , N ) N\lVert m_\pi-g\rVert^2 \le C\left\{\frac{K^3}{N}+\min\left(K,\frac{B_{\partial,N}^2}{N}\right)\right\}\le C\left(\frac{K^3}{N}+\sqrt{\frac{K}{N}}B_{\partial,N}\right) N ∥ m π − g ∥ 2 ≤ C { N K 3 + min ( K , N B ∂ , N 2 ) } ≤ C ( N K 3 + N K B ∂ , N )
where the last inequality uses min ( x , y ) ≤ x y \min(x,y)\le\sqrt{xy} min ( x , y ) ≤ x y . Applying E π E P \mathbb{E}_\pi\mathbb{E}_P E π E P to this bound, which is uniform in q q q , and using E π E P B ∂ , N ≤ C K \mathbb{E}_\pi\mathbb{E}_P B_{\partial,N}\le C\sqrt{K} E π E P B ∂ , N ≤ C K in (E.30), we obtain (F.29), which completes the proof.
Lemma F.3. Under the conditions of Lemma F.2, for every ε ≥ 0 \varepsilon\ge0 ε ≥ 0 and every output f ∘ = ( f ∘ , β , clip C ∘ ) f^\circ=(f^{\circ,\beta},\operatorname{clip}C^\circ) f ∘ = ( f ∘ , β , clip C ∘ ) with symmetric C ∘ C^\circ C ∘ and a N ( f ∘ , C ∘ ) ≤ ε a_N(f^\circ,C^\circ)\le\varepsilon a N ( f ∘ , C ∘ ) ≤ ε , the conditional excess score h f ∘ h_{f^\circ} h f ∘ of Section F.1 at size N N N satisfies
E π E P h f ∘ ≤ ε 2 + K 3 N + K log N N \mathbb{E}_\pi\mathbb{E}_P h_{f^\circ}\le\varepsilon^2+\frac{K^3}{N}+K\sqrt{\frac{\log N}{N}} E π E P h f ∘ ≤ ε 2 + N K 3 + K N log N with a constant independent of N N N , K K K , ε \varepsilon ε and f ∘ f^\circ f ∘ .
Proof. We bound h f ∘ h_{f^\circ} h f ∘ by ε 2 \varepsilon^2 ε 2 and the errors N ∥ m π − g ∥ 2 N\lVert m_\pi-g\rVert^2 N ∥ m π − g ∥ 2 and ∥ S π − V ∥ F 2 \lVert S_\pi-V\rVert_F^2 ∥ S π − V ∥ F 2 of the mode pair, and then average the latter over contexts.
For symmetric C C C , let A C A_C A C and A S A_S A S denote ( clip C ) − 1 (\operatorname{clip}C)^{-1} ( clip C ) − 1 and ( clip S π ) − 1 (\operatorname{clip}S_\pi)^{-1} ( clip S π ) − 1 , respectively, with the spectral clipping clip = clip [ v − , v + ] \operatorname{clip}=\operatorname{clip}_{[v_-,v_+]} clip = clip [ v − , v + ] of Section B.1. Since F C ( A C ) ≤ F C ( A S ) F_C(A_C)\le F_C(A_S) F C ( A C ) ≤ F C ( A S ) for F C ( A ) = − log det A + tr ( A C ) F_C(A)=-\log\det A+\operatorname{tr}(AC) F C ( A ) = − log det A + tr ( A C ) by (E.4), it holds that
F S π ( A C ) − F S π ( A S ) = F C ( A C ) − F C ( A S ) + tr { ( S π − C ) ( A C − A S ) } ≤ v − − 2 ∥ C − S π ∥ F 2 F_{S_\pi}(A_C)-F_{S_\pi}(A_S)=F_C(A_C)-F_C(A_S)+\operatorname{tr}\{(S_\pi-C)(A_C-A_S)\}\le v_-^{-2}\lVert C-S_\pi\rVert_F^2 F S π ( A C ) − F S π ( A S ) = F C ( A C ) − F C ( A S ) + tr {( S π − C ) ( A C − A S )} ≤ v − − 2 ∥ C − S π ∥ F 2
where the inequality also uses A C − A S = A C ( clip S π − clip C ) A S A_C-A_S=A_C(\operatorname{clip}S_\pi-\operatorname{clip}C)A_S A C − A S = A C ( clip S π − clip C ) A S and the nonexpansiveness of spectral clipping. Substituting this bound into (E.6) at size N N N , we obtain
h ( β , clip C ) ≤ N ∥ β − m π ∥ 2 2 v − + ∥ C − S π ∥ F 2 2 v − 2 , (97) h_{(\beta,\operatorname{clip}C)}\le\frac{N\lVert\beta-m_\pi\rVert^2}{2v_-}+\frac{\lVert C-S_\pi\rVert_F^2}{2v_-^2}, \tag*{(97)} h ( β , clip C ) ≤ 2 v − N ∥ β − m π ∥ 2 + 2 v − 2 ∥ C − S π ∥ F 2 , (97)
and, by the triangle inequality through g g g and V V V , it follows that
0 ≤ h f ∘ ≤ C { ε 2 + N ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } . (98) 0\le h_{f^\circ}\le C\{\varepsilon^2+N\lVert m_\pi-g\rVert^2+\lVert S_\pi-V\rVert_F^2\}. \tag*{(98)} 0 ≤ h f ∘ ≤ C { ε 2 + N ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } . (98)
By Lemma E.4 , ∥ S π − V ∥ F 2 ≤ C K 2 / N \lVert S_\pi-V\rVert_F^2\le CK^2/N ∥ S π − V ∥ F 2 ≤ C K 2 / N on E N \mathcal{E}_N E N and ∥ S π − V ∥ F 2 ≤ C \lVert S_\pi-V\rVert_F^2\le C ∥ S π − V ∥ F 2 ≤ C on E N c \mathcal{E}_N^c E N c , and hence, by Lemma E.6 and N − 4 ≤ K log N / N N^{-4}\le K\sqrt{\log N/N} N − 4 ≤ K log N / N ,
E π E P ∥ S π − V ∥ F 2 ≤ C K 2 N + C E π , K { P θ ( E N c ) } ≤ C ( K 2 N + K log N N ) \mathbb{E}_\pi\mathbb{E}_P\lVert S_\pi-V\rVert_F^2\le\frac{CK^2}{N}+C\mathbb{E}_{\pi,K}\{\mathbb{P}_\theta(\mathcal{E}_N^c)\}\le C\left(\frac{K^2}{N}+K\sqrt{\frac{\log N}{N}}\right) E π E P ∥ S π − V ∥ F 2 ≤ N C K 2 + C E π , K { P θ ( E N c )} ≤ C ( N K 2 + K N log N )
Substituting (F.29) and this estimate into (F.31), and using K 2 ≤ K 3 K^2\le K^3 K 2 ≤ K 3 and K / N ≤ K log N / N K/\sqrt{N}\le K\sqrt{\log N/N} K / N ≤ K log N / N , we obtain the asserted bound.
The next lemma extends Lemma F.2 and the covariance bound in the proof of Lemma F.3 to the priors of Assumptions 3 and 4.
Lemma F.4. Suppose that Assumptions 1 ( i ) 1(i) 1 ( i ) –( i i ) (ii) ( ii ) , 3 3 3 and 4 4 4 hold and K 3 ∨ ∥ Λ K − 1 ∥ o p ≤ n min K^3 \vee\lVert\Lambda_K^{-1}\rVert_{\mathrm{op}} \le n_{\min} K 3 ∨ ∥ Λ K − 1 ∥ op ≤ n m i n . Then, for all sufficiently large N N N and every n ∈ N n \in\mathcal{N} n ∈ N , the mode pair ( g , V ) (g,V) ( g , V ) at size n n n satisfies
E π E P { n ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } ≲ K 3 N + K log N N + ϵ π , N , \mathbb{E}_{\pi}\mathbb{E}_{P}\left\{n\lVert m_{\pi}-g\rVert^2+\lVert S_{\pi}-V\rVert_F^2\right\}\lesssim\frac{K^3}{N}+K\sqrt{\frac{\log N}{N}}+\epsilon_{\pi,N}, E π E P { n ∥ m π − g ∥ 2 + ∥ S π − V ∥ F 2 } ≲ N K 3 + K N log N + ϵ π , N , where ϵ π , N = L N 2 / N + N δ π 2 \epsilon_{\pi,N}=L_N^2/N+N\delta_{\pi}^2 ϵ π , N = L N 2 / N + N δ π 2 is the sieve approximation error of Section E.3.5, with a constant independent of N N N , K K K and n n n .
Proof. We first compare m π m_{\pi} m π with g g g , as in Lemma F.2, and then bound E π { P ( E n c ) } \mathbb{E}_{\pi}\{\mathbb{P}(\mathcal{E}_n^c)\} E π { P ( E n c )} under π P \pi_P π P .
With the density ratio ρ \rho ρ in (E.48) and L N ′ = L N + C n δ π L'_N=L_N+Cn\delta_{\pi} L N ′ = L N + C n δ π as in the proof of Lemma E.9 , where δ π \delta_{\pi} δ π is as in (A3), we have ∥ ∇ log ρ ∥ ≤ L N ′ \lVert\nabla\log\rho\rVert\le L'_N ∥ ∇ log ρ ∥ ≤ L N ′ almost everywhere, and we denote the density and expectation of the posterior of θ P \theta_P θ P under π P \pi_P π P by
p n π ( θ ) ∝ ρ ( θ ) e − V n ( θ ) on Θ K and E ρ : = E n ( ρ ⋅ ) , p^\pi_n(\theta)\propto\rho(\theta)e^{-V_n(\theta)}\quad\text{on }\Theta_K\quad\text{and}\quad\mathbb{E}_{\rho}:=\mathbb{E}_n(\rho\cdot), p n π ( θ ) ∝ ρ ( θ ) e − V n ( θ ) on Θ K and E ρ := E n ( ρ ⋅ ) ,
respectively. Since L N ′ 2 / n L_N^{\prime2}/n L N ′2 / n is bounded, applying the arguments for (E.20) and (E.24) to p n π p^\pi_n p n π with ∇ V n − ∇ log ρ \nabla V_n-\nabla\log\rho ∇ V n − ∇ log ρ in place of ∇ V n \nabla V_n ∇ V n in the Gauss–Green formula, we obtain
E ρ ∥ θ − θ ~ ∥ 2 ≤ C ( K n + L N ′ 2 n 2 ) and n ∥ E ρ { β q ( P θ ) } − g ∥ 2 ≤ C ( K 3 n + L N ′ 2 n + K n B ∂ , n π ) , \mathbb{E}_{\rho}\lVert\theta-\tilde{\theta}\rVert^2\le C\left(\frac{K}{n}+\frac{L_N^{\prime2}}{n^2}\right)
\quad\text{and}\quad
n\left\lVert\mathbb{E}_{\rho}\{\beta_q(P_\theta)\}-g\right\rVert^2\le C\left(\frac{K^3}{n}+\frac{L_N^{\prime2}}{n}+\sqrt{\frac{K}{n}}B^\pi_{\partial,n}\right), E ρ ∥ θ − θ ~ ∥ 2 ≤ C ( n K + n 2 L N ′2 ) and n ∥ E ρ { β q ( P θ )} − g ∥ 2 ≤ C ( n K 3 + n L N ′2 + n K B ∂ , n π ) ,
where B ∂ , n π : = ∫ ∂ Θ K p n π d H K − 1 B^\pi_{\partial,n}:=\int_{\partial\Theta_K}p^\pi_n\,d\mathcal{H}^{K-1} B ∂ , n π := ∫ ∂ Θ K p n π d H K − 1 . Averaging Bayes’ formula over P ∼ π P P\sim\pi_P P ∼ π P and D n ∼ P ⊗ n D_n\sim P^{\otimes n} D n ∼ P ⊗ n , we find that E π E P p n π \mathbb{E}_{\pi}\mathbb{E}_{P}p^\pi_n E π E P p n π is the density of θ P \theta_P θ P under π P \pi_P π P , which is at most C w p K C_wp_K C w p K for the density p K p_K p K of π K \pi_K π K by Assumption 4 4 4 , so that, by (E.30),
E π E P B ∂ , n π ≤ C w ∫ ∂ Θ K p K d H K − 1 ≤ C K . \mathbb{E}_{\pi}\mathbb{E}_{P}B^\pi_{\partial,n}\le C_w\int_{\partial\Theta_K}p_K\,d\mathcal{H}^{K-1}\le C\sqrt{K}. E π E P B ∂ , n π ≤ C w ∫ ∂ Θ K p K d H K − 1 ≤ C K .
Since ∥ m π − E ρ { β q ( P θ ) } ∥ ≤ C δ π \lVert m_{\pi}-\mathbb{E}_{\rho}\{\beta_q(P_\theta)\}\rVert\le C\delta_{\pi} ∥ m π − E ρ { β q ( P θ )}∥ ≤ C δ π by the bound on ∥ β q ( P θ , g ) − β q ( P θ ) ∥ \lVert\beta_q(P_{\theta,g})-\beta_q(P_\theta)\rVert ∥ β q ( P θ , g ) − β q ( P θ )∥ in the proof of Lemma E.9 , the bound on the mean term follows.
For the covariance term, by (E.47) and Lemma E.4 applied to S π K S_{\pi_K} S π K , we have
∥ S π − V ∥ F 2 ≤ { C ( ϵ π , N + K 2 / n ) , ( D n , q ) ∈ E n , C , ( D n , q ) ∉ E n . \lVert S_{\pi}-V\rVert_F^2\le
\begin{cases}
C(\epsilon_{\pi,N}+K^2/n), & (D_n,q)\in\mathcal{E}_n,\\
C, & (D_n,q)\notin\mathcal{E}_n.
\end{cases} ∥ S π − V ∥ F 2 ≤ { C ( ϵ π , N + K 2 / n ) , C , ( D n , q ) ∈ E n , ( D n , q ) ∈ / E n .
It remains to bound E π { P ( E n c ) } \mathbb{E}_{\pi}\{\mathbb{P}(\mathcal{E}_n^c)\} E π { P ( E n c )} . At every dataset, (E.31) holds with θ = θ P \theta=\theta_P θ = θ P , and (E.32) holds under every P P P with E P b ( K ) \mathbb{E}_P b_{(K)} E P b ( K ) in place of E P θ b ( K ) \mathbb{E}_{P_\theta}b_{(K)} E P θ b ( K ) , while, by (E.49),
∥ E P b ( K ) − E P θ P b ( K ) ∥ ≤ C δ π = o ( K log N N ) . \lVert\mathbb{E}_P b_{(K)}-\mathbb{E}_{P_{\theta_P}}b_{(K)}\rVert\le C\delta_{\pi}=o\left(\sqrt{\frac{K\log N}{N}}\right). ∥ E P b ( K ) − E P θ P b ( K ) ∥ ≤ C δ π = o ( N K log N ) .
As the density of θ P \theta_P θ P under π P \pi_P π P is at most C w p K C_wp_K C w p K , repeating the argument for (E.34), we obtain E π { P ( E n c ) } ≤ C ( K log N / N + N − 4 ) \mathbb{E}_{\pi}\{\mathbb{P}(\mathcal{E}_n^c)\}\le C(K\sqrt{\log N/N}+N^{-4}) E π { P ( E n c )} ≤ C ( K log N / N + N − 4 ) , which proves the covariance bound and completes the proof.
Network approximation of elementary functions, features and queries
For k ≥ 1 k \ge1 k ≥ 1 , let ( r ( k ) , η ( k ) ) (r^{(k)},\eta^{(k)}) ( r ( k ) , η ( k ) ) denote the pair ( r , η ) (r,\eta) ( r , η ) that labels b k b_k b k in the enumeration of the trigonometric basis in Section B.2, so that b k ( v , D ) = χ η ( k ) ( D ) ∏ ℓ = 1 d φ r ℓ ( k ) { Φ ℓ ( v ℓ ) } b_k(v,D)=\chi_{\eta^{(k)}}(D)\prod_{\ell=1}^{d}\varphi_{r_\ell^{(k)}}\{\Phi_\ell(v_\ell)\} b k ( v , D ) = χ η ( k ) ( D ) ∏ ℓ = 1 d φ r ℓ ( k ) { Φ ℓ ( v ℓ )} , where Φ ℓ \Phi_\ell Φ ℓ is the distribution function of V ℓ V_\ell V ℓ under the reference distribution P 0 \mathbb{P}_0 P 0 . Since φ 2 h − 1 \varphi_{2h-1} φ 2 h − 1 and φ 2 h \varphi_{2h} φ 2 h have frequency h h h , we define the largest coordinate frequency of b 1 , … , b K b_1,\ldots,b_K b 1 , … , b K , truncated below at 1 1 1 , by
m K : = max { 1 , max k ∈ [ K ] ⌈ ∥ r ( k ) ∥ ∞ 2 ⌉ } . (99) m_K:=\max\left\{1,\max_{k\in[K]}\left\lceil\frac{\|r^{(k)}\|_\infty}{2}\right\rceil\right\}. \tag*{(99)} m K := max { 1 , k ∈ [ K ] max ⌈ 2 ∥ r ( k ) ∥ ∞ ⌉ } . (99)
and, since the enumeration is nondecreasing in ∥ r ∥ ∞ \|r\|_\infty ∥ r ∥ ∞ , we have
m K d ≤ C K . (100) m_K^d\le CK. \tag*{(100)} m K d ≤ C K . (100)
For t , s ∈ N t,s\in\mathbb{N} t , s ∈ N , let M t , s \mathcal{M}_{t,s} M t , s denote the class of maps Ψ = Ψ t ∘ ⋯ ∘ Ψ 1 \Psi=\Psi_t\circ\cdots\circ\Psi_1 Ψ = Ψ t ∘ ⋯ ∘ Ψ 1 of depth t t t and width s s s such that, for all l ∈ [ t ] l\in[t] l ∈ [ t ] and i ∈ [ s ] i\in[s] i ∈ [ s ] , the i i i th coordinate Ψ l , i \Psi_{l,i} Ψ l , i of Ψ l : R s → R s \Psi_l:\mathbb{R}^s\to\mathbb{R}^s Ψ l : R s → R s is one of the maps
x ↦ a T x + b , x ↦ x j x j ′ , and x ↦ ( x j ) + , x\mapsto a^\mathsf{T}x+b,\qquad x\mapsto x_jx_{j'},\qquad\text{and}\qquad x\mapsto(x_j)_+, x ↦ a T x + b , x ↦ x j x j ′ , and x ↦ ( x j ) + ,
with a ∈ R s a\in\mathbb{R}^s a ∈ R s , b ∈ R b\in\mathbb{R} b ∈ R and j , j ′ ∈ [ s ] j,j'\in[s] j , j ′ ∈ [ s ] , and we call the entries of these a a a and b b b the coefficients of Ψ \Psi Ψ . For τ ≥ 0 \tau\ge0 τ ≥ 0 and x ∈ R s x\in\mathbb{R}^s x ∈ R s , a τ \tau τ -perturbation of Ψ \Psi Ψ at x x x is a sequence x ( 0 ) = x , x ( 1 ) , … , x ( t ) ∈ R s x^{(0)}=x,x^{(1)},\ldots,x^{(t)}\in\mathbb{R}^s x ( 0 ) = x , x ( 1 ) , … , x ( t ) ∈ R s of intermediate values with output x ( t ) x^{(t)} x ( t ) such that, for all l ∈ [ t ] l\in[t] l ∈ [ t ] and i ∈ [ s ] i\in[s] i ∈ [ s ] ,
x i ( l ) = Ψ l , i ( x ( l − 1 ) ) if Ψ l , i is affine and ∣ x i ( l ) − Ψ l , i ( x ( l − 1 ) ) ∣ ≤ τ otherwise . x_i^{(l)}=\Psi_{l,i}(x^{(l-1)})\ \text{if }\Psi_{l,i}\text{ is affine}\qquad\text{and}\qquad\left|x_i^{(l)}-\Psi_{l,i}(x^{(l-1)})\right|\le\tau\ \text{otherwise}. x i ( l ) = Ψ l , i ( x ( l − 1 ) ) if Ψ l , i is affine and x i ( l ) − Ψ l , i ( x ( l − 1 ) ) ≤ τ otherwise .
For L , w ∈ N L,w\in\mathbb{N} L , w ∈ N and W ≥ 1 W\ge1 W ≥ 1 , a GELU network of depth L L L , width w w w and coefficient bound W W W is a composition of L L L maps on R 1 × w \mathbb{R}^{1\times w} R 1 × w of the form
h ↦ h + GELU ( h U 1 + c 1 ) U 2 + c 2 , h\mapsto h+\operatorname{GELU}(hU_1+c_1)U_2+c_2, h ↦ h + GELU ( h U 1 + c 1 ) U 2 + c 2 ,
with U 1 , U 2 ∈ [ − W , W ] w × w U_1,U_2\in[-W,W]^{w\times w} U 1 , U 2 ∈ [ − W , W ] w × w and c 1 , c 2 ∈ [ − W , W ] w c_1,c_2\in[-W,W]^w c 1 , c 2 ∈ [ − W , W ] w , which are the row maps of the feedforward layers in F F F N ( w , w , W ) \mathcal{F}_{\mathrm{FFN}}(w,w,W) F FFN ( w , w , W ) of Section B.1. In both kinds of maps, an input in R s 0 \mathbb{R}^{s_0} R s 0 occupies the first s 0 s_0 s 0 coordinates, the others being zero, and an output in R s 1 \mathbb{R}^{s_1} R s 1 consists of the first s 1 s_1 s 1 coordinates.
Lemma F.5. Let X ⊂ R m \mathcal{X}\subset\mathbb{R}^m X ⊂ R m .
(i) Let T : X → R m T:\mathcal{X}\to\mathbb{R}^m T : X → R m , x ∗ ∈ X x_\ast\in\mathcal{X} x ∗ ∈ X and ρ ∈ ( 0 , 1 ) \rho\in(0,1) ρ ∈ ( 0 , 1 ) satisfy T ( x ∗ ) = x ∗ T(x_\ast)=x_\ast T ( x ∗ ) = x ∗ and ∥ T ( x ) − x ∗ ∥ ≤ ρ ∥ x − x ∗ ∥ \|T(x)-x_\ast\|\le\rho\|x-x_\ast\| ∥ T ( x ) − x ∗ ∥ ≤ ρ ∥ x − x ∗ ∥ for all x ∈ X x\in\mathcal{X} x ∈ X . If J ∈ N J\in\mathbb{N} J ∈ N , e ≥ 0 e\ge0 e ≥ 0 , x ^ 0 , … , x ^ J − 1 ∈ X \widehat{x}_0,\ldots,\widehat{x}_{J-1}\in\mathcal{X} x 0 , … , x J − 1 ∈ X and x ^ J ∈ R m \widehat{x}_J\in\mathbb{R}^m x J ∈ R m satisfy ∥ x ^ j + 1 − T ( x ^ j ) ∥ ≤ e \|\widehat{x}_{j+1}-T(\widehat{x}_j)\|\le e ∥ x j + 1 − T ( x j ) ∥ ≤ e for 0 ≤ j < J 0\le j<J 0 ≤ j < J , then ∥ x ^ J − x ∗ ∥ ≤ ρ J ∥ x ^ 0 − x ∗ ∥ + e / ( 1 − ρ ) \|\widehat{x}_J-x_\ast\|\le\rho^J\|\widehat{x}_0-x_\ast\|+e/(1-\rho) ∥ x J − x ∗ ∥ ≤ ρ J ∥ x 0 − x ∗ ∥ + e / ( 1 − ρ ) .
(ii) Let c > 0 c>0 c > 0 and G , G ′ : X → R m G,G':\mathcal{X}\to\mathbb{R}^m G , G ′ : X → R m satisfy ( x − y ) T { G ( x ) − G ( y ) } ≥ c ∥ x − y ∥ 2 (x-y)^\mathsf{T}\{G(x)-G(y)\}\ge c\|x-y\|^2 ( x − y ) T { G ( x ) − G ( y )} ≥ c ∥ x − y ∥ 2 for all x , y ∈ X x,y\in\mathcal{X} x , y ∈ X . If x ∗ , x ′ ∈ X x_\ast,x'\in\mathcal{X} x ∗ , x ′ ∈ X satisfy G ( x ∗ ) T ( x ′ − x ∗ ) ≥ 0 G(x_\ast)^\mathsf{T}(x'-x_\ast)\ge0 G ( x ∗ ) T ( x ′ − x ∗ ) ≥ 0 and G ′ ( x ′ ) T ( x ∗ − x ′ ) ≥ 0 G'(x')^\mathsf{T}(x_\ast-x')\ge0 G ′ ( x ′ ) T ( x ∗ − x ′ ) ≥ 0 , then c ∥ x ∗ − x ′ ∥ ≤ ∥ G ( x ′ ) − G ′ ( x ′ ) ∥ c\|x_\ast-x'\|\le\|G(x')-G'(x')\| c ∥ x ∗ − x ′ ∥ ≤ ∥ G ( x ′ ) − G ′ ( x ′ ) ∥ .
Proof. We prove (i) by iterating the perturbed contraction and (ii) by combining strong monotonicity with the two variational inequalities.
For (i), by the triangle inequality, ∥ x ^ j + 1 − x ∗ ∥ ≤ e + ∥ T ( x ^ j ) − x ∗ ∥ ≤ e + ρ ∥ x ^ j − x ∗ ∥ \|\widehat{x}_{j+1}-x_\ast\|\le e+\|T(\widehat{x}_j)-x_\ast\|\le e+\rho\|\widehat{x}_j-x_\ast\| ∥ x j + 1 − x ∗ ∥ ≤ e + ∥ T ( x j ) − x ∗ ∥ ≤ e + ρ ∥ x j − x ∗ ∥ , and iterating over j < J j<J j < J with ∑ i ≥ 0 ρ i = ( 1 − ρ ) − 1 \sum_{i\ge0}\rho^i=(1-\rho)^{-1} ∑ i ≥ 0 ρ i = ( 1 − ρ ) − 1 proves (i).
For (ii), since ( x ∗ − x ′ ) T G ( x ∗ ) ≤ 0 ≤ ( x ∗ − x ′ ) T G ′ ( x ′ ) (x_\ast-x')^\mathsf{T}G(x_\ast)\le0\le(x_\ast-x')^\mathsf{T}G'(x') ( x ∗ − x ′ ) T G ( x ∗ ) ≤ 0 ≤ ( x ∗ − x ′ ) T G ′ ( x ′ ) , by strong monotonicity of G G G at ( x ∗ , x ′ ) (x_\ast, x') ( x ∗ , x ′ ) we obtain
c ∥ x ∗ − x ′ ∥ 2 ≤ ( x ∗ − x ′ ) T { G ( x ∗ ) − G ( x ′ ) } ≤ ( x ∗ − x ′ ) T { G ′ ( x ′ ) − G ′ ( x ′ ) } ≤ ∥ x ∗ − x ′ ∥ ∥ G ( x ′ ) − G ′ ( x ′ ) ∥ , c\lVert x_\ast-x'\rVert^2 \le(x_\ast-x')^{\mathsf T}\{G(x_\ast)-G(x')\}
\le(x_\ast-x')^{\mathsf T}\{G'(x')-G'(x')\}
\le\lVert x_\ast-x'\rVert\lVert G(x')-G'(x')\rVert, c ∥ x ∗ − x ′ ∥ 2 ≤ ( x ∗ − x ′ ) T { G ( x ∗ ) − G ( x ′ )} ≤ ( x ∗ − x ′ ) T { G ′ ( x ′ ) − G ′ ( x ′ )} ≤ ∥ x ∗ − x ′ ∥ ∥ G ( x ′ ) − G ′ ( x ′ )∥ ,
which proves (ii) after division by ∥ x ∗ − x ′ ∥ \lVert x_\ast-x'\rVert ∥ x ∗ − x ′ ∥ , as (ii) is trivial when x ∗ = x ′ x_\ast=x' x ∗ = x ′ .
Lemma F.6 (GELU approximation of products and positive parts). Let 0 < τ < 1 / 2 0<\tau<1/2 0 < τ < 1/2 , M ≥ 1 M\ge1 M ≥ 1 and X ⊂ R s \mathcal{X}\subset\mathbb{R}^s X ⊂ R s , and let Ψ ∈ M t , s \Psi\in\mathcal{M}_{t,s} Ψ ∈ M t , s have coefficients in [ − M , M ] [-M,M] [ − M , M ] such that, for every x ∈ X x\in\mathcal{X} x ∈ X , every τ \tau τ -perturbation ( x ( 0 ) , … , x ( t ) ) (x^{(0)},\ldots,x^{(t)}) ( x ( 0 ) , … , x ( t ) ) of Ψ \Psi Ψ at x x x satisfies x j ( l − 1 ) , x j ′ ( l − 1 ) ∈ [ − M , M ] x_j^{(l-1)},x_{j'}^{(l-1)}\in[-M,M] x j ( l − 1 ) , x j ′ ( l − 1 ) ∈ [ − M , M ] whenever Ψ l , i ( y ) = y j y j ′ \Psi_{l,i}(y)=y_jy_{j'} Ψ l , i ( y ) = y j y j ′ . Then there is a GELU network Ψ ^ \widehat{\Psi} Ψ of depth C t Ct C t , width C s Cs C s and coefficient bound ( C M / τ ) C (CM/\tau)^C ( C M / τ ) C such that, for every x ∈ X x\in\mathcal{X} x ∈ X , Ψ ^ ( x ) \widehat{\Psi}(x) Ψ ( x ) is the output of a τ \tau τ -perturbation of Ψ \Psi Ψ at x x x , where C C C is an absolute constant.
Proof. We represent the affine coordinates exactly and approximate the positive parts and products by GELU layers, and then choose the accuracy of these approximations. Since GELU ( x ) − GELU ( − x ) = x \operatorname{GELU}(x)-\operatorname{GELU}(-x)=x GELU ( x ) − GELU ( − x ) = x , GELU layers implement affine maps exactly, and, since GELU ( x ) = x Φ ( x ) \operatorname{GELU}(x)=x\Phi(x) GELU ( x ) = x Φ ( x ) , for λ > 0 \lambda>0 λ > 0 we have
sup x ∈ R ∣ GELU ( λ x ) λ − x + ∣ = sup x ∈ R ∣ x ∣ Φ ( − λ ∣ x ∣ ) ≤ C λ . (101) \sup_{x\in\mathbb{R}}\left|\frac{\operatorname{GELU}(\lambda x)}{\lambda}-x_+\right|
=\sup_{x\in\mathbb{R}}|x|\Phi(-\lambda|x|)\le\frac{C}{\lambda}. \tag*{(101)} x ∈ R sup λ GELU ( λ x ) − x + = x ∈ R sup ∣ x ∣Φ ( − λ ∣ x ∣ ) ≤ λ C . (101)
We implement the approximate layer Ψ ^ l \widehat{\Psi}_l Ψ l on two alternating blocks of coordinates ( z , z ′ ) (z,z') ( z , z ′ ) by
( z , z ′ ) ↦ ( z , z ′ ) + { 0 , Ψ ^ l ( z ) − z ′ } . (z,z')\mapsto(z,z')+\{0,\widehat{\Psi}_l(z)-z'\}. ( z , z ′ ) ↦ ( z , z ′ ) + { 0 , Ψ l ( z ) − z ′ } .
By Corollary 3.7 of Yakovlev and Puchkin [103 ] with accuracy parameter c η / M 3 c\eta/M^3 cη / M 3 , a GELU network of constant size with coefficients bounded by ( C M / η ) C (CM/\eta)^C ( C M / η ) C computes a product x y ^ \widehat{xy} x y with x , y ∈ [ − M , M ] x,y\in[-M,M] x , y ∈ [ − M , M ] with
sup x , y ∈ [ − M , M ] ∣ x y ^ − x y ∣ ≤ η . (102) \sup_{x,y\in[-M,M]}|\widehat{xy}-xy|\le\eta. \tag*{(102)} x , y ∈ [ − M , M ] sup ∣ x y − x y ∣ ≤ η . (102)
With λ : = 2 C / τ \lambda:=2C/\tau λ := 2 C / τ in (F.34), valid on all of R \mathbb{R} R , and η : = τ \eta:=\tau η := τ in (F.35), valid as all product factors lie in [ − M , M ] [-M,M] [ − M , M ] , the resulting network implements a τ \tau τ -perturbation with depth C t Ct C t , width C s Cs C s and coefficient bound ( C M / τ ) C (CM/\tau)^C ( C M / τ ) C , which proves the lemma.
Lemma F.7. Let κ > 1 \kappa>1 κ > 1 , M ≥ 1 M\ge1 M ≥ 1 and r ∈ N r\in\mathbb{N} r ∈ N , and let f f f be analytic on E κ : = { z ∈ C : ∣ z − 1 ∣ + ∣ z + 1 ∣ < κ + κ − 1 } E_\kappa:=\{z\in\mathbb{C}:|z-1|+|z+1|<\kappa+\kappa^{-1}\} E κ := { z ∈ C : ∣ z − 1∣ + ∣ z + 1∣ < κ + κ − 1 } with sup z ∈ E κ ∣ f ( z ) ∣ ≤ M \sup_{z\in E_\kappa}|f(z)|\le M sup z ∈ E κ ∣ f ( z ) ∣ ≤ M . Then there is Ψ ∈ M C r , C \Psi\in\mathcal{M}_{Cr,C} Ψ ∈ M C r , C with coefficients bounded by C κ M C_\kappa M C κ M such that, for all x ∈ [ − 1 , 1 ] x\in[-1,1] x ∈ [ − 1 , 1 ] , x ^ ∈ R \widehat{x}\in\mathbb{R} x ∈ R and τ ≥ 0 \tau\ge0 τ ≥ 0 with r 2 ( δ + τ ) ≤ 1 / 9 r^2(\delta+\tau)\le1/9 r 2 ( δ + τ ) ≤ 1/9 , where δ : = ∣ clip [ − 1 , 1 ] ( x ^ ) − x ∣ \delta:=|\operatorname{clip}_{[-1,1]}(\widehat{x})-x| δ := ∣ clip [ − 1 , 1 ] ( x ) − x ∣ , every τ \tau τ -perturbation of Ψ \Psi Ψ at x ^ \widehat{x} x has intermediate values entering products bounded by C κ M C_\kappa M C κ M and an output f ^ \widehat{f} f with
∣ f ^ − f ( x ) ∣ ≤ 2 M κ − r κ − 1 + C κ M ( δ + τ ) , |\widehat{f}-f(x)|\le\frac{2M\kappa^{-r}}{\kappa-1}+C_\kappa M(\delta+\tau), ∣ f − f ( x ) ∣ ≤ κ − 1 2 M κ − r + C κ M ( δ + τ ) , where C C C is an absolute constant and C κ C_\kappa C κ depends only on κ \kappa κ .
Proof. We evaluate the truncated Chebyshev series of f f f by its recurrence at a clipped input and bound the errors through Chebyshev polynomials of the second kind. Let T j T_j T j and U j U_j U j denote the Chebyshev polynomials of the first and second kinds, with U − 1 : = 0 U_{-1}:=0 U − 1 := 0 , and p r : = ∑ j = 0 r c j T j p_r:=\sum_{j=0}^{r}c_jT_j p r := ∑ j = 0 r c j T j the truncation of the Chebyshev series f = ∑ j ≥ 0 c j T j f=\sum_{j\geq0}c_jT_j f = ∑ j ≥ 0 c j T j on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . By Theorems 8.1 and 8.2 of Trefethen [91 ] , we have
∣ c 0 ∣ ≤ M , ∣ c j ∣ ≤ 2 M κ − j for j ≥ 1 and sup x ∈ [ − 1 , 1 ] ∣ f ( x ) − p r ( x ) ∣ ≤ 2 M κ − r κ − 1 . \lvert c_0\rvert\leq M,\qquad\lvert c_j\rvert\leq2M\kappa^{-j}\ \text{ for }j\geq1\quad\text{and}\quad\sup_{x\in[-1,1]}\lvert f(x)-p_r(x)\rvert\leq\frac{2M\kappa^{-r}}{\kappa-1}. ∣ c 0 ∣ ≤ M , ∣ c j ∣ ≤ 2 M κ − j for j ≥ 1 and x ∈ [ − 1 , 1 ] sup ∣ f ( x ) − p r ( x )∣ ≤ κ − 1 2 M κ − r .
The map clips x ^ \widehat{x} x to x ~ : = − 1 + ( x ^ + 1 ) + − ( x ^ − 1 ) + \widetilde{x}:=-1+(\widehat{x}+1)_{+}-(\widehat{x}-1)_{+} x := − 1 + ( x + 1 ) + − ( x − 1 ) + , so that ∣ x ~ − x ∣ ≤ δ + 2 τ \lvert\widetilde{x}-x\rvert\leq\delta+2\tau ∣ x − x ∣ ≤ δ + 2 τ , runs T ^ 0 : = 1 \widehat{T}_0:=1 T 0 := 1 , T ^ 1 : = x ~ \widehat{T}_1:=\widetilde{x} T 1 := x and T ^ j + 1 : = 2 x ~ T ^ j − T ^ j − 1 \widehat{T}_{j+1}:=2\widetilde{x}\widehat{T}_j-\widehat{T}_{j-1} T j + 1 := 2 x T j − T j − 1 , and returns f ^ : = ∑ j = 0 r c j T ^ j \widehat{f}:=\sum_{j=0}^{r}c_j\widehat{T}_j f := ∑ j = 0 r c j T j . The errors e j : = T ^ j − T j ( x ) e_j:=\widehat{T}_j-T_j(x) e j := T j − T j ( x ) satisfy e 0 = 0 e_0=0 e 0 = 0 , e 1 = x ~ − x e_1=\widetilde{x}-x e 1 = x − x and
e j + 1 = 2 x e j − e j − 1 + σ j , where ∣ σ j ∣ ≤ 2 ∣ x ~ − x ∣ ∣ T ^ j ∣ + 2 τ . e_{j+1}=2xe_j-e_{j-1}+\sigma_j,\qquad\text{where}\qquad\lvert\sigma_j\rvert\leq2\lvert\widetilde{x}-x\rvert\lvert\widehat{T}_j\rvert+2\tau. e j + 1 = 2 x e j − e j − 1 + σ j , where ∣ σ j ∣ ≤ 2 ∣ x − x ∣ ∣ T j ∣ + 2 τ .
Since U l U_l U l solves the same recurrence, we have
e j = e 1 U j − 1 ( x ) + ∑ i = 1 j − 1 σ i U j − 1 − i ( x ) . e_j=e_1U_{j-1}(x)+\sum_{i=1}^{j-1}\sigma_iU_{j-1-i}(x). e j = e 1 U j − 1 ( x ) + i = 1 ∑ j − 1 σ i U j − 1 − i ( x ) .
and, since ∣ U l ∣ ≤ l + 1 \lvert U_l\rvert\leq l+1 ∣ U l ∣ ≤ l + 1 on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , if ∣ T ^ i ∣ ≤ 2 \lvert\widehat{T}_i\rvert\leq2 ∣ T i ∣ ≤ 2 for i < j i<j i < j , it follows that
∣ e j ∣ ≤ j ( δ + 2 τ ) + j 2 2 ( 4 δ + 10 τ ) ≤ 9 j 2 ( δ + τ ) ≤ 1 , \lvert e_j\rvert\leq j(\delta+2\tau)+\frac{j^2}{2}(4\delta+10\tau)\leq9j^2(\delta+\tau)\leq1, ∣ e j ∣ ≤ j ( δ + 2 τ ) + 2 j 2 ( 4 δ + 10 τ ) ≤ 9 j 2 ( δ + τ ) ≤ 1 ,
so that, by induction, ∣ T ^ j ∣ ≤ 2 \lvert\widehat{T}_j\rvert\leq2 ∣ T j ∣ ≤ 2 and ∣ e j ∣ ≤ 9 j 2 ( δ + τ ) \lvert e_j\rvert\leq9j^2(\delta+\tau) ∣ e j ∣ ≤ 9 j 2 ( δ + τ ) for j ≤ r j\leq r j ≤ r . Consequently,
∣ f ^ − f ( x ) ∣ ≤ ∑ j = 1 r ∣ c j ∣ ∣ e j ∣ + ∣ p r ( x ) − f ( x ) ∣ ≤ 18 M ( δ + τ ) ∑ j ≥ 1 j 2 κ − j + 2 M κ − r κ − 1 . \lvert\widehat{f}-f(x)\rvert\leq\sum_{j=1}^{r}\lvert c_j\rvert\lvert e_j\rvert+\lvert p_r(x)-f(x)\rvert\leq18M(\delta+\tau)\sum_{j\geq1}j^2\kappa^{-j}+\frac{2M\kappa^{-r}}{\kappa-1}. ∣ f − f ( x )∣ ≤ j = 1 ∑ r ∣ c j ∣ ∣ e j ∣ + ∣ p r ( x ) − f ( x )∣ ≤ 18 M ( δ + τ ) j ≥ 1 ∑ j 2 κ − j + κ − 1 2 M κ − r .
and the map, which retains x ~ \widetilde{x} x , two iterates and the partial sum, has depth C r Cr C r and constant width, which proves the lemma with C κ C_\kappa C κ depending only on κ \kappa κ . □
If f f f is analytic on a complex neighbourhood of a compact interval [ a , b ] [a,b] [ a , b ] , then y ↦ f { ( a + b ) / 2 + ( b − a ) y / 2 } y\mapsto f\{(a+b)/2+(b-a)y/2\} y ↦ f {( a + b ) /2 + ( b − a ) y /2 } is analytic and bounded on E κ E_\kappa E κ for some κ > 1 \kappa>1 κ > 1 . Therefore, applying Lemma F.7 with degree ⌈ r / log κ ⌉ \lceil r/\log\kappa\rceil ⌈ r / log κ ⌉ to the exponential on [ − C , C ] [-C,C] [ − C , C ] and the reciprocal on [ c , C ] [c,C] [ c , C ] , we obtain approximations with error at most C ( e − r + δ + τ ) C(e^{-r}+\delta+\tau) C ( e − r + δ + τ ) whenever ( C r ) 2 ( δ + τ ) ≤ 1 / 9 (Cr)^2(\delta+\tau)\leq1/9 ( C r ) 2 ( δ + τ ) ≤ 1/9 .
Lemma F.8. For all K ≥ 1 K\geq1 K ≥ 1 and ζ ∈ ( 0 , 1 / 2 ) \zeta\in(0,1/2) ζ ∈ ( 0 , 1/2 ) , there is a GELU network b ^ K , ζ : R d z → R K \widehat{b}_{K,\zeta}:\mathbb{R}^{d_z}\to\mathbb{R}^{K} b K , ζ : R d z → R K of depth C log ( C K / ζ ) C\log(CK/\zeta) C log ( C K / ζ ) , width C K CK C K and coefficient bound ( C K / ζ ) C (CK/\zeta)^C ( C K / ζ ) C such that
sup z ∈ Z ∥ b ^ K , ζ ( z ) − b ( K ) ( z ) ∥ ∞ ≤ ζ , \sup_{z\in\mathcal{Z}}\lVert\widehat{b}_{K,\zeta}(z)-b_{(K)}(z)\rVert_\infty\leq\zeta, z ∈ Z sup ∥ b K , ζ ( z ) − b ( K ) ( z ) ∥ ∞ ≤ ζ , where C C C does not depend on K K K and ζ \zeta ζ , and b ( K ) = ( b 1 , … , b K ) T b_{(K)}=(b_1,\ldots,b_K)^{\mathsf{T}} b ( K ) = ( b 1 , … , b K ) T and the sample space Z = V × Z D ⊂ R d z \mathcal{Z}=\mathcal{V}\times\mathcal{Z}_D\subset\mathbb{R}^{d_z} Z = V × Z D ⊂ R d z are as in Section B.2.
Proof. For z = ( V , D ) ∈ Z z=(V,D)\in\mathcal{Z} z = ( V , D ) ∈ Z and k ∈ [ K ] k\in[K] k ∈ [ K ] , we have b k ( z ) = ∏ ℓ = 1 d + 1 f ℓ b_k(z)=\prod_{\ell=1}^{d+1}f_\ell b k ( z ) = ∏ ℓ = 1 d + 1 f ℓ , where f ℓ : = φ ℓ ( k ) { Φ ℓ ( V ℓ ) } f_\ell:=\varphi_{\ell}^{(k)}\{\Phi_\ell(V_\ell)\} f ℓ := φ ℓ ( k ) { Φ ℓ ( V ℓ )} for ℓ ∈ [ d ] \ell\in[d] ℓ ∈ [ d ] , with Φ ℓ \Phi_\ell Φ ℓ equal to Φ \Phi Φ or to the identity on [ 0 , 1 ] [0,1] [ 0 , 1 ] , and f d + 1 : = χ η ( k ) ( D ) f_{d+1}:=\chi_{\eta^{(k)}}(D) f d + 1 := χ η ( k ) ( D ) . We approximate these factors in turn and multiply them.
We begin with the normal distribution function. For ξ ∈ ( 0 , 1 / 2 ) \xi\in(0,1/2) ξ ∈ ( 0 , 1/2 ) and y ∈ R y \in\mathbb{R} y ∈ R , let
y ˉ : = { 2 log ( 8 / ξ ) } 1 2 and x : = clip [ − 1 , 1 ] ( y / y ˉ ) , \bar{y}:=\{2\log(8/\xi)\}^{\frac{1}{2}} \quad\text{and}\quad x:=\operatorname{clip}_{[-1,1]}(y/\bar{y}), y ˉ := { 2 log ( 8/ ξ ) } 2 1 and x := clip [ − 1 , 1 ] ( y / y ˉ ) ,
so that ∣ Φ ( y ) − Φ ( y ˉ x ) ∣ ≤ Φ ( − y ˉ ) ≤ ξ 16 |\Phi(y)-\Phi(\bar{y}x)|\leq\Phi(-\bar{y})\leq\frac{\xi}{16} ∣Φ ( y ) − Φ ( y ˉ x ) ∣ ≤ Φ ( − y ˉ ) ≤ 16 ξ .
For t ∈ E 2 t\in E_2 t ∈ E 2 , where ∣ Im t ∣ ≤ 3 / 4 |\operatorname{Im}t|\leq3/4 ∣ Im t ∣ ≤ 3/4 and ∣ t ∣ ≤ 5 / 4 |t|\leq5/4 ∣ t ∣ ≤ 5/4 , writing
Φ ( y ˉ t ) = 1 2 + ( 2 π ) − 1 2 y ˉ t ∫ 0 1 e − ( y ˉ t s ) 2 2 d s , \Phi(\bar{y}t)=\frac{1}{2}+(2\pi)^{-\frac{1}{2}}\bar{y}t\int_0^1 e^{-\frac{(\bar{y}ts)^2}{2}}\,ds, Φ ( y ˉ t ) = 2 1 + ( 2 π ) − 2 1 y ˉ t ∫ 0 1 e − 2 ( y ˉ t s ) 2 d s ,
we obtain
∣ Φ ( y ˉ t ) ∣ ≤ 1 2 + 5 y ˉ 4 2 π e 9 y ˉ 2 32 ≤ C ξ . |\Phi(\bar{y}t)|\leq\frac{1}{2}+\frac{5\bar{y}}{4\sqrt{2\pi}}e^{\frac{9\bar{y}^2}{32}}\leq\frac{C}{\xi}. ∣Φ ( y ˉ t ) ∣ ≤ 2 1 + 4 2 π 5 y ˉ e 32 9 y ˉ 2 ≤ ξ C .
Applying Lemma F.7 to t ↦ Φ ( y ˉ t ) t\mapsto\Phi(\bar{y}t) t ↦ Φ ( y ˉ t ) with κ = 2 \kappa=2 κ = 2 , input y / y ˉ y/\bar{y} y / y ˉ , degree ⌈ C log ( C / ξ ) ⌉ \lceil C\log(C/\xi)\rceil ⌈ C log ( C / ξ )⌉ and τ : = c ξ 2 \tau:=c\xi^2 τ := c ξ 2 , for which δ = 0 \delta=0 δ = 0 and its condition holds, and Lemma F.6 with X = R X=\mathbb{R} X = R , we obtain Φ ^ ξ \widehat{\Phi}_{\xi} Φ ξ of depth C log ( C / ξ ) C\log(C/\xi) C log ( C / ξ ) , constant width and coefficients polynomial in ξ − 1 \xi^{-1} ξ − 1 with
∥ Φ ^ ξ − Φ ∥ ∞ ≤ ξ 8 + ξ 16 ≤ ξ 4 . \|\widehat{\Phi}_{\xi}-\Phi\|_{\infty}\leq\frac{\xi}{8}+\frac{\xi}{16}\leq\frac{\xi}{4}. ∥ Φ ξ − Φ ∥ ∞ ≤ 8 ξ + 16 ξ ≤ 4 ξ .
We next approximate the trigonometric functions. For ∣ x ∣ ≤ M |x|\leq M ∣ x ∣ ≤ M with M ≥ 1 M\geq1 M ≥ 1 , let
j : = ⌈ log 2 M ⌉ , s i : = sin ( 2 i − j x ) and c i : = cos ( 2 i − j x ) for 0 ≤ i ≤ j , j:=\lceil\log_2 M\rceil,\quad s_i:=\sin(2^{i-j}x)\quad\text{and}\quad c_i:=\cos(2^{i-j}x)\quad\text{for }0\leq i\leq j, j := ⌈ log 2 M ⌉ , s i := sin ( 2 i − j x ) and c i := cos ( 2 i − j x ) for 0 ≤ i ≤ j ,
and let R ≥ 1 R\geq1 R ≥ 1 satisfy R 2 τ ≤ 1 / 9 R^2\tau\leq1/9 R 2 τ ≤ 1/9 . As ∣ sin t ∣ , ∣ cos t ∣ ≤ cosh ( 3 / 4 ) ≤ 2 |\sin t|,|\cos t|\leq\cosh(3/4)\leq2 ∣ sin t ∣ , ∣ cos t ∣ ≤ cosh ( 3/4 ) ≤ 2 on E 2 E_2 E 2 , by Lemma F.7 with input 2 − j x 2^{-j}x 2 − j x and degree R R R , followed by projections to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , we compute s ^ 0 \widehat{s}_0 s 0 and c ^ 0 \widehat{c}_0 c 0 , and then approximate the recursion
( s i + 1 c i + 1 ) = ( 2 s i c i c i 2 − s i 2 ) \begin{pmatrix}
s_{i+1}\\
c_{i+1}
\end{pmatrix}
=
\begin{pmatrix}
2s_i c_i\\
c_i^2-s_i^2
\end{pmatrix} ( s i + 1 c i + 1 ) = ( 2 s i c i c i 2 − s i 2 )
for 0 ≤ i ≤ j 0\leq i\leq j 0 ≤ i ≤ j , with τ \tau τ -accurate products and coordinatewise projections to [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] . Define
e i : = max { ∣ s ^ i − s i ∣ , ∣ c ^ i − c i ∣ } . e_i:=\max\{|\widehat{s}_i-s_i|,|\widehat{c}_i-c_i|\}. e i := max { ∣ s i − s i ∣ , ∣ c i − c i ∣ } .
Then, we have e 0 ≤ 4 ⋅ 2 − R + C τ e_0\leq4\cdot2^{-R}+C\tau e 0 ≤ 4 ⋅ 2 − R + C τ . Since ∣ s ^ i ∣ , ∣ c ^ i ∣ ≤ 1 + 2 τ |\widehat{s}_i|,|\widehat{c}_i|\leq1+2\tau ∣ s i ∣ , ∣ c i ∣ ≤ 1 + 2 τ and e i ≤ 5 / 2 e_i\leq5/2 e i ≤ 5/2 , it holds that
e i + 1 ≤ ( 4 + 4 τ ) e i + 4 τ ≤ 4 e i + 14 τ , e_{i+1}\leq(4+4\tau)e_i+4\tau\leq4e_i+14\tau, e i + 1 ≤ ( 4 + 4 τ ) e i + 4 τ ≤ 4 e i + 14 τ ,
so that, as 4 j ≤ 4 M 2 4^j\leq4M^2 4 j ≤ 4 M 2 ,
e j ≤ 4 j e 0 + 14 τ ∑ i = 0 j − 1 4 i ≤ 4 M 2 ( e 0 + 5 τ ) ≤ 4 M 2 ( 4 ⋅ 2 − R + C τ ) . (103) e_j\leq4^j e_0+14\tau\sum_{i=0}^{j-1}4^i\leq4M^2(e_0+5\tau)\leq4M^2(4\cdot2^{-R}+C\tau). \tag*{(103)} e j ≤ 4 j e 0 + 14 τ i = 0 ∑ j − 1 4 i ≤ 4 M 2 ( e 0 + 5 τ ) ≤ 4 M 2 ( 4 ⋅ 2 − R + C τ ) . (103)
For R : = ⌈ log 2 ( 128 M 2 / ξ ) ⌉ R:=\lceil\log_2(128M^2/\xi)\rceil R := ⌈ log 2 ( 128 M 2 / ξ )⌉ and τ : = c ξ / M 2 \tau:=c\xi/M^2 τ := c ξ / M 2 with a sufficiently small c c c , we have R 2 τ ≤ 1 / 9 R^2\tau\leq1/9 R 2 τ ≤ 1/9 and e j ≤ ξ / 4 e_j\leq\xi/4 e j ≤ ξ /4 , and the map computing the trigonometric functions has depth O ( R + j ) O(R+j) O ( R + j ) and constant width.
Finally, for M = 4 π m K M=4\pi mK M = 4 π m K , we use distribution function error c ζ / M c\zeta/M c ζ / M and trigonometric error c ζ c\zeta c ζ , so that, by the mean value theorem, each tensor factor f ℓ f_\ell f ℓ satisfies
∣ f ^ ℓ − f ℓ ∣ ≤ C c ζ + ∥ φ ℓ ( k ) ∥ ∞ c ζ M ≤ C c ζ , for ℓ ∈ [ d ] , |\widehat{f}_\ell-f_\ell|\leq Cc\zeta+\|\varphi_{\ell}^{(k)}\|_{\infty}\frac{c\zeta}{M}\leq Cc\zeta,\qquad\text{for }\ell\in[d], ∣ f ℓ − f ℓ ∣ ≤ C c ζ + ∥ φ ℓ ( k ) ∥ ∞ M c ζ ≤ C c ζ , for ℓ ∈ [ d ] ,
where the trigonometric arguments remain in [ − M , M ] [-M,M] [ − M , M ] because the approximate transforms lie in [ − 1 , 2 ] [-1,2] [ − 1 , 2 ] . On the finite set Z D \mathcal{Z}_D Z D , we approximate the discrete factor f d + 1 f_{d+1} f d + 1 to error c ζ c\zeta c ζ by Lemma F.6, using the exact tent representation
χ η ( D ) = ∑ a ∈ Z D χ η ( a ) ( 1 − ∥ D − a ∥ 1 δ D ) + , where δ D : = min a , a ′ ∈ Z D a ≠ a ′ ∥ a − a ′ ∥ 1 . \chi_\eta(D)=\sum_{a\in\mathcal{Z}_D}\chi_\eta(a)\left(1-\frac{\lVert D-a\rVert_1}{\delta_D}\right)_+,\qquad\text{where}\quad\delta_D:=\min_{\substack{a,a'\in\mathcal{Z}_D\\a\ne a'}}\lVert a-a'\rVert_1. χ η ( D ) = a ∈ Z D ∑ χ η ( a ) ( 1 − δ D ∥ D − a ∥ 1 ) + , where δ D := a , a ′ ∈ Z D a = a ′ min ∥ a − a ′ ∥ 1 .
with δ D : = 1 \delta_D:=1 δ D := 1 if ∣ Z D ∣ = 1 |\mathcal{Z}_D|=1 ∣ Z D ∣ = 1 . Multiplying the factors with accuracy c ζ c\zeta c ζ for each product, by a telescoping product bound, we obtain, for all z ∈ Z z\in\mathcal{Z} z ∈ Z and k ∈ [ K ] k\in[K] k ∈ [ K ] ,
∣ [ b ^ K , ζ ( z ) ] k − b k ( z ) ∣ ≤ ∑ ℓ = 1 d + 1 ∣ f ^ ℓ − f ℓ ∣ ∏ h < ℓ ∣ f ^ h ∣ ∏ h > ℓ ∣ f h ∣ + c ζ ∑ ℓ = 0 d C ℓ ≤ C max 1 ≤ ℓ ≤ d + 1 ∣ f ^ ℓ − f ℓ ∣ + C c ζ ≤ C c ζ ≤ ζ . \begin{aligned}
\left|[\widehat b_{K,\zeta}(z)]_k-b_k(z)\right|
\le\sum_{\ell=1}^{d+1}|\widehat f_\ell-f_\ell|\prod_{h<\ell}|\widehat f_h|\prod_{h>\ell}|f_h|+c\zeta\sum_{\ell=0}^{d}C^\ell\\
&\le C\max_{1\le\ell\le d+1}|\widehat f_\ell-f_\ell|+Cc\zeta\\
&\le Cc\zeta\le\zeta.
\end{aligned} [ b K , ζ ( z ) ] k − b k ( z ) ≤ ℓ = 1 ∑ d + 1 ∣ f ℓ − f ℓ ∣ h < ℓ ∏ ∣ f h ∣ h > ℓ ∏ ∣ f h ∣ + c ζ ℓ = 0 ∑ d C ℓ ≤ C 1 ≤ ℓ ≤ d + 1 max ∣ f ℓ − f ℓ ∣ + C c ζ ≤ C c ζ ≤ ζ .
Since M ≤ C K M\le CK M ≤ C K by (F.33), evaluating the K K K basis functions in parallel requires depth C log ( C K / ζ ) C\log(CK/\zeta) C log ( C K / ζ ) and width C K CK C K , with coefficients polynomially bounded in K / ζ K/\zeta K / ζ , which completes the proof.
Lemma F.9. For all K ≥ 1 K\ge1 K ≥ 1 and M , λ ≥ 1 M,\lambda\ge1 M , λ ≥ 1 , there is a GELU network P ^ : R K → R K \widehat P:\mathbb{R}^K\to\mathbb{R}^K P : R K → R K of depth C log ( 2 K ) C\log(2K) C log ( 2 K ) , width C K CK C K and coefficient bound ( C M λ K ) C (CM\lambda K)^C ( C M λ K ) C such that
sup z ∈ [ − M , M ] K ∥ P ^ ( z ) − proj Θ K ( z ) ∥ ≤ C K log ( 2 K ) λ , \sup_{z\in[-M,M]^K}\left\lVert\widehat P(z)-\operatorname{proj}_{\Theta_K}(z)\right\rVert\le\frac{C\sqrt{K}\log(2K)}{\lambda}, z ∈ [ − M , M ] K sup P ( z ) − proj Θ K ( z ) ≤ λ C K log ( 2 K ) , where C C C does not depend on K K K , M M M and λ \lambda λ , and proj Θ K ( z ) : = arg min θ ∈ Θ K ∥ θ − z ∥ \operatorname{proj}_{\Theta_K}(z):=\arg\min_{\theta\in\Theta_K}\lVert\theta-z\rVert proj Θ K ( z ) := arg min θ ∈ Θ K ∥ θ − z ∥ is the Euclidean projection onto the set Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } \Theta_K=\{\theta\in\mathbb{R}^K:\lVert\theta\rVert_1\le B\} Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } of Section B.2.
Proof. We compute the projection onto Θ K \Theta_K Θ K by soft thresholding at a level that requires only sorting, prefix averages and maxima.
For z ∈ [ − M , M ] K z\in[-M,M]^K z ∈ [ − M , M ] K , let u ( 1 ) ≥ ⋯ ≥ u ( K ) u_{(1)}\ge\cdots\ge u_{(K)} u ( 1 ) ≥ ⋯ ≥ u ( K ) denote ∣ z 1 ∣ , … , ∣ z K ∣ |z_1|,\ldots,|z_K| ∣ z 1 ∣ , … , ∣ z K ∣ in decreasing order. The threshold representation of Duchi et al. [27 ] reads
t = max { 0 , max j ∈ [ K ] ∑ i = 1 j u ( i ) − B j } and P i ( z ) = ( z i − t ) + − ( − z i − t ) + . t=\max\left\{0,\max_{j\in[K]}\frac{\sum_{i=1}^{j}u_{(i)}-B}{j}\right\}\qquad\text{and}\qquad P_i(z)=(z_i-t)_+-(-z_i-t)_+. t = max { 0 , j ∈ [ K ] max j ∑ i = 1 j u ( i ) − B } and P i ( z ) = ( z i − t ) + − ( − z i − t ) + .
Since ∑ i ( u ( i ) − t ) + = max 0 ≤ j ≤ K { ∑ i = 1 j u ( i ) − j t } \sum_i(u_{(i)}-t)_+=\max_{0\le j\le K}\{\sum_{i=1}^{j}u_{(i)}-jt\} ∑ i ( u ( i ) − t ) + = max 0 ≤ j ≤ K { ∑ i = 1 j u ( i ) − j t } , we have t = 0 t=0 t = 0 if ∥ z ∥ 1 ≤ B \lVert z\rVert_1\le B ∥ z ∥ 1 ≤ B and ∥ P ( z ) ∥ 1 = B \lVert P(z)\rVert_1=B ∥ P ( z ) ∥ 1 = B otherwise, and these conditions together with z − P ( z ) ∈ t ∂ ∥ P ( z ) ∥ 1 z-P(z)\in t\partial\lVert P(z)\rVert_1 z − P ( z ) ∈ t ∂ ∥ P ( z ) ∥ 1 identify P ( z ) P(z) P ( z ) as the Euclidean projection. We compute P P P in the stages
z ↦ ( u ( 1 ) , … , u ( K ) ) ↦ ( ∑ i = 1 j u ( i ) − B j ) j ∈ [ K ] ↦ t ↦ P ( z ) , z\mapsto(u_{(1)},\ldots,u_{(K)})\mapsto\left(\frac{\sum_{i=1}^{j}u_{(i)}-B}{j}\right)_{j\in[K]}\mapsto t\mapsto P(z), z ↦ ( u ( 1 ) , … , u ( K ) ) ↦ ( j ∑ i = 1 j u ( i ) − B ) j ∈ [ K ] ↦ t ↦ P ( z ) ,
using the depth-C log ( 2 K ) C\log(2K) C log ( 2 K ) sorting network of Ajtai et al. [2 ] with zero padding, one affine layer of prefix averages and a binary tree of maxima. This map has width C K CK C K and coefficients bounded by ( C M Λ K ) C (CM\Lambda K)^C ( C M Λ K ) C , and satisfies
∥ P ^ ( z ) − P ( z ) ∥ ≤ K ∥ P ^ ( z ) − P ( z ) ∥ ∞ ≤ (i) C K max j e j ≤ (ii) C K log ( 2 K ) λ , \|\widehat{P}(z)-P(z)\| \le\sqrt{K}\|\widehat{P}(z)-P(z)\|_{\infty} \mathrel{\mathop{\le}^{\text{(i)}}} C\sqrt{K}\max_j e_j \mathrel{\mathop{\le}^{\text{(ii)}}} \frac{C\sqrt{K}\log(2K)}{\lambda}, ∥ P ( z ) − P ( z ) ∥ ≤ K ∥ P ( z ) − P ( z ) ∥ ∞ ≤ (i) C K j max e j ≤ (ii) λ C K log ( 2 K ) ,
where e j e_j e j is the maximum-norm error after j j j stages, (i) follows from the Lipschitz dependence of soft thresholding on t t t , and (ii) from e j + 1 ≤ e j + C / λ e_{j+1}\le e_j+C/\lambda e j + 1 ≤ e j + C / λ , as each stage is nonexpansive in the maximum norm up to the error C / λ C/\lambda C / λ in (F.34), which proves the lemma. □
For θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1\le B+1 ∥ θ ∥ 1 ≤ B + 1 and a ∈ Z D a\in\mathbb{Z}_{D} a ∈ Z D , we define the 1-periodic trigonometric polynomial
g θ , a ( x ) : = ∑ k = 1 K θ k χ η ( k ) ( a ) ∏ ℓ = 1 d φ ℓ ( k ) ( x ℓ ) for x ∈ R d , g_{\theta,a}(x):=\sum_{k=1}^{K}\theta_k\chi_{\eta^{(k)}(a)}\prod_{\ell=1}^{d}\varphi_{\ell}^{(k)}(x_\ell)\quad\text{for }x\in\mathbb{R}^{d}, g θ , a ( x ) := k = 1 ∑ K θ k χ η ( k ) ( a ) ℓ = 1 ∏ d φ ℓ ( k ) ( x ℓ ) for x ∈ R d ,
with ( r ( k ) , η ( k ) ) (r^{(k)},\eta^{(k)}) ( r ( k ) , η ( k ) ) as in (F.32), so that θ T b ( K ) ( v , a ) = g θ , a { Φ 1 ( v 1 ) , … , Φ d ( v d ) } \theta^{\mathsf{T}}b_{(K)}(v,a)=g_{\theta,a}\{\Phi_1(v_1),\ldots,\Phi_d(v_d)\} θ T b ( K ) ( v , a ) = g θ , a { Φ 1 ( v 1 ) , … , Φ d ( v d )} for v ∈ V v\in\mathcal{V} v ∈ V . We call a map elementary if it is a finite composition of affine maps, products ( y , y ′ ) ↦ y y ′ (y,y')\mapsto yy' ( y , y ′ ) ↦ y y ′ , reciprocals y ↦ 1 / y y\mapsto1/y y ↦ 1/ y of inputs with ∣ y ∣ ≥ c |y|\ge c ∣ y ∣ ≥ c and univariate analytic functions, namely functions of one variable that are analytic on { z ∈ C : dist ( z , I ) < c } \{z\in\mathbb{C}:\operatorname{dist}(z,I)<c\} { z ∈ C : dist ( z , I ) < c } for a compact interval I I I containing their inputs, where c > 0 c>0 c > 0 is the constant of Definition F.1.
Definition F.1 (Integral representation of queries). A query family k ∈ K k\in\mathcal{K} k ∈ K admits an integral representation if there exist s k ∈ N s_k\in\mathbb{N} s k ∈ N , a box B k ⊂ R s k \mathcal{B}_k\subset\mathbb{R}^{s_k} B k ⊂ R s k , an elementary readout R k : B k × U k → R d k R_k:\mathcal{B}_k\times\mathcal{U}_k\to\mathbb{R}^{d_k} R k : B k × U k → R d k and constants c , C > 0 c,C>0 c , C > 0 such that, for all K ≥ 1 K\ge1 K ≥ 1 , θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_1\le B+1 ∥ θ ∥ 1 ≤ B + 1 and u ∈ U k u\in\mathcal{U}_k u ∈ U k , the following conditions hold, with numbers of operations and fields, auxiliary dimensions, weights and univariate analytic functions independent of K K K .
(I1) The fields of family k k k are functions f : R p → R f:\mathbb{R}^{p}\to\mathbb{R} f : R p → R , p ∈ N p\in\mathbb{N} p ∈ N , generated from the functions x ↦ e g θ , a ( x ) x\mapsto e^{g_{\theta,a}(x)} x ↦ e g θ , a ( x ) on R d \mathbb{R}^{d} R d , a ∈ Z D a\in\mathbb{Z}_{D} a ∈ Z D , by finitely many constant extensions ( t , x ) ↦ f 1 ( x ) (t,x)\mapsto f_1(x) ( t , x ) ↦ f 1 ( x ) in added coordinates t ∈ R p 1 t\in\mathbb{R}^{p_1} t ∈ R p 1 and operations
f 1 + f 2 , f 1 f 2 , f 1 / f 2 and ∫ [ 0 , 1 ] p 1 w ( t ) f 1 ( t , ⋅ ) d t , (104) f_1+f_2,\qquad f_1f_2,\qquad f_1/f_2\quad\text{and}\quad\int_{[0,1]^{p_1}}w(t)f_1(t,\cdot)\,\mathrm{d}t, \tag*{(104)} f 1 + f 2 , f 1 f 2 , f 1 / f 2 and ∫ [ 0 , 1 ] p 1 w ( t ) f 1 ( t , ⋅ ) d t , (104) where inf x ∈ R p ∣ f 2 ( x ) ∣ ≥ c \inf_{x\in\mathbb{R}^{p}}|f_2(x)|\ge c inf x ∈ R p ∣ f 2 ( x ) ∣ ≥ c and w ∈ L 1 ( [ 0 , 1 ] p 1 ) w\in L_1([0,1]^{p_1}) w ∈ L 1 ([ 0 , 1 ] p 1 ) .
(I2) A root v k ( θ , u ) ∈ B k v_k(\theta,u)\in\mathcal{B}_k v k ( θ , u ) ∈ B k of an equation map F k ( θ , ⋅ , u ) : B k → R s k F_k(\theta,\cdot,u):\mathcal{B}_k\to\mathbb{R}^{s_k} F k ( θ , ⋅ , u ) : B k → R s k represents the query through
β ( k , u ) ( P θ ) = R k { v k ( θ , u ) , u } and F k { θ , v k ( θ , u ) , u } = 0 , (105) \beta^{(k,u)}(P_\theta)=R_k\{v_k(\theta,u),u\}\quad\text{and}\quad F_k\{\theta,v_k(\theta,u),u\}=0, \tag*{(105)} β ( k , u ) ( P θ ) = R k { v k ( θ , u ) , u } and F k { θ , v k ( θ , u ) , u } = 0 , (105) where P θ P_\theta P θ is the tilt in (B.1), and F k ( θ , v , u ) F_k(\theta,v,u) F k ( θ , v , u ) is an elementary function of ( v , u ) (v,u) ( v , u ) and of the values f ( x ) f(x) f ( x ) and the integrals ∫ [ x − , x + ] f \int_{[x^-,x^+]}f ∫ [ x − , x + ] f over rectangles [ x − , x + ] : = ∏ i = 1 p [ x i − , x i + ] [x^-,x^+]:=\prod_{i=1}^{p}[x_i^-,x_i^+] [ x − , x + ] := ∏ i = 1 p [ x i − , x i + ] of finitely many fields f : R p → R f:\mathbb{R}^{p}\to\mathbb{R} f : R p → R at points x , x − , x + ∈ [ 0 , 1 ] p x,x^-,x^+\in[0,1]^p x , x − , x + ∈ [ 0 , 1 ] p that are elementary functions of ( v , u ) (v,u) ( v , u ) .
(I3) The root satisfies dist { v k ( θ , u ) , ∂ B k } ≥ c \operatorname{dist}\{v_k(\theta,u),\partial\mathcal{B}_k\}\ge c dist { v k ( θ , u ) , ∂ B k } ≥ c , and, for all v ∈ B k v\in\mathcal{B}_k v ∈ B k , the Jacobian ∂ v F k \partial_vF_k ∂ v F k of F k F_k F k in v v v at ( θ , v , u ) (\theta,v,u) ( θ , v , u ) satisfies
∂ v F k + ( ∂ v F k ) T 2 ⪰ c I and ∥ ∂ v F k ∥ o p ≤ C . (106) \frac{\partial_vF_k+(\partial_vF_k)^{\mathsf{T}}}{2}\succeq cI\quad\text{and}\quad\|\partial_vF_k\|_{\mathrm{op}}\le C. \tag*{(106)} 2 ∂ v F k + ( ∂ v F k ) T ⪰ c I and ∥ ∂ v F k ∥ op ≤ C . (106)
Lemma F.10. Suppose that a query family satisfies condition (I1) of Definition F.1. Then there exist constants c , C > 0 c, C > 0 c , C > 0 such that, for all K ≥ 1 K \ge1 K ≥ 1 , θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \|\theta\|_{1} \le B + 1 ∥ θ ∥ 1 ≤ B + 1 , fields f : R p → R f : \mathbb{R}^{p} \to\mathbb{R} f : R p → R of this family and h ∈ { f , ∂ θ 1 f , ⋯ , ∂ θ K f } h \in\{f, \partial_{\theta_1}f, \cdots, \partial_{\theta_K}f\} h ∈ { f , ∂ θ 1 f , ⋯ , ∂ θ K f } , the function h h h extends analytically to { x + i y : x , y ∈ R p , ∥ y ∥ ∞ < c / m K } \{x + iy : x, y \in\mathbb{R}^{p}, \|y\|_{\infty} < c/m_K\} { x + i y : x , y ∈ R p , ∥ y ∥ ∞ < c / m K } and is bounded there by C C C , with m K m_K m K as in (F.32). If moreover p ≤ d p \le d p ≤ d , then, for all odd M g ∈ N M_g \in\mathbb{N} M g ∈ N and e ∈ R M g p e \in\mathbb{R}^{M_g^p} e ∈ R M g p ,
∥ h − I M g h ∥ ∞ ≤ C m g p e − c M g m K and ∥ I M g e ∥ ∞ ≤ M g p ∥ e ∥ ∞ . \|h-I_{M_g}h\|_{\infty} \le Cm_g^p e^{-\frac{cM_g}{m_K}}
\qquad\text{and}\qquad
\|I_{M_g}e\|_{\infty} \le M_g^p\|e\|_{\infty}. ∥ h − I M g h ∥ ∞ ≤ C m g p e − m K c M g and ∥ I M g e ∥ ∞ ≤ M g p ∥ e ∥ ∞ . where I M g I_{M_g} I M g denotes trigonometric interpolation of 1 1 1 -periodic functions on R p \mathbb{R}^{p} R p , and of vectors e e e of nodal values, at the nodes { 0 , 1 / M g , ⋯ , ( M g − 1 ) / M g } p \{0,1/M_g,\cdots,(M_g-1)/M_g\}^{p} { 0 , 1/ M g , ⋯ , ( M g − 1 ) / M g } p .
Proof. We prove analyticity and the uniform bounds by induction over the operations in (I1), and then derive both interpolation bounds from the decay of the Fourier coefficients.
Since g θ , a g_{\theta,a} g θ , a has frequencies at most m K m_K m K and absolute Fourier coefficients summing to at most C ∞ ∥ θ ∥ 1 C_{\infty}\|\theta\|_1 C ∞ ∥ θ ∥ 1 , with C ∞ C_{\infty} C ∞ the basis bound of Section B.2, at x + i y x+iy x + i y with x , y ∈ R d x,y\in\mathbb{R}^{d} x , y ∈ R d and ∥ y ∥ ∞ ≤ c / m K \|y\|_{\infty}\le c/m_K ∥ y ∥ ∞ ≤ c / m K we have
∣ g θ , a ∣ + ∣ b k ∣ + ∣ e g θ , a ∣ + ∣ b k e g θ , a ∣ ≤ C , where b k = ∂ θ k g θ , a . |g_{\theta,a}|+|b_k|+|e^{g_{\theta,a}}|+|b_ke^{g_{\theta,a}}|\le C,
\qquad\text{where } b_k=\partial_{\theta_k}g_{\theta,a}. ∣ g θ , a ∣ + ∣ b k ∣ + ∣ e g θ , a ∣ + ∣ b k e g θ , a ∣ ≤ C , where b k = ∂ θ k g θ , a .
By Fubini’s theorem, integration over t t t against w w w commutes with contour integration, so that it preserves analyticity in the retained coordinates by Morera’s theorem, Theorem 10.17 of Rudin (1987), and uniform bounds since
∥ ∫ w ( t ) f ( t , ⋅ ) d t ∥ ∞ ≤ ∥ w ∥ 1 ∥ f ∥ ∞ . \left\|\int w(t)f(t,\cdot)\,\mathrm{d}t\right\|_{\infty}\le\|w\|_1\|f\|_{\infty}. ∫ w ( t ) f ( t , ⋅ ) d t ∞ ≤ ∥ w ∥ 1 ∥ f ∥ ∞ .
By Cauchy’s estimate in Theorem 10.26 of Rudin (1987), the first spatial derivatives of each denominator ϱ \varrho ϱ are bounded by C m K Cm_K C m K on a narrower strip, and, shrinking its width by a constant factor, we obtain
∣ ϱ ( x + i y ) − ϱ ( x ) ∣ ≤ C m K ∥ y ∥ 1 ≤ 1 2 inf x ∣ ϱ ( x ) ∣ |\varrho(x+iy)-\varrho(x)|\le Cm_K\|y\|_1\le\frac{1}{2}\inf_x|\varrho(x)| ∣ ϱ ( x + i y ) − ϱ ( x ) ∣ ≤ C m K ∥ y ∥ 1 ≤ 2 1 x inf ∣ ϱ ( x ) ∣
and hence
∣ ϱ ( x + i y ) ∣ ≥ 1 2 inf x ∣ ϱ ( x ) ∣ > 0. |\varrho(x+iy)|\ge\frac{1}{2}\inf_x|\varrho(x)|>0. ∣ ϱ ( x + i y ) ∣ ≥ 2 1 x inf ∣ ϱ ( x ) ∣ > 0.
Consequently, reciprocals and their coefficient derivatives ∂ θ k ( ϱ − 1 ) = − ϱ − 2 ∂ θ k ϱ \partial_{\theta_k}(\varrho^{-1})=-\varrho^{-2}\partial_{\theta_k}\varrho ∂ θ k ( ϱ − 1 ) = − ϱ − 2 ∂ θ k ϱ remain bounded, and, by induction over the sequence of operations, every field satisfies the analytic bounds. For the Fourier coefficients f ^ r \widehat{f}_r f r , r ∈ Z p r\in\mathbb{Z}^{p} r ∈ Z p , of f f f , we have
∥ f − I M g f ∥ ∞ ≤ (i) 2 ∑ ∥ r ∥ ∞ > M g − 1 2 ∣ f ^ r ∣ ≤ (ii) C ∑ ∥ r ∥ ∞ > M g − 1 2 e − c ∥ r ∥ 1 m K ≤ C m K p e − c M g m K . \|f-I_{M_g}f\|_{\infty}
\mathrel{\overset{\text{(i)}}{\le}} 2
\sum_{\|r\|_{\infty}>\frac{M_g-1}{2}}|\widehat{f}_r|
\mathrel{\overset{\text{(ii)}}{\le}} C
\sum_{\|r\|_{\infty}>\frac{M_g-1}{2}}
e^{-\frac{c\|r\|_1}{m_K}}
\le Cm_K^p e^{-\frac{cM_g}{m_K}}. ∥ f − I M g f ∥ ∞ ≤ (i) 2 ∥ r ∥ ∞ > 2 M g − 1 ∑ ∣ f r ∣ ≤ (ii) C ∥ r ∥ ∞ > 2 M g − 1 ∑ e − m K c ∥ r ∥ 1 ≤ C m K p e − m K c M g .
where (i) holds because each omitted coefficient aliases into one retained frequency, and (ii) by a contour shift as in Theorem 4.1 of Wright et al. [100 ] . For nodal errors e e e with discrete Fourier coefficients e ^ r \widehat{e}_r e r , we have
∣ e ^ r ∣ ≤ M g − p ∑ j = 1 M g p ∣ e j ∣ ≤ ∥ e ∥ ∞ and hence ∥ I M g e ∥ ∞ ≤ ∑ ∥ r ∥ ∞ ≤ M g − 1 2 ∣ e ^ r ∣ ≤ M g p ∥ e ∥ ∞ . |\widehat{e}_r|\le M_g^{-p}\sum_{j=1}^{M_g^p}|e_j|\le\|e\|_{\infty}
\qquad\text{and hence}\qquad
\|I_{M_g}e\|_{\infty}\le
\sum_{\|r\|_{\infty}\le\frac{M_g-1}{2}}|\widehat{e}_r|
\le M_g^p\|e\|_{\infty}. ∣ e r ∣ ≤ M g − p j = 1 ∑ M g p ∣ e j ∣ ≤ ∥ e ∥ ∞ and hence ∥ I M g e ∥ ∞ ≤ ∥ r ∥ ∞ ≤ 2 M g − 1 ∑ ∣ e r ∣ ≤ M g p ∥ e ∥ ∞ .
Since these estimates apply to each coefficient derivative, the lemma follows.
Lemma F.11. Let k ∈ K k \in\mathcal{K} k ∈ K be a query family with an integral representation as in Definition F.1. Then there exist constants A , c , C > 0 A,c,C>0 A , c , C > 0 such that, for every K ≥ 1 K \ge1 K ≥ 1 , the following hold.
(i) For all θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \lVert\theta\rVert_{1} \le B+1 ∥ θ ∥ 1 ≤ B + 1 and u , u ′ ∈ U k u,u' \in U_k u , u ′ ∈ U k , we have ∥ β ( k , u ) ( P θ ) − β ( k , u ′ ) ( P θ ) ∥ ≤ C K A ∥ u − u ′ ∥ \lVert\beta_{(k,u)}(P_\theta)-\beta_{(k,u')}(P_\theta)\rVert\le CK^{A}\lVert u-u'\rVert ∥ β ( k , u ) ( P θ ) − β ( k , u ′ ) ( P θ )∥ ≤ C K A ∥ u − u ′ ∥ .
(ii) For every integer r ≥ A log ( 2 K ) r \ge A\log(2K) r ≥ A log ( 2 K ) , there is Ψ ∈ M t , s \Psi\in\mathcal{M}_{t,s} Ψ ∈ M t , s with t ≤ C r 2 t \le Cr^{2} t ≤ C r 2 , s ≤ C K r d s \le CKr^{d} s ≤ C K r d , input ( θ , u ) ∈ R K × U k (\theta,u) \in\mathbb{R}^{K} \times U_k ( θ , u ) ∈ R K × U k and coefficients bounded by C ( K r ) A C(Kr)^{A} C ( K r ) A such that, for all τ ∈ [ 0 , c ( K r ) − A ] \tau\in[0,c(Kr)^{-A}] τ ∈ [ 0 , c ( K r ) − A ] , θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \lVert\theta\rVert_{1} \le B+1 ∥ θ ∥ 1 ≤ B + 1 and u ∈ U k u \in U_k u ∈ U k , every τ \tau τ -perturbation of Ψ \Psi Ψ at ( θ , u ) (\theta,u) ( θ , u ) has intermediate values of maximum norm at most C ( K r ) A C(Kr)^{A} C ( K r ) A and an output ( β ^ , D ^ ) (\widehat{\beta},\widehat{D}) ( β , D ) with
∥ β ^ − β ( k , u ) ( P θ ) ∥ + ∥ D ^ − D ( k , u ) ( θ ) ∥ F ≤ C { e − r + ( K r ) A τ } . (107) \lVert\widehat{\beta}-\beta_{(k,u)}(P_\theta)\rVert+\lVert\widehat{D}-D_{(k,u)}(\theta)\rVert_{F}\le C\{e^{-r}+(Kr)^{A}\tau\}. \tag*{(107)} ∥ β − β ( k , u ) ( P θ )∥ + ∥ D − D ( k , u ) ( θ ) ∥ F ≤ C { e − r + ( K r ) A τ } . (107) where D q D_q D q , with q = ( k , u ) q=(k,u) q = ( k , u ) , is the Jacobian of θ ↦ β q ( P θ ) \theta\mapsto\beta_q(P_\theta) θ ↦ β q ( P θ ) in Assumption 1(ii).
Proof. We will prove this lemma by discretising the fields, and then solve the resulting equation by contraction and differentiate the implicit solution.
Step 1: Field bound (F.41). Let H > 3 H>3 H > 3 , and choose odd M g ≥ C H m K r M_g \ge C_Hm_Kr M g ≥ C H m K r , so that the grid size satisfies S = M g d ≤ C H K r d S=M_g^d \le C_HK r^d S = M g d ≤ C H K r d . Since differentiation adds polynomial frequency factors to the bounds of Lemma F.10 , every field f f f satisfies
max ∣ α ∣ ≤ 2 { ∥ ∂ x α ( f − I M g f ) ∥ ∞ + max i ∈ [ K ] ∥ ∂ x α ∂ θ i ( f − I M g f ) ∥ ∞ } ≤ C H ( K r ) A 0 e − H r . (108) \max_{|\alpha|\le2}\left\{\lVert\partial_x^\alpha(f-I_{M_g}f)\rVert_\infty+\max_{i\in[K]}\lVert\partial_x^\alpha\partial_{\theta_i}(f-I_{M_g}f)\rVert_\infty\right\}\le C_H(Kr)^{A_0}e^{-Hr}. \tag*{(108)} ∣ α ∣ ≤ 2 max { ∥ ∂ x α ( f − I M g f ) ∥ ∞ + i ∈ [ K ] max ∥ ∂ x α ∂ θ i ( f − I M g f ) ∥ ∞ } ≤ C H ( K r ) A 0 e − H r . (108)
The discrete Fourier transform and the integration of the interpolant over x ∈ [ 0 , 1 ] p x\in[0,1]^p x ∈ [ 0 , 1 ] p against w w w are affine, with ∣ ∫ [ 0 , 1 ] p w ( x ) e 2 π i j T x d x ∣ ≤ ∥ w ∥ 1 \left|\int_{[0,1]^p}w(x)e^{2\pi i j^{\mathsf{T}}x}\,dx\right|\le\lVert w\rVert_1 ∫ [ 0 , 1 ] p w ( x ) e 2 π i j T x d x ≤ ∥ w ∥ 1 . Storing real and imaginary parts separately, we reduce rectangle integrals to products of the factors
∫ a b e 2 π i j x d x = b − a for j = 0 \int_a^b e^{2\pi i jx}\,dx=b-a\quad\text{for }j=0 ∫ a b e 2 π ij x d x = b − a for j = 0
and
∫ a b e 2 π i j x d x = e 2 π i j b − e 2 π i j a 2 π i j for j ≠ 0. \int_a^b e^{2\pi i jx}\,dx=\frac{e^{2\pi i j b}-e^{2\pi i j a}}{2\pi i j}\quad\text{for }j\ne0. ∫ a b e 2 π ij x d x = 2 π ij e 2 π ij b − e 2 π ij a for j = 0.
By Lemma F.7 with degree ⌈ C H r ⌉ \lceil C_Hr\rceil ⌈ C H r ⌉ , and by (F.36) with M ≤ C H m K r M\le C_Hm_Kr M ≤ C H m K r and R = ⌈ C H r ⌉ R=\lceil C_Hr\rceil R = ⌈ C H r ⌉ at depth C H r C_Hr C H r , the univariate analytic functions with their first two derivatives and the Fourier phases are computed from approximations x ^ \widehat{x} x of their inputs x x x with errors at most
C H ( e − H r + τ ) + C ∣ x ^ − x ∣ C_H(e^{-Hr}+\tau)+C|\widehat{x}-x| C H ( e − H r + τ ) + C ∣ x − x ∣
and
C H ( K r ) A 0 ( e − H r + τ ) + C H K r ∣ x ^ − x ∣ , C_H(Kr)^{A_0}(e^{-Hr}+\tau)+C_HKr|\widehat{x}-x|, C H ( K r ) A 0 ( e − H r + τ ) + C H K r ∣ x − x ∣ ,
respectively, since these univariate functions are analytic on complex neighbourhoods of constant width around their input intervals.
Step 2: Bound (F.42) on F ^ k \widehat{F}_k F k and J ^ k \widehat{J}_k J k . We store each field on its grid and evaluate the interpolants and their rectangle integrals as in Step 1. On the grid G : = { 0 , 1 / M g , … , ( M g − 1 ) / M g } d \mathcal{G}:=\{0,1/M_g,\ldots,(M_g-1)/M_g\}^{d} G := { 0 , 1/ M g , … , ( M g − 1 ) / M g } d , the initial values depend linearly on θ \theta θ ,
g : = ( g θ , a ( z ) ) ( a , z ) ∈ Z D × G = B G θ , where ( B G ) ( a , z ) , : : = { ∇ θ g θ , a ( z ) } T . g:=(g_{\theta,a}(z))_{(a,z)\in\mathbb{Z}^{D}\times\mathcal{G}}=B_G\theta,\qquad\text{where}\qquad(B_G)_{(a,z),:}:=\{\nabla_\theta g_{\theta,a}(z)\}^{\mathsf{T}}. g := ( g θ , a ( z ) ) ( a , z ) ∈ Z D × G = B G θ , where ( B G ) ( a , z ) , : := { ∇ θ g θ , a ( z ) } T .
Each field stage has at most C S CS C S coordinates, and the affine matrices and their transposes have row sums polynomial in K r K r K r , so that, by the scalar derivative bounds and (F.41), the maximum errors e j e_j e j of consecutive stages satisfy
e j + 1 ≤ C H ( K r ) A 0 ( e j + e − H r + τ ) . e_{j+1} \le C_H(Kr)^{A_0}(e_j + e^{-Hr} + \tau). e j + 1 ≤ C H ( K r ) A 0 ( e j + e − H r + τ ) .
Differentiating each auxiliary coordinate forward and each equation component F k , l g r i d F^{\mathrm{grid}}_{k,l} F k , l grid in reverse mode [9 ] , with transposed affine maps and the derivatives of the univariate functions, we obtain
∇ θ F k , l g r i d = B G T ∇ g F k , l g r i d , \nabla_\theta F^{\mathrm{grid}}_{k,l} = B_G^{\mathsf{T}}\nabla_g F^{\mathrm{grid}}_{k,l}, ∇ θ F k , l grid = B G T ∇ g F k , l grid ,
where each pass uses O ( S + K ) O(S+K) O ( S + K ) coordinates. Approximating the derivatives of the univariate functions on enlarged ranges and applying the chain rule, we obtain the same error recursion for derivatives, and hence, with J k : = ∂ v F k J_k := \partial_v F_k J k := ∂ v F k ,
∥ F ^ k − F k ∥ + ∥ J ^ k − J k ∥ o p + ∥ F ^ k , θ − ∂ θ F k ∥ F ≤ C H ( K r ) A 0 ( e − H r + τ ) = : δ r , (109) \lVert\widehat{F}_k-F_k\rVert+\lVert\widehat{J}_k-J_k\rVert_{\mathrm{op}}+\lVert\widehat{F}_{k,\theta}-\partial_\theta F_k\rVert_F \le C_H(Kr)^{A_0}(e^{-Hr}+\tau)=:\delta_r, \tag*{(109)} ∥ F k − F k ∥ + ∥ J k − J k ∥ op + ∥ F k , θ − ∂ θ F k ∥ F ≤ C H ( K r ) A 0 ( e − H r + τ ) =: δ r , (109)
where F ^ k \widehat{F}_k F k , J ^ k \widehat{J}_k J k and F ^ k , θ \widehat{F}_{k,\theta} F k , θ are the computed values of F k F_k F k , J k J_k J k and ∂ θ F k \partial_\theta F_k ∂ θ F k , and A 0 A_0 A 0 includes the constant number of stages and the Frobenius factor K \sqrt{K} K , independently of H H H . Each evaluation has depth C H r C_Hr C H r , and, by the differentiated field bounds, we have
∥ J k ( θ , v , u ) − J k ( θ , w , u ) ∥ o p + ∥ ∂ θ F k ( θ , v , u ) − ∂ θ F k ( θ , w , u ) ∥ F ≤ C K A 0 ∥ v − w ∥ . (110) \lVert J_k(\theta,v,u)-J_k(\theta,w,u)\rVert_{\mathrm{op}}+\lVert\partial_\theta F_k(\theta,v,u)-\partial_\theta F_k(\theta,w,u)\rVert_F \le CK^{A_0}\lVert v-w\rVert. \tag*{(110)} ∥ J k ( θ , v , u ) − J k ( θ , w , u ) ∥ op + ∥ ∂ θ F k ( θ , v , u ) − ∂ θ F k ( θ , w , u ) ∥ F ≤ C K A 0 ∥ v − w ∥ . (110)
Step 3: Root bound (F.44). Let v ∗ : = v k ( θ , u ) v_* := v_k(\theta,u) v ∗ := v k ( θ , u ) and B − : = { v ∈ B k : dist ( v , ∂ B k ) ≥ c / 2 } \mathcal{B}^{-}:=\{v\in\mathcal{B}_k:\operatorname{dist}(v,\partial\mathcal{B}_k)\ge c/2\} B − := { v ∈ B k : dist ( v , ∂ B k ) ≥ c /2 } . Integrating (F.39) at w + s ( v − w ) w+s(v-w) w + s ( v − w ) over s ∈ [ 0 , 1 ] s\in[0,1] s ∈ [ 0 , 1 ] for v , w ∈ B k v,w\in\mathcal{B}_k v , w ∈ B k , with γ : = c / ( 2 C 2 ) \gamma:=c/(2C^2) γ := c / ( 2 C 2 ) , we obtain the contraction bound
∥ v − w − γ { F k ( θ , v , u ) − F k ( θ , w , u ) } ∥ 2 ≤ ( 1 − 2 γ c + γ 2 C 2 ) ∥ v − w ∥ 2 = : ρ 2 ∥ v − w ∥ 2 , \lVert v-w-\gamma\{F_k(\theta,v,u)-F_k(\theta,w,u)\}\rVert^2 \le(1-2\gamma c+\gamma^2 C^2)\lVert v-w\rVert^2=:\rho^2\lVert v-w\rVert^2, ∥ v − w − γ { F k ( θ , v , u ) − F k ( θ , w , u )} ∥ 2 ≤ ( 1 − 2 γ c + γ 2 C 2 ) ∥ v − w ∥ 2 =: ρ 2 ∥ v − w ∥ 2 ,
where ρ < 1 \rho<1 ρ < 1 . Let P ^ − \widehat{P}^{-} P − approximate, with error C τ C\tau C τ , the projection onto B − \mathcal{B}^{-} B − , which is nonexpansive and leaves v ∗ v_* v ∗ unchanged. From a point v ^ 0 ∈ B − \widehat{v}_0\in\mathcal{B}^{-} v 0 ∈ B − , we iterate
v ^ j + 1 = P ^ − { v ^ j − γ F ^ k ( θ , v ^ j , u ) } . \widehat{v}_{j+1}=\widehat{P}^{-}\{\widehat{v}_j-\gamma\widehat{F}_k(\theta,\widehat{v}_j,u)\}. v j + 1 = P − { v j − γ F k ( θ , v j , u )} .
For C τ < c / 2 C\tau<c/2 C τ < c /2 , the iterates stay in B k \mathcal{B}_k B k , where v ↦ proj B − { v − γ F k ( θ , v , u ) } v\mapsto\operatorname{proj}_{\mathcal{B}^{-}}\{v-\gamma F_k(\theta,v,u)\} v ↦ proj B − { v − γ F k ( θ , v , u )} contracts towards v ∗ v_* v ∗ by ρ \rho ρ and, by (F.42), deviates from each update by at most C δ r C\delta_r C δ r , so that, by Lemma F.5(i),
∥ v ^ J − v ∗ ∥ ≤ C ρ J + C δ r 1 − ρ . (111) \lVert\widehat{v}_J-v_*\rVert\le C\rho^J+\frac{C\delta_r}{1-\rho}. \tag*{(111)} ∥ v J − v ∗ ∥ ≤ C ρ J + 1 − ρ C δ r . (111)
Step 4: Implicit Jacobian (F.45). We take J = ⌈ C H r ⌉ J=\lceil C_Hr\rceil J = ⌈ C H r ⌉ , so that ρ J ≤ e − H r \rho^J\le e^{-Hr} ρ J ≤ e − H r . Since strong monotonicity ensures ∥ J k − 1 ∥ o p ≤ c − 1 \lVert J_k^{-1}\rVert_{\mathrm{op}}\le c^{-1} ∥ J k − 1 ∥ op ≤ c − 1 , by the implicit function theorem, Theorem 9.28 of Rudin [83 ] , we have
D ( k , u ) ( θ ) = − ∂ v R k ( v ∗ , u ) J k ( θ , v ∗ , u ) − 1 ∂ θ F k ( θ , v ∗ , u ) . (112) D_{(k,u)}(\theta)=-\partial_v R_k(v_*,u)J_k(\theta,v_*,u)^{-1}\partial_\theta F_k(\theta,v_*,u). \tag*{(112)} D ( k , u ) ( θ ) = − ∂ v R k ( v ∗ , u ) J k ( θ , v ∗ , u ) − 1 ∂ θ F k ( θ , v ∗ , u ) . (112)
We approximate the three factors at v ^ J \widehat{v}_J v J , substitute them in (F.45) to define D ^ \widehat{D} D and let β ^ \widehat{\beta} β evaluate R k ( v ^ J , u ) R_k(\widehat{v}_J,u) R k ( v J , u ) . For δ r ≤ c / 2 \delta_r \le c/2 δ r ≤ c /2 , the exact and approximate Jacobians satisfy
∥ J ^ k − 1 ∥ o p ≤ 2 / c , ∣ det J ^ k ∣ ≥ ( c / 2 ) s k and J ^ k − 1 − J k − 1 = J ^ k − 1 ( J k − J ^ k ) J k − 1 , \left\|\widehat{J}_k^{-1}\right\|_{\mathrm{op}} \le2/c,\qquad\left|\det\widehat{J}_k\right| \ge(c/2)^{s_k}\quad\text{and}\quad\widehat{J}_k^{-1}-J_k^{-1}=\widehat{J}_k^{-1}(J_k-\widehat{J}_k)J_k^{-1}, J k − 1 op ≤ 2/ c , det J k ≥ ( c /2 ) s k and J k − 1 − J k − 1 = J k − 1 ( J k − J k ) J k − 1 ,
and the determinant bound permits adjugate inversion to error C ( e − H r + τ ) C(e^{-H r}+\tau) C ( e − H r + τ ) at depth C H r C H r C H r and constant additional width. It follows from this inverse comparison, (F.42), (F.43) and (F.44) that
∥ β ^ − β ( k , u ) ( P θ ) ∥ + ∥ D ^ − D ( k , u ) ( θ ) ∥ F ≤ C H ( K r ) A 1 ( e − H r + τ ) . \left\|\widehat{\beta}-\beta_{(k,u)}(\mathbb{P}_{\theta})\right\|+\left\|\widehat{D}-D_{(k,u)}(\theta)\right\|_{F}\le C_H(Kr)^{A_1}(e^{-H r}+\tau). β − β ( k , u ) ( P θ ) + D − D ( k , u ) ( θ ) F ≤ C H ( K r ) A 1 ( e − H r + τ ) .
Since K ≤ e r / A K\le e^{r/A} K ≤ e r / A , for A ≥ A 1 + 2 A\ge A_1+2 A ≥ A 1 + 2 we have ( K r ) A 1 + 2 e − H r ≤ C e − r ≤ C 2 − A (Kr)^{A_1+2}e^{-H r}\le Ce^{-r}\le C2^{-A} ( K r ) A 1 + 2 e − H r ≤ C e − r ≤ C 2 − A . Hence, for a sufficiently large A A A and τ ≤ c ( K r ) − A \tau\le c(Kr)^{-A} τ ≤ c ( K r ) − A with a sufficiently small c c c , the smallness conditions of Lemma F.7 and (F.36) in Step 1 and on τ \tau τ and δ r \delta_r δ r in Steps 3 and 4 hold, and
C H ( K r ) A 1 ( e − H r + τ ) ≲ e − r + ( K r ) A τ , C_H(Kr)^{A_1}(e^{-H r}+\tau)\lesssim e^{-r}+(Kr)^A\tau, C H ( K r ) A 1 ( e − H r + τ ) ≲ e − r + ( K r ) A τ ,
which proves (F.40). For the size, all coefficients and intermediate values remain polynomially bounded, and the J J J updates of depth O ( r ) O(r) O ( r ) and the final derivative evaluation reuse the grid coordinates, so that the map has
depth ≤ C ( J + 1 ) r ≤ C r 2 and width ≤ C ( S + K ) ≤ C K r d . \text{depth}\le C(J+1)r\le Cr^2\quad\text{and}\quad\text{width}\le C(S+K)\le CKr^d. depth ≤ C ( J + 1 ) r ≤ C r 2 and width ≤ C ( S + K ) ≤ C K r d .
Applying Lemma F.5(ii) to G = F k ( θ , ⋅ , u ) G=F_k(\theta,\cdot,u) G = F k ( θ , ⋅ , u ) , which is strongly monotone on B k B_k B k by (F.39), G ′ = F k ( θ , ⋅ , u ′ ) G'=F_k(\theta,\cdot,u') G ′ = F k ( θ , ⋅ , u ′ ) and their roots v : = v k ( θ , u ) v:=v_k(\theta,u) v := v k ( θ , u ) and v ′ : = v k ( θ , u ′ ) v':=v_k(\theta,u') v ′ := v k ( θ , u ′ ) , and using the Lipschitz dependence of the defining operations on the query inputs, we obtain
c ∥ v − v ′ ∥ ≤ ∥ F k ( θ , v ′ , u ) − F k ( θ , v ′ , u ′ ) ∥ ≤ C K A ∥ u − u ′ ∥ , c\|v-v'\|\le\left\|F_k(\theta,v',u)-F_k(\theta,v',u')\right\|\le CK^A\|u-u'\|, c ∥ v − v ′ ∥ ≤ ∥ F k ( θ , v ′ , u ) − F k ( θ , v ′ , u ′ ) ∥ ≤ C K A ∥ u − u ′ ∥ ,
and, since the readout R k R_k R k is Lipschitz, β ( k , u ) ( P θ ) \beta_{(k,u)}(\mathbb{P}_{\theta}) β ( k , u ) ( P θ ) is C K A CK^A C K A -Lipschitz in u u u , which completes the proof.
Metric entropy and stochastic error
Throughout this subsection, expectations and probabilities refer to pretraining, and the context X X X , the conditional excess score h f h_f h f , the empirical mean E ^ T \widehat{\mathbb{E}}_T E T and the moment error e e e at X X X are as in Section F.1.
Definition F.2 (Entropy of the loss class). For z ‾ ≥ 0 \overline{z}\ge0 z ≥ 0 , let
G z ‾ : = ⋃ n ∈ N { ( D n , q ) ∈ Z n × Q : max i ∈ [ n ] ∥ Z i ∥ ∞ ≤ z ‾ } , G_{\overline{z}}:=\bigcup_{n\in\mathbb{N}}\left\{(\mathcal{D}_n,q)\in\mathbb{Z}^n\times\mathcal{Q}:\max_{i\in[n]}\|Z_i\|_\infty\le\overline{z}\right\}, G z := n ∈ N ⋃ { ( D n , q ) ∈ Z n × Q : i ∈ [ n ] max ∥ Z i ∥ ∞ ≤ z } ,
and, for functions ϕ \phi ϕ of ( X , β 0 ) (X,\beta_0) ( X , β 0 ) , let ∥ ϕ ∥ z ‾ : = sup { ∣ ϕ ( X , β 0 ) ∣ : X ∈ G z ‾ , ∥ β 0 ∥ ≤ C β } \|\phi\|_{\overline{z}}:=\sup\{|\phi(X,\beta_0)|:X\in G_{\overline{z}},\ \|\beta_0\|\le C_\beta\} ∥ ϕ ∥ z := sup { ∣ ϕ ( X , β 0 ) ∣ : X ∈ G z , ∥ β 0 ∥ ≤ C β } , where C β C_\beta C β is the radius of the point readout in Definition B.4, which also bounds the labels β q ( P ) \beta_q(\mathbb{P}) β q ( P ) .
For u > 0 u>0 u > 0 , let
H T F ( N , z ˉ , u ) : = log min { ∣ F ′ ∣ : F ′ ⊆ F T F , F T F ⊆ ⋃ f ′ ∈ F ′ { f ∈ F T F : ∥ g f − g f ′ ∥ z ≤ u } } . \mathcal{H}_{\mathrm{TF}}(\mathcal{N},\bar{z},u):=\log\min\left\{|\mathcal{F}'|:\mathcal{F}'\subseteq\mathcal{F}_{\mathrm{TF}},\ \mathcal{F}_{\mathrm{TF}}\subseteq\bigcup_{f'\in\mathcal{F}'}\{f\in\mathcal{F}_{\mathrm{TF}}:\|g_f-g_{f'}\|_z\le u\}\right\}. H TF ( N , z ˉ , u ) := log min ⎩ ⎨ ⎧ ∣ F ′ ∣ : F ′ ⊆ F TF , F TF ⊆ f ′ ∈ F ′ ⋃ { f ∈ F TF : ∥ g f − g f ′ ∥ z ≤ u } ⎭ ⎬ ⎫ .
Lemma F.12 (Curvature and Bernstein-type bound). *Suppose that Assumption 1(i) holds. Then there exist constants c , C , τ 0 > 0 c,C,\tau_0>0 c , C , τ 0 > 0 , depending only on d 0 d_0 d 0 , v − v_- v − , v + v_+ v + and s 0 s_0 s 0 , such that, for every f ∈ F T F f\in\mathcal{F}_{\mathrm{TF}} f ∈ F TF and every context X X X , e ( f , f π ∘ ) ≤ C h f e(f,f_{\pi}^{\circ})\le Ch_f e ( f , f π ∘ ) ≤ C h f and
log E { e t ( g f − h f ) ∣ X } ≤ C t 2 h f for t ∈ [ − τ 0 , τ 0 ] and E ( e − τ 0 g f ∣ X ) ≤ e − c h f , (113) \log\mathbb{E}\{e^{t(g_f-h_f)}\mid X\}\le Ct^2h_f\quad\text{for }t\in[-\tau_0,\tau_0]\quad\text{and}\quad\mathbb{E}(e^{-\tau_0g_f}\mid X)\le e^{-ch_f}, \tag*{(113)} log E { e t ( g f − h f ) ∣ X } ≤ C t 2 h f for t ∈ [ − τ 0 , τ 0 ] and E ( e − τ 0 g f ∣ X ) ≤ e − c h f , (113) where g f = g f ( X , β q ( P ) ) g_f=g_f(X,\beta_q(\mathbb{P})) g f = g f ( X , β q ( P )) , h f = h f ( X ) h_f=h_f(X) h f = h f ( X ) , d 0 = max k ∈ K d k d_0=\max_{k\in\mathcal{K}}d_k d 0 = max k ∈ K d k , [ v − , v + ] [v_-,v_+] [ v − , v + ] is the eigenvalue range of the covariance readout in Definition B.4 and s 0 s_0 s 0 is the constant of Lemma E.3 .
Proof. We split the score difference into a centred quadratic term and a linear term in the posterior fluctuation, bound h f h_f h f below by curvature and control both terms by Lemma E.3 .
For X = ( D n , q ) X=(\mathcal{D}_n,q) X = ( D n , q ) and β 0 = β q ( P ) \beta_0=\beta_q(\mathbb{P}) β 0 = β q ( P ) , let U : = n ( β 0 − m π ) U:=\sqrt{n}(\beta_0-m_\pi) U := n ( β 0 − m π ) , D : = n ( f β − m π ) D:=\sqrt{n}(f^\beta-m_\pi) D := n ( f β − m π ) , A : = ( f V ) − 1 A:=(f^V)^{-1} A := ( f V ) − 1 , A ∗ : = ( clip S π ) − 1 A_*:=(\operatorname{clip}S_\pi)^{-1} A ∗ := ( clip S π ) − 1 and B : = A − A ∗ B:=A-A_* B := A − A ∗ , so that, by (E.6), with F C ( A ′ ) = tr ( A ′ C ) − log det A ′ F_C(A')=\operatorname{tr}(A'C)-\log\det A' F C ( A ′ ) = tr ( A ′ C ) − log det A ′ as in (E.4),
2 h f = D T A D + F S π ( A ) − F S π ( A ∗ ) . 2h_f=D^\mathsf{T}AD+F_{S_\pi}(A)-F_{S_\pi}(A_*). 2 h f = D T A D + F S π ( A ) − F S π ( A ∗ ) .
Since E ( U ∣ X ) = 0 \mathbb{E}(U\mid X)=0 E ( U ∣ X ) = 0 and Cov ( U ∣ X ) = S π \operatorname{Cov}(U\mid X)=S_\pi Cov ( U ∣ X ) = S π , expanding (1) , we obtain
g f − h f = 1 2 { U T B U − tr ( B S π ) } − D T A U . (114) g_f-h_f=\frac{1}{2}\{U^\mathsf{T}BU-\operatorname{tr}(BS_\pi)\}-D^\mathsf{T}AU. \tag*{(114)} g f − h f = 2 1 { U T B U − tr ( B S π )} − D T A U . (114)
By the clip in Definition B.4 , A A A lies in the precision interval I : = { A ′ : v + − 1 I ⪯ A ′ ⪯ v − − 1 I } \mathcal{I}:=\{A':v_+^{-1}I\preceq A'\preceq v_-^{-1}I\} I := { A ′ : v + − 1 I ⪯ A ′ ⪯ v − − 1 I } , on which the Hessian of F S π F_{S_\pi} F S π satisfies
∇ 2 F S π ( A ′ ) [ B , B ] = ∥ A ′ − 1 / 2 B A ′ − 1 / 2 ∥ F 2 ≥ v − 2 ∥ B ∥ F 2 . \nabla^2F_{S_\pi}(A')[B,B]=\|A'^{-1/2}BA'^{-1/2}\|_F^2\ge v_-^2\|B\|_F^2. ∇ 2 F S π ( A ′ ) [ B , B ] = ∥ A ′ − 1/2 B A ′ − 1/2 ∥ F 2 ≥ v − 2 ∥ B ∥ F 2 .
Since A ∗ A_* A ∗ minimises F S π F_{S_\pi} F S π on the convex set I ⊇ A \mathcal{I}\supseteq A I ⊇ A by (E.4), we have ∂ t F S π ( A ∗ + t B ) ∣ t = 0 ≥ 0 \left.\partial_tF_{S_\pi}(A_*+tB)\right|_{t=0}\ge0 ∂ t F S π ( A ∗ + tB ) ∣ t = 0 ≥ 0 , and, integrating t ↦ ( 1 − t ) ∇ 2 F S π ( A ∗ + t B ) [ B , B ] t\mapsto(1-t)\nabla^2F_{S_\pi}(A_*+tB)[B,B] t ↦ ( 1 − t ) ∇ 2 F S π ( A ∗ + tB ) [ B , B ] over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] in Taylor’s formula, we obtain
h f ≥ ∥ D ∥ 2 2 v + + v − 2 4 ∥ B ∥ F 2 . (115) h_f\ge\frac{\|D\|^2}{2v_+}+\frac{v_-^2}{4}\|B\|_F^2. \tag*{(115)} h f ≥ 2 v + ∥ D ∥ 2 + 4 v − 2 ∥ B ∥ F 2 . (115)
Since f V − clip S π = − A − 1 B A ∗ − 1 f^V-\operatorname{clip}S_\pi=-A^{-1}BA_*^{-1} f V − clip S π = − A − 1 B A ∗ − 1 and ∥ A − 1 ∥ o p , ∥ A ∗ − 1 ∥ o p ≤ v + \|A^{-1}\|_{\mathrm{op}},\|A_*^{-1}\|_{\mathrm{op}}\le v_+ ∥ A − 1 ∥ op , ∥ A ∗ − 1 ∥ op ≤ v + , by (F.48) we have
e ( f , f π ∘ ) = ∥ D ∥ 2 + ∥ f V − clip S π ∥ F 2 ≤ ∥ D ∥ 2 + v + 4 ∥ B ∥ F 2 ≤ ( 2 v + + 4 v + 4 v − 2 ) h f . e(f,f_\pi^\circ)=\|D\|^2+\|f^V-\operatorname{clip}S_\pi\|_F^2\le\|D\|^2+v_+^4\|B\|_F^2\le\left(2v_++\frac{4v_+^4}{v_-^2}\right)h_f. e ( f , f π ∘ ) = ∥ D ∥ 2 + ∥ f V − clip S π ∥ F 2 ≤ ∥ D ∥ 2 + v + 4 ∥ B ∥ F 2 ≤ ( 2 v + + v − 2 4 v + 4 ) h f .
By Lemma E.3 at size n n n , for u ∈ R d k u\in\mathbb{R}^{d_k} u ∈ R d k with ∥ u ∥ = 1 \|u\|=1 ∥ u ∥ = 1 , t ∈ R t\in\mathbb{R} t ∈ R and m ≥ 1 m\ge1 m ≥ 1 , we have
log E ( e t u T U ∣ X ) ≤ s 0 2 t 2 2 so that max j ∈ [ d k ] E ( ∣ U j ∣ 2 m ∣ X ) ≤ 2 ( 2 s 0 2 ) m m ! . (116) \log\mathbb{E}(e^{tu^\mathsf{T}U}\mid X)\le\frac{s_0^2t^2}{2}\quad\text{so that}\quad\max_{j\in[d_k]}\mathbb{E}(|U_j|^{2m}\mid X)\le2(2s_0^2)^m m!. \tag*{(116)} log E ( e t u T U ∣ X ) ≤ 2 s 0 2 t 2 so that j ∈ [ d k ] max E ( ∣ U j ∣ 2 m ∣ X ) ≤ 2 ( 2 s 0 2 ) m m ! . (116)
For Υ : = U T B U − tr ( B S π ) \Upsilon:=U^\mathsf{T}BU-\operatorname{tr}(BS_\pi) Υ := U T B U − tr ( B S π ) , by (F.49) and the Cauchy–Schwarz and Minkowski inequalities, we have
{ E ( ∣ Υ ∣ m ∣ X ) } 1 m ≤ 2 ∑ i , j ∣ B i j ∣ { E ( ∣ U i U j ∣ m ∣ X ) } 1 m ≤ C ( m ! ) 1 m ∥ B ∥ F . \left\{\mathbb{E}\left(\lvert\Upsilon\rvert^{m}\mid X\right)\right\}^{\frac{1}{m}} \le2\sum_{i,j}\lvert B_{ij}\rvert\left\{\mathbb{E}\left(\lvert U_iU_j\rvert^{m}\mid X\right)\right\}^{\frac{1}{m}} \le C(m!)^{\frac{1}{m}}\lVert B\rVert_F. { E ( ∣ Υ ∣ m ∣ X ) } m 1 ≤ 2 i , j ∑ ∣ B ij ∣ { E ( ∣ U i U j ∣ m ∣ X ) } m 1 ≤ C ( m ! ) m 1 ∥ B ∥ F .
Let t 1 : = v − / ( 4 C d 0 ) t_1:=v_-/(4C\sqrt{d_0}) t 1 := v − / ( 4 C d 0 ) . Since E ( Υ ∣ X ) = 0 \mathbb{E}(\Upsilon\mid X)=0 E ( Υ ∣ X ) = 0 and ∥ B ∥ F ≤ 2 d 0 / v − \lVert B\rVert_F\le2\sqrt{d_0}/v_- ∥ B ∥ F ≤ 2 d 0 / v − , expanding e t Υ = ∑ m ≥ 0 ( t Υ ) m / m ! e^{t\Upsilon}=\sum_{m\ge0}(t\Upsilon)^m/m! e t Υ = ∑ m ≥ 0 ( t Υ ) m / m ! , we have, for ∣ t ∣ ≤ t 1 \lvert t\rvert\le t_1 ∣ t ∣ ≤ t 1 ,
E ( e t Υ ∣ X ) ≤ 1 + ∑ m = 2 ∞ ( ∣ t ∣ C ∥ B ∥ F ) m ≤ exp ( 2 C 2 t 2 ∥ B ∥ F 2 ) . (117) \mathbb{E}(e^{t\Upsilon}\mid X)\le1+\sum_{m=2}^{\infty}(|t|C\lVert B\rVert_F)^m\le\exp(2C^2t^2\lVert B\rVert_F^2). \tag*{(117)} E ( e t Υ ∣ X ) ≤ 1 + m = 2 ∑ ∞ ( ∣ t ∣ C ∥ B ∥ F ) m ≤ exp ( 2 C 2 t 2 ∥ B ∥ F 2 ) . (117)
Applying the conditional Cauchy–Schwarz inequality to (F.47), we obtain, for ∣ t ∣ ≤ t 1 \lvert t\rvert\le t_1 ∣ t ∣ ≤ t 1 ,
log E { e t ( g f − h f ) ∣ X } ≤ 1 2 log E ( e t Υ ∣ X ) + 1 2 log E ( e − 2 t D T A U ∣ X ) ≤ (i) C t 2 ( ∥ B ∥ F 2 + ∥ D ∥ 2 ) ≤ (ii) C 1 t 2 h f , \begin{aligned}
\log\mathbb{E}\{e^{t(g_f-h_f)}\mid X\}
&\le\frac{1}{2}\log\mathbb{E}(e^{t\Upsilon}\mid X)+\frac{1}{2}\log\mathbb{E}(e^{-2tD^{\mathsf T}AU}\mid X)\\
&\underset{\text{(i)}}{\le} Ct^2(\lVert B\rVert_F^2+\lVert D\rVert^2)\underset{\text{(ii)}}{\le} C_1t^2h_f,
\end{aligned} log E { e t ( g f − h f ) ∣ X } ≤ 2 1 log E ( e t Υ ∣ X ) + 2 1 log E ( e − 2 t D T A U ∣ X ) (i) ≤ C t 2 (∥ B ∥ F 2 + ∥ D ∥ 2 ) (ii) ≤ C 1 t 2 h f ,
where (i) follows from (F.50) and (F.49), and (ii) from (F.48). Taking 0 < τ 0 ≤ min { t 1 , ( 2 C 1 ) − 1 } 0<\tau_0\le\min\{t_1,(2C_1)^{-1}\} 0 < τ 0 ≤ min { t 1 , ( 2 C 1 ) − 1 } , we conclude that log E ( e − τ 0 g f ∣ X ) ≤ − τ 0 h f + C 1 τ 0 2 h f ≤ − τ 0 h f / 2 \log\mathbb{E}(e^{-\tau_0g_f}\mid X)\le-\tau_0h_f+C_1\tau_0^2h_f\le-\tau_0h_f/2 log E ( e − τ 0 g f ∣ X ) ≤ − τ 0 h f + C 1 τ 0 2 h f ≤ − τ 0 h f /2 , which proves (F.46) with c = τ 0 / 2 c=\tau_0/2 c = τ 0 /2 .
For δ ∈ ( 0 , 1 / 2 ) \delta\in(0,1/2) δ ∈ ( 0 , 1/2 ) , let z ˉ : = { 2 log ( 16 d C 0 n max T / δ ) } 1 / 2 \bar z:=\{2\log(16dC_0n_{\max}T/\delta)\}^{1/2} z ˉ := { 2 log ( 16 d C 0 n m a x T / δ ) } 1/2 , where C 0 C_0 C 0 is the upper density bound of P \mathcal{P} P in Section B.2. Since z ˉ > 1 \bar z>1 z ˉ > 1 , d P / d P 0 ≤ C 0 d\mathbb{P}/d\mathbb{P}_0\le C_0 d P / d P 0 ≤ C 0 for P ∈ P \mathbb{P}\in\mathcal{P} P ∈ P and P 0 ( ∣ V ℓ ∣ > z ˉ ) ≤ 2 e − z ˉ 2 / 2 \mathbb{P}_0(\lvert V_\ell\rvert>\bar z)\le2e^{-\bar z^2/2} P 0 (∣ V ℓ ∣ > z ˉ ) ≤ 2 e − z ˉ 2 /2 for the d d d continuous coordinates V ℓ V_\ell V ℓ of Z Z Z , by a union bound, we have
T Pr ( X ∉ G z ˉ ) ≤ 2 d C 0 T ∑ n ∈ N π n ( n ) n e − z ˉ 2 / 2 ≤ δ 8 . (118) T\Pr(X\notin G_{\bar z})\le2dC_0T\sum_{n\in\mathcal{N}}\pi_n(n)ne^{-\bar z^2/2}\le\frac{\delta}{8}. \tag*{(118)} T Pr ( X ∈ / G z ˉ ) ≤ 2 d C 0 T n ∈ N ∑ π n ( n ) n e − z ˉ 2 /2 ≤ 8 δ . (118)
and we let H δ : = H T F ( N , z ˉ , T − 1 ) H_\delta:=\mathcal{H}_{\mathrm{TF}}(\mathcal{N},\bar z,T^{-1}) H δ := H TF ( N , z ˉ , T − 1 ) and u δ : = log ( 8 / δ ) u_\delta:=\log(8/\delta) u δ := log ( 8/ δ ) .
Lemma F.13 (Localised stochastic error). *Suppose that Assumption 1(i) holds. Then there exists a constant C C C , depending only on d 0 d_0 d 0 , v − v_- v − , v + v_+ v + and s 0 s_0 s 0 , such that, for every δ ∈ ( 0 , 1 / 2 ) \delta\in(0,1/2) δ ∈ ( 0 , 1/2 ) , ϵ 0 ≥ 0 \epsilon_0\ge0 ϵ 0 ≥ 0 and deterministic f ∘ ∈ F T F f^\circ\in\mathcal{F}_{\mathrm{TF}} f ∘ ∈ F TF with E h f ∘ ≤ ϵ 0 \mathbb{E}h_{f^\circ}\le\epsilon_0 E h f ∘ ≤ ϵ 0 , on an event of pretraining probability at least 1 − δ 1-\delta 1 − δ , every f ^ \hat f f ^ satisfying (2) obeys
E { 1 ∧ ε ( f ^ , f ∘ ) ∣ T } ≤ C ( ϵ o p t + H δ + u δ T + ϵ 0 δ ) . \mathbb{E}\{1\wedge\varepsilon(\hat f,f^\circ)\mid\mathcal{T}\}\le C\left(\epsilon_{\mathrm{opt}}+\frac{H_\delta+u_\delta}{T}+\frac{\epsilon_0}{\delta}\right). E { 1 ∧ ε ( f ^ , f ∘ ) ∣ T } ≤ C ( ϵ opt + T H δ + u δ + δ ϵ 0 ) . where H δ H_\delta H δ and u δ u_\delta u δ are as in (F.51).
Proof. We bound the stochastic error in (F.5) on a loss cover by an exponential inequality (van Erven et al., [95 ] ; Grünwald and Mehta, [40 ] ), bound the approximation error E T ( g f ∘ ) \mathbb{E}_{\mathcal{T}}(g_{f^\circ}) E T ( g f ∘ ) , and then pass from the cover to f ^ \hat f f ^ through (2) .
Let c c c and τ 0 \tau_0 τ 0 be as in Lemma F.12 and J ( f ) = E ( 1 ∧ h f ) J(f)=\mathbb{E}(1\wedge h_f) J ( f ) = E ( 1 ∧ h f ) as in Step 1 of the proof of Theorem 2, and let c 2 : = 1 − e − c c_2:=1-e^{-c} c 2 := 1 − e − c . For deterministic f ∈ F T F f\in\mathcal{F}_{\mathrm{TF}} f ∈ F TF , by (F.46), we have
E ( e − τ 0 g f ) ≤ E ( e − c h f ) ≤ 1 − c 2 J ( f ) ≤ e − c 2 J ( f ) , \mathbb{E}(e^{-\tau_0g_f})\le\mathbb{E}(e^{-ch_f})\le1-c_2J(f)\le e^{-c_2J(f)}, E ( e − τ 0 g f ) ≤ E ( e − c h f ) ≤ 1 − c 2 J ( f ) ≤ e − c 2 J ( f ) ,
where the second inequality uses 1 − e − c h ≥ c 2 ( 1 ∧ h ) 1-e^{-ch} \ge c_2(1 \wedge h) 1 − e − c h ≥ c 2 ( 1 ∧ h ) for h ≥ 0 h \ge0 h ≥ 0 , and, by the independence of the triples ( D n t ( t ) , q t , β 0 , t ) (D_{n_t}^{(t)},q_t,\beta_{0,t}) ( D n t ( t ) , q t , β 0 , t ) , t ∈ [ T ] t \in[T] t ∈ [ T ] ,
E exp { c 2 T J ( f ) − τ 0 T E ^ T ( g f ) } = e c 2 T J ( f ) { E ( e − τ 0 g f ) } T ≤ 1. (119) \mathbb{E}\exp\{c_2T\mathcal{J}(f)-\tau_0T\widehat{\mathbb{E}}_T(g_f)\}=e^{c_2T\mathcal{J}(f)}\{\mathbb{E}(e^{-\tau_0g_f})\}^T\le1. \tag*{(119)} E exp { c 2 T J ( f ) − τ 0 T E T ( g f )} = e c 2 T J ( f ) { E ( e − τ 0 g f ) } T ≤ 1. (119)
By Definition F.2, there exist deterministic f 1 , … , f M ∈ F T F f_1,\ldots,f_M \in\mathcal{F}_{\mathrm{TF}} f 1 , … , f M ∈ F TF with log M ≤ H δ \log M \le H_\delta log M ≤ H δ and min j ∈ [ M ] ∥ g f − g f j ∥ z ˉ ≤ T − 1 \min_{j\in[M]}\|g_f-g_{f_j}\|_{\bar z}\le T^{-1} min j ∈ [ M ] ∥ g f − g f j ∥ z ˉ ≤ T − 1 for every f ∈ F T F f\in\mathcal{F}_{\mathrm{TF}} f ∈ F TF . Applying Markov’s inequality to (F.52) at each f j f_j f j and a union bound, we obtain
Pr ( E 1 c ) ≤ M δ 8 M = δ 8 , where E 1 : = { max j ∈ [ M ] { c 2 T J ( f j ) − τ 0 T E ^ T ( g f j ) } ≤ log ( 8 M δ − 1 ) } . \Pr(\mathcal{E}_1^c)\le M\frac{\delta}{8M}=\frac{\delta}{8},\qquad\text{where}\quad\mathcal{E}_1:=\left\{\max_{j\in[M]}\{c_2T\mathcal{J}(f_j)-\tau_0T\widehat{\mathbb{E}}_T(g_{f_j})\}\le\log(8M\delta^{-1})\right\}. Pr ( E 1 c ) ≤ M 8 M δ = 8 δ , where E 1 := { j ∈ [ M ] max { c 2 T J ( f j ) − τ 0 T E T ( g f j )} ≤ log ( 8 M δ − 1 ) } .
Consequently, on E 1 \mathcal{E}_1 E 1 , we have
J ( f j ) ≤ τ 0 c 2 E ^ T ( g f j ) + log ( 8 M δ − 1 ) c 2 T for j ∈ [ M ] . (120) \mathcal{J}(f_j)\le\frac{\tau_0}{c_2}\widehat{\mathbb{E}}_T(g_{f_j})+\frac{\log(8M\delta^{-1})}{c_2T}\quad\text{for }j\in[M]. \tag*{(120)} J ( f j ) ≤ c 2 τ 0 E T ( g f j ) + c 2 T log ( 8 M δ − 1 ) for j ∈ [ M ] . (120)
Let τ ∈ ( 0 , τ 0 ] \tau\in(0,\tau_0] τ ∈ ( 0 , τ 0 ] satisfy C τ ≤ 1 C\tau\le1 C τ ≤ 1 , with C C C as in F.46. By F.46 and the independence of the T T T triples in T \mathcal{T} T , we have
E { e τ ( g f ∘ − 2 h f ∘ ) ∣ X } ≤ e ( − τ + C τ 2 ) h f ∘ ≤ 1 and E exp [ τ T { E ^ T ( g f ∘ ) − 2 E ^ T ( h f ∘ ) } ] ≤ 1. \mathbb{E}\{e^{\tau(g_{f_\circ}-2h_{f_\circ})}\mid X\}\le e^{(-\tau+C\tau^2)h_{f_\circ}}\le1
\quad\text{and}\quad
\mathbb{E}\exp[\tau T\{\widehat{\mathbb{E}}_T(g_{f_\circ})-2\widehat{\mathbb{E}}_T(h_{f_\circ})\}]\le1. E { e τ ( g f ∘ − 2 h f ∘ ) ∣ X } ≤ e ( − τ + C τ 2 ) h f ∘ ≤ 1 and E exp [ τ T { E T ( g f ∘ ) − 2 E T ( h f ∘ )}] ≤ 1.
Since E h f ∘ ≤ ϵ 0 \mathbb{E}h_{f_\circ}\le\epsilon_0 E h f ∘ ≤ ϵ 0 , applying Markov’s inequality to E ^ T ( h f ∘ ) \widehat{\mathbb{E}}_T(h_{f_\circ}) E T ( h f ∘ ) and to exp [ τ T { E ^ T ( g f ∘ ) − 2 E ^ T ( h f ∘ ) } ] \exp[\tau T\{\widehat{\mathbb{E}}_T(g_{f_\circ})-2\widehat{\mathbb{E}}_T(h_{f_\circ})\}] exp [ τ T { E T ( g f ∘ ) − 2 E T ( h f ∘ )}] , we obtain
Pr { E ^ T ( g f ∘ ) > 16 ϵ 0 δ + u δ τ T } ≤ Pr { E ^ T ( h f ∘ ) > 8 ϵ 0 δ } + Pr { E ^ T ( g f ∘ ) − 2 E ^ T ( h f ∘ ) > u δ τ T } ≤ δ 8 + e − u δ = δ 4 . (121) \Pr\left\{\widehat{\mathbb{E}}_T(g_{f_\circ})>\frac{16\epsilon_0}{\delta}+\frac{u_\delta}{\tau T}\right\}
\le
\Pr\left\{\widehat{\mathbb{E}}_T(h_{f_\circ})>\frac{8\epsilon_0}{\delta}\right\}
+
\Pr\left\{\widehat{\mathbb{E}}_T(g_{f_\circ})-2\widehat{\mathbb{E}}_T(h_{f_\circ})>\frac{u_\delta}{\tau T}\right\}
\le\frac{\delta}{8}+e^{-u_\delta}=\frac{\delta}{4}. \tag*{(121)} Pr { E T ( g f ∘ ) > δ 16 ϵ 0 + τ T u δ } ≤ Pr { E T ( h f ∘ ) > δ 8 ϵ 0 } + Pr { E T ( g f ∘ ) − 2 E T ( h f ∘ ) > τ T u δ } ≤ 8 δ + e − u δ = 4 δ . (121)
We define the event
E : = E 1 ∩ ⋂ t ∈ [ T ] { ( D n t ( t ) , q t ) ∈ G z ˉ } ∩ { E ^ T ( g f ∘ ) ≤ 16 ϵ 0 δ + u δ τ T } . \mathcal{E}:=\mathcal{E}_1\cap\bigcap_{t\in[T]}\{(D_{n_t}^{(t)},q_t)\in G_{\bar z}\}\cap\left\{\widehat{\mathbb{E}}_T(g_{f_\circ})\le\frac{16\epsilon_0}{\delta}+\frac{u_\delta}{\tau T}\right\}. E := E 1 ∩ t ∈ [ T ] ⋂ {( D n t ( t ) , q t ) ∈ G z ˉ } ∩ { E T ( g f ∘ ) ≤ δ 16 ϵ 0 + τ T u δ } .
By a union bound, (F.51) and (F.54), we have
Pr ( E c ) ≤ δ 8 + T Pr ( X ∉ G z ˉ ) + δ 4 ≤ δ 2 . \Pr(\mathcal{E}^c)\le\frac{\delta}{8}+T\Pr(X\notin G_{\bar z})+\frac{\delta}{4}\le\frac{\delta}{2}. Pr ( E c ) ≤ 8 δ + T Pr ( X ∈ / G z ˉ ) + 4 δ ≤ 2 δ .
On E \mathcal{E} E , let j ∈ [ M ] j\in[M] j ∈ [ M ] satisfy ∥ g f ^ − g f j ∥ z ˉ ≤ T − 1 \|g_{\widehat f}-g_{f_j}\|_{\bar z}\le T^{-1} ∥ g f − g f j ∥ z ˉ ≤ T − 1 . Since ∥ β 0 , t ∥ ≤ C β \|\beta_{0,t}\|\le C_\beta ∥ β 0 , t ∥ ≤ C β and ( D n t ( t ) , q t ) ∈ G z ˉ (D_{n_t}^{(t)},q_t)\in G_{\bar z} ( D n t ( t ) , q t ) ∈ G z ˉ for t ∈ [ T ] t\in[T] t ∈ [ T ] , by (2) , we have
E ^ T ( g f j ) ≤ E ^ T ( g f ^ ) + T − 1 ≤ E ^ T ( g f ∘ ) + ϵ o p t + T − 1 . (122) \widehat{\mathbb{E}}_T(g_{f_j})\le\widehat{\mathbb{E}}_T(g_{\widehat f})+T^{-1}\le\widehat{\mathbb{E}}_T(g_{f_\circ})+\epsilon_{\mathrm{opt}}+T^{-1}. \tag*{(122)} E T ( g f j ) ≤ E T ( g f ) + T − 1 ≤ E T ( g f ∘ ) + ϵ opt + T − 1 . (122)
Since ∣ h f j − h f ^ ∣ ≤ ∥ g f ^ − g f j ∥ z ˉ ≤ T − 1 |h_{f_j}-h_{\widehat f}|\le\|g_{\widehat f}-g_{f_j}\|_{\bar z}\le T^{-1} ∣ h f j − h f ∣ ≤ ∥ g f − g f j ∥ z ˉ ≤ T − 1 on G z ˉ G_{\bar z} G z ˉ and x ↦ 1 ∧ x x\mapsto1\wedge x x ↦ 1 ∧ x is 1-Lipschitz with values in [0, 1], we have, on E \mathcal{E} E ,
E { 1 ∧ e ( f ^ , f π ∘ ) ∣ T } ≲ (i) J ( f ^ ) ≤ J ( f j ) + T − 1 + Pr ( X ∉ G z ˉ ) ≤ (ii) τ 0 c 2 { E ^ N ( g f 0 ) + ϵ o p t + T − 1 } + H δ + u δ c 2 T + 1 + δ / 8 T ≲ (iii) ϵ o p t + H δ + u δ T + ϵ 0 δ , \begin{aligned}
\mathbb{E}\{1\wedge e(\widehat{f},f_{\pi}^{\circ})\mid\mathcal{T}\}
&\underset{\text{(i)}}{\lesssim}\mathcal{J}(\widehat{f})\leq\mathcal{J}(f_j)+T^{-1}+\Pr(X\notin G_{\bar{z}})\\
&\underset{\text{(ii)}}{\leq}\frac{\tau_0}{c_2}\{\widehat{\mathbb{E}}_N(g_{f_0})+\epsilon_{\mathrm{opt}}+T^{-1}\}+\frac{H_\delta+u_\delta}{c_2T}+\frac{1+\delta/8}{T}\\
&\underset{\text{(iii)}}{\lesssim}\epsilon_{\mathrm{opt}}+\frac{H_\delta+u_\delta}{T}+\frac{\epsilon_0}{\delta},
\end{aligned} E { 1 ∧ e ( f , f π ∘ ) ∣ T } (i) ≲ J ( f ) ≤ J ( f j ) + T − 1 + Pr ( X ∈ / G z ˉ ) (ii) ≤ c 2 τ 0 { E N ( g f 0 ) + ϵ opt + T − 1 } + c 2 T H δ + u δ + T 1 + δ /8 (iii) ≲ ϵ opt + T H δ + u δ + δ ϵ 0 ,
where (i) follows from Lemma F.12 and 1 ∧ ( C h ) ≤ C ( 1 ∧ h ) 1\wedge(Ch)\leq C(1\wedge h) 1 ∧ ( C h ) ≤ C ( 1 ∧ h ) for C ≥ 1 C\geq1 C ≥ 1 , (ii) from (F.51), (F.53), (F.55) and log ( 8 M δ − 1 ) ≤ H δ + u δ \log(8M\delta^{-1})\leq H_\delta+u_\delta log ( 8 M δ − 1 ) ≤ H δ + u δ , and (iii) from the definition of E \mathcal{E} E and T − 1 ≤ u δ / T T^{-1}\leq u_\delta/T T − 1 ≤ u δ / T . Since Pr ( E c ) ≤ δ / 2 \Pr(\mathcal{E}^{c})\leq\delta/2 Pr ( E c ) ≤ δ /2 , the lemma follows.
To control parameter perturbations of the loss class in Definition F.2, for the class F T F = F T F ( L , J , d e , d f , W ) \mathcal{F}_{\mathrm{TF}}=\mathcal{F}_{\mathrm{TF}}(L,J,d_e,d_f,W) F TF = F TF ( L , J , d e , d f , W ) of Section B.1, with p p p free parameters and coefficient bound W ≥ 1 W\geq1 W ≥ 1 , and for N ∈ N N\in\mathbb{N} N ∈ N and z ˉ ≥ 0 \bar{z}\geq0 z ˉ ≥ 0 , we define
L 0 ( N , z ˉ ) : = C ( 1 + N ) { C ( N + J + d e + d f + W ) ( 1 + z ˉ ) } C ( L + 1 ) 2 . L_0(N,\bar{z}):=C(1+N)\{C(N+J+d_e+d_f+W)(1+\bar{z})\}^{C(L+1)^2}. L 0 ( N , z ˉ ) := C ( 1 + N ) { C ( N + J + d e + d f + W ) ( 1 + z ˉ ) } C ( L + 1 ) 2 .
where the constants C C C depend only on d z d_z d z , d 0 d_0 d 0 , the query encoding ξ \xi ξ of Section B.1, C β C_\beta C β and v ± v_{\pm} v ± .
Lemma F.14 (Bound on the metric entropy). For every z ˉ ≥ 0 \bar{z}\geq0 z ˉ ≥ 0 and u > 0 u>0 u > 0 , the class F T F = F T F ( L , J , d e , d f , W ) \mathcal{F}_{\mathrm{TF}}=\mathcal{F}_{\mathrm{TF}}(L,J,d_e,d_f,W) F TF = F TF ( L , J , d e , d f , W ) satisfies
H T F ( N , z ˉ , u ) ≤ p log { 1 + 4 W L 0 ( n max , z ˉ ) u } . \mathcal{H}_{\mathrm{TF}}(N,\bar{z},u)\leq p\log\left\{1+\frac{4WL_0(n_{\max},\bar{z})}{u}\right\}. H TF ( N , z ˉ , u ) ≤ p log { 1 + u 4 W L 0 ( n m a x , z ˉ ) } .
Proof. We bound the propagation of a parameter perturbation through the blocks, deduce a Lipschitz bound on the loss in the parameters, and cover the parameter box [ − W , W ] p [-W,W]^p [ − W , W ] p by a grid whose mesh is set by this Lipschitz bound.
At a context ( D N , q ) ∈ G z ˉ (D_N,q)\in G_{\bar{z}} ( D N , q ) ∈ G z ˉ with N ∈ N N\in\mathbb{N} N ∈ N , let U : = C ( N + J + d e + d f + W ) ( 1 + z ˉ ) ≥ 2 U:=C(N+J+d_e+d_f+W)(1+\bar{z})\geq2 U := C ( N + J + d e + d f + W ) ( 1 + z ˉ ) ≥ 2 . For parameters ω , ω ′ \omega,\omega' ω , ω ′ in the set Ω ⊆ [ − W , W ] p \Omega\subseteq[-W,W]^p Ω ⊆ [ − W , W ] p of Section B.1, we compare the token arrays H l H_l H l and H l ′ H'_l H l ′ after block l l l in the norm ∥ H ∥ max : = max i , j ∣ H i j ∣ \|H\|_{\max}:=\max_{i,j}|H_{ij}| ∥ H ∥ m a x := max i , j ∣ H ij ∣ through
ζ : = ∥ ω − ω ′ ∥ ∞ , h l : = max { 1 , ∥ H l ∥ max , ∥ H l ′ ∥ max } and e l : = ∥ H l − H l ′ ∥ max . \zeta:=\|\omega-\omega'\|_{\infty},\qquad h_l:=\max\{1,\|H_l\|_{\max},\|H'_l\|_{\max}\}\quad\text{and}\quad e_l:=\|H_l-H'_l\|_{\max}. ζ := ∥ ω − ω ′ ∥ ∞ , h l := max { 1 , ∥ H l ∥ m a x , ∥ H l ′ ∥ m a x } and e l := ∥ H l − H l ′ ∥ m a x .
The affine embeddings satisfy h 0 ≤ U C h_0\leq U^C h 0 ≤ U C and e 0 ≤ U C ζ e_0\leq U^C\zeta e 0 ≤ U C ζ , and, since the rows of σ ( ⋅ ) \boldsymbol{\sigma}(\cdot) σ ( ⋅ ) are probability vectors and ∣ GELU ( x ) ∣ = ∣ x ∣ Φ ( x ) ≤ ∣ x ∣ |\operatorname{GELU}(x)|=|x|\Phi(x)\leq|x| ∣ GELU ( x ) ∣ = ∣ x ∣Φ ( x ) ≤ ∣ x ∣ , we have h l + 1 ≤ U C h l h_{l+1}\leq U^C h_l h l + 1 ≤ U C h l , so that h l ≤ U C ( l + 1 ) h_l\leq U^{C(l+1)} h l ≤ U C ( l + 1 ) . For a , v ∈ R m a,v\in\mathbb{R}^m a , v ∈ R m , the derivative D σ ( a ) D\boldsymbol{\sigma}(a) D σ ( a ) of σ \boldsymbol{\sigma} σ at a a a satisfies
{ D σ ( a ) v } i = σ ( a ) i { v i − σ ( a ) T v } , \{D\boldsymbol{\sigma}(a)v\}_i=\boldsymbol{\sigma}(a)_i\{v_i-\boldsymbol{\sigma}(a)^{\mathsf T}v\}, { D σ ( a ) v } i = σ ( a ) i { v i − σ ( a ) T v } ,
which implies that ∥ D σ ( a ) v ∥ 1 ≤ 2 ∥ v ∥ ∞ \|D\boldsymbol{\sigma}(a)v\|_1\leq2\|v\|_\infty ∥ D σ ( a ) v ∥ 1 ≤ 2∥ v ∥ ∞ , and, integrating t ↦ D σ { a ′ + t ( a − a ′ ) } ( a − a ′ ) t\mapsto D\boldsymbol{\sigma}\{a'+t(a-a')\}(a-a') t ↦ D σ { a ′ + t ( a − a ′ )} ( a − a ′ ) over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , we have
∥ σ ( a ) − σ ( a ′ ) ∥ 1 ≤ 2 ∥ a − a ′ ∥ ∞ . (123) \|\boldsymbol{\sigma}(a)-\boldsymbol{\sigma}(a')\|_1\leq2\|a-a'\|_\infty. \tag*{(123)} ∥ σ ( a ) − σ ( a ′ ) ∥ 1 ≤ 2∥ a − a ′ ∥ ∞ . (123)
For j ∈ [ J ] j\in[J] j ∈ [ J ] and i ∈ [ N + 1 ] i\in[N+1] i ∈ [ N + 1 ] , the query–key products a r : = { H l Q j ( H l K j ) T } i r / d e a_r:=\{H_lQ_j(H_lK_j)^{\mathsf T}\}_{ir}/\sqrt{d_e} a r := { H l Q j ( H l K j ) T } i r / d e , for r r r with M j ( i , r ) = 0 M_j(i,r)=0 M j ( i , r ) = 0 in the masks of Section B.1, and a r ′ a'_r a r ′ under ( ω ′ , H l ′ ) (\omega',H'_l) ( ω ′ , H l ′ ) satisfy $|a-a'|_\infty\leq C U C h l ( e l + h l ζ ) CU^{C}h_l(e_l+h_l\zeta) C U C h l ( e l + h l ζ ) , and hence, by (F.56) and sup x ∣ GELU ′ ( x ) ∣ ≤ 2 \sup_x\lvert\operatorname{GELU}'(x)\rvert\le2 sup x ∣ GELU ′ ( x )∣ ≤ 2 , we have
e l + 1 ≤ C U C { ( 1 + h l 2 ) e l + ( 1 + h l 3 ) ζ } ≤ U C ( l + 1 ) ( e l + ζ ) . (124) e_{l+1}\le CU^{C}\left\{(1+h_l^2)e_l+(1+h_l^3)\zeta\right\}\le U^{C(l+1)}(e_l+\zeta). \tag*{(124)} e l + 1 ≤ C U C { ( 1 + h l 2 ) e l + ( 1 + h l 3 ) ζ } ≤ U C ( l + 1 ) ( e l + ζ ) . (124)
Iterating (F.57) over l l l and summing the exponents, we obtain
e l + ζ ≤ 2 U C ∏ j = 0 l − 1 2 U C ( j + 1 ) ≤ U C ( l + 1 ) 2 ζ . (125) e_l+\zeta\le2U^{C}\prod_{j=0}^{l-1}2U^{C(j+1)}\le U^{C(l+1)^2}\zeta. \tag*{(125)} e l + ζ ≤ 2 U C j = 0 ∏ l − 1 2 U C ( j + 1 ) ≤ U C ( l + 1 ) 2 ζ . (125)
Let ( β , V ) : = f ω ( D N , q ) (\beta,V):=f_\omega(\mathcal{D}_N,q) ( β , V ) := f ω ( D N , q ) and ( β ′ , V ′ ) : = f ω ′ ( D N , q ) (\beta',V'):=f_{\omega'}(\mathcal{D}_N,q) ( β ′ , V ′ ) := f ω ′ ( D N , q ) . Since V t : = V ′ + t ( V − V ′ ) ⪰ v − I V_t:=V'+t(V-V')\succeq v_-I V t := V ′ + t ( V − V ′ ) ⪰ v − I for t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , integrating t ↦ ∂ t log det V t = tr { V t − 1 ( V − V ′ ) } t\mapsto\partial_t\log\det V_t=\operatorname{tr}\{V_t^{-1}(V-V')\} t ↦ ∂ t log det V t = tr { V t − 1 ( V − V ′ )} over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] and using
V − 1 − ( V ′ ) − 1 = V − 1 ( V ′ − V ) ( V ′ ) − 1 , V^{-1}-(V')^{-1}=V^{-1}(V'-V)(V')^{-1}, V − 1 − ( V ′ ) − 1 = V − 1 ( V ′ − V ) ( V ′ ) − 1 ,
we obtain
∣ log det V − log det V ′ ∣ ≤ d 0 v − − 1 ∥ V − V ′ ∥ F and ∥ V − 1 − ( V ′ ) − 1 ∥ F ≤ v − − 2 ∥ V − V ′ ∥ F . \left\lvert\log\det V-\log\det V'\right\rvert\le\sqrt{d_0}\,v_-^{-1}\lVert V-V'\rVert_F
\quad\text{and}\quad
\lVert V^{-1}-(V')^{-1}\rVert_F\le v_-^{-2}\lVert V-V'\rVert_F. ∣ log det V − log det V ′ ∣ ≤ d 0 v − − 1 ∥ V − V ′ ∥ F and ∥ V − 1 − ( V ′ ) − 1 ∥ F ≤ v − − 2 ∥ V − V ′ ∥ F .
Since ∥ β 0 ∥ , ∥ β ∥ , ∥ β ′ ∥ ≤ C β \lVert\beta_0\rVert,\lVert\beta\rVert,\lVert\beta'\rVert\le C_\beta ∥ β 0 ∥ , ∥ β ∥ , ∥ β ′ ∥ ≤ C β , it follows that
∣ ℓ N ( β 0 ; β , V ) − ℓ N ( β 0 ; β ′ , V ′ ) ∣ ≤ C ( 1 + N ) { ∥ β − β ′ ∥ + ∥ V − V ′ ∥ F } ≤ (i) C ( 1 + N ) U C ( L + 1 ) 2 ζ . (126) \left\lvert\ell_N(\beta_0;\beta,V)-\ell_N(\beta_0;\beta',V')\right\rvert
\le C(1+N)\{\lVert\beta-\beta'\rVert+\lVert V-V'\rVert_F\}
\mathrel{\mathop{\le}^{\text{(i)}}}C(1+N)U^{C(L+1)^2}\zeta. \tag*{(126)} ∣ ℓ N ( β 0 ; β , V ) − ℓ N ( β 0 ; β ′ , V ′ ) ∣ ≤ C ( 1 + N ) {∥ β − β ′ ∥ + ∥ V − V ′ ∥ F } ≤ (i) C ( 1 + N ) U C ( L + 1 ) 2 ζ . (126)
where (i) follows from (F.58) with l = L l=L l = L , the affine readout and the nonexpansive maps in Definition B.4 .
Finally, since L 0 ( N , z ˉ ) L_0(N,\bar z) L 0 ( N , z ˉ ) increases with N N N , by (F.59), we have
∥ g f ω − g f ω ′ ∥ z ˉ ≤ L 0 ( n max , z ˉ ) ∥ ω − ω ′ ∥ ∞ . \lVert g_{f_\omega}-g_{f_{\omega'}}\rVert_{\bar z}\le L_0(n_{\max},\bar z)\lVert\omega-\omega'\rVert_\infty. ∥ g f ω − g f ω ′ ∥ z ˉ ≤ L 0 ( n m a x , z ˉ ) ∥ ω − ω ′ ∥ ∞ .
We partition [ − W , W ] p [-W,W]^p [ − W , W ] p into at most { 1 + 4 W L 0 ( n max , z ˉ ) / u } p \{1+4WL_0(n_{\max},\bar z)/u\}^p { 1 + 4 W L 0 ( n m a x , z ˉ ) / u } p cells R s R_s R s of maximum-norm diameter at most u / L 0 ( n max , z ˉ ) u/L_0(n_{\max},\bar z) u / L 0 ( n m a x , z ˉ ) and choose ω s ∈ Ω ∩ R s \omega_s\in\Omega\cap R_s ω s ∈ Ω ∩ R s whenever Ω ∩ R s ≠ ∅ \Omega\cap R_s\ne\varnothing Ω ∩ R s = ∅ . Since every ω ∈ Ω ∩ R s \omega\in\Omega\cap R_s ω ∈ Ω ∩ R s satisfies ∥ g f ω − g f ω s ∥ z ˉ ≤ u \lVert g_{f_\omega}-g_{f_{\omega_s}}\rVert_{\bar z}\le u ∥ g f ω − g f ω s ∥ z ˉ ≤ u , by Definition F.2, we obtain
exp { H T F ( N , z ˉ , u ) } ≤ { 1 + 4 W L 0 ( n max , z ˉ ) u } p , \exp\{\mathcal{H}_{\mathrm{TF}}(\mathcal{N},\bar z,u)\}\le\left\{1+\frac{4WL_0(n_{\max},\bar z)}{u}\right\}^{p}, exp { H TF ( N , z ˉ , u )} ≤ { 1 + u 4 W L 0 ( n m a x , z ˉ ) } p ,
which is the asserted bound after taking logarithms.
Proof of Theorem 3
Proof. We first show that f ^ \hat f f ^ is efficient, then approximate the distribution of the influence term N P N ψ P , q ∗ \sqrt{N}\mathbb{P}_N\psi^*_{\mathbb{P},q} N P N ψ P , q ∗ on average under ν \nu ν , and finally deduce the normal limit and the coverage.
By (F.9), the class F T F \mathcal{F}_{\mathrm{TF}} F TF in the statement satisfies r ~ N ≲ r N = o ( 1 ) \widetilde r_N\lesssim r_N=o(1) r N ≲ r N = o ( 1 ) , with r ~ N \widetilde r_N r N as in (F.3), and hence, by Theorem 1 with K → ∞ K\to\infty K → ∞ and (F.17), the efficient benchmark f ⋆ : = ( β q ( P ) + P N ψ P , q ∗ , V q ⋆ ( P ) ) f_\star:=(\beta_q(\mathbb{P})+\mathbb{P}_N\psi^*_{\mathbb{P},q},V_q^\star(\mathbb{P})) f ⋆ := ( β q ( P ) + P N ψ P , q ∗ , V q ⋆ ( P )) satisfies
e ( f ^ , f ⋆ ) ≤ 2 e ( f ^ , f π ) + 2 e ( f π , f ⋆ ) = o ν ( 1 ) , (127) e(\hat f,f_\star)\le2e(\hat f,f_\pi)+2e(f_\pi,f_\star)=o_\nu(1), \tag*{(127)} e ( f ^ , f ⋆ ) ≤ 2 e ( f ^ , f π ) + 2 e ( f π , f ⋆ ) = o ν ( 1 ) , (127)
where e e e is the moment error in (F.1), and e ( f ^ , f ⋆ ) = o ν ( 1 ) e(\hat f,f_\star)=o_\nu(1) e ( f ^ , f ⋆ ) = o ν ( 1 ) is equivalent to (4) and proves the second limit in (11) . We compare the standardised influence term Z N : = N − 1 / 2 ∑ i = 1 N V q ∗ ( P ) − 1 / 2 ψ P , q ( Z i ) Z_N := N^{-1/2}\sum_{i=1}^{N} V_q^*(\mathbb{P})^{-1/2}\psi_{\mathbb{P},q}(Z_i) Z N := N − 1/2 ∑ i = 1 N V q ∗ ( P ) − 1/2 ψ P , q ( Z i ) with G ∼ N ( 0 , I d k ) G \sim\mathcal{N}(0,I_{d_k}) G ∼ N ( 0 , I d k ) through
Δ N ( P , q ) : = sup s ≥ 0 ∣ Pr ( ∥ Z N ∥ ≤ s ) − Pr ( ∥ G ∥ ≤ s ) ∣ \Delta_N(\mathbb{P},q) := \sup_{s\geq0}\left|\Pr(\lVert Z_N\rVert\leq s)-\Pr(\lVert G\rVert\leq s)\right| Δ N ( P , q ) := s ≥ 0 sup ∣ Pr (∥ Z N ∥ ≤ s ) − Pr (∥ G ∥ ≤ s ) ∣
and Δ N B L ( P , q ) \Delta_N^{\mathrm{BL}}(\mathbb{P},q) Δ N BL ( P , q ) , the bounded Lipschitz distance d B L d_{\mathrm{BL}} d BL between the distributions of Z N Z_N Z N and G G G , where Δ N ( P , q ) = Δ N B L ( P , q ) : = 0 \Delta_N(\mathbb{P},q)=\Delta_N^{\mathrm{BL}}(\mathbb{P},q):=0 Δ N ( P , q ) = Δ N BL ( P , q ) := 0 unless P ∈ P \mathbb{P}\in\mathcal{P} P ∈ P and v − I ≤ V q ∗ ( P ) ≤ v + I v_-I\leq V_q^*(\mathbb{P})\leq v_+I v − I ≤ V q ∗ ( P ) ≤ v + I , with v ± v_\pm v ± the covariance readout bounds of Definition B.4 . We now show that
E ν Δ N + E ν Δ N B L = o ( 1 ) . (128) \mathbb{E}_{\nu}\Delta_N+\mathbb{E}_{\nu}\Delta_N^{\mathrm{BL}}=o(1). \tag*{(128)} E ν Δ N + E ν Δ N BL = o ( 1 ) . (128)
Because the populations generated by the prior change with N N N , we first establish both limits along every sequence ( N j , P j ) j ≥ 1 (N_j,\mathbb{P}_j)_{j\geq1} ( N j , P j ) j ≥ 1 with N j → ∞ N_j\to\infty N j → ∞ , P j ∈ P \mathbb{P}_j\in\mathcal{P} P j ∈ P and d P j / d P 0 → d P / d P 0 d\mathbb{P}_j/d\mathbb{P}_0\to d\mathbb{P}/d\mathbb{P}_0 d P j / d P 0 → d P / d P 0 in L ∞ ( P 0 ) L_\infty(\mathbb{P}_0) L ∞ ( P 0 ) for some P ∈ P \mathbb{P}\in\mathcal{P} P ∈ P , for each q ∈ Q q\in\mathcal{Q} q ∈ Q .
By Assumption 1(iii), ψ j : = ψ P j , q ∗ → ψ P , q ∗ \psi_j:=\psi_{\mathbb{P}_j,q}^*\to\psi_{\mathbb{P},q}^* ψ j := ψ P j , q ∗ → ψ P , q ∗ in L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) , so that ∥ ψ j ∥ 2 \lVert\psi_j\rVert^2 ∥ ψ j ∥ 2 is uniformly integrable under P 0 \mathbb{P}_0 P 0 , and, for ϵ > 0 \epsilon>0 ϵ > 0 , the variable X j : = V q ∗ ( P j ) − 1 / 2 ψ j ( Z ) X_j:=V_q^*(\mathbb{P}_j)^{-1/2}\psi_j(Z) X j := V q ∗ ( P j ) − 1/2 ψ j ( Z ) with Z ∼ P j Z\sim\mathbb{P}_j Z ∼ P j satisfies
E P j { ∥ X j ∥ 2 1 { ∥ X j ∥ > ϵ N j } } ≤ C ∫ ∥ ψ j ∥ 2 1 { ∥ ψ j ∥ > ϵ v − N j } d P 0 = o ( 1 ) . \mathbb{E}_{\mathbb{P}_j}\{\lVert X_j\rVert^2\mathbf{1}_{\{\lVert X_j\rVert>\epsilon\sqrt{N_j}\}}\}\leq C\int\lVert\psi_j\rVert^2\mathbf{1}_{\{\lVert\psi_j\rVert>\epsilon\sqrt{v_-N_j}\}}\,d\mathbb{P}_0=o(1). E P j {∥ X j ∥ 2 1 {∥ X j ∥ > ϵ N j } } ≤ C ∫ ∥ ψ j ∥ 2 1 {∥ ψ j ∥ > ϵ v − N j } d P 0 = o ( 1 ) .
Applying Lindeberg’s theorem to the N j N_j N j i.i.d. copies of X j X_j X j , which have mean zero and covariance I I I , and using the continuity of the distribution function of ∥ G ∥ \lVert G\rVert ∥ G ∥ , we obtain
Δ N j ( P j , q ) + Δ N j B L ( P j , q ) = o ( 1 ) . (129) \Delta_{N_j}(\mathbb{P}_j,q)+\Delta_{N_j}^{\mathrm{BL}}(\mathbb{P}_j,q)=o(1). \tag*{(129)} Δ N j ( P j , q ) + Δ N j BL ( P j , q ) = o ( 1 ) . (129)
Let ϑ \vartheta ϑ , B ∞ \mathcal{B}_\infty B ∞ and P ϑ \mathbb{P}_{\vartheta} P ϑ be as defined before Lemma E.5 , and let g N g_N g N be bounded functions with ∥ g N ∥ ∞ ≤ h N \lVert g_N\rVert_\infty\leq h_N ∥ g N ∥ ∞ ≤ h N , where h N → 0 h_N\to0 h N → 0 is as in Assumption 3. Since the tilts P ϑ , g \mathbb{P}_{\vartheta,g} P ϑ , g of Section E.3.5, with d P ϑ , g / d P ϑ ∝ e g d\mathbb{P}_{\vartheta,g}/d\mathbb{P}_{\vartheta}\propto e^g d P ϑ , g / d P ϑ ∝ e g , satisfy d P ϑ 1 : K , g N / d P ϑ ∝ exp ( g N − ∑ k > K ϑ k b k ) d\mathbb{P}_{\vartheta_{1:K},g_N}/d\mathbb{P}_{\vartheta}\propto\exp(g_N-\sum_{k>K}\vartheta_kb_k) d P ϑ 1 : K , g N / d P ϑ ∝ exp ( g N − ∑ k > K ϑ k b k ) , we have, on B ∞ \mathcal{B}_\infty B ∞ ,
∥ d P ϑ 1 : K , g N d P 0 − d P ϑ d P 0 ∥ ∞ ≤ C ( h N + ∑ k > K ∣ ϑ k ∣ ) = o ( 1 ) . \left\lVert\frac{d\mathbb{P}_{\vartheta_{1:K},g_N}}{d\mathbb{P}_0}-\frac{d\mathbb{P}_{\vartheta}}{d\mathbb{P}_0}\right\rVert_\infty\leq C\left(h_N+\sum_{k>K}|\vartheta_k|\right)=o(1). d P 0 d P ϑ 1 : K , g N − d P 0 d P ϑ ∞ ≤ C ( h N + k > K ∑ ∣ ϑ k ∣ ) = o ( 1 ) .
Hence, by ((F.62)), Δ N + Δ N B L → 0 \Delta_N+\Delta_N^{\mathrm{BL}}\to0 Δ N + Δ N BL → 0 at ( P ϑ 1 : K , g N , q ) (\mathbb{P}_{\vartheta_{1:K},g_N},q) ( P ϑ 1 : K , g N , q ) on B ∞ \mathcal{B}_\infty B ∞ , for every q ∈ Q q\in\mathcal{Q} q ∈ Q . Since Δ N ≤ 1 \Delta_N\leq1 Δ N ≤ 1 and Δ N B L ≤ 2 \Delta_N^{\mathrm{BL}}\leq2 Δ N BL ≤ 2 , by ((E.29)), we have
E π K ⊗ π q { Δ N ( P ϑ , g N , q ) + Δ N B L ( P ϑ , g N , q ) } = o ( 1 ) . (130) \mathbb{E}_{\pi_K\otimes\pi_q}\{\Delta_N(\mathbb{P}_{\vartheta,g_N},q)+\Delta_N^{\mathrm{BL}}(\mathbb{P}_{\vartheta,g_N},q)\}=o(1). \tag*{(130)} E π K ⊗ π q { Δ N ( P ϑ , g N , q ) + Δ N BL ( P ϑ , g N , q )} = o ( 1 ) . (130)
Under the priors of Assumptions 3 and 4, we have
E ν ( Δ N + Δ N B L ) ≤ C { E π P ⊗ π q ( Δ N + Δ N B L ) } 1 / 2 ≤ C sup g { E π K ⊗ π q Δ N ( P ϑ , g , q ) + E π K ⊗ π q Δ N B L ( P ϑ , g , q ) } 1 / 2 = o ( 1 ) , \begin{aligned}
\mathbb{E}_{\nu}(\Delta_N+\Delta_N^{\mathrm{BL}})\leq C\{\mathbb{E}_{\pi_{\mathbb{P}}\otimes\pi_q}(\Delta_N+\Delta_N^{\mathrm{BL}})\}^{1/2} \\
&\leq C\sup_g\{\mathbb{E}_{\pi_K\otimes\pi_q}\Delta_N(\mathbb{P}_{\vartheta,g},q)+\mathbb{E}_{\pi_K\otimes\pi_q}\Delta_N^{\mathrm{BL}}(\mathbb{P}_{\vartheta,g},q)\}^{1/2}=o(1),
\end{aligned} E ν ( Δ N + Δ N BL ) ≤ C { E π P ⊗ π q ( Δ N + Δ N BL ) } 1/2 ≤ C g sup { E π K ⊗ π q Δ N ( P ϑ , g , q ) + E π K ⊗ π q Δ N BL ( P ϑ , g , q ) } 1/2 = o ( 1 ) ,
where (i) follows from ((E.2)), (ii) from ((E.45)), and (iii) from ((F.63)) along the sequences g N g_N g N of Lemma E.8 , for which ∥ g N ∥ ∞ ≤ h N \lVert g_N\rVert_\infty\leq h_N ∥ g N ∥ ∞ ≤ h N by Assumption 3.
Let μ N \mu_N μ N denote the conditional distribution of N { β ^ − β q ( P ) } \sqrt{N}\{\hat{\beta}-\beta_q(\mathbb{P})\} N { β ^ − β q ( P )} given ( P , q , T ) (\mathbb{P},q,\mathcal{T}) ( P , q , T ) . Since D N \mathcal{D}_N D N is independent of T \mathcal{T} T given ( P , q ) (\mathbb{P},q) ( P , q ) and N P N ψ P , q ⋆ = V q ⋆ ( P ) 1 2 Z N \sqrt{N}\mathbb{P}_N\psi_{\mathbb{P},q}^{\star}=V_q^{\star}(\mathbb{P})^{\frac{1}{2}}Z_N N P N ψ P , q ⋆ = V q ⋆ ( P ) 2 1 Z N , we have
E d B L [ μ N , N { 0 , V q ⋆ ( P ) } ] ≤ E [ 2 ∧ N ∥ β ^ − β q ( P ) − P N ψ P , q ⋆ ∥ ] + ( 1 ∨ v + 1 2 ) E ν Δ N B L = o ( 1 ) , \mathbb{E}\,d_{\mathrm{BL}}\left[\mu_N,\mathcal{N}\{0,V_q^{\star}(\mathbb{P})\}\right]\leq\mathbb{E}\left[2\wedge\sqrt{N}\left\|\widehat{\beta}-\beta_q(\mathbb{P})-\mathbb{P}_N\psi_{\mathbb{P},q}^{\star}\right\|\right]+(1\vee v_+^{\frac{1}{2}})\mathbb{E}_{\nu}\Delta_N^{\mathrm{BL}}=o(1), E d BL [ μ N , N { 0 , V q ⋆ ( P )} ] ≤ E [ 2 ∧ N β − β q ( P ) − P N ψ P , q ⋆ ] + ( 1 ∨ v + 2 1 ) E ν Δ N BL = o ( 1 ) ,
where the equality follows from (F.60), bounded convergence and (F.61). This establishes the first limit in (11) .
Let χ α : = ( χ d k , 1 − α 2 ) 1 2 \chi_\alpha:=\left(\chi^2_{d_k,1-\alpha}\right)^{\frac{1}{2}} χ α := ( χ d k , 1 − α 2 ) 2 1 and B N : = V q ⋆ ( P ) − 1 2 V ^ V q ⋆ ( P ) − 1 2 B_N:=V_q^{\star}(\mathbb{P})^{-\frac{1}{2}}\widehat{V}V_q^{\star}(\mathbb{P})^{-\frac{1}{2}} B N := V q ⋆ ( P ) − 2 1 V V q ⋆ ( P ) − 2 1 . For every ( P , q , T ) (\mathbb{P},q,\mathcal{T}) ( P , q , T ) and 0 < u ≤ v − / 2 0<u\leq v_-/2 0 < u ≤ v − /2 , on the event { 2 e ( f ^ , f ⋆ ) ≤ u 2 } \{2e(\widehat{f},f_\star)\leq u^2\} { 2 e ( f , f ⋆ ) ≤ u 2 } , we have
∥ B N − 1 2 − I ∥ o p ≤ u v − and ∥ N V q ⋆ ( P ) − 1 2 { β ^ − β q ( P ) } − Z N ∥ ≤ u v − . \left\|B_N^{-\frac{1}{2}}-I\right\|_{\mathrm{op}}\leq\frac{u}{v_-}\quad\text{and}\quad\left\|\sqrt{N}V_q^{\star}(\mathbb{P})^{-\frac{1}{2}}\{\widehat{\beta}-\beta_q(\mathbb{P})\}-Z_N\right\|\leq\frac{u}{\sqrt{v_-}}. B N − 2 1 − I op ≤ v − u and N V q ⋆ ( P ) − 2 1 { β − β q ( P )} − Z N ≤ v − u .
Since β q ( P ) ∈ C ^ N \beta_q(\mathbb{P})\in\widehat{C}_N β q ( P ) ∈ C N if and only if ∥ B N − 1 2 N V q ⋆ ( P ) − 1 2 { β ^ − β q ( P ) } ∥ ≤ χ α \left\|B_N^{-\frac{1}{2}}\sqrt{N}V_q^{\star}(\mathbb{P})^{-\frac{1}{2}}\{\widehat{\beta}-\beta_q(\mathbb{P})\}\right\|\leq\chi_\alpha B N − 2 1 N V q ⋆ ( P ) − 2 1 { β − β q ( P )} ≤ χ α , by the triangle inequality, with C α ′ : = 2 χ α / v − + v − − 1 2 C'_\alpha:=2\chi_\alpha/v_-+v_-^{-\frac{1}{2}} C α ′ := 2 χ α / v − + v − − 2 1 , we have
P { ∥ Z N ∥ ≤ χ α − C α ′ u } − P { 2 e ( f ^ , f ⋆ ) > u 2 } ≤ P { β q ( P ) ∈ C ^ N } ≤ P { ∥ Z N ∥ ≤ χ α + C α ′ u } + P { 2 e ( f ^ , f ⋆ ) > u 2 } , \mathbb{P}\{\|Z_N\|\leq\chi_\alpha-C'_\alpha u\}-\mathbb{P}\{2e(\widehat{f},f_\star)>u^2\}
\leq\mathbb{P}\{\beta_q(\mathbb{P})\in\widehat{C}_N\}
\leq\mathbb{P}\{\|Z_N\|\leq\chi_\alpha+C'_\alpha u\}+\mathbb{P}\{2e(\widehat{f},f_\star)>u^2\}, P { ∥ Z N ∥ ≤ χ α − C α ′ u } − P { 2 e ( f , f ⋆ ) > u 2 } ≤ P { β q ( P ) ∈ C N } ≤ P { ∥ Z N ∥ ≤ χ α + C α ′ u } + P { 2 e ( f , f ⋆ ) > u 2 } ,
where the probabilities are conditional on T \mathcal{T} T . Since Pr ( ∥ G ∥ ≤ χ α ) = 1 − α \Pr(\|G\|\leq\chi_\alpha)=1-\alpha Pr ( ∥ G ∥ ≤ χ α ) = 1 − α and ∥ G ∥ \|G\| ∥ G ∥ has a density bounded uniformly over d k ≤ d 0 d_k\leq d_0 d k ≤ d 0 , the maximal query dimension of Section B.1, replacing ∥ Z N ∥ \|Z_N\| ∥ Z N ∥ by ∥ G ∥ \|G\| ∥ G ∥ at cost Δ N ( P , q ) \Delta_N(\mathbb{P},q) Δ N ( P , q ) , we obtain, for 0 < u ≤ 1 0<u\leq1 0 < u ≤ 1 ,
∣ P { β q ( P ) ∈ C ^ N ∣ T } − ( 1 − α ) ∣ ≤ Δ N ( P , q ) + C α u + P { 2 e ( f ^ , f ⋆ ) > u 2 ∣ T } , (131) \left|\mathbb{P}\{\beta_q(\mathbb{P})\in\widehat{C}_N\mid\mathcal{T}\}-(1-\alpha)\right|\leq\Delta_N(\mathbb{P},q)+C_\alpha u+\mathbb{P}\{2e(\widehat{f},f_\star)>u^2\mid\mathcal{T}\}, \tag*{(131)} P { β q ( P ) ∈ C N ∣ T } − ( 1 − α ) ≤ Δ N ( P , q ) + C α u + P { 2 e ( f , f ⋆ ) > u 2 ∣ T } , (131)
where C α C_\alpha C α depends only on d 0 d_0 d 0 , v − v_- v − , v + v_+ v + and α \alpha α , and the case u > v − / 2 u>v_-/2 u > v − /2 holds once C α ≥ 2 / v − C_\alpha\geq2/v_- C α ≥ 2/ v − .
By Markov’s inequality and bounded convergence, since conditional probabilities lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] , e ( f ^ , f ⋆ ) = o ν ( 1 ) e(\widehat{f},f_\star)=o_\nu(1) e ( f , f ⋆ ) = o ν ( 1 ) is equivalent to
E ν [ P { e ( f ^ , f ⋆ ) > ϵ ∣ T } ] = o p ( 1 ) for every ϵ > 0 , (132) \mathbb{E}_{\nu}\left[\mathbb{P}\{e(\widehat{f},f_\star)>\epsilon\mid\mathcal{T}\}\right]=o_p(1)\quad\text{for every }\epsilon>0, \tag*{(132)} E ν [ P { e ( f , f ⋆ ) > ϵ ∣ T } ] = o p ( 1 ) for every ϵ > 0 , (132)
where o p ( 1 ) o_p(1) o p ( 1 ) refers to the distribution of T \mathcal{T} T . Averaging (F.64) over ν \nu ν , by (F.61) and (F.65), we obtain, for 0 < u ≤ 1 0<u\leq1 0 < u ≤ 1 ,
E ν ∣ P { β q ( P ) ∈ C ^ N ( D N , q ) ∣ T } − ( 1 − α ) ∣ ≤ C α u + o p ( 1 ) . (133) \mathbb{E}_{\nu}\left|\mathbb{P}\{\beta_q(\mathbb{P})\in\widehat{C}_N(D_N,q)\mid\mathcal{T}\}-(1-\alpha)\right|\leq C_\alpha u+o_p(1). \tag*{(133)} E ν P { β q ( P ) ∈ C N ( D N , q ) ∣ T } − ( 1 − α ) ≤ C α u + o p ( 1 ) . (133)
Letting N → ∞ N\to\infty N → ∞ and then u = o ( 1 ) u=o(1) u = o ( 1 ) , we find that the left side of (F.66) is o p ( 1 ) o_p(1) o p ( 1 ) , which is equivalent to (12) by the argument for (F.65) and completes the proof. □
Efficiency of the target at a fixed population
The proof of Theorem 4 needs the target f π f_\pi f π to be efficient at a fixed population, and this subsection establishes such efficiency for populations with smooth log densities. For s > 0 s > 0 s > 0 , 0 ≤ Ξ < ∞ 0 \le\Xi< \infty 0 ≤ Ξ < ∞ and η ∈ ( 0 , B ) \eta\in(0, B) η ∈ ( 0 , B ) , we define
P s ( Ξ , η ) : = { P : d P d P 0 ∝ exp ( ∑ k ≥ 1 θ k b k ) , θ ∈ R N , ∑ k ≥ 1 k 2 s d θ k 2 ≤ Ξ 2 , ∥ θ ∥ 1 ≤ B − η } . (134) \mathcal{P}_s(\Xi,\eta) := \left\{\mathbb{P} : \frac{d\mathbb{P}}{d\mathbb{P}_0} \propto\exp\left(\sum_{k\geq1}\theta_k b_k\right),\ \theta\in\mathbb{R}^{\mathbb{N}},\ \sum_{k\geq1} k^{\frac{2s}{d}}\theta_k^2 \leq\Xi^2,\ \|\theta\|_1 \leq B-\eta\right\}. \tag*{(134)} P s ( Ξ , η ) := { P : d P 0 d P ∝ exp ( k ≥ 1 ∑ θ k b k ) , θ ∈ R N , k ≥ 1 ∑ k d 2 s θ k 2 ≤ Ξ 2 , ∥ θ ∥ 1 ≤ B − η } . (134)
which bounds the log density in a periodic Sobolev norm in the coordinates of Section B.2, as in the exponential series analysis of Rivoirard and Rousseau [78 ] , and keeps the coefficients strictly inside the support Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } \Theta_K = \left\{\theta\in\mathbb{R}^K : \|\theta\|_1 \leq B\right\} Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } of π K \pi_K π K . Proposition F.1 and Section F.4 take the sieve dimension in the window
K 3 ∨ 2 a = o ( N ) and N K − s d = o ( 1 ) , (135) K^{3\vee2a} = o(N) \quad\text{and}\quad\sqrt{N}K^{-\frac{s}{d}} = o(1), \tag*{(135)} K 3 ∨ 2 a = o ( N ) and N K − d s = o ( 1 ) , (135)
where the two conditions together force s > d ( 3 / 2 ∨ a ) s > d(3/2 \vee a) s > d ( 3/2 ∨ a ) . For a fixed population P ⋆ \mathbb{P}_\star P ⋆ , we let ν : = δ P ⋆ ⊗ π q \nu:= \delta_{\mathbb{P}_\star} \otimes\pi_q ν := δ P ⋆ ⊗ π q in the rest of this section.
Proposition F.1 (Posterior moments at smooth populations). Suppose that Assumption 1(i)–(iii) holds, s > 0 s > 0 s > 0 , Ξ ≥ 0 \Xi\geq0 Ξ ≥ 0 and η ∈ ( 0 , B ) \eta\in(0, B) η ∈ ( 0 , B ) are constants, and K K K satisfies (F.68). Let f π = ( m π , S π ) f_\pi= (m_\pi, S_\pi) f π = ( m π , S π ) denote the posterior moments under π K \pi_K π K and ( g , V ) (g,V) ( g , V ) the mode pair of Definition E.1. Then, for every P ⋆ ∈ P s ( Ξ , η ) \mathbb{P}_\star\in\mathcal{P}_s(\Xi,\eta) P ⋆ ∈ P s ( Ξ , η ) and q ∈ Q q \in\mathcal{Q} q ∈ Q , with D N ∼ P ⋆ ⊗ N D_N \sim\mathbb{P}_\star^{\otimes N} D N ∼ P ⋆ ⊗ N ,
m π = β q ( P ⋆ ) + P N ψ P ⋆ , q ⋆ + o P ⋆ ( N − 1 2 ) and S π = V q ⋆ ( P ⋆ ) + o P ⋆ ( 1 ) , m_\pi= \beta_q(\mathbb{P}_\star) + \mathbb{P}_N\psi_{\mathbb{P}_\star,q}^\star+ o_{\mathbb{P}_\star}\left(N^{-\frac{1}{2}}\right) \quad\text{and}\quad S_\pi= V_q^\star(\mathbb{P}_\star) + o_{\mathbb{P}_\star}(1), m π = β q ( P ⋆ ) + P N ψ P ⋆ , q ⋆ + o P ⋆ ( N − 2 1 ) and S π = V q ⋆ ( P ⋆ ) + o P ⋆ ( 1 ) , and the same holds with ( g , V ) (g,V) ( g , V ) in place of ( m π , S π ) (m_\pi,S_\pi) ( m π , S π ) . Consequently, f π f_\pi f π and ( g , V ) (g,V) ( g , V ) are efficient under ν = δ P ⋆ ⊗ π q \nu= \delta_{\mathbb{P}_\star} \otimes\pi_q ν = δ P ⋆ ⊗ π q .
Proof. Throughout this proof, expectations and stochastic orders refer to P ⋆ ⊗ N \mathbb{P}_\star^{\otimes N} P ⋆ ⊗ N . We fit a sieve population P K \mathbb{P}_K P K to P ⋆ \mathbb{P}_\star P ⋆ by matching moments, expand the posterior moments around P K \mathbb{P}_K P K , and then compare the projected gradient at P K \mathbb{P}_K P K with the EIF at P ⋆ \mathbb{P}_\star P ⋆ .
For large N N N , K 3 ≤ N K^3 \leq N K 3 ≤ N and ∥ Λ K − 1 ∥ o p = σ − 2 K 2 a ≤ N \|\Lambda_K^{-1}\|_{\mathrm{op}} = \sigma^{-2}K^{2a} \leq N ∥ Λ K − 1 ∥ op = σ − 2 K 2 a ≤ N by (F.68), so that the lemmas of Section E hold. For ∥ ϕ ∥ ∞ ∨ ∥ ϕ ′ ∥ ∞ ≤ C ∞ ( B + 1 ) \|\phi\|_\infty\vee\|\phi'\|_\infty\leq C_\infty(B+1) ∥ ϕ ∥ ∞ ∨ ∥ ϕ ′ ∥ ∞ ≤ C ∞ ( B + 1 ) , with the basis bound C ∞ C_\infty C ∞ of Section B.2, splitting the difference at e ϕ ′ ′ / E P 0 e ϕ ′ ′ e^{\phi''}/\mathbb{E}_{\mathbb{P}_0}e^{\phi''} e ϕ ′′ / E P 0 e ϕ ′′ , by the mean value theorem, we have
∥ e ϕ E P 0 e ϕ − e ϕ ′ E P 0 e ϕ ′ ∥ L r ( P 0 ) ≲ ∥ e ϕ − e ϕ ′ ∥ L r ( P 0 ) + ∣ E P 0 ( e ϕ − e ϕ ′ ) ∣ ≲ ∥ ϕ − ϕ ′ ∥ L r ( P 0 ) for r ∈ { 2 , ∞ } . (136) \left\|\frac{e^\phi}{\mathbb{E}_{\mathbb{P}_0}e^\phi} - \frac{e^{\phi'}}{\mathbb{E}_{\mathbb{P}_0}e^{\phi'}}\right\|_{L_r(\mathbb{P}_0)}
\lesssim\|e^\phi-e^{\phi'}\|_{L_r(\mathbb{P}_0)}+\left|\mathbb{E}_{\mathbb{P}_0}(e^\phi-e^{\phi'})\right|
\lesssim\|\phi-\phi'\|_{L_r(\mathbb{P}_0)} \quad\text{for } r\in\{2,\infty\}. \tag*{(136)} E P 0 e ϕ e ϕ − E P 0 e ϕ ′ e ϕ ′ L r ( P 0 ) ≲ ∥ e ϕ − e ϕ ′ ∥ L r ( P 0 ) + E P 0 ( e ϕ − e ϕ ′ ) ≲ ∥ ϕ − ϕ ′ ∥ L r ( P 0 ) for r ∈ { 2 , ∞ } . (136)
Let p ⋆ : = d P ⋆ / d P 0 ∝ exp ( ∑ k ≥ 1 θ k ⋆ b k ) p_\star:= d\mathbb{P}_\star/d\mathbb{P}_0 \propto\exp(\sum_{k\geq1}\theta_k^\star b_k) p ⋆ := d P ⋆ / d P 0 ∝ exp ( ∑ k ≥ 1 θ k ⋆ b k ) , with ( θ k ⋆ ) k ≥ 1 (\theta_k^\star)_{k\geq1} ( θ k ⋆ ) k ≥ 1 the coefficients of P ⋆ \mathbb{P}_\star P ⋆ in (F.67). In the notation of § 3.1 , θ P ⋆ = ( θ 1 ⋆ , ⋯ , θ K ⋆ ) T ∈ Θ K \theta_{\mathbb{P}_\star} = (\theta_1^\star,\cdots,\theta_K^\star)^\mathsf{T} \in\Theta_K θ P ⋆ = ( θ 1 ⋆ , ⋯ , θ K ⋆ ) T ∈ Θ K and g P ⋆ , K = ∑ k > K θ k ⋆ b k g_{\mathbb{P}_\star,K} = \sum_{k>K}\theta_k^\star b_k g P ⋆ , K = ∑ k > K θ k ⋆ b k , and, by orthonormality and the Cauchy–Schwarz inequality, we have
∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − s d and ∥ g P ⋆ , K ∥ ∞ ≲ K 1 2 − s d . (137) \|g_{\mathbb{P}_\star,K}\|_{L_2(\mathbb{P}_0)} \leq\Xi K^{-\frac{s}{d}} \quad\text{and}\quad\|g_{\mathbb{P}_\star,K}\|_\infty\lesssim K^{\frac{1}{2}-\frac{s}{d}}. \tag*{(137)} ∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − d s and ∥ g P ⋆ , K ∥ ∞ ≲ K 2 1 − d s . (137)
In particular, by (F.69), ∥ d P θ P ⋆ / d P 0 − p ⋆ ∥ ∞ → 0 \|d\mathbb{P}_{\theta_{\mathbb{P}_\star}}/d\mathbb{P}_0-p_\star\|_\infty\to0 ∥ d P θ P ⋆ / d P 0 − p ⋆ ∥ ∞ → 0 as K → ∞ K\to\infty K → ∞ , so that P ⋆ ∈ P \mathbb{P}_\star\in\mathcal{P} P ⋆ ∈ P .
Let
θ K : = arg min θ ∈ Θ K { A K ( θ ) − θ T E P ⋆ b ( K ) } and P K : = P θ K , \theta_K := \mathop{\arg\min}_{\theta\in\Theta_K}\left\{A_K(\theta)-\theta^\mathsf{T}\mathbb{E}_{\mathbb{P}_\star}b_{(K)}\right\}\quad\text{and}\quad\mathbb{P}_K := \mathbb{P}_{\theta_K}, θ K := arg min θ ∈ Θ K { A K ( θ ) − θ T E P ⋆ b ( K ) } and P K := P θ K ,
where A K ( θ ) = log E P 0 e θ T b ( K ) A_K(\theta)=\log\mathbb{E}_{\mathbb{P}_0}e^{\theta^\mathsf{T}b_{(K)}} A K ( θ ) = log E P 0 e θ T b ( K ) as in Section B.2 and θ K \theta_K θ K is unique by Lemma E.1. Since ∇ θ { A K ( θ ) − θ T E P K b ( K ) } = E P 0 { ( d P θ / d P 0 − p ⋆ ) b ( K ) } \nabla_{\theta}\{A_K(\theta)-\theta^{\mathsf T}\mathbb{E}_{P_K}b(K)\}=\mathbb{E}_{P_0}\{(dP_{\theta}/dP_0-p_{\star})b(K)\} ∇ θ { A K ( θ ) − θ T E P K b ( K )} = E P 0 {( d P θ / d P 0 − p ⋆ ) b ( K )} , by strong convexity, the variational inequality at θ K \theta_K θ K , Bessel’s inequality and (F.69), we have
c ∥ θ K − θ P ⋆ ∥ ≤ ∥ d P θ P ⋆ d P 0 − p ⋆ ∥ L 2 ( P 0 ) ≲ ∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d . (138) c\lVert\theta_K-\theta_{P_{\star}}\rVert\leq\left\lVert\frac{dP_{\theta_{P_{\star}}}}{dP_0}-p_{\star}\right\rVert_{L_2(P_0)}\lesssim\lVert g_{P_{\star},K}\rVert_{L_2(P_0)}\leq\Xi K^{-s/d}. \tag*{(138)} c ∥ θ K − θ P ⋆ ∥ ≤ d P 0 d P θ P ⋆ − p ⋆ L 2 ( P 0 ) ≲ ∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d . (138)
Consequently, ∥ θ K − θ P ⋆ ∥ 1 ≤ K ∥ θ K − θ P ⋆ ∥ ≲ K 1 / 2 − s / d \lVert\theta_K-\theta_{P_{\star}}\rVert_1\leq\sqrt{K}\lVert\theta_K-\theta_{P_{\star}}\rVert\lesssim K^{1/2-s/d} ∥ θ K − θ P ⋆ ∥ 1 ≤ K ∥ θ K − θ P ⋆ ∥ ≲ K 1/2 − s / d , so that ∥ θ K ∥ 1 ≤ B − η / 2 \lVert\theta_K\rVert_1\leq B-\eta/2 ∥ θ K ∥ 1 ≤ B − η /2 for large K K K , and, by the first-order condition at the interior point θ K \theta_K θ K of Θ K \Theta_K Θ K , we have
E P K b ( K ) = ∇ A K ( θ K ) = E P ⋆ b ( K ) . (139) \mathbb{E}_{P_K}b(K)=\nabla A_K(\theta_K)=\mathbb{E}_{P_{\star}}b(K). \tag*{(139)} E P K b ( K ) = ∇ A K ( θ K ) = E P ⋆ b ( K ) . (139)
Since log ( d P K / d P 0 ) − log p ⋆ − ( θ K − θ P ⋆ ) T b ( K ) + g P ⋆ , K \log(dP_K/dP_0)-\log p_{\star}-(\theta_K-\theta_{P_{\star}})^{\mathsf T}b(K)+g_{P_{\star},K} log ( d P K / d P 0 ) − log p ⋆ − ( θ K − θ P ⋆ ) T b ( K ) + g P ⋆ , K is constant on Z \mathcal{Z} Z , by (F.69), orthonormality, (F.70) and (F.71), we obtain, for large K K K ,
∥ d P K d P 0 − p ⋆ ∥ L 2 ( P 0 ) ≲ K − s / d and ∥ d P K d P 0 − p ⋆ ∥ ∞ ≲ K 1 / 2 − s / d . (140) \left\lVert\frac{dP_K}{dP_0}-p_{\star}\right\rVert_{L_2(P_0)}\lesssim K^{-s/d}\quad\text{and}\quad\left\lVert\frac{dP_K}{dP_0}-p_{\star}\right\rVert_{\infty}\lesssim K^{1/2-s/d}. \tag*{(140)} d P 0 d P K − p ⋆ L 2 ( P 0 ) ≲ K − s / d and d P 0 d P K − p ⋆ ∞ ≲ K 1/2 − s / d . (140)
Since λ k = σ 2 k − 2 a \lambda_k=\sigma^2 k^{-2a} λ k = σ 2 k − 2 a , by (F.67) we have ∥ Λ K − 1 θ P ⋆ ∥ 2 = σ − 4 ∑ k ≤ K k 4 a θ k ⋆ 2 ≤ σ − 4 Ξ 2 ( 1 + K 4 a − 2 s / d ) \lVert\Lambda_K^{-1}\theta_{P_{\star}}\rVert^2=\sigma^{-4}\sum_{k\leq K}k^{4a}\theta_{k\star}^2\leq\sigma^{-4}\Xi^2(1+K^{4a-2s/d}) ∥ Λ K − 1 θ P ⋆ ∥ 2 = σ − 4 ∑ k ≤ K k 4 a θ k ⋆ 2 ≤ σ − 4 Ξ 2 ( 1 + K 4 a − 2 s / d ) , and hence, by (F.71),
∥ Λ K − 1 θ K ∥ N ≤ ∥ Λ K − 1 θ P ⋆ ∥ + σ − 2 K 2 a ∥ θ K − θ P ⋆ ∥ N \frac{\lVert\Lambda_K^{-1}\theta_K\rVert}{\sqrt{N}}\leq\frac{\lVert\Lambda_K^{-1}\theta_{P_{\star}}\rVert+\sigma^{-2}K^{2a}\lVert\theta_K-\theta_{P_{\star}}\rVert}{\sqrt{N}} N ∥ Λ K − 1 θ K ∥ ≤ N ∥ Λ K − 1 θ P ⋆ ∥ + σ − 2 K 2 a ∥ θ K − θ P ⋆ ∥
≲ 1 N + K 2 a N N K − s / d = o ( 1 ) . (141) \lesssim\frac{1}{\sqrt{N}}+\frac{K^{2a}}{N}\sqrt{N}K^{-s/d}=o(1). \tag*{(141)} ≲ N 1 + N K 2 a N K − s / d = o ( 1 ) . (141)
Let h : = θ ~ − θ K h:=\widetilde{\theta}-\theta_K h := θ − θ K for the posterior mode θ ~ \widetilde{\theta} θ of Section E.3, and let A A A , H H H and U N U_N U N be as in the proof of Proposition E.1 with θ K \theta_K θ K in place of θ \theta θ , so that U N = G N b ( K ) U_N=G_Nb(K) U N = G N b ( K ) by (F.72). Since Cov P ⋆ ( b ( K ) ) ⪯ C I \operatorname{Cov}_{P_{\star}}(b(K))\preceq CI Cov P ⋆ ( b ( K )) ⪯ C I by the density envelope of P P P , by Lemma E.6 at θ K \theta_K θ K and (F.74), we have
E ∥ h ∥ 2 ≲ E ∥ U N ∥ 2 N + ∥ Λ K − 1 θ K ∥ 2 N 2 ≲ K N . \mathbb{E}\lVert h\rVert^2\lesssim\frac{\mathbb{E}\lVert U_N\rVert^2}{N}+\frac{\lVert\Lambda_K^{-1}\theta_K\rVert^2}{N^2}\lesssim\frac{K}{N}. E ∥ h ∥ 2 ≲ N E ∥ U N ∥ 2 + N 2 ∥ Λ K − 1 θ K ∥ 2 ≲ N K .
Hence, as K 3 = o ( N ) K^3=o(N) K 3 = o ( N ) , N K ∥ h ∥ 2 + K ∥ h ∥ = o P ⋆ ( 1 ) \sqrt{N}K\lVert h\rVert^2+\sqrt{K}\lVert h\rVert=o_{P_{\star}}(1) N K ∥ h ∥ 2 + K ∥ h ∥ = o P ⋆ ( 1 ) , and, since ∥ θ ~ ∥ 1 ≤ B − η / 2 + K ∥ h ∥ \lVert\widetilde{\theta}\rVert_1\leq B-\eta/2+\sqrt{K}\lVert h\rVert ∥ θ ∥ 1 ≤ B − η /2 + K ∥ h ∥ and K ρ N = o ( 1 ) \sqrt{K}\rho_N=o(1) K ρ N = o ( 1 ) for the radius ρ N \rho_N ρ N of Section E.3, the event E N \mathcal{E}_N E N of regular contexts defined there satisfies
P ⋆ ⊗ N ( E N ) ≤ P ⋆ ⊗ N { K ( ∥ h ∥ + ρ N ) > η 2 } = o ( 1 ) . (142) \mathbb{P}_{\star}^{\otimes N}(\mathcal{E}_N)\leq\mathbb{P}_{\star}^{\otimes N}\left\{\sqrt{K}(\lVert h\rVert+\rho_N)>\frac{\eta}{2}\right\}=o(1). \tag*{(142)} P ⋆ ⊗ N ( E N ) ≤ P ⋆ ⊗ N { K (∥ h ∥ + ρ N ) > 2 η } = o ( 1 ) . (142)
On E N \mathcal{E}_{N} E N , substituting (E.39) at θ K \theta_{K} θ K into the first line of (E.43), we obtain
∥ N { m π − β q ( P K ) } − A H − 1 U N ∥ ≤ N ∥ m π − g ∥ + N ∥ g − β q ( P K ) − A h ∥ + ∥ A H − 1 ∥ o p { ∥ Λ K − 1 θ K ∥ N + N ∥ rem ( h ) ∥ } \left\|\sqrt{N}\{m_{\pi}-\beta_{q}(\mathbb{P}_{K})\}-AH^{-1}U_{N}\right\|
\leq\sqrt{N}\|m_{\pi}-g\|+\sqrt{N}\|g-\beta_{q}(\mathbb{P}_{K})-Ah\|+\|AH^{-1}\|_{\mathrm{op}}\left\{\frac{\|\Lambda_{K}^{-1}\theta_{K}\|}{\sqrt{N}}+\sqrt{N}\|\operatorname{rem}(h)\|\right\} N { m π − β q ( P K )} − A H − 1 U N ≤ N ∥ m π − g ∥ + N ∥ g − β q ( P K ) − A h ∥ + ∥ A H − 1 ∥ op { N ∥ Λ K − 1 θ K ∥ + N ∥ rem ( h ) ∥ }
≲ K 3 / 2 N + N K ∥ h ∥ 2 + ∥ Λ K − 1 θ K ∥ N ≲ ( i ) ( i i ) o P ⋆ ( 1 ) , (143) \lesssim\frac{K^{3/2}}{\sqrt{N}}+\sqrt{N}K\|h\|^{2}+\frac{\|\Lambda_{K}^{-1}\theta_{K}\|}{\sqrt{N}} \underset{\mathrm{(ii)}}{\underset{\mathrm{(i)}}{\lesssim}} o_{\mathbb{P}_{\star}}(1), \tag*{(143)} ≲ N K 3/2 + N K ∥ h ∥ 2 + N ∥ Λ K − 1 θ K ∥ ( ii ) ( i ) ≲ o P ⋆ ( 1 ) , (143)
where (i) follows from Lemma E.4, (E.17), (E.16) and Lemma E.1, and (ii) from K 3 = o ( N ) K^{3}=o(N) K 3 = o ( N ) , N K ∥ h ∥ 2 = o P ⋆ ( 1 ) \sqrt{N}K\|h\|^{2}=o_{\mathbb{P}_{\star}}(1) N K ∥ h ∥ 2 = o P ⋆ ( 1 ) and (F.74). As in the proof of Proposition E.1, by (E.16), the projected influence function ψ P K , q K \psi^{K}_{\mathbb{P}_{K},q} ψ P K , q K of Section E.3.4 satisfies A I K ( θ K ) − 1 U N = G N ψ P K , q K AI_{K}(\theta_{K})^{-1}U_{N}=G_{N}\psi^{K}_{\mathbb{P}_{K},q} A I K ( θ K ) − 1 U N = G N ψ P K , q K , and
E ∥ A { H − 1 − I K ( θ K ) − 1 } U N ∥ 2 ≲ K 4 a N 2 = o ( 1 ) , \mathbb{E}\left\|\mathcal{A}\{H^{-1}-I_{K}(\theta_{K})^{-1}\}U_{N}\right\|^{2}\lesssim\frac{K^{4a}}{N^{2}}=o(1), E A { H − 1 − I K ( θ K ) − 1 } U N 2 ≲ N 2 K 4 a = o ( 1 ) ,
so that, by (F.76),
N { m π − β q ( P K ) } = G N ψ P K , q K + o P ⋆ ( 1 ) . (144) \sqrt{N}\{m_{\pi}-\beta_{q}(\mathbb{P}_{K})\}=G_{N}\psi^{K}_{\mathbb{P}_{K},q}+o_{\mathbb{P}_{\star}}(1). \tag*{(144)} N { m π − β q ( P K )} = G N ψ P K , q K + o P ⋆ ( 1 ) . (144)
By Lemma E.4 and the argument for (E.44), we also have
∥ S π − V ∥ F + ∥ V − A I K ( θ K ) − 1 A T ∥ F ≲ K N + K ∥ h ∥ + K 2 a N = o P ⋆ ( 1 ) . (145) \|S_{\pi}-V\|_{F}+\|V-AI_{K}(\theta_{K})^{-1}A^{\mathsf T}\|_{F}\lesssim\frac{K}{\sqrt{N}}+\sqrt{K}\|h\|+\frac{K^{2a}}{N}=o_{\mathbb{P}_{\star}}(1). \tag*{(145)} ∥ S π − V ∥ F + ∥ V − A I K ( θ K ) − 1 A T ∥ F ≲ N K + K ∥ h ∥ + N K 2 a = o P ⋆ ( 1 ) . (145)
Let Π K \Pi_{K} Π K denote the componentwise L 2 ( P 0 ) L_{2}(\mathbb{P}_{0}) L 2 ( P 0 ) projection onto span ( 1 , b 1 , … , b K ) \operatorname{span}(1,b_{1},\ldots,b_{K}) span ( 1 , b 1 , … , b K ) . Since Π K ψ P K , q K − E P K Π K ψ P K , q K \Pi_{K}\psi^{K}_{\mathbb{P}_{K},q}-\mathbb{E}_{\mathbb{P}_{K}}\Pi_{K}\psi^{K}_{\mathbb{P}_{K},q} Π K ψ P K , q K − E P K Π K ψ P K , q K lies in the span of the coordinates of s P K , K = b ( K ) − E P K b ( K ) s_{\mathbb{P}_{K},K}=b^{(K)}-\mathbb{E}_{\mathbb{P}_{K}}b^{(K)} s P K , K = b ( K ) − E P K b ( K ) , onto which ψ P K , q K \psi^{K}_{\mathbb{P}_{K},q} ψ P K , q K projects ψ P K , q K \psi^{K}_{\mathbb{P}_{K},q} ψ P K , q K in L 2 ( P K ) L_{2}(\mathbb{P}_{K}) L 2 ( P K ) , and E P K ψ P K , q K = 0 \mathbb{E}_{\mathbb{P}_{K}}\psi^{K}_{\mathbb{P}_{K},q}=0 E P K ψ P K , q K = 0 , by the density envelope, we have
∥ ψ P K , q K − ψ P K , q ⋆ ∥ L 2 ( P K ) ≲ ∥ ( I − Π K ) ψ P K , q ⋆ ∥ L 2 ( P 0 ) ≤ ∥ ψ P K , q ⋆ − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) + ∥ ( I − Π K ) ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) . \begin{aligned}
\|\psi^{K}_{\mathbb{P}_{K},q}-\psi^{\star}_{\mathbb{P}_{K},q}\|_{L_{2}(\mathbb{P}_{K})}\lesssim\|(I-\Pi_{K})\psi^{\star}_{\mathbb{P}_{K},q}\|_{L_{2}(\mathbb{P}_{0})} \\
&\leq\|\psi^{\star}_{\mathbb{P}_{K},q}-\psi^{\star}_{\mathbb{P}_{\star},q}\|_{L_{2}(\mathbb{P}_{0})}+\|(I-\Pi_{K})\psi^{\star}_{\mathbb{P}_{\star},q}\|_{L_{2}(\mathbb{P}_{0})}.
\end{aligned} ∥ ψ P K , q K − ψ P K , q ⋆ ∥ L 2 ( P K ) ≲ ∥ ( I − Π K ) ψ P K , q ⋆ ∥ L 2 ( P 0 ) ≤ ∥ ψ P K , q ⋆ − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) + ∥ ( I − Π K ) ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) .
The first term is o ( 1 ) o(1) o ( 1 ) by (F.73) and Assumption 1(iii), and the second by the completeness of { 1 , b 1 , b 2 , … } \{1,b_{1},b_{2},\ldots\} { 1 , b 1 , b 2 , … } in L 2 ( P 0 ) L_{2}(\mathbb{P}_{0}) L 2 ( P 0 ) . Hence, by the density envelope and the triangle inequality, we obtain
∥ ψ P K , q K − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) = o ( 1 ) . (146) \|\psi^{K}_{\mathbb{P}_{K},q}-\psi^{\star}_{\mathbb{P}_{\star},q}\|_{L_{2}(\mathbb{P}_{0})}=o(1). \tag*{(146)} ∥ ψ P K , q K − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) = o ( 1 ) . (146)
We now combine (F.77) and (F.78) with (F.79). By (F.77), we have
∥ N { m π − β q ( P ⋆ ) } − G N ψ P ⋆ , q ⋆ ∥ ≤ N ∥ β q ( P K ) − β q ( P ⋆ ) ∥ + ∥ G N ( ψ P K , q K − ψ P ⋆ , q ⋆ ) ∥ + o P ⋆ ( 1 ) \left\|\sqrt{N}\{m_{\pi}-\beta_{q}(\mathbb{P}_{\star})\}-G_{N}\psi^{\star}_{\mathbb{P}_{\star},q}\right\|
\leq\sqrt{N}\|\beta_{q}(\mathbb{P}_{K})-\beta_{q}(\mathbb{P}_{\star})\|+\|G_{N}(\psi^{K}_{\mathbb{P}_{K},q}-\psi^{\star}_{\mathbb{P}_{\star},q})\|+o_{\mathbb{P}_{\star}}(1) N { m π − β q ( P ⋆ )} − G N ψ P ⋆ , q ⋆ ≤ N ∥ β q ( P K ) − β q ( P ⋆ ) ∥ + ∥ G N ( ψ P K , q K − ψ P ⋆ , q ⋆ ) ∥ + o P ⋆ ( 1 )
≲ N K − s / d + O P ⋆ ( ∥ ψ P K , q K − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) ) + o P ⋆ ( 1 ) = ( i ) ( i i ) o P ⋆ ( 1 ) , (147) \lesssim\sqrt{N}K^{-s/d}+O_{\mathbb{P}_{\star}}\left(\|\psi^{K}_{\mathbb{P}_{K},q}-\psi^{\star}_{\mathbb{P}_{\star},q}\|_{L_{2}(\mathbb{P}_{0})}\right)+o_{\mathbb{P}_{\star}}(1)\underset{\mathrm{(ii)}}{\underset{\mathrm{(i)}}{=} }o_{\mathbb{P}_{\star}}(1), \tag*{(147)} ≲ N K − s / d + O P ⋆ ( ∥ ψ P K , q K − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) ) + o P ⋆ ( 1 ) ( ii ) ( i ) = o P ⋆ ( 1 ) , (147)
where (i) follows from (E.1), (F.73), Chebyshev’s inequality and the density envelope, and (ii) from (F.68) and (F.79).
Since A I K ( θ K ) − 1 A T = E P K { ( ψ P K , q K ) ⊗ 2 } AI_{K}(\theta_{K})^{-1}A^{\mathsf T}=\mathbb{E}_{\mathbb{P}_{K}}\{(\psi^{K}_{\mathbb{P}_{K},q})^{\otimes2}\} A I K ( θ K ) − 1 A T = E P K {( ψ P K , q K ) ⊗ 2 } by (E.16), splitting the difference at E P ⋆ { ( ψ P K , q K ) ⊗ 2 } \mathbb{E}_{\mathbb{P}_\star}\{(\psi_{\mathbb{P}_K,q}^{K})^{\otimes2}\} E P ⋆ {( ψ P K , q K ) ⊗ 2 } , we obtain
∥ A I K ( θ K ) − 1 A T − V q ⋆ ( P ⋆ ) ∥ F ≲ (i) ∥ d P K d P 0 − p ⋆ ∥ ∞ ∥ ψ P K , q K ∥ L 2 ( P 0 ) 2 + ∥ ψ P K , q K − ψ P ⋆ , q ⋆ ∥ L 2 ( P 0 ) 2 = (ii) o ( 1 ) , \left\|A_IK(\theta_K)^{-1}A^\mathsf{T}-V_q^\star(\mathbb{P}_\star)\right\|_F \lesssim^{\text{(i)}} \left\|\frac{\mathrm{d}\mathbb{P}_K}{\mathrm{d}\mathbb{P}_0}-p_\star\right\|_\infty\left\|\psi_{\mathbb{P}_K,q}^{K}\right\|_{L_2(\mathbb{P}_0)}^2+\left\|\psi_{\mathbb{P}_K,q}^{K}-\psi_{\mathbb{P}_\star,q}^{\star}\right\|_{L_2(\mathbb{P}_0)}^{2}\overset{\text{(ii)}}{=}o(1), A I K ( θ K ) − 1 A T − V q ⋆ ( P ⋆ ) F ≲ (i) d P 0 d P K − p ⋆ ∞ ψ P K , q K L 2 ( P 0 ) 2 + ψ P K , q K − ψ P ⋆ , q ⋆ L 2 ( P 0 ) 2 = (ii) o ( 1 ) ,
where (i) follows from the Cauchy–Schwarz inequality and Assumption 1(i), and (ii) from (F.73) and (F.79). Hence, by (F.78), we have
∥ S π − V q ⋆ ( P ⋆ ) ∥ F + ∥ V − V q ⋆ ( P ⋆ ) ∥ F = o P ⋆ ( 1 ) . (148) \left\|S_\pi-V_q^\star(\mathbb{P}_\star)\right\|_F+\left\|V-V_q^\star(\mathbb{P}_\star)\right\|_F=o_{\mathbb{P}_\star}(1). \tag*{(148)} S π − V q ⋆ ( P ⋆ ) F + V − V q ⋆ ( P ⋆ ) F = o P ⋆ ( 1 ) . (148)
By (F.80) and (F.81), the remainder R N = R N ( P ⋆ , q , D N ) R_N=R_N(\mathbb{P}_\star,q,D_N) R N = R N ( P ⋆ , q , D N ) of (E.36) satisfies R N = o P ⋆ ( 1 ) R_N=o_{\mathbb{P}_\star}(1) R N = o P ⋆ ( 1 ) , and, as 0 ≤ R N ≤ 1 0\leq R_N\leq1 0 ≤ R N ≤ 1 , by dominated convergence over q ∼ π q q\sim\pi_q q ∼ π q , we obtain E ν E P R N = o ( 1 ) \mathbb{E}_\nu\mathbb{E}_{\mathbb{P}}R_N=o(1) E ν E P R N = o ( 1 ) , which is the efficiency of f π f_\pi f π by Markov’s inequality.
For the mode pair, by Lemma E.4, N ∥ g − m π ∥ ≲ K 3 / 2 / N = o ( 1 ) \sqrt{N}\|g-m_\pi\|\lesssim K^{3/2}/\sqrt{N}=o(1) N ∥ g − m π ∥ ≲ K 3/2 / N = o ( 1 ) on E N \mathcal{E}_N E N , and hence, by (F.75), (F.80) and (F.81), the pair ( g , V ) (g,V) ( g , V ) satisfies (4) at ( P ⋆ , q ) (\mathbb{P}_\star,q) ( P ⋆ , q ) and, by dominated convergence over q q q , is efficient under ν \nu ν , which completes the proof.
Proof of Theorem 4
Assumption 6 (Fixed population). There exist constants κ ∈ ( 0 , ( 3 ∨ 2 a ) − 1 ) \kappa\in(0,(3\vee2a)^{-1}) κ ∈ ( 0 , ( 3 ∨ 2 a ) − 1 ) , s > d / ( 2 κ ) s>d/(2\kappa) s > d / ( 2 κ ) , Ξ ≥ 0 \Xi\geq0 Ξ ≥ 0 and η ∈ ( 0 , B ) \eta\in(0,B) η ∈ ( 0 , B ) such that K ≍ N κ K\asymp N^\kappa K ≍ N κ and P ⋆ ∈ P s ( Ξ , η ) \mathbb{P}_\star\in\mathcal{P}_s(\Xi,\eta) P ⋆ ∈ P s ( Ξ , η ) defined in (F.67).
Assumption 6 requires the log density of P ⋆ \mathbb{P}_\star P ⋆ to have periodic Sobolev smoothness above d / ( 2 κ ) d/(2\kappa) d / ( 2 κ ) and ∥ θ P ⋆ ∥ 1 ≤ B − η \|\theta_{\mathbb{P}_\star}\|_1\leq B-\eta ∥ θ P ⋆ ∥ 1 ≤ B − η for every K K K , so that θ P ⋆ \theta_{\mathbb{P}_\star} θ P ⋆ lies at ℓ 1 \ell_1 ℓ 1 distance at least η \eta η from the boundary of Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } \Theta_K=\{\theta\in\mathbb{R}^K:\|\theta\|_1\leq B\} Θ K = { θ ∈ R K : ∥ θ ∥ 1 ≤ B } . Since K ≍ N κ K\asymp N^\kappa K ≍ N κ , κ ( 3 ∨ 2 a ) < 1 \kappa(3\vee2a)<1 κ ( 3 ∨ 2 a ) < 1 and κ s / d > 1 / 2 \kappa s/d>1/2 κ s / d > 1/2 , we have K 3 ∨ 2 a = o ( N ) K^{3\vee2a}=o(N) K 3 ∨ 2 a = o ( N ) and N K − s / d = o ( 1 ) \sqrt{N}K^{-s/d}=o(1) N K − s / d = o ( 1 ) , which is the window (F.68) of Proposition F.1 and Lemma F.15.
The proof bounds the overlap factor Γ N ( ν ) \Gamma_N(\nu) Γ N ( ν ) in (F.11) through the prior mass of the set B N : = { P ∈ P : χ 2 ( P ⋆ ∥ P ) ≤ N − 1 } B_N:=\{\mathbb{P}\in\mathcal{P}:\chi^2(\mathbb{P}_\star\mathbin\Vert\mathbb{P})\leq N^{-1}\} B N := { P ∈ P : χ 2 ( P ⋆ ∥ P ) ≤ N − 1 } .
Lemma F.15. Let s > 0 s>0 s > 0 , Ξ ≥ 0 \Xi\geq0 Ξ ≥ 0 and η ∈ ( 0 , B ) \eta\in(0,B) η ∈ ( 0 , B ) be constants, and suppose that π P ( P K ) = 1 \pi_{\mathcal{P}}(\mathcal{P}_K)=1 π P ( P K ) = 1 , Assumption 4 holds and K K K satisfies (F.68). Then, uniformly in P ⋆ ∈ P s ( Ξ , η ) \mathbb{P}_\star\in\mathcal{P}_s(\Xi,\eta) P ⋆ ∈ P s ( Ξ , η ) ,
log π P ( B N ) ≥ − K 2 log N + a log ( K ! ) − log Γ ( K 2 + 1 ) − O ( K ) . (149) \log\pi_{\mathcal{P}}(B_N)\geq-\frac{K}{2}\log N+a\log(K!)-\log\Gamma\left(\frac{K}{2}+1\right)-O(K). \tag*{(149)} log π P ( B N ) ≥ − 2 K log N + a log ( K !) − log Γ ( 2 K + 1 ) − O ( K ) . (149)
The second lemma constructs a network f ∘ = f ω f^\circ=f_\omega f ∘ = f ω that approximates the posterior moments uniformly over contexts. Let C ∘ : = ( C ω + C ω T ) / 2 C^\circ:=(C_\omega+C_\omega^\mathsf{T})/2 C ∘ := ( C ω + C ω T ) /2 denote the symmetrised raw covariance of f ∘ f^\circ f ∘ in Definition B.4, so that f ∘ , V = clip C ∘ f^{\circ,V}=\operatorname{clip}C^\circ f ∘ , V = clip C ∘ , and let h f ∘ h_{f^\circ} h f ∘ denote the conditional excess score of f ∘ f^\circ f ∘ in (E.6).
Lemma F.16. Suppose that π P ( P K ) = 1 \pi_{\mathcal{P}}(\mathcal{P}_K)=1 π P ( P K ) = 1 and Assumptions 1(i), 1(iv) and 4 hold. Then there exists a constant C > 0 C>0 C > 0 , independent of N N N , K K K , N \mathcal{N} N and ε \varepsilon ε , such that, for every ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , some deterministic f ∘ ∈ F T F ( L , 1 , d e , d f , W ) f^\circ\in\mathcal{F}_{\mathrm{TF}}(L,1,d_e,d_f,W) f ∘ ∈ F TF ( L , 1 , d e , d f , W ) with p p p free parameters, L ≤ C K log ( C n max K / ε ) L\leq CK\log(Cn_{\max}K/\varepsilon) L ≤ C K log ( C n m a x K / ε ) and p + d e + d f + W ≤ ( C n max K / ε ) C K p+d_e+d_f+W\leq(Cn_{\max}K/\varepsilon)^{CK} p + d e + d f + W ≤ ( C n m a x K / ε ) C K satisfies, at every ( D n , q ) ∈ Z n × Q (D_n,q)\in\mathcal{Z}^n\times\mathcal{Q} ( D n , q ) ∈ Z n × Q with n ∈ N n\in\mathbb{N} n ∈ N ,
n ∥ f ∘ , β − m π ∥ + ∥ C ∘ − S π ∥ F ≤ ε and 0 ≤ h f ∘ ≤ C ε 2 . \sqrt{n}\|f^{\circ,\beta}-m_\pi\|+\|C^\circ-S_\pi\|_F\leq\varepsilon
\qquad\text{and}\qquad
0\leq h_{f^\circ}\leq C\varepsilon^2. n ∥ f ∘ , β − m π ∥ + ∥ C ∘ − S π ∥ F ≤ ε and 0 ≤ h f ∘ ≤ C ε 2 .
Proof of Theorem 4. We bound the overlap factor Γ N ( ν ) \Gamma_N(\nu) Γ N ( ν ) in (F.11) by e / π P ( B N ) e/\pi_{\mathbb{P}}(B_N) e / π P ( B N ) , which reduces the theorem to the budget (F.84) on the pretraining error r ~ N \widetilde r_N r N in (F.3), and then verify this budget for the classes of Lemma F.16.
For P ∈ P \mathbb{P} \in\mathcal{P} P ∈ P , let p ⊗ N : = d P ⊗ N / d P 0 ⊗ N p^{\otimes N}:=\mathrm{d}\mathbb{P}^{\otimes N}/\mathrm{d}\mathbb{P}_0^{\otimes N} p ⊗ N := d P ⊗ N / d P 0 ⊗ N and p ⋆ ⊗ N : = d P ⊗ N / d P ⋆ 0 ⊗ N p_{\star}^{\otimes N}:=\mathrm{d}\mathbb{P}^{\otimes N}/\mathrm{d}\mathbb{P}_{\star0}^{\otimes N} p ⋆ ⊗ N := d P ⊗ N / d P ⋆ 0 ⊗ N . We define
π B : = π P ( ⋅ ∣ B N ) and p π , N : = ∫ p ⊗ N π P ( d P ) , \pi_B:=\pi_{\mathbb{P}}(\cdot\mid B_N)
\qquad\text{and}\qquad
p_{\pi,N}:=\int p^{\otimes N}\pi_{\mathbb{P}}(\mathrm{d}\mathbb{P}), π B := π P ( ⋅ ∣ B N ) and p π , N := ∫ p ⊗ N π P ( d P ) ,
where π P ( B N ) > 0 \pi_{\mathbb{P}}(B_N)>0 π P ( B N ) > 0 under (F.84). Since L ν , N \mathcal{L}_{\nu,N} L ν , N and L π , N \mathcal{L}_{\pi,N} L π , N in (F.11) have densities p ⋆ ⊗ N p_{\star}^{\otimes N} p ⋆ ⊗ N and p π , N p_{\pi,N} p π , N relative to P 0 ⊗ N ⊗ π q \mathbb{P}_0^{\otimes N}\otimes\pi_q P 0 ⊗ N ⊗ π q and p π , N ≥ π P ( B N ) ∫ p ⊗ N π B ( d P ) p_{\pi,N}\geq\pi_{\mathbb{P}}(B_N)\int p^{\otimes N}\pi_B(\mathrm{d}\mathbb{P}) p π , N ≥ π P ( B N ) ∫ p ⊗ N π B ( d P ) , we have
Γ N ( ν ) = ∫ ( p ⋆ ⊗ N ) 2 p π , N d P 0 ⊗ N ≤ ( i ) 1 π P ( B N ) ∬ ( p ⋆ ⊗ N ) 2 p ⊗ N d P 0 ⊗ N π B ( d P ) = ( i i ) 1 π P ( B N ) ∫ { 1 + χ 2 ( P ⋆ ∥ P ) } N π B ( d P ) ≤ ( i i i ) e π P ( B N ) , (150) \begin{aligned}
\Gamma_N(\nu)
&=\int\frac{(p_{\star}^{\otimes N})^2}{p_{\pi,N}}\,\mathrm{d}\mathbb{P}_0^{\otimes N}
\overset{\mathrm{(i)}}{\leq}\frac{1}{\pi_{\mathbb{P}}(B_N)}
\iint\frac{(p_{\star}^{\otimes N})^2}{p^{\otimes N}}\,\mathrm{d}\mathbb{P}_0^{\otimes N}\pi_B(\mathrm{d}\mathbb{P})\\
&\overset{\mathrm{(ii)}}{=}\frac{1}{\pi_{\mathbb{P}}(B_N)}
\int\left\{1+\chi^2(\mathbb{P}_{\star}\Vert\mathbb{P})\right\}^{N}\pi_B(\mathrm{d}\mathbb{P})\\
&\overset{\mathrm{(iii)}}{\leq}\frac{e}{\pi_{\mathbb{P}}(B_N)}, \tag*{(150)}
\end{aligned} Γ N ( ν ) = ∫ p π , N ( p ⋆ ⊗ N ) 2 d P 0 ⊗ N ≤ ( i ) π P ( B N ) 1 ∬ p ⊗ N ( p ⋆ ⊗ N ) 2 d P 0 ⊗ N π B ( d P ) = ( ii ) π P ( B N ) 1 ∫ { 1 + χ 2 ( P ⋆ ∥ P ) } N π B ( d P ) ≤ ( iii ) π P ( B N ) e , (150)
where (i) follows from Jensen’s inequality for x ↦ 1 / x x\mapsto1/x x ↦ 1/ x and Tonelli’s theorem, (ii) from independence and (iii) from the definition of B N B_N B N .
Let π P \pi_{\mathbb{P}} π P satisfy Assumptions 1–4 with f π f_\pi f π efficient under ν \nu ν , and let the Transformer class have pretraining error
r ~ N = o { π P ( B N ) } . (151) \widetilde r_N=o\{\pi_{\mathbb{P}}(B_N)\}. \tag*{(151)} r N = o { π P ( B N )} . (151)
By (F.83), (F.84) and (F.13), we have, for the moment error e ( ⋅ , ⋅ ) e(\cdot,\cdot) e ( ⋅ , ⋅ ) in (F.1),
Γ N ( ν ) r ~ N ≤ e r ~ N π P ( B N ) = o ( 1 ) and e ( f ^ , f π ∘ ) = o ν ( 1 ) . \Gamma_N(\nu)\widetilde r_N\leq\frac{e\widetilde r_N}{\pi_{\mathbb{P}}(B_N)}=o(1)
\qquad\text{and}\qquad
e(\widehat f,f_\pi^\circ)=o_\nu(1). Γ N ( ν ) r N ≤ π P ( B N ) e r N = o ( 1 ) and e ( f , f π ∘ ) = o ν ( 1 ) .
As clip = clip [ v − , v + ] \operatorname{clip}=\operatorname{clip}_{[v_-,v_+]} clip = clip [ v − , v + ] is nonexpansive and clip V q ⋆ ( P ⋆ ) = V q ⋆ ( P ⋆ ) \operatorname{clip}V_q^\star(\mathbb{P}_\star)=V_q^\star(\mathbb{P}_\star) clip V q ⋆ ( P ⋆ ) = V q ⋆ ( P ⋆ ) under Assumption 2(i), by the efficiency of f π f_\pi f π under ν \nu ν , the benchmark f ⋆ = ( β q ( P ⋆ ) + P N ψ P ⋆ , q ⋆ , V q ⋆ ( P ⋆ ) ) f_\star=(\beta_q(\mathbb{P}_\star)+\mathbb{P}_N\psi_{\mathbb{P}_\star,q}^\star,V_q^\star(\mathbb{P}_\star)) f ⋆ = ( β q ( P ⋆ ) + P N ψ P ⋆ , q ⋆ , V q ⋆ ( P ⋆ )) satisfies
e ( f ^ , f ⋆ ) 1 2 ≤ e ( f ^ , f π ∘ ) 1 2 + e ( f π ∘ , f ⋆ ) 1 2 ≤ e ( f ^ , f π ∘ ) 1 2 + e ( f π , f ⋆ ) 1 2 = o ν ( 1 ) , e(\widehat f,f_\star)^{\frac{1}{2}}
\leq e(\widehat f,f_\pi^\circ)^{\frac{1}{2}}+e(f_\pi^\circ,f_\star)^{\frac{1}{2}}
\leq e(\widehat f,f_\pi^\circ)^{\frac{1}{2}}+e(f_\pi,f_\star)^{\frac{1}{2}}
=o_\nu(1), e ( f , f ⋆ ) 2 1 ≤ e ( f , f π ∘ ) 2 1 + e ( f π ∘ , f ⋆ ) 2 1 ≤ e ( f , f π ∘ ) 2 1 + e ( f π , f ⋆ ) 2 1 = o ν ( 1 ) ,
which is (4) at P ⋆ \mathbb{P}_\star P ⋆ and, as ∥ V ^ − V q ⋆ ( P ⋆ ) ∥ F ≤ e ( f ^ , f ⋆ ) 1 2 \lVert\widehat V-V_q^\star(\mathbb{P}_\star)\rVert_F\leq e(\widehat f,f_\star)^{\frac{1}{2}} ∥ V − V q ⋆ ( P ⋆ ) ∥ F ≤ e ( f , f ⋆ ) 2 1 , proves the second limit in (13) .
Since ν \nu ν does not depend on N N N and the summands V q ⋆ ( P ⋆ ) = 1 2 ψ P ⋆ , q ⋆ ( Z i ) V_q^\star(\mathbb{P}_\star)=\frac{1}{2}\psi_{\mathbb{P}_\star,q}^\star(Z_i) V q ⋆ ( P ⋆ ) = 2 1 ψ P ⋆ , q ⋆ ( Z i ) of Z N Z_N Z N are i.i.d. with mean zero and identity covariance, by the central limit theorem, Pólya’s theorem and dominated convergence over π q \pi_q π q , we have
E π q Δ N ( P ⋆ , q ) + E π q Δ N B L ( P ⋆ , q ) = o ( 1 ) , (152) \mathbb{E}_{\pi_q}\Delta_N(\mathbb{P}_\star,q)+\mathbb{E}_{\pi_q}\Delta_N^{\mathrm{BL}}(\mathbb{P}_\star,q)=o(1), \tag*{(152)} E π q Δ N ( P ⋆ , q ) + E π q Δ N BL ( P ⋆ , q ) = o ( 1 ) , (152)
where Z N Z_N Z N , Δ N \Delta_N Δ N and Δ N B L \Delta_N^{\mathrm{BL}} Δ N BL are as in the proof of Theorem 3. Let μ N \mu_N μ N denote the conditional distribution of N { β ^ − β q ( P ⋆ ) } \sqrt{N}\{\widehat\beta-\beta_q(\mathbb{P}_\star)\} N { β − β q ( P ⋆ )} given ( q , T ) (q,\mathcal{T}) ( q , T ) and d B L d_{\mathrm{BL}} d BL the bounded Lipschitz distance. As D N \mathcal{D}_N D N is independent of T \mathcal{T} T , we have
E d B L [ μ N , N { 0 , V q ⋆ ( P ⋆ ) } ] ≤ E [ 2 ∧ N ∥ β ^ − β q ( P ⋆ ) − P N ψ P ⋆ , q ⋆ ∥ ] + ( 1 ∨ v + 1 2 ) E π q Δ N B L ( P ⋆ , q ) = o ( 1 ) , \mathbb{E}\,d_{\mathrm{BL}}\left[\mu_N,\mathcal{N}\{0,V_q^\star(\mathbb{P}_\star)\}\right]
\leq\mathbb{E}\left[2\wedge\sqrt{N}\left\|\widehat\beta-\beta_q(\mathbb{P}_\star)-\mathbb{P}_N\psi_{\mathbb{P}_\star,q}^\star\right\|\right]
+(1\vee v_+^{\frac{1}{2}})\mathbb{E}_{\pi_q}\Delta_N^{\mathrm{BL}}(\mathbb{P}_\star,q)=o(1), E d BL [ μ N , N { 0 , V q ⋆ ( P ⋆ )} ] ≤ E [ 2 ∧ N β − β q ( P ⋆ ) − P N ψ P ⋆ , q ⋆ ] + ( 1 ∨ v + 2 1 ) E π q Δ N BL ( P ⋆ , q ) = o ( 1 ) ,
where the first term vanishes by (4) and bounded convergence and the second by (F.85), which proves the first limit in (13) . Averaging (F.64) at P = P ⋆ \mathbb{P}=\mathbb{P}_{\star} P = P ⋆ over π q \pi_q π q , by (F.65), we obtain, for 0 < u ≤ 1 0<u\leq1 0 < u ≤ 1 ,
E π q ∣ P ⋆ { β q ( P ⋆ ) ∈ C ^ N ( D N , q ) ∣ T } − ( 1 − α ) ∣ ≤ E π q Δ N ( P ⋆ , q ) + C α u + o P ( 1 ) , \mathbb{E}_{\pi_q}\left|\mathbb{P}_{\star}\{\beta_q(\mathbb{P}_{\star})\in\widehat{\mathcal{C}}_N(\mathcal{D}_N,q)\mid\mathcal{T}\}-(1-\alpha)\right|\leq\mathbb{E}_{\pi_q}\Delta_N(\mathbb{P}_{\star},q)+C_{\alpha}u+o_P(1), E π q P ⋆ { β q ( P ⋆ ) ∈ C N ( D N , q ) ∣ T } − ( 1 − α ) ≤ E π q Δ N ( P ⋆ , q ) + C α u + o P ( 1 ) ,
and, letting N → ∞ N\to\infty N → ∞ and then u = o ( 1 ) u=o(1) u = o ( 1 ) , by (F.85) and the argument for (F.65), we obtain (14) .
Under the hypotheses of Theorem 4, Assumptions 1–4 and 6 hold and π P \pi_P π P is supported on { P θ : θ ∈ Θ K } ⊆ P K \{\mathbb{P}_{\theta}:\theta\in\Theta_K\}\subseteq\mathcal{P}_K { P θ : θ ∈ Θ K } ⊆ P K , so that Proposition F.1 and Lemmas F.15 and F.16 apply. By Proposition F.1 and (E.47) with ϵ π , N = L N 2 / N = o ( 1 ) \epsilon_{\pi,N}=L_N^2/N=o(1) ϵ π , N = L N 2 / N = o ( 1 ) , the posterior moments under π K \pi_K π K and f π f_{\pi} f π are efficient under ν \nu ν . By Lemma F.15 and Stirling’s formula, we have
log π P ( B N ) ≥ − K 2 log N + ( a − 1 2 ) K log K − O ( K ) , \log\pi_P(B_N)\geq-\frac{K}{2}\log N+\left(a-\frac{1}{2}\right)K\log K-O(K), log π P ( B N ) ≥ − 2 K log N + ( a − 2 1 ) K log K − O ( K ) ,
so that, as a > 1 a>1 a > 1 ,
N − K 2 K K 4 ≤ π P ( B N ) , (153) N^{-\frac{K}{2}}K^{\frac{K}{4}}\leq\pi_P(B_N), \tag*{(153)} N − 2 K K 4 K ≤ π P ( B N ) , (153)
and N − K 2 = o { π P ( B N ) } N^{-\frac{K}{2}}=o\{\pi_P(B_N)\} N − 2 K = o { π P ( B N )} .
Let ϵ : = N − 1 ( N K ) − K \epsilon:=N^{-1}(NK)^{-K} ϵ := N − 1 ( N K ) − K . Since n max ≲ N n_{\max}\lesssim N n m a x ≲ N , we have log ( C n max K / ϵ ) ≤ 3 K log ( C N K ) \log(Cn_{\max}K/\epsilon)\leq3K\log(CNK) log ( C n m a x K / ϵ ) ≤ 3 K log ( C N K ) , so that the classes of Lemma F.16 at accuracy ϵ \epsilon ϵ , with Ω = [ − W , W ] p \Omega=[-W,W]^p Ω = [ − W , W ] p , satisfy
L ≤ C 1 K 2 log ( C N K ) and p + W ≤ ( C N K ) C 1 K 2 , L\leq C_1K^2\log(CNK)\quad\text{and}\quad p+W\leq(CNK)^{C_1K^2}, L ≤ C 1 K 2 log ( C N K ) and p + W ≤ ( C N K ) C 1 K 2 ,
where C 1 : = max ( 3 C , 1 ) C_1:=\max(3C,1) C 1 := max ( 3 C , 1 ) for the constant C C C of Lemma F.16. As these classes contain the network f ∘ f^{\circ} f ∘ of Lemma F.16, by (F.2), we have
ϵ a p p ≤ R ( f ∘ ) − R ( f π ∘ ) = E h f ∘ ≤ C ϵ 2 = o { ( N K ) − K } . \epsilon_{\mathrm{app}}\leq R(f^{\circ})-R(f_{\pi}^{\circ})=\mathbb{E}h_{f^{\circ}}\leq C\epsilon^2=o\{(NK)^{-K}\}. ϵ app ≤ R ( f ∘ ) − R ( f π ∘ ) = E h f ∘ ≤ C ϵ 2 = o {( N K ) − K } .
Since t ↦ t − 1 log ( 2 p W n max t ) t\mapsto t^{-1}\log(2pWn_{\max}t) t ↦ t − 1 log ( 2 p W n m a x t ) decreases for t ≥ 2 t\geq2 t ≥ 2 , for T ≥ ( C N K ) C ∗ K 2 T\geq(CNK)^{C_{\ast}K^2} T ≥ ( C N K ) C ∗ K 2 with C ∗ ≥ C 1 + 2 C_{\ast}\geq C_1+2 C ∗ ≥ C 1 + 2 , we have
p L 2 log ( 2 p T W n max ) T ≤ C 1 2 ( 3 C 1 + C ∗ ) { K 2 log ( C N K ) } 3 ( C N K ) ( C ∗ − C 1 ) K 2 = o { ( N K ) − K } , \frac{pL^2\log(2pTWn_{\max})}{T}\leq\frac{C_1^2(3C_1+C_{\ast})\{K^2\log(CNK)\}^3}{(CNK)^{(C_{\ast}-C_1)K^2}}=o\{(NK)^{-K}\}, T p L 2 log ( 2 pT W n m a x ) ≤ ( C N K ) ( C ∗ − C 1 ) K 2 C 1 2 ( 3 C 1 + C ∗ ) { K 2 log ( C N K ) } 3 = o {( N K ) − K } ,
where the last step uses ( N K ) K ≤ ( C N K ) K 2 (NK)^K\leq(CNK)^{K^2} ( N K ) K ≤ ( C N K ) K 2 and y 3 e − y → 0 y^3e^{-y}\to0 y 3 e − y → 0 as y = K 2 log ( C N K ) → ∞ y=K^2\log(CNK)\to\infty y = K 2 log ( C N K ) → ∞ . Since ( N K ) − K ≤ N − K 2 (NK)^{-K}\leq N^{-\frac{K}{2}} ( N K ) − K ≤ N − 2 K and ϵ o p t = O ( N − K 2 ) \epsilon_{\mathrm{opt}}=O(N^{-\frac{K}{2}}) ϵ opt = O ( N − 2 K ) , by (F.3) and (F.86), we obtain
r ~ N = O ( N − K 2 ) = o { π P ( B N ) } , \widetilde r_N=O(N^{-\frac{K}{2}})=o\{\pi_P(B_N)\}, r N = O ( N − 2 K ) = o { π P ( B N )} ,
which is (F.84). As log ( C N K ) ≍ log N \log(CNK)\asymp\log N log ( C N K ) ≍ log N , these classes have exp { O ( K 2 log N ) } \exp\{O(K^2\log N)\} exp { O ( K 2 log N )} parameters and require T ≥ exp ( C K 2 log N ) T\geq\exp(CK^2\log N) T ≥ exp ( C K 2 log N ) , which proves the theorem by the reduction to (F.84).
Proofs of Lemmas F.15 and F.16
Proof of Lemma F.15. We compare χ 2 ( P ⋆ ∥ P θ ) \chi^2(\mathbb{P}_{\star}\mathbin\Vert\mathbb{P}_{\theta}) χ 2 ( P ⋆ ∥ P θ ) with ∥ θ − θ P ⋆ ∥ \lVert\theta-\theta_{\mathbb{P}_{\star}}\rVert ∥ θ − θ P ⋆ ∥ , find a ball inside the set { θ ∈ Θ K : P θ ∈ B N } \{\theta\in\Theta_K:\mathbb{P}_{\theta}\in B_N\} { θ ∈ Θ K : P θ ∈ B N } and integrate the prior density over this ball. By Assumption 4, c w ≤ d π P / d π K c_{\mathrm{w}}\leq\mathrm{d}\pi_{\mathbb{P}}/\mathrm{d}\pi_K c w ≤ d π P / d π K , so that it suffices to prove (F.82) for π K \pi_K π K .
Let θ P ⋆ \theta_{\mathbb{P}_{\star}} θ P ⋆ and g P ⋆ , K g_{\mathbb{P}_{\star},K} g P ⋆ , K be as in § 3.1 . For θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K , since 0 ≤ A K ( θ ) ≤ C ∞ ∥ θ ∥ 1 0\leq A_K(\theta)\leq C_{\infty}\lVert\theta\rVert_1 0 ≤ A K ( θ ) ≤ C ∞ ∥ θ ∥ 1 for A K A_K A K and the basis bound C ∞ C_{\infty} C ∞ of Section B.2, and likewise for P ⋆ \mathbb{P}_{\star} P ⋆ , the log densities of P ⋆ \mathbb{P}_{\star} P ⋆ and P θ \mathbb{P}_{\theta} P θ are bounded by 2 C ∞ B 2C_{\infty}B 2 C ∞ B and differ, up to an additive constant, by
ϕ θ : = g P ⋆ , K + ( θ P ⋆ − θ ) T b ( K ) , where ∥ ϕ θ ∥ L 2 ( P 0 ) 2 = ∥ θ − θ P ⋆ ∥ 2 + ∥ g P ⋆ , K ∥ L 2 ( P 0 ) 2 . \phi_{\theta}:=g_{\mathbb{P}_{\star},K}+(\theta_{\mathbb{P}_{\star}}-\theta)^{\mathsf{T}}b_{(K)},\qquad\text{where}\quad\lVert\phi_{\theta}\rVert_{L_2(\mathbb{P}_0)}^2=\lVert\theta-\theta_{\mathbb{P}_{\star}}\rVert^2+\lVert g_{\mathbb{P}_{\star},K}\rVert_{L_2(\mathbb{P}_0)}^2. ϕ θ := g P ⋆ , K + ( θ P ⋆ − θ ) T b ( K ) , where ∥ ϕ θ ∥ L 2 ( P 0 ) 2 = ∥ θ − θ P ⋆ ∥ 2 + ∥ g P ⋆ , K ∥ L 2 ( P 0 ) 2 .
by the orthonormality of b ( K ) = ( b 1 , … , b K ) T b_{(K)}=(b_1,\ldots,b_K)^{\mathsf{T}} b ( K ) = ( b 1 , … , b K ) T and the orthogonality of g P ⋆ , K g_{\mathbb{P}_{\star},K} g P ⋆ , K to b 1 , … , b K b_1,\ldots,b_K b 1 , … , b K . By (F.69), we have
∥ d P ⋆ d P 0 − d P θ d P 0 ∥ L 2 ( P 0 ) ≤ C ∥ ϕ θ ∥ L 2 ( P 0 ) . \left\lVert\frac{\mathrm{d}\mathbb{P}_{\star}}{\mathrm{d}\mathbb{P}_0}-\frac{\mathrm{d}\mathbb{P}_{\theta}}{\mathrm{d}\mathbb{P}_0}\right\rVert_{L_2(\mathbb{P}_0)}\leq C\lVert\phi_{\theta}\rVert_{L_2(\mathbb{P}_0)}. d P 0 d P ⋆ − d P 0 d P θ L 2 ( P 0 ) ≤ C ∥ ϕ θ ∥ L 2 ( P 0 ) .
Since d P θ / d P 0 ≥ e − 2 C ∞ B \mathrm{d}\mathbb{P}_{\theta}/\mathrm{d}\mathbb{P}_0\geq e^{-2C_{\infty}B} d P θ / d P 0 ≥ e − 2 C ∞ B , we obtain, for all θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K and a constant C χ > 0 C_{\chi}>0 C χ > 0 depending only on B B B and C ∞ C_{\infty} C ∞ ,
χ 2 ( P ⋆ ∥ P θ ) ≤ C χ ∥ ϕ θ ∥ L 2 ( P 0 ) 2 . (154) \chi^2(\mathbb{P}_{\star}\mathbin\Vert\mathbb{P}_{\theta})\leq C_{\chi}\lVert\phi_{\theta}\rVert_{L_2(\mathbb{P}_0)}^2. \tag*{(154)} χ 2 ( P ⋆ ∥ P θ ) ≤ C χ ∥ ϕ θ ∥ L 2 ( P 0 ) 2 . (154)
Let r − : = ( 2 C χ N ) − 1 / 2 r_-:=(2C_{\chi}N)^{-1/2} r − := ( 2 C χ N ) − 1/2 . By orthonormality, (F.67) and (F.68), for all sufficiently large N N N , uniformly in P ⋆ ∈ P s ( Ξ , η ) \mathbb{P}_{\star}\in\mathcal{P}_s(\Xi,\eta) P ⋆ ∈ P s ( Ξ , η ) , we have
∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d ≤ r − and K r − ≤ η , \lVert g_{\mathbb{P}_{\star},K}\rVert_{L_2(\mathbb{P}_0)}\leq\Xi K^{-s/d}\leq r_-\quad\text{and}\quad\sqrt{K}r_-\leq\eta, ∥ g P ⋆ , K ∥ L 2 ( P 0 ) ≤ Ξ K − s / d ≤ r − and K r − ≤ η ,
and hence, by (F.87) and ∥ θ P ⋆ ∥ 1 ≤ B − η \lVert\theta_{\mathbb{P}_{\star}}\rVert_1\leq B-\eta ∥ θ P ⋆ ∥ 1 ≤ B − η ,
{ θ ∈ R K : ∥ θ − θ P ⋆ ∥ ≤ r − } ⊆ { θ ∈ Θ K : P θ ∈ B N } . \{\theta\in\mathbb{R}^K:\lVert\theta-\theta_{\mathbb{P}_{\star}}\rVert\leq r_-\}\subseteq\{\theta\in\Theta_K:\mathbb{P}_{\theta}\in B_N\}. { θ ∈ R K : ∥ θ − θ P ⋆ ∥ ≤ r − } ⊆ { θ ∈ Θ K : P θ ∈ B N } .
It remains to integrate the prior density over this ball. As det Λ K = σ 2 K ( K ! ) − 2 a \det\Lambda_K=\sigma^{2K}(K!)^{-2a} det Λ K = σ 2 K ( K ! ) − 2 a for Λ K = diag ( σ 2 k − 2 a ) k ∈ [ K ] \Lambda_K=\operatorname{diag}(\sigma^2 k^{-2a})_{k\in[K]} Λ K = diag ( σ 2 k − 2 a ) k ∈ [ K ] of Section B.2, the prior π K \pi_K π K has the Lebesgue density
( K ! ) a Z K ( 2 π σ 2 ) K / 2 exp ( − θ T Λ K − 1 θ 2 ) on Θ K , \frac{(K!)^a}{Z_K(2\pi\sigma^2)^{K/2}}\exp\left(-\frac{\theta^{\mathsf{T}}\Lambda_K^{-1}\theta}{2}\right)\quad\text{on }\Theta_K, Z K ( 2 π σ 2 ) K /2 ( K ! ) a exp ( − 2 θ T Λ K − 1 θ ) on Θ K ,
where Z K = N ( 0 , Λ K ) ( Θ K ) ≤ 1 Z_K=\mathcal{N}(0,\Lambda_K)(\Theta_K)\leq1 Z K = N ( 0 , Λ K ) ( Θ K ) ≤ 1 satisfies inf K Z K > 0 \inf_K Z_K>0 inf K Z K > 0 by Lemma E.5 . By (F.67) and s / d > a s/d>a s / d > a , we have θ P ⋆ T Λ K − 1 θ P ⋆ ≤ σ − 2 Ξ 2 \theta_{\mathbb{P}_{\star}}^{\mathsf{T}}\Lambda_K^{-1}\theta_{\mathbb{P}_{\star}}\leq\sigma^{-2}\Xi^2 θ P ⋆ T Λ K − 1 θ P ⋆ ≤ σ − 2 Ξ 2 , and hence, as K 2 a r − 2 = o ( 1 ) K^{2a}r_-^2=o(1) K 2 a r − 2 = o ( 1 ) ,
sup ∥ θ − θ P ⋆ ∥ ≤ r − θ T Λ K − 1 θ ≤ 2 σ − 2 ( Ξ 2 + K 2 a r − 2 ) ≤ C . \sup_{\lVert\theta-\theta_{\mathbb{P}_{\star}}\rVert\leq r_-}\theta^{\mathsf{T}}\Lambda_K^{-1}\theta\leq2\sigma^{-2}(\Xi^2+K^{2a}r_-^2)\leq C. ∥ θ − θ P ⋆ ∥ ≤ r − sup θ T Λ K − 1 θ ≤ 2 σ − 2 ( Ξ 2 + K 2 a r − 2 ) ≤ C .
Multiplying the lower density bound by the ball volume π K / 2 r − K Γ ( K / 2 + 1 ) \frac{\pi^{K/2}r_-^K}{\Gamma(K/2+1)} Γ ( K /2 + 1 ) π K /2 r − K , we obtain
K 2 log r − 2 2 σ 2 − C ≤ log π K ( B N ) − a log ( K ! ) + log Γ ( K 2 + 1 ) , \frac{K}{2}\log\frac{r_-^2}{2\sigma^2}-C\leq\log\pi_K(B_N)-a\log(K!)+\log\Gamma\left(\frac{K}{2}+1\right), 2 K log 2 σ 2 r − 2 − C ≤ log π K ( B N ) − a log ( K !) + log Γ ( 2 K + 1 ) ,
which proves (F.82), since r − 2 ≲ N − 1 r_-^2\lesssim N^{-1} r − 2 ≲ N − 1 .
Proof of Lemma F.16. We bound the Lipschitz constants of the posterior moments in the sufficient statistic and the query, interpolate the moments on a grid and evaluate the interpolants after one averaging head.
Let n ∈ N n \in\mathcal{N} n ∈ N and k ∈ K k \in\mathcal{K} k ∈ K , with U k ⊂ R ℓ k U_k \subset\mathbb{R}^{\ell_k} U k ⊂ R ℓ k . For t ∈ R K t \in\mathbb{R}^{K} t ∈ R K , let E t \mathbb{E}_t E t and Cov t \operatorname{Cov}_t Cov t denote expectation and covariance under the distribution on Θ K \Theta_K Θ K with Lebesgue density proportional to
θ ⟼ w ( θ ) exp { n θ T t − n A K ( θ ) − θ T Λ K − 1 θ 2 } . \theta\longmapsto w(\theta)\exp\left\{n\theta^{\mathsf{T}}t-nA_K(\theta)-\frac{\theta^{\mathsf{T}}\Lambda_K^{-1}\theta}{2}\right\}. θ ⟼ w ( θ ) exp { n θ T t − n A K ( θ ) − 2 θ T Λ K − 1 θ } .
where w : = w π ( ⋅ ∣ 0 ) w := w_{\pi}(\cdot\mid0) w := w π ( ⋅ ∣ 0 ) is the density in Assumption 4, and, for q = ( k , u ) q=(k,u) q = ( k , u ) , define
m ( t , q ) : = E t β q ( P θ ) and S ( t , q ) : = n Cov t { β q ( P θ ) } , m(t,q):=\mathbb{E}_t\beta_q(\mathbb{P}_{\theta}) \qquad\text{and} \qquad S(t,q):=n\operatorname{Cov}_t\{\beta_q(\mathbb{P}_{\theta})\}, m ( t , q ) := E t β q ( P θ ) and S ( t , q ) := n Cov t { β q ( P θ )} ,
so that m π ( D n , q ) = m ( b ˉ , q ) m_{\pi}(D_n,q)=m(\bar{b},q) m π ( D n , q ) = m ( b ˉ , q ) and S π ( D n , q ) = S ( b ˉ , q ) S_{\pi}(D_n,q)=S(\bar{b},q) S π ( D n , q ) = S ( b ˉ , q ) for b ˉ = P n b ( K ) ∈ [ − C ∞ , C ∞ ] K \bar{b}=\mathbb{P}_n^{b}(\mathcal{K})\in[-C_{\infty},C_{\infty}]^{K} b ˉ = P n b ( K ) ∈ [ − C ∞ , C ∞ ] K . As Θ K \Theta_K Θ K is compact, differentiating under the integral over θ ∈ Θ K \theta\in\Theta_K θ ∈ Θ K by Theorem A.5.3 of Durrett [28 ] , where the centring derivatives cancel, we obtain, for v ∈ R K v\in\mathbb{R}^{K} v ∈ R K ,
∂ v m ( t , q ) : = d d λ m ( t + λ v , q ) ∣ λ = 0 = n Cov t { β q ( P θ ) , v T θ } , \partial_v m(t,q):=\left.\frac{d}{d\lambda}m(t+\lambda v,q)\right|_{\lambda=0}=n\operatorname{Cov}_t\{\beta_q(\mathbb{P}_{\theta}),v^{\mathsf{T}}\theta\}, ∂ v m ( t , q ) := d λ d m ( t + λ v , q ) λ = 0 = n Cov t { β q ( P θ ) , v T θ } ,
∂ v S ( t , q ) : = d d λ S ( t + λ v , q ) ∣ λ = 0 = n 2 E t [ { β q ( P θ ) − m ( t , q ) } ⊗ 2 v T ( θ − E t θ ) ] . \partial_v S(t,q):=\left.\frac{d}{d\lambda}S(t+\lambda v,q)\right|_{\lambda=0}=n^2\mathbb{E}_t\left[\{\beta_q(\mathbb{P}_{\theta})-m(t,q)\}^{\otimes2}v^{\mathsf{T}}(\theta-\mathbb{E}_t\theta)\right]. ∂ v S ( t , q ) := d λ d S ( t + λ v , q ) λ = 0 = n 2 E t [ { β q ( P θ ) − m ( t , q ) } ⊗ 2 v T ( θ − E t θ ) ] .
Since ∥ β q ( P θ ) ∥ ≤ C β \|\beta_q(\mathbb{P}_{\theta})\|\le C_{\beta} ∥ β q ( P θ ) ∥ ≤ C β by the definition of C β C_{\beta} C β in Section B.1, ∥ θ ∥ ≤ B \|\theta\|\le B ∥ θ ∥ ≤ B on Θ K \Theta_K Θ K and, by Lemma F.11 , ∥ β q ( P θ ) − β q ′ ( P θ ) ∥ ≤ C K A ∥ u − u ′ ∥ \|\beta_q(\mathbb{P}_{\theta})-\beta_{q'}(\mathbb{P}_{\theta})\|\le CK^A\|u-u'\| ∥ β q ( P θ ) − β q ′ ( P θ ) ∥ ≤ C K A ∥ u − u ′ ∥ for q ′ : = ( k , u ′ ) q':=(k,u') q ′ := ( k , u ′ ) , expanding the difference of the outer products, we obtain
n ∥ ∂ v m ∥ + ∥ ∂ v S ∥ F ≤ C n 2 ∥ v ∥ , \sqrt{n}\|\partial_v m\|+\|\partial_v S\|_F\le Cn^2\|v\|, n ∥ ∂ v m ∥ + ∥ ∂ v S ∥ F ≤ C n 2 ∥ v ∥ ,
n ∥ m ( t , q ) − m ( t , q ′ ) ∥ + ∥ S ( t , q ) − S ( t , q ′ ) ∥ F ≤ C n K A ∥ u − u ′ ∥ . \sqrt{n}\|m(t,q)-m(t,q')\|+\|S(t,q)-S(t,q')\|_F\le CnK^A\|u-u'\|. n ∥ m ( t , q ) − m ( t , q ′ ) ∥ + ∥ S ( t , q ) − S ( t , q ′ ) ∥ F ≤ C n K A ∥ u − u ′ ∥.
For each coordinate g g g of ( n m , S ) (\sqrt{n}m,S) ( n m , S ) , integrating λ ↦ ∂ t ′ − t g { t + λ ( t ′ − t ) , u } \lambda\mapsto\partial_{t'-t}g\{t+\lambda(t'-t),u\} λ ↦ ∂ t ′ − t g { t + λ ( t ′ − t ) , u } over λ ∈ [ 0 , 1 ] \lambda\in[0,1] λ ∈ [ 0 , 1 ] , adding the second bound and taking A ≥ 1 A\ge1 A ≥ 1 , we find that, for L ˉ : = C n max 2 K A + 1 \bar{L}:=Cn^2_{\max}K^{A+1} L ˉ := C n m a x 2 K A + 1 ,
∣ g ( t , u ) − g ( t ′ , u ′ ) ∣ ≤ L ˉ ∥ ( t , u ) − ( t ′ , u ′ ) ∥ ∞ for t , t ′ ∈ R K and u , u ′ ∈ U k . (155) |g(t,u)-g(t',u')|\le\bar{L}\|(t,u)-(t',u')\|_{\infty}\quad\text{for }t,t'\in\mathbb{R}^{K}\text{ and }u,u'\in U_k. \tag*{(155)} ∣ g ( t , u ) − g ( t ′ , u ′ ) ∣ ≤ L ˉ ∥ ( t , u ) − ( t ′ , u ′ ) ∥ ∞ for t , t ′ ∈ R K and u , u ′ ∈ U k . (155)
Let ρ : = ε / ( C 2 L ˉ ) \rho:=\varepsilon/(C_2\bar{L}) ρ := ε / ( C 2 L ˉ ) with C 2 ≥ 1 C_2\ge1 C 2 ≥ 1 chosen below, and let X ρ ⊂ X k : = [ − C ∞ , C ∞ ] K × U k \mathcal{X}_{\rho}\subset\mathcal{X}_k:=[-C_{\infty},C_{\infty}]^{K}\times U_k X ρ ⊂ X k := [ − C ∞ , C ∞ ] K × U k contain one point of each nonempty X k ∩ ρ ( j + [ 0 , 1 ) K + ℓ k ) \mathcal{X}_k\cap\rho(j+[0,1)^{K+\ell_k}) X k ∩ ρ ( j + [ 0 , 1 ) K + ℓ k ) , j ∈ Z K + ℓ k j\in\mathbb{Z}^{K+\ell_k} j ∈ Z K + ℓ k , so that
max z ∈ X k min z ′ ∈ X ρ ∥ z − z ′ ∥ ∞ ≤ ρ and ∣ X ρ ∣ ≤ ( C / ρ ) K + ℓ k . \max_{z\in\mathcal{X}_k}\min_{z'\in\mathcal{X}_{\rho}}\|z-z'\|_{\infty}\le\rho\qquad\text{and}\qquad|\mathcal{X}_{\rho}|\le(C/\rho)^{K+\ell_k}. z ∈ X k max z ′ ∈ X ρ min ∥ z − z ′ ∥ ∞ ≤ ρ and ∣ X ρ ∣ ≤ ( C / ρ ) K + ℓ k .
For each coordinate g g g , we define the McShane interpolant
g ^ ( z ) : = min z ′ ∈ X ρ { g ( z ′ ) + L ˉ ∥ z − z ′ ∥ ∞ } for z ∈ R K + ℓ k , \widehat{g}(z):=\min_{z'\in\mathcal{X}_{\rho}}\{g(z')+\bar{L}\|z-z'\|_{\infty}\}\quad\text{for }z\in\mathbb{R}^{K+\ell_k}, g ( z ) := z ′ ∈ X ρ min { g ( z ′ ) + L ˉ ∥ z − z ′ ∥ ∞ } for z ∈ R K + ℓ k ,
which is L ˉ \bar{L} L ˉ -Lipschitz in the maximum norm and, by (F.88), satisfies g ≤ g ^ ≤ g + 2 L ˉ ρ g\le\widehat{g}\le g+2\bar{L}\rho g ≤ g ≤ g + 2 L ˉ ρ on X k \mathcal{X}_k X k . Consequently, for z ∈ X k z\in\mathcal{X}_k z ∈ X k and z ^ ∈ R K + ℓ k \widehat{z}\in\mathbb{R}^{K+\ell_k} z ∈ R K + ℓ k ,
∣ g ^ ( z ^ ) − g ( z ) ∣ ≤ L ˉ ∥ z ^ − z ∥ ∞ + 2 L ˉ ρ . (156) |\widehat{g}(\widehat{z})-g(z)|\le\bar{L}\|\widehat{z}-z\|_{\infty}+2\bar{L}\rho. \tag*{(156)} ∣ g ( z ) − g ( z ) ∣ ≤ L ˉ ∥ z − z ∥ ∞ + 2 L ˉ ρ . (156)
As ∣ x ∣ = x + + ( − x ) + |x|=x_{+}+(-x)_{+} ∣ x ∣ = x + + ( − x ) + , max ( x , y ) = y + ( x − y ) + \max(x,y)=y+(x-y)_{+} max ( x , y ) = y + ( x − y ) + and min ( x , y ) = x − ( x − y ) + \min(x,y)=x-(x-y)_{+} min ( x , y ) = x − ( x − y ) + , balanced trees of affine maps and positive parts compute g ^ \widehat{g} g . Since maxima and minima are 1-Lipschitz in the maximum norm, perturbing these positive parts by τ \tau τ changes the output by at most
( 1 + L ˉ ) τ log 2 { 16 ( K + ℓ k ) ∣ X ρ ∣ } ≤ ε C 2 for τ ≤ ( C n max K ε ) − C , (157) (1+\bar{L})\tau\log_{2}\{16(K+\ell_{k})|\mathcal{X}_{\rho}|\}\leq\frac{\varepsilon}{C_{2}}\quad\text{for }\tau\leq\left(\frac{Cn_{\max}K}{\varepsilon}\right)^{-C}, \tag*{(157)} ( 1 + L ˉ ) τ log 2 { 16 ( K + ℓ k ) ∣ X ρ ∣ } ≤ C 2 ε for τ ≤ ( ε C n m a x K ) − C , (157)
and, since all coefficients and intermediate values are bounded by C ( n max + L ˉ ) C(n_{\max}+\bar{L}) C ( n m a x + L ˉ ) , by Lemma F.6 a GELU network of the same order of depth and width, with coefficients bounded by ( C n max K / ε ) C (Cn_{\max}K/\varepsilon)^{C} ( C n m a x K / ε ) C , implements such a perturbation g ^ τ \widehat{g}_{\tau} g τ .
By Lemma F.8 with accuracy ρ \rho ρ , the observation rows compute b ^ K , ρ ( Z i ) \widehat{b}_{K,\rho}(Z_{i}) b K , ρ ( Z i ) , and one masked head with zero logits and all other value maps zero writes t ^ : = n − 1 ∑ i = 1 n b ^ K , ρ ( Z i ) \widehat{t}:=n^{-1}\sum_{i=1}^{n}\widehat{b}_{K,\rho}(Z_{i}) t := n − 1 ∑ i = 1 n b K , ρ ( Z i ) into the query row. Since ∥ t ^ − b ˉ ∥ ∞ ≤ ρ \|\widehat{t}-\bar{b}\|_{\infty}\leq\rho ∥ t − b ˉ ∥ ∞ ≤ ρ , by (F.89) and (F.90), we have
∣ g ^ τ ( t ^ , u ) − g ( b ˉ , u ) ∣ ≤ ε C 2 + 3 L ˉ ρ = 4 ε C 2 . |\widehat{g}_{\tau}(\widehat{t},u)-g(\bar{b},u)|\leq\frac{\varepsilon}{C_{2}}+3\bar{L}\rho=\frac{4\varepsilon}{C_{2}}. ∣ g τ ( t , u ) − g ( b ˉ , u ) ∣ ≤ C 2 ε + 3 L ˉ ρ = C 2 4 ε .
We evaluate these interpolants for all n ′ ∈ N n'\in\mathcal{N} n ′ ∈ N and k ∈ K k\in\mathcal{K} k ∈ K in parallel, multiply the mean coordinates of branch n ′ n' n ′ by ( n ′ ) − 1 / 2 (n')^{-1/2} ( n ′ ) − 1/2 and embed the outputs of family k k k by the projections P k T P_{k}^{\mathsf{T}} P k T and M ↦ P k T M P k M\mapsto P_{k}^{\mathsf{T}}MP_{k} M ↦ P k T M P k of Section B.1. Approximate products with the exact indicators
1 { j = k } in ξ ( q , n ) and 1 { n = n ′ } = ( 1 − ∣ n − n ′ ∣ ) + , \mathbf{1}\{j=k\}\quad\text{in }\xi(q,n)\quad\text{and}\quad\mathbf{1}\{n=n'\}=(1-|n-n'|)_{+}, 1 { j = k } in ξ ( q , n ) and 1 { n = n ′ } = ( 1 − ∣ n − n ′ ∣ ) + ,
computed from the coordinate n / n max n/n_{\max} n / n m a x of the query encoding ξ ( q , n ) \xi(q,n) ξ ( q , n ) of Section B.1, select the active branch with error at most ε / ( C 2 n max ) \varepsilon/(C_{2}\sqrt{n_{\max}}) ε / ( C 2 n m a x ) for τ ≤ ( C n max K / ε ) − C \tau\leq(Cn_{\max}K/\varepsilon)^{-C} τ ≤ ( C n m a x K / ε ) − C . Since clip C β ( m π ) = m π \operatorname{clip}_{C_{\beta}}(m_{\pi})=m_{\pi} clip C β ( m π ) = m π and ( S π + S π ′ ) / 2 = S π (S_{\pi}+S_{\pi}^{\prime})/2=S_{\pi} ( S π + S π ′ ) /2 = S π , for C 2 ≥ 10 d 0 C_{2}\geq10d_{0} C 2 ≥ 10 d 0 with d 0 = max k ∈ K d k d_{0}=\max_{k\in\mathcal{K}}d_{k} d 0 = max k ∈ K d k , we obtain
n ∥ f ∘ , β − m π ∥ + ∥ C ∘ − S π ∥ F ≤ 10 d 0 ε C 2 ≤ ε and 0 ≤ h f ∘ ≤ C ε 2 , \sqrt{n}\|f^{\circ,\beta}-m_{\pi}\|+\|C^{\circ}-S_{\pi}\|_{F}\leq\frac{10d_{0}\varepsilon}{C_{2}}\leq\varepsilon\quad\text{and}\quad0\leq h_{f^{\circ}}\leq C\varepsilon^{2}, n ∥ f ∘ , β − m π ∥ + ∥ C ∘ − S π ∥ F ≤ C 2 10 d 0 ε ≤ ε and 0 ≤ h f ∘ ≤ C ε 2 ,
where the second bound follows from (F.30) at size n n n . All these maps have depth at most C log { ( K + ℓ k ) ∣ X ρ ∣ / ρ } C\log\{(K+\ell_{k})|\mathcal{X}_{\rho}|/\rho\} C log {( K + ℓ k ) ∣ X ρ ∣/ ρ } , width at most C ∣ N ∣ ( K + ℓ k ) ∣ X ρ ∣ C|\mathcal{N}|(K+\ell_{k})|\mathcal{X}_{\rho}| C ∣ N ∣ ( K + ℓ k ) ∣ X ρ ∣ and coefficients at most ( C n max K / ε ) C (Cn_{\max}K/\varepsilon)^{C} ( C n m a x K / ε ) C , and hence, by Lemma F.6 ,
L ≤ C K log C n max K ε and p + d e + d f + W ≤ ( C n max K ε ) C K , L\leq CK\log\frac{Cn_{\max}K}{\varepsilon}\quad\text{and}\quad p+d_{e}+d_{f}+W\leq\left(\frac{Cn_{\max}K}{\varepsilon}\right)^{CK}, L ≤ C K log ε C n m a x K and p + d e + d f + W ≤ ( ε C n m a x K ) C K ,
since ∣ X ρ ∣ ≤ ( C / ρ ) K + ℓ k |\mathcal{X}_{\rho}|\leq(C/\rho)^{K+\ell_{k}} ∣ X ρ ∣ ≤ ( C / ρ ) K + ℓ k , ρ − 1 ≤ ( C n max K / ε ) A + 2 \rho^{-1}\leq(Cn_{\max}K/\varepsilon)^{A+2} ρ − 1 ≤ ( C n m a x K / ε ) A + 2 and p ≤ C L d e ( d e + d f ) p\leq CLd_{e}(d_{e}+d_{f}) p ≤ C L d e ( d e + d f ) . With the accuracy bounds above, f ∘ f^{\circ} f ∘ thus has all the properties asserted in the lemma.
Lower bound at a fixed evaluation population
This subsection shows that the conclusion of Theorem 4 can fail for some approximate empirical risk minimiser when T ≤ exp ( c K log N ) T\leq\exp(cK\log N) T ≤ exp ( cK log N ) for a small constant c > 0 c>0 c > 0 , even if all other conditions of the theorem hold. The reason is that all pretraining samples are then likely to be far from P ⋆ P_{\star} P ⋆ , so that the empirical risk cannot distinguish an efficient Transformer from one biased at P ⋆ P_{\star} P ⋆ . Let P ⋆ : = P θ ⋆ P_{\star}:=P_{\theta_{\star}} P ⋆ := P θ ⋆ for some θ ⋆ ∈ R K 0 \theta_{\star}\in\mathbb{R}^{K_{0}} θ ⋆ ∈ R K 0 with ∥ θ ⋆ ∥ 1 < B \|\theta_{\star}\|_{1}<B ∥ θ ⋆ ∥ 1 < B , identified with ( θ ⋆ T , 0 , … , 0 ) T ∈ Θ K (\theta_{\star}^{\mathsf{T}},0,\ldots,0)^{\mathsf{T}}\in\Theta_{K} ( θ ⋆ T , 0 , … , 0 ) T ∈ Θ K for K ≥ K 0 K\geq K_{0} K ≥ K 0 , such that ∥ β q ( P ⋆ ) ∥ < C β \|\beta_{q}(P_{\star})\|<C_{\beta} ∥ β q ( P ⋆ ) ∥ < C β for π q \pi_{q} π q -almost every q q q , where C β C_\beta C β is the radius of the point readout in Definition B.4 , and let ν : = δ P ⋆ ⊗ π q \nu:= \delta_{\mathbb{P}_\star} \otimes\pi_q ν := δ P ⋆ ⊗ π q . Since P ⋆ ∈ P s ( Ξ , η ) \mathbb{P}_\star\in\mathcal{P}_s(\Xi,\eta) P ⋆ ∈ P s ( Ξ , η ) for every s > 0 s > 0 s > 0 , with Ξ : = ( ∑ k ≤ K 0 k 2 s θ ⋆ k 2 ) 1 2 \Xi:= \left(\sum_{k \le K_0} k^{2s}\theta_{\star k}^{2}\right)^{\frac{1}{2}} Ξ := ( ∑ k ≤ K 0 k 2 s θ ⋆ k 2 ) 2 1 and η : = ( B − ∥ θ ⋆ ∥ 1 ) / 2 \eta:= (B-\lVert\theta_\star\rVert_1)/2 η := ( B − ∥ θ ⋆ ∥ 1 ) /2 , the population P ⋆ \mathbb{P}_\star P ⋆ satisfies Assumption 6 whenever K ≍ N κ K \asymp N^\kappa K ≍ N κ with κ < ( 3 ∨ 2 a ) − 1 \kappa< (3 \vee2a)^{-1} κ < ( 3 ∨ 2 a ) − 1 .
We measure how close a sample D n = { Z i } i = 1 n \mathcal{D}_n = \{Z_i\}_{i=1}^n D n = { Z i } i = 1 n with n ∈ N n \in\mathbb{N} n ∈ N is to P ⋆ \mathbb{P}_\star P ⋆ by
d ⋆ ( D n ) : = ∥ P n b ( K ) − s ⋆ ∥ ∞ , d_\star(\mathcal{D}_n) := \lVert\mathbb{P}_n b_{(K)} - s_\star\rVert_\infty, d ⋆ ( D n ) := ∥ P n b ( K ) − s ⋆ ∥ ∞ ,
where P n b ( K ) : = n − 1 ∑ i = 1 n b ( K ) ( Z i ) \mathbb{P}_n b_{(K)} := n^{-1}\sum_{i=1}^n b_{(K)}(Z_i) P n b ( K ) := n − 1 ∑ i = 1 n b ( K ) ( Z i ) and s ⋆ : = E P ⋆ b ( K ) s_\star:= \mathbb{E}_{\mathbb{P}_\star}b_{(K)} s ⋆ := E P ⋆ b ( K ) average the sieve basis b ( K ) b_{(K)} b ( K ) of Section B.2, which is bounded by C ∞ C_\infty C ∞ , over the sample and over P ⋆ \mathbb{P}_\star P ⋆ , respectively. With ζ : = C ∞ ( log N / N ) 1 2 \zeta:= C_\infty(\log N/N)^{\frac{1}{2}} ζ := C ∞ ( log N / N ) 2 1 , we call D n \mathcal{D}_n D n , and any context ( D n , q ) (\mathcal{D}_n,q) ( D n , q ) , close to P ⋆ \mathbb{P}_\star P ⋆ if d ⋆ ( D n ) ≤ 2 ζ d_\star(\mathcal{D}_n) \le2\zeta d ⋆ ( D n ) ≤ 2 ζ and far from P ⋆ \mathbb{P}_\star P ⋆ if d ⋆ ( D n ) > 6 ζ d_\star(\mathcal{D}_n) > 6\zeta d ⋆ ( D n ) > 6 ζ . When all pretraining samples are far from P ⋆ \mathbb{P}_\star P ⋆ , a map and its bump, defined below, have nearly the same empirical risk, although at most one of them can be efficient at P ⋆ \mathbb{P}_\star P ⋆ .
Definition F.3 (Bump). A bump of a map f = ( f β , f V ) f=(f^\beta,f^V) f = ( f β , f V ) on contexts is a map f ^ = ( f ^ β , f V ) \hat f=(\hat f^\beta,f^V) f ^ = ( f ^ β , f V ) that, up to an error τ : = ϵ o p t / N \tau:= \epsilon_{\mathrm{opt}}/N τ := ϵ opt / N in norm, shifts the point estimate of f f f by N − 1 2 e 1 N^{-\frac{1}{2}}e_1 N − 2 1 e 1 at contexts close to P ⋆ \mathbb{P}_\star P ⋆ , provided that ∥ f β ∥ ≤ C β − 2 N − 1 2 \lVert f^\beta\rVert\le C_\beta- 2N^{-\frac{1}{2}} ∥ f β ∥ ≤ C β − 2 N − 2 1 there, and leaves it unchanged at contexts far from P ⋆ \mathbb{P}_\star P ⋆ , where e 1 e_1 e 1 is the first standard basis vector of R d k \mathbb{R}^{d_k} R d k for q = ( k , u ) q=(k,u) q = ( k , u ) .
Proposition F.2 (Lower bound on T T T in Theorem 4). Suppose that all conditions of Theorem 4 except T ≥ exp ( C K 2 log N ) T \ge\exp(CK^2\log N) T ≥ exp ( C K 2 log N ) hold with P ⋆ = P θ ⋆ \mathbb{P}_\star= \mathbb{P}_{\theta_\star} P ⋆ = P θ ⋆ , and that the Transformer class in (2) contains a bump of f ^ \hat f f ^ . Then there exists a constant c > 0 c > 0 c > 0 such that, if T < exp ( c K log N ) T < \exp(cK\log N) T < exp ( cK log N ) , some Transformer in this class that satisfies (2) with ϵ o p t = O ( N − K / 2 ) \epsilon_{\mathrm{opt}} = O(N^{-K/2}) ϵ opt = O ( N − K /2 ) violates (13) .
Proof. Let f ^ ′ \hat f' f ^ ′ be the bump of f ^ \hat f f ^ in the Transformer class F T F \mathcal{F}_{\mathrm{TF}} F TF , and consider the event that all pretraining samples are far from P ⋆ \mathbb{P}_\star P ⋆ ,
E ⋆ : = ⋂ t ∈ [ T ] { d ⋆ ( D n t ( t ) ) > 6 ζ } . \mathcal{E}_\star:= \bigcap_{t\in[T]}\left\{d_\star\left(\mathcal{D}_{n_t}^{(t)}\right) > 6\zeta\right\}. E ⋆ := t ∈ [ T ] ⋂ { d ⋆ ( D n t ( t ) ) > 6 ζ } .
We bound Pr ( E ⋆ c ) \Pr(\mathcal{E}_\star^{c}) Pr ( E ⋆ c ) by splitting the simulated coefficients at distance R N R_N R N from θ ⋆ \theta_\star θ ⋆ , show that f ^ ′ \hat f' f ^ ′ nearly minimises R ^ T \widehat{R}_T R T on E ⋆ \mathcal{E}_\star E ⋆ , and compare f ^ ′ β \hat f'^\beta f ^ ′ β with f ^ β \hat f^\beta f ^ β at contexts close to P ⋆ \mathbb{P}_\star P ⋆ .
Let c I > 0 c_I > 0 c I > 0 satisfy I K ( θ ) ≥ c I I I_K(\theta) \ge c_I I I K ( θ ) ≥ c I I for ∥ θ ∥ 1 ≤ B + 1 \lVert\theta\rVert_1 \le B+1 ∥ θ ∥ 1 ≤ B + 1 , as in Lemma E.1, and R N : = 24 C ∞ c I − 1 ( K log N / N ) 1 2 R_N := 24C_\infty c_I^{-1}(K\log N/N)^{\frac{1}{2}} R N := 24 C ∞ c I − 1 ( K log N / N ) 2 1 . By Assumptions 3 and 4 with g P , K = 0 g_{\mathbb{P},K}=0 g P , K = 0 , we have D n t ( t ) ∼ P θ ⊗ n t \mathcal{D}_{n_t}^{(t)} \sim\mathbb{P}_{\theta}^{\otimes n_t} D n t ( t ) ∼ P θ ⊗ n t with θ ∼ π P \theta\sim\pi_{\mathbb{P}} θ ∼ π P , π P ( Θ K ) = 1 \pi_{\mathbb{P}}(\Theta_K)=1 π P ( Θ K ) = 1 and d π P / d π K ≤ C w d\pi_{\mathbb{P}}/d\pi_K \le C_w d π P / d π K ≤ C w , so that, by the union bound over t ∈ [ T ] t \in[T] t ∈ [ T ] ,
Pr ( E ⋆ c ) ≤ T [ π P { θ : ∥ θ − θ ⋆ ∥ < R N } + sup n ∈ N , θ ∈ Θ K : ∥ θ − θ ⋆ ∥ ≥ R N P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } ] . (158) \Pr(\mathcal{E}_\star^c) \le T\left[\pi_{\mathbb{P}}\{\theta:\lVert\theta-\theta_\star\rVert< R_N\}+\sup_{\substack{n\in\mathbb{N},\,\theta\in\Theta_K:\\\lVert\theta-\theta_\star\rVert\ge R_N}}\mathbb{P}_{\theta}^{\otimes n}\{d_\star(\mathcal{D}_n)\le6\zeta\}\right]. \tag*{(158)} Pr ( E ⋆ c ) ≤ T π P { θ : ∥ θ − θ ⋆ ∥ < R N } + n ∈ N , θ ∈ Θ K : ∥ θ − θ ⋆ ∥ ≥ R N sup P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } . (158)
For the second term, let Δ : = θ − θ ⋆ \Delta:= \theta-\theta_\star Δ := θ − θ ⋆ . Since the log normaliser A K A_K A K of Section B.2 satisfies ∇ A K ( θ ⋆ ) = s ⋆ \nabla A_K(\theta_\star)=s_\star ∇ A K ( θ ⋆ ) = s ⋆ , by Hölder’s inequality and Taylor’s theorem, we have, whenever d ⋆ ( D n ) ≤ 6 ζ d_\star(\mathcal{D}_n)\le6\zeta d ⋆ ( D n ) ≤ 6 ζ ,
log d P θ ⊗ n d P ⋆ ⊗ n ( D n ) = n Δ T ( P n b ( K ) − s ⋆ ) − n { A K ( θ ) − A K ( θ ⋆ ) − Δ T s ⋆ } ≤ n c I R N 4 ∥ Δ ∥ − n c I 2 ∥ Δ ∥ 2 , \log\frac{d\mathbb{P}_{\theta}^{\otimes n}}{d\mathbb{P}_{\star}^{\otimes n}}(\mathcal{D}_n)
= n\Delta^{\mathsf T}(\mathbb{P}_n b_{(K)}-s_\star)-n\{A_K(\theta)-A_K(\theta_\star)-\Delta^{\mathsf T}s_\star\}
\le\frac{nc_I R_N}{4}\lVert\Delta\rVert-\frac{nc_I}{2}\lVert\Delta\rVert^2, log d P ⋆ ⊗ n d P θ ⊗ n ( D n ) = n Δ T ( P n b ( K ) − s ⋆ ) − n { A K ( θ ) − A K ( θ ⋆ ) − Δ T s ⋆ } ≤ 4 n c I R N ∥ Δ ∥ − 2 n c I ∥ Δ ∥ 2 ,
where the inequality also uses ∥ Δ ∥ 1 ≤ K ∥ Δ ∥ \lVert\Delta\rVert_1 \le\sqrt{K}\lVert\Delta\rVert ∥ Δ ∥ 1 ≤ K ∥ Δ ∥ . Since P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } \mathbb{P}^{\otimes n}_{\theta}\{d_{\star}(\mathcal{D}_n) \le6\zeta\} P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } is at most the supremum of this likelihood ratio over this event and n ≥ n min ≥ c n N n \ge n_{\min} \ge c_nN n ≥ n m i n ≥ c n N for a constant c n > 0 c_n > 0 c n > 0 , we obtain, for ∥ Δ ∥ ≥ R N \lVert\Delta\rVert\ge R_N ∥ Δ ∥ ≥ R N ,
P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } ≤ exp ( − n c I 4 ∥ Δ ∥ 2 ) ≤ exp ( − c n c I N 4 R N 2 ) = N − C 2 K . \mathbb{P}^{\otimes n}_{\theta}\{d_{\star}(\mathcal{D}_n) \le6\zeta\} \le\exp\left(-\frac{nc_I}{4}\lVert\Delta\rVert^2\right) \le\exp\left(-\frac{c_nc_IN}{4}R_N^2\right) = N^{-C_2K}. P θ ⊗ n { d ⋆ ( D n ) ≤ 6 ζ } ≤ exp ( − 4 n c I ∥ Δ ∥ 2 ) ≤ exp ( − 4 c n c I N R N 2 ) = N − C 2 K .
where C 2 : = 144 c n C ∞ 2 / c I C_2 := 144c_nC_{\infty}^2/c_I C 2 := 144 c n C ∞ 2 / c I . For the first term, as d π P / d π K ≤ C w d\pi_P/d\pi_K \le C_w d π P / d π K ≤ C w , the Lebesgue density of θ P \theta_P θ P under π P \pi_P π P is at most
C w sup θ ∈ Θ K p K ( θ ) = C w ( K ! ) a Z K ( 2 π σ 2 ) K / 2 , C_w\sup_{\theta\in\Theta_K}p_K(\theta) = \frac{C_w(K!)^a}{Z_K(2\pi\sigma^2)^{K/2}}, C w θ ∈ Θ K sup p K ( θ ) = Z K ( 2 π σ 2 ) K /2 C w ( K ! ) a ,
where p K p_K p K is the density of π K \pi_K π K in the proof of Lemma F.15, and, multiplying this bound by the volume π K / 2 R N K / Γ ( K / 2 + 1 ) \pi^{K/2}R_N^K/\Gamma(K/2+1) π K /2 R N K /Γ ( K /2 + 1 ) of the ball, we obtain
log π P { θ : ∥ θ − θ ⋆ ∥ < R N } ≤ log C w Z K + a log ( K ! ) − log Γ ( K 2 + 1 ) + K 2 log R N 2 2 σ 2 ≤ a K log K − K 2 log N + C K log log N ≤ − ϵ 4 K log N . \begin{aligned}
\log\pi_P\{\theta:\lVert\theta-\theta_\star\rVert<R_N\} \le\log\frac{C_w}{Z_K}+a\log(K!)-\log\Gamma\left(\frac{K}{2}+1\right)+\frac{K}{2}\log\frac{R_N^2}{2\sigma^2} \\
&\le aK\log K-\frac{K}{2}\log N+CK\log\log N \\
&\le-\frac{\epsilon}{4}K\log N.
\end{aligned} log π P { θ : ∥ θ − θ ⋆ ∥ < R N } ≤ log Z K C w + a log ( K !) − log Γ ( 2 K + 1 ) + 2 K log 2 σ 2 R N 2 ≤ a K log K − 2 K log N + C K log log N ≤ − 4 ϵ K log N .
where we use K ! ≤ K K K! \le K^K K ! ≤ K K , Γ ( K / 2 + 1 ) ≥ { K / ( 2 e ) } K / 2 \Gamma(K/2+1) \ge\{K/(2e)\}^{K/2} Γ ( K /2 + 1 ) ≥ { K / ( 2 e ) } K /2 , inf K Z K > 0 \inf_K Z_K>0 inf K Z K > 0 and, for large N N N , K 2 a ≤ N 1 − ϵ K^{2a}\le N^{1-\epsilon} K 2 a ≤ N 1 − ϵ with ϵ : = ( 1 − 2 a κ ) / 2 > 0 \epsilon:= (1-2a\kappa)/2>0 ϵ := ( 1 − 2 aκ ) /2 > 0 , by Assumption 6. With c : = min ( ϵ / 16 , C 2 / 4 ) c:=\min(\epsilon/16,C_2/4) c := min ( ϵ /16 , C 2 /4 ) and T ≤ exp ( c K log N ) = N c K T\le\exp(cK\log N)=N^{cK} T ≤ exp ( cK log N ) = N cK , the right side of (F.91) is at most
N c K ( N − ϵ K / 4 + N − C 2 K ) ≤ 2 N − 3 c K ≤ N − c K . N^{cK}\left(N^{-\epsilon K/4}+N^{-C_2K}\right)\le2N^{-3cK}\le N^{-cK}. N cK ( N − ϵK /4 + N − C 2 K ) ≤ 2 N − 3 cK ≤ N − cK .
On E ⋆ \mathcal{E}_\star E ⋆ , by Definition F.3, f ^ V = f ^ V \widehat{f}^{\,V}=\widehat{f}^{\,V} f V = f V and ∥ β ^ p − β ^ p ∥ ≤ τ \lVert\widehat{\beta}^{\,p}-\widehat{\beta}^{\,p}\rVert\le\tau ∥ β p − β p ∥ ≤ τ at ( D n t ( t ) , q t ) (D^{(t)}_{n_t},q_t) ( D n t ( t ) , q t ) for all t ∈ [ T ] t\in[T] t ∈ [ T ] , so that, by (F.59) with n t n_t n t in place of N N N and by (2) , we obtain
R ^ T ( f ^ ′ ) ≤ R ^ T ( f ^ ) + C ℓ ( 1 + n max ) τ ≤ inf f ∈ F T R ^ T ( f ) + C ϵ o p t . (159) \widehat{R}_T(\widehat{f}^{\,\prime})\le\widehat{R}_T(\widehat{f})+C_\ell(1+n_{\max})\tau\le\inf_{f\in\mathcal{F}_T}\widehat{R}_T(f)+C\epsilon_{\mathrm{opt}}. \tag*{(159)} R T ( f ′ ) ≤ R T ( f ) + C ℓ ( 1 + n m a x ) τ ≤ f ∈ F T inf R T ( f ) + C ϵ opt . (159)
where C ℓ C_\ell C ℓ is the constant in (F.59) and C ≥ 1 + C ℓ ( 1 + n max ) / N C\ge1+C_\ell(1+n_{\max})/N C ≥ 1 + C ℓ ( 1 + n m a x ) / N is a constant, as n max ≲ N n_{\max}\lesssim N n m a x ≲ N .
Suppose next that f ^ \widehat{f} f satisfies (13) . By Hoeffding’s inequality and a union bound over the K K K coordinates of N b ( K ) \mathbb{N}b_{(K)} N b ( K ) , we have
P ⋆ ⊗ N { d ⋆ ( D N ) > 2 ζ } ≤ 2 K exp ( − N 2 C ∞ 2 ⋅ 4 C ∞ 2 log N N ) = 2 K N 2 . \mathbb{P}_{\star}^{\otimes N}\{d_{\star}(\mathcal{D}_N)>2\zeta\}\le2K\exp\left(-\frac{N}{2C_{\infty}^2}\cdot\frac{4C_{\infty}^2\log N}{N}\right)=\frac{2K}{N^2}. P ⋆ ⊗ N { d ⋆ ( D N ) > 2 ζ } ≤ 2 K exp ( − 2 C ∞ 2 N ⋅ N 4 C ∞ 2 log N ) = N 2 2 K .
Since N { β ^ p − β q ( P ⋆ ) } = O ν ( 1 ) \sqrt{N}\{\widehat{\beta}^{\,p}-\beta_q(\mathbb{P}_\star)\}=O_{\nu}(1) N { β p − β q ( P ⋆ )} = O ν ( 1 ) by (13) and ∥ β q ( P ⋆ ) ∥ < C β \lVert\beta_q(\mathbb{P}_\star)\rVert<C_\beta ∥ β q ( P ⋆ )∥ < C β for π q \pi_q π q -almost every q q q , by dominated convergence over π q \pi_q π q , we also have
P r ν ( ∥ β ^ p ∥ > C β − 2 N − 1 / 2 ) ⟶ 0. \mathop{\mathrm{Pr}}_{\nu}\left(\lVert\widehat{\beta}^{\,p}\rVert>C_\beta-2N^{-1/2}\right)\longrightarrow0. Pr ν ( ∥ β p ∥ > C β − 2 N − 1/2 ) ⟶ 0.
On { d ⋆ ( D N ) ≤ 2 ζ , ∥ β ^ p ∥ ≤ C β − 2 N − 1 / 2 } \{d_{\star}(\mathcal{D}_N)\le2\zeta,\ \lVert\widehat{\beta}^{\,p}\rVert\le C_\beta-2N^{-1/2}\} { d ⋆ ( D N ) ≤ 2 ζ , ∥ β p ∥ ≤ C β − 2 N − 1/2 } , we have ∥ N ( β ^ p − β ^ p ) − e 1 ∥ ≤ N τ ≤ N − 1 / 2 \lVert\sqrt{N}(\widehat{\beta}^{\,p}-\widehat{\beta}^{\,p})-e_1\rVert\le\sqrt{N}\tau\le N^{-1/2} ∥ N ( β p − β p ) − e 1 ∥ ≤ N τ ≤ N − 1/2 by Definition F.3, as ϵ o p t ≤ 1 \epsilon_{\mathrm{opt}} \le1 ϵ opt ≤ 1 for large N N N , and hence
N { f ^ β − β q ( P ⋆ ) } = N { f ^ β − β q ( P ⋆ ) } + e 1 + o ν ( 1 ) . \sqrt{N}\{\widehat{f}^{\beta}-\beta_q(\mathbb{P}_\star)\}=\sqrt{N}\{\widehat{f}^{\beta}-\beta_q(\mathbb{P}_\star)\}+e_1+o_\nu(1). N { f β − β q ( P ⋆ )} = N { f β − β q ( P ⋆ )} + e 1 + o ν ( 1 ) .
Conditional on ( q , T ) (q,\mathcal{T}) ( q , T ) , the left side therefore converges in distribution to N { e 1 , V q ⋆ ( P ⋆ ) } \mathcal{N}\{e_1,V_q^\star(\mathbb{P}_\star)\} N { e 1 , V q ⋆ ( P ⋆ )} in ν \nu ν -probability, so that f ^ ′ \widehat{f}' f ′ violates (13) .
Finally, let f ^ ′ ′ \widehat{f}'' f ′′ equal f ^ ′ \widehat{f}' f ′ and f ^ \widehat{f} f on E ⋆ E_\star E ⋆ and E ⋆ c E_\star^c E ⋆ c , respectively. By (F.92) and (2) , both f ^ ∈ F T F \widehat{f}\in\mathcal{F}_{\mathrm{TF}} f ∈ F TF and f ^ ′ ′ ∈ F T F \widehat{f}''\in\mathcal{F}_{\mathrm{TF}} f ′′ ∈ F TF satisfy (2) with C ϵ o p t = O ( N − K / 2 ) C\epsilon_{\mathrm{opt}}=O(N^{-K/2}) C ϵ opt = O ( N − K /2 ) in place of ϵ o p t \epsilon_{\mathrm{opt}} ϵ opt . As Pr ( E ⋆ c ) ≤ N − c K → 0 \Pr(E_\star^c)\le N^{-cK}\to0 Pr ( E ⋆ c ) ≤ N − cK → 0 , the map f ^ ′ ′ \widehat{f}'' f ′′ violates (13) whenever f ^ \widehat{f} f satisfies it, which completes the proof.
Transformer classes contain the bumps that the proposition requires. Let x ^ : = n − 1 ∑ i = 1 n b ^ K , ζ ( Z i ) \widehat{x}:=n^{-1}\sum_{i=1}^n\widehat{b}_{K,\zeta}(Z_i) x := n − 1 ∑ i = 1 n b K , ζ ( Z i ) for the features b ^ K , ζ \widehat{b}_{K,\zeta} b K , ζ of Lemma F.8 , so that ∥ x ^ − P n b ( K ) ∥ ∞ ≤ ζ \|\widehat{x}-\mathbb{P}^n b(K)\|_\infty\le\zeta ∥ x − P n b ( K ) ∥ ∞ ≤ ζ . A path with its own pooling head can add N − 1 / 2 e 1 φ ⋆ ( x ^ ) N^{-1/2}e_1\varphi_\star(\widehat{x}) N − 1/2 e 1 φ ⋆ ( x ) to the point estimate, where
φ ⋆ ( x ) : = min [ 1 , { 5 2 − ∥ x − s ⋆ ∥ ∞ 2 ζ } + ] for x ∈ R K \varphi_\star(x):=\min\left[1,\left\{\frac{5}{2}-\frac{\|x-s_\star\|_\infty}{2\zeta}\right\}_+\right]\quad\text{for }x\in\mathbb{R}^K φ ⋆ ( x ) := min [ 1 , { 2 5 − 2 ζ ∥ x − s ⋆ ∥ ∞ } + ] for x ∈ R K
satisfies φ ⋆ ( x ^ ) = 1 \varphi_\star(\widehat{x})=1 φ ⋆ ( x ) = 1 at contexts close to P ⋆ \mathbb{P}_\star P ⋆ and φ ⋆ ( x ^ ) = 0 \varphi_\star(\widehat{x})=0 φ ⋆ ( x ) = 0 at contexts far from P ⋆ \mathbb{P}_\star P ⋆ .
Affine maps and positive parts with width O ( K ) O(K) O ( K ) and depth O ( log K ) O(\log K) O ( log K ) compute φ ⋆ \varphi_\star φ ⋆ , which the GELU networks of Lemma F.6 approximate to accuracy N τ \sqrt{N}\tau N τ with coefficients polynomial in N / τ N/\tau N / τ . As clip C β \operatorname{clip}_{C_\beta} clip C β is nonexpansive and clip C β ( β ) = β \operatorname{clip}_{C_\beta}(\beta)=\beta clip C β ( β ) = β whenever ∥ β ∥ ≤ C β \|\beta\|\le C_\beta ∥ β ∥ ≤ C β , in particular for the shifted outputs at contexts with ∥ f ^ β ∥ ≤ C β − 2 N − 1 / 2 \|\widehat{f}^{\beta}\|\le C_\beta-2N^{-1/2} ∥ f β ∥ ≤ C β − 2 N − 1/2 , a Transformer class contains a bump of every member that leaves such a path unused.
Proof of Proposition C.1
Throughout, the basis bound C ∞ C_\infty C ∞ , the ℓ 1 \ell_1 ℓ 1 radius B B B of Θ K \Theta_K Θ K , the tilts P θ \mathbb{P}_\theta P θ and the model P \mathcal{P} P are as in Section B.2, the densities p : = d P / d P 0 p:=d\mathbb{P}/d\mathbb{P}_0 p := d P / d P 0 and p ′ : = d P ′ / d P 0 p':=d\mathbb{P}'/d\mathbb{P}_0 p ′ := d P ′ / d P 0 of P , P ′ ∈ P \mathbb{P},\mathbb{P}'\in\mathcal{P} P , P ′ ∈ P satisfy c 0 < p , p ′ < C 0 c_0<p,p'<C_0 c 0 < p , p ′ < C 0 , and the quantities of the examples, such as p 0 p_0 p 0 , e a e_a e a , F a , P F_{a,\mathbb{P}} F a , P , ξ a , P \xi_{a,\mathbb{P}} ξ a , P , λ l \lambda_l λ l and Σ W \Sigma_W Σ W , are as in Section C.
Proof. We bound conditional moments, expand each query to first order in the density, from which parts (i)–(iii) follow, and represent the queries as in Definition F.1.
Step 1: Conditional moments and (G.5). Let P , P ′ ∈ P \mathbb{P},\mathbb{P}'\in\mathcal{P} P , P ′ ∈ P , with h ′ : = h ( P ′ ) h':=h(\mathbb{P}') h ′ := h ( P ′ ) for each quantity h = h ( P ) h=h(\mathbb{P}) h = h ( P ) of the examples, and let δ : = ∥ p ′ − p ∥ L 2 ( P 0 ) \delta:=\|p'-p\|_{L_2(\mathbb{P}_0)} δ := ∥ p ′ − p ∥ L 2 ( P 0 ) and A ∈ { σ ( X ) , σ ( D , X ) } \mathcal{A}\in\{\sigma(X),\sigma(D,X)\} A ∈ { σ ( X ) , σ ( D , X )} . Since c 0 < p < C 0 c_0<p<C_0 c 0 < p < C 0 , we have
p E P 0 ( p ∣ A ) ∈ [ c 0 C 0 , C 0 c 0 ] . \frac{p}{\mathbb{E}_{\mathbb{P}_0}(p\mid\mathcal{A})}\in\left[\frac{c_0}{C_0},\frac{C_0}{c_0}\right]. E P 0 ( p ∣ A ) p ∈ [ C 0 c 0 , c 0 C 0 ] .
Hence a real outcome Y Y Y , which is N ( 0 , 1 ) \mathcal{N}(0,1) N ( 0 , 1 ) and independent of the other coordinates under P 0 \mathbb{P}_0 P 0 , has under P \mathbb{P} P a conditional density in [ c Φ ′ , C Φ ′ ] [c\Phi',C\Phi'] [ c Φ ′ , C Φ ′ ] and bounded conditional moments given them, and
c ≤ e a ≤ 1 − c , p G ≥ c 0 p 0 and inf y ∈ Y f a , P ( y ) ≥ c , (160) c\le e_a\le1-c,\qquad p_G\ge c_0p_0\qquad\text{and}\qquad\inf_{y\in\mathcal{Y}}f_{a,\mathbb{P}}(y)\ge c, \tag*{(160)} c ≤ e a ≤ 1 − c , p G ≥ c 0 p 0 and y ∈ Y inf f a , P ( y ) ≥ c , (160)
where Y ⊇ { ξ a , P ( u ) : P ∈ P , a ∈ { 0 , 1 } , u ∈ [ u ‾ , 1 − u ‾ ] } \mathcal{Y} \supseteq\{\xi_{a,\mathbb{P}}(u) : \mathbb{P} \in\mathcal{P},\ a \in\{0,1\},\ u \in[\underline{u},1-\underline{u}]\} Y ⊇ { ξ a , P ( u ) : P ∈ P , a ∈ { 0 , 1 } , u ∈ [ u , 1 − u ]} is a compact interval. In the survival example, for l ∈ [ J − 1 ] l \in[J-1] l ∈ [ J − 1 ] ,
P ( Y ≥ l ∣ X ) ∧ { 1 − λ l ( X ) } ≥ min a ∈ Z D P { ( Y , Δ ) = a ∣ X } ≥ c . (161) \mathbb{P}(Y \ge l \mid X) \wedge\{1-\lambda_l(X)\} \ge\min_{a \in\mathbb{Z}^{D}} \mathbb{P}\{(Y,\Delta)=a \mid X\} \ge c. \tag*{(161)} P ( Y ≥ l ∣ X ) ∧ { 1 − λ l ( X )} ≥ a ∈ Z D min P {( Y , Δ ) = a ∣ X } ≥ c . (161)
Since W W W is independent of X X X under P 0 \mathbb{P}_0 P 0 and Var P 0 ( W ) = I d W / 12 \operatorname{Var}_{\mathbb{P}_0}(W)=I_{d_W}/12 Var P 0 ( W ) = I d W /12 , we have, for v ∈ R d W v \in\mathbb{R}^{d_W} v ∈ R d W ,
v T Σ W v = inf h E P { v T W − h ( X ) } 2 ≥ c 0 inf h E P 0 { v T W − h ( X ) } 2 = c 0 12 ∥ v ∥ 2 , (162) v^{\mathsf{T}}\Sigma_Wv=\inf_h\mathbb{E}_{\mathbb{P}}\{v^{\mathsf{T}}W-h(X)\}^2 \ge c_0\inf_h\mathbb{E}_{\mathbb{P}_0}\{v^{\mathsf{T}}W-h(X)\}^2=\frac{c_0}{12}\lVert v\rVert^2, \tag*{(162)} v T Σ W v = h inf E P { v T W − h ( X ) } 2 ≥ c 0 h inf E P 0 { v T W − h ( X ) } 2 = 12 c 0 ∥ v ∥ 2 , (162)
where the infima run over measurable h h h with h ( X ) ∈ L 2 ( P 0 ) h(X) \in L_2(\mathbb{P}_0) h ( X ) ∈ L 2 ( P 0 ) , so that ∥ β ( P ) ∥ ≲ 1 \lVert\beta(\mathbb{P})\rVert\lesssim1 ∥ β ( P )∥ ≲ 1 by Cauchy–Schwarz. As β q ( P 0 ) = 0 \beta_q(\mathbb{P}_0)=0 β q ( P 0 ) = 0 for treatment effects and projections, β u ( P 0 ) ≤ J \beta_u(\mathbb{P}_0)\le J β u ( P 0 ) ≤ J for mean survival times and ∥ ψ P , q ∗ ( Z ) ∥ ≤ C ( 1 + ∣ Y ∣ ) \lVert\psi^*_{\mathbb{P},q}(Z)\rVert\le C(1+|Y|) ∥ ψ P , q ∗ ( Z )∥ ≤ C ( 1 + ∣ Y ∣ ) , we have
∥ β q ( P 0 ) ∥ + ∥ ψ P , q ∗ ∥ L 2 ( P ) ≤ C . (163) \lVert\beta_q(\mathbb{P}_0)\rVert+\lVert\psi^*_{\mathbb{P},q}\rVert_{L_2(\mathbb{P})}\le C. \tag*{(163)} ∥ β q ( P 0 )∥ + ∥ ψ P , q ∗ ∥ L 2 ( P ) ≤ C . (163)
For measurable f : Z → R f:\mathcal{Z}\to\mathbb{R} f : Z → R with E P 0 ( f 2 ∣ A ) ≤ C \mathbb{E}_{\mathbb{P}_0}(f^2\mid\mathcal{A})\le C E P 0 ( f 2 ∣ A ) ≤ C , we have
E P 0 ( f ∣ A ) − E P ( f ∣ A ) = E P 0 [ { f − E P ( f ∣ A ) } ( p ′ − p ) ∣ A ] E P 0 ( p ′ ∣ A ) , \mathbb{E}_{\mathbb{P}_0}(f\mid\mathcal{A})-\mathbb{E}_{\mathbb{P}}(f\mid\mathcal{A})=\frac{\mathbb{E}_{\mathbb{P}_0}[\{f-\mathbb{E}_{\mathbb{P}}(f\mid\mathcal{A})\}(p'-p)\mid\mathcal{A}]}{\mathbb{E}_{\mathbb{P}_0}(p'\mid\mathcal{A})}, E P 0 ( f ∣ A ) − E P ( f ∣ A ) = E P 0 ( p ′ ∣ A ) E P 0 [{ f − E P ( f ∣ A )} ( p ′ − p ) ∣ A ] ,
and hence, by conditional Cauchy–Schwarz, uniformly over such f f f , including 1 { Y ≤ y } 1\{Y\le y\} 1 { Y ≤ y } and 1 { ( Y , Δ ) = a } 1\{(Y,\Delta)=a\} 1 {( Y , Δ ) = a } ,
∥ E P 0 ( f ∣ A ) − E P ( f ∣ A ) ∥ L 2 ( P 0 ) ≤ C δ . (164) \lVert\mathbb{E}_{\mathbb{P}_0}(f\mid\mathcal{A})-\mathbb{E}_{\mathbb{P}}(f\mid\mathcal{A})\rVert_{L_2(\mathbb{P}_0)}\le C\delta. \tag*{(164)} ∥ E P 0 ( f ∣ A ) − E P ( f ∣ A ) ∥ L 2 ( P 0 ) ≤ C δ . (164)
Step 2: Expansion ((G.11)) and part (i). For a group effect, conditioning on X X X and using E P 0 { w G ( m 1 ′ − m 0 ′ − β G ′ ) } = 0 \mathbb{E}_{\mathbb{P}_0}\{w_G(m'_1-m'_0-\beta'_G)\}=0 E P 0 { w G ( m 1 ′ − m 0 ′ − β G ′ )} = 0 , we obtain
β G ′ − β G − E P ′ ψ P ′ , G ∗ = ( β G ′ − β G ) ( p G − p G ′ ) p G − 1 p G ′ E P ′ { w G ∑ a = 0 1 ( 2 a − 1 ) ( e a ′ − e a ) ( m a ′ − m a ) e a } . (165) \beta'_G-\beta_G-\mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P}',G}
=\frac{(\beta'_G-\beta_G)(p_G-p'_G)}{p_G}
-\frac{1}{p'_G}\mathbb{E}_{\mathbb{P}'}\left\{w_G\sum_{a=0}^{1}(2a-1)\frac{(e'_a-e_a)(m'_a-m_a)}{e_a}\right\}. \tag*{(165)} β G ′ − β G − E P ′ ψ P ′ , G ∗ = p G ( β G ′ − β G ) ( p G − p G ′ ) − p G ′ 1 E P ′ { w G a = 0 ∑ 1 ( 2 a − 1 ) e a ( e a ′ − e a ) ( m a ′ − m a ) } . (165)
and, by the same computation with 1 { Y ≤ y } 1\{Y\le y\} 1 { Y ≤ y } in place of Y Y Y , a single arm a ∈ { 0 , 1 } a\in\{0,1\} a ∈ { 0 , 1 } and w G ≡ 1 w_G\equiv1 w G ≡ 1 , we have
F a , P ′ ( y ) − F a , P ( y ) − E P ′ ψ a , P ( ⋅ ; y ) = − E P ′ [ { e a ′ ( X ) − e a ( X ) } { F a ′ ( y ∣ X ) − F a ( y ∣ X ) } e a ( X ) ] . (166) F_{a,\mathbb{P}'}(y)-F_{a,\mathbb{P}}(y)-\mathbb{E}_{\mathbb{P}'}\psi_{a,\mathbb{P}}(\cdot;y)
=-\mathbb{E}_{\mathbb{P}'}\left[\frac{\{e'_a(X)-e_a(X)\}\{F'_a(y\mid X)-F_a(y\mid X)\}}{e_a(X)}\right]. \tag*{(166)} F a , P ′ ( y ) − F a , P ( y ) − E P ′ ψ a , P ( ⋅ ; y ) = − E P ′ [ e a ( X ) { e a ′ ( X ) − e a ( X )} { F a ′ ( y ∣ X ) − F a ( y ∣ X )} ] . (166)
For the projection, whose contrasts follow by linearity, conditioning on X X X to remove the cross terms in E P ′ ψ P ′ ∗ \mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P}'} E P ′ ψ P ′ ∗ , we obtain
β ′ − β − E P ′ ψ P ′ ∗ = Σ W − 1 ( Σ W − Σ W ′ ) ( β ′ − β ) − Σ W − 1 E P ′ [ ( m W ′ − m W ) { m Y ′ − m Y − ( m W ′ − m W ) T β } ] . (167) \beta'-\beta-\mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P}'}
=\Sigma_W^{-1}(\Sigma_W-\Sigma'_W)(\beta'-\beta)-\Sigma_W^{-1}\mathbb{E}_{\mathbb{P}'}[(m'_W-m_W)\{m'_Y-m_Y-(m'_W-m_W)^{\mathsf{T}}\beta\}]. \tag*{(167)} β ′ − β − E P ′ ψ P ′ ∗ = Σ W − 1 ( Σ W − Σ W ′ ) ( β ′ − β ) − Σ W − 1 E P ′ [( m W ′ − m W ) { m Y ′ − m Y − ( m W ′ − m W ) T β }] . (167)
For a mean survival time, regarding μ u \mu_u μ u as a polynomial in ( λ l ) l < u (\lambda_l)_{l<u} ( λ l ) l < u , let ∂ l μ u : = ∂ μ u / ∂ λ l \partial_l\mu_u:=\partial\mu_u/\partial\lambda_l ∂ l μ u := ∂ μ u / ∂ λ l . By the EIF in Section C, we have
ψ P , u ∗ − μ u + β u = ∑ l < u ∂ l μ u P ( Y ≥ l ∣ X ) [ 1 { Y = l , Δ = 1 } − λ l 1 { Y ≥ l } ] \psi^*_{\mathbb{P},u}-\mu_u+\beta_u=\sum_{l<u}\frac{\partial_l\mu_u}{\mathbb{P}(Y\ge l\mid X)}\left[1\{Y=l,\Delta=1\}-\lambda_l1\{Y\ge l\}\right] ψ P , u ∗ − μ u + β u = l < u ∑ P ( Y ≥ l ∣ X ) ∂ l μ u [ 1 { Y = l , Δ = 1 } − λ l 1 { Y ≥ l } ]
where E P ′ [ 1 { Y = l , Δ = 1 } − λ l ′ 1 { Y ≥ l } ∣ X ] = ( λ l ′ − λ l ) P ′ ( Y ≥ l ∣ X ) \mathbb{E}_{\mathbb{P}'}[1\{Y=l,\Delta=1\}-\lambda'_l1\{Y\geq l\}\mid X]=(\lambda'_l-\lambda_l)\mathbb{P}'(Y\geq l\mid X) E P ′ [ 1 { Y = l , Δ = 1 } − λ l ′ 1 { Y ≥ l } ∣ X ] = ( λ l ′ − λ l ) P ′ ( Y ≥ l ∣ X ) . Hence
β u ′ − β u − E P ′ ψ P , u ∗ = E P ′ { μ u ′ − μ u − ∑ l < u ∂ l μ u ( λ l ′ − λ l ) } − E P ′ { ∑ l < u ∂ l μ u ( λ l ′ − λ l ) P ′ ( Y ≥ l ∣ X ) − P ( Y ≥ l ∣ X ) P ( Y ≥ l ∣ X ) } . (168) \beta'_u-\beta_u-\mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P},u}
=\mathbb{E}_{\mathbb{P}'}\left\{\mu'_u-\mu_u-\sum_{l<u}\partial_l\mu_u(\lambda'_l-\lambda_l)\right\}
-\mathbb{E}_{\mathbb{P}'}\left\{\sum_{l<u}\partial_l\mu_u(\lambda'_l-\lambda_l)\frac{\mathbb{P}'(Y\geq l\mid X)-\mathbb{P}(Y\geq l\mid X)}{\mathbb{P}(Y\geq l\mid X)}\right\}. \tag*{(168)} β u ′ − β u − E P ′ ψ P , u ∗ = E P ′ { μ u ′ − μ u − l < u ∑ ∂ l μ u ( λ l ′ − λ l ) } − E P ′ { l < u ∑ ∂ l μ u ( λ l ′ − λ l ) P ( Y ≥ l ∣ X ) P ′ ( Y ≥ l ∣ X ) − P ( Y ≥ l ∣ X ) } . (168)
where the first expectation is a second order Taylor remainder of μ u \mu_u μ u , and ∣ ∂ l μ u ∣ ≤ J / c |\partial_l\mu_u|\leq J/c ∣ ∂ l μ u ∣ ≤ J / c by (G.2).
Since p G p_G p G , E P { w G ( m 1 − m 0 ) } \mathbb{E}_{\mathbb{P}}\{w_G(m_1-m_0)\} E P { w G ( m 1 − m 0 )} , Σ W \Sigma_W Σ W and E P ( W Y ~ ) \mathbb{E}_{\mathbb{P}}(W\widetilde{Y}) E P ( W Y ) integrate conditional moments against p p p , by (G.1)–(G.5), we have, uniformly in y ∈ R y\in\mathbb{R} y ∈ R ,
∣ p G ′ − p G ∣ + ∣ β G ′ − β G ∣ + ∥ Σ W ′ − Σ W ∥ + ∥ β ′ − β ∥ + max g ∥ g ′ − g ∥ L 2 ( P 0 ) ≤ C δ , |p'_G-p_G|+|\beta'_G-\beta_G|+\|\Sigma'_W-\Sigma_W\|+\|\beta'-\beta\|+\max_g\|g'-g\|_{L_2(\mathbb{P}_0)}\leq C\delta, ∣ p G ′ − p G ∣ + ∣ β G ′ − β G ∣ + ∥ Σ W ′ − Σ W ∥ + ∥ β ′ − β ∥ + g max ∥ g ′ − g ∥ L 2 ( P 0 ) ≤ C δ ,
where the maximum runs over g ∈ { e a , m a , F a ( y ∣ ⋅ ) , m W , m Y , P ( Y ≥ l ∣ ⋅ ) , λ l } g\in\{e_a,m_a,F_a(y\mid\cdot),m_W,m_Y,\mathbb{P}(Y\geq l\mid\cdot),\lambda_l\} g ∈ { e a , m a , F a ( y ∣ ⋅ ) , m W , m Y , P ( Y ≥ l ∣ ⋅ ) , λ l } with a ∈ { 0 , 1 } a\in\{0,1\} a ∈ { 0 , 1 } and l ∈ [ J ] l\in[J] l ∈ [ J ] . Hence, by (G.6)–(G.9), uniformly in y y y and in q q q other than quantile effects,
∣ F a , P ′ ( y ) − F a , P ( y ) − E P ′ ψ a , P ( ⋅ ; y ) ∣ ≤ C δ 2 and ∥ β q ( P ′ ) − β q ( P ) − E P ′ ψ P , q ∗ ∥ ≤ C δ 2 . (169) |F_{a,\mathbb{P}'}(y)-F_{a,\mathbb{P}}(y)-\mathbb{E}_{\mathbb{P}'}\psi_{a,\mathbb{P}}(\cdot;y)|\leq C\delta^2
\quad\text{and}\quad
\|\beta_q(\mathbb{P}')-\beta_q(\mathbb{P})-\mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P},q}\|\leq C\delta^2. \tag*{(169)} ∣ F a , P ′ ( y ) − F a , P ( y ) − E P ′ ψ a , P ( ⋅ ; y ) ∣ ≤ C δ 2 and ∥ β q ( P ′ ) − β q ( P ) − E P ′ ψ P , q ∗ ∥ ≤ C δ 2 . (169)
For a ∈ { 0 , 1 } a\in\{0,1\} a ∈ { 0 , 1 } and u ∈ [ u ‾ , 1 − u ‾ ] u\in[\underline{u},1-\underline{u}] u ∈ [ u , 1 − u ] , let ξ : = ξ a , P ( u ) \xi:=\xi_{a,\mathbb{P}}(u) ξ := ξ a , P ( u ) and ξ ′ : = ξ a , P ′ ( u ) \xi':=\xi_{a,\mathbb{P}'}(u) ξ ′ := ξ a , P ′ ( u ) , both in Y \mathcal{Y} Y . Since F a , P ′ ( ξ ′ ) = u = F a , P ( ξ ) F_{a,\mathbb{P}'}(\xi')=u=F_{a,\mathbb{P}}(\xi) F a , P ′ ( ξ ′ ) = u = F a , P ( ξ ) and E P ψ a , P ( ⋅ ; y ) = 0 \mathbb{E}_{\mathbb{P}}\psi_{a,\mathbb{P}}(\cdot;y)=0 E P ψ a , P ( ⋅ ; y ) = 0 , by the mean value theorem for y ↦ F a , P ( y ) y\mapsto F_{a,\mathbb{P}}(y) y ↦ F a , P ( y ) and (G.10), for some ξ s ∈ [ ξ ∧ ξ ′ , ξ ∨ ξ ′ ] \xi_s\in[\xi\wedge\xi',\xi\vee\xi'] ξ s ∈ [ ξ ∧ ξ ′ , ξ ∨ ξ ′ ] ,
f a , P ( ξ s ) ( ξ ′ − ξ ) = F a , P ( ξ ′ ) − F a , P ′ ( ξ ′ ) = − ∫ ψ a , P ( ⋅ ; ξ ′ ) ( p ′ − p ) d P 0 + O ( δ 2 ) . f_{a,\mathbb{P}}(\xi_s)(\xi'-\xi)=F_{a,\mathbb{P}}(\xi')-F_{a,\mathbb{P}'}(\xi')=-\int\psi_{a,\mathbb{P}}(\cdot;\xi')(p'-p)\,d\mathbb{P}_0+O(\delta^2). f a , P ( ξ s ) ( ξ ′ − ξ ) = F a , P ( ξ ′ ) − F a , P ′ ( ξ ′ ) = − ∫ ψ a , P ( ⋅ ; ξ ′ ) ( p ′ − p ) d P 0 + O ( δ 2 ) .
Hence ∣ ξ ′ − ξ ∣ ≤ C δ |\xi'-\xi|\leq C\delta ∣ ξ ′ − ξ ∣ ≤ C δ by (G.1), and, since f a , P f_{a,\mathbb{P}} f a , P is continuous and y ↦ ψ a , P ( ⋅ ; y ) y\mapsto\psi_{a,\mathbb{P}}(\cdot;y) y ↦ ψ a , P ( ⋅ ; y ) is continuous into L 2 ( P 0 ) L_2(\mathbb{P}_0) L 2 ( P 0 ) , we have
ξ ′ − ξ = − 1 f a , P ( ξ ) ∫ ψ a , P ( ⋅ ; ξ ) ( p ′ − p ) d P 0 + o ( δ ) . \xi'-\xi=-\frac{1}{f_{a,\mathbb{P}}(\xi)}\int\psi_{a,\mathbb{P}}(\cdot;\xi)(p'-p)\,d\mathbb{P}_0+o(\delta). ξ ′ − ξ = − f a , P ( ξ ) 1 ∫ ψ a , P ( ⋅ ; ξ ) ( p ′ − p ) d P 0 + o ( δ ) .
Since E P ψ P , q ∗ = 0 \mathbb{E}_{\mathbb{P}}\psi^*_{\mathbb{P},q}=0 E P ψ P , q ∗ = 0 , we have E P ′ ψ P , q ∗ = ∫ ψ P , q ∗ ( p ′ − p ) d P 0 \mathbb{E}_{\mathbb{P}'}\psi^*_{\mathbb{P},q}=\int\psi^*_{\mathbb{P},q}(p'-p)\,d\mathbb{P}_0 E P ′ ψ P , q ∗ = ∫ ψ P , q ∗ ( p ′ − p ) d P 0 and, subtracting the two arms for quantile effects, we obtain, for every q ∈ Q q\in\mathcal{Q} q ∈ Q ,
β q ( P ′ ) − β q ( P ) − ∫ ψ P , q ∗ ( p ′ − p ) d P 0 = o ( δ ) as δ → 0. (170) \beta_q(\mathbb{P}')-\beta_q(\mathbb{P})-\int\psi^*_{\mathbb{P},q}(p'-p)\,d\mathbb{P}_0=o(\delta)\quad\text{as}\quad\delta\to0. \tag*{(170)} β q ( P ′ ) − β q ( P ) − ∫ ψ P , q ∗ ( p ′ − p ) d P 0 = o ( δ ) as δ → 0. (170)
Let P τ ∈ P \mathbb{P}_\tau\in\mathcal{P} P τ ∈ P , with density p τ : = d P τ / d P 0 p_\tau:=d\mathbb{P}_\tau/d\mathbb{P}_0 p τ := d P τ / d P 0 , be differentiable in quadratic mean at P \mathbb{P} P with score s s s , that is,
p τ − p = τ 2 s p + r τ with ∥ r τ ∥ L 2 ( P 0 ) = o ( ∣ τ ∣ ) , \sqrt{p_\tau}-\sqrt{p}=\frac{\tau}{2}s\sqrt{p}+r_\tau
\quad\text{with}\quad
\|r_\tau\|_{L_2(\mathbb{P}_0)}=o(|\tau|), p τ − p = 2 τ s p + r τ with ∥ r τ ∥ L 2 ( P 0 ) = o ( ∣ τ ∣ ) ,
and hence, multiplying by p τ + p \sqrt{p_\tau}+\sqrt{p} p τ + p , we obtain
p τ − p − τ p s = r τ ( p τ + p ) + τ 2 s p ( p τ − p ) . p_\tau-p-\tau ps=r_\tau(\sqrt{p_\tau}+\sqrt{p})+\frac{\tau}{2}s\sqrt{p}(\sqrt{p_\tau}-\sqrt{p}). p τ − p − τ p s = r τ ( p τ + p ) + 2 τ s p ( p τ − p ) .
Since p τ , p ≤ C 0 p_{\tau},p\le C_{0} p τ , p ≤ C 0 and p τ → p \sqrt{p_{\tau}}\to\sqrt{p} p τ → p in L 2 ( P 0 ) L_{2}(\mathbb{P}_{0}) L 2 ( P 0 ) , by dominated convergence along subsequences, ∥ p τ − p − τ p s ∥ L 2 ( P 0 ) = o ( ∣ τ ∣ ) \lVert p_{\tau}-p-\tau ps\rVert_{L_{2}(\mathbb{P}_{0})}=o(|\tau|) ∥ p τ − p − τ p s ∥ L 2 ( P 0 ) = o ( ∣ τ ∣ ) . Hence, by (G.11), differentiating in τ \tau τ at τ = 0 \tau=0 τ = 0 , we obtain
d d τ β q ( P τ ) ∣ τ = 0 = ∫ ψ P , q ⋆ p s d P 0 = E P ( ψ P , q ⋆ s ) . \left.\frac{d}{d\tau}\beta_{q}(\mathbb{P}_{\tau})\right|_{\tau=0}=\int\psi_{\mathbb{P},q}^{\star}ps\,d\mathbb{P}_{0}=\mathbb{E}_{\mathbb{P}}(\psi_{\mathbb{P},q}^{\star}s). d τ d β q ( P τ ) τ = 0 = ∫ ψ P , q ⋆ p s d P 0 = E P ( ψ P , q ⋆ s ) .
As ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ lies in L 0 ( P ) L^{0}(\mathbb{P}) L 0 ( P ) , the tangent space of P \mathcal{P} P at P \mathbb{P} P in Section B.2, this gradient is the EIF of β q \beta_{q} β q at P \mathbb{P} P , which, with (G.4), proves part (i).
Step 3: Continuity of ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ and part (iii). For group effects, mean survival times and projections, by (G.1)–(G.5) and the independence of Y Y Y and the other coordinates under P 0 \mathbb{P}_{0} P 0 , each term ϕ P \phi_{\mathbb{P}} ϕ P of ψ P , q ⋆ \psi_{\mathbb{P},q}^{\star} ψ P , q ⋆ satisfies ∥ ϕ P ′ − ϕ P ∥ L 2 ( P 0 ) ≤ C δ \lVert\phi_{\mathbb{P}'}-\phi_{\mathbb{P}}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\delta ∥ ϕ P ′ − ϕ P ∥ L 2 ( P 0 ) ≤ C δ , so that
∥ ψ P ′ , q ⋆ − ψ P , q ⋆ ∥ L 2 ( P 0 ) ≤ C ∥ p ′ − p ∥ L 2 ( P 0 ) . (171) \lVert\psi_{\mathbb{P}',q}^{\star}-\psi_{\mathbb{P},q}^{\star}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\lVert p'-p\rVert_{L_{2}(\mathbb{P}_{0})}. \tag*{(171)} ∥ ψ P ′ , q ⋆ − ψ P , q ⋆ ∥ L 2 ( P 0 ) ≤ C ∥ p ′ − p ∥ L 2 ( P 0 ) . (171)
Since ψ P , G ⋆ \psi_{\mathbb{P},G}^{\star} ψ P , G ⋆ depends on G G G only through w G w_{G} w G , p G p_{G} p G and β G \beta_{G} β G , for rectangles G G G and G ′ G' G ′ we have
∥ ψ P , G ′ ⋆ − ψ P , G ⋆ ∥ L 2 ( P 0 ) ≤ C P 0 ( X ∈ G △ G ′ ) 1 2 , \lVert\psi_{\mathbb{P},G'}^{\star}-\psi_{\mathbb{P},G}^{\star}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\mathbb{P}_{0}(X\in G\mathbin{\triangle}G')^{\frac{1}{2}}, ∥ ψ P , G ′ ⋆ − ψ P , G ⋆ ∥ L 2 ( P 0 ) ≤ C P 0 ( X ∈ G △ G ′ ) 2 1 ,
which tends to zero as ∥ u ′ − u ∥ → 0 \lVert u'-u\rVert\to0 ∥ u ′ − u ∥ → 0 for the endpoint vectors u u u and u ′ u' u ′ of G G G and G ′ G' G ′ , while ∥ M ′ ψ P ⋆ − M ψ P ⋆ ∥ L 2 ( P 0 ) ≤ ∥ M ′ − M ∥ o p ∥ ψ P ⋆ ∥ L 2 ( P 0 ) \lVert M'\psi_{\mathbb{P}}^{\star}-M\psi_{\mathbb{P}}^{\star}\rVert_{L_{2}(\mathbb{P}_{0})}\le\lVert M'-M\rVert_{\mathrm{op}}\lVert\psi_{\mathbb{P}}^{\star}\rVert_{L_{2}(\mathbb{P}_{0})} ∥ M ′ ψ P ⋆ − M ψ P ⋆ ∥ L 2 ( P 0 ) ≤ ∥ M ′ − M ∥ op ∥ ψ P ⋆ ∥ L 2 ( P 0 ) for contrasts and the horizons u ∈ { 2 , ⋯ , J } u\in\{2,\cdots,J\} u ∈ { 2 , ⋯ , J } form a finite set.
For quantile effects, by Step 2 and the conditional density bounds of Step 1, we have
∣ ξ a , P ′ ( u ′ ) − ξ a , P ( u ) ∣ ≤ C ( δ + ∣ u ′ − u ∣ ) and sup y ∈ R ∣ f a , P ′ ( y ) − f a , P ( y ) ∣ ≤ C ∥ p ′ − p ∥ ∞ . \left|\xi_{a,\mathbb{P}'}(u')-\xi_{a,\mathbb{P}}(u)\right|\le C(\delta+|u'-u|)\quad\text{and}\quad\sup_{y\in\mathbb{R}}|f_{a,\mathbb{P}'}(y)-f_{a,\mathbb{P}}(y)|\le C\lVert p'-p\rVert_{\infty}. ∣ ξ a , P ′ ( u ′ ) − ξ a , P ( u ) ∣ ≤ C ( δ + ∣ u ′ − u ∣ ) and y ∈ R sup ∣ f a , P ′ ( y ) − f a , P ( y ) ∣ ≤ C ∥ p ′ − p ∥ ∞ .
Since f a , P f_{a,\mathbb{P}} f a , P is continuous and ∥ 1 { Y ≤ y ′ } − 1 { Y ≤ y } ∥ L 2 ( P 0 ) 2 = ∣ Φ ( y ′ ) − Φ ( y ) ∣ \lVert1\{Y\le y'\}-1\{Y\le y\}\rVert_{L_{2}(\mathbb{P}_{0})}^{2}=|\Phi(y')-\Phi(y)| ∥ 1 { Y ≤ y ′ } − 1 { Y ≤ y } ∥ L 2 ( P 0 ) 2 = ∣Φ ( y ′ ) − Φ ( y ) ∣ , the L 2 ( P 0 ) L_{2}(\mathbb{P}_{0}) L 2 ( P 0 ) norm of every term of ψ P ′ , ( k , u ′ ) ⋆ − ψ P , ( k , u ) ⋆ \psi_{\mathbb{P}',(k,u')}^{\star}-\psi_{\mathbb{P},(k,u)}^{\star} ψ P ′ , ( k , u ′ ) ⋆ − ψ P , ( k , u ) ⋆ tends to zero as ∥ p ′ − p ∥ ∞ + ∣ u ′ − u ∣ → 0 \lVert p'-p\rVert_{\infty}+|u'-u|\to0 ∥ p ′ − p ∥ ∞ + ∣ u ′ − u ∣ → 0 , which proves part (iii).
Step 4: Lipschitz bound on D q D_{q} D q and part (ii). For θ , θ ′ ∈ R K \theta,\theta'\in\mathbb{R}^{K} θ , θ ′ ∈ R K with ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 \lVert\theta\rVert_{1},\lVert\theta'\rVert_{1}\le B+1 ∥ θ ∥ 1 , ∥ θ ′ ∥ 1 ≤ B + 1 and v , w ∈ R K v,w\in\mathbb{R}^{K} v , w ∈ R K , let p θ : = d P θ / d P 0 p_{\theta}:=d\mathbb{P}_{\theta}/d\mathbb{P}_{0} p θ := d P θ / d P 0 , s θ , v : = v T { b K − E P θ b K } s_{\theta,v}:=v^{\mathsf{T}}\{b_{K}-\mathbb{E}_{\mathbb{P}_{\theta}}b_{K}\} s θ , v := v T { b K − E P θ b K } and ∂ v φ ( θ ) : = ( d / d t ) φ ( θ + t v ) ∣ t = 0 \partial_{v}\varphi(\theta):=(d/dt)\varphi(\theta+tv)|_{t=0} ∂ v φ ( θ ) := ( d / d t ) φ ( θ + t v ) ∣ t = 0 , so that
∂ v p θ = p θ s θ , v and ∂ w ∂ v p θ = p θ { s θ , v s θ , w − v T I K ( θ ) w } , \partial_{v}p_{\theta}=p_{\theta}s_{\theta,v}\quad\text{and}\quad\partial_{w}\partial_{v}p_{\theta}=p_{\theta}\{s_{\theta,v}s_{\theta,w}-v^{\mathsf{T}}I_{K}(\theta)w\}, ∂ v p θ = p θ s θ , v and ∂ w ∂ v p θ = p θ { s θ , v s θ , w − v T I K ( θ ) w } ,
where I K ( θ ) = Cov P θ { b K } I_{K}(\theta)=\operatorname{Cov}_{\mathbb{P}_{\theta}}\{b_{K}\} I K ( θ ) = Cov P θ { b K } . Since ∣ s θ , v ∣ ≤ 2 C ∞ K ∥ v ∥ |s_{\theta,v}|\le2C_{\infty}\sqrt{K}\lVert v\rVert ∣ s θ , v ∣ ≤ 2 C ∞ K ∥ v ∥ and ∥ s θ , v ∥ L 2 ( P 0 ) ≤ C ∥ v ∥ \lVert s_{\theta,v}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\lVert v\rVert ∥ s θ , v ∥ L 2 ( P 0 ) ≤ C ∥ v ∥ , by Lemma E.1 and, for (G.14), integrating t ↦ ∂ θ ′ − θ ∂ v p θ + t ( θ ′ − θ ) t\mapsto\partial_{\theta'-\theta}\partial_{v}p_{\theta+t(\theta'-\theta)} t ↦ ∂ θ ′ − θ ∂ v p θ + t ( θ ′ − θ ) over t ∈ [ 0 , 1 ] t\in[0,1] t ∈ [ 0 , 1 ] , we have
∥ ∂ v p θ ∥ L 2 ( P 0 ) ≤ C ∥ v ∥ and ∥ ∂ v p θ ∥ ∞ ≤ C K ∥ v ∥ , (172) \lVert\partial_{v}p_{\theta}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\lVert v\rVert\quad\text{and}\quad\lVert\partial_{v}p_{\theta}\rVert_{\infty}\le C\sqrt{K}\lVert v\rVert, \tag*{(172)} ∥ ∂ v p θ ∥ L 2 ( P 0 ) ≤ C ∥ v ∥ and ∥ ∂ v p θ ∥ ∞ ≤ C K ∥ v ∥ , (172)
∥ ∂ v p θ ′ − ∂ v p θ ∥ L 2 ( P 0 ) ≤ C K ∥ v ∥ ∥ θ ′ − θ ∥ . (173) \lVert\partial_{v}p_{\theta'}-\partial_{v}p_{\theta}\rVert_{L_{2}(\mathbb{P}_{0})}\le C\sqrt{K}\lVert v\rVert\lVert\theta'-\theta\rVert. \tag*{(173)} ∥ ∂ v p θ ′ − ∂ v p θ ∥ L 2 ( P 0 ) ≤ C K ∥ v ∥ ∥ θ ′ − θ ∥ . (173)
Since ∥ p θ + τ v − p θ − τ ∂ v p θ ∥ ∞ = O ( τ 2 ) \lVert p_{\theta+\tau v}-p_{\theta}-\tau\partial_{v}p_{\theta}\rVert_{\infty}=O(\tau^{2}) ∥ p θ + τ v − p θ − τ ∂ v p θ ∥ ∞ = O ( τ 2 ) , by (G.11) we have D q ( θ ) v = ∫ ψ P θ , q ⋆ ∂ v p θ d P 0 D_{q}(\theta)v=\int\psi_{\mathbb{P}_{\theta},q}^{\star}\partial_{v}p_{\theta}\,d\mathbb{P}_{0} D q ( θ ) v = ∫ ψ P θ , q ⋆ ∂ v p θ d P 0 for the Jacobian D q ( θ ) = ∂ β q ( P θ ) / ∂ θ T D_{q}(\theta)=\partial\beta_{q}(\mathbb{P}_{\theta})/\partial\theta^{\mathsf{T}} D q ( θ ) = ∂ β q ( P θ ) / ∂ θ T , and hence
{ D q ( θ ′ ) − D q ( θ ) } v = ∫ ( ψ P θ ′ , q ⋆ − ψ P θ , q ⋆ ) ∂ v p θ ′ d P 0 + ∫ ψ P θ , q ⋆ ( ∂ v p θ ′ − ∂ v p θ ) d P 0 . (174) \{D_{q}(\theta')-D_{q}(\theta)\}v=\int(\psi_{\mathbb{P}_{\theta'},q}^{\star}-\psi_{\mathbb{P}_{\theta},q}^{\star})\partial_{v}p_{\theta'}\,d\mathbb{P}_{0}+\int\psi_{\mathbb{P}_{\theta},q}^{\star}(\partial_{v}p_{\theta'}-\partial_{v}p_{\theta})\,d\mathbb{P}_{0}. \tag*{(174)} { D q ( θ ′ ) − D q ( θ )} v = ∫ ( ψ P θ ′ , q ⋆ − ψ P θ , q ⋆ ) ∂ v p θ ′ d P 0 + ∫ ψ P θ , q ⋆ ( ∂ v p θ ′ − ∂ v p θ ) d P 0 . (174)
By (G.4), (G.12), (G.13), (G.14) and ∥ p θ ′ − p θ ∥ L 2 ( P 0 ) ≤ C ∥ θ ′ − θ ∥ \|p_{\theta'}-p_\theta\|_{L_2(P_0)} \le C\|\theta'-\theta\| ∥ p θ ′ − p θ ∥ L 2 ( P 0 ) ≤ C ∥ θ ′ − θ ∥ , we bound both integrals in norm by C K ∥ v ∥ ∥ θ ′ − θ ∥ C\sqrt{K}\|v\|\|\theta'-\theta\| C K ∥ v ∥∥ θ ′ − θ ∥ for group effects, mean survival times and projections.
For quantile effects at level u u u , let ξ : = ξ a , P θ ( u ) \xi:= \xi_{a,P_\theta}(u) ξ := ξ a , P θ ( u ) and ξ ′ : = ξ a , P θ ′ ( u ) \xi' := \xi_{a,P_{\theta'}}(u) ξ ′ := ξ a , P θ ′ ( u ) for a ∈ { 0 , 1 } a \in\{0,1\} a ∈ { 0 , 1 } , so that ∣ ξ ′ − ξ ∣ ≤ C ∥ θ ′ − θ ∥ \lvert\xi'-\xi\rvert\le C\|\theta'-\theta\| ∣ ξ ′ − ξ ∣ ≤ C ∥ θ ′ − θ ∥ by Step 2. Since
∥ log p θ ′ − log p θ ∥ ∞ ≤ C K ∥ θ ′ − θ ∥ and ∥ ∂ y θ T b ( K ) ∥ ∞ ≤ C m K ≤ C K , \|\log p_{\theta'}-\log p_\theta\|_\infty\le C\sqrt{K}\|\theta'-\theta\| \quad\text{and} \quad\|\partial_y\theta^\mathsf{T}b_{(K)}\|_\infty\le Cm_K \le C\sqrt{K}, ∥ log p θ ′ − log p θ ∥ ∞ ≤ C K ∥ θ ′ − θ ∥ and ∥ ∂ y θ T b ( K ) ∥ ∞ ≤ C m K ≤ C K ,
where the last bound follows from (F.33) for the largest coordinate frequency m K m_K m K among b 1 , … , b K b_1,\ldots,b_K b 1 , … , b K and d = 1 + d X ≥ 2 d=1+d_X\ge2 d = 1 + d X ≥ 2 , we have
∣ f a , P θ ′ ( ξ ′ ) − f a , P θ ( ξ ) ∣ ≤ C K ∥ θ ′ − θ ∥ + C ( 1 + m K ) ∣ ξ ′ − ξ ∣ ≤ C K ∥ θ ′ − θ ∥ . \lvert f_{a,P_{\theta'}}(\xi')-f_{a,P_\theta}(\xi)\rvert\le C\sqrt{K}\|\theta'-\theta\|+C(1+m_K)\lvert\xi'-\xi\rvert\le C\sqrt{K}\|\theta'-\theta\|. ∣ f a , P θ ′ ( ξ ′ ) − f a , P θ ( ξ )∣ ≤ C K ∥ θ ′ − θ ∥ + C ( 1 + m K ) ∣ ξ ′ − ξ ∣ ≤ C K ∥ θ ′ − θ ∥.
Moreover, with e a ′ ( x ) : = P θ ′ ( D = a ∣ X = x ) e'_a(x):=P_{\theta'}(D=a\mid X=x) e a ′ ( x ) := P θ ′ ( D = a ∣ X = x ) , we have
ψ a , P θ ′ ( ⋅ ; ξ ′ ) − ψ a , P θ ( ⋅ ; ξ ) = 1 { D = a } e a ′ ( X ) { 1 { Y ≤ ξ ′ } − 1 { Y ≤ ξ } } + R a , \psi_{a,P_{\theta'}}(\cdot;\xi')-\psi_{a,P_\theta}(\cdot;\xi)=\frac{1\{D=a\}}{e'_a(X)}\{1\{Y\le\xi'\}-1\{Y\le\xi\}\}+R_a, ψ a , P θ ′ ( ⋅ ; ξ ′ ) − ψ a , P θ ( ⋅ ; ξ ) = e a ′ ( X ) 1 { D = a } { 1 { Y ≤ ξ ′ } − 1 { Y ≤ ξ }} + R a ,
where the remainder R a R_a R a satisfies ∥ R a ∥ L 2 ( P 0 ) ≤ C ∥ θ ′ − θ ∥ \|R_a\|_{L_2(P_0)}\le C\|\theta'-\theta\| ∥ R a ∥ L 2 ( P 0 ) ≤ C ∥ θ ′ − θ ∥ by (G.1) and (G.5), and, by (G.13) and Φ ′ ≤ 1 \Phi'\le1 Φ ′ ≤ 1 ,
∣ ∫ 1 { D = a } e a ′ ( X ) { 1 { Y ≤ ξ ′ } − 1 { Y ≤ ξ } } ∂ v p θ ′ d P 0 ∣ ≤ C K ∥ v ∥ ∣ ξ ′ − ξ ∣ . \left|\int\frac{1\{D=a\}}{e'_a(X)}\{1\{Y\le\xi'\}-1\{Y\le\xi\}\}\partial_vp_{\theta'}\,dP_0\right|\le C\sqrt{K}\|v\|\lvert\xi'-\xi\rvert. ∫ e a ′ ( X ) 1 { D = a } { 1 { Y ≤ ξ ′ } − 1 { Y ≤ ξ }} ∂ v p θ ′ d P 0 ≤ C K ∥ v ∥ ∣ ξ ′ − ξ ∣ .
Since ψ P , u ∗ = ∑ a = 0 1 ( 1 − 2 a ) ψ a , P { ⋅ ; ξ a , P ( u ) } / f a , P { ξ a , P ( u ) } \psi^*_{P,u}=\sum_{a=0}^{1}(1-2a)\psi_{a,P}\{\cdot;\xi_{a,P}(u)\}/f_{a,P}\{\xi_{a,P}(u)\} ψ P , u ∗ = ∑ a = 0 1 ( 1 − 2 a ) ψ a , P { ⋅ ; ξ a , P ( u )} / f a , P { ξ a , P ( u )} , we obtain, for every q ∈ Q q\in\mathcal{Q} q ∈ Q ,
∥ D q ( θ ′ ) − D q ( θ ) ∥ o p = sup v ∈ R K : ∥ v ∥ = 1 ∣ { D q ( θ ′ ) − D q ( θ ) } v ∣ ≤ C K ∥ θ ′ − θ ∥ , \|D_q(\theta')-D_q(\theta)\|_{\mathrm{op}}=\sup_{v\in\mathbb{R}^K:\|v\|=1}\left|\{D_q(\theta')-D_q(\theta)\}v\right|\le C\sqrt{K}\|\theta'-\theta\|, ∥ D q ( θ ′ ) − D q ( θ ) ∥ op = v ∈ R K : ∥ v ∥ = 1 sup ∣ { D q ( θ ′ ) − D q ( θ )} v ∣ ≤ C K ∥ θ ′ − θ ∥ ,
which is part (ii).
Step 5: Integral representations and part (iv). Let x 0 : = Φ ( y ) x_0:=\Phi(y) x 0 := Φ ( y ) , let x ∈ [ 0 , 1 ] d X x\in[0,1]^{d_X} x ∈ [ 0 , 1 ] d X denote the value of X X X , let p a ( x 0 , x ) : = e g θ , a ( x 0 , x ) p_a(x_0,x):=e^{g_{\theta,a}(x_0,x)} p a ( x 0 , x ) := e g θ , a ( x 0 , x ) , with g θ , a g_{\theta,a} g θ , a as in Section F.1.2, be the generating fields of condition (I1), and define
ϱ a ( x ) : = ∫ 0 1 p a ( x 0 , x ) d x 0 and μ a ( x ) : = ∫ 0 1 Φ − 1 ( x 0 ) p a ( x 0 , x ) d x 0 , \varrho_a(x):=\int_0^1p_a(x_0,x)\,dx_0 \quad\text{and}\quad\mu_a(x):=\int_0^1\Phi^{-1}(x_0)p_a(x_0,x)\,dx_0, ϱ a ( x ) := ∫ 0 1 p a ( x 0 , x ) d x 0 and μ a ( x ) := ∫ 0 1 Φ − 1 ( x 0 ) p a ( x 0 , x ) d x 0 ,
where Φ − 1 ∈ L 1 ( [ 0 , 1 ] ) \Phi^{-1}\in L_1([0,1]) Φ − 1 ∈ L 1 ([ 0 , 1 ]) . With ϱ : = ( ϱ 0 + ϱ 1 ) / 2 \varrho:=(\varrho_0+\varrho_1)/2 ϱ := ( ϱ 0 + ϱ 1 ) /2 , we have d P θ , X / d x ∝ ϱ dP_{\theta,X}/dx\propto\varrho d P θ , X / d x ∝ ϱ for the distribution P θ , X P_{\theta,X} P θ , X of X X X under P θ P_\theta P θ , and m a = μ a / ϱ a m_a=\mu_a/\varrho_a m a = μ a / ϱ a , so that, cancelling the factor e − A K ( θ ) e^{-A_K(\theta)} e − A K ( θ ) , we have
β G ( P θ ) = ∫ G ϱ ( μ 1 / ϱ 1 − μ 0 / ϱ 0 ) d x ∫ G ϱ d x . \beta_G(P_\theta)=\frac{\int_G\varrho(\mu_1/\varrho_1-\mu_0/\varrho_0)\,dx}{\int_G\varrho\,dx}. β G ( P θ ) = ∫ G ϱ d x ∫ G ϱ ( μ 1 / ϱ 1 − μ 0 / ϱ 0 ) d x .
Since ϱ a ≥ c \varrho_a\ge c ϱ a ≥ c and ∫ G ϱ d x ≥ c p 0 \int_G\varrho\,dx\ge cp_0 ∫ G ϱ d x ≥ c p 0 , the equation map and the readout of condition (I2),
F k ( θ , v , u ) : = v − β G ( P θ ) and R k ( v , u ) : = v , F_k(\theta,v,u):=v-\beta_G(P_\theta)\quad\text{and}\quad R_k(v,u):=v, F k ( θ , v , u ) := v − β G ( P θ ) and R k ( v , u ) := v ,
represent group effects on a box, with rectangle endpoints as integration limits and polynomial selectors for finite collections.
For mean survival times, V = X V=X V = X and a ∈ Z D a\in\mathcal{Z}_{D} a ∈ Z D ranges over the values of ( Y , Δ ) (Y,\Delta) ( Y , Δ ) , so that, with the fields p a ( x ) : = e g θ , a ( x ) p_a(x):=e^{g_{\theta,a}(x)} p a ( x ) := e g θ , a ( x ) ,
d P θ , X d x ∝ ∑ a p a and P θ { ( Y , Δ ) = a ∣ X = x } = p a ( x ) ∑ a ′ p a ′ ( x ) . \frac{\mathrm{d}\mathbb{P}_{\theta,X}}{\mathrm{d}x}\propto\sum_a p_a
\quad\text{and}\quad
\mathbb{P}_{\theta}\{(Y,\Delta)=a\mid X=x\}=\frac{p_a(x)}{\sum_{a'}p_{a'}(x)}. d x d P θ , X ∝ a ∑ p a and P θ {( Y , Δ ) = a ∣ X = x } = ∑ a ′ p a ′ ( x ) p a ( x ) .
Hence, for l ∈ [ J ] l\in[J] l ∈ [ J ] ,
1 − λ l = p ( l , 0 ) + ∑ j > l { p ( j , 0 ) + p ( j , 1 ) } ∑ j ≥ l { p ( j , 0 ) + p ( j , 1 ) } , where p ( J , 0 ) : = 0 , 1-\lambda_l=\frac{p_{(l,0)}+\sum_{j>l}\{p_{(j,0)}+p_{(j,1)}\}}{\sum_{j\geq l}\{p_{(j,0)}+p_{(j,1)}\}},
\quad\text{where }p_{(J,0)}:=0, 1 − λ l = ∑ j ≥ l { p ( j , 0 ) + p ( j , 1 ) } p ( l , 0 ) + ∑ j > l { p ( j , 0 ) + p ( j , 1 ) } , where p ( J , 0 ) := 0 ,
is a ratio of fields whose denominator is at least c c c , so that S ( j ∣ ⋅ ) S(j\mid\cdot) S ( j ∣ ⋅ ) is a field and
β u ( P θ ) = ∑ j = 0 u − 1 ∫ S ( j ∣ x ) ∑ a p a ( x ) d x ∫ ∑ a p a ( x ) d x . \beta_u(\mathbb{P}_{\theta})=\sum_{j=0}^{u-1}\frac{\int S(j\mid x)\sum_a p_a(x)\,\mathrm{d}x}{\int\sum_a p_a(x)\,\mathrm{d}x}. β u ( P θ ) = j = 0 ∑ u − 1 ∫ ∑ a p a ( x ) d x ∫ S ( j ∣ x ) ∑ a p a ( x ) d x .
is represented like a group effect, with polynomial selectors for the horizon u u u .
For the projection, Z D \mathcal{Z}_{D} Z D is a singleton and fields also depend on w w w . Integrating p a d x 0 d w p_a\,\mathrm{d}x_0\,\mathrm{d}w p a d x 0 d w against ( 1 , w , w ⊗ 2 ) (1,w,w^{\otimes2}) ( 1 , w , w ⊗ 2 ) and ( 1 , w ) Φ − 1 ( x 0 ) (1,w)\Phi^{-1}(x_0) ( 1 , w ) Φ − 1 ( x 0 ) , dividing by the covariate density and integrating products in x x x , we express Σ W \Sigma_W Σ W and E P θ ( W ~ Y ~ ) \mathbb{E}_{\mathbb{P}_{\theta}}(\widetilde{W}\widetilde{Y}) E P θ ( W Y ) by rectangle integrals of fields in
F k ( θ , v , u ) : = Σ W v − E P θ ( W ~ Y ~ ) and R k ( v , u ) : = M v , F_k(\theta,v,u):=\Sigma_Wv-\mathbb{E}_{\mathbb{P}_{\theta}}(\widetilde{W}\widetilde{Y})
\quad\text{and}\quad
R_k(v,u):=Mv, F k ( θ , v , u ) := Σ W v − E P θ ( W Y ) and R k ( v , u ) := M v ,
where M M M is the encoded contrast or the identity, and condition (I3) holds on a sufficiently large box by (G.3) and the bounded second moments. For quantile effects, the field
h a ( x 0 ) : = ∫ ϱ ( x ) p a ( x 0 , x ) / ϱ a ( x ) d x ∫ ϱ ( x ) d x ∈ [ c , C ] h_a(x_0):=\frac{\int\varrho(x)p_a(x_0,x)/\varrho_a(x)\,\mathrm{d}x}{\int\varrho(x)\,\mathrm{d}x}\in[c,C] h a ( x 0 ) := ∫ ϱ ( x ) d x ∫ ϱ ( x ) p a ( x 0 , x ) / ϱ a ( x ) d x ∈ [ c , C ]
satisfies F a , P θ ( y ) = ∫ 0 Φ ( y ) h a ( x 0 ) d x 0 F_{a,\mathbb{P}_{\theta}}(y)=\int_0^{\Phi(y)}h_a(x_0)\,\mathrm{d}x_0 F a , P θ ( y ) = ∫ 0 Φ ( y ) h a ( x 0 ) d x 0 . On a box [ − H , H ] 2 ⊃ { v ∈ R 2 : dist ( v , Y 2 ) ≤ c } [-H,H]^2\supset\{v\in\mathbb{R}^2:\operatorname{dist}(v,\mathcal{Y}^2)\leq c\} [ − H , H ] 2 ⊃ { v ∈ R 2 : dist ( v , Y 2 ) ≤ c } , we represent the quantile effect by
F k ( θ , v , u ) : = ( F 0 , P θ ( v 0 ) − u F 1 , P θ ( v 1 ) − u ) and R k ( v , u ) : = v 1 − v 0 , F_k(\theta,v,u):=
\begin{pmatrix}
F_{0,\mathbb{P}_{\theta}}(v_0)-u\\
F_{1,\mathbb{P}_{\theta}}(v_1)-u
\end{pmatrix}
\quad\text{and}\quad
R_k(v,u):=v_1-v_0, F k ( θ , v , u ) := ( F 0 , P θ ( v 0 ) − u F 1 , P θ ( v 1 ) − u ) and R k ( v , u ) := v 1 − v 0 ,
with Φ \Phi Φ as a univariate analytic function. Condition (I3) holds on the box since ∂ v F k = diag { h a ( Φ ( v a ) ) Φ ′ ( v a ) } a = 0 , 1 \partial_vF_k=\operatorname{diag}\{h_a(\Phi(v_a))\Phi'(v_a)\}_{a=0,1} ∂ v F k = diag { h a ( Φ ( v a )) Φ ′ ( v a ) } a = 0 , 1 has diagonal entries in [ c , C ] [c,C] [ c , C ] . All bounds are uniform in K ≥ 1 K\geq1 K ≥ 1 , θ ∈ R K \theta\in\mathbb{R}^{K} θ ∈ R K with ∥ θ ∥ 1 ≤ B + 1 \lVert\theta\rVert_1\leq B+1 ∥ θ ∥ 1 ≤ B + 1 and u ∈ U k u\in\mathcal{U}_k u ∈ U k , which proves part (iv).
Finite stacks satisfy parts (i)–(iii) coordinatewise and part (iv) with product boxes and block-diagonal ∂ v F k \partial_vF_k ∂ v F k , which preserve (F.39), with ∑ a ∈ { 0 , 1 } p a / 2 \sum_{a\in\{0,1\}}p_a/2 ∑ a ∈ { 0 , 1 } p a /2 in place of p a p_a p a in the projection of a stack with treatment effects. This completes the proof.
Experimental details
The implementation uses a 20-layer pre-norm Transformer of width 384, with six attention heads and a learned dataset-level readout; it has approximately 20 million parameters. Observation rows have no positional encoding, making the readout invariant to their ordering. Scalar experiments use separate point and variance heads, with the variance mapped through a softplus function plus 10 − 3 10^{-3} 1 0 − 3 to ensure positivity.
Setup of priors
ATE. A base table is first drawn with equal probability from one of three sources, namely OpenML tables, a graph-based synthetic table generator and a random multilayer perceptron generator, which are described below.
OpenML tables. A dataset is drawn uniformly from the 337 OpenML datasets curated by Balazadeh et al. [6 ] , which exclude every table that shares covariates or outcomes with the real-data benchmarks, including IHDP. Categorical columns are integer-coded and missing values are imputed by column medians.
Graph-based generator. Tables are drawn from the structural causal model prior of TabICLv2 (Qu et al. (2026)), which builds a random directed acyclic graph with at most 32 nodes and assigns each node a function from several families, including Gaussian processes, neural networks, tree ensembles and linear maps.
Random multilayer perceptron generator. In the spirit of the TabPFN prior (Hollmann et al. [45 ] ), a few independent standard Gaussian variables are passed through a random multilayer perceptron with one to three layers, whose activation is drawn from the hyperbolic tangent, sine, ReLU and identity functions. The columns of the table are sampled from the inputs and all intermediate activations, and up to a third of them are discretised into two to ten quantile bins to mimic categorical features.
After d X ∈ { 2 , … , 100 } d_X \in\{2,\ldots,100\} d X ∈ { 2 , … , 100 } covariate columns are selected, two further columns give raw potential-outcome means μ ~ 0 \tilde{\mu}_0 μ ~ 0 and μ ~ 1 \tilde{\mu}_1 μ ~ 1 . With λ : = E ( μ ~ 1 − μ ~ 0 ) \lambda:= \mathbb{E}(\tilde{\mu}_1-\tilde{\mu}_0) λ := E ( μ ~ 1 − μ ~ 0 ) , heterogeneity γ ∼ Unif ( 0 , 1 ) \gamma\sim\operatorname{Unif}(0,1) γ ∼ Unif ( 0 , 1 ) and offset κ ∼ Unif ( − 5 , 5 ) \kappa\sim\operatorname{Unif}(-5,5) κ ∼ Unif ( − 5 , 5 ) , the conditional means are
μ 0 = μ ~ 0 , μ 1 = μ ~ 0 + γ ( μ ~ 1 − μ ~ 0 ) + ( 1 − γ ) λ + κ , \mu_0 = \tilde{\mu}_0,\qquad\mu_1 = \tilde{\mu}_0 + \gamma(\tilde{\mu}_1-\tilde{\mu}_0) + (1-\gamma)\lambda+ \kappa, μ 0 = μ ~ 0 , μ 1 = μ ~ 0 + γ ( μ ~ 1 − μ ~ 0 ) + ( 1 − γ ) λ + κ ,
so the ATE label is τ = λ + κ \tau= \lambda+ \kappa τ = λ + κ . Independent arm-specific Gaussian errors are multiplied by covariate-dependent scales to introduce heteroskedasticity. Treatment is sampled with probability
ξ expit { g ( X ) } + ( 1 − ξ ) 1 { g ( X ) > 0 } , ξ ∼ Unif ( 0 , 1 ) , \xi\operatorname{expit}\{g(X)\} + (1-\xi)1\{g(X)>0\},\qquad\xi\sim\operatorname{Unif}(0,1), ξ expit { g ( X )} + ( 1 − ξ ) 1 { g ( X ) > 0 } , ξ ∼ Unif ( 0 , 1 ) ,
where g g g is drawn as a constant, a linear map or a single-hidden-layer random network. Probabilities are clipped to [ 10 − 3 , 1 − 10 − 3 ] [10^{-3},1-10^{-3}] [ 1 0 − 3 , 1 − 1 0 − 3 ] , and draws with numerically empty arms are regenerated.
QTE. The data-generating process follows that of the ATE. The main difference is that the QTE has no closed form, so the training label is computed by Monte Carlo: each data-generating process generates M M M additional units from the same mechanism and records both potential outcomes Y j ( 0 ) Y_j(0) Y j ( 0 ) and Y j ( 1 ) Y_j(1) Y j ( 1 ) , j = 1 , … , M j = 1, \ldots, M j = 1 , … , M . The target at quantile level u u u is τ ( u ) : = Q ^ 1 ( u ) − Q ^ 0 ( u ) \tau(u) := \widehat{Q}_1(u) - \widehat{Q}_0(u) τ ( u ) := Q 1 ( u ) − Q 0 ( u ) , where Q ^ d \widehat{Q}_d Q d is the empirical quantile function of { Y j ( d ) } j = 1 M \{Y_j(d)\}_{j=1}^{M} { Y j ( d ) } j = 1 M . In our experiment, M M M is set as 8192.
MST. The survival generator draws a base table and selects a subset of its columns as covariates, as for the ATE. One further column is selected at random and shifted to give a nonnegative failure time T T T . Given a target censoring level ρ ∼ Unif ( 0.05 , 0.9 ) \rho\sim\operatorname{Unif}(0.05, 0.9) ρ ∼ Unif ( 0.05 , 0.9 ) , the censoring times are sampled conditionally on the covariates. Specifically, with T max T_{\max} T m a x the largest simulated failure time in the dataset, the censoring times are drawn as
C i ∼ Unif [ 0 , T max ρ expit { g ( X i ) } ] , C_i \sim\operatorname{Unif}\left[0, \frac{T_{\max}}{\rho\operatorname{expit}\{g(X_i)\}}\right], C i ∼ Unif [ 0 , ρ expit { g ( X i )} T m a x ] ,
so that unit i i i is censored with probability ρ expit { g ( X i ) } T i / T max \rho\operatorname{expit}\{g(X_i)\}T_i/T_{\max} ρ expit { g ( X i )} T i / T m a x , and hence ρ \rho ρ is an upper bound on the censoring rate. The MST label is the sample mean 1 n ∑ i = 1 n T i \frac{1}{n}\sum_{i=1}^{n} T_i n 1 ∑ i = 1 n T i of the latent failure times.
PLR. For the partially linear projection, we draw β \beta β uniformly from [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] . Given nuisance covariates X X X , the target regressor is generated as
W = m ψ ( X ) + V , W = m_{\psi}(X) + V, W = m ψ ( X ) + V ,
where m ψ m_{\psi} m ψ is a single-hidden-layer random network and V V V is a zero-mean random variable with positive variance. A further base-table column μ ~ \tilde{\mu} μ ~ and conditionally mean-zero noise u u u form
Y = W β + μ ~ + u . Y = W\beta+ \tilde{\mu} + u. Y = W β + μ ~ + u .
Optimisation
Training uses AdamW with moment coefficients ( 0.9 , 0.95 ) (0.9, 0.95) ( 0.9 , 0.95 ) , learning rate 10 − 4 10^{-4} 1 0 − 4 , 1,000 warm-up steps followed by cosine decay, weight decay 0.01, gradient clipping at 1, and bfloat16 autocasting. Each device processes 32 independently drawn data-generating processes per update. One context length is sampled uniformly from { 800 , 1000 , 1200 , 1400 , 1600 } \{800, 1000, 1200, 1400, 1600\} { 800 , 1000 , 1200 , 1400 , 1600 } for each update. A single validation set is generated before training to select the checkpoint. The total number of updates is 5 × 10 5 5 \times10^{5} 5 × 1 0 5 .
Baselines: implementation
Every baseline receives exactly the same dataset D N \mathcal{D}_N D N as our estimator. Unless stated otherwise, nuisance functions are fitted on the full evaluation sample, and the interval of a baseline is the two-sided Wald interval β ^ ± z 0.975 S E ^ \hat{\beta} \pm z_{0.975}\widehat{\mathrm{SE}} β ^ ± z 0.975 SE , where z 0.975 z_{0.975} z 0.975 is the 0.975 quantile of the standard normal distribution. Several baselines have no implemented standard error; for these, we report the plug-in standard errors described below.
ATE. Write e ( x ) : = P ( D = 1 ∣ X = x ) e(x) := \mathbb{P}(D = 1 \mid X = x) e ( x ) := P ( D = 1 ∣ X = x ) for the propensity score, and recall that m d ( x ) = E P ( Y ∣ D = d , X = x ) m_d(x) = \mathbb{E}_{\mathbb{P}}(Y \mid D = d, X = x) m d ( x ) = E P ( Y ∣ D = d , X = x ) . For the classical methods, random forests are fitted with scikit-learn, using the settings of the benchmark code released with CausalPFN. Fitted propensity scores are clipped to [ 10 − 3 , 1 − 10 − 3 ] [10^{-3}, 1 - 10^{-3}] [ 1 0 − 3 , 1 − 1 0 − 3 ] .
CausalPFN. We use the official package and pretrained checkpoint2 . The point estimate is N − 1 ∑ i = 1 N { m ^ 1 ( X i ) − m ^ 0 ( X i ) } N^{-1}\sum_{i=1}^{N}\{\widehat{m}_1(X_i) - \widehat{m}_0(X_i)\} N − 1 ∑ i = 1 N { m 1 ( X i ) − m 0 ( X i )} , where m ^ d ( X i ) \widehat{m}_d(X_i) m d ( X i ) is the prediction of CausalPFN, and the interval is formed by the 2.5% and 97.5% quantiles of 1,000 ATE draws from its predictive distribution.
Do-PFN. We use the publicly released code and checkpoint3 . The ATE is the average of the predicted conditional average treatment effects over the rows of D N D_N D N . Therefore, Do-PFN does not output an interval and is absent from the coverage panel of Figure 2 .
S-, T- and X-learners. We use EconML 0.17.04 with random forests for all outcome models and, for the X-learner, a random-forest propensity model. Since EconML does not provide a standard error for these estimators, we plug the learner’s own outcome regressions m ^ 0 , m ^ 1 \widehat{m}_0,\widehat{m}_1 m 0 , m 1 and effect function τ ^ \widehat{\tau} τ , together with a separately fitted random-forest propensity score e ^ \widehat{e} e , into the EIF, and take the empirical standard deviation of the resulting EIF values divided by N \sqrt{N} N as the standard error.
IPW. We implement the normalised (Hájek) estimator, whose standard error is given by the sandwich estimator.
AIPW. The nuisances are fitted by random forests with two-fold cross-fitting, where the folds are stratified by D D D .
Difference in means. The variance is estimated by σ ^ 1 2 / N 1 + σ ^ 0 2 / N 0 \widehat{\sigma}_1^2/N_1 + \widehat{\sigma}_0^2/N_0 σ 1 2 / N 1 + σ 0 2 / N 0 , where N d N_d N d and σ ^ d 2 \widehat{\sigma}_d^2 σ d 2 are the size and the sample variance of arm d d d .
MST. Except for the complete-case mean, every baseline integrates an estimated survival function over [ 0 , max 1 ≤ i ≤ N Y i ] [0,\max_{1\le i\le N}Y_i] [ 0 , max 1 ≤ i ≤ N Y i ] .
Complete-case mean. The average of Y i Y_i Y i over the uncensored observations.
Kaplan–Meier estimator. The estimate is the area under the Kaplan–Meier curve. Its variance is a Greenwood-type estimate, adjusted for the sample-dependent label by weighting each summand by one minus the Kaplan–Meier estimate of the censoring survival function just before the corresponding event time.
IPCW. The survival function is estimated by weighting the at-risk indicators by the inverse of the Kaplan–Meier estimate of the censoring survival function.
Cox model. We use lifelines 0.30.35 with the Breslow baseline hazard. The estimate averages the integrated predicted survival curves over the sample, and its variance is computed from the influence function of this plug-in estimator, with an analogous adjustment for the sample-dependent label.
PLR. The three baselines are our own implementations. Each regresses the residual of Y Y Y on the residual of W W W , after removing estimated functions of X X X from both, and uses the heteroskedasticity-robust sandwich variance in the χ 1 2 \chi^2_1 χ 1 2 Wald interval.
OLS. The residuals come from least-squares regressions on ( X , 1 ) (X,1) ( X , 1 ) , so the estimate is the coefficient of W W W in the least-squares regression of Y Y Y on ( W , X , 1 ) (W,X,1) ( W , X , 1 ) .
Robinson residualisation. The conditional means m W m_W m W and m Y m_Y m Y are fitted on the full sample by least squares on ( X , 1 ) (X,1) ( X , 1 ) , followed by a random forest fitted to the least-squares residuals.
QTE. The four classical estimators are our own implementations. The propensity score and the conditional distribution functions are fitted by logistic regression (scikit-learn), and the propensity score is clipped to [ 0.01 , 0.99 ] [0.01, 0.99] [ 0.01 , 0.99 ] .
CausalPFN. With the settings used for the ATE, CausalPFN predicts m ~ d ( X i ) \widetilde{m}_d(X_i) m d ( X i ) . The distribution of Y ( d ) Y(d) Y ( d ) is approximated by the empirical distribution of m ~ d ( X j ) \widetilde{m}_d(X_j) m d ( X j ) plus the centred residuals of arm d d d , and the estimate is the difference of the resulting quantiles.
All standard errors are computed from estimated influence functions, with the quantile density estimated by a difference quotient of the method’s own quantile function. Distribution regression and the doubly robust estimator use the efficient influence function evaluated at the fitted nuisances, while CausalPFN uses an influence function that treats m ~ 0 \widetilde{m}_0 m 0 and m ~ 1 \widetilde{m}_1 m 1 as known.
Runtime analysis: details
For Figure 4 , each method is applied to 100 held-out datasets at each context length, one dataset per call, after one unrecorded warm-up call for each method and length. The recorded time covers what is run on a new dataset: preprocessing, host-to-device transfer, any per-dataset model fitting, prediction and, where available, the computation of the standard error. Our estimator, CausalPFN and Do-PFN run on the GPU, whereas the classical estimators run on the CPU with BLAS, OpenMP and joblib parallelism restricted to a single thread.
Computational infrastructure
All computations were run on NVIDIA A100-SXM4 GPUs (Ampere architecture, 80 GB memory) with 18 cores of an Intel Xeon Platinum 8360Y CPU (2.40 GHz) and 256 GB of memory. The software environment consists of Python 3.11.15 and PyTorch 2.13.07 , which is used to implement the neural-network-based methods.
Numerical results for mean survival time
The mean survival time is the expected time to an event, such as death, relapse or system failure; its estimation must account for incomplete follow-up caused by right censoring. Let T T T and C C C denote the latent failure and censoring times, and let X X X contain baseline covariates. Their joint law induces an observed-data distribution P P P for Z = ( Y , Δ , X ) Z = (Y, \Delta, X) Z = ( Y , Δ , X ) , where Y : = min ( T , C ) Y := \min(T, C) Y := min ( T , C ) and Δ : = 1 { T ≤ C } \Delta:= 1\{T \le C\} Δ := 1 { T ≤ C } . At the population level, the mean failure time β M S T ( P ) = E ( T ) \beta_{\mathrm{MST}}(P) = \mathbb{E}(T) β MST ( P ) = E ( T ) is identified from P P P under conditionally independent censoring and suitable positivity and support conditions. The evaluation data are D N = { ( Y i , Δ i , X i ) } i = 1 N D_N = \{(Y_i, \Delta_i, X_i)\}_{i=1}^{N} D N = {( Y i , Δ i , X i ) } i = 1 N .
We compare our estimator with the complete-case mean ∑ i = 1 N Δ i Y i / ∑ i = 1 N Δ i \sum_{i=1}^{N} \Delta_iY_i/\sum_{i=1}^{N} \Delta_i ∑ i = 1 N Δ i Y i / ∑ i = 1 N Δ i , the Kaplan–Meier estimator ([51 ] ), an inverse-probability-of-censoring-weighted estimator ([87 ] ), and plug-in estimators based on the Cox model ([25 ] ) and a random survival forest ([47 ] ). In Figure 5 , our estimator has the lowest RMSE throughout, and its decrease broadly follows the N − 1 / 2 N^{-1/2} N − 1/2 reference trend. Its Wald coverage remains close to the nominal 95% level. The rate and coverage patterns are qualitatively consistent with Theorem 3.
Figure 5. Performance on mean-survival-time estimation.
Additional numerical results for ATE and QTE
In this section, we additionally compare each method’s variance estimate V ^ \widehat{V} V with the efficiency bound V q ∗ ( P ) V_q^*(\mathbb{P}) V q ∗ ( P ) . Since the simulator specifies the propensity score and the conditional law of each potential outcome, the bound can be easily computed from the asymptotic variances given by Hahn [41 ] for the ATE and by Firpo [31 ] for the QTE.8 Figure 6 shows that the variance ratio of our method is very close to 1, which provides additional evidence for the consistency V ^ → V q ∗ ( P ) \widehat{V} \to V_q^*(\mathbb{P}) V → V q ∗ ( P ) established in Theorem 3. Note that some methods even have ratios below 1, which explains why their confidence intervals fail to attain the nominal coverage level.
Figure 6. Median ratio of each method’s estimated variance, V ^ \widehat{V} V , to the efficiency bound V q ∗ ( P ) V_q^*(\mathbb{P}) V q ∗ ( P ) . Error bars are pointwise 95% bootstrap intervals that resample complete simulation replicates. Panels (A) and (B) are for the ATE and QTE, respectively. The dashed line marks a ratio of 1.