Introduction
A central goal of NeuroAI is to build computational models that not only solve tasks the brain solves, but do so with internal representations that match those of biological neural circuits [1 , 2 , 3 , 4 ] . The dominant empirical instrument for testing this match is the brain score: a measure of how well a model’s internal activations predict neural responses to a shared stimulus set, typically via a linear readout fit on a training split and evaluated on held-out data (e.g., [5 ] ). Since the first demonstrations that task-optimized CNNs predict ventral-stream responses better than hand-designed models, brain scores have proliferated across modalities: vision [6 , 7 , 5 , 8 ] , audition [9 , 10 ] , and language [11 , 12 , 14 ] (Cauchetaux et al. 2023; AlKhassim et al. 2025). They have substantially improved as architectures and training data have scaled [16 ] (Gokce and Schrimpf 2025).
Brain scores should be measured relative to what is achievable. Neural recordings are noisy: trial-to-trial variability, measurement noise, and finite sampling all place a hard ceiling on the variance any deterministic model can hope to predict [18 , 19 , 20 ] . This noise ceiling is what separates a model that has captured the stimulus-driven signal from one that has room to improve. Without it, absolute brain scores are hard to interpret, as they confound model quality with data reliability. The noise ceiling reframes the question from “how high is the score?” to “how much of the explainable variance has been explained?”, a quantity on which models can be fairly compared across datasets, regions, and recording modalities.
Estimating the noise ceiling, however, is harder than it looks. The literature contains multiple procedures. Sahani and Linden [19 ] introduced the explainable signal power estimator (SPE) to measure the fraction of stimulus-related variance of neural responses captured by models. Hsu et al. [18 ] introduced the normalized correlation coefficient C C n o r m CC_{\mathrm{norm}} C C norm , which expresses model performance as a fraction of an estimated upper bound C C m a x CC_{\mathrm{max}} C C max computed via split-half reliability with Spearman–Brown correction. Schoppe et al. [20 ] showed that C C n o r m CC_{\mathrm{norm}} C C norm is preferable over the SPE in certain settings, and derived an alternative way of computing C C m a x CC_{\mathrm{max}} C C max from signal power without resampling, avoiding computational expenses of the split-half procedure. Lage-Castellanos et al. [21 ] extended this analysis to fMRI, comparing Monte Carlo, split-half, and analytic noise ceiling estimators across noise structures and regularization regimes. Schrimpf et al. [12 ] introduced an extrapolation procedure used in Brain-Score. van Bree et al. [22 ] clarified a common misinterpretation of noise ceilings in model evaluation, showing that split-half reliability is often incorrectly treated as a maximum achievable correlation rather than a bound on explainable variance (R 2 R^2 R 2 ). They demonstrate that this confusion can lead to inflated or misleading scores for model performance.
In this work, we revisit the noise ceiling from the ground up. We review the main families of estimators, derive analytical expressions under a generative model of brain signals, and characterize the assumptions and failure modes of each. Empirically, we show the qualitative match between model predictions and noise ceiling estimates on fMRI and EEG data. We close with concrete recommendations for which estimator to use, with the aim of putting brain-score comparisons on firmer statistical footing.
Background
Brain recordings obtained from a stimulus-driven experiment can be represented as a set of vectors { v 1 , … , v m } \{\mathbf{v}_1,\ldots,\mathbf{v}_m\} { v 1 , … , v m } , v i ∈ R T \mathbf{v}_i \in\mathbb{R}^T v i ∈ R T . Each vector v i \mathbf{v}_i v i corresponds to the response of a single recording unit, e.g. a voxel in the case of fMRI or an electrode in the case of EEG. If the experiment involves a single continuous stimulus (e.g., watching a movie or listening to a story), T T T is the duration of the stimulus divided by the temporal resolution of the recording device, and v i , t v_{i,t} v i , t denotes the signal of recording unit i i i at timestep t t t . For experiments consisting of a sequence of discrete stimuli, each index t t t designates one stimulus and T T T is the total number of stimuli. Noise ceiling computations rely on experiments where the same stimuli are presented multiple times, and the resulting trials are used to assess the consistency of the brain response. We denote by v i ( ℓ ) \mathbf{v}_i^{(\ell)} v i ( ℓ ) , ℓ ∈ { 1 , … , n } \ell\in\{1,\ldots,n\} ℓ ∈ { 1 , … , n } the signal recorded from unit i i i during trial ℓ \ell ℓ . Depending on the experimental setting, the trials can refer to multiple presentations of the same stimuli to the same subject, or to single presentations of the stimuli to different subjects. While these two settings have different statistical interpretations, which we discuss later, they can be handled within a unified framework.
Encoding Models and Brain Scores Encoding models aim to provide a mapping from the stimulus space to the brain recording space, i.e. predicting the brain response v ^ i \hat{\mathbf{v}}_i v ^ i for each recording unit i i i given the sequence of stimuli t = 1 , … , T t=1,\ldots,T t = 1 , … , T . In this work, we focus on encoding models and do not consider the Representational Similarity Analysis (RSA) framework. The performance of such a model is usually evaluated in a two-step procedure: i) compute per unit i i i a similarity S i S_i S i between the predictions v ^ i \hat{\mathbf{v}}_i v ^ i and the actual recordings v i \mathbf{v}_i v i , and ii) compute the average score S = 1 m ∑ i = 1 m S i N C ^ i S = \frac{1}{m}\sum_{i=1}^{m}\frac{S_i}{\widehat{NC}_i} S = m 1 ∑ i = 1 m N C i S i , relative to some estimate N C ^ i \widehat{NC}_i N C i of the noise ceiling of unit i i i . The most common similarity measure is the Pearson correlation2 S i = Corr ^ ( v ^ i , v i ) S_i = \widehat{\operatorname{Corr}}(\hat{\mathbf{v}}_i,\mathbf{v}_i) S i = Corr ( v ^ i , v i ) . The correlation can be computed either at the level of individual trials, Corr ^ ( v i ( ℓ ) , v ^ i ( ℓ ) ) \widehat{\operatorname{Corr}}(\mathbf{v}_i^{(\ell)},\hat{\mathbf{v}}_i^{(\ell)}) Corr ( v i ( ℓ ) , v ^ i ( ℓ ) ) , or on the signal averaged across trials Corr ^ ( v ^ i , v ˉ i ) \widehat{\operatorname{Corr}}(\hat{\mathbf{v}}_i,\bar{\mathbf{v}}_i) Corr ( v ^ i , v ˉ i ) . The choice between these two approaches is usually driven by the experimental setting: within-subject repetitions are typically averaged to reduce noise, while across-subject trials are more commonly kept separate, both to preserve idiosyncratic signal and due to the difficulty of establishing a meaningful correspondence between recording units across subjects. Encoding models can learn a separate mapping for each subject through a training procedure on a held-out portion of the recorded signal. However, if the recordings contain variability that is neither deterministically driven by the stimulus nor captured by trial-specific parameters, no encoding model can achieve a perfect score.
Noise Ceiling If we had access to the noise-free signal v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) we could compute the noise ceiling for recording unit i i i as
N C i m e a n = Corr ^ t ( v i ∗ , v ˉ i ) , N C i , ℓ s i n g l e = Corr ^ t ( v i ∗ ( ℓ ) , v i ( ℓ ) ) , (1) NC_i^{\mathrm{mean}} = \widehat{\operatorname{Corr}}_t\left(v_i^*, \bar{v}_i\right), \qquad NC_{i,\ell}^{\mathrm{single}} = \widehat{\operatorname{Corr}}_t\left(v_i^{*(\ell)}, v_i^{(\ell)}\right), \tag*{(1)} N C i mean = Corr t ( v i ∗ , v ˉ i ) , N C i , ℓ single = Corr t ( v i ∗ ( ℓ ) , v i ( ℓ ) ) , (1)
depending on whether the encoding model predicts trial-averaged responses or individual trials. This noise ceiling would constitute an upper bound on the score achievable by any encoding model on a given dataset { v 1 ( ℓ ) , … , v m ( ℓ ) } ℓ = 1 n \{v_1^{(\ell)}, \ldots, v_m^{(\ell)}\}_{\ell=1}^n { v 1 ( ℓ ) , … , v m ( ℓ ) } ℓ = 1 n . However, since the noise-free signals v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) are unknown, the noise ceiling cannot be computed directly. Several methods have been proposed to estimate it from the observed recordings alone. Five such methods are commonly used in the literature and fall into two families: those targeting N C m e a n NC^{\mathrm{mean}} N C mean and those targeting N C s i n g l e NC^{\mathrm{single}} N C single . Table 3 provides a list of papers that use each of these methods. We describe each of these methods in the remainder of this section.
Table 3. Summary of noise ceiling methods used in the neuroimaging literature, grouped by method type. For each paper, we report the stimulus modality, whether a General Linear Model (GLM) was used to extract per-voxel beta values, whether the dataset included multiple repetitions of the same stimulus within participants, and whether the model was fit to predict a participant average (as opposed to individual participants separately).
Noise Ceiling for Trial-Averaged Responses
Two methods are commonly used to estimate N C m e a n NC^{\mathrm{mean}} N C mean . Both assume each recording decomposes as v i ( ℓ ) = v i ∗ + η i ( ℓ ) v_i^{(\ell)} = v_i^* + \eta_i^{(\ell)} v i ( ℓ ) = v i ∗ + η i ( ℓ ) , where v i ∗ v_i^* v i ∗ is perfectly shared across trials and η i ( ℓ ) \eta_i^{(\ell)} η i ( ℓ ) are i.i.d. with variance σ η 2 \sigma_\eta^2 σ η 2 [18 , 20 ] . Under this model and in the limit of long recordings, the true noise ceiling is
N C i m e a n = Corr ^ t ( v i ∗ , v i ∗ + η ˉ i ) = σ s 2 σ s 2 + σ η 2 n , (2) NC_i^{\mathrm{mean}} = \widehat{\operatorname{Corr}}_t\left(v_i^*, v_i^* + \bar{\eta}_i\right) = \sqrt{\frac{\sigma_s^2}{\sigma_s^2 + \frac{\sigma_\eta^2}{n}}}, \tag*{(2)} N C i mean = Corr t ( v i ∗ , v i ∗ + η ˉ i ) = σ s 2 + n σ η 2 σ s 2 , (2)
where σ s 2 = Var ^ t ( v i ∗ ) \sigma_s^2 = \widehat{\operatorname{Var}}_t(v_i^*) σ s 2 = Var t ( v i ∗ ) . In the Split-Half Reliability with Spearman-Brown Correction (SHSB) method, the n n n trials are split into two equal halves and their respective averages correlated. Since each half-average contains twice the noise of the full average, the Spearman-Brown correction is applied [18 , 22 ] . The procedure is repeated over multiple random splits and results are averaged (Table 1 ). An alternative approach [20 , 21 , 23 ] , the Across-Trial Variance method (ATV) , estimates the signal variance using σ s 2 = σ t o t a l 2 − σ η 2 / n \sigma_s^2 = \sigma_{\mathrm{total}}^2 - \sigma_\eta^2/n σ s 2 = σ total 2 − σ η 2 / n , where the total variance σ t o t a l 2 \sigma_{\mathrm{total}}^2 σ total 2 is estimated as Var ^ t ( v i ) \widehat{\operatorname{Var}}_t(v_i) Var t ( v i ) and the noise variance σ η 2 \sigma_\eta^2 σ η 2 as the average across-trial variance at each timestep (Table 1 ).
Table 1 : Noise ceiling estimator formulas. Negative values under the square root are thresholded at zero; SHSB additionally averages over multiple random splits. v ‾ \overline{v} v : trial average, v ‾ i ( − ℓ ) \overline{v}_{i}^{(-\ell)} v i ( − ℓ ) : trial average excluding trial ℓ \ell ℓ , v ‾ i ( 1 ) \overline{v}_{i}^{(1)} v i ( 1 ) : average over (randomly selected) first half of trials, v ^ i ( ℓ ) \widehat{v}_{i}^{(\ell)} v i ( ℓ ) : linear prediction given all other trials
Table 1.
Noise Ceiling for Single-Trial Responses
Some experiments involve a single long continuous recording per subject (e.g. a movie or story [24 , 25 , 11 ] ), with trials corresponding to different subjects. For low-variability sensory areas, researchers average across subjects and apply SHSB or ATV [26 , 27 ] . For higher-level areas (e.g. language), inter-subject variability is substantial and anatomical misalignment may cancel shared signals, so encoding models are fit per subject and N C s i n g l e NC^{\mathrm{single}} N C single must be estimated instead. We summarize three commonly used estimators. Leave-One-Out Correlation (LOOC): each trial v i ( ℓ ) v_i^{(\ell)} v i ( ℓ ) is correlated against the leave-one-out average v ˉ i ( − ℓ ) : = 1 n − 1 ∑ ℓ ′ ≠ ℓ v i ( ℓ ′ ) \bar{v}_i^{(-\ell)} := \frac{1}{n-1}\sum_{\ell'\ne\ell}v_i^{(\ell')} v ˉ i ( − ℓ ) := n − 1 1 ∑ ℓ ′ = ℓ v i ( ℓ ′ ) , and results are averaged over trials. Trial-To-Mean Correlation (TTMC): same as LOOC, except the individual trial is included in the average it is compared against. Leave-One-Out Prediction (LOOP) introduced by Schrimpf et al. [12 ] , a linear model is trained on a pool of n n n trials to predict the held-out trial v i ( ℓ ) v_i^{(\ell)} v i ( ℓ ) , mirroring the encoding model training procedure. The pool size n n n is varied, and the noise ceiling extrapolated to n → ∞ n \to\infty n → ∞ by fitting N C ^ i , ℓ L O O P ( n ) = N C ^ i , ℓ ∞ ( 1 − e − n / τ 0 ) \widehat{NC}_{i,\ell}^{\mathrm{LOOP}}(n) = \widehat{NC}_{i,\ell}^{\infty}(1-e^{-n/\tau_0}) N C i , ℓ LOOP ( n ) = N C i , ℓ ∞ ( 1 − e − n / τ 0 ) (Table 1 ).
Results
Generative Model of Brain Recordings
We define a recording v i ( ℓ ) = { v i , t ( ℓ ) } t > 0 v_i^{(\ell)} = \{v_{i,t}^{(\ell)}\}_{t>0} v i ( ℓ ) = { v i , t ( ℓ ) } t > 0 as a stochastic process. Each trial ℓ \ell ℓ carries attributes θ ( ℓ ) \theta^{(\ell)} θ ( ℓ ) that are fixed within the trial but may differ between trials, such as the experimental setup, the internal state of the subject, or the identity of the subject. We define the reproducible part of the signal as the conditional expectation v i , t ∗ ( ℓ ) = E [ v i , t ∣ θ ( ℓ ) ] v_{i,t}^{*(\ell)} = \mathbb{E}\left[v_{i,t}\mid\theta^{(\ell)}\right] v i , t ∗ ( ℓ ) = E [ v i , t ∣ θ ( ℓ ) ] , the expectation being taken over everything that is not reproducible within the trial, and the noise as η i , t ( ℓ ) = v i , t ( ℓ ) − v i , t ∗ ( ℓ ) \eta_{i,t}^{(\ell)} = v_{i,t}^{(\ell)} - v_{i,t}^{*(\ell)} η i , t ( ℓ ) = v i , t ( ℓ ) − v i , t ∗ ( ℓ ) . The attributes θ ( ℓ ) \theta^{(\ell)} θ ( ℓ ) are identical for all ℓ \ell ℓ only when the trials are repeated presentations under identical conditions, in which case v i , t ∗ v_{i,t}^* v i , t ∗ is the same for every trial.
The centered reproducible responses v i ∗ ( ℓ ) − ⟨ v i ∗ ( ℓ ) ⟩ v_{i}^{*(\ell)}-\langle v_{i}^{*(\ell)}\rangle v i ∗ ( ℓ ) − ⟨ v i ∗ ( ℓ ) ⟩ , where ⟨ ⋅ ⟩ \langle\cdot\rangle ⟨ ⋅ ⟩ denotes the average over time, span a subspace of R T \mathbb{R}^{T} R T of dimension K ≤ n m K\le nm K ≤ nm . For any basis { ϕ k } k = 1 K \{\phi_k\}_{k=1}^{K} { ϕ k } k = 1 K of this subspace that is orthonormal over time, i.e. ⟨ ϕ k ϕ k ′ ⟩ = 1 \langle\phi_k\phi_{k'}\rangle=1 ⟨ ϕ k ϕ k ′ ⟩ = 1 if k = k ′ k=k' k = k ′ and 0 otherwise, the signal recorded from unit i i i during trial ℓ \ell ℓ can be written as
v i ( ℓ ) = b i ( ℓ ) + ∑ k = 1 K w i k ( ℓ ) ϕ k + η i ( ℓ ) , v i ∗ ( ℓ ) = b i ( ℓ ) + ∑ k = 1 K w i k ( ℓ ) ϕ k (3) v_i^{(\ell)}=b_i^{(\ell)}+\sum_{k=1}^{K}w_{ik}^{(\ell)}\phi_k+\eta_i^{(\ell)},\qquad v_i^{*(\ell)}=b_i^{(\ell)}+\sum_{k=1}^{K}w_{ik}^{(\ell)}\phi_k \tag*{(3)} v i ( ℓ ) = b i ( ℓ ) + k = 1 ∑ K w ik ( ℓ ) ϕ k + η i ( ℓ ) , v i ∗ ( ℓ ) = b i ( ℓ ) + k = 1 ∑ K w ik ( ℓ ) ϕ k (3)
where b i ( ℓ ) : = ⟨ v i ∗ ( ℓ ) ⟩ b_i^{(\ell)}:=\langle v_i^{*(\ell)}\rangle b i ( ℓ ) := ⟨ v i ∗ ( ℓ ) ⟩ is a constant offset, w i k ( ℓ ) : = Cov ^ t ( v i ∗ ( ℓ ) , ϕ k ) w_{ik}^{(\ell)}:=\widehat{\operatorname{Cov}}_{t}(v_i^{*(\ell)},\phi_k) w ik ( ℓ ) := Cov t ( v i ∗ ( ℓ ) , ϕ k ) are trial- and unit-specific mixing weights, and η i ( ℓ ) \eta_i^{(\ell)} η i ( ℓ ) is the noise defined above.
Latent signals This linear decomposition provides a useful interpretation: the basis signals ϕ k \phi_k ϕ k can be seen as latent signals of neural activity elicited by the stimulus. This interpretation builds on the view that stimulus-driven brain activity lives in a low-dimensional subspace of the full space of neural activity ([28 , 29 ] ), so that K K K is typically much smaller than the number of neurons, although it might exceed the number m m m of measured units. Moreover, the inter-subject correlation literature shows that stimulus-driven responses are largely shared across subjects ([30 , 31 ] ), suggesting that there exists a subspace of neural activity common to all subjects. This formulation is similar to the Shared Response Model ([32 ] ) and related functional alignment approaches ([33 ] ), which decompose the stimulus-driven component of fMRI recordings into shared latent signals and subject-specific mixing weights. It is also what encoding models presuppose: a single model produces features shared across subjects, and a subject-specific linear readout is fitted to each, implying that the reproducible responses lie in a common subspace spanned by the model features. In this view, K K K is a lower bound on the number of features a model needs. The framework is intentionally kept general across recording modalities.
Mixing weights and regimes The weights w i k ( ℓ ) w_{ik}^{(\ell)} w ik ( ℓ ) describe how strongly each latent signal ϕ k \phi_k ϕ k is expressed in the reproducible response of unit i i i during trial ℓ \ell ℓ . In the ideal case where every trial presents the same stimuli to the same subject under exactly the same conditions (i.e. the attributes θ ( ℓ ) \theta^{(\ell)} θ ( ℓ ) are constant), the weights are identical for every trial w i k ( ℓ ) = w i k w_{ik}^{(\ell)}=w_{ik} w ik ( ℓ ) = w ik . We call this the homogeneous regime . When trials correspond to different subjects, differences in anatomy and functional organization lead each subject to express the latent signals differently. Even within a single subject, changes in the experimental setting or in the internal state of the subject can change how the latent signals are expressed from one trial to the next. In both cases, the weights differ between trials, and we speak of the heterogeneous regime . The homogeneous regime should therefore be seen as an idealization. Repeated trials on a single subject can approach it, whereas trials drawn from different subjects generally do not satisfy it.
Noise The noise term η i ( ℓ ) \eta_i^{(\ell)} η i ( ℓ ) captures all variability in the recorded signal that is not reproducible within the trial. It can arise from several sources, such as the intrinsic stochasticity of neural processes, ongoing activity that is not driven by the stimulus, or the noise introduced by the recording device. It can exhibit temporal correlations, and its variance may depend on the signal and vary over time or between trials.
By substituting the signal model and the noise-free component of (3) into the noise ceiling estimators presented in § 2 , we can derive closed-form expressions for them. This allows us to assess, for each method, under what conditions it provides an accurate estimate of the true noise ceiling and where it may fall short. We carry out this analysis in the following paragraphs, treating the N C m e a n NC^{\mathrm{mean}} N C mean and N C s i n g l e NC^{\mathrm{single}} N C single estimators in turn.
Notation and assumptions For each unit i i i , we write w ˉ i k : = 1 n ∑ ℓ = 1 n w i k ( ℓ ) \bar{w}_{ik} := \frac{1}{n}\sum_{\ell=1}^{n}w_{ik}^{(\ell)} w ˉ ik := n 1 ∑ ℓ = 1 n w ik ( ℓ ) for the average weights across trials, and Var ^ ℓ [ w i k ] : = 1 n ∑ ℓ = 1 n ( w i k ( ℓ ) − w ˉ i k ) 2 \widehat{\operatorname{Var}}_{\ell}[w_{ik}] := \frac{1}{n}\sum_{\ell=1}^{n}\left(w_{ik}^{(\ell)}-\bar{w}_{ik}\right)^2 Var ℓ [ w ik ] := n 1 ∑ ℓ = 1 n ( w ik ( ℓ ) − w ˉ ik ) 2 for their variance. Similarly, we write σ i , ℓ 2 : = 1 T ∑ t = 1 T Var ( η i , t ( ℓ ) ) \sigma_{i,\ell}^{2} := \frac{1}{T}\sum_{t=1}^{T}\operatorname{Var}\left(\eta_{i,t}^{(\ell)}\right) σ i , ℓ 2 := T 1 ∑ t = 1 T Var ( η i , t ( ℓ ) ) for the noise variance of trial ℓ \ell ℓ averaged over time, and σ ˉ i 2 : = 1 n ∑ ℓ = 1 n σ i , ℓ 2 \bar{\sigma}_{i}^{2} := \frac{1}{n}\sum_{\ell=1}^{n}\sigma_{i,\ell}^{2} σ ˉ i 2 := n 1 ∑ ℓ = 1 n σ i , ℓ 2 for its average over trials. All analytical results rely on four assumptions, stated formally in Appendix § 7 .§ 2 : (1) the noise of different trials η i ( ℓ ) \eta_{i}^{(\ell)} η i ( ℓ ) , η i ( ℓ ′ ) \eta_{i}^{(\ell')} η i ( ℓ ′ ) is independent, conditionally on the attributes { θ ( ℓ ) } ℓ = 1 n \{\theta^{(\ell)}\}_{\ell=1}^{n} { θ ( ℓ ) } ℓ = 1 n (the noise of different units within a trial may be correlated); (2) the noise-free signals v i , t ∗ ( ℓ ) v_{i,t}^{*(\ell)} v i , t ∗ ( ℓ ) are bounded; (3) the noise η i , t ( ℓ ) \eta_{i,t}^{(\ell)} η i , t ( ℓ ) has absolutely summable temporal autocovariance, i.e. its autocorrelation over time decays quickly; and (4) the squared noise η i , t ( ℓ ) 2 \eta_{i,t}^{(\ell)2} η i , t ( ℓ ) 2 has finite variance and absolutely summable temporal autocovariance. These assumptions are discussed in § 4 . Furthermore, the closed-form expressions below only hold for units i i i whose stimulus-driven part is non-zero, i.e. Var ^ t ( v ˉ i ∗ ) > 0 \widehat{\operatorname{Var}}_{t}\left(\bar{v}_{i}^{*}\right)>0 Var t ( v ˉ i ∗ ) > 0 for trial-averaged noise ceiling and Var ^ t ( v i ∗ ( ℓ ) ) > 0 \widehat{\operatorname{Var}}_{t}\left(v_{i}^{*(\ell)}\right)>0 Var t ( v i ∗ ( ℓ ) ) > 0 for single-trial noise ceiling, so that the quantities from (1) are well-defined.
Noise Ceiling for Trial-Averaged Responses
As derived in Appendix § 7 .4.1, the true noise ceiling for trial-averaged responses of unit i i i is
N C i m e a n = ∑ k = 1 K w ˉ i k 2 ∑ k = 1 K w ˉ i k 2 + σ ˉ i 2 / n + ε T , (4) NC_{i}^{\mathrm{mean}}=\sqrt{\frac{\sum_{k=1}^{K}\bar{w}_{ik}^{2}}{\sum_{k=1}^{K}\bar{w}_{ik}^{2}+\bar{\sigma}_{i}^{2}/n}}+\varepsilon_{T}, \tag*{(4)} N C i mean = ∑ k = 1 K w ˉ ik 2 + σ ˉ i 2 / n ∑ k = 1 K w ˉ ik 2 + ε T , (4)
where ε T \varepsilon_{T} ε T is a random error term with bias ∣ E [ ε T ] ∣ ≤ c / T \left|\mathbb{E}\left[\varepsilon_{T}\right]\right|\le c/T ∣ E [ ε T ] ∣ ≤ c / T and mean squared error E [ ε T 2 ] ≤ c / T \mathbb{E}\left[\varepsilon_{T}^{2}\right]\le c/T E [ ε T 2 ] ≤ c / T , for a constant c c c that depends only on the bounds in our assumptions. For long recordings, N C i m e a n NC_{i}^{\mathrm{mean}} N C i mean approaches the leading term in (4), its random fluctuations around it shrink like T − 1 / 2 T^{-1/2} T − 1/2 , and its systematic bias like T − 1 T^{-1} T − 1 . One observes that the noise ceiling converges to 1 1 1 as n → ∞ n\to\infty n → ∞ . Note that in the homogeneous regime, Var ^ ℓ [ w i k ] = 0 \widehat{\operatorname{Var}}_{\ell}[w_{ik}]=0 Var ℓ [ w ik ] = 0 and (4) converges to (2).
ATV estimator As derived in Appendix § 7 .4.2, the ATV estimator is given by
N C ^ i A T V = [ ∑ k w ˉ i k 2 − 1 n ∑ k Var ^ ℓ [ w i k ] ∑ k w ˉ i k 2 + σ ˉ 2 / n ] + + ε T max = [ ( N C i m e a n ) 2 − 1 n ∑ k Var ^ ℓ [ w i k ] ∑ k w ˉ i k 2 + σ ˉ 2 / n ] + + ε T max , (5) \widehat{NC}_{i}^{\mathrm{ATV}}=\sqrt{\left[\frac{\sum_{k}\bar{w}_{ik}^{2}-\frac{1}{n}\sum_{k}\widehat{\operatorname{Var}}_{\ell}[w_{ik}]}{\sum_{k}\bar{w}_{ik}^{2}+\bar{\sigma}^{2}/n}\right]_{+}}+\varepsilon_{T}^{\max}=\sqrt{\left[\left(NC_{i}^{\mathrm{mean}}\right)^{2}-\frac{\frac{1}{n}\sum_{k}\widehat{\operatorname{Var}}_{\ell}[w_{ik}]}{\sum_{k}\bar{w}_{ik}^{2}+\bar{\sigma}^{2}/n}\right]_{+}}+\varepsilon_{T}^{\max}, \tag*{(5)} N C i ATV = [ ∑ k w ˉ ik 2 + σ ˉ 2 / n ∑ k w ˉ ik 2 − n 1 ∑ k Var ℓ [ w ik ] ] + + ε T m a x = [ ( N C i mean ) 2 − ∑ k w ˉ ik 2 + σ ˉ 2 / n n 1 ∑ k Var ℓ [ w ik ] ] + + ε T m a x , (5)
where [ x ] + : = max ( 0 , x ) [x]_{+}:=\max(0,x) [ x ] + := max ( 0 , x ) and the random error term satisfies ∣ E [ ε T max ] ∣ ≤ ( c / T ) 1 / 4 \left|\mathbb{E}\left[\varepsilon_{T}^{\max}\right]\right|\le(c/T)^{1/4} ∣ E [ ε T m a x ] ∣ ≤ ( c / T ) 1/4 and E [ ( ε T max ) 2 ] ≤ ( c / T ) 1 / 2 \mathbb{E}\left[\left(\varepsilon_{T}^{\max}\right)^{2}\right]\le(c/T)^{1/2} E [ ( ε T m a x ) 2 ] ≤ ( c / T ) 1/2 , for a constant c c c that depends neither on T T T nor on n n n . These bounds are weaker than those of ε T \varepsilon_{T} ε T because the threshold max ( 0 , ⋅ ) \max(0,\cdot) max ( 0 , ⋅ ) is not differentiable at zero. Denoting by x i x_i x i the argument of the square root, if x i x_i x i is bounded away from zero uniformly in T T T , the error term becomes ε T \varepsilon_{T} ε T and the 1 / T 1/T 1/ T rate is recovered. However, this rate is only reached once the fluctuations of the estimation of x i x_i x i are small compared to x i x_i x i . For units with weak signal (small x i x_i x i ), at small T T T these fluctuations are large compared with the distance between x i x_i x i and zero and the error is of order T − 1 / 4 T^{-1/4} T − 1/4 . In this transient regime, the error is dominated by an upward bias since the threshold sets to zero the realizations that are randomly too low, but keeps those that are randomly too high. Additionally, the leading term of N C ^ i A T V \widehat{NC}_{i}^{\mathrm{ATV}} N C i ATV underestimates the true noise ceiling by a term of order O ( 1 / n ) O(1/n) O ( 1/ n ) , which vanishes in the homogeneous regime.
SHSB estimator We write ( A , B ) (A,B) ( A , B ) for a split of the n n n trials into two halves of size n / 2 n/2 n /2 , and S S S for the collection of r r r splits over which the Spearman–Brown corrected correlations are averaged. As derived in Appendix B.4.3, if for every split Cov ^ T ( v i ∗ A , v i ∗ B ) ≥ 0 \widehat{\operatorname{Cov}}_{\mathrm{T}}(v_i^{*A},v_i^{*B}) \ge0 Cov T ( v i ∗ A , v i ∗ B ) ≥ 0 , then
N C ^ i S H S B = 1 r ∑ ( A , B ) ∈ S ∑ k w ˉ i k 2 − Δ A B w ∑ k w ˉ i k 2 + σ ˉ i 2 / n − Δ A B s d + ε T max (6) \widehat{NC}_i^{\mathrm{SHSB}} = \sqrt{\frac{1}{r}\sum_{(A,B)\in\mathcal{S}}\frac{\sum_k \bar{w}_{ik}^{2}-\Delta_{AB}^{w}}{\sum_k \bar{w}_{ik}^{2}+\bar{\sigma}_i^{2}/n-\Delta_{AB}^{\mathrm{sd}}}}+\varepsilon_T^{\max} \tag*{(6)} N C i SHSB = r 1 ( A , B ) ∈ S ∑ ∑ k w ˉ ik 2 + σ ˉ i 2 / n − Δ A B sd ∑ k w ˉ ik 2 − Δ A B w + ε T m a x (6)
where Δ A B w : = 1 4 ∑ k ( w ˉ i k A − w ˉ i k B ) 2 \Delta_{AB}^{w}:=\frac{1}{4}\sum_k\left(\bar{w}_{ik}^{A}-\bar{w}_{ik}^{B}\right)^2 Δ A B w := 4 1 ∑ k ( w ˉ ik A − w ˉ ik B ) 2 and Δ A B s d : = 1 4 ( ∑ k ( w ˉ i k A ) 2 + 2 σ ˉ A 2 n − ∑ k ( w ˉ i k B ) 2 + 2 σ ˉ B 2 n ) 2 \Delta_{AB}^{\mathrm{sd}}:=\frac{1}{4}\left(\sqrt{\sum_k\left(\bar{w}_{ik}^{A}\right)^2+\frac{2\bar{\sigma}_A^2}{n}}-\sqrt{\sum_k\left(\bar{w}_{ik}^{B}\right)^2+\frac{2\bar{\sigma}_B^2}{n}}\right)^2 Δ A B sd := 4 1 ( ∑ k ( w ˉ ik A ) 2 + n 2 σ ˉ A 2 − ∑ k ( w ˉ ik B ) 2 + n 2 σ ˉ B 2 ) 2 with σ ˉ A 2 : = 2 n ∑ ℓ ∈ A σ i , ℓ 2 \bar{\sigma}_A^2:=\frac{2}{n}\sum_{\ell\in A}\sigma_{i,\ell}^2 σ ˉ A 2 := n 2 ∑ ℓ ∈ A σ i , ℓ 2 (and similarly for B B B ). The term Δ A B w \Delta_{AB}^{w} Δ A B w measures how much the latent weights differ between the two halves, and Δ A B s d \Delta_{AB}^{\mathrm{sd}} Δ A B sd measures how much the standard deviations over time of the two half-averages differ. The error term ε T max \varepsilon_T^{\max} ε T m a x behaves as for the ATV estimator: it becomes ε T \varepsilon_T ε T when the argument of the square root is bounded away from zero uniformly in T T T , but for units with weak signal it is of order T − 1 / 4 T^{-1/4} T − 1/4 at small T T T .
The SHSB and ATV estimators are closely related. When S \mathcal{S} S contains all possible splits, the average of Δ A B w \Delta_{AB}^{w} Δ A B w over splits is exactly 1 n − 1 ∑ k Var ℓ [ w i k ] \frac{1}{n-1}\sum_k\operatorname{Var}_{\ell}[w_{ik}] n − 1 1 ∑ k Var ℓ [ w ik ] (Lemma 5). The averaged numerators therefore coincide with the numerator of (5) , and both estimators share the same O ( 1 / n ) O(1/n) O ( 1/ n ) underestimation due to the heterogeneity of the signal across trials. They differ only through Δ A B s d \Delta_{AB}^{\mathrm{sd}} Δ A B sd in the denominators.
Noise Ceiling for Single-Trial Responses
The true noise ceiling N C i , ℓ s i n g l e NC_{i,\ell}^{\mathrm{single}} N C i , ℓ single , derived in Appendix B.5.1, is given by
N C i , ℓ s i n g l e = ∑ k ( w i k ( ℓ ) ) 2 ∑ k ( w i k ( ℓ ) ) 2 + σ ℓ 2 + ε T . (7) NC_{i,\ell}^{\mathrm{single}}=\sqrt{\frac{\sum_k\left(w_{ik}^{(\ell)}\right)^2}{\sum_k\left(w_{ik}^{(\ell)}\right)^2+\sigma_\ell^2}}+\varepsilon_T. \tag*{(7)} N C i , ℓ single = ∑ k ( w ik ( ℓ ) ) 2 + σ ℓ 2 ∑ k ( w ik ( ℓ ) ) 2 + ε T . (7)
Unlike the trial-averaged case, it does not depend on the number of trials n n n , it is determined solely by the signal-to-noise ratio of the individual recording unit.
LOOC and TTMC estimators The expressions for the LOOC and TTMC estimators, detailed in Appendices B.5.2 and B.5.3, are
N C ^ i , ℓ L O O C = N C i , ℓ s i n g l e ⋅ ∑ k w i k ( ℓ ) w ˉ i k ( − ℓ ) ( ∑ k ( w i k ( ℓ ) ) 2 ) ( ∑ k ( w ˉ i k ( − ℓ ) ) 2 + σ ˉ − ℓ 2 n − 1 ) + ε T , \widehat{NC}_{i,\ell}^{\mathrm{LOOC}}=NC_{i,\ell}^{\mathrm{single}}\cdot\frac{\sum_k w_{ik}^{(\ell)}\bar{w}_{ik}^{(-\ell)}}{\sqrt{\left(\sum_k\left(w_{ik}^{(\ell)}\right)^2\right)\left(\sum_k\left(\bar{w}_{ik}^{(-\ell)}\right)^2+\frac{\bar{\sigma}_{-\ell}^2}{n-1}\right)}}+\varepsilon_T, N C i , ℓ LOOC = N C i , ℓ single ⋅ ( ∑ k ( w ik ( ℓ ) ) 2 ) ( ∑ k ( w ˉ ik ( − ℓ ) ) 2 + n − 1 σ ˉ − ℓ 2 ) ∑ k w ik ( ℓ ) w ˉ ik ( − ℓ ) + ε T ,
N C ^ i , ℓ T T M C = N C i , ℓ s i n g l e ⋅ ∑ k w i k ( ℓ ) w ˉ i k + σ ℓ 2 n ( ∑ k ( w i k ( ℓ ) ) 2 ) ( ∑ k w ˉ i k 2 + σ ˉ 2 n ) + ε T . (8) \widehat{NC}_{i,\ell}^{\mathrm{TTMC}}=NC_{i,\ell}^{\mathrm{single}}\cdot\frac{\sum_k w_{ik}^{(\ell)}\bar{w}_{ik}+\frac{\sigma_\ell^2}{n}}{\sqrt{\left(\sum_k\left(w_{ik}^{(\ell)}\right)^2\right)\left(\sum_k\bar{w}_{ik}^2+\frac{\bar{\sigma}^2}{n}\right)}}+\varepsilon_T. \tag*{(8)} N C i , ℓ TTMC = N C i , ℓ single ⋅ ( ∑ k ( w ik ( ℓ ) ) 2 ) ( ∑ k w ˉ ik 2 + n σ ˉ 2 ) ∑ k w ik ( ℓ ) w ˉ ik + n σ ℓ 2 + ε T . (8)
As n n n becomes large, both expressions approach N C i , ℓ s i n g l e ⋅ cos k ( w i ( ℓ ) , w ˉ i ) + ε T NC_{i,\ell}^{\mathrm{single}}\cdot\cos_k\left(w_i^{(\ell)},\bar{w}_i\right)+\varepsilon_T N C i , ℓ single ⋅ cos k ( w i ( ℓ ) , w ˉ i ) + ε T , with cos k ( ⋅ , ⋅ ) \cos_k(\cdot,\cdot) cos k ( ⋅ , ⋅ ) the cosine similarity across k k k . However, in the heterogeneous setting, this limit is strictly lower than N C i , ℓ s i n g l e NC_{i,\ell}^{\mathrm{single}} N C i , ℓ single . Notably, this bias arises because encoding models produce a separate prediction for each trial. Other approaches that make a single prediction shared across all trials, such as Representational Similarity Analysis (RSA) [34 ] , are not affected by this bias. In the homogeneous regime, both estimators converge to the true noise ceiling N C i , ℓ s i n g l e NC_{i,\ell}^{\mathrm{single}} N C i , ℓ single as n → ∞ n\to\infty n → ∞ , up to ε T \varepsilon_T ε T . The LOOC estimator always approaches it from below. The TTMC estimator approaches it from above as long as the noise variance of trial ℓ \ell ℓ is at least half the average noise variance across trials, σ ℓ 2 ≥ σ ˉ 2 / 2 \sigma_\ell^2\ge\bar{\sigma}^2/2 σ ℓ 2 ≥ σ ˉ 2 /2 .
LOOP estimator LOOP does not admit a closed form in terms of the weights, but its behavior can be described geometrically (Appendix B.5.4). When T T T is large compared to the number p = m ( n − 1 ) p=m(n-1) p = m ( n − 1 ) of predictors, N C ^ i , ℓ L O O P = N C i , ℓ s i n g l e cos α ( ℓ ) \widehat{NC}_{i,\ell}^{\mathrm{LOOP}}=NC_{i,\ell}^{\mathrm{single}}\cos\alpha^{(\ell)} N C i , ℓ LOOP = N C i , ℓ single cos α ( ℓ ) , where α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) is the angle between v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) and the space spanned by the predictors. LOOP is therefore a lower bound on the single-trial noise ceiling, at least as large as LOOC in the large T / p T/p T / p limit. As n n n grows while keeping T / p T/p T / p large, α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) decreases and LOOP eventually reaches the true noise ceiling, even in the heterogeneous regime. In practice, however, the number of time points T T T is limited, and the generalization error of the fitted model grows with p p p , so that LOOP can in practice fall below LOOC. Its dependence on n n n therefore combines an increasing and a decreasing term, and has no simple universal form. In particular, the exponential form 1 − e − n / τ 0 1-e^{-n/\tau_0} 1 − e − n / τ 0 assumes a fast saturation and ignores the generalization error, both of which lead to underestimating the noise ceiling, which may explain why encoding model scores are frequently reported to exceed noise ceilings estimated with this method (Aw et al., 2024).
Experimental Results
In this section, we evaluate the noise ceiling estimators both on synthetic brain recordings and real fMRI and EEG data. The synthetic dataset, built as a specific setting of our general mathematical framework, provides a quantitative comparison between the true noise ceiling, the closed-form expressions derived in Sec. 3.2 and 3.3, and the empirical estimates. The real datasets provide a qualitative validation of the theoretical and synthetic results, across different modalities and experimental settings. All results except LOOP were computed on a single CPU in less than a day in total. LOOP was computed on a single NVIDIA A100 GPU (80 GB) in approximately one day. The code used to generate all figures is available at https://github.com/AudeMaier/noise-ceiling .
fMRI and EEG datasets We evaluate the noise ceiling estimators on three datasets. In each case, we describe the data in terms of n n n trials, m m m recording units, and a stimulus sequence of length T T T .
THINGS fMRI¹: an fMRI dataset [36 ] in which 3 participants viewed sequences of images from the THINGS database [37 ] while being scanned on a 3T MRI scanner. Each participant underwent 12 sessions, over which 100 images were repeated. We use the response estimates (β \beta β values) obtained from a general linear model (GLM) for voxels in V1 of the first participant. The resulting dataset contains n = 12 n=12 n = 12 trials from a single participant, m = 1049 m=1049 m = 1049 units (voxels in V1), and T = 100 T=100 T = 100 images.
THINGS EEG2: an EEG dataset [38 ] in which 10 participants viewed sequences of images from the THINGS database [37 ] . The preprocessed data contain signals from 17 channels, sampled at 100 Hz. Each subject underwent 4 sessions, each containing 20 repetitions of the same 200 images. We only use data from the first participant, and treat every combination of channel and time point as a separate unit. The resulting dataset contains n = 80 n=80 n = 80 trials from a single participant, m = 1700 m=1700 m = 1700 units (channels × \times × time points), and T = 200 T=200 T = 200 images.
Sherlock dataset: an fMRI dataset [25 ] in which 16 participants watched the first episode of the BBC television series "Sherlock" (48 minutes), while being scanned on a 3T MRI scanner. We preprocessed the data using fMRIPrep [39 ] and mapped them into MNI space. We isolated V1 and IT brain regions using the Harvard-
Oxford atlas. In summary, the dataset contains n = 16 n = 16 n = 16 inter-subject trials, with m = 623 m = 623 m = 623 units (voxels, 296 in V1 and 327 in IT), and a sequence length of T = 1976 T = 1976 T = 1976 time points.
The Sherlock dataset is clearly in the heterogeneous regime as its trials are different subjects, whose brains differ anatomically and functionally. The THINGS fMRI1 and EEG2 datasets are more ambiguous. Their trials are repetitions in the same participant, however they are spread across several sessions, which can introduce some heterogeneity (e.g. different electrode positions or internal state from one session to the next). We nevertheless assume homogeneity when generating the synthetic data that mimic these two datasets, and discuss the consequences of a possible heterogeneity in § 4 .
Synthetic brain recordings We construct synthetic datasets consisting of n n n trials of m = 10 × 10 m = 10 \times10 m = 10 × 10 voxels arranged on a 2D grid, generated from the signal model of (3) . The trial generation process is illustrated in Figure 1 . The shared signals ϕ k \phi_k ϕ k can be constructed in two different ways. To mimic fMRI BOLD signals corresponding to one long continuous stimulus (Sherlock dataset), the signals ϕ k \phi_k ϕ k are obtained by simulating neural events according to a Poisson process (λ = 0.1 \lambda= 0.1 λ = 0.1 ) with exponentially distributed durations (μ = 5 \mu= 5 μ = 5 ), producing a box-shaped time series. This time series is then convolved with a double-gamma hemodynamic response function (HRF) to produce BOLD-like signals with time resolution 1.5s. For experimental setups where subjects are shown a set of discrete stimuli reshuffled in each trial (THINGS fMRI1 and THINGS EEG2), the signals ϕ k \phi_k ϕ k are generated as i.i.d. Gaussian processes. The noise term η i ( ℓ ) \eta_i^{(\ell)} η i ( ℓ ) consists of two components. The first follows the same structure as the signal term: it is a linear combination of trial-specific signals ϕ ~ k ′ ( ℓ ) \widetilde{\phi}_{k'}^{(\ell)} ϕ k ′ ( ℓ ) , generated independently for each trial using the same procedure as the shared signals, with trial-specific mixing weights w ~ i k ′ ( ℓ ) \widetilde{w}_{ik'}^{(\ell)} w i k ′ ( ℓ ) . The fraction of shared signals among all (shared and trial-specific) signals is controlled by the parameter ρ s h a r e d = K / ( K + K ′ ) \rho_{\mathrm{shared}} = K/(K + K') ρ shared = K / ( K + K ′ ) . The second noise term is white Gaussian noise whose standard deviation varies across voxels as σ i = σ 0 e s Z i \sigma_i = \sigma_0 e^{sZ_i} σ i = σ 0 e s Z i with Z i ∼ N ( 0 , 1 ) Z_i \sim\mathcal{N}(0,1) Z i ∼ N ( 0 , 1 ) , so that σ 0 \sigma_0 σ 0 is the median noise level and s s s controls its spread across voxels. The spatial structure of the mixing weights is inspired by Erhardt et al. [40 ] : for each signal ϕ k \phi_k ϕ k , a center coordinate ( x k , y k ) (x_k, y_k) ( x k , y k ) is drawn uniformly on the grid, and the weight w i k w_{ik} w ik of voxel i i i is set to a Gaussian kernel of standard deviation σ w \sigma_w σ w evaluated at the distance between the voxel center and ( x k , y k ) (x_k, y_k) ( x k , y k ) . In the homogeneous regime, the coordinates are fixed across trials, yielding constant weights w i k w_{ik} w ik . In the heterogeneous regime, the center coordinates are resampled for each trial as ( x k ( ℓ ) , y k ( ℓ ) ) = ( x k , y k ) + ( δ x , δ y ) (x_k^{(\ell)}, y_k^{(\ell)}) = (x_k, y_k) + (\delta_x, \delta_y) ( x k ( ℓ ) , y k ( ℓ ) ) = ( x k , y k ) + ( δ x , δ y ) , where ( δ x , δ y ) ∼ U ( [ − Δ , Δ ] 2 ) (\delta_x, \delta_y) \sim\mathcal{U}([-\Delta, \Delta]^2) ( δ x , δ y ) ∼ U ([ − Δ , Δ ] 2 ) is drawn independently for each trial, producing trial-specific weights w i k ( ℓ ) w_{ik}^{(\ell)} w ik ( ℓ ) that vary around a common mean. The parameters ρ s h a r e d \rho_{\mathrm{shared}} ρ shared , σ 0 \sigma_0 σ 0 , s s s , σ w \sigma_w σ w , and Δ \Delta Δ can be varied to model different experimental settings and brain areas.
Figure 1. Signal and trial generation. (a) To mimic the fMRI BOLD response to a continuous stimulus, signals are generated by convolving an event time series with the hemodynamic response function (HRF). (b) To mimic the response to a set of randomly ordered discrete stimuli, signals are generated as i.i.d. Gaussian processes. (c) A trial is generated by multiplying shared and trial-specific signals with trial-specific mixing weights, and adding Gaussian noise. (d) Two generated trials differ by their trial-specific signals and their (potentially) misaligned mixing weights. More details about the generative process are provided in Sec. 3.4.
Finite-T T T bias Figure 2 shows the estimators as a function of the number of trials n n n for the three datasets and for synthetic datasets designed to mimic them. For the synthetic data, the empirical values can be compared with the leading term of their closed-form expressions; the gap between a solid line and the corresponding dotted black line estimates the bias E [ ϵ T ] \mathbb{E}[\epsilon_T] E [ ϵ T ] of that estimator. The two lines match closely, except for ATV and SHSB at small n n n , which exhibit a positive bias when the noise ceiling is low. This is the transient regime described in § 3.2 , which arises for voxels with low true noise ceiling. As the true noise ceiling increases with n n n , the bias disappears for larger n n n . This phenomenon can be studied further by plotting the estimators as a function of T T T at fixed n n n , as done on the Sherlock dataset in Appendix D.
Figure 2. Noise ceiling estimators on synthetic and brain data. Each row corresponds to one dataset from § 3.4 . The left column shows the trial-averaged noise ceiling N C m e a n NC^{\mathrm{mean}} N C mean and its estimators, and the right column shows the single-trial noise ceiling N C s i n g l e NC^{\mathrm{single}} N C single and its estimators, as a function of the number of trials n n n . Within each column, synthetic data and brain data are shown side by side, all values are averaged across units i = 1 , … , m i = 1, \ldots, m i = 1 , … , m . The true noise ceilings (gray) are known only for the synthetic data. For the synthetic data, solid lines show the mean over 10 simulated datasets, with error bars giving asymptotic 95% confidence intervals (often smaller than the line width), and dotted black lines show the leading term of the corresponding closed form from § 3.2 , 3.3. The synthetic data are generated in the homogeneous regime (Δ = 0 \Delta= 0 Δ = 0 ) in the top two rows and in the heterogeneous regime (Δ > 0 \Delta> 0 Δ > 0 ) in the bottom two rows, with parameters chosen to mimic the brain data of each row (all parameters are given in Table 4 , Appendix § 9 ). For each n n n , estimates are averaged over 50 random subsets of n n n trials. LOOP, which has no closed form, is shown only for Sherlock and its synthetic counterpart. THINGS fMRI1 and THINGS EEG2 have too few stimuli (100 and 200) to fit the ridge regression meaningfully, and in practice LOOP is used for across-subject repetitions.
Homogeneous regime Looking at the top two rows of Figure 2 , the leading terms of ATV and SHSB both overlap with N C m e a n NC^{\mathrm{mean}} N C mean , up to their finite-T T T biases. Here Δ A B s d = 0 \Delta_{AB}^{\mathrm{sd}} = 0 Δ A B sd = 0 because all trials have the same noise variance in the synthetic data, making ATV and SHSB equal. In the brain data, ATV and SHSB also nearly coincide, showing that Δ A B s d \Delta_{AB}^{\mathrm{sd}} Δ A B sd is small in practice. For the trial-specific noise ceiling, LOOC and TTMC correctly approach N C s i n g l e NC^{\mathrm{single}} N C single as n n n grows, from below and from above, respectively.
Heterogeneous regime In the bottom two rows of Figure 2 , ATV and SHSB underestimate N C m e a n NC^{\mathrm{mean}} N C mean by a term of order 1 / n 1/n 1/ n , consistently with their closed forms in the heterogeneous regime. This term grows with the variance of the weights across trials, which the synthetic data control through Δ \Delta Δ and σ w \sigma_w σ w . The trial-specific estimators, LOOC and TTMC, converge to a common limit below N C s i n g l e NC^{\mathrm{single}} N C single . TTMC is therefore no longer an upper bound as it falls below N C s i n g l e NC^{\mathrm{single}} N C single from n ≈ 8 n \approx8 n ≈ 8 in both synthetic settings. LOOP lies above LOOC in both brain regions. In the synthetic data, however, it saturates far below N C s i n g l e NC^{\mathrm{single}} N C single , so extrapolating it to large n n n with an exponential fit would still underestimate the noise ceiling. The true noise ceilings of the synthetic data should not be read as estimates of true ceilings of the brain data. Many parameter combinations reproduce the same estimator curves with different true noise ceilings. N C m e a n NC^{\mathrm{mean}} N C mean can in principle lie anywhere between ATV and 1, depending on the level of heterogeneity. The true noise ceilings of the synthetic data are only one plausible example of where those of the brain data could lie. Similarly, LOOP lying above LOOC is not evidence of heterogeneity. In the homogeneous regime, when the signal of neighboring units is correlated, LOOP can combine many units to average out more of their noise than LOOC.
Discussion
In this work, we introduced a unified mathematical framework for brain recordings across modalities and used it to analyze the statistical properties of noise ceiling estimators across experimental settings. We identified two central regimes: the homogeneous regime, in which all trials express the latent signals with the same mixing weights, and the heterogeneous regime, in which these weights vary across trials. In the homogeneous regime, ATV recovers N C m e a n NC^{\mathrm{mean}} N C mean up to finite-T T T error terms. SHSB does so for even n n n when all trials have the same noise level. LOOC and TTMC converge to N C s i n g l e NC^{\mathrm{single}} N C single as n n n grows. In the heterogeneous regime, ATV and SHSB underestimate N C m e a n NC^{\mathrm{mean}} N C mean by a term of order
Table 2. Recommended noise ceiling estimators.
1 / n 1/n 1/ n , and LOOC and TTMC converge to a limit below N C s i n g l e NC^{\mathrm{single}} N C single . LOOP is the only estimator that can converge to N C s i n g l e NC^{\mathrm{single}} N C single in this regime, but for realistic values of T T T its generalization error grows with the number of predictors, and in our synthetic data it saturates below N C s i n g l e NC^{\mathrm{single}} N C single . Heterogeneity is typically important when trials correspond to different subjects, but it can also arise between sessions of the same subject, and even within a session: the response to a stimulus seen for the first time can differ from the response to its later presentations, once it has become familiar. How much heterogeneity these factors introduce is an important question for future work. If it is non-negligible, the estimators would underestimate the true noise ceiling also for datasets with repeated presentations in the same participant, such as THINGS-fMRI1 and THINGS-EEG2, although for ATV and SHSB this underestimation decreases with the number of repetitions.
The analytical results rely on four assumptions (Assumptions 1–4). Noise that is correlated between trials violates the first one and inflates all estimators, which then treat the shared noise as signal. Stimulus-locked non-neuronal responses, such as changes in heart rate or gaze at specific events, do not violate it. They are reproducible across trials and therefore part of the signal, which a model of the stimulus could in principle predict. For trials recorded in the same run, shared noise can come from slow drifts, which are typically removed by high-pass filtering. The second assumption, boundedness of the signals, is trivial for any physical recording. The last two require that the noise and its squared amplitude have short memory, so that the error terms vanish as T T T grows. Slow drifts and persistent oscillations violate them and can lead to errors that decay slowly or not at all. They can be largely removed by high-pass filtering and nuisance regression, and the remaining memory can be evaluated empirically by observing the decay of the autocorrelation of the signals and of their squares.
Table 2 summarizes which estimator to use depending on the regime and on whether the model is evaluated on trial-averaged or single-trial responses. In the homogeneous regime, the trial-averaged noise ceiling can be estimated without systematic error, whereas in the heterogeneous regime only lower bounds are available. In particular, TTMC should not be used as an upper bound in the heterogeneous regime. For single trials, variants of LOOP that reduce the generalization error at the cost of a larger angle α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) can also be used, for instance predicting each unit only from the same unit in the other trials, or from the average of the other trials. Taking, for each unit, the highest of LOOC, LOOP and its variants provides a tighter lower bound on N C s i n g l e NC^{\mathrm{single}} N C single , provided that the estimator is selected on a validation set, to avoid biasing the estimate upwards. When only a lower bound on the noise ceiling is available, we recommend reporting brain scores as an interval: its lower end is the unnormalized brain score and its upper end is the brain score normalized by the lower bound, clipped at 1. A checklist of common pitfalls when computing noise ceilings is provided in Appendix § 11 .
Limitations While our framework provides a unified theoretical grounding for noise ceiling estimation, several theoretical and empirical limitations remain. First, the reproducible response is formally defined to include everything that is predictable given the attributes that are fixed within a trial. This choice matches the standard use of encoding models as predictors of the recorded responses. If the goal is instead to assess whether a model is brain-like, i.e. whether it captures what is common to brains, only the latent signals shared by most subjects should be considered, which would lower the true noise ceiling. The main conclusions of the paper would, however, still hold as differences in how the subjects mix these shared signals would still exist, resulting in downward biases of the estimators. Additionally, although we provide initial theoretical analysis for Leave-One-Out Prediction (LOOP), a complete theoretical treatment remains open. Empirically, our evaluation is restricted to fMRI and EEG datasets using visual (THINGS fMRI and THINGS EEG) or audiovisual (Sherlock) stimuli, leaving other modalities (invasive electrophysiology, magnetoencephalography) and other cognitive domains (language processing, motor control) unexamined. Finally, our empirical validation relies on consistency checks of the closed-form expressions using synthetic data generated under a particular case of our theoretical framework, and qualitative comparisons across three datasets, rather than an exhaustive quantitative benchmark across diverse experimental and synthetic setups.
Acknowledgment
This work was supported by the Swiss National Science Foundation grant 200021-236436.
Noise ceiling methods used in the literature
Table 3: Summary of noise ceiling methods used in the neuroimaging literature, grouped by method type. For each paper, we report the stimulus modality, whether a General Linear Model (GLM) was used to extract per-voxel beta values, whether the dataset included multiple repetitions of the same stimulus within participants, and whether the model was fit to predict a participant average (as opposed to individual participants separately).
Mathematical derivations
Statement on AI use
The proofs of Lemma 2, Theorem 1, Corollary 1, Lemma 3, Proposition 2, and Proposition 3 were developed with AI assistance. An LLM (Claude Opus 5 and 5.5) was used to brainstorm proof skeletons and draft the proofs in an iterative process with the authors. The authors verified every step of these proofs, checking each argument and redoing all computations by hand. Additionally, the authors detailed, clarified or simplified the arguments where needed. All other results were derived independently by the authors. For these, the LLM was used for writing assistance and to check the derivations. The authors take full responsibility for the correctness of all statements and proofs.
Large T T T Convergence Rate
In this section, we fix one recording unit and omit the index i i i for more readability. For each trial ℓ \ell ℓ , we define the corresponding brain recording as a stochastic process { v t ( ℓ ) } t > 0 \{v_t^{(\ell)}\}_{t>0} { v t ( ℓ ) } t > 0 . Each trial carries attributes θ ( ℓ ) \theta^{(\ell)} θ ( ℓ ) (e.g. subject identity, experimental conditions). All results are stated conditionally on the attributes θ = ( θ ( 1 ) , … , θ ( n ) ) \theta= (\theta^{(1)}, \ldots, \theta^{(n)}) θ = ( θ ( 1 ) , … , θ ( n ) ) , i.e. all expectations E [ ⋅ ] \mathbb{E}[\cdot] E [ ⋅ ] , variances Var ( ⋅ ) \operatorname{Var}(\cdot) Var ( ⋅ ) and covariances Cov ( ⋅ ) \operatorname{Cov}(\cdot) Cov ( ⋅ ) are implicitly conditional on θ \theta θ .
Definition 1 (signal and noise). The noise-free signal and the noise of trial ℓ \ell ℓ are defined as
v t ∗ ( ℓ ) : = E [ v t ( ℓ ) ] , η t ( ℓ ) : = v t ( ℓ ) − v t ∗ ( ℓ ) (9) v_t^{*(\ell)} := \mathbb{E}\left[v_t^{(\ell)}\right], \qquad\eta_t^{(\ell)} := v_t^{(\ell)} - v_t^{*(\ell)} \tag*{(9)} v t ∗ ( ℓ ) := E [ v t ( ℓ ) ] , η t ( ℓ ) := v t ( ℓ ) − v t ∗ ( ℓ ) (9) so that E [ η t ( ℓ ) ] = 0 \mathbb{E}\left[\eta_t^{(\ell)}\right] = 0 E [ η t ( ℓ ) ] = 0 by construction. The signal v t ∗ ( ℓ ) v_t^{*(\ell)} v t ∗ ( ℓ ) is deterministic (given θ \theta θ ) and all randomness sits in the noise. We write
γ ℓ ( t , s ) : = Cov ( η t ( ℓ ) , η s ( ℓ ) ) (10) \gamma_\ell(t,s) := \operatorname{Cov}\left(\eta_t^{(\ell)},\eta_s^{(\ell)}\right) \tag*{(10)} γ ℓ ( t , s ) := Cov ( η t ( ℓ ) , η s ( ℓ ) ) (10) for the autocovariance of the noise of trial ℓ \ell ℓ , and
σ ℓ 2 : = 1 T ∑ t = 1 T Var ( η t ( ℓ ) ) = 1 T ∑ t = 1 T γ ℓ ( t , t ) (11) \sigma_\ell^2 := \frac{1}{T}\sum_{t=1}^{T}\operatorname{Var}\left(\eta_t^{(\ell)}\right) = \frac{1}{T}\sum_{t=1}^{T}\gamma_\ell(t,t) \tag*{(11)} σ ℓ 2 := T 1 t = 1 ∑ T Var ( η t ( ℓ ) ) = T 1 t = 1 ∑ T γ ℓ ( t , t ) (11) for the noise variance of trial ℓ \ell ℓ , averaged over time.
Definition 2 (time averages). For finite sequences x = { x t } t = 1 , … , T \mathbf{x} = \{x_t\}_{t=1,\ldots,T} x = { x t } t = 1 , … , T , y = { y t } t = 1 , … , T \mathbf{y} = \{y_t\}_{t=1,\ldots,T} y = { y t } t = 1 , … , T we write
⟨ x ⟩ : = 1 T ∑ t = 1 T x t , Cov ^ t ( x , y ) : = ⟨ x y ⟩ − ⟨ x ⟩ ⟨ y ⟩ (12) \langle\mathbf{x}\rangle:= \frac{1}{T}\sum_{t=1}^{T}x_t,\qquad\widehat{\operatorname{Cov}}_t(\mathbf{x},\mathbf{y}) := \langle\mathbf{x}\mathbf{y}\rangle-\langle\mathbf{x}\rangle\langle\mathbf{y}\rangle \tag*{(12)} ⟨ x ⟩ := T 1 t = 1 ∑ T x t , Cov t ( x , y ) := ⟨ xy ⟩ − ⟨ x ⟩ ⟨ y ⟩ (12) Var ^ t ( x ) : = Cov ^ t ( x , x ) , Corr ^ t ( x , y ) : = Cov ^ t ( x , y ) Var ^ t ( x ) Var ^ t ( y ) (13) \widehat{\operatorname{Var}}_t(\mathbf{x}) := \widehat{\operatorname{Cov}}_t(\mathbf{x},\mathbf{x}),\qquad\widehat{\operatorname{Corr}}_t(\mathbf{x},\mathbf{y}) := \frac{\widehat{\operatorname{Cov}}_t(\mathbf{x},\mathbf{y})}{\sqrt{\widehat{\operatorname{Var}}_t(\mathbf{x})\widehat{\operatorname{Var}}_t(\mathbf{y})}} \tag*{(13)} Var t ( x ) := Cov t ( x , x ) , Corr t ( x , y ) := Var t ( x ) Var t ( y ) Cov t ( x , y ) (13) where x y \mathbf{x}\mathbf{y} xy is the elementwise product.
Definition 3 (averages over subsets of trials). For a non-empty subset of trials A ⊆ [ n ] A \subseteq[n] A ⊆ [ n ] we write
v A : = 1 ∣ A ∣ ∑ ℓ ∈ A v ( ℓ ) , v ∗ A : = 1 ∣ A ∣ ∑ ℓ ∈ A v ∗ ( ℓ ) , η A : = 1 ∣ A ∣ ∑ ℓ ∈ A η ( ℓ ) (14) \mathbf{v}^{A} := \frac{1}{|A|}\sum_{\ell\in A}\mathbf{v}^{(\ell)},\qquad\mathbf{v}^{*A} := \frac{1}{|A|}\sum_{\ell\in A}\mathbf{v}^{*(\ell)},\qquad\boldsymbol{\eta}^{A} := \frac{1}{|A|}\sum_{\ell\in A}\boldsymbol{\eta}^{(\ell)} \tag*{(14)} v A := ∣ A ∣ 1 ℓ ∈ A ∑ v ( ℓ ) , v ∗ A := ∣ A ∣ 1 ℓ ∈ A ∑ v ∗ ( ℓ ) , η A := ∣ A ∣ 1 ℓ ∈ A ∑ η ( ℓ ) (14) so that v A = v ∗ A + η A \mathbf{v}^{A} = \mathbf{v}^{*A} + \boldsymbol{\eta}^{A} v A = v ∗ A + η A . Additionally, for two subsets A , B ⊆ [ n ] A,B \subseteq[n] A , B ⊆ [ n ] we define their shared noise as
s ( A , B ) : = 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∩ B σ ℓ 2 . (15) s(A,B) := \frac{1}{|A||B|}\sum_{\ell\in A\cap B}\sigma_\ell^2. \tag*{(15)} s ( A , B ) := ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∩ B ∑ σ ℓ 2 . (15)
We now list all assumptions needed for the derivations of our results below.
Assumption 1 (independent trials). The noise processes η ( 1 ) , … , η ( n ) \eta^{(1)},\ldots,\eta^{(n)} η ( 1 ) , … , η ( n ) are mutually independent (conditionally on θ \theta θ ).
Assumption 2 (bounded signals). There exists a constant M < ∞ M < \infty M < ∞ such that sup ℓ ∈ [ n ] sup t > 0 ∣ v t ∗ ( ℓ ) ∣ < M \sup_{\ell\in[n]}\sup_{t>0}\left|v_t^{*(\ell)}\right| < M sup ℓ ∈ [ n ] sup t > 0 v t ∗ ( ℓ ) < M .
Assumption 3 (short-range temporal correlations). There exists a constant C < ∞ C < \infty C < ∞ such that sup ℓ ∈ [ n ] sup t > 0 ∑ s = 1 ∞ ∣ γ ℓ ( t , s ) ∣ < C \sup_{\ell\in[n]}\sup_{t>0}\sum_{s=1}^{\infty}\left|\gamma_\ell(t,s)\right| < C sup ℓ ∈ [ n ] sup t > 0 ∑ s = 1 ∞ ∣ γ ℓ ( t , s ) ∣ < C .
Assumption 4 (short-range correlation of the squared noise). For every trial ℓ \ell ℓ , E [ ( η t ( ℓ ) ) 4 ] < ∞ \mathbb{E}\left[\left(\eta_t^{(\ell)}\right)^4\right] < \infty E [ ( η t ( ℓ ) ) 4 ] < ∞ for all t t t , and there exists a constant K 4 < ∞ K_4 < \infty K 4 < ∞ such that sup ℓ ∈ [ n ] sup t > 0 ∑ s = 1 ∞ ∣ Cov ( ( η t ( ℓ ) ) 2 , ( η s ( ℓ ) ) 2 ) ∣ < K 4 \sup_{\ell\in[n]}\sup_{t>0}\sum_{s=1}^{\infty}\left|\operatorname{Cov}\left(\left(\eta_t^{(\ell)}\right)^2,\left(\eta_s^{(\ell)}\right)^2\right)\right| < K_4 sup ℓ ∈ [ n ] sup t > 0 ∑ s = 1 ∞ Cov ( ( η t ( ℓ ) ) 2 , ( η s ( ℓ ) ) 2 ) < K 4 .
Error terms. Throughout, ε T \varepsilon_T ε T denotes a random error term whose bias and mean squared error satisfy ∣ E [ ε T ] ∣ ≤ c / T |\mathbb{E}[\varepsilon_T]|\le c/T ∣ E [ ε T ] ∣ ≤ c / T and E [ ε T 2 ] ≤ c / T \mathbb{E}[\varepsilon_T^2]\le c/T E [ ε T 2 ] ≤ c / T , and ε T ∗ \varepsilon_T^* ε T ∗ a random error term satisfying ∣ E [ ε T ∗ ] ∣ ≤ ( c / T ) 1 / 4 |\mathbb{E}[\varepsilon_T^*]|\le(c/T)^{1/4} ∣ E [ ε T ∗ ] ∣ ≤ ( c / T ) 1/4 and E [ ( ε T ∗ ) 2 ] ≤ ( c / T ) 1 / 2 \mathbb{E}[(\varepsilon_T^*)^2]\le(c/T)^{1/2} E [( ε T ∗ ) 2 ] ≤ ( c / T ) 1/2 , for a constant c c c that does not depend on T T T , nor n n n . Each result specifies the quantities on which c c c may depend.
Lemma 1 (noise statistics). Let A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] be non-empty. Under Assumptions 1–4,
(a) (time average of the noise) E [ ⟨ η A ⟩ ] = 0 \mathbb{E}\left[\langle\boldsymbol{\eta}^{A}\rangle\right]=0 E [ ⟨ η A ⟩ ] = 0 and Var ( ⟨ η A ⟩ ) ≤ C ∣ A ∣ T \operatorname{Var}\left(\langle\boldsymbol{\eta}^{A}\rangle\right)\le\frac{C}{|A|T} Var ( ⟨ η A ⟩ ) ≤ ∣ A ∣ T C
(b) (signal-noise covariance) E [ Cov ^ t ( v ∗ A , η B ) ] = 0 \mathbb{E}\left[\widehat{\operatorname{Cov}}_t\left(\mathbf{v}^{*A},\boldsymbol{\eta}^{B}\right)\right]=0 E [ Cov t ( v ∗ A , η B ) ] = 0 and Var ( Cov ^ t ( v ∗ A , η B ) ) ≤ 4 M 2 C ∣ B ∣ T \operatorname{Var}\left(\widehat{\operatorname{Cov}}_t\left(\mathbf{v}^{*A},\boldsymbol{\eta}^{B}\right)\right)\le\frac{4M^2C}{|B|T} Var ( Cov t ( v ∗ A , η B ) ) ≤ ∣ B ∣ T 4 M 2 C
(c) (noise-noise covariance ) Write Cov ^ t ( η A , η B ) = s ( A , B ) + Y A B + W A B \widehat{\operatorname{Cov}}_t(\eta^A,\eta^B)=s(A,B)+Y_{AB}+W_{AB} Cov t ( η A , η B ) = s ( A , B ) + Y A B + W A B with
Y A B : = ⟨ η A η B ⟩ − s ( A , B ) , W A B : = − ⟨ η A ⟩ ⟨ η B ⟩ . (16) Y_{AB}:=\langle\eta^A\eta^B\rangle-s(A,B),\qquad W_{AB}:=-\langle\eta^A\rangle\langle\eta^B\rangle. \tag*{(16)} Y A B := ⟨ η A η B ⟩ − s ( A , B ) , W A B := − ⟨ η A ⟩ ⟨ η B ⟩ . (16)
Then E [ Y A B ] = 0 \mathbb{E}[Y_{AB}]=0 E [ Y A B ] = 0 , E [ Y A B 2 ] ≤ C 2 + K 4 T \mathbb{E}[Y_{AB}^2]\le\frac{C^2+K_4}{T} E [ Y A B 2 ] ≤ T C 2 + K 4 , and E [ ∣ W A B ∣ ] ≤ C T \mathbb{E}[|W_{AB}|]\le\frac{C}{T} E [ ∣ W A B ∣ ] ≤ T C .
Proof. We first compute two quantities that will be useful throughout the proof. By Assumption 1, noise from different trials is uncorrelated, so for any A A A ,
Cov ( η t A , η s A ) = 1 ∣ A ∣ 2 ∑ ℓ , ℓ ′ ∈ A Cov ( η t ( ℓ ) , η s ( ℓ ′ ) ) = 1 ∣ A ∣ 2 ∑ ℓ ∈ A γ ℓ ( t , s ) , (17) \operatorname{Cov}(\eta_t^A,\eta_s^A)=\frac{1}{|A|^2}\sum_{\ell,\ell'\in A}\operatorname{Cov}(\eta_t^{(\ell)},\eta_s^{(\ell')})=\frac{1}{|A|^2}\sum_{\ell\in A}\gamma_\ell(t,s), \tag*{(17)} Cov ( η t A , η s A ) = ∣ A ∣ 2 1 ℓ , ℓ ′ ∈ A ∑ Cov ( η t ( ℓ ) , η s ( ℓ ′ ) ) = ∣ A ∣ 2 1 ℓ ∈ A ∑ γ ℓ ( t , s ) , (17)
and therefore, by Assumption 3, for every t t t ,
∑ s = 1 T ∣ Cov ( η t A , η s A ) ∣ ≤ 1 ∣ A ∣ 2 ∑ ℓ ∈ A ∑ s = 1 ∞ ∣ γ ℓ ( t , s ) ∣ ≤ C ∣ A ∣ . (18) \sum_{s=1}^{T}\left|\operatorname{Cov}(\eta_t^A,\eta_s^A)\right|\le\frac{1}{|A|^2}\sum_{\ell\in A}\sum_{s=1}^{\infty}|\gamma_\ell(t,s)|\le\frac{C}{|A|}. \tag*{(18)} s = 1 ∑ T Cov ( η t A , η s A ) ≤ ∣ A ∣ 2 1 ℓ ∈ A ∑ s = 1 ∑ ∞ ∣ γ ℓ ( t , s ) ∣ ≤ ∣ A ∣ C . (18)
(a) Linearity of expectation implies E [ ⟨ η A ⟩ ] = 0 \mathbb{E}\left[\langle\eta^A\rangle\right]=0 E [ ⟨ η A ⟩ ] = 0 . Moreover,
Var ( ⟨ η A ⟩ ) = 1 T 2 ∑ t = 1 T ∑ s = 1 T Cov ( η t A , η s A ) ≤ 1 T 2 ∑ t = 1 T C ∣ A ∣ = C ∣ A ∣ T . (19) \operatorname{Var}\left(\langle\eta^A\rangle\right)=\frac{1}{T^2}\sum_{t=1}^{T}\sum_{s=1}^{T}\operatorname{Cov}(\eta_t^A,\eta_s^A)\le\frac{1}{T^2}\sum_{t=1}^{T}\frac{C}{|A|}=\frac{C}{|A|T}. \tag*{(19)} Var ( ⟨ η A ⟩ ) = T 2 1 t = 1 ∑ T s = 1 ∑ T Cov ( η t A , η s A ) ≤ T 2 1 t = 1 ∑ T ∣ A ∣ C = ∣ A ∣ T C . (19)
(b) Set c t : = v t ∗ A − ⟨ v ∗ A ⟩ c_t:=v_t^{*A}-\langle v^{*A}\rangle c t := v t ∗ A − ⟨ v ∗ A ⟩ . By linearity of the time average,
Cov ^ t ( v ∗ A , η B ) = ⟨ v ∗ A η B ⟩ − ⟨ v ∗ A ⟩ ⟨ η B ⟩ = 1 T ∑ t = 1 T ( v t ∗ A − ⟨ v ∗ A ⟩ ) η t B = 1 T ∑ t = 1 T c t η t B . (20) \widehat{\operatorname{Cov}}_t(v^{*A},\eta^B)=\langle v^{*A}\eta^B\rangle-\langle v^{*A}\rangle\langle\eta^B\rangle=\frac{1}{T}\sum_{t=1}^{T}(v_t^{*A}-\langle v^{*A}\rangle)\eta_t^B=\frac{1}{T}\sum_{t=1}^{T}c_t\eta_t^B. \tag*{(20)} Cov t ( v ∗ A , η B ) = ⟨ v ∗ A η B ⟩ − ⟨ v ∗ A ⟩ ⟨ η B ⟩ = T 1 t = 1 ∑ T ( v t ∗ A − ⟨ v ∗ A ⟩) η t B = T 1 t = 1 ∑ T c t η t B . (20)
which has mean zero because c t c_t c t is deterministic. By Assumption 2, ∣ v t ∗ A ∣ ≤ M |v_t^{*A}|\le M ∣ v t ∗ A ∣ ≤ M and ∣ ⟨ v ∗ A ⟩ ∣ ≤ M |\langle v^{*A}\rangle|\le M ∣ ⟨ v ∗ A ⟩ ∣ ≤ M , hence ∣ c t ∣ ≤ 2 M |c_t|\le2M ∣ c t ∣ ≤ 2 M . Using (18),
Var ( 1 T ∑ t c t η t B ) = 1 T 2 ∑ t , s c t c s Cov ( η t B , η s B ) ≤ 4 M 2 T 2 ∑ t = 1 T ∑ s = 1 T ∣ Cov ( η t B , η s B ) ∣ ≤ 4 M 2 C ∣ B ∣ T . (21) \operatorname{Var}\left(\frac{1}{T}\sum_t c_t\eta_t^B\right)=\frac{1}{T^2}\sum_{t,s}c_tc_s\operatorname{Cov}(\eta_t^B,\eta_s^B)\le\frac{4M^2}{T^2}\sum_{t=1}^{T}\sum_{s=1}^{T}\left|\operatorname{Cov}(\eta_t^B,\eta_s^B)\right|\le\frac{4M^2C}{|B|T}. \tag*{(21)} Var ( T 1 t ∑ c t η t B ) = T 2 1 t , s ∑ c t c s Cov ( η t B , η s B ) ≤ T 2 4 M 2 t = 1 ∑ T s = 1 ∑ T Cov ( η t B , η s B ) ≤ ∣ B ∣ T 4 M 2 C . (21)
(c) We expand the product of averages into products of single trials,
⟨ η A η B ⟩ = 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∑ ℓ ′ ∈ B ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ = 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∑ ℓ ′ ∈ B ( 1 T ∑ t = 1 T η t ( ℓ ) η t ( ℓ ′ ) ) . (22) \langle\eta^A\eta^B\rangle=\frac{1}{|A||B|}\sum_{\ell\in A}\sum_{\ell'\in B}\langle\eta^{(\ell)}\eta^{(\ell')}\rangle=\frac{1}{|A||B|}\sum_{\ell\in A}\sum_{\ell'\in B}\left(\frac{1}{T}\sum_{t=1}^{T}\eta_t^{(\ell)}\eta_t^{(\ell')}\right). \tag*{(22)} ⟨ η A η B ⟩ = ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∑ ℓ ′ ∈ B ∑ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ = ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∑ ℓ ′ ∈ B ∑ ( T 1 t = 1 ∑ T η t ( ℓ ) η t ( ℓ ′ ) ) . (22)
For ℓ ≠ ℓ ′ \ell\ne\ell' ℓ = ℓ ′ , independence and zero mean give E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] = 0 \mathbb{E}\left[\langle\eta^{(\ell)}\eta^{(\ell')}\rangle\right]=0 E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] = 0 . For ℓ = ℓ ′ \ell=\ell' ℓ = ℓ ′ ,
E [ ⟨ η ( ℓ ) η ( ℓ ) ⟩ ] = 1 T ∑ t γ ℓ ( t , t ) = σ ℓ 2 . \mathbb{E}\left[\langle\eta^{(\ell)}\eta^{(\ell)}\rangle\right]=\frac{1}{T}\sum_t\gamma_\ell(t,t)=\sigma_\ell^2. E [ ⟨ η ( ℓ ) η ( ℓ ) ⟩ ] = T 1 t ∑ γ ℓ ( t , t ) = σ ℓ 2 .
Hence E [ ⟨ η A η B ⟩ ] = 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∩ B σ ℓ 2 = s ( A , B ) \mathbb{E}\left[\langle\eta^A\eta^B\rangle\right]=\frac{1}{|A||B|}\sum_{\ell\in A\cap B}\sigma_\ell^2=s(A,B) E [ ⟨ η A η B ⟩ ] = ∣ A ∣∣ B ∣ 1 ∑ ℓ ∈ A ∩ B σ ℓ 2 = s ( A , B ) , which gives E [ Y A B ] = 0 \mathbb{E}[Y_{AB}]=0 E [ Y A B ] = 0 .
Still for ℓ ≠ ℓ ′ \ell\ne\ell' ℓ = ℓ ′ , independence of the two trials gives E [ η t ( ℓ ) η t ( ℓ ′ ) η s ( ℓ ) η s ( ℓ ′ ) ] = γ ℓ ( t , s ) γ ℓ ′ ( t , s ) \mathbb{E}[\eta_t^{(\ell)}\eta_t^{(\ell')}\eta_s^{(\ell)}\eta_s^{(\ell')}]=\gamma_\ell(t,s)\gamma_{\ell'}(t,s) E [ η t ( ℓ ) η t ( ℓ ′ ) η s ( ℓ ) η s ( ℓ ′ ) ] = γ ℓ ( t , s ) γ ℓ ′ ( t , s ) . Note that ∣ γ ℓ ( t , s ) ∣ ≤ γ ℓ ( t , t ) γ ℓ ( s , s ) ≤ C |\gamma_\ell(t,s)|\le\sqrt{\gamma_\ell(t,t)\gamma_\ell(s,s)}\le C ∣ γ ℓ ( t , s ) ∣ ≤ γ ℓ ( t , t ) γ ℓ ( s , s ) ≤ C by the Cauchy-Schwarz inequality, since γ ℓ ( t , t ) ≤ ∑ s ∣ γ ℓ ( t , s ) ∣ ≤ C \gamma_\ell(t,t)\le\sum_s|\gamma_\ell(t,s)|\le C γ ℓ ( t , t ) ≤ ∑ s ∣ γ ℓ ( t , s ) ∣ ≤ C . Therefore
Var ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ) = 1 T 2 ∑ t , s γ ℓ ( t , s ) γ ℓ ′ ( t , s ) ≤ 1 T 2 ∑ t = 1 T C ∑ s = 1 ∞ ∣ γ ℓ ( t , s ) ∣ ≤ C 2 T . (23) \operatorname{Var}\left(\langle\eta^{(\ell)}\eta^{(\ell')}\rangle\right)=\frac{1}{T^2}\sum_{t,s}\gamma_\ell(t,s)\gamma_{\ell'}(t,s)\le\frac{1}{T^2}\sum_{t=1}^{T}C\sum_{s=1}^{\infty}|\gamma_\ell(t,s)|\le\frac{C^2}{T}. \tag*{(23)} Var ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ) = T 2 1 t , s ∑ γ ℓ ( t , s ) γ ℓ ′ ( t , s ) ≤ T 2 1 t = 1 ∑ T C s = 1 ∑ ∞ ∣ γ ℓ ( t , s ) ∣ ≤ T C 2 . (23)
For ℓ = ℓ ′ \ell=\ell' ℓ = ℓ ′ , Assumption 4 gives
Var ( ⟨ η ( ℓ ) η ( ℓ ) ⟩ ) = 1 T 2 ∑ t , s Cov ( ( η t ( ℓ ) ) 2 , ( η s ( ℓ ) ) 2 ) ≤ K 4 T . (24) \operatorname{Var}\left(\langle\eta^{(\ell)}\eta^{(\ell)}\rangle\right)=\frac{1}{T^2}\sum_{t,s}\operatorname{Cov}\left((\eta_t^{(\ell)})^2,(\eta_s^{(\ell)})^2\right)\le\frac{K_4}{T}. \tag*{(24)} Var ( ⟨ η ( ℓ ) η ( ℓ ) ⟩ ) = T 2 1 t , s ∑ Cov ( ( η t ( ℓ ) ) 2 , ( η s ( ℓ ) ) 2 ) ≤ T K 4 . (24)
Using those results, and since C 2 , K 4 ≤ C 2 + K 4 C^2,K_4 \le C^2+K_4 C 2 , K 4 ≤ C 2 + K 4 , we can compute
Var ( Y A B ) = E [ Y A B 2 ] = E [ ( 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∑ ℓ ′ ∈ B ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ − E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] ) ) 2 ] ≤ ( 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∑ ℓ ′ ∈ B E [ ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ − E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] ) 2 ] ) 2 = ( 1 ∣ A ∣ ∣ B ∣ ∑ ℓ ∈ A ∑ ℓ ′ ∈ B Var ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ) ) 2 ≤ C 2 + K 4 T . (25) \begin{aligned}
\operatorname{Var}(Y_{AB}) &= \mathbb{E}\left[Y_{AB}^2\right] = \mathbb{E}\left[\left(\frac{1}{|A||B|}\sum_{\ell\in A}\sum_{\ell'\in B}\left(\langle\eta^{(\ell)}\eta^{(\ell')}\rangle-\mathbb{E}\left[\langle\eta^{(\ell)}\eta^{(\ell')}\rangle\right]\right)\right)^2\right]\\
&\le\left(\frac{1}{|A||B|}\sum_{\ell\in A}\sum_{\ell'\in B}\sqrt{\mathbb{E}\left[\left(\langle\eta^{(\ell)}\eta^{(\ell')}\rangle-\mathbb{E}\left[\langle\eta^{(\ell)}\eta^{(\ell')}\rangle\right]\right)^2\right]}\right)^2\\
&= \left(\frac{1}{|A||B|}\sum_{\ell\in A}\sum_{\ell'\in B}\sqrt{\operatorname{Var}\left(\langle\eta^{(\ell)}\eta^{(\ell')}\rangle\right)}\right)^2 \le\frac{C^2+K_4}{T}. \tag*{(25)}
\end{aligned} Var ( Y A B ) = E [ Y A B 2 ] = E ( ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∑ ℓ ′ ∈ B ∑ ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ − E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] ) ) 2 ≤ ( ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∑ ℓ ′ ∈ B ∑ E [ ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ − E [ ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ] ) 2 ] ) 2 = ( ∣ A ∣∣ B ∣ 1 ℓ ∈ A ∑ ℓ ′ ∈ B ∑ Var ( ⟨ η ( ℓ ) η ( ℓ ′ ) ⟩ ) ) 2 ≤ T C 2 + K 4 . (25)
where the first inequality used Minkowski’s inequality.
Finally, using Cauchy-Schwarz, the fact that ⟨ η A ⟩ \langle\eta^A\rangle ⟨ η A ⟩ and ⟨ η B ⟩ \langle\eta^B\rangle ⟨ η B ⟩ have mean zero, and (a), we can write
E [ ∣ W A B ∣ ] = E [ ∣ ⟨ η A ⟩ ⟨ η B ⟩ ∣ ] ≤ E [ ⟨ η A ⟩ 2 ] E [ ⟨ η B ⟩ 2 ] = Var ( ⟨ η A ⟩ ) Var ( ⟨ η B ⟩ ) ≤ C T . (26) \mathbb{E}[|W_{AB}|]=\mathbb{E}\left[|\langle\eta^A\rangle\langle\eta^B\rangle|\right]\le\sqrt{\mathbb{E}\left[\langle\eta^A\rangle^2\right]\mathbb{E}\left[\langle\eta^B\rangle^2\right]}=\sqrt{\operatorname{Var}\left(\langle\eta^A\rangle\right)\operatorname{Var}\left(\langle\eta^B\rangle\right)}\le\frac{C}{T}. \tag*{(26)} E [ ∣ W A B ∣ ] = E [ ∣ ⟨ η A ⟩ ⟨ η B ⟩ ∣ ] ≤ E [ ⟨ η A ⟩ 2 ] E [ ⟨ η B ⟩ 2 ] = Var ( ⟨ η A ⟩ ) Var ( ⟨ η B ⟩ ) ≤ T C . (26)
Definition 4 (neighborhoods). For z ∈ R d z\in\mathbb{R}^d z ∈ R d we write ∣ z ∣ |z| ∣ z ∣ for the Euclidean norm. For a set K ⊂ R d \mathcal{K}\subset\mathbb{R}^d K ⊂ R d and δ > 0 \delta>0 δ > 0 , we write K δ : = { x ∈ R d : ∣ x − z ∣ ≤ δ for some z ∈ K } \mathcal{K}_\delta:=\{x\in\mathbb{R}^d:|x-z|\le\delta\text{ for some }z\in\mathcal{K}\} K δ := { x ∈ R d : ∣ x − z ∣ ≤ δ for some z ∈ K } for the set of points at distance at most δ \delta δ from K \mathcal{K} K .
Lemma 2 (delta method). Let { Z ^ T } T > 0 \{\widehat{Z}_T\}_{T>0} { Z T } T > 0 be random vectors and { z T } T > 0 \{z_T\}_{T>0} { z T } T > 0 deterministic vectors in R d \mathbb{R}^d R d such that
Z ^ T − z T = Y T + W T , E [ Y T ] = 0 , E [ ∣ Y T ∣ 2 ] ≤ c 1 T , E [ ∣ W T ∣ ] ≤ c 2 T , (27) \widehat{Z}_T-z_T=Y_T+W_T,\qquad\mathbb{E}[Y_T]=0,\qquad\mathbb{E}[|Y_T|^2]\le\frac{c_1}{T},\qquad\mathbb{E}[|W_T|]\le\frac{c_2}{T}, \tag*{(27)} Z T − z T = Y T + W T , E [ Y T ] = 0 , E [ ∣ Y T ∣ 2 ] ≤ T c 1 , E [ ∣ W T ∣ ] ≤ T c 2 , (27) for some constants c 1 , c 2 c_1,c_2 c 1 , c 2 . Let K \mathcal{K} K be a compact set such that z T ∈ K z_T\in\mathcal{K} z T ∈ K for all T T T , let δ > 0 \delta>0 δ > 0 , and let F : R d → R F:\mathbb{R}^d\to\mathbb{R} F : R d → R be twice continuously differentiable on an open set containing K δ \mathcal{K}_\delta K δ . Since K δ \mathcal{K}_\delta K δ is compact,
L 1 : = sup x ∈ K δ ∣ ∇ F ( x ) ∣ < ∞ , L 2 : = sup x ∈ K δ ∥ H F ( x ) ∥ o p < ∞ , (28) L_1:=\sup_{x\in\mathcal{K}_\delta}|\nabla F(x)|<\infty,\qquad L_2:=\sup_{x\in\mathcal{K}_\delta}\|\mathbf{H}_F(x)\|_{\mathrm{op}}<\infty, \tag*{(28)} L 1 := x ∈ K δ sup ∣∇ F ( x ) ∣ < ∞ , L 2 := x ∈ K δ sup ∥ H F ( x ) ∥ op < ∞ , (28) where H F \mathbf{H}_F H F is the Hessian matrix of F F F . Assume further that there exists a constant U U U such that ∣ F ( Z ^ T ) ∣ ≤ U |F(\widehat{Z}_T)|\le U ∣ F ( Z T ) ∣ ≤ U almost surely and ∣ F ( z T ) ∣ ≤ U |F(z_T)|\le U ∣ F ( z T ) ∣ ≤ U . Then
(a) (bias ) ∣ E [ F ( Z ^ T ) ] − F ( z T ) ∣ ≤ c T \left|\mathbb{E}\left[F(\widehat{Z}_T)\right]-F(z_T)\right|\le\frac{c}{T} E [ F ( Z T ) ] − F ( z T ) ≤ T c ,
(b) (mean squared error ) E [ ( F ( Z ^ T ) − F ( z T ) ) 2 ] ≤ c T \mathbb{E}\left[\left(F(\widehat{Z}_T)-F(z_T)\right)^2\right]\le\frac{c}{T} E [ ( F ( Z T ) − F ( z T ) ) 2 ] ≤ T c ,
where c c c only depends on c 1 c_1 c 1 , c 2 c_2 c 2 , δ \delta δ , U U U , L 1 L_1 L 1 , and L 2 L_2 L 2 .
Proof. We drop the index T T T for readability and write D : = Z ^ − z = Y + W \mathbf{D}:=\widehat{Z}-z=\mathbf{Y}+\mathbf{W} D := Z − z = Y + W .
We first define the event on which Z ^ \widehat{Z} Z is close to z z z , G : = { ∣ Y ∣ ≤ δ / 2 } ∩ { ∣ W ∣ ≤ δ / 2 } G:=\{|\mathbf{Y}|\le\delta/2\}\cap\{|\mathbf{W}|\le\delta/2\} G := { ∣ Y ∣ ≤ δ /2 } ∩ { ∣ W ∣ ≤ δ /2 } . Note that whenever G G G is true, ∣ Z ^ − z ∣ ≤ δ |\widehat{Z}-z|\le\delta ∣ Z − z ∣ ≤ δ . By Markov’s inequality,
P ( G c ) ≤ P ( ∣ Y ∣ > δ 2 ) + P ( ∣ W ∣ > δ 2 ) = P ( ∣ Y ∣ 2 > δ 2 4 ) + P ( ∣ W ∣ > δ 2 ) ≤ 4 c 1 δ 2 T + 2 c 2 δ T = : c 3 T . (29) \begin{aligned}
\mathbb{P}(G^c)&\le\mathbb{P}\left(|\mathbf{Y}|>\frac{\delta}{2}\right)+\mathbb{P}\left(|\mathbf{W}|>\frac{\delta}{2}\right)\\
&=\mathbb{P}\left(|\mathbf{Y}|^2>\frac{\delta^2}{4}\right)+\mathbb{P}\left(|\mathbf{W}|>\frac{\delta}{2}\right)\\
&\le\frac{4c_1}{\delta^2T}+\frac{2c_2}{\delta T}=:\frac{c_3}{T}. \tag*{(29)}
\end{aligned} P ( G c ) ≤ P ( ∣ Y ∣ > 2 δ ) + P ( ∣ W ∣ > 2 δ ) = P ( ∣ Y ∣ 2 > 4 δ 2 ) + P ( ∣ W ∣ > 2 δ ) ≤ δ 2 T 4 c 1 + δ T 2 c 2 =: T c 3 . (29)
Using that G G G implies that the line segment between Z ^ \widehat{Z} Z and z z z lies in the ball of radius δ \delta δ around z ∈ K z\in\mathcal{K} z ∈ K , and hence in K δ \mathcal{K}_\delta K δ , the mean value theorem and Taylor’s theorem then give, on G G G ,
∣ F ( Z ^ ) − F ( z ) ∣ ≤ L 1 ∣ D ∣ , F ( Z ^ ) − F ( z ) = ∇ F ( z ) ⋅ D + R , ∣ R ∣ ≤ L 2 2 ∣ D ∣ 2 . (30) |F(\widehat{Z})-F(z)|\le L_1|\mathbf{D}|,\qquad F(\widehat{Z})-F(z)=\nabla F(z)\cdot\mathbf{D}+R,\qquad|R|\le\frac{L_2}{2}|\mathbf{D}|^2. \tag*{(30)} ∣ F ( Z ) − F ( z ) ∣ ≤ L 1 ∣ D ∣ , F ( Z ) − F ( z ) = ∇ F ( z ) ⋅ D + R , ∣ R ∣ ≤ 2 L 2 ∣ D ∣ 2 . (30)
(a) Using (30), we split the bias into four terms,
E [ F ( Z ^ ) ] − F ( z ) = E [ ( F ( Z ^ ) − F ( z ) ) ( 1 G + 1 G c ) ] = E [ ( ∇ F ( z ) ⋅ D + R ) 1 G ] + E [ ( F ( Z ^ ) − F ( z ) ) 1 G c ] = E [ ( ∇ F ( z ) ⋅ Y ) 1 G ] ⏟ I 1 + E [ ( ∇ F ( z ) ⋅ W ) 1 G ] ⏟ I 2 + E [ R 1 G ] ⏟ I 3 + E [ ( F ( Z ^ ) − F ( z ) ) 1 G c ] ⏟ I 4 . (31) \begin{aligned}
\mathbb{E}\left[F(\widehat{Z})\right]-F(z)
&=\mathbb{E}\left[\left(F(\widehat{Z})-F(z)\right)\left(\mathbf{1}_G+\mathbf{1}_{G^c}\right)\right]\\
&=\mathbb{E}\left[\left(\nabla F(z)\cdot D+R\right)\mathbf{1}_G\right]+\mathbb{E}\left[\left(F(\widehat{Z})-F(z)\right)\mathbf{1}_{G^c}\right]\\
&=\underbrace{\mathbb{E}\left[(\nabla F(z)\cdot Y)\mathbf{1}_G\right]}_{I_1}+\underbrace{\mathbb{E}\left[(\nabla F(z)\cdot W)\mathbf{1}_G\right]}_{I_2}+\underbrace{\mathbb{E}\left[R\mathbf{1}_G\right]}_{I_3}+\underbrace{\mathbb{E}\left[\left(F(\widehat{Z})-F(z)\right)\mathbf{1}_{G^c}\right]}_{I_4}. \tag*{(31)}
\end{aligned} E [ F ( Z ) ] − F ( z ) = E [ ( F ( Z ) − F ( z ) ) ( 1 G + 1 G c ) ] = E [ ( ∇ F ( z ) ⋅ D + R ) 1 G ] + E [ ( F ( Z ) − F ( z ) ) 1 G c ] = I 1 E [ ( ∇ F ( z ) ⋅ Y ) 1 G ] + I 2 E [ ( ∇ F ( z ) ⋅ W ) 1 G ] + I 3 E [ R 1 G ] + I 4 E [ ( F ( Z ) − F ( z ) ) 1 G c ] . (31)
Since E [ Y ] = 0 \mathbb{E}[Y]=0 E [ Y ] = 0 , we have
I 1 = E [ ( ∇ F ( z ) ⋅ Y ) ] − E [ ( ∇ F ( z ) ⋅ Y ) 1 G c ] = − E [ ( ∇ F ( z ) ⋅ Y ) 1 G c ] , (32) I_1=\mathbb{E}\left[(\nabla F(z)\cdot Y)\right]-\mathbb{E}\left[(\nabla F(z)\cdot Y)\mathbf{1}_{G^c}\right]=-\mathbb{E}\left[(\nabla F(z)\cdot Y)\mathbf{1}_{G^c}\right], \tag*{(32)} I 1 = E [ ( ∇ F ( z ) ⋅ Y ) ] − E [ ( ∇ F ( z ) ⋅ Y ) 1 G c ] = − E [ ( ∇ F ( z ) ⋅ Y ) 1 G c ] , (32)
so by Cauchy-Schwarz and (29),
∣ I 1 ∣ ≤ E [ ∣ ∇ F ( z ) ∣ ∣ Y ∣ 1 G c ] ≤ L 1 E [ ∣ Y ∣ 1 G c ] ≤ L 1 E [ ∣ Y ∣ 2 ] P ( G c ) ≤ L 1 c 1 c 3 T . (33) |I_1|\leq\mathbb{E}\left[|\nabla F(z)|\,|Y|\,\mathbf{1}_{G^c}\right]\leq L_1\mathbb{E}\left[|Y|\mathbf{1}_{G^c}\right]\leq L_1\sqrt{\mathbb{E}[|Y|^2]}\sqrt{\mathbb{P}(G^c)}\leq\frac{L_1\sqrt{c_1c_3}}{T}. \tag*{(33)} ∣ I 1 ∣ ≤ E [ ∣∇ F ( z ) ∣ ∣ Y ∣ 1 G c ] ≤ L 1 E [ ∣ Y ∣ 1 G c ] ≤ L 1 E [ ∣ Y ∣ 2 ] P ( G c ) ≤ T L 1 c 1 c 3 . (33)
Next, ∣ I 2 ∣ ≤ L 1 E [ ∣ W ∣ ] ≤ L 1 c 2 / T |I_2|\leq L_1\mathbb{E}[|W|]\leq L_1c_2/T ∣ I 2 ∣ ≤ L 1 E [ ∣ W ∣ ] ≤ L 1 c 2 / T . On G G G , ∣ D ∣ 2 ≤ 2 ∣ Y ∣ 2 + 2 ∣ W ∣ 2 ≤ 2 ∣ Y ∣ 2 + δ ∣ W ∣ |D|^2\leq2|Y|^2+2|W|^2\leq2|Y|^2+\delta|W| ∣ D ∣ 2 ≤ 2∣ Y ∣ 2 + 2∣ W ∣ 2 ≤ 2∣ Y ∣ 2 + δ ∣ W ∣ , so by (30)
∣ I 3 ∣ ≤ L 2 2 E [ 2 ∣ Y ∣ 2 + δ ∣ W ∣ ] ≤ L 2 ( c 1 + δ c 2 / 2 ) T . (34) |I_3|\leq\frac{L_2}{2}\mathbb{E}\left[2|Y|^2+\delta|W|\right]\leq\frac{L_2(c_1+\delta c_2/2)}{T}. \tag*{(34)} ∣ I 3 ∣ ≤ 2 L 2 E [ 2∣ Y ∣ 2 + δ ∣ W ∣ ] ≤ T L 2 ( c 1 + δ c 2 /2 ) . (34)
Finally, since ∣ F ( Z ^ ) ∣ ≤ U |F(\widehat{Z})|\leq U ∣ F ( Z ) ∣ ≤ U a.s. and ∣ F ( z ) ∣ ≤ U |F(z)|\leq U ∣ F ( z ) ∣ ≤ U , ∣ I 4 ∣ ≤ 2 U P ( G c ) ≤ 2 U c 3 / T |I_4|\leq2U\mathbb{P}(G^c)\leq2Uc_3/T ∣ I 4 ∣ ≤ 2 U P ( G c ) ≤ 2 U c 3 / T . Summing the four bounds,
∣ E [ F ( Z ^ ) ] − F ( z ) ∣ ≤ L 1 c 1 c 3 + L 1 c 2 + L 2 ( c 1 + δ c 2 / 2 ) + 2 U c 3 T . (35) \left|\mathbb{E}\left[F(\widehat{Z})\right]-F(z)\right|\leq\frac{L_1\sqrt{c_1c_3}+L_1c_2+L_2(c_1+\delta c_2/2)+2Uc_3}{T}. \tag*{(35)} E [ F ( Z ) ] − F ( z ) ≤ T L 1 c 1 c 3 + L 1 c 2 + L 2 ( c 1 + δ c 2 /2 ) + 2 U c 3 . (35)
(b) We split the mean squared error on G G G and G c G^c G c . On G G G , (30) and ∣ D ∣ 2 ≤ 2 ∣ Y ∣ 2 + δ ∣ W ∣ |D|^2\leq2|Y|^2+\delta|W| ∣ D ∣ 2 ≤ 2∣ Y ∣ 2 + δ ∣ W ∣ give ( F ( Z ^ ) − F ( z ) ) 2 ≤ L 1 2 ( 2 ∣ Y ∣ 2 + δ ∣ W ∣ ) \left(F(\widehat{Z})-F(z)\right)^2\leq L_1^2(2|Y|^2+\delta|W|) ( F ( Z ) − F ( z ) ) 2 ≤ L 1 2 ( 2∣ Y ∣ 2 + δ ∣ W ∣ ) . On G c G^c G c , ( F ( Z ^ ) − F ( z ) ) 2 ≤ 4 U 2 \left(F(\widehat{Z})-F(z)\right)^2\leq4U^2 ( F ( Z ) − F ( z ) ) 2 ≤ 4 U 2 . Hence, using (29),
E [ ( F ( Z ^ ) − F ( z ) ) 2 ] ≤ L 1 2 ( 2 E [ ∣ Y ∣ 2 ] + δ E [ ∣ W ∣ ] ) + 4 U 2 P ( G c ) ≤ L 1 2 ( 2 c 1 + δ c 2 ) + 4 U 2 c 3 T . (36) \begin{aligned}
\mathbb{E}\left[\left(F(\widehat{Z})-F(z)\right)^2\right]\leq L_1^2\left(2\mathbb{E}[|Y|^2]+\delta\mathbb{E}[|W|]\right)+4U^2\mathbb{P}(G^c) \\
&\leq\frac{L_1^2(2c_1+\delta c_2)+4U^2c_3}{T}. \tag*{(36)}
\end{aligned} E [ ( F ( Z ) − F ( z ) ) 2 ] ≤ L 1 2 ( 2 E [ ∣ Y ∣ 2 ] + δ E [ ∣ W ∣ ] ) + 4 U 2 P ( G c ) ≤ T L 1 2 ( 2 c 1 + δ c 2 ) + 4 U 2 c 3 . (36)
Definition 5 (population counterparts). For each non-empty subset A ⊆ [ n ] A\subseteq[n] A ⊆ [ n ] , let x A x^A x A denote either the recorded average v A v^A v A or its noise-free counterpart v ∗ A v^{*A} v ∗ A . We define the population counterparts of the time statistics of x A x^A x A as
Cov ‾ ( x A , x B ) : = Cov ^ t ( v ∗ A , v ∗ B ) + { s ( A , B ) if x A = v A and x B = v B , 0 otherwise , (37) \overline{\operatorname{Cov}}(x^A,x^B):=\widehat{\operatorname{Cov}}_t(v^{*A},v^{*B})+
\begin{cases}
s(A,B) & \text{if }x^A=v^A\text{ and }x^B=v^B,\\
0 & \text{otherwise},
\end{cases} \tag*{(37)} Cov ( x A , x B ) := Cov t ( v ∗ A , v ∗ B ) + { s ( A , B ) 0 if x A = v A and x B = v B , otherwise , (37) ⟨ x A ⟩ ‾ : = ⟨ v ∗ A ⟩ , (38) \overline{\langle x^A\rangle}:=\langle v^{*A}\rangle, \tag*{(38)} ⟨ x A ⟩ := ⟨ v ∗ A ⟩ , (38) and Var ‾ ( x A ) : = Cov ‾ ( x A , x A ) \overline{\operatorname{Var}}(x^A):=\overline{\operatorname{Cov}}(x^A,x^A) Var ( x A ) := Cov ( x A , x A ) . These quantities are deterministic.
Theorem 1 (general limit theorem). Let Z ^ T ∈ R d \widehat{Z}_T\in\mathbb{R}^d Z T ∈ R d collect finitely many statistics, each of which is either of the form Cov ^ t ( x A , x B ) \widehat{\operatorname{Cov}}_t(x^A,x^B) Cov t ( x A , x B ) or ⟨ x A ⟩ \langle x^A\rangle ⟨ x A ⟩ , or the average 1 m ∑ i = 1 m S i \frac{1}{m}\sum_{i=1}^m S_i m 1 ∑ i = 1 m S i of an arbitrary number m m m of statistics S 1 , … , S m S_1,\ldots,S_m S 1 , … , S m of these forms. Let z T z_T z T collect their population counterparts (37)–(38), where the population counterpart of an average is the average of the population counterparts. Let K \mathcal{K} K , δ \delta δ , F F F and U U U satisfy the conditions of Lemma 2. Under Assumptions 1–4,
F ( Z ^ T ) = F ( z T ) + ϵ T , (39) F(\widehat{Z}_T)=F(z_T)+\epsilon_T, \tag*{(39)} F ( Z T ) = F ( z T ) + ϵ T , (39) where the constant c c c of the error term only depends on M M M , C C C , K 4 K_4 K 4 , d d d , δ \delta δ , U U U , L 1 L_1 L 1 and L 2 L_2 L 2 , and not on n n n nor on the number m m m of averaged statistics.
Proof. By Lemma 2, it is sufficient to decompose Z ^ T − z T = Y T + W T \widehat{Z}_{T}-z_{T}=Y_{T}+W_{T} Z T − z T = Y T + W T with E [ Y T ] = 0 \mathbb{E}[Y_{T}]=0 E [ Y T ] = 0 , E [ ∣ Y T ∣ 2 ] ≤ c 1 / T \mathbb{E}[|Y_{T}|^{2}]\le c_{1}/T E [ ∣ Y T ∣ 2 ] ≤ c 1 / T and E [ ∣ W T ∣ ] ≤ c 2 / T \mathbb{E}[|W_{T}|]\le c_{2}/T E [ ∣ W T ∣ ] ≤ c 2 / T . Since E [ ∣ Y T ∣ 2 ] = ∑ j = 1 d E [ ∣ Y j ∣ 2 ] \mathbb{E}[|Y_{T}|^{2}]=\sum_{j=1}^{d}\mathbb{E}[|Y_{j}|^{2}] E [ ∣ Y T ∣ 2 ] = ∑ j = 1 d E [ ∣ Y j ∣ 2 ] and E [ ∣ W T ∣ ] ≤ ∑ j = 1 d E [ ∣ W j ∣ ] \mathbb{E}[|W_{T}|]\le\sum_{j=1}^{d}\mathbb{E}[|W_{j}|] E [ ∣ W T ∣ ] ≤ ∑ j = 1 d E [ ∣ W j ∣ ] , it is sufficient to do this for each entry j j j separately. Using v A = v ∗ A + η A v^{A}=v^{*A}+\eta^{A} v A = v ∗ A + η A and the bilinearity of Cov ^ t \widehat{\operatorname{Cov}}_{t} Cov t , there are five cases.
Time average ⟨ x A ⟩ \langle x^{A}\rangle ⟨ x A ⟩ . If x A = v ∗ A x^{A}=v^{*A} x A = v ∗ A the difference with the population counterpart is 0. If x A = v A x^{A}=v^{A} x A = v A the difference is ⟨ η A ⟩ \langle\eta^{A}\rangle ⟨ η A ⟩ , and we take Y j = ⟨ η A ⟩ Y_{j}=\langle\eta^{A}\rangle Y j = ⟨ η A ⟩ , W j = 0 W_{j}=0 W j = 0 . By Lemma 1(a), E [ Y j ] = 0 \mathbb{E}[Y_{j}]=0 E [ Y j ] = 0 and E [ Y j 2 ] ≤ C / T \mathbb{E}[Y_{j}^{2}]\le C/T E [ Y j 2 ] ≤ C / T .
Noise-free covariance Cov ^ t ( v ∗ A , v ∗ B ) \widehat{\operatorname{Cov}}_{t}(v^{*A},v^{*B}) Cov t ( v ∗ A , v ∗ B ) . The difference is 0.
Mixed covariance Cov ^ t ( v ∗ A , v B ) \widehat{\operatorname{Cov}}_{t}(v^{*A},v^{B}) Cov t ( v ∗ A , v B ) (or symmetrically). The difference is Cov ^ t ( v ∗ A , η B ) \widehat{\operatorname{Cov}}_{t}(v^{*A},\eta^{B}) Cov t ( v ∗ A , η B ) , and we take it as Y j Y_{j} Y j , with W j = 0 W_{j}=0 W j = 0 . By Lemma 1(b), E [ Y j ] = 0 \mathbb{E}[Y_{j}]=0 E [ Y j ] = 0 and E [ Y j 2 ] ≤ 4 M 2 C / T \mathbb{E}[Y_{j}^{2}]\le4M^{2}C/T E [ Y j 2 ] ≤ 4 M 2 C / T .
Recorded covariance Cov ^ t ( v A , v B ) \widehat{\operatorname{Cov}}_{t}(v^{A},v^{B}) Cov t ( v A , v B ) . The difference is
Cov ^ t ( v ∗ A , η B ) + Cov ^ t ( η A , v ∗ B ) + Y A B + W A B , (40) \widehat{\operatorname{Cov}}_{t}(v^{*A},\eta^{B})+\widehat{\operatorname{Cov}}_{t}(\eta^{A},v^{*B})+Y_{AB}+W_{AB}, \tag*{(40)} Cov t ( v ∗ A , η B ) + Cov t ( η A , v ∗ B ) + Y A B + W A B , (40)
with Y A B Y_{AB} Y A B and W A B W_{AB} W A B defined in Lemma 1(c). We take Y j Y_{j} Y j to be the sum of the first three terms and W j = W A B W_{j}=W_{AB} W j = W A B . By Lemma 1(b)-(c), E [ Y j ] = 0 \mathbb{E}[Y_{j}]=0 E [ Y j ] = 0 , and by Minkowski’s inequality
E [ Y j 2 ] ≤ E [ Cov ^ t ( v ∗ A , η B ) 2 ] + E [ Cov ^ t ( η A , v ∗ B ) 2 ] + E [ Y A B 2 ] \sqrt{\mathbb{E}[Y_{j}^{2}]}\le\sqrt{\mathbb{E}\left[\widehat{\operatorname{Cov}}_{t}(v^{*A},\eta^{B})^{2}\right]}+\sqrt{\mathbb{E}\left[\widehat{\operatorname{Cov}}_{t}(\eta^{A},v^{*B})^{2}\right]}+\sqrt{\mathbb{E}[Y_{AB}^{2}]} E [ Y j 2 ] ≤ E [ Cov t ( v ∗ A , η B ) 2 ] + E [ Cov t ( η A , v ∗ B ) 2 ] + E [ Y A B 2 ]
≤ 2 4 M 2 C T + C 2 + K 4 T = 4 M C + C 2 + K 4 T , (41) \begin{aligned}
\le2\sqrt{\frac{4M^{2}C}{T}}+\sqrt{\frac{C^{2}+K_{4}}{T}} \\
&=\frac{4M\sqrt{C}+\sqrt{C^{2}+K_{4}}}{\sqrt{T}}, \tag*{(41)}
\end{aligned} ≤ 2 T 4 M 2 C + T C 2 + K 4 = T 4 M C + C 2 + K 4 , (41)
while E [ ∣ W j ∣ ] ≤ C / T \mathbb{E}[|W_{j}|]\le C/T E [ ∣ W j ∣ ] ≤ C / T .
Average 1 m ∑ i = 1 m S i \frac{1}{m}\sum_{i=1}^{m}S_{i} m 1 ∑ i = 1 m S i of statistics of the forms (1)-(4). Each difference between S i S_{i} S i and its population counterpart decomposes as Y ( i ) + W ( i ) Y^{(i)}+W^{(i)} Y ( i ) + W ( i ) as above. We take Y j : = 1 m ∑ i Y ( i ) Y_{j}:=\frac{1}{m}\sum_{i}Y^{(i)} Y j := m 1 ∑ i Y ( i ) and W j : = 1 m ∑ i W ( i ) W_{j}:=\frac{1}{m}\sum_{i}W^{(i)} W j := m 1 ∑ i W ( i ) . Then E [ Y j ] = 0 \mathbb{E}[Y_{j}]=0 E [ Y j ] = 0 , and by Minkowski’s inequality and the triangle inequality,
E [ Y j 2 ] ≤ 1 m ∑ i = 1 m E [ ( Y ( i ) ) 2 ] , E [ ∣ W j ∣ ] ≤ 1 m ∑ i = 1 m E [ ∣ W ( i ) ∣ ] , (42) \sqrt{\mathbb{E}[Y_{j}^{2}]}\le\frac{1}{m}\sum_{i=1}^{m}\sqrt{\mathbb{E}\left[(Y^{(i)})^{2}\right]},\qquad\mathbb{E}[|W_{j}|]\le\frac{1}{m}\sum_{i=1}^{m}\mathbb{E}\left[|W^{(i)}|\right], \tag*{(42)} E [ Y j 2 ] ≤ m 1 i = 1 ∑ m E [ ( Y ( i ) ) 2 ] , E [ ∣ W j ∣ ] ≤ m 1 i = 1 ∑ m E [ ∣ W ( i ) ∣ ] , (42)
so that the bounds of cases (1)-(4) also hold for Y j Y_{j} Y j and W j W_{j} W j , independently of m m m .
Hence the conditions of Lemma 2 hold with c 1 = d [ ( 4 M C + C 2 + K 4 ) 2 + C ] c_{1}=d\left[\left(4M\sqrt{C}+\sqrt{C^{2}+K_{4}}\right)^{2}+C\right] c 1 = d [ ( 4 M C + C 2 + K 4 ) 2 + C ] and c 2 = d C c_{2}=dC c 2 = d C , which do not depend on n n n , and Lemma 2 gives the result.
Corollary 1 (correlation of trial averages). Let A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] be non-empty and assume that there exists a constant a 0 > 0 a_{0}>0 a 0 > 0 such that
Var ^ t ( v ∗ A ) ≥ a 0 , Var ^ t ( v ∗ B ) ≥ a 0 for all T . (43) \widehat{\operatorname{Var}}_{t}(v^{*A})\ge a_{0},\qquad\widehat{\operatorname{Var}}_{t}(v^{*B})\ge a_{0}\qquad\text{for all }T. \tag*{(43)} Var t ( v ∗ A ) ≥ a 0 , Var t ( v ∗ B ) ≥ a 0 for all T . (43) Under Assumptions 1–4,
Corr ^ t ( v A , v B ) = Cov ^ t ( v ∗ A , v ∗ B ) + s ( A , B ) ( Var ^ t ( v ∗ A ) + s ( A , A ) ) ( Var ^ t ( v ∗ B ) + s ( B , B ) ) + ε T , (44) \widehat{\operatorname{Corr}}_{t}(v^{A},v^{B})=
\frac{\widehat{\operatorname{Cov}}_{t}(v^{*A},v^{*B})+s(A,B)}
{\sqrt{\left(\widehat{\operatorname{Var}}_{t}(v^{*A})+s(A,A)\right)\left(\widehat{\operatorname{Var}}_{t}(v^{*B})+s(B,B)\right)}}+\varepsilon_{T}, \tag*{(44)} Corr t ( v A , v B ) = ( Var t ( v ∗ A ) + s ( A , A ) ) ( Var t ( v ∗ B ) + s ( B , B ) ) Cov t ( v ∗ A , v ∗ B ) + s ( A , B ) + ε T , (44) Corr ^ t ( v ∗ A , v B ) = Cov ^ t ( v ∗ A , v ∗ B ) Var ^ t ( v ∗ A ) ( Var ^ t ( v ∗ B ) + s ( B , B ) ) + ε T , (45) \widehat{\operatorname{Corr}}_{t}(v^{*A},v^{B})=
\frac{\widehat{\operatorname{Cov}}_{t}(v^{*A},v^{*B})}
{\sqrt{\widehat{\operatorname{Var}}_{t}(v^{*A})\left(\widehat{\operatorname{Var}}_{t}(v^{*B})+s(B,B)\right)}}+\varepsilon_{T}, \tag*{(45)} Corr t ( v ∗ A , v B ) = Var t ( v ∗ A ) ( Var t ( v ∗ B ) + s ( B , B ) ) Cov t ( v ∗ A , v ∗ B ) + ε T , (45) where in both cases the constant c c c of the error term only depends on M M M , C C C , K 4 K_{4} K 4 and a 0 a_{0} a 0 .
Latent representation of the noise-free signals
Proof. We prove (44); the proof of (45) is identical with s ( A , B ) s(A,B) s ( A , B ) and s ( A , A ) s(A,A) s ( A , A ) set to zero. We apply Theorem 1 with d = 3 d=3 d = 3 ,
z ^ T = ( Cov ^ t ( v A , v B ) , Var ^ t ( v A ) , Var ^ t ( v B ) ) , (46) \widehat{\mathbf{z}}_T=\left(\widehat{\operatorname{Cov}}_t(v^A,v^B),\widehat{\operatorname{Var}}_t(v^A),\widehat{\operatorname{Var}}_t(v^B)\right), \tag*{(46)} z T = ( Cov t ( v A , v B ) , Var t ( v A ) , Var t ( v B ) ) , (46)
F ( u 1 , u 2 , u 3 ) : = { u 1 u 2 u 3 if u 2 > 0 and u 3 > 0 , 0 otherwise , (47) F(u_1,u_2,u_3):=
\begin{cases}
\frac{u_1}{\sqrt{u_2u_3}} & \text{if }u_2>0\text{ and }u_3>0,\\
0 & \text{otherwise},
\end{cases} \tag*{(47)} F ( u 1 , u 2 , u 3 ) := { u 2 u 3 u 1 0 if u 2 > 0 and u 3 > 0 , otherwise , (47)
so that F ( z ^ T ) = Corr ^ t ( v A , v B ) F(\widehat{\mathbf{z}}_T)=\widehat{\operatorname{Corr}}_t(v^A,v^B) F ( z T ) = Corr t ( v A , v B ) (with the convention that the correlation is 0 if one of the variances vanishes). The population counterpart is
z T = ( Cov ^ t ( v ∗ A , v ∗ B ) + s ( A , B ) , Var ^ t ( v ∗ A ) + s ( A , A ) , Var ^ t ( v ∗ B ) + s ( B , B ) ) , (48) \mathbf{z}_T=\left(\widehat{\operatorname{Cov}}_t(v^{*A},v^{*B})+s(A,B),\widehat{\operatorname{Var}}_t(v^{*A})+s(A,A),\widehat{\operatorname{Var}}_t(v^{*B})+s(B,B)\right), \tag*{(48)} z T = ( Cov t ( v ∗ A , v ∗ B ) + s ( A , B ) , Var t ( v ∗ A ) + s ( A , A ) , Var t ( v ∗ B ) + s ( B , B ) ) , (48)
and F ( z T ) F(\mathbf{z}_T) F ( z T ) is the leading term of (44). We check the conditions of Lemma 2:
(a) Compact set By Assumption 2, Var ^ t ( v ∗ A ) = ⟨ ( v ∗ A ) 2 ⟩ − ⟨ v ∗ A ⟩ 2 ≤ ⟨ ( v ∗ A ) 2 ⟩ ≤ M 2 \widehat{\operatorname{Var}}_t(v^{*A})=\langle(v^{*A})^2\rangle-\langle v^{*A}\rangle^2\le\langle(v^{*A})^2\rangle\le M^2 Var t ( v ∗ A ) = ⟨( v ∗ A ) 2 ⟩ − ⟨ v ∗ A ⟩ 2 ≤ ⟨( v ∗ A ) 2 ⟩ ≤ M 2 , and similarly for B B B , so that by Cauchy-Schwarz ∣ Cov ^ t ( v ∗ A , v ∗ B ) ∣ ≤ M 2 \left|\widehat{\operatorname{Cov}}_t(v^{*A},v^{*B})\right|\le M^2 Cov t ( v ∗ A , v ∗ B ) ≤ M 2 . Moreover, σ ℓ 2 ≤ C \sigma_\ell^2\le C σ ℓ 2 ≤ C (it is an average of the γ ℓ ( t , t ) ≤ C \gamma_\ell(t,t)\le C γ ℓ ( t , t ) ≤ C ), hence 0 ≤ s ( A , B ) ≤ ∣ A ∩ B ∣ ∣ A ∣ ∣ B ∣ C ≤ C 0\le s(A,B)\le\frac{|A\cap B|}{|A||B|}C\le C 0 ≤ s ( A , B ) ≤ ∣ A ∣∣ B ∣ ∣ A ∩ B ∣ C ≤ C . Together with (43), z T \mathbf{z}_T z T lies in the compact set
K : = [ − M 2 − C , M 2 + C ] × [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] . (49) \mathcal{K}:=[-M^2-C,M^2+C]\times[a_0,M^2+C]\times[a_0,M^2+C]. \tag*{(49)} K := [ − M 2 − C , M 2 + C ] × [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] . (49)
(b) Smoothness We take δ : = a 0 / 2 \delta:=a_0/2 δ := a 0 /2 . Every point ( u 1 , u 2 , u 3 ) (u_1,u_2,u_3) ( u 1 , u 2 , u 3 ) of K δ \mathcal{K}_\delta K δ satisfies u 2 ≥ a 0 / 2 u_2\ge a_0/2 u 2 ≥ a 0 /2 and u 3 ≥ a 0 / 2 u_3\ge a_0/2 u 3 ≥ a 0 /2 , and F F F is infinitely differentiable on the open set { ( u 1 , u 2 , u 3 ) : u 2 > a 0 / 4 , u 3 > a 0 / 4 } \{(u_1,u_2,u_3):u_2>a_0/4,u_3>a_0/4\} {( u 1 , u 2 , u 3 ) : u 2 > a 0 /4 , u 3 > a 0 /4 } , which contains K δ \mathcal{K}_\delta K δ .
(c) Boundedness ∣ F ( z ^ T ) ∣ ≤ 1 \left|F(\widehat{\mathbf{z}}_T)\right|\le1 ∣ F ( z T ) ∣ ≤ 1 since it is a Pearson correlation. For the population counterpart, let τ \tau τ be uniformly distributed on [ T ] [T] [ T ] and let ξ 1 , … , ξ n \xi_1,\ldots,\xi_n ξ 1 , … , ξ n be independent, centered random variables with Var ( ξ ℓ ) = σ ℓ 2 \operatorname{Var}(\xi_\ell)=\sigma_\ell^2 Var ( ξ ℓ ) = σ ℓ 2 , independent of τ \tau τ . With ξ A : = 1 ∣ A ∣ ∑ ℓ ∈ A ξ ℓ \xi^A:=\frac{1}{|A|}\sum_{\ell\in A}\xi_\ell ξ A := ∣ A ∣ 1 ∑ ℓ ∈ A ξ ℓ (similarly for ξ B \xi^B ξ B ), set X : = v τ ∗ A + ξ A X:=v_\tau^{*A}+\xi^A X := v τ ∗ A + ξ A and Y : = v τ ∗ B + ξ B Y:=v_\tau^{*B}+\xi^B Y := v τ ∗ B + ξ B . Then F ( z T ) = Corr ( X , Y ) F(\mathbf{z}_T)=\operatorname{Corr}(X,Y) F ( z T ) = Corr ( X , Y ) , so ∣ F ( z T ) ∣ ≤ 1 \left|F(\mathbf{z}_T)\right|\le1 ∣ F ( z T ) ∣ ≤ 1 .
All conditions of Lemma 2 hold, and Theorem 1 gives the result.
Lemma 3 (thresholded functions). Let X T = x T + ε T X_T=x_T+\varepsilon_T X T = x T + ε T with x T x_T x T deterministic and ε T \varepsilon_T ε T with E [ ε T 2 ] ≤ c / T \mathbb{E}[\varepsilon_T^2]\le c/T E [ ε T 2 ] ≤ c / T . Then
max ( 0 , X T ) = max ( 0 , x T ) + ε T max , (50) \sqrt{\max(0,X_T)}=\sqrt{\max(0,x_T)}+\varepsilon_T^{\max}, \tag*{(50)} max ( 0 , X T ) = max ( 0 , x T ) + ε T m a x , (50) where the constant of ε T max \varepsilon_T^{\max} ε T m a x is the constant c c c of the assumption.
Proof. Let f ( x ) : = max ( 0 , x ) f(x):=\sqrt{\max(0,x)} f ( x ) := max ( 0 , x ) , we first prove that ∣ f ( x ) − f ( y ) ∣ ≤ ∣ x − y ∣ \left|f(x)-f(y)\right|\le\sqrt{|x-y|} ∣ f ( x ) − f ( y ) ∣ ≤ ∣ x − y ∣ . If x , y ≤ 0 x,y\le0 x , y ≤ 0 , the difference is 0; if y ≤ 0 < x y\le0<x y ≤ 0 < x , ∣ f ( x ) − f ( y ) ∣ = f ( x ) = x ≤ x − y \left|f(x)-f(y)\right|=f(x)=\sqrt{x}\le\sqrt{x-y} ∣ f ( x ) − f ( y ) ∣ = f ( x ) = x ≤ x − y (and symmetrically if x ≤ 0 < y x\le0<y x ≤ 0 < y ); if x , y > 0 x,y>0 x , y > 0 , ∣ f ( x ) − f ( y ) ∣ = ∣ x − y ∣ = ( x − y ) 2 ≤ x + y − 2 min ( x , y ) = ∣ x − y ∣ \left|f(x)-f(y)\right|=\left|\sqrt{x}-\sqrt{y}\right|=\sqrt{(\sqrt{x}-\sqrt{y})^2}\le\sqrt{x+y-2\min(x,y)}=\sqrt{|x-y|} ∣ f ( x ) − f ( y ) ∣ = x − y = ( x − y ) 2 ≤ x + y − 2 min ( x , y ) = ∣ x − y ∣ . This gives
∣ ε T max ∣ = ∣ f ( X T ) − f ( x T ) ∣ ≤ ∣ ε T ∣ . (51) |\varepsilon_T^{\max}|=|f(X_T)-f(x_T)|\le\sqrt{|\varepsilon_T|}. \tag*{(51)} ∣ ε T m a x ∣ = ∣ f ( X T ) − f ( x T ) ∣ ≤ ∣ ε T ∣ . (51) Hence ( ε T max ) 2 ≤ ∣ ε T ∣ (\varepsilon_T^{\max})^2\le|\varepsilon_T| ( ε T m a x ) 2 ≤ ∣ ε T ∣ , so that E [ ( ε T max ) 2 ] ≤ E [ ∣ ε T ∣ ] ≤ E [ ε T 2 ] ≤ ( c / T ) 1 / 2 \mathbb{E}[(\varepsilon_T^{\max})^2]\le\mathbb{E}[|\varepsilon_T|]\le\sqrt{\mathbb{E}[\varepsilon_T^2]}\le(c/T)^{1/2} E [( ε T m a x ) 2 ] ≤ E [ ∣ ε T ∣ ] ≤ E [ ε T 2 ] ≤ ( c / T ) 1/2 . Furthermore, by Jensen’s inequality
∣ E [ ε T max ] ∣ ≤ E [ ∣ ε T max ∣ ] ≤ E [ ∣ ε T ∣ ] ≤ E [ ∣ ε T ∣ ] ≤ ( E [ ε T 2 ] ) 1 / 4 ≤ ( c / T ) 1 / 4 . (52) |\mathbb{E}[\varepsilon_T^{\max}]|\le\mathbb{E}[|\varepsilon_T^{\max}|]\le\mathbb{E}\left[\sqrt{|\varepsilon_T|}\right]\le\sqrt{\mathbb{E}[|\varepsilon_T|]}\le(\mathbb{E}[\varepsilon_T^2])^{1/4}\le(c/T)^{1/4}. \tag*{(52)} ∣ E [ ε T m a x ] ∣ ≤ E [ ∣ ε T m a x ∣ ] ≤ E [ ∣ ε T ∣ ] ≤ E [ ∣ ε T ∣ ] ≤ ( E [ ε T 2 ] ) 1/4 ≤ ( c / T ) 1/4 . (52)
Remark 1 (on Lemma 3). The slower convergence in Lemma 3 compared to Lemma 2 is due to the max function not being differentiable in 0. In the case where the sequence { x T } T > 0 \{x_T\}_{T>0} { x T } T > 0 is bounded away from zero, one falls back into the setting of Lemma 2 and the convergence is faster.
Latent representation of the noise-free signals
Definition 6 (latent signals). Let ϕ 1 , … , ϕ K \phi_1,\ldots,\phi_K ϕ 1 , … , ϕ K be sequences of length T T T that are centered and orthonormal over time,
⟨ ϕ k ⟩ = 0 , ⟨ ϕ j ϕ k ⟩ = { 1 if j = k , 0 otherwise , (53) \langle\phi_k\rangle= 0,\qquad
\langle\phi_j\phi_k\rangle=
\begin{cases}
1 & \text{if } j=k,\\
0 & \text{otherwise},
\end{cases} \tag*{(53)} ⟨ ϕ k ⟩ = 0 , ⟨ ϕ j ϕ k ⟩ = { 1 0 if j = k , otherwise , (53) and assume that the centered noise-free signal of every trial can be written as
v ∗ ( ℓ ) − ⟨ v ∗ ( ℓ ) ⟩ = ∑ k = 1 K w k ( ℓ ) ϕ k , w k ( ℓ ) : = Cov ^ t ( v ∗ ( ℓ ) , ϕ k ) . (54) v^{*(\ell)}-\langle v^{*(\ell)}\rangle
=\sum_{k=1}^{K}w_k^{(\ell)}\phi_k,\qquad
w_k^{(\ell)}:=\widehat{\operatorname{Cov}}_t\left(v^{*(\ell)},\phi_k\right). \tag*{(54)} v ∗ ( ℓ ) − ⟨ v ∗ ( ℓ ) ⟩ = k = 1 ∑ K w k ( ℓ ) ϕ k , w k ( ℓ ) := Cov t ( v ∗ ( ℓ ) , ϕ k ) . (54)
For a non-empty subset A ⊆ [ n ] A\subseteq[n] A ⊆ [ n ] , we write w ‾ k A : = 1 ∣ A ∣ ∑ ℓ ∈ A w k ( ℓ ) \overline{w}_k^A:=\frac{1}{|A|}\sum_{\ell\in A}w_k^{(\ell)} w k A := ∣ A ∣ 1 ∑ ℓ ∈ A w k ( ℓ ) for the average weights, and w ‾ k : = w ‾ k [ n ] \overline{w}_k:=\overline{w}_k^{[n]} w k := w k [ n ] .
Such a representation always exists: the centered noise-free signals v ∗ ( ℓ ) − ⟨ v ∗ ( ℓ ) ⟩ v^{*(\ell)}-\langle v^{*(\ell)}\rangle v ∗ ( ℓ ) − ⟨ v ∗ ( ℓ ) ⟩ , ℓ ∈ [ n ] \ell\in[n] ℓ ∈ [ n ] , span a subspace of R T \mathbb{R}^T R T of dimension at most n n n , and applying the Gram-Schmidt procedure to them with the inner product ⟨ x y ⟩ \langle xy\rangle ⟨ x y ⟩ gives centered orthonormal sequences satisfying (54).
Lemma 4 (latent form of the noise-free covariances). Under the representation of Definition 6, for any non-empty A , B ⊆ [ n ] A,B\subseteq[n] A , B ⊆ [ n ] ,
Cov ^ t ( v ∗ A , v ∗ B ) = ∑ k = 1 K w ‾ k A w ‾ k B , in particular Var ^ t ( v ∗ A ) = ∑ k = 1 K ( w ‾ k A ) 2 . (55) \widehat{\operatorname{Cov}}_t\left(v^{*A},v^{*B}\right)
=\sum_{k=1}^{K}\overline{w}_k^A\overline{w}_k^B,
\qquad\text{in particular}\qquad
\widehat{\operatorname{Var}}_t\left(v^{*A}\right)
=\sum_{k=1}^{K}\left(\overline{w}_k^A\right)^2. \tag*{(55)} Cov t ( v ∗ A , v ∗ B ) = k = 1 ∑ K w k A w k B , in particular Var t ( v ∗ A ) = k = 1 ∑ K ( w k A ) 2 . (55) Proof. Averaging (54) over ℓ ∈ A \ell\in A ℓ ∈ A gives v ∗ A − ⟨ v ∗ A ⟩ = ∑ k w ‾ k A ϕ k v^{*A}-\langle v^{*A}\rangle=\sum_k\overline{w}_k^A\phi_k v ∗ A − ⟨ v ∗ A ⟩ = ∑ k w k A ϕ k , and similarly for B B B . Since Cov ^ t \widehat{\operatorname{Cov}}_t Cov t is bilinear and invariant under the addition of constants,
Cov ^ t ( v ∗ A , v ∗ B ) = Cov ^ t ( ∑ j = 1 K w ‾ j A ϕ j , ∑ k = 1 K w ‾ k B ϕ k ) = ∑ j = 1 K ∑ k = 1 K w ‾ j A w ‾ k B Cov ^ t ( ϕ j , ϕ k ) = ∑ k = 1 K w ‾ k A w ‾ k B . (56) \widehat{\operatorname{Cov}}_t\left(v^{*A},v^{*B}\right)
=\widehat{\operatorname{Cov}}_t\left(\sum_{j=1}^{K}\overline{w}_j^A\phi_j,\sum_{k=1}^{K}\overline{w}_k^B\phi_k\right)
=\sum_{j=1}^{K}\sum_{k=1}^{K}\overline{w}_j^A\overline{w}_k^B\widehat{\operatorname{Cov}}_t(\phi_j,\phi_k)
=\sum_{k=1}^{K}\overline{w}_k^A\overline{w}_k^B. \tag*{(56)} Cov t ( v ∗ A , v ∗ B ) = Cov t ( j = 1 ∑ K w j A ϕ j , k = 1 ∑ K w k B ϕ k ) = j = 1 ∑ K k = 1 ∑ K w j A w k B Cov t ( ϕ j , ϕ k ) = k = 1 ∑ K w k A w k B . (56) where the last equality uses (53), which gives Cov ^ t ( ϕ j , ϕ k ) = ⟨ ϕ j ϕ k ⟩ − ⟨ ϕ j ⟩ ⟨ ϕ k ⟩ = ⟨ ϕ j ϕ k ⟩ \widehat{\operatorname{Cov}}_t(\phi_j,\phi_k)=\langle\phi_j\phi_k\rangle-\langle\phi_j\rangle\langle\phi_k\rangle=\langle\phi_j\phi_k\rangle Cov t ( ϕ j , ϕ k ) = ⟨ ϕ j ϕ k ⟩ − ⟨ ϕ j ⟩ ⟨ ϕ k ⟩ = ⟨ ϕ j ϕ k ⟩ .
Trial-averaged noise ceiling
In this section, we derive the closed-form expressions for the true noise ceiling for trial-averaged responses N C m e a n NC^{\mathrm{mean}} N C mean and its estimators N C ^ S H S B \widehat{NC}^{\mathrm{SHSB}} N C SHSB and N C ^ A T V \widehat{NC}^{\mathrm{ATV}} N C ATV .
True noise ceiling NCmean
We recall that the true noise ceiling for trial-averaged responses is the correlation between the noise-free average and the recorded average, N C m e a n : = Corr ^ t ( v ˉ ∗ , v ˉ ) NC^{\mathrm{mean}}:=\widehat{\operatorname{Corr}}_t(\bar v^*,\bar v) N C mean := Corr t ( v ˉ ∗ , v ˉ ) , with v ˉ ∗ : = v ∗ [ n ] \bar v^*:=v^{*[n]} v ˉ ∗ := v ∗ [ n ] and v ˉ : = v [ n ] \bar v:=v^{[n]} v ˉ := v [ n ] . We write
σ ˉ 2 : = 1 n ∑ ℓ = 1 n σ ℓ 2 (57) \bar{\sigma}^{2}:=\frac{1}{n}\sum_{\ell=1}^{n}\sigma_{\ell}^{2} \tag*{(57)} σ ˉ 2 := n 1 ℓ = 1 ∑ n σ ℓ 2 (57)
for the noise variance averaged over trials and time.
Proposition 1 (true noise ceiling, trial-averaged responses). Assume that there exists a constant a 0 > 0 a_0>0 a 0 > 0 such that Var ^ t ( v ˉ ∗ ) ≥ a 0 \widehat{\operatorname{Var}}_t(\bar v^*)\geq a_0 Var t ( v ˉ ∗ ) ≥ a 0 for all T T T . Under Assumptions 1–4,
N C m e a n = Var ^ t ( v ˉ ∗ ) Var ^ t ( v ˉ ∗ ) + σ ˉ 2 / n + ε T = ∑ k = 1 K w ‾ k 2 ∑ k = 1 K w ‾ k 2 + σ ˉ 2 / n + ε T , (58) NC^{\mathrm{mean}}
=\sqrt{\frac{\widehat{\operatorname{Var}}_t(\bar v^*)}{\widehat{\operatorname{Var}}_t(\bar v^*)+\bar{\sigma}^{2}/n}}+\varepsilon_T
=\sqrt{\frac{\sum_{k=1}^{K}\overline{w}_k^2}{\sum_{k=1}^{K}\overline{w}_k^2+\bar{\sigma}^{2}/n}}+\varepsilon_T, \tag*{(58)} N C mean = Var t ( v ˉ ∗ ) + σ ˉ 2 / n Var t ( v ˉ ∗ ) + ε T = ∑ k = 1 K w k 2 + σ ˉ 2 / n ∑ k = 1 K w k 2 + ε T , (58) where the constant c c c of the error term only depends on M M M , C C C , K 4 K_4 K 4 and a 0 a_0 a 0 , and not on n n n . The second expression holds under the representation of Definition 6.
Proof. We apply (45) of Corollary 1 with A = B = [ n ] A=B=[n] A = B = [ n ] . The shared noise of the full average with itself is
s ( [ n ] , [ n ] ) = 1 n 2 ∑ ℓ = 1 n σ ˉ ℓ 2 = σ ˉ 2 n , (59) s([n],[n])=\frac{1}{n^2}\sum_{\ell=1}^{n}\bar{\sigma}_{\ell}^{2}=\frac{\bar{\sigma}^{2}}{n}, \tag*{(59)} s ([ n ] , [ n ]) = n 2 1 ℓ = 1 ∑ n σ ˉ ℓ 2 = n σ ˉ 2 , (59)
and Cov ^ t ( v ˉ ∗ , v ˉ ∗ ) = Var ^ t ( v ˉ ∗ ) \widehat{\operatorname{Cov}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*},\bar{\mathbf{v}}^{*})=\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*}) Cov t ( v ˉ ∗ , v ˉ ∗ ) = Var t ( v ˉ ∗ ) . Corollary 1 therefore gives
N C ^ m e a n = Var ^ t ( v ˉ ∗ ) Var ^ t ( v ˉ ∗ ) ( Var ^ t ( v ˉ ∗ ) + σ 2 / n ) + ε T = Var ^ t ( v ˉ ∗ ) Var ^ t ( v ˉ ∗ ) + σ ˉ 2 / n + ε T , (60) \widehat{NC}^{\mathrm{mean}}=\frac{\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})}{\sqrt{\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})\left(\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})+\sigma^{2}/n\right)}}+\varepsilon_T=\sqrt{\frac{\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})}{\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})+\bar{\sigma}^{2}/n}}+\varepsilon_T, \tag*{(60)} N C mean = Var t ( v ˉ ∗ ) ( Var t ( v ˉ ∗ ) + σ 2 / n ) Var t ( v ˉ ∗ ) + ε T = Var t ( v ˉ ∗ ) + σ ˉ 2 / n Var t ( v ˉ ∗ ) + ε T , (60)
which is the first expression in (58). The second expression follows from Lemma 4 with A = [ n ] A=[n] A = [ n ] , Var ^ t ( v ˉ ∗ ) = ∑ k w ˉ k 2 \widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})=\sum_k\bar{w}_k^2 Var t ( v ˉ ∗ ) = ∑ k w ˉ k 2 .
Across-trial variance method N C ^ A T V \widehat{NC}^{\mathrm{ATV}} N C ATV
We assume that each trial is centered over time before the estimator is computed, i.e. v ( ℓ ) \mathbf{v}^{(\ell)} v ( ℓ ) is replaced by v ( ℓ ) − ⟨ v ( ℓ ) ⟩ \mathbf{v}^{(\ell)}-\langle\mathbf{v}^{(\ell)}\rangle v ( ℓ ) − ⟨ v ( ℓ ) ⟩ . This is the centering step of the usual z-scoring of each run or subject; the division by the standard deviation is not needed. With the unbiased variance across trials at each time step,
Var ^ ℓ u [ v t ] : = 1 n − 1 ∑ ℓ = 1 n ( v t ( ℓ ) − v ˉ t ) 2 , (61) \widehat{\operatorname{Var}}_{\ell}^{\mathrm{u}}[v_t]:=\frac{1}{n-1}\sum_{\ell=1}^{n}\left(v_t^{(\ell)}-\bar{v}_t\right)^2, \tag*{(61)} Var ℓ u [ v t ] := n − 1 1 ℓ = 1 ∑ n ( v t ( ℓ ) − v ˉ t ) 2 , (61)
the ATV estimator of Table 1 is
N C ^ A T V : = max ( 0 , F ^ ) , F ^ : = 1 − 1 n 1 T ∑ t = 1 T Var ^ ℓ u [ v t ] Var ^ t ( v ˉ ) , (62) \widehat{NC}^{\mathrm{ATV}}:=\sqrt{\max\left(0,\widehat{F}\right)},\qquad\widehat{F}:=1-\frac{1}{n}\frac{\frac{1}{T}\sum_{t=1}^{T}\widehat{\operatorname{Var}}_{\ell}^{\mathrm{u}}[v_t]}{\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}})}, \tag*{(62)} N C ATV := max ( 0 , F ) , F := 1 − n 1 Var t ( v ˉ ) T 1 ∑ t = 1 T Var ℓ u [ v t ] , (62)
with the convention N C ^ A T V = 0 \widehat{NC}^{\mathrm{ATV}}=0 N C ATV = 0 if Var ^ t ( v ˉ ) = 0 \widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}})=0 Var t ( v ˉ ) = 0 . For a quantity x ( ℓ ) x^{(\ell)} x ( ℓ ) defined for each trial, we write Var ^ ℓ [ x ] : = 1 n ∑ ℓ = 1 n ( x ( ℓ ) − 1 n ∑ ℓ ′ = 1 n x ( ℓ ′ ) ) 2 \widehat{\operatorname{Var}}_{\ell}[x]:=\frac{1}{n}\sum_{\ell=1}^{n}\left(x^{(\ell)}-\frac{1}{n}\sum_{\ell'=1}^{n}x^{(\ell')}\right)^2 Var ℓ [ x ] := n 1 ∑ ℓ = 1 n ( x ( ℓ ) − n 1 ∑ ℓ ′ = 1 n x ( ℓ ′ ) ) 2 for its empirical variance across trials.
Proposition 2 (ATV). Assume that there exists a constant a 0 > 0 a_0>0 a 0 > 0 such that Var ^ t ( v ˉ ∗ ) ≥ a 0 \widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}}^{*})\ge a_0 Var t ( v ˉ ∗ ) ≥ a 0 for all T T T . Under Assumptions 1–4:
(a) (general case )
N C ^ A T V = max ( 0 , ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] ∑ k w ˉ k 2 + σ ˉ 2 / n ) + ε T max ; (63) \widehat{NC}^{\mathrm{ATV}}=\sqrt{\max\left(0,\frac{\sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_{\ell}[w_k]}{\sum_k\bar{w}_k^2+\bar{\sigma}^{2}/n}\right)}+\varepsilon_T^{\max}; \tag*{(63)} N C ATV = max ( 0 , ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n − 1 1 ∑ k Var ℓ [ w k ] ) + ε T m a x ; (63) (b) (units with signal ) if there exists f min > 0 f_{\min}>0 f m i n > 0 such that ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] ∑ k w ˉ k 2 + σ ˉ 2 / n ≥ f min \frac{\sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_{\ell}[w_k]}{\sum_k\bar{w}_k^2+\bar{\sigma}^{2}/n}\ge f_{\min} ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n − 1 1 ∑ k Var ℓ [ w k ] ≥ f m i n for all T T T , then
N C ^ A T V = ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] ∑ k w ˉ k 2 + σ ˉ 2 / n + ε T . (64) \widehat{NC}^{\mathrm{ATV}}=\sqrt{\frac{\sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_{\ell}[w_k]}{\sum_k\bar{w}_k^2+\bar{\sigma}^{2}/n}}+\varepsilon_T. \tag*{(64)} N C ATV = ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n − 1 1 ∑ k Var ℓ [ w k ] + ε T . (64) The constant c c c of the error terms only depends on M M M , C C C , K 4 K_4 K 4 , a 0 a_0 a 0 (and f min f_{\min} f m i n in (b)), and not on n n n .
Proof. (1) Rewriting the estimator After centering, ⟨ v ( ℓ ) ⟩ = 0 \langle\mathbf{v}^{(\ell)}\rangle=0 ⟨ v ( ℓ ) ⟩ = 0 for all ℓ \ell ℓ and ⟨ v ˉ ⟩ = 0 \langle\bar{\mathbf{v}}\rangle=0 ⟨ v ˉ ⟩ = 0 , so time averages of squares are variances over time. Since
∑ ℓ ( v t ( ℓ ) − v ˉ t ) 2 = ∑ ℓ ( v t ( ℓ ) ) 2 − n v ˉ t 2 , \sum_{\ell}\left(v_t^{(\ell)}-\bar{v}_t\right)^2=\sum_{\ell}\left(v_t^{(\ell)}\right)^2-n\bar{v}_t^2, ℓ ∑ ( v t ( ℓ ) − v ˉ t ) 2 = ℓ ∑ ( v t ( ℓ ) ) 2 − n v ˉ t 2 ,
1 T ∑ t = 1 T Var ^ ℓ u [ v t ] = 1 n − 1 ( ∑ ℓ = 1 n Var ^ t ( v ( ℓ ) ) − n Var ^ t ( v ˉ ) ) . (65) \frac{1}{T}\sum_{t=1}^{T}\widehat{\operatorname{Var}}_{\ell}^{\mathrm{u}}[v_t]=\frac{1}{n-1}\left(\sum_{\ell=1}^{n}\widehat{\operatorname{Var}}_{\mathrm{t}}\left(\mathbf{v}^{(\ell)}\right)-n\widehat{\operatorname{Var}}_{\mathrm{t}}(\bar{\mathbf{v}})\right). \tag*{(65)} T 1 t = 1 ∑ T Var ℓ u [ v t ] = n − 1 1 ( ℓ = 1 ∑ n Var t ( v ( ℓ ) ) − n Var t ( v ˉ ) ) . (65)
Hence F ^ = F ( Z ^ T ) \widehat{F}=F(\widehat{Z}_T) F = F ( Z T ) with
Z ^ T : = ( Var ^ t ( v ˉ ) , 1 n ∑ ℓ = 1 n Var ^ t ( v ( ℓ ) ) ) , F ( u 1 , u 2 ) : = 1 − u 2 − u 1 ( n − 1 ) u 1 . (66) \widehat{Z}_T:=\left(\widehat{\operatorname{Var}}_t(\bar{\mathbf{v}}),\frac{1}{n}\sum_{\ell=1}^{n}\widehat{\operatorname{Var}}_t(\mathbf{v}^{(\ell)})\right),\qquad F(u_1,u_2):=1-\frac{u_2-u_1}{(n-1)u_1}. \tag*{(66)} Z T := ( Var t ( v ˉ ) , n 1 ℓ = 1 ∑ n Var t ( v ( ℓ ) ) ) , F ( u 1 , u 2 ) := 1 − ( n − 1 ) u 1 u 2 − u 1 . (66)
Using Cauchy-Schwarz, the second entry of Z ^ T \widehat{Z}_T Z T is at least the first one, which gives F ^ ≤ 1 \widehat{F}\leq1 F ≤ 1 .
(2) Population counterparts The first entry of Z ^ T \widehat{Z}_T Z T is a statistic of the form Cov ^ t ( x A , x B ) \widehat{\operatorname{Cov}}_t(x^A,x^B) Cov t ( x A , x B ) and the second one is the average of the n n n statistics Var ^ t ( v ( ℓ ) ) \widehat{\operatorname{Var}}_t(\mathbf{v}^{(\ell)}) Var t ( v ( ℓ ) ) . By Definition 5 and Lemma 4, their population counterparts are
z T : = ( ∑ k w ˉ k 2 + σ ˉ 2 n , 1 n ∑ ℓ = 1 n ( ∑ k ( w k ( ℓ ) ) 2 + σ ˉ ℓ 2 ) ) = ( ∑ k w ˉ k 2 + σ ˉ 2 n , ∑ k w ˉ k 2 + ∑ k Var ^ ℓ [ w k ] + σ ˉ 2 ) . (67) \begin{aligned}
z_T:=\left(\sum_k\bar{w}_k^2+\frac{\bar{\sigma}^2}{n},\frac{1}{n}\sum_{\ell=1}^{n}\left(\sum_k(w_k^{(\ell)})^2+\bar{\sigma}_\ell^2\right)\right) \\
&=\left(\sum_k\bar{w}_k^2+\frac{\bar{\sigma}^2}{n},\sum_k\bar{w}_k^2+\sum_k\widehat{\operatorname{Var}}_\ell[w_k]+\bar{\sigma}^2\right). \tag*{(67)}
\end{aligned} z T := ( k ∑ w ˉ k 2 + n σ ˉ 2 , n 1 ℓ = 1 ∑ n ( k ∑ ( w k ( ℓ ) ) 2 + σ ˉ ℓ 2 ) ) = ( k ∑ w ˉ k 2 + n σ ˉ 2 , k ∑ w ˉ k 2 + k ∑ Var ℓ [ w k ] + σ ˉ 2 ) . (67)
where we used 1 n ∑ ℓ ( w k ( ℓ ) ) 2 = w ˉ k 2 + Var ^ ℓ [ w k ] \frac{1}{n}\sum_\ell(w_k^{(\ell)})^2=\bar{w}_k^2+\widehat{\operatorname{Var}}_\ell[w_k] n 1 ∑ ℓ ( w k ( ℓ ) ) 2 = w ˉ k 2 + Var ℓ [ w k ] . Therefore
F ( z T ) = 1 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] + σ ˉ 2 / n ∑ k w ˉ k 2 + σ ˉ 2 / n = ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] ∑ k w ˉ k 2 + σ ˉ 2 / n . (68) F(z_T)=1-\frac{\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_\ell[w_k]+\bar{\sigma}^2/n}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n}
=\frac{\sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_\ell[w_k]}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n}. \tag*{(68)} F ( z T ) = 1 − ∑ k w ˉ k 2 + σ ˉ 2 / n n − 1 1 ∑ k Var ℓ [ w k ] + σ ˉ 2 / n = ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n − 1 1 ∑ k Var ℓ [ w k ] . (68)
(3) Compact set Using Assumption 2, ∑ k w ˉ k 2 ≤ 1 n ∑ ℓ ∑ k ( w k ( ℓ ) ) 2 ≤ max ℓ ∑ k ( w k ( ℓ ) ) 2 = Var ^ t ( v ∗ ( ℓ ) ) ≤ M 2 \sum_k\bar{w}_k^2\leq\frac{1}{n}\sum_\ell\sum_k(w_k^{(\ell)})^2\leq\max_\ell\sum_k(w_k^{(\ell)})^2=\widehat{\operatorname{Var}}_t(\mathbf{v}^{*(\ell)})\leq M^2 ∑ k w ˉ k 2 ≤ n 1 ∑ ℓ ∑ k ( w k ( ℓ ) ) 2 ≤ max ℓ ∑ k ( w k ( ℓ ) ) 2 = Var t ( v ∗ ( ℓ ) ) ≤ M 2 . Moreover by Assumption 3, σ ˉ 2 ≤ C \bar{\sigma}^2\leq C σ ˉ 2 ≤ C . Therefore z T z_T z T lies in K 0 : = [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] \mathcal{K}_0:=[a_0,M^2+C]\times[a_0,M^2+C] K 0 := [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] . Additionally, since 1 n − 1 ∑ k Var ^ ℓ [ w k ] ≤ 1 n ∑ ℓ ∑ k ( w k ( ℓ ) ) 2 ≤ M 2 \frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_\ell[w_k]\leq\frac{1}{n}\sum_\ell\sum_k(w_k^{(\ell)})^2\leq M^2 n − 1 1 ∑ k Var ℓ [ w k ] ≤ n 1 ∑ ℓ ∑ k ( w k ( ℓ ) ) 2 ≤ M 2 , F ( z T ) ≥ − M 2 / a 0 F(z_T)\geq-M^2/a_0 F ( z T ) ≥ − M 2 / a 0 .
(4) Smoothness We write F = 1 − 1 n − 1 h F=1-\frac{1}{n-1}h F = 1 − n − 1 1 h with h ( u 1 , u 2 ) : = u 2 − u 1 u 1 h(u_1,u_2):=\frac{u_2-u_1}{u_1} h ( u 1 , u 2 ) := u 1 u 2 − u 1 , which does not depend on n n n . h h h is infinitely differentiable on the open set { ( u 1 , u 2 ) : u 1 > a 0 / 4 } \{(u_1,u_2):u_1>a_0/4\} {( u 1 , u 2 ) : u 1 > a 0 /4 } , which contains the compact set ( K 0 ) a 0 / 2 (\mathcal{K}_0)_{a_0/2} ( K 0 ) a 0 /2 . Hence h h h is uniformly continuous on ( K 0 ) a 0 / 2 (\mathcal{K}_0)_{a_0/2} ( K 0 ) a 0 /2 (since ( K 0 ) a 0 / 2 (\mathcal{K}_0)_{a_0/2} ( K 0 ) a 0 /2 is compact), and F F F is infinitely differentiable on any ( K 0 ) δ ⊆ ( K 0 ) a 0 / 2 (\mathcal{K}_0)_\delta\subseteq(\mathcal{K}_0)_{a_0/2} ( K 0 ) δ ⊆ ( K 0 ) a 0 /2 with first and second derivatives bounded independently of n ≥ 2 n\geq2 n ≥ 2 , since 1 n − 1 ≤ 1 \frac{1}{n-1}\leq1 n − 1 1 ≤ 1 .
(5) Proof of (b) Let K : = { u ∈ K 0 : F ( u ) ≥ f min } \mathcal{K}:=\{\mathbf{u}\in\mathcal{K}_0:F(\mathbf{u})\geq f_{\min}\} K := { u ∈ K 0 : F ( u ) ≥ f m i n } , which is compact and contains all z T z_T z T , and choose δ ≤ a 0 / 2 \delta\leq a_0/2 δ ≤ a 0 /2 such that ∣ h ( x ) − h ( y ) ∣ ≤ f min / 2 |h(\mathbf{x})-h(\mathbf{y})|\leq f_{\min}/2 ∣ h ( x ) − h ( y ) ∣ ≤ f m i n /2 whenever x , y ∈ ( K 0 ) a 0 / 2 \mathbf{x},\mathbf{y}\in(\mathcal{K}_0)_{a_0/2} x , y ∈ ( K 0 ) a 0 /2 and ∣ x − y ∣ ≤ δ |\mathbf{x}-\mathbf{y}|\leq\delta ∣ x − y ∣ ≤ δ (possible because h h h is uniformly continuous). Since 1 n − 1 ≤ 1 \frac{1}{n-1}\leq1 n − 1 1 ≤ 1 , δ \delta δ does not depend on n n n , and F ≥ f min / 2 F\geq f_{\min}/2 F ≥ f m i n /2 on K δ \mathcal{K}_\delta K δ , so that G : = max ( 0 , F ) = F G:=\sqrt{\max(0,F)}=\sqrt{F} G := max ( 0 , F ) = F is infinitely differentiable on an open set containing K δ \mathcal{K}_\delta K δ . Moreover 0 ≤ G ( Z ^ T ) ≤ 1 0\leq G(\widehat{Z}_T)\leq1 0 ≤ G ( Z T ) ≤ 1 since F ^ ≤ 1 \widehat{F}\leq1 F ≤ 1 , and 0 ≤ G ( z T ) ≤ 1 0\leq G(z_T)\leq1 0 ≤ G ( z T ) ≤ 1 . Theorem 1 applied to G G G gives (b).
(6) Proof of (a) F F F is not bounded near u 1 = 0 u_1=0 u 1 = 0 , so we first clip it: let F ~ : = max ( F , − 1 − M 2 / a 0 ) \widetilde{F}:=\max(F,-1-M^2/a_0) F := max ( F , − 1 − M 2 / a 0 ) . Let K ′ : = { u ∈ K 0 : F ( u ) ≥ − M 2 / a 0 } \mathcal{K}':=\{\mathbf{u}\in\mathcal{K}_0:F(\mathbf{u})\geq-M^2/a_0\} K ′ := { u ∈ K 0 : F ( u ) ≥ − M 2 / a 0 } , which is compact and contains all z T z_T z T by (3), and choose δ ≤ a 0 / 2 \delta\leq a_0/2 δ ≤ a 0 /2 as in (5), with 1 / 2 1/2 1/2 instead of f min / 2 f_{\min}/2 f m i n /2 . On K δ ′ \mathcal{K}'_\delta K δ ′ , F ≥ − M 2 / a 0 − 1 / 2 F\geq-M^2/a_0-1/2 F ≥ − M 2 / a 0 − 1/2 , so F ~ = F \widetilde{F}=F F = F on an open set containing K δ ′ \mathcal{K}'_\delta K δ ′ , where it is infinitely differentiable. Moreover ∣ F ~ ( Z ^ T ) ∣ ≤ 1 + M 2 / a 0 |\widetilde{F}(\widehat{Z}_T)|\leq1+M^2/a_0 ∣ F ( Z T ) ∣ ≤ 1 + M 2 / a 0 and ∣ F ~ ( z T ) ∣ ≤ 1 + M 2 / a 0 |\widetilde{F}(z_T)|\leq1+M^2/a_0 ∣ F ( z T ) ∣ ≤ 1 + M 2 / a 0 . Theorem 1 applied to F ~ \widetilde{F} F gives
E [ ( F ~ ( Z ^ T ) − F ( z T ) ) 2 ] ≤ c / T . \mathbb{E}\left[\left(\widetilde{F}(\widehat{Z}_T)-F(z_T)\right)^2\right]\leq c/T. E [ ( F ( Z T ) − F ( z T ) ) 2 ] ≤ c / T .
Since F ~ \widetilde{F} F and F F F coincide where they are positive, N C ^ A T V = max ( 0 , F ~ ( Z ^ T ) ) \widehat{NC}^{\mathrm{ATV}}=\sqrt{\max(0,\widetilde{F}(\widehat{Z}_T))} N C ATV = max ( 0 , F ( Z T )) , and Lemma 3 with X T = F ~ ( Z ^ T ) X_T=\widetilde{F}(\widehat{Z}_T) X T = F ( Z T ) and x T = F ( z T ) x_T=F(z_T) x T = F ( z T ) gives (a).
Remark 2. Normalization of the variance across trials If the variance across trials is computed with normalization 1 / n 1/n 1/ n instead of 1 / ( n − 1 ) 1/(n-1) 1/ ( n − 1 ) , the same computation gives
∑ k w ˉ k 2 − 1 n ∑ k Var [ ω k ] + σ ˉ 2 / n 2 ∑ k w ˉ k 2 + σ ˉ 2 / n \frac{\sum_k \bar{w}_k^2-\frac{1}{n}\sum_k\operatorname{Var}[\omega_k]+\bar{\sigma}^2/n^2}{\sum_k \bar{w}_k^2+\bar{\sigma}^2/n} ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n 1 ∑ k Var [ ω k ] + σ ˉ 2 / n 2
under the square root. Therefore it results in an additional term
n ( n − 1 ) ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k Var [ ω k ] + σ ˉ 2 / n 2 \frac{n(n-1)}{\sum_k \bar{w}_k^2+\bar{\sigma}^2/n}\frac{\sum_k\operatorname{Var}[\omega_k]+\bar{\sigma}^2/n^2}{} ∑ k w ˉ k 2 + σ ˉ 2 / n n ( n − 1 ) ∑ k Var [ ω k ] + σ ˉ 2 / n 2
Split-half correlation with Spearman-Brown correction NC"0362NCSHSB
In this section we assume that n ≥ 2 n \ge2 n ≥ 2 is even. We call a split a pair ( A , B ) (A,B) ( A , B ) of disjoint subsets with A ∪ B = [ n ] A \cup B=[n] A ∪ B = [ n ] and ∣ A ∣ = ∣ B ∣ = n / 2 |A|=|B|=n/2 ∣ A ∣ = ∣ B ∣ = n /2 . For a split, we write
σ ˉ A 2 : = 2 n ∑ ℓ ∈ A σ ℓ 2 (69) \bar{\sigma}_A^2 := \frac{2}{n}\sum_{\ell\in A}\sigma_\ell^2 \tag*{(69)} σ ˉ A 2 := n 2 ℓ ∈ A ∑ σ ℓ 2 (69)
for the noise level of A A A (similarly for B B B ), so that 1 2 ( σ ˉ A 2 + σ ˉ B 2 ) = σ ˉ 2 \frac{1}{2}(\bar{\sigma}_A^2+\bar{\sigma}_B^2)=\bar{\sigma}^2 2 1 ( σ ˉ A 2 + σ ˉ B 2 ) = σ ˉ 2 , and ρ ^ A , B : = Corr ^ ( v A , v B ) \hat{\rho}_{A,B}:=\widehat{\operatorname{Corr}}(v^A,v^B) ρ ^ A , B := Corr ( v A , v B ) for the correlation between the two half averages. The SHSB estimator of Table 1 for a single split is
N C ^ A , B S H S B : = max ( 0 , 2 ρ ^ A , B 1 + ρ ^ A , B ) . (70) \widehat{NC}_{A,B}^{\mathrm{SHSB}}:=\sqrt{\max\left(0,\frac{2\hat{\rho}_{A,B}}{1+\hat{\rho}_{A,B}}\right)}. \tag*{(70)} N C A , B SHSB := max ( 0 , 1 + ρ ^ A , B 2 ρ ^ A , B ) . (70)
In practice, the estimator is usually computed for a collection S \mathcal{S} S of r r r splits (all possible splits or r r r randomly selected ones) and averaged,
N C ^ S H S B : = max ( 0 , 1 r ∑ ( A , B ) ∈ S 2 ρ ^ A , B 1 + ρ ^ A , B ) . (71) \widehat{NC}^{\mathrm{SHSB}}:=\sqrt{\max\left(0,\frac{1}{r}\sum_{(A,B)\in\mathcal{S}}\frac{2\hat{\rho}_{A,B}}{1+\hat{\rho}_{A,B}}\right)}. \tag*{(71)} N C SHSB := max 0 , r 1 ( A , B ) ∈ S ∑ 1 + ρ ^ A , B 2 ρ ^ A , B . (71)
Proposition 3 (SHSB). Let ( A , B ) (A,B) ( A , B ) be a split and assume that there exists a constant a 0 > 0 a_0>0 a 0 > 0 such that
Var ^ t ( v ∗ A ) ≥ a 0 , Var ^ t ( v ∗ B ) ≥ a 0 , Cov ^ t ( v ∗ A , v ∗ B ) ≥ 0 for all T . (72) \widehat{\operatorname{Var}}_t(v^{*A})\ge a_0,\qquad\widehat{\operatorname{Var}}_t(v^{*B})\ge a_0,\qquad\widehat{\operatorname{Cov}}_t(v^{*A},v^{*B})\ge0\qquad\text{for all }T. \tag*{(72)} Var t ( v ∗ A ) ≥ a 0 , Var t ( v ∗ B ) ≥ a 0 , Cov t ( v ∗ A , v ∗ B ) ≥ 0 for all T . (72)
Under Assumptions 1–4:
(a) (general case )
N C ^ A , B S H S B = ∑ k w ˉ k 2 − Δ A B w ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B s d + ε T max , (73) \widehat{NC}_{A,B}^{\mathrm{SHSB}}=\sqrt{\frac{\sum_k\bar{w}_k^2-\Delta_{AB}^{w}}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n-\Delta_{AB}^{\mathrm{sd}}}}+\varepsilon_T^{\max}, \tag*{(73)} N C A , B SHSB = ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B sd ∑ k w ˉ k 2 − Δ A B w + ε T m a x , (73)
where we used
Δ A B w : = 1 4 ∑ k ( w ˉ k A − w ˉ k B ) 2 , \Delta_{AB}^{w}:=\frac{1}{4}\sum_k\left(\bar{w}_k^A-\bar{w}_k^B\right)^2, Δ A B w := 4 1 k ∑ ( w ˉ k A − w ˉ k B ) 2 ,
Δ A B s d : = 1 4 ( ∑ k ( w ˉ k A ) 2 + 2 σ ˉ A 2 n − ∑ k ( w ˉ k B ) 2 + 2 σ ˉ B 2 n ) 2 ; (74) \Delta_{AB}^{\mathrm{sd}}:=\frac{1}{4}\left(\sqrt{\sum_k(\bar{w}_k^A)^2+\frac{2\bar{\sigma}_A^2}{n}}-\sqrt{\sum_k(\bar{w}_k^B)^2+\frac{2\bar{\sigma}_B^2}{n}}\right)^2; \tag*{(74)} Δ A B sd := 4 1 ( k ∑ ( w ˉ k A ) 2 + n 2 σ ˉ A 2 − k ∑ ( w ˉ k B ) 2 + n 2 σ ˉ B 2 ) 2 ; (74)
(b) (units with signal ) if there exists f min > 0 f_{\min}>0 f m i n > 0 such that the argument of the square root in (73) is at least f min f_{\min} f m i n for all T T T , then (73) holds with ε T \varepsilon_T ε T instead of ε T max \varepsilon_T^{\max} ε T m a x ;
(c) (averages over splits ) if (72) holds for every split of S \mathcal{S} S ,
N C ^ S H S B = 1 r ∑ ( A , B ) ∈ S ∑ k w ˉ k 2 − Δ A B w ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B s d + ε T max . (75) \widehat{NC}^{\mathrm{SHSB}}=\sqrt{\frac{1}{r}\sum_{(A,B)\in\mathcal{S}}\frac{\sum_k\bar{w}_k^2-\Delta_{AB}^{w}}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n-\Delta_{AB}^{\mathrm{sd}}}}+\varepsilon_T^{\max}. \tag*{(75)} N C SHSB = r 1 ( A , B ) ∈ S ∑ ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B sd ∑ k w ˉ k 2 − Δ A B w + ε T m a x . (75)
If moreover the argument of the square root in (75) is at least f min > 0 f_{\min}>0 f m i n > 0 for all T T T , the error term becomes ε T \varepsilon_T ε T as in (b).
The constant c c c only depends on M M M , C C C , K 4 K_4 K 4 , a 0 a_0 a 0 (and f min f_{\min} f m i n in (b)–(c)), and not on n n n nor on the number r r r of splits.
Proof. Since ρ ^ A , B = u 1 / u 2 u 3 \widehat{\rho}_{A,B} = u_1/\sqrt{u_2u_3} ρ A , B = u 1 / u 2 u 3 for Z ^ T : = ( Cov ^ ( v A , v B ) , Var ^ ( v A ) , Var ^ ( v B ) ) : = ( u 1 , u 2 , u 3 ) \widehat{Z}_T := \left(\widehat{\operatorname{Cov}}(v^A,v^B),\widehat{\operatorname{Var}}(v^A),\widehat{\operatorname{Var}}(v^B)\right) := (u_1,u_2,u_3) Z T := ( Cov ( v A , v B ) , Var ( v A ) , Var ( v B ) ) := ( u 1 , u 2 , u 3 ) , we have 2 ρ ^ A , B 1 + ρ ^ A , B = F ( Z ^ T ) \frac{2\widehat{\rho}_{A,B}}{1+\widehat{\rho}_{A,B}} = F\left(\widehat{Z}_T\right) 1 + ρ A , B 2 ρ A , B = F ( Z T ) with
F ( u 1 , u 2 , u 3 ) : = 2 u 1 u 1 + u 2 u 3 . (76) F(u_1,u_2,u_3) := \frac{2u_1}{u_1+\sqrt{u_2u_3}}. \tag*{(76)} F ( u 1 , u 2 , u 3 ) := u 1 + u 2 u 3 2 u 1 . (76)
The two sets A A A and B B B are disjoint, so s ( A , B ) = 0 s(A,B)=0 s ( A , B ) = 0 , and
s ( A , A ) = 4 n 2 ∑ t ∈ A σ t 2 = 2 σ ˉ A 2 n , s ( B , B ) = 2 σ ˉ B 2 n . (77) s(A,A)=\frac{4}{n^2}\sum_{t\in A}\sigma_t^2=\frac{2\bar{\sigma}_A^2}{n}, \qquad s(B,B)=\frac{2\bar{\sigma}_B^2}{n}. \tag*{(77)} s ( A , A ) = n 2 4 t ∈ A ∑ σ t 2 = n 2 σ ˉ A 2 , s ( B , B ) = n 2 σ ˉ B 2 . (77)
As a consequence the population counterpart of Z ^ T \widehat{Z}_T Z T is
z T = ( z 1 , z 2 , z 3 ) : = ( ∑ k w ˉ k A w ˉ k B , ∑ k ( w ˉ k A ) 2 + 2 σ ˉ A 2 n , ∑ k ( w ˉ k B ) 2 + 2 σ ˉ B 2 n ) . (78) z_T=(z_1,z_2,z_3):=\left(\sum_k\bar{w}_k^A\bar{w}_k^B,\ \sum_k(\bar{w}_k^A)^2+\frac{2\bar{\sigma}_A^2}{n},\ \sum_k(\bar{w}_k^B)^2+\frac{2\bar{\sigma}_B^2}{n}\right). \tag*{(78)} z T = ( z 1 , z 2 , z 3 ) := ( k ∑ w ˉ k A w ˉ k B , k ∑ ( w ˉ k A ) 2 + n 2 σ ˉ A 2 , k ∑ ( w ˉ k B ) 2 + n 2 σ ˉ B 2 ) . (78)
Since ∣ A ∣ = ∣ B ∣ |A|=|B| ∣ A ∣ = ∣ B ∣ , w ˉ k = 1 2 ( w ˉ k A + w ˉ k B ) \bar{w}_k=\frac{1}{2}(\bar{w}_k^A+\bar{w}_k^B) w ˉ k = 2 1 ( w ˉ k A + w ˉ k B ) and 1 2 ( σ ˉ A 2 + σ ˉ B 2 ) = σ ˉ 2 \frac{1}{2}(\bar{\sigma}_A^2+\bar{\sigma}_B^2)=\bar{\sigma}^2 2 1 ( σ ˉ A 2 + σ ˉ B 2 ) = σ ˉ 2 , therefore
z 2 + z 3 + 2 z 1 = ∑ k ( w ˉ k A + w ˉ k B ) 2 + 2 ( σ ˉ A 2 + σ ˉ B 2 ) n = 4 ( ∑ k w ˉ k 2 + σ ˉ 2 n ) . (79) z_2+z_3+2z_1=\sum_k(\bar{w}_k^A+\bar{w}_k^B)^2+\frac{2(\bar{\sigma}_A^2+\bar{\sigma}_B^2)}{n}=4\left(\sum_k\bar{w}_k^2+\frac{\bar{\sigma}^2}{n}\right). \tag*{(79)} z 2 + z 3 + 2 z 1 = k ∑ ( w ˉ k A + w ˉ k B ) 2 + n 2 ( σ ˉ A 2 + σ ˉ B 2 ) = 4 ( k ∑ w ˉ k 2 + n σ ˉ 2 ) . (79)
Using this, we rewrite the denominator of F ( z T ) F(z_T) F ( z T ) as
z 1 + z 2 z 3 = z 1 + 1 2 ( z 2 + z 3 − ( z 2 − z 3 ) 2 ) = 1 2 ( 2 z 1 + z 2 + z 3 ) − 1 2 ( z 2 − z 3 ) 2 = 2 ( ∑ k w ˉ k 2 + σ ˉ 2 n − Δ A B s d ) . (80) \begin{aligned}
z_1+\sqrt{z_2z_3}
&=z_1+\frac{1}{2}\left(z_2+z_3-(\sqrt{z_2}-\sqrt{z_3})^2\right)\\
&=\frac{1}{2}(2z_1+z_2+z_3)-\frac{1}{2}(\sqrt{z_2}-\sqrt{z_3})^2\\
&=2\left(\sum_k\bar{w}_k^2+\frac{\bar{\sigma}^2}{n}-\Delta_{AB}^{\mathrm{sd}}\right). \tag*{(80)}
\end{aligned} z 1 + z 2 z 3 = z 1 + 2 1 ( z 2 + z 3 − ( z 2 − z 3 ) 2 ) = 2 1 ( 2 z 1 + z 2 + z 3 ) − 2 1 ( z 2 − z 3 ) 2 = 2 ( k ∑ w ˉ k 2 + n σ ˉ 2 − Δ A B sd ) . (80)
The numerator can be developed as
2 ∑ k w ˉ k A w ˉ k B = 1 2 ∑ k ( ( w ˉ k A + w ˉ k B ) 2 − ( w ˉ k A − w ˉ k B ) 2 ) = 2 ( ∑ k w ˉ k 2 − Δ A B w ) . (81) 2\sum_k\bar{w}_k^A\bar{w}_k^B=\frac{1}{2}\sum_k\left((\bar{w}_k^A+\bar{w}_k^B)^2-(\bar{w}_k^A-\bar{w}_k^B)^2\right)=2\left(\sum_k\bar{w}_k^2-\Delta_{AB}^{w}\right). \tag*{(81)} 2 k ∑ w ˉ k A w ˉ k B = 2 1 k ∑ ( ( w ˉ k A + w ˉ k B ) 2 − ( w ˉ k A − w ˉ k B ) 2 ) = 2 ( k ∑ w ˉ k 2 − Δ A B w ) . (81)
Combining (81) and (80) shows that F ( z T ) F(z_T) F ( z T ) is equal to the argument of the square root in (73). To prove the proposition, we need to check that a clipped version of F F F satisfies the conditions of Lemma 2, and then use the results of Sec. B.2.
(1) Compact set, smoothness and boundedness As in the proof of Corollary 1, z 1 ≤ M 2 z_1\le M^2 z 1 ≤ M 2 and z 2 , z 3 ∈ [ a 0 , M 2 + C ] z_2,z_3\in[a_0,M^2+C] z 2 , z 3 ∈ [ a 0 , M 2 + C ] . Moreover, z 1 ≥ 0 z_1\ge0 z 1 ≥ 0 by (72) and, by the Cauchy-Schwarz inequality,
z 1 = ∑ k w ˉ k A w ˉ k B ≤ ∑ k ( w ˉ k A ) 2 ∑ k ( w ˉ k B ) 2 ≤ z 2 z 3 . z_1=\sum_k\bar{w}_k^A\bar{w}_k^B\le\sqrt{\sum_k(\bar{w}_k^A)^2\sum_k(\bar{w}_k^B)^2}\le\sqrt{z_2z_3}. z 1 = k ∑ w ˉ k A w ˉ k B ≤ k ∑ ( w ˉ k A ) 2 k ∑ ( w ˉ k B ) 2 ≤ z 2 z 3 .
Hence z T z_T z T lies in the compact set
K : = [ 0 , M 2 ] × [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] , K:=[0,M^2]\times[a_0,M^2+C]\times[a_0,M^2+C], K := [ 0 , M 2 ] × [ a 0 , M 2 + C ] × [ a 0 , M 2 + C ] ,
and 0 ≤ F ( z T ) ≤ 1 0\le F(z_T)\le1 0 ≤ F ( z T ) ≤ 1 . We take δ : = a 0 / 8 \delta:=a_0/8 δ := a 0 /8 so that every point ( u 1 , u 2 , u 3 ) (u_1,u_2,u_3) ( u 1 , u 2 , u 3 ) of K δ K_\delta K δ satisfies u 1 ≥ − a 0 / 8 u_1\ge-a_0/8 u 1 ≥ − a 0 /8 and u 2 , u 3 ≥ 7 a 0 / 8 u_2,u_3\ge7a_0/8 u 2 , u 3 ≥ 7 a 0 /8 , and therefore lies in the open set
O : = { ( u 1 , u 2 , u 3 ) : u 1 > − a 0 / 4 , u 2 > 3 a 0 / 4 , u 3 > 3 a 0 / 4 } . (82) \mathcal{O}:=\{(u_1,u_2,u_3):u_1>-a_0/4,\ u_2>3a_0/4,\ u_3>3a_0/4\}. \tag*{(82)} O := {( u 1 , u 2 , u 3 ) : u 1 > − a 0 /4 , u 2 > 3 a 0 /4 , u 3 > 3 a 0 /4 } . (82)
On O \mathcal{O} O , u 1 + u 2 u 3 > a 0 / 2 > 0 u_1+\sqrt{u_2u_3}>a_0/2>0 u 1 + u 2 u 3 > a 0 /2 > 0 , so that F F F is infinitely differentiable on O \mathcal{O} O . Moreover, F > − 1 F>-1 F > − 1 on O \mathcal{O} O : multiplying by the positive denominator, F ( u 1 , u 2 , u 3 ) > − 1 F(u_1,u_2,u_3)>-1 F ( u 1 , u 2 , u 3 ) > − 1 is equivalent to 3 u 1 + u 2 u 3 > 0 3u_1+\sqrt{u_2u_3}>0 3 u 1 + u 2 u 3 > 0 , which holds since 3 u 1 > − 3 a 0 / 4 3u_1>-3a_0/4 3 u 1 > − 3 a 0 /4 and u 2 u 3 > 3 a 0 / 4 \sqrt{u_2u_3}>3a_0/4 u 2 u 3 > 3 a 0 /4 . To bound F ( Z ^ T ) F\left(\widehat{Z}_T\right) F ( Z T ) , we define F ~ : = max ( F , − 1 ) \widetilde{F}:=\max(F,-1) F := max ( F , − 1 ) , with F ~ : = 0 \widetilde{F}:=0 F := 0 if u 2 u 3 ≤ 0 u_2u_3\le0 u 2 u 3 ≤ 0 , and F ~ : = − 1 \widetilde{F}:=-1 F := − 1 if u 2 u 3 > 0 u_2u_3>0 u 2 u 3 > 0 and u 1 + u 2 u 3 = 0 u_1+\sqrt{u_2u_3}=0 u 1 + u 2 u 3 = 0 . It follows that F ~ = F \widetilde{F}=F F = F on O \mathcal{O} O , so that F ~ \widetilde{F} F is infinitely differentiable on the open set O \mathcal{O} O containing K δ K_\delta K δ and ∣ F ~ ( z T ) ∣ ≤ 1 |\widetilde{F}(z_T)|\le1 ∣ F ( z T ) ∣ ≤ 1 . Moreover, ∣ F ~ ( Z ^ T ) ∣ ≤ 1 |\widetilde{F}(\widehat{Z}_T)|\le1 ∣ F ( Z T ) ∣ ≤ 1 since ρ ^ A , B ∈ [ − 1 , 1 ] \widehat{\rho}_{A,B}\in[-1,1] ρ A , B ∈ [ − 1 , 1 ] and 2 ρ 1 + ρ ≤ 1 \frac{2\rho}{1+\rho}\le1 1 + ρ 2 ρ ≤ 1 for − 1 < ρ ≤ 1 -1<\rho\le1 − 1 < ρ ≤ 1 . Hence F ~ \widetilde{F} F , K K K , δ \delta δ and U = 1 U=1 U = 1 satisfy the conditions of Lemma 2. Finally, since F ~ \widetilde{F} F and F F F coincide where they are positive,
N C ^ A , B S H S B = max ( 0 , F ~ ( Z ^ T ) ) . \widehat{NC}^{\mathrm{SHSB}}_{A,B}=\sqrt{\max\left(0,\widetilde{F}\left(\widehat{Z}_T\right)\right)}. N C A , B SHSB = max ( 0 , F ( Z T ) ) .
(2) Proof of (a) Theorem 1 applied to F ~ \widetilde{F} F with K K K , δ \delta δ and U = 1 U = 1 U = 1 gives
E [ ( F ~ ( Z ^ T ) − F ( z T ) ) 2 ] ≤ c / T , \mathbb{E}\left[\left(\widetilde{F}\left(\widehat{Z}_T\right)-F\left(z_T\right)\right)^2\right] \le c/T, E [ ( F ( Z T ) − F ( z T ) ) 2 ] ≤ c / T ,
and Lemma 3 with X T = F ~ ( Z ^ T ) X_T=\widetilde{F}\left(\widehat{Z}_T\right) X T = F ( Z T ) and x T = F ( z T ) x_T=F\left(z_T\right) x T = F ( z T ) gives (a).
(3) Proof of (b) Let K ~ : = { u ∈ K : F ( u ) ≥ f min } \widetilde{K}:=\{u\in K:F(u)\ge f_{\min}\} K := { u ∈ K : F ( u ) ≥ f m i n } , which is compact and contains all z T z_T z T . Since K δ K_\delta K δ is a compact subset of O O O , on which F F F is continuously differentiable, L : = sup u ∈ K δ ∣ ∇ F ( u ) ∣ < ∞ L:=\sup_{u\in K_\delta}\lvert\nabla F(u)\rvert<\infty L := sup u ∈ K δ ∣ ∇ F ( u )∣ < ∞ . We take δ ~ : = min ( δ , f min / ( 2 L ) ) \widetilde{\delta}:=\min\left(\delta,f_{\min}/(2L)\right) δ := min ( δ , f m i n / ( 2 L ) ) . For y ∈ K ~ δ ~ y\in\widetilde{K}_{\widetilde{\delta}} y ∈ K δ , there exists x ∈ K ~ ⊂ K x\in\widetilde{K}\subset K x ∈ K ⊂ K with ∣ x − y ∣ ≤ δ ~ ≤ δ \lvert x-y\rvert\le\widetilde{\delta}\le\delta ∣ x − y ∣ ≤ δ ≤ δ . The segment between x x x and y y y lies in K δ K_\delta K δ , and the mean value theorem gives ∣ F ( y ) − F ( x ) ∣ ≤ L δ ~ ≤ f min / 2 \lvert F(y)-F(x)\rvert\le L\widetilde{\delta}\le f_{\min}/2 ∣ F ( y ) − F ( x )∣ ≤ L δ ≤ f m i n /2 , so that F ( y ) ≥ f min / 2 F(y)\ge f_{\min}/2 F ( y ) ≥ f m i n /2 . Hence, on the open set O ∩ { F > f min / 4 } O\cap\{F>f_{\min}/4\} O ∩ { F > f m i n /4 } , which contains K ~ δ ~ \widetilde{K}_{\widetilde{\delta}} K δ , G : = max ( 0 , F ~ ) = F G:=\sqrt{\max(0,\widetilde{F})}=\sqrt{F} G := max ( 0 , F ) = F is infinitely differentiable. Moreover, 0 ≤ G ( z ^ T ) ≤ 1 0\le G\left(\widehat{z}_T\right)\le1 0 ≤ G ( z T ) ≤ 1 and 0 ≤ G ( z T ) ≤ 1 0\le G(z_T)\le1 0 ≤ G ( z T ) ≤ 1 by step (1). Theorem 1 applied to G G G with K ~ \widetilde{K} K , δ ~ \widetilde{\delta} δ and U = 1 U=1 U = 1 gives (b).
(4) Proof of (c) Write S = { ( A 1 , B 1 ) , … , ( A r , B r ) } S=\{(A_1,B_1),\ldots,(A_r,B_r)\} S = {( A 1 , B 1 ) , … , ( A r , B r )} , and let Z ^ T ( j ) \widehat{Z}^{(j)}_T Z T ( j ) and z T ( j ) z^{(j)}_T z T ( j ) be the vectors defined at the beginning of the proof for the split ( A j , B j ) (A_j,B_j) ( A j , B j ) , so that
N C ^ S H S B = g ( 1 r ∑ j = 1 r F ( Z ^ T ( j ) ) ) , g ( x ) : = max ( 0 , x ) , (83) \widehat{NC}^{\mathrm{SHSB}}=g\left(\frac{1}{r}\sum_{j=1}^{r}F\left(\widehat{Z}^{(j)}_T\right)\right),\qquad g(x):=\sqrt{\max(0,x)}, \tag*{(83)} N C SHSB = g ( r 1 j = 1 ∑ r F ( Z T ( j ) ) ) , g ( x ) := max ( 0 , x ) , (83)
We proceed in three steps: we first replace F F F by its clipped version F ~ \widetilde{F} F in every split, then average the expansions of the individual splits, and finally apply g g g .
(i) Clipping Let X : = 1 r ∑ j F ( Z ^ T ( j ) ) X:=\frac{1}{r}\sum_j F\left(\widehat{Z}^{(j)}_T\right) X := r 1 ∑ j F ( Z T ( j ) ) and X ~ : = 1 r ∑ j F ~ ( Z ^ T ( j ) ) \widetilde{X}:=\frac{1}{r}\sum_j\widetilde{F}\left(\widehat{Z}^{(j)}_T\right) X := r 1 ∑ j F ( Z T ( j ) ) . Since F ≤ F ~ F\le\widetilde{F} F ≤ F and g g g is non-decreasing and takes values in [ 0 , 1 ] [0,1] [ 0 , 1 ] on ( − ∞ , 1 ] (-\infty,1] ( − ∞ , 1 ] , the difference D T : = g ( X ) − g ( X ~ ) D_T:=g(X)-g(\widetilde{X}) D T := g ( X ) − g ( X ) satisfies − 1 ≤ D T ≤ 0 -1\le D_T\le0 − 1 ≤ D T ≤ 0 , and D T = 0 D_T=0 D T = 0 unless F ( Z ^ T ( j ) ) < − 1 F\left(\widehat{Z}^{(j)}_T\right)<-1 F ( Z T ( j ) ) < − 1 for some j j j . By step (1), F > − 1 F>-1 F > − 1 on O ⊃ K δ O\supset K_\delta O ⊃ K δ , so this requires Z ^ T ( j ) ∉ K δ \widehat{Z}^{(j)}_T\notin K_\delta Z T ( j ) ∈ / K δ , and hence, since z T ( j ) ∈ K z^{(j)}_T\in K z T ( j ) ∈ K , ∣ Z ^ T ( j ) − z T ( j ) ∣ > δ \lvert\widehat{Z}^{(j)}_T-z^{(j)}_T\rvert>\delta ∣ Z T ( j ) − z T ( j ) ∣ > δ , for some j j j . We bound the probability of this event uniformly in r r r and n n n . Each entry of Z ^ T ( j ) − z T ( j ) \widehat{Z}^{(j)}_T-z^{(j)}_T Z T ( j ) − z T ( j ) is of the form
4 n 2 ∑ ℓ ∈ A ′ ∑ ℓ ′ ∈ B ′ ( Cov ^ T ( v ( ℓ ) , v ( ℓ ′ ) ) − Cov ‾ ( v ( ℓ ) , v ( ℓ ′ ) ) ) , A ′ , B ′ ∈ { A j , B j } , (84) \frac{4}{n^2}\sum_{\ell\in A'}\sum_{\ell'\in B'}\left(\widehat{\operatorname{Cov}}_T\left(v^{(\ell)},v^{(\ell')}\right)-\overline{\operatorname{Cov}}\left(v^{(\ell)},v^{(\ell')}\right)\right),\qquad A',B'\in\{A_j,B_j\}, \tag*{(84)} n 2 4 ℓ ∈ A ′ ∑ ℓ ′ ∈ B ′ ∑ ( Cov T ( v ( ℓ ) , v ( ℓ ′ ) ) − Cov ( v ( ℓ ) , v ( ℓ ′ ) ) ) , A ′ , B ′ ∈ { A j , B j } , (84)
and, by (4) of the proof of Theorem 1, each difference in the sum decomposes as Y ℓ ℓ ′ + W ℓ ℓ ′ Y_{\ell\ell'}+W_{\ell\ell'} Y ℓ ℓ ′ + W ℓ ℓ ′ with E [ Y ℓ ℓ ′ 2 ] ≤ c 1 ′ / T \mathbb{E}\left[Y_{\ell\ell'}^2\right]\le c'_1/T E [ Y ℓ ℓ ′ 2 ] ≤ c 1 ′ / T and E [ ∣ W ℓ ℓ ′ ∣ ] ≤ c 2 ′ / T \mathbb{E}\left[\lvert W_{\ell\ell'}\rvert\right]\le c'_2/T E [ ∣ W ℓ ℓ ′ ∣ ] ≤ c 2 ′ / T , where c 1 ′ : = ( 4 M C + C 2 + K 4 ) 2 c'_1:=\left(4M\sqrt{C}+\sqrt{C^2+K_4}\right)^2 c 1 ′ := ( 4 M C + C 2 + K 4 ) 2 and c 2 ′ : = C c'_2:=C c 2 ′ := C . Bounding the sum over A ′ × B ′ A'\times B' A ′ × B ′ by the sum over all pairs ( ℓ , ℓ ′ ) ∈ [ n ] 2 (\ell,\ell')\in[n]^2 ( ℓ , ℓ ′ ) ∈ [ n ] 2 , which does not depend on j j j , every entry of every split satisfies
max j [ ∣ Z ^ T ( j ) − z T ( j ) ∣ ] q ≤ Y ‾ + W ‾ , for q = 1 , 2 , 3 , (85) \max_j\left[\left\lvert\widehat{Z}^{(j)}_T-z^{(j)}_T\right\rvert\right]_q\le\overline{Y}+\overline{W},\quad\text{for }q=1,2,3, \tag*{(85)} j max [ Z T ( j ) − z T ( j ) ] q ≤ Y + W , for q = 1 , 2 , 3 , (85)
Y ‾ : = 4 n 2 ∑ ℓ , ℓ ′ = 1 n ∣ Y ℓ ℓ ′ ∣ , W ‾ : = 4 n 2 ∑ ℓ , ℓ ′ = 1 n ∣ W ℓ ℓ ′ ∣ , (86) \overline{Y}:=\frac{4}{n^2}\sum_{\ell,\ell'=1}^{n}\lvert Y_{\ell\ell'}\rvert,\qquad\overline{W}:=\frac{4}{n^2}\sum_{\ell,\ell'=1}^{n}\lvert W_{\ell\ell'}\rvert, \tag*{(86)} Y := n 2 4 ℓ , ℓ ′ = 1 ∑ n ∣ Y ℓ ℓ ′ ∣ , W := n 2 4 ℓ , ℓ ′ = 1 ∑ n ∣ W ℓ ℓ ′ ∣ , (86)
where Minkowski’s inequality gives E [ Y ‾ 2 ] ≤ 16 c 1 ′ / T \mathbb{E}\left[\overline{Y}^{2}\right]\le16c'_1/T E [ Y 2 ] ≤ 16 c 1 ′ / T . Additionally, E [ W ‾ ] ≤ 4 c 2 ′ / T \mathbb{E}\left[\overline{W}\right]\le4c'_2/T E [ W ] ≤ 4 c 2 ′ / T . Since Z ^ T ( j ) − z T ( j ) \widehat{Z}^{(j)}_T-z^{(j)}_T Z T ( j ) − z T ( j ) has three entries, D T ≠ 0 D_T\ne0 D T = 0 implies Y ‾ + W ‾ > δ / 3 \overline{Y}+\overline{W}>\delta/\sqrt{3} Y + W > δ / 3 (since we need at least one component q q q with [ ∣ Z ^ T ( j ) − z T ( j ) ∣ ] q > δ / 3 \left[\left\lvert\widehat{Z}^{(j)}_T-z^{(j)}_T\right\rvert\right]_q>\delta/\sqrt{3} [ Z T ( j ) − z T ( j ) ] q > δ / 3 ). Furthermore Y ‾ + W ‾ > δ / 3 \overline{Y}+\overline{W}>\delta/\sqrt{3} Y + W > δ / 3 requires Y ˉ > δ 2 3 \bar{Y} > \frac{\delta}{2\sqrt{3}} Y ˉ > 2 3 δ or W ˉ > δ 2 3 \bar{W} > \frac{\delta}{2\sqrt{3}} W ˉ > 2 3 δ . Markov’s inequality then gives
P ( D T ≠ 0 ) ≤ P ( Y ˉ > δ 2 3 ) + P ( W ˉ > δ 2 3 ) ≤ E [ Y ˉ 2 ] δ 2 / 12 + E [ W ˉ ] δ / ( 2 3 ) ≤ 192 c 1 ′ δ 2 T + 8 3 c 2 ′ δ T = : c D T . (87) \begin{aligned}
\mathbb{P}(D_T \ne0) &\le\mathbb{P}\left(\bar{Y} > \frac{\delta}{2\sqrt{3}}\right) + \mathbb{P}\left(\bar{W} > \frac{\delta}{2\sqrt{3}}\right) \\
&\le\frac{\mathbb{E}\left[\bar{Y}^2\right]}{\delta^2/12} + \frac{\mathbb{E}\left[\bar{W}\right]}{\delta/(2\sqrt{3})} \\
&\le\frac{192c_1'}{\delta^2T} + \frac{8\sqrt{3}c_2'}{\delta T} =: \frac{c_D}{T}. \tag*{(87)}
\end{aligned} P ( D T = 0 ) ≤ P ( Y ˉ > 2 3 δ ) + P ( W ˉ > 2 3 δ ) ≤ δ 2 /12 E [ Y ˉ 2 ] + δ / ( 2 3 ) E [ W ˉ ] ≤ δ 2 T 192 c 1 ′ + δ T 8 3 c 2 ′ =: T c D . (87)
Hence, since ∣ D T ∣ ≤ 1 \lvert D_T\rvert\le1 ∣ D T ∣ ≤ 1 , ∣ E [ D T ] ∣ ≤ E ∣ D T ∣ ≤ sup ∣ D T ∣ P ( D T ≠ 0 ) ≤ c D / T \lvert\mathbb{E}[D_T]\rvert\le\mathbb{E}\lvert D_T\rvert\le\sup\lvert D_T\rvert\mathbb{P}(D_T \ne0) \le c_D/T ∣ E [ D T ]∣ ≤ E ∣ D T ∣ ≤ sup ∣ D T ∣ P ( D T = 0 ) ≤ c D / T , and similarly E [ D T 2 ] ≤ c D / T \mathbb{E}\left[D_T^2\right] \le c_D/T E [ D T 2 ] ≤ c D / T .
(ii) Averaging over splits By Theorem 1 applied to F ~ \widetilde{F} F as in step (2), for every split,
F ~ ( z ~ T ( j ) ) = F ( z T ( j ) ) + ε T ( j ) \widetilde{F}\left(\widetilde{z}_T^{(j)}\right)=F\left(z_T^{(j)}\right)+\varepsilon_T^{(j)} F ( z T ( j ) ) = F ( z T ( j ) ) + ε T ( j )
with ∣ E [ ε T ( j ) ] ∣ ≤ c / T \lvert\mathbb{E}[\varepsilon_T^{(j)}]\rvert\le c/T ∣ E [ ε T ( j ) ]∣ ≤ c / T and E [ ( ε T ( j ) ) 2 ] ≤ c / T \mathbb{E}\left[\left(\varepsilon_T^{(j)}\right)^2\right]\le c/T E [ ( ε T ( j ) ) 2 ] ≤ c / T , where c c c is the same for all splits, since it only depends on M M M , C C C , K 4 K_4 K 4 and a 0 a_0 a 0 . Averaging, we have
X ~ = x ˉ T + ε ˉ T , x ˉ T : = 1 r ∑ j = 1 r F ( z T ( j ) ) , ε ˉ T : = 1 r ∑ j = 1 r ε T ( j ) , (88) \widetilde{X}=\bar{x}_T+\bar{\varepsilon}_T,\qquad\bar{x}_T:=\frac{1}{r}\sum_{j=1}^{r}F\left(z_T^{(j)}\right),\qquad\bar{\varepsilon}_T:=\frac{1}{r}\sum_{j=1}^{r}\varepsilon_T^{(j)}, \tag*{(88)} X = x ˉ T + ε ˉ T , x ˉ T := r 1 j = 1 ∑ r F ( z T ( j ) ) , ε ˉ T := r 1 j = 1 ∑ r ε T ( j ) , (88)
where x ˉ T \bar{x}_T x ˉ T is the argument of the square root in (75). By the triangle inequality ∣ E [ ε ˉ T ] ∣ ≤ 1 r ∑ j ∣ E [ ε T ( j ) ] ∣ ≤ c / T \lvert\mathbb{E}[\bar{\varepsilon}_T]\rvert\le\frac{1}{r}\sum_j\lvert\mathbb{E}[\varepsilon_T^{(j)}]\rvert\le c/T ∣ E [ ε ˉ T ]∣ ≤ r 1 ∑ j ∣ E [ ε T ( j ) ]∣ ≤ c / T , and by Minkowski’s inequality E [ ε ˉ T 2 ] 1 / 2 ≤ ( 1 r ∑ j E [ ( ε T ( j ) ) 2 ] ) ≤ c / T \mathbb{E}[\bar{\varepsilon}_T^2]^{1/2}\le\left(\frac{1}{r}\sum_j\sqrt{\mathbb{E}\left[\left(\varepsilon_T^{(j)}\right)^2\right]}\right)\le c/T E [ ε ˉ T 2 ] 1/2 ≤ ( r 1 ∑ j E [ ( ε T ( j ) ) 2 ] ) ≤ c / T .
(iii) Square root In the general case, since E [ ( X ~ − x ˉ T ) 2 ] = E [ ε ˉ T 2 ] ≤ c / T \mathbb{E}\left[\left(\widetilde{X}-\bar{x}_T\right)^2\right]=\mathbb{E}[\bar{\varepsilon}_T^2]\le c/T E [ ( X − x ˉ T ) 2 ] = E [ ε ˉ T 2 ] ≤ c / T by (ii), Lemma 3 with X T = X ~ X_T=\widetilde{X} X T = X and x T = x ˉ T x_T=\bar{x}_T x T = x ˉ T gives g ( X ~ ) = g ( x ˉ T ) + ε T max g(\widetilde{X})=g(\bar{x}_T)+\varepsilon_T^{\max} g ( X ) = g ( x ˉ T ) + ε T m a x with ∣ E [ ε T max ] ∣ ≤ ( c / T ) 1 / 4 \lvert\mathbb{E}[\varepsilon_T^{\max}]\rvert\le(c/T)^{1/4} ∣ E [ ε T m a x ]∣ ≤ ( c / T ) 1/4 and E [ ( ε T max ) 2 ] ≤ ( c / T ) 1 / 2 \mathbb{E}\left[\left(\varepsilon_T^{\max}\right)^2\right]\le(c/T)^{1/2} E [ ( ε T m a x ) 2 ] ≤ ( c / T ) 1/2 . If x ˉ T ≥ f min \bar{x}_T\ge f_{\min} x ˉ T ≥ f m i n for all T T T , we apply Lemma 2 with d = 1 d=1 d = 1 instead. The expansion of (ii) has the form required by this lemma, with the random part Y T : = ε ˉ T − E [ ε ˉ T ] Y_T:=\bar{\varepsilon}_T-\mathbb{E}[\bar{\varepsilon}_T] Y T := ε ˉ T − E [ ε ˉ T ] and the deterministic part W T : = E [ ε ˉ T ] W_T:=\mathbb{E}[\bar{\varepsilon}_T] W T := E [ ε ˉ T ] : we have E [ Y T ] = 0 \mathbb{E}[Y_T]=0 E [ Y T ] = 0 , E [ Y T 2 ] ≤ c / T \mathbb{E}\left[Y_T^2\right]\le c/T E [ Y T 2 ] ≤ c / T and E [ ∣ W T ∣ ] = ∣ E [ ε ˉ T ] ∣ ≤ c / T \mathbb{E}[\lvert W_T\rvert]=\lvert\mathbb{E}[\bar{\varepsilon}_T]\rvert\le c/T E [∣ W T ∣] = ∣ E [ ε ˉ T ]∣ ≤ c / T . We take K = [ f min , 1 ] \mathcal{K}=[f_{\min},1] K = [ f m i n , 1 ] , which contains all x ˉ T \bar{x}_T x ˉ T since 0 ≤ F ≤ 1 0\le F\le1 0 ≤ F ≤ 1 at the population counterparts (step (1)), and δ = f min / 2 \delta=f_{\min}/2 δ = f m i n /2 . Then g g g is infinitely differentiable on the open set ( f min / 4 , ∞ ) ⊃ K δ (f_{\min}/4,\infty)\supset\mathcal{K}_\delta ( f m i n /4 , ∞ ) ⊃ K δ , and 0 ≤ g ( X ~ ) , g ( x ˉ T ) ≤ 1 0\le g(\widetilde{X}),g(\bar{x}_T)\le1 0 ≤ g ( X ) , g ( x ˉ T ) ≤ 1 since X ~ ≤ 1 \widetilde{X}\le1 X ≤ 1 . Lemma 2 then gives g ( X ~ ) = g ( x ˉ T ) + ε T g(\widetilde{X})=g(\bar{x}_T)+\varepsilon_T g ( X ) = g ( x ˉ T ) + ε T .
Finally, N C ^ S H S B = g ( X ) = g ( x ˉ T ) + ε T max + D T \widehat{NC}^{\mathrm{SHSB}}=g(X)=g(\bar{x}_T)+\varepsilon_T^{\max}+D_T N C SHSB = g ( X ) = g ( x ˉ T ) + ε T m a x + D T (respectively g ( x ˉ T ) + ε T + D T g(\bar{x}_T)+\varepsilon_T+D_T g ( x ˉ T ) + ε T + D T ). By (i), ∣ E [ D T ] ∣ ≤ c D / T \lvert\mathbb{E}[D_T]\rvert\le c_D/T ∣ E [ D T ]∣ ≤ c D / T and E [ D T 2 ] ≤ c D / T \mathbb{E}[D_T^2]\le c_D/T E [ D T 2 ] ≤ c D / T . By the triangle inequality for the bias and Minkowski’s inequality for the root mean squared error, adding D T D_T D T to ε T \varepsilon_T ε T gives an error term of type ε T \varepsilon_T ε T with constant ( c + c D ) 2 (\sqrt{c}+\sqrt{c_D})^2 ( c + c D ) 2 . Adding D T D_T D T to ε T max \varepsilon_T^{\max} ε T m a x gives an error term of type ε T max \varepsilon_T^{\max} ε T m a x with constant ( c 1 / 4 + max ( c D , c D ) ) 4 \left(c^{1/4}+\max(c_D,\sqrt{c_D})\right)^4 ( c 1/4 + max ( c D , c D ) ) 4 .
□
Lemma 5 (average over all splits). Let S S S be the collection of all possible splits. Then
1 ∣ S ∣ ∑ ( A , B ) ∈ S Δ A B w = 1 n − 1 ∑ k Var ^ ℓ [ w k ] . (89) \frac{1}{\lvert S\rvert}\sum_{(A,B)\in S}\Delta^w_{AB}=\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_\ell[w_k]. \tag*{(89)} ∣ S ∣ 1 ( A , B ) ∈ S ∑ Δ A B w = n − 1 1 k ∑ Var ℓ [ w k ] . (89)
Hence, the average over all splits of the numerator of (73), ∑ k w ˉ k 2 − Δ A B w \sum_k\bar{w}_k^2-\Delta^w_{AB} ∑ k w ˉ k 2 − Δ A B w , is exactly the numerator ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ ℓ [ w k ] \sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}_\ell[w_k] ∑ k w ˉ k 2 − n − 1 1 ∑ k Var ℓ [ w k ] of N C ^ A T V \widehat{NC}^{\mathrm{ATV}} N C ATV . Proof. For a split ( A , B ) (A,B) ( A , B ) we define ϵ ℓ A : = 1 \epsilon_\ell^A := 1 ϵ ℓ A := 1 if ℓ ∈ A \ell\in A ℓ ∈ A and − 1 -1 − 1 otherwise. We develop
1 ∣ S ∣ ∑ ( A , B ) ∈ S Δ A B w = 1 ∣ S ∣ ∑ ( A , B ) ∈ S 1 4 ∑ k ( w ˉ k A − w ˉ k B ) 2 = 1 4 1 ∣ S ∣ ∑ ( A , B ) ∈ S ∑ k ( 2 n ∑ ℓ ϵ ℓ A w k ( ℓ ) ) 2 = 1 n 2 1 ∣ S ∣ ∑ ( A , B ) ∈ S ∑ k ( ∑ ℓ ( w k ( ℓ ) ) 2 + ∑ ℓ ≠ ℓ ′ ϵ ℓ A ϵ ℓ ′ A w k ( ℓ ) w k ( ℓ ′ ) ) = 1 n 2 ∑ k ( ∑ ℓ ( w k ( ℓ ) ) 2 + ∑ ℓ ≠ ℓ ′ w k ( ℓ ) w k ( ℓ ′ ) 1 ∣ S ∣ ∑ ( A , B ) ∈ S ϵ ℓ A ϵ ℓ ′ A ) . (90) \begin{aligned}
\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\Delta_{AB}^w
= \frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\frac{1}{4}\sum_k\left(\bar{w}_k^A-\bar{w}_k^B\right)^2 \\
&= \frac{1}{4}\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\sum_k\left(\frac{2}{n}\sum_\ell\epsilon_\ell^A w_k^{(\ell)}\right)^2 \\
&= \frac{1}{n^2}\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\sum_k\left(\sum_\ell\left(w_k^{(\ell)}\right)^2+\sum_{\ell\ne\ell'}\epsilon_\ell^A\epsilon_{\ell'}^A w_k^{(\ell)}w_k^{(\ell')}\right) \\
&= \frac{1}{n^2}\sum_k\left(\sum_\ell\left(w_k^{(\ell)}\right)^2+\sum_{\ell\ne\ell'}w_k^{(\ell)}w_k^{(\ell')}\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\epsilon_\ell^A\epsilon_{\ell'}^A\right). \tag*{(90)}
\end{aligned} ∣ S ∣ 1 ( A , B ) ∈ S ∑ Δ A B w = ∣ S ∣ 1 ( A , B ) ∈ S ∑ 4 1 k ∑ ( w ˉ k A − w ˉ k B ) 2 = 4 1 ∣ S ∣ 1 ( A , B ) ∈ S ∑ k ∑ ( n 2 ℓ ∑ ϵ ℓ A w k ( ℓ ) ) 2 = n 2 1 ∣ S ∣ 1 ( A , B ) ∈ S ∑ k ∑ ℓ ∑ ( w k ( ℓ ) ) 2 + ℓ = ℓ ′ ∑ ϵ ℓ A ϵ ℓ ′ A w k ( ℓ ) w k ( ℓ ′ ) = n 2 1 k ∑ ℓ ∑ ( w k ( ℓ ) ) 2 + ℓ = ℓ ′ ∑ w k ( ℓ ) w k ( ℓ ′ ) ∣ S ∣ 1 ( A , B ) ∈ S ∑ ϵ ℓ A ϵ ℓ ′ A . (90)
By definition, ϵ ℓ A ϵ ℓ ′ A \epsilon_\ell^A\epsilon_{\ell'}^A ϵ ℓ A ϵ ℓ ′ A is 1 1 1 if ℓ \ell ℓ and ℓ ′ \ell' ℓ ′ are either both in A A A or both in B B B ; it is − 1 -1 − 1 otherwise. Using this we write
1 ∣ S ∣ ∑ ( A , B ) ∈ S ϵ ℓ A ϵ ℓ ′ A = 1 ∣ S ∣ ∑ ( A , B ) ∈ S 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } − ( 1 − 1 ∣ S ∣ ∑ ( A , B ) ∈ S 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } ) = 2 ∣ S ∣ ∑ ( A , B ) ∈ S 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } − 1 = 4 ⋅ ( n − 2 n / 2 − 2 ) ( n n / 2 ) − 1 = 4 ⋅ n / 2 ( n / 2 − 1 ) n ( n − 1 ) − 1 = − 1 n − 1 . (91) \begin{aligned}
\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\epsilon_\ell^A\epsilon_{\ell'}^A
= \frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\mathbf{1}_{\{\ell,\ell'\in A\text{ or }\ell,\ell'\in B\}}-\left(1-\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\mathbf{1}_{\{\ell,\ell'\in A\text{ or }\ell,\ell'\in B\}}\right) \\
&= \frac{2}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\mathbf{1}_{\{\ell,\ell'\in A\text{ or }\ell,\ell'\in B\}}-1
= 4\cdot\frac{\binom{n-2}{n/2-2}}{\binom{n}{n/2}}-1
= 4\cdot\frac{n/2(n/2-1)}{n(n-1)}-1 \\
&= -\frac{1}{n-1}. \tag*{(91)}
\end{aligned} ∣ S ∣ 1 ( A , B ) ∈ S ∑ ϵ ℓ A ϵ ℓ ′ A = ∣ S ∣ 1 ( A , B ) ∈ S ∑ 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } − 1 − ∣ S ∣ 1 ( A , B ) ∈ S ∑ 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } = ∣ S ∣ 2 ( A , B ) ∈ S ∑ 1 { ℓ , ℓ ′ ∈ A or ℓ , ℓ ′ ∈ B } − 1 = 4 ⋅ ( n /2 n ) ( n /2 − 2 n − 2 ) − 1 = 4 ⋅ n ( n − 1 ) n /2 ( n /2 − 1 ) − 1 = − n − 1 1 . (91)
Injecting (91) in (90),
1 ∣ S ∣ ∑ ( A , B ) ∈ S Δ A B w = 1 n 2 ∑ k ( ∑ ℓ ( w k ( ℓ ) ) 2 − 1 n − 1 ∑ ℓ ≠ ℓ ′ w k ( ℓ ) w k ( ℓ ′ ) ) = 1 n 2 ∑ k ( n n − 1 ∑ ℓ ( w k ( ℓ ) ) 2 − 1 n − 1 ( ∑ ℓ w k ( ℓ ) ) 2 ) = 1 n − 1 ∑ k ( 1 n ∑ ℓ ( w k ( ℓ ) ) 2 − ( 1 n ∑ ℓ w k ( ℓ ) ) 2 ) = 1 n − 1 ∑ k Var ^ [ w k ] . (92) \begin{aligned}
\frac{1}{|\mathcal{S}|}\sum_{(A,B)\in\mathcal{S}}\Delta_{AB}^w
= \frac{1}{n^2}\sum_k\left(\sum_\ell\left(w_k^{(\ell)}\right)^2-\frac{1}{n-1}\sum_{\ell\ne\ell'}w_k^{(\ell)}w_k^{(\ell')}\right) \\
&= \frac{1}{n^2}\sum_k\left(\frac{n}{n-1}\sum_\ell\left(w_k^{(\ell)}\right)^2-\frac{1}{n-1}\left(\sum_\ell w_k^{(\ell)}\right)^2\right) \\
&= \frac{1}{n-1}\sum_k\left(\frac{1}{n}\sum_\ell\left(w_k^{(\ell)}\right)^2-\left(\frac{1}{n}\sum_\ell w_k^{(\ell)}\right)^2\right) \\
&= \frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}[w_k]. \tag*{(92)}
\end{aligned} ∣ S ∣ 1 ( A , B ) ∈ S ∑ Δ A B w = n 2 1 k ∑ ℓ ∑ ( w k ( ℓ ) ) 2 − n − 1 1 ℓ = ℓ ′ ∑ w k ( ℓ ) w k ( ℓ ′ ) = n 2 1 k ∑ n − 1 n ℓ ∑ ( w k ( ℓ ) ) 2 − n − 1 1 ( ℓ ∑ w k ( ℓ ) ) 2 = n − 1 1 k ∑ n 1 ℓ ∑ ( w k ( ℓ ) ) 2 − ( n 1 ℓ ∑ w k ( ℓ ) ) 2 = n − 1 1 k ∑ Var [ w k ] . (92)
□
Remark 3 (comparison with ATV). For S \mathcal{S} S being the collection of all splits, using Lemma 5,
1 r ∑ ( A , B ) ∈ S ∑ k w ˉ k 2 − Δ A B w ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B w , s d ≥ 1 r ∑ ( A , B ) ∈ S ∑ k w ˉ k 2 − Δ A B w ∑ k w ˉ k 2 + σ ˉ 2 / n = ∑ k w ˉ k 2 − 1 n − 1 ∑ k Var ^ [ w k ] ∑ k w ˉ k 2 + σ ˉ 2 / n . (93) \begin{aligned}
\sqrt{\frac{1}{r}\sum_{(A,B)\in\mathcal{S}}\frac{\sum_k\bar{w}_k^2-\Delta_{AB}^w}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n-\Delta_{AB}^{w,\mathrm{sd}}}}
\ge
\sqrt{\frac{1}{r}\sum_{(A,B)\in\mathcal{S}}\frac{\sum_k\bar{w}_k^2-\Delta_{AB}^w}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n}} \\
&=
\sqrt{\frac{\sum_k\bar{w}_k^2-\frac{1}{n-1}\sum_k\widehat{\operatorname{Var}}[w_k]}{\sum_k\bar{w}_k^2+\bar{\sigma}^2/n}}. \tag*{(93)}
\end{aligned} r 1 ( A , B ) ∈ S ∑ ∑ k w ˉ k 2 + σ ˉ 2 / n − Δ A B w , sd ∑ k w ˉ k 2 − Δ A B w ≥ r 1 ( A , B ) ∈ S ∑ ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − Δ A B w = ∑ k w ˉ k 2 + σ ˉ 2 / n ∑ k w ˉ k 2 − n − 1 1 ∑ k Var [ w k ] . (93)
This implies that, up to their error terms, N C ^ S H S B ≥ N C ^ A T V \widehat{NC}^{\mathrm{SHSB}}\ge\widehat{NC}^{\mathrm{ATV}} N C SHSB ≥ N C ATV . The equality holds if and only if Δ A B w = 0 \Delta_{AB}^w=0 Δ A B w = 0 for each split ( A , B ) (A,B) ( A , B ) .
Single-trial noise ceiling
In this section, we derive the closed-form expressions for the true noise ceiling for single-trial responses N C ℓ s i n g l e NC_{\ell}^{\mathrm{single}} N C ℓ single and its estimators N C ^ ℓ L O O C \widehat{NC}_{\ell}^{\mathrm{LOOC}} N C ℓ LOOC and N C ^ ℓ T M C \widehat{NC}_{\ell}^{\mathrm{TMC}} N C ℓ TMC . We fix a trial ℓ \ell ℓ and assume n ≥ 2 n \ge2 n ≥ 2 . We write
v ( − ℓ ) : = v [ n ] ∖ { ℓ } , v ∗ ( − ℓ ) : = v [ n ] ∖ { ℓ } ∗ , w ˉ k ( − ℓ ) : = w ˉ k [ n ] ∖ { ℓ } , σ ˉ ( − ℓ ) 2 : = 1 n − 1 ∑ ℓ ′ ≠ ℓ σ ℓ ′ 2 . (94) \mathbf{v}^{(-\ell)} := \mathbf{v}_{[n]\setminus\{\ell\}}, \qquad\mathbf{v}^{*{(-\ell)}} := \mathbf{v}^{*}_{[n]\setminus\{\ell\}}, \qquad\bar{w}_{k}^{(-\ell)} := \bar{w}_{k}^{[n]\setminus\{\ell\}}, \qquad\bar{\sigma}_{(-\ell)}^{2} := \frac{1}{n-1}\sum_{\ell'\ne\ell}\sigma_{\ell'}^{2}. \tag*{(94)} v ( − ℓ ) := v [ n ] ∖ { ℓ } , v ∗ ( − ℓ ) := v [ n ] ∖ { ℓ } ∗ , w ˉ k ( − ℓ ) := w ˉ k [ n ] ∖ { ℓ } , σ ˉ ( − ℓ ) 2 := n − 1 1 ℓ ′ = ℓ ∑ σ ℓ ′ 2 . (94)
for the average of the other trials, its noise-free counterpart, its weights and its noise level.
True noise ceiling N C ℓ s i n g l e NC_{\ell}^{\mathrm{single}} N C ℓ single
The true noise ceiling for single-trial responses is the correlation between the noise-free signal and the recorded signal of the same trial, N C ℓ s i n g l e : = Corr ^ t ( v ∗ ( ℓ ) , v ( ℓ ) ) NC_{\ell}^{\mathrm{single}} := \widehat{\operatorname{Corr}}_{t}\left(\mathbf{v}^{*(\ell)},\mathbf{v}^{(\ell)}\right) N C ℓ single := Corr t ( v ∗ ( ℓ ) , v ( ℓ ) ) .
Proposition 4 (true noise ceiling, single-trial responses). Assume that there exists a constant a 0 > 0 a_{0} > 0 a 0 > 0 such that Var ^ t ( v ∗ ( ℓ ) ) ≥ a 0 \widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(\ell)}\right) \ge a_{0} Var t ( v ∗ ( ℓ ) ) ≥ a 0 for all T T T . Under Assumptions 1–4,
N C ℓ s i n g l e = Var ^ t ( v ∗ ( ℓ ) ) Var ^ t ( v ∗ ( ℓ ) ) + σ ℓ 2 + ε T = ∑ k ( w k ( ℓ ) ) 2 ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 + ε T , (95) NC_{\ell}^{\mathrm{single}} = \sqrt{\frac{\widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(\ell)}\right)}{\widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(\ell)}\right)+\sigma_{\ell}^{2}}}+\varepsilon_{T} = \sqrt{\frac{\sum_{k}\left(w_{k}^{(\ell)}\right)^{2}}{\sum_{k}\left(w_{k}^{(\ell)}\right)^{2}+\sigma_{\ell}^{2}}}+\varepsilon_{T}, \tag*{(95)} N C ℓ single = Var t ( v ∗ ( ℓ ) ) + σ ℓ 2 Var t ( v ∗ ( ℓ ) ) + ε T = ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 ∑ k ( w k ( ℓ ) ) 2 + ε T , (95) where the constant c c c of the error term only depends on M M M , C C C , K 4 K_{4} K 4 and a 0 a_{0} a 0 . The second expression holds under the representation of Definition 6. In contrast to N C m e a n NC^{\mathrm{mean}} N C mean , the leading term does not depend on n n n : it is determined by the signal and the noise of trial ℓ \ell ℓ alone.
Proof. We apply (45) of Corollary 1 with A = B = { ℓ } A=B=\{\ell\} A = B = { ℓ } , for which s ( { ℓ } , { ℓ } ) = σ ℓ 2 s(\{\ell\},\{\ell\})=\sigma_{\ell}^{2} s ({ ℓ } , { ℓ }) = σ ℓ 2 , and simplify as in the proof of Proposition 1. The second expression follows from Lemma 4 with A = { ℓ } A=\{\ell\} A = { ℓ } . □
Leave-one-out correlation NC"0362NCLOOC
The LOOC estimator correlates trial ℓ \ell ℓ with the average of the other trials, N C ^ ℓ L O O C : = Corr ^ t ( v ( ℓ ) , v ( − ℓ ) ) \widehat{NC}_{\ell}^{\mathrm{LOOC}} := \widehat{\operatorname{Corr}}_{t}\left(\mathbf{v}^{(\ell)},\mathbf{v}^{(-\ell)}\right) N C ℓ LOOC := Corr t ( v ( ℓ ) , v ( − ℓ ) ) .
Proposition 5 (LOOC). Assume that there exists a constant a 0 > 0 a_{0} > 0 a 0 > 0 such that Var ^ t ( v ∗ ( ℓ ) ) ≥ a 0 \widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(\ell)}\right) \ge a_{0} Var t ( v ∗ ( ℓ ) ) ≥ a 0 and Var ^ t ( v ∗ ( − ℓ ) ) ≥ a 0 \widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(-\ell)}\right) \ge a_{0} Var t ( v ∗ ( − ℓ ) ) ≥ a 0 for all T T T . Under Assumptions 1–4,
N C ^ ℓ L O O C = ∑ k w k ( ℓ ) w ˉ k ( − ℓ ) ( ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 ) ( ∑ k ( w ˉ k ( − ℓ ) ) 2 + σ ˉ ( − ℓ ) 2 n − 1 ) + ε T (96) \widehat{NC}_{\ell}^{\mathrm{LOOC}} = \frac{\sum_{k}w_{k}^{(\ell)}\bar{w}_{k}^{(-\ell)}}{\sqrt{\left(\sum_{k}\left(w_{k}^{(\ell)}\right)^{2}+\sigma_{\ell}^{2}\right)\left(\sum_{k}\left(\bar{w}_{k}^{(-\ell)}\right)^{2}+\frac{\bar{\sigma}_{(-\ell)}^{2}}{n-1}\right)}}+\varepsilon_{T} \tag*{(96)} N C ℓ LOOC = ( ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 ) ( ∑ k ( w ˉ k ( − ℓ ) ) 2 + n − 1 σ ˉ ( − ℓ ) 2 ) ∑ k w k ( ℓ ) w ˉ k ( − ℓ ) + ε T (96) where the constant c c c of the error term only depends on M M M , C C C , K 4 K_{4} K 4 and a 0 a_{0} a 0 .
Proof. We apply (44) of Corollary 1 with A = { ℓ } A=\{\ell\} A = { ℓ } and B = [ n ] ∖ { ℓ } B=[n]\setminus\{\ell\} B = [ n ] ∖ { ℓ } . The two sets are disjoint, so s ( A , B ) = 0 s(A,B)=0 s ( A , B ) = 0 , while s ( A , A ) = σ ℓ 2 s(A,A)=\sigma_{\ell}^{2} s ( A , A ) = σ ℓ 2 and
s ( B , B ) = 1 ( n − 1 ) 2 ∑ ℓ ′ ≠ ℓ σ ℓ ′ 2 = σ ˉ ( − ℓ ) 2 n − 1 . (97) s(B,B)=\frac{1}{(n-1)^{2}}\sum_{\ell'\ne\ell}\sigma_{\ell'}^{2}=\frac{\bar{\sigma}_{(-\ell)}^{2}}{n-1}. \tag*{(97)} s ( B , B ) = ( n − 1 ) 2 1 ℓ ′ = ℓ ∑ σ ℓ ′ 2 = n − 1 σ ˉ ( − ℓ ) 2 . (97)
Lemma 4 gives Cov ^ t ( v ∗ ( ℓ ) , v ∗ ( − ℓ ) ) = ∑ k w k ( ℓ ) w ˉ k ( − ℓ ) \widehat{\operatorname{Cov}}_{t}\left(\mathbf{v}^{*(\ell)},\mathbf{v}^{*(-\ell)}\right)=\sum_{k}w_{k}^{(\ell)}\bar{w}_{k}^{(-\ell)} Cov t ( v ∗ ( ℓ ) , v ∗ ( − ℓ ) ) = ∑ k w k ( ℓ ) w ˉ k ( − ℓ ) , Var ^ t ( v ∗ ( ℓ ) ) = ∑ k ( w k ( ℓ ) ) 2 \widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(\ell)}\right)=\sum_{k}\left(w_{k}^{(\ell)}\right)^{2} Var t ( v ∗ ( ℓ ) ) = ∑ k ( w k ( ℓ ) ) 2 and Var ^ t ( v ∗ ( − ℓ ) ) = ∑ k ( w ˉ k ( − ℓ ) ) 2 \widehat{\operatorname{Var}}_{t}\left(\mathbf{v}^{*(-\ell)}\right)=\sum_{k}\left(\bar{w}_{k}^{(-\ell)}\right)^{2} Var t ( v ∗ ( − ℓ ) ) = ∑ k ( w ˉ k ( − ℓ ) ) 2 . □
Remark 4. In the limit of large n n n , N C ^ ℓ L O O C \widehat{NC}_{\ell}^{\mathrm{LOOC}} N C ℓ LOOC approaches
N C ℓ s i n g l e ⋅ cos k ( w ( ℓ ) , w ˉ ( − ℓ ) ) ≤ N C ℓ s i n g l e , (98) NC_{\ell}^{\mathrm{single}}\cdot\cos_{k}\left(w^{(\ell)},\bar{w}^{(-\ell)}\right)\le NC_{\ell}^{\mathrm{single}}, \tag*{(98)} N C ℓ single ⋅ cos k ( w ( ℓ ) , w ˉ ( − ℓ ) ) ≤ N C ℓ single , (98)
up to an error term ε T \varepsilon_T ε T , and with
cos k ( x , y ) : = ∑ k x k y k ∑ k x k 2 ∑ k y k 2 (99) \operatorname{cos}_k(x,y) := \frac{\sum_k x_k y_k}{\sqrt{\sum_k x_k^2 \sum_k y_k^2}} \tag*{(99)} cos k ( x , y ) := ∑ k x k 2 ∑ k y k 2 ∑ k x k y k (99)
the cosine similarity across k k k . The equality holds if and only if w ( ℓ ) = λ w ˉ ( − ℓ ) w^{(\ell)} = \lambda\bar{w}^{(-\ell)} w ( ℓ ) = λ w ˉ ( − ℓ ) for some λ > 0 \lambda> 0 λ > 0 , which is in general satisfied only in the homogeneous regime.
Trial-to-mean correlation N C ^ T T M C \widehat{NC}^{\mathrm{TTMC}} N C TTMC
The TTMC estimator correlates trial ℓ \ell ℓ with the average of all trials, including trial ℓ \ell ℓ itself,
N C ^ ℓ T T M C : = Corr t ( v ( ℓ ) , v ˉ ) \widehat{NC}^{\mathrm{TTMC}}_\ell:= \operatorname{Corr}_t\left(v^{(\ell)}, \bar{v}\right) N C ℓ TTMC := Corr t ( v ( ℓ ) , v ˉ ) .
Proposition 6 (TTMC). Assume that there exists a constant a 0 > 0 a_0 > 0 a 0 > 0 such that Var ^ t ( v ∗ ( ℓ ) ) ≥ a 0 \widehat{\operatorname{Var}}_t\left(v^{*(\ell)}\right) \ge a_0 Var t ( v ∗ ( ℓ ) ) ≥ a 0 and Var ^ t ( v ˉ ∗ ) ≥ a 0 \widehat{\operatorname{Var}}_t\left(\bar{v}^{*}\right) \ge a_0 Var t ( v ˉ ∗ ) ≥ a 0 for all T T T . Under Assumptions 1–4,
N C ^ ℓ T T M C = ∑ k w k ( ℓ ) w ˉ k + σ ℓ 2 n ( ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 ) ( ∑ k w ˉ k 2 + σ ˉ 2 n ) + ε T (100) \widehat{NC}^{\mathrm{TTMC}}_\ell=
\frac{\sum_k w_k^{(\ell)}\bar{w}_k + \frac{\sigma_\ell^2}{n}}
{\sqrt{\left(\sum_k \left(w_k^{(\ell)}\right)^2+\sigma_\ell^2\right)\left(\sum_k \bar{w}_k^2+\frac{\bar{\sigma}^2}{n}\right)}}+\varepsilon_T \tag*{(100)} N C ℓ TTMC = ( ∑ k ( w k ( ℓ ) ) 2 + σ ℓ 2 ) ( ∑ k w ˉ k 2 + n σ ˉ 2 ) ∑ k w k ( ℓ ) w ˉ k + n σ ℓ 2 + ε T (100)
where the constant c c c of the error term only depends on M M M , C C C , K 4 K_4 K 4 and a 0 a_0 a 0 .
Proof. We apply (44) of Corollary 1 with A = { ℓ } A=\{\ell\} A = { ℓ } and B = [ n ] B=[n] B = [ n ] . Now A ∩ B = { ℓ } A\cap B=\{\ell\} A ∩ B = { ℓ } , so that
s ( A , B ) = σ ℓ 2 n , s ( A , A ) = σ ℓ 2 , s ( B , B ) = 1 n 2 ∑ ℓ ′ = 1 n σ ℓ ′ 2 = σ ˉ 2 n . (101) s(A,B)=\frac{\sigma_\ell^2}{n}, \qquad s(A,A)=\sigma_\ell^2, \qquad s(B,B)=\frac{1}{n^2}\sum_{\ell'=1}^{n}\sigma_{\ell'}^2=\frac{\bar{\sigma}^2}{n}. \tag*{(101)} s ( A , B ) = n σ ℓ 2 , s ( A , A ) = σ ℓ 2 , s ( B , B ) = n 2 1 ℓ ′ = 1 ∑ n σ ℓ ′ 2 = n σ ˉ 2 . (101)
Lemma 4 gives Cov ^ t ( v ∗ ( ℓ ) , v ˉ ∗ ) = ∑ k w k ( ℓ ) w ˉ k \widehat{\operatorname{Cov}}_t\left(v^{*(\ell)},\bar{v}^{*}\right)=\sum_k w_k^{(\ell)}\bar{w}_k Cov t ( v ∗ ( ℓ ) , v ˉ ∗ ) = ∑ k w k ( ℓ ) w ˉ k .
Remark 5. In the limit of large n n n , N C ^ ℓ T T M C \widehat{NC}^{\mathrm{TTMC}}_\ell N C ℓ TTMC approaches
N C ℓ s i n g l e ⋅ cos k ( w ( ℓ ) , w ˉ ) ≤ N C ℓ s i n g l e , (102) NC^{\mathrm{single}}_\ell\cdot\operatorname{cos}_k\left(w^{(\ell)},\bar{w}\right)\le NC^{\mathrm{single}}_\ell, \tag*{(102)} N C ℓ single ⋅ cos k ( w ( ℓ ) , w ˉ ) ≤ N C ℓ single , (102)
up to an error term ε T \varepsilon_T ε T . Hence, similarly to N C ^ ℓ L O O C \widehat{NC}^{\mathrm{LOOC}}_\ell N C ℓ LOOC , N C ^ ℓ T T M C \widehat{NC}^{\mathrm{TTMC}}_\ell N C ℓ TTMC only converges to the true noise ceiling in the homogeneous regime.
Remark 6. In the heterogeneous regime, N C ^ ℓ T T M C \widehat{NC}^{\mathrm{TTMC}}_\ell N C ℓ TTMC is obviously not an upper bound on the noise ceiling as it converges to a limit that is lower than N C ℓ s i n g l e NC^{\mathrm{single}}_\ell N C ℓ single . Moreover, even in the homogeneous case,
N C ^ ℓ T T M C = N C ℓ s i n g l e ⋅ 1 + σ ℓ 2 n ∑ k w k 2 1 + σ 2 n ∑ k w k 2 ⏟ γ + ε T , (103) \widehat{NC}^{\mathrm{TTMC}}_\ell
=NC^{\mathrm{single}}_\ell\cdot
\underbrace{\frac{1+\frac{\sigma_\ell^2}{n\sum_k w_k^2}}
{\sqrt{1+\frac{\sigma^2}{n\sum_k w_k^2}}}}_{\gamma}
+\varepsilon_T, \tag*{(103)} N C ℓ TTMC = N C ℓ single ⋅ γ 1 + n ∑ k w k 2 σ 2 1 + n ∑ k w k 2 σ ℓ 2 + ε T , (103)
where γ \gamma γ can become smaller than 1 if 2 σ ℓ 2 < σ ˉ 2 2\sigma_\ell^2<\bar{\sigma}^2 2 σ ℓ 2 < σ ˉ 2 .
Leave-one-out prediction N C ^ L O O P \widehat{NC}^{\mathrm{LOOP}} N C LOOP
Since LOOP involves a fitted regression, it does not admit a general closed form in our framework. We describe here its asymptotic behavior qualitatively. In contrast to the other estimators, LOOP predicts a unit from all units of the other trials. In this section we therefore keep the unit index i = 1 , … , m i=1,\ldots,m i = 1 , … , m . The assumptions of Sec. B.2 are taken to hold for every unit, we allow the noise of different units of the same trial to be correlated. Similarly to Sec. B.4.2, we assume that each recording is centered over time.
For a target unit i i i and trial ℓ \ell ℓ , the p : = m ( n − 1 ) p:=m(n-1) p := m ( n − 1 ) predictors are the recordings v ( ℓ ′ ) v^{(\ell')} v ( ℓ ′ ) of all units j ∈ [ m ] j\in[m] j ∈ [ m ] of all other trials ℓ ′ ≠ ℓ \ell'\ne\ell ℓ ′ = ℓ . A linear model with intercept is fitted by ordinary least squares (OLS) or ridge regression on a set of training time points, and N C ^ i , ℓ L O O P \widehat{NC}^{\mathrm{LOOP}}_{i,\ell} N C i , ℓ LOOP is the correlation between its prediction and v i ( ℓ ) v_i^{(\ell)} v i ( ℓ ) on a test set of time points. Since the noise of different units of the same trial may be correlated, we extend Assumption 4 to pairs of units: for all units j , k j,k j , k and trials ℓ \ell ℓ ,
sup t ∑ s = 1 ∞ ∣ Cov ( η j , t ( ℓ ) , η k , t ( ℓ ) , η j , s ( ℓ ) , η k , s ( ℓ ) ) ∣ < K 4 \sup_t\sum_{s=1}^{\infty}\left|\operatorname{Cov}\left(\eta_{j,t}^{(\ell)},\eta_{k,t}^{(\ell)},\eta_{j,s}^{(\ell)},\eta_{k,s}^{(\ell)}\right)\right|<K_4 sup t ∑ s = 1 ∞ Cov ( η j , t ( ℓ ) , η k , t ( ℓ ) , η j , s ( ℓ ) , η k , s ( ℓ ) ) < K 4 .
Large number of time points Let T T T and T ′ T' T ′ be the numbers of training and test time points, and X ∈ R T × p X \in\mathbb{R}^{T \times p} X ∈ R T × p , X ′ ∈ R T ′ × p X' \in\mathbb{R}^{T' \times p} X ′ ∈ R T ′ × p the corresponding predictor matrices. We write χ ( − ℓ ) ⊂ R T ′ \chi^{(-\ell)} \subset\mathbb{R}^{T'} χ ( − ℓ ) ⊂ R T ′ the space spanned by the columns of X ′ X' X ′ and P ( − ℓ ) P^{(-\ell)} P ( − ℓ ) for the orthogonal projection onto χ ( − ℓ ) \chi^{(-\ell)} χ ( − ℓ ) . We consider the limit T , T ′ → ∞ T, T' \to\infty T , T ′ → ∞ with p / T → 0 p/T \to0 p / T → 0 and p / T ′ → 0 p/T' \to0 p / T ′ → 0 . Assuming the training and test points are chosen at random, σ i , ℓ 2 \sigma_{i,\ell}^{2} σ i , ℓ 2 and Var ^ t ( v i ∗ ( ℓ ) ) \widehat{\operatorname{Var}}_t(v_i^{*(\ell)}) Var t ( v i ∗ ( ℓ ) ) computed over T T T or T ′ T' T ′ are equivalent in this limit. The prediction v ^ i \hat{v}_i v ^ i is therefore given by the orthogonal projection P ( − ℓ ) v i ( ℓ ) P^{(-\ell)}v_i^{(\ell)} P ( − ℓ ) v i ( ℓ ) of the target onto χ ( − ℓ ) \chi^{(-\ell)} χ ( − ℓ ) . Since the noise η i ( ℓ ) \eta_i^{(\ell)} η i ( ℓ ) of the target is independent of the predictors, the projection of the target is asymptotically equal to P ( − ℓ ) v i ∗ ( ℓ ) P^{(-\ell)}v_i^{*(\ell)} P ( − ℓ ) v i ∗ ( ℓ ) . The estimator N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP is then given by
Corr ^ t ( v i ( ℓ ) , v ^ i ( ℓ ) ) = Var ^ t ( P ( − ℓ ) v i ∗ ( ℓ ) ) Var ^ t ( v i ∗ ( ℓ ) ) + σ i , ℓ 2 = ∣ P ( − ℓ ) v i ∗ ( ℓ ) ∣ ∣ v i ∗ ( ℓ ) ∣ ⋅ N C i , ℓ s i n g l e = cos ( α ( ℓ ) ) ⋅ N C i , ℓ s i n g l e , (104) \widehat{\operatorname{Corr}}_t\left(v_i^{(\ell)},\hat{v}_i^{(\ell)}\right)=\sqrt{\frac{\widehat{\operatorname{Var}}_t\left(P^{(-\ell)}v_i^{*(\ell)}\right)}{\widehat{\operatorname{Var}}_t\left(v_i^{*(\ell)}\right)+\sigma_{i,\ell}^{2}}}=\frac{\left|P^{(-\ell)}v_i^{*(\ell)}\right|}{\left|v_i^{*(\ell)}\right|}\cdot NC_{i,\ell}^{\mathrm{single}}=\cos\left(\alpha^{(\ell)}\right)\cdot NC_{i,\ell}^{\mathrm{single}}, \tag*{(104)} Corr t ( v i ( ℓ ) , v ^ i ( ℓ ) ) = Var t ( v i ∗ ( ℓ ) ) + σ i , ℓ 2 Var t ( P ( − ℓ ) v i ∗ ( ℓ ) ) = v i ∗ ( ℓ ) P ( − ℓ ) v i ∗ ( ℓ ) ⋅ N C i , ℓ single = cos ( α ( ℓ ) ) ⋅ N C i , ℓ single , (104)
where ∣ ⋅ ∣ \left|\cdot\right| ∣ ⋅ ∣ is the Euclidean norm, α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) is the angle between v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) and χ ( − ℓ ) \chi^{(-\ell)} χ ( − ℓ ) , and the second equality holds up to the error term of N C i , ℓ s i n g l e NC_{i,\ell}^{\mathrm{single}} N C i , ℓ single . N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP is therefore a lower bound on the single-trial noise ceiling, which is reached if and only if the noise-free target lies in the span of the predictors. Two effects make cos ( α ( ℓ ) ) < 1 \cos\left(\alpha^{(\ell)}\right)<1 cos ( α ( ℓ ) ) < 1 . First, the predictors are noisy, therefore χ ( − ℓ ) \chi^{(-\ell)} χ ( − ℓ ) is spanned by noisy versions of the reproducible responses rather than by the reproducible responses themselves. Second, in the heterogeneous regime v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) is likely not contained in the span of the reproducible responses. In particular if K > p K>p K > p the latent signals ϕ 1 , … , ϕ K \phi_1,\ldots,\phi_K ϕ 1 , … , ϕ K cannot be retrieved from { v i ′ ∗ ( ℓ ′ ) } ℓ ′ ≠ ℓ , i = 1 , … , m \{v_{i'}^{*(\ell')}\}_{\ell'\ne\ell,i=1,\ldots,m} { v i ′ ∗ ( ℓ ′ ) } ℓ ′ = ℓ , i = 1 , … , m and it might not be possible to obtain v i ∗ ( ℓ ) = ∑ k w i k ∗ ( ℓ ) ϕ k v_i^{*(\ell)}=\sum_k w_{ik}^{*(\ell)}\phi_k v i ∗ ( ℓ ) = ∑ k w ik ∗ ( ℓ ) ϕ k from the reproducible signals. In this limit, N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP is at least as large as N C ^ i , ℓ L O O C \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOC}} NC i , ℓ LOOC .
Large number of trials As n n n grows, with T / p → ∞ T/p\to\infty T / p → ∞ , both effects can decrease: the predictors contain more and more noisy copies of the same latent signals, making it possible to average out their noise, and the reproducible responses of the other trials span a growing subspace. α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) approaches the angle between v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) and the span of the reproducible responses { v i ′ ∗ ( ℓ ′ ) } ℓ ′ ≠ ℓ , i = 1 , … , m \{v_{i'}^{*(\ell')}\}_{\ell'\ne\ell,i=1,\ldots,m} { v i ′ ∗ ( ℓ ′ ) } ℓ ′ = ℓ , i = 1 , … , m , and N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP recovers the true noise ceiling whenever v i ∗ ( ℓ ) v_i^{*(\ell)} v i ∗ ( ℓ ) lies in this span. In contrast to N C ^ i , ℓ L O O C \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOC}} NC i , ℓ LOOC and N C ^ i , ℓ T T M C \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{TTMC}} NC i , ℓ TTMC , the convergence of N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP to N C i , ℓ s i n g l e NC_{i,\ell}^{\mathrm{single}} N C i , ℓ single is not limited to the homogeneous regime.
Finite number of time points For finite T T T , the generalization error reduces the correlation on the test set. This generalization error is larger when units are very noisy and it grows with the number p = m ( n − 1 ) p=m(n-1) p = m ( n − 1 ) of predictors. For an increasing number of trials n n n at fixed T T T , N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP contains therefore both an increasing term due to the decay of α ( ℓ ) \alpha^{(\ell)} α ( ℓ ) and a decreasing generalization term. When p / T p/T p / T is not small, it can fall below N C ^ i , ℓ L O O P \widehat{\mathrm{NC}}_{i,\ell}^{\mathrm{LOOP}} NC i , ℓ LOOP , which has no fitted parameters. Ridge regression reduces the generalization error but replaces it by a bias.
Extrapolation to n → ∞ n\to\infty n → ∞ These results explain why the dependence of LOOP on n n n has no simple universal form. The limit term depends, through the angle in (104), on how the latent signals of trial ℓ \ell ℓ are expressed by the other trials. In addition, at fixed T T T , the generalization error grows with n n n . Fitting N C i , ℓ ∞ ( 1 − e − n / τ 0 ) NC_{i,\ell}^{\infty}(1-e^{-n/\tau_0}) N C i , ℓ ∞ ( 1 − e − n / τ 0 ) assumes a very fast saturation and ignores the generalization term, both of which lead to an underestimation of the noise ceiling.
Synthetic data parameters
Table 4 gives all parameters used to generate the synthetic datasets used in Figure 2 . The parameters are defined in Sec. 3.4.
Table 4. Simulation parameters for each dataset. Δ = 0 \Delta= 0 Δ = 0 : homogeneous regime; Δ > 0 \Delta> 0 Δ > 0 : heterogeneous regime.
Empirical finite-T T T convergence
In this section, we evaluate empirically the convergence rates of the noise ceiling estimators as the stimulus length T T T grows on the Sherlock dataset. Figure 3 shows SHSB, ATV, LOOC and TTMC as a function of the stimulus length T T T . If an estimator is the sum of a leading term independent of T T T and an error whose expectation is of order 1 / T 1/T 1/ T , fitting a + b T − p a+bT^{-p} a + b T − p to its mean should give p ≈ 1 p \approx1 p ≈ 1 once T T T is large enough. This is what we observe for LOOC and TTMC on both V1 and IT, already for T < 100 T < 100 T < 100 . SHSB and ATV behave differently: p p p is close to 1 in V1 but lower in IT. This is the transient regime described in § 3.2 . For units with a weak signal, the threshold of the square root first produces a positive bias of order T − 1 / 4 T^{-1/4} T − 1/4 , and the 1 / T 1/T 1/ T rate is reached only once the finite-T T T fluctuations are small compared to the signal. In V1, where the signal is strong, most voxels are already in the 1 / T 1/T 1/ T regime over the range of T T T shown. In IT, where the signal is weaker, the average over voxels mixes voxels with a negative bias of order 1 / T 1/T 1/ T and voxels with a positive bias of order T − 1 / 4 T^{-1/4} T − 1/4 . The result is a negative bias that decays more slowly than 1 / T 1/T 1/ T .
Figure 3. Convergence of the estimators with the stimulus length T T T on the Sherlock dataset. Each cross is the average value of an estimator computed on 100 time windows of length T T T and averaged over voxels. All 16 subjects are used at every T T T , so that only the stimulus length T T T varies. N C ^ L O O C \widehat{NC}^{\mathrm{LOOC}} N C LOOC and N C ^ T T M C \widehat{NC}^{\mathrm{TTMC}} N C TTMC are averaged over every held-out subject. For each estimator, the mean curve is fitted using N C ^ ( T ) = a + b T − p \widehat{NC}(T)=a+bT^{-p} N C ( T ) = a + b T − p (black dashed lines), where a a a is the asymptote reached at large T T T (gray dashed lines) and p p p the rate of convergence. The legend gives p p p with a 95% confidence interval (± 1.96 \pm1.96 ± 1.96 standard errors, from the covariance of the least-squares fit).
Noise ceiling computation checklist
We list here common pitfalls when computing noise ceilings, and how to avoid them.
SHSB and ATV
ATV
Centering: The recordings must be centered over time for each trial before the variance across trials is computed.
Normalization: The variance across trials must be computed with the unbiased normalization 1 / ( n − 1 ) 1/(n-1) 1/ ( n − 1 ) . With 1 / n 1/n 1/ n , the estimator is biased upwards.
SHSB
Averaging over splits: For SHSB to be a good estimation of the noise ceiling, it needs to be averaged over many splits. To avoid introducing additional biases, this averaging should be performed after the 2 ρ 1 + ρ \frac{2\rho}{1+\rho} 1 + ρ 2 ρ correction but before the thresholding and square root.
Odd number of trials: For n n n odd, ATV should be preferred to SHSB.
TTMC
LOOP
Independence of training and test sets: With autocorrelated recordings, randomly selected training and test time points are correlated. The test set should instead consist of blocks of consecutive time points, separated from the training set by unused gaps longer than the autocorrelation of the signal and noise. The same applies when fitting encoding models.
Preprocessing: Some preprocessing steps, such as high-pass filters, spread information across time points, and can therefore introduce correlations between training and test sets. They should be applied to each set separately.
Selecting among estimators: When taking, for each unit, the highest of LOOC, LOOP and its variants, the selection must be made on a validation set distinct from the test set, to avoid biasing the estimate upwards.
Reporting brain scores
Lower bounds: When only a lower bound on the noise ceiling is available, the normalized brain score should be reported as an interval, from the unnormalized score to the score normalized by the lower bound, clipped at 1.