Introduction
Learning from a new tabular dataset increasingly need not begin with fitting a new model. Tabular foundation models (TFMs) instead use the labeled table as context for a pretrained predictor, achieving competitive or state-of-the-art accuracy on small- and medium-sized tasks without necessarily requiring parameter updates or task-specific tuning ([23 , 16 ] ). Strong results on benchmarks such as TabArena ([12 ] ) have been followed by claims of broader applicability, including the latest TabPFN release’s performance under temporal and grouped splits ([25 ] ). As these models become alternatives to conventional learners, a central question is how their predictive performance depends on the data-collection protocol. Synthetic pretraining for many TFMs includes tasks whose rows are independent and identically distributed (IID) samples from a latent joint distribution on covariates and responses ([22 , 16 ] (Qu et al. 2025)). Scientific data often follow a different observation protocol: several responses are recorded at the same covariate vector ([5 , 1 , 3 ] ). We call each distinct covariate vector a site and each recorded response a reading . When entered individually, readings from the same site occupy separate table rows with identical covariates. Oversampling with replacement also produces repeated rows.
Classical regression methods routinely accommodate repeated measurements, either by directly fitting the individual readings or by fitting weighted site means ([9 , 1 , 3 ] ). For a class of squared-loss algorithms, including empirical risk minimization and gradient boosted trees under the conditions in Section 2, fitting individual readings and fitting count-weighted site means yield the same predictor. TFMs do not have weight inputs, let alone any guarantee of equivalence. In fact, when investigating how TabPFN could be used to predict algorithm-runtime distributions, Ibrahimi and Adriaensen (2026) found that supplying additional readings as context rows to TabPFN could decrease its predictive performance. One possible explanation for this failure mode is that repeated readings can share unobserved unit-specific effects, making them dependent even after conditioning on the recorded covariates. In this paper, we investigate how the failure may persist even without such dependence. Specifically, our central question is: When do additional independent readings help or hurt TFM predictions, and what mechanisms determine that tradeoff?
We first characterize the extent and conditions of repetition harm (§ 3 ). We compare six TFMs with conventional learners on synthetic, semi-synthetic and real datasets, keeping sites fixed as the readings per site increase. Repeated readings often improve prediction at measured sites while worsening it at fresh inputs.
On the illustrative quadratic task, all six TFMs gain from the first few readings and then part ways. TabPFN-v3, TabPFN-v3.5 and LimiX-2 are worse than with one reading from eight readings on and end three to five times worse at 256; TabICLv2 and TabDPT cross only at thirty-two and end less than twice as bad. TabFM retains a benefit through 256 readings, demonstrating that the response is model-dependent. Harm is generally more frequent at low noise, where the absolute reduction in uncertainty about the site means is smaller; increasing site coverage can mitigate it, although the dependence on site count is not uniformly monotone. Appending irrelevant features amplifies the relative harm for TabPFN-v3, LimiX-2 and TabDPT, even though the regression function gains no active dimension. Results on ten real datasets broadly support the controlled pattern: repetition often hurts with low within-site variation, while higher-variation datasets show substantial benefits.
We investigate reasons for this failure at two levels. Statistically, we examine the mismatch between the inference rule targeted by pretraining and the repeated-measurement observation scheme (§ 4 ). Many TFMs are prior-data fitted networks (PFNs), which are trained to approximate Bayesian posterior predictive distributions under a prior over the covariate-response joint distributions p ( X , Y ) p(X,Y) p ( X , Y ) and IID samples conditioned on p ( X , Y ) p(X,Y) p ( X , Y ) ([30 , 23 ] ). The posterior appropriate to repeated measurements should count each site’s covariates once, whereas the IID posterior targeted by pretraining instead counts them once per reading. Under the commonly used structural causal model priors on p ( X , Y ) p(X,Y) p ( X , Y ) , the covariate distribution p ( X ) p(X) p ( X ) and conditional response distribution p ( Y ∣ X ) p(Y \mid X) p ( Y ∣ X ) can be coupled, so this excess covariate evidence also affects the posterior predictive distribution ([39 ] ). We further quantify the tradeoff between this misspecification and the gain in precision from repeated measurements.
Computationally, we investigate how count-dependent attention contributes to repetition harm in trained TabPFN-v3 (§ 5 ). Its learned attention scaling takes the number of context rows as an input, which increases with additional readings even when no sites are added. Resetting this count
while holding the table and model weights fixed largely reverses the prediction distortion in a noiseless linear diagnostic. Count changes also propagate through the representations used by subsequent attention operations. With noisy readings, repetition concentrates test-query attention on fewer sites, but restoring the one-reading query-attention weights helps only some targets; separate embedding-stage resets support a contribution from the computations that construct context representations. Count reset also attenuates the amplification of harm by irrelevant features, although a residual dimension effect remains.
Finally, we evaluate ways to retain the benefits of repeated measurements while limiting their harm (§ 6 ). Averaging responses at each measured input improves on using one response in the settings examined, and increasingly outperforms supplying all responses as separate rows as repetition grows. Resetting the internal row count reduces low-noise harm but also weakens the benefits of additional measurements at higher noise. Averages alone omit information about unequal measurement precision and variation in future responses, motivating summaries that also retain repetition counts and within-input variation. In addition, in three tested TabPFN-v3 fine-tuning recipes, improvements when using all responses as separate rows come at the expense of accuracy on averaged responses (§ 7 ).
The central finding is that information from additional independent readings can be beneficial at measured sites yet harmful to predictions elsewhere. Aggregation comparisons and count interventions show that how a learner represents and processes repeated readings matters alongside their information content.
Setup and Representation Equivalence
Observation protocol and prediction target. At m m m distinct sites X 1 , … , X m ∈ R d X_1,\ldots,X_m \in\mathbb{R}^d X 1 , … , X m ∈ R d we observe Y i j = f ( X i ) + σ i ϵ i j Y_{ij}=f(X_i)+\sigma_i\epsilon_{ij} Y ij = f ( X i ) + σ i ϵ ij for j = 1 , … , r i j=1,\ldots,r_i j = 1 , … , r i . Conditional on the function and sites, the errors are independent with mean zero and variance one. There are n = ∑ i r i n=\sum_i r_i n = ∑ i r i readings; balanced counts r i = r r_i=r r i = r give n = m r n=mr n = m r . The noise variance of a site mean is σ i 2 / r i \sigma_i^2/r_i σ i 2 / r i . We use mean squared error (MSE) to measure how additional readings at fixed sites affect prediction of f ( x ∗ ) f(x_*) f ( x ∗ ) at fresh inputs.
How conventional learners use repeated readings. Many conventional learners accept sample weights. Let S = { ( x k , y k ) } k = 1 ∣ S ∣ S=\{(x_k,y_k)\}_{k=1}^{|S|} S = {( x k , y k ) } k = 1 ∣ S ∣ be a dataset and w ∈ ( 0 , ∞ ) ∣ S ∣ w\in(0,\infty)^{|S|} w ∈ ( 0 , ∞ ) ∣ S ∣ a vector of sample weights; an ordinary fit uses w = 1 w=1 w = 1 . A learning algorithm that accepts sample weights maps ( S , w ) (S,w) ( S , w ) and a random seed ω \omega ω to a predictor A ( S , w , ω ) \mathcal{A}(S,w,\omega) A ( S , w , ω ) . The readings give two datasets: D = { ( X i , Y i j ) } i ≤ m , j ≤ r i \mathcal{D} = \{(X_i, Y_{ij})\}_{i\le m,\,j\le r_i} D = {( X i , Y ij ) } i ≤ m , j ≤ r i , which contains every reading, and D ‾ = { ( X i , Y ‾ i ) } i ≤ m \overline{\mathcal{D}} = \{(X_i,\overline{Y}_i)\}_{i\le m} D = {( X i , Y i ) } i ≤ m , which contains the site means Y ‾ i = r i − 1 ∑ j Y i j \overline{Y}_i = r_i^{-1}\sum_j Y_{ij} Y i = r i − 1 ∑ j Y ij . With r = ( r 1 , … , r m ) \mathbf{r}=(r_1,\ldots,r_m) r = ( r 1 , … , r m ) , the inputs ( D , 1 ) (\mathcal{D},\mathbf{1}) ( D , 1 ) and ( D ‾ , r ) (\overline{\mathcal{D}},\mathbf{r}) ( D , r ) both place total weight r i r_i r i at site X i X_i X i .
Under squared loss, a site’s readings enter through their mean and count, up to a constant independent of the predictor. To make this precise, fix a function φ : R d → [ 0 , ∞ ) \varphi:\mathbb{R}^d\to[0,\infty) φ : R d → [ 0 , ∞ ) that localizes the fit and a predictor g g g , and define the weighted squared loss L φ ( g ; S , w ) = ∑ k w k φ ( x k ) { y k − g ( x k ) } 2 L_\varphi(g;\mathcal{S},\mathbf{w})=\sum_k w_k\varphi(x_k)\{y_k-g(x_k)\}^2 L φ ( g ; S , w ) = ∑ k w k φ ( x k ) { y k − g ( x k ) } 2 . A region A A A of the covariate space corresponds to φ = 1 A \varphi=\mathbf{1}_A φ = 1 A , a kernel smoother at x x x to φ = K h ( x − ⋅ ) \varphi=K_h(x-\cdot) φ = K h ( x − ⋅ ) , and a global fit to φ ≡ 1 \varphi\equiv1 φ ≡ 1 . Expanding about each site mean gives
L φ ( g ; D , 1 ) = L φ ( g ; D ‾ , r ) + ∑ i φ ( X i ) W i , (1) L_\varphi(g;\mathcal{D},\mathbf{1})=L_\varphi(g;\overline{\mathcal{D}},\mathbf{r})+\sum_i\varphi(X_i)W_i, \tag*{(1)} L φ ( g ; D , 1 ) = L φ ( g ; D , r ) + i ∑ φ ( X i ) W i , (1)
where W i = ∑ j ( Y i j − Y ‾ i ) 2 W_i=\sum_j(Y_{ij}-\overline{Y}_i)^2 W i = ∑ j ( Y ij − Y i ) 2 . Since the last sum does not depend on g g g , we immediately see that when A \mathcal{A} A is empirical risk minimization over a function class, we have the invariance A ( D , 1 , ω ) = A ( D ‾ , r , ω ) \mathcal{A}(\mathcal{D},\mathbf{1},\omega)=\mathcal{A}(\overline{\mathcal{D}},\mathbf{r},\omega) A ( D , 1 , ω ) = A ( D , r , ω ) . In fact, this algorithmic invariance can be stated more broadly.
Proposition 1 (Algorithmic invariance). Let A \mathcal{A} A accept sample weights, and suppose it depends on its input only through the total weight at each distinct covariate value and through differences L φ ( g ; ⋅ ) − L φ ( g ′ ; ⋅ ) L_\varphi(g;\cdot)-L_\varphi(g';\cdot) L φ ( g ; ⋅ ) − L φ ( g ′ ; ⋅ ) for nonnegative functions φ \varphi φ of the covariates and predictors g , g ′ g,g' g , g ′ . Then A ( D , 1 , ω ) = A ( D ‾ , r , ω ) \mathcal{A}(\mathcal{D},\mathbf{1},\omega)=\mathcal{A}(\overline{\mathcal{D}},\mathbf{r},\omega) A ( D , 1 , ω ) = A ( D , r , ω ) .
The conditions hold for squared-error regression trees and gradient boosting with weighted leaf values, no row subsampling and leaf-size constraints measured in total weight, and for Nadaraya–Watson and local polynomial regression with a fixed bandwidth (Appendix A.2). Applied inside the Gaussian likelihood, (1) gives a GP counterpart. With a fixed kernel and known noise variances σ i 2 \sigma_i^2 σ i 2 , the GP posterior given D \mathcal{D} D equals that given D ‾ \overline{\mathcal{D}} D with noise variances σ i 2 / r i \sigma_i^2/r_i σ i 2 / r i , which play the role of the weights r \mathbf{r} r (Appendix A.2). On the other hand, the conditions fail for a forest that bootstraps rows and for any rule that counts rows, such as an optimizer whose number of steps grows with the table.
While Proposition 1 does not guarantee that extra readings improve prediction, it explains why they usually do for these learners: under the reduction, extra readings reach the learner only as more precise site means. In fact, for balanced counts, any linear smoother f ^ ( x ) = ∑ i ℓ i ( x ) Y ‾ i \widehat{f}(x)=\sum_i\ell_i(x)\overline{Y}_i f ( x ) = ∑ i ℓ i ( x ) Y i whose weights depend only on the sites has nonincreasing squared-error risk with r r r : its squared bias is unchanged and its variance is r − 1 ∑ i ℓ i ( x ) 2 σ i 2 r^{-1}\sum_i\ell_i(x)^2\sigma_i^2 r − 1 ∑ i ℓ i ( x ) 2 σ i 2 . The decrease is strict when ∑ i ℓ i ( x ) 2 σ i 2 > 0 \sum_i\ell_i(x)^2\sigma_i^2>0 ∑ i ℓ i ( x ) 2 σ i 2 > 0 . This includes a tree with a fixed partition and a Nadaraya–Watson estimator with a fixed bandwidth.
A TFM has no weight input, so it receives the readings either as separate rows, ( D , 1 ) (\mathcal{D},\mathbf{1}) ( D , 1 ) , or as unweighted means, ( D ‾ , 1 ) (\overline{\mathcal{D}},\mathbf{1}) ( D , 1 ) , which fails the condition of Proposition 1. Nothing then ensures that extra readings act only through more precise site means, and Section 3 shows that for several TFMs they do not: predictions improve at the measured sites but worsen between them.
When Repetition Hurts
Experimental comparisons. We compare two fits of the same readings: one reading per site, the first (Single , ( D 1 , 1 ) (\mathcal{D}_1,\mathbf{1}) ( D 1 , 1 ) ), and all readings as separate rows (Expanded , ( D , 1 ) (\mathcal{D},\mathbf{1}) ( D , 1 ) ). An increase in MSE of Expanded over Single is repetition harm . One mean per site (Mean , ( D ‾ , 1 ) (\overline{\mathcal{D}},\mathbf{1}) ( D , 1 ) ) is an averaging alternative further investigated in Section 6.
Models and evaluation. We study TabPFN-v3 [16 ] , TabPFN-v3.5 [25 ] , TabFM [15 ] , TabDPT (Ma et al., 2025), LimiX-2 [44 ] and TabICLv2 (Qu et al., 2026), each in its shipped configuration with no tuning and with the whole table in context, beside a Gaussian process (GP) fitted on the rows, gradient boosting, a random forest and an MLP. Synthetic tasks use six one-dimensional functions and three multivariate families, each standardised to unit variance; semi-synthetic tasks keep the covariates of five real datasets and generate independent readings around a teacher that is not a TFM and was fitted on disjoint data. Ten real datasets with repeated measurements then test the same comparison on actual readings (Section 3.3). Checkpoints, ensemble sizes and context handling are recorded in Appendix C.
TFM Deterioration under Repetition
On one quadratic design (Figure 1), every learner receives the same Expanded table as r r r grows from one to 256; we report the median over twenty seeds of each seed’s MSEr _{r} r /MSE1 _{1} 1 , measured against the true f f f on a 400-point grid (Appendix C). At four readings all six TFMs are below their one-reading error (0.43–0.88). TabPFN-v3, TabPFN-v3.5 and LimiX-2 then rise above it from eight readings on and end 3.2 to 5.3 times higher at 256; TabICLv2 and TabDPT cross only at thirty-two and end at 1.6 and 1.8. TabFM, whose one-reading error is the highest of the ten learners, keeps a gain (0.84 at 256). The conventional learners do not deteriorate: the GP falls to 0.02 of its one-reading error and the MLP to 0.48, while boosting and the random forest gain a little (0.94 and 0.88).
With 64 readings TabPFN-v3 still passes through the site means but bends away from the truth between them (Figure 1 , top).
Figure 1. More readings, worse predictions between the sites. Top: TabPFN-v3 on one design (quadratic, twelve sites, noise SD 0.10) with one reading per site (blue) and 64 per site as rows (red); dots are the site means. Bottom: median over twenty seeds of each seed’s MSE(r r r )/MSE(1) for the six TFMs and the four conventional learners. Raw errors and all six TFMs’ fits are in Appendix Table 12 and Figure 6 .
Figure 6. Fitted functions on the left design of Figure 1 (quadratic, twelve sites, noise SD 0.10) with one reading per site (blue) and 64 readings per site entered as rows (orange); the numbers in each panel are the two errors. The points are the site means at r = 64 r = 64 r = 64 , which every model passes through; the changes are between them.
Noise and Coverage Reduce Repetition Harm; Irrelevant Features Amplify It
We compare Expanded at r = 64 r = 64 r = 64 with Single ; the one-dimensional default uses twelve random sites and noise SD 0.15, and on real covariates the noise SD is 0.25 times the teacher’s residual SD (Appendix § 11 ). In the default one-dimensional setting, all six TFMs improve measured-site MSE in all 120 function–seed pairs, but the same predictors worsen MSE at gap midpoints in 16 (TabDPT) to 91 (LimiX-2) of them (Appendix Table 14).
Raising the noise SD from 0 to 0.5 lowers the harmed fraction for all six TFMs. Pooled over the six one-dimensional functions, the six models’ fractions range from 0.41–0.93 with noiseless copies to 0.08–0.62 at SD 0.5; TabPFN-v3’s falls from 0.83 to 0.08, while LimiX-2 remains harmed in most pairs at the highest noise tested. The fraction counts any increase, however small: TabFM’s median copy/Single ratios stay within 1% of one (Appendix Table 22).
Starting from the default twelve sites, denser coverage reduces repetition harm on the quadratic target: the harmed-seed count is nonincreasing across m = 12 , 24 , 48 , 96 m = 12, 24, 48, 96 m = 12 , 24 , 48 , 96 for all six TFMs (Appendix Table 15); for TabPFN-v3 the harmed counts fall from 16/20 to 8/20, 1/20 and 0/20. On real covariates in eight to eleven dimensions, 96 sites still leave 0.35–0.74 of dataset–seed pairs harmed across the six TFMs (Figure 2 ).
Figure 2. Fraction of the twenty paired seeds, pooled over functions or covariate datasets, in which Expanded at r = 64 r = 64 r = 64 has higher fresh-input MSE than Single (TFMs above the line, conventional learners below; RF: random forest, GBDT: gradient boosting). Synthetic tasks are scored on a grid (one dimension) or fresh draws, semi-synthetic tasks on held-out rows. The irrelevant-features panel fixes a function of two coordinates and adds ignored ones. Real data: twenty splits at the largest count R R R , scored against held-out site means and ordered by within-site SD ratio (§ 3.3 ).
Irrelevant features act in the opposite direction. One function of two coordinates is kept fixed, together with its sites, readings and target, and three and then eight independent coordinates that it ignores are appended, so the prediction problem gains no active dimension. TabPFN-v3’s harmed fraction rises from 0.75 to 0.95 (Figure 2 ), and its median paired Expanded /Single ratio at 64 readings from 1.60 to 3.15; LimiX-2 goes from 1.11 to 3.06 and TabDPT from a gain (0.97) to a loss (1.72), while TabPFN-v3.5 shows no amplification (1.00, 1.00, 1.04; Appendix Table 16). Mean is not amplified in the same way: its error also grows with the added columns, but it is worse than Single in at most four of twenty seeds in every model, which ties the amplification to the rows.
Conventional learners are harmed less often. Counting a design as harmed when Expanded loses in at least 11 of its 20 seeds, boosting, the MLP and the GP have no harmed one-dimensional designs out of 60 (the forest 10); across all 114 designs boosting and the MLP are harmed in 6 and 8, against 25–73 for the TFMs, and the forest, which bootstraps rows (§ 2 ), in 53 (Appendix Table 13). The GP is harmed in 19 of the 45 real-covariate designs, within the TFM range of 17–34.
Real-data Harm Concentrates at Low Within-site SD Ratios
We use ten public datasets in which a recorded covariate vector was measured more than once (Appendix § 11 .§ 3 ): five computer experiments that repeat a run at a fixed configuration ([34 , 41 , 42 , 26 , 13 ] ), three physical or biological experiments ([6 , 20 , 19 ] ) and two surveys ([8 , 2 ] ).
Since no dataset records a grouping beyond the site, such as a lab, batch or subject shared across sites, we believe unit-specific effects should be relatively small (Appendix § 11 .§ 3 ). Each dataset is split by site into context and test halves twenty times, the readings per context site are equalised by subsampling, and the target at a test site is the mean of all its readings. The datasets are ordered by their within-site SD ratio, the pooled within-site SD divided by the SD of all readings; a low ratio means the readings at a site agree closely relative to the spread of all readings.
The controlled experiments predict harm where one reading is already precise relative to the differences between sites, and that is where it appears (Figure 2 , final panel). In the four datasets with the smallest within-site SD ratios, 21 of 24 model–dataset pairs are worse on most splits. On SGEMM, whose four runs of a configuration differ by one percent of the spread, the rows are nearly copies: TabICLv2 goes from 0.112 to 0.232 and TabDPT from 0.086 to 0.162. In the other six datasets, whose within-site SD ratios are at least 0.20, the rows help on most splits in 32 of 36 pairs and hurt in 3: TabPFN-v3.5 on superconductivity, and TabICLv2 and TabFM on wages.
Conventional learners provide a reference: on the four lowest-ratio datasets boosting’s median paired Expanded /Single ratio stays within 0.99–1.02, while the forest, which bootstraps rows, the MLP, whose updates grow with the rows, and the row-fitted GP are harmed by up to 1.30, 1.11 and 1.58, against up to 2.34 for the TFMs. For the GP, kernel estimation and dependence between readings are candidate explanations.
for r r r readings at each of m m m sites. Let D r D_r D r denote this balanced table, the D \mathcal{D} D of Section 2 with r i = r r_i = r r i = r . Drawing sites once from p θ ( x ) p_\theta(x) p θ ( x ) gives
Π r e p ( d θ ∣ D r ) ∝ Π ( d θ ) L X L Y , (2) \Pi_{\mathrm{rep}}(d\theta\mid D_r) \propto\Pi(d\theta)L_XL_Y, \tag*{(2)} Π rep ( d θ ∣ D r ) ∝ Π ( d θ ) L X L Y , (2)
whereas treating every row as a fresh joint draw gives
Π I I D ( d θ ∣ D r ) ∝ Π ( d θ ) L X r L Y . (3) \Pi_{\mathrm{IID}}(d\theta\mid D_r) \propto\Pi(d\theta)L_X^rL_Y. \tag*{(3)} Π IID ( d θ ∣ D r ) ∝ Π ( d θ ) L X r L Y . (3)
If sites are fixed externally or sampled independently of the task, the appropriate posterior is instead proportional to Π ( d θ ) L Y \Pi(d\theta)L_Y Π ( d θ ) L Y . Thus the same prior and table can give different posteriors under different observation protocols. We next investigate how these differences can affect prediction.
Statistical Protocol Mismatch
Many TFMs are prior-data fitted networks (PFNs), which are pretrained to approximate Bayesian prediction under a joint IID observation model (Müller et al., 2022, § 3 ). We show how even applying this idealized prediction rule, without any approximation error from trained TFMs, can cause harm when there are repeated measurements.
Two observation protocols for the same table. The joint IID rule counts each reading as evidence about both its response and its site; repeated measurement selects the site once and measures only the response again. Let θ ∼ Π \theta\sim\Pi θ ∼ Π index p θ ( x ) p θ ( y ∣ x ) p_\theta(x)p_\theta(y \mid x) p θ ( x ) p θ ( y ∣ x ) , and write L X ( θ ) = ∏ i p θ ( X i ) L_X(\theta) = \prod_i p_\theta(X_i) L X ( θ ) = ∏ i p θ ( X i ) and L Y ( θ ) = ∏ i , j p θ ( Y i j ∣ X i ) L_Y(\theta) = \prod_{i,j} p_\theta(Y_{ij} \mid X_i) L Y ( θ ) = ∏ i , j p θ ( Y ij ∣ X i ) for r r r readings at each of m m m sites.
Measurement gain versus protocol mismatch cost. Extra readings at each site can improve the precision of site means, but potentially incur a cost from protocol mismatch. To quantify the tradeoff, we compare the posterior means of both the repeated-measurement protocol and the IID protocol, computing their Bayesian risks under the former’s sampling law, which averages over both the random function F ( x ) = ∫ y p ( y ∣ x ) d y F(x) = \int y p(y \mid x)\,dy F ( x ) = ∫ y p ( y ∣ x ) d y , with realizations f f f , generated by θ ∼ Π \theta\sim\Pi θ ∼ Π and the data collected under that protocol.
Proposition 2 (Gain–cost identity). *Fix a query point x ∗ x_* x ∗ and suppose E r e p [ F ( x ∗ ) 2 ] < ∞ \mathbb{E}_{\mathrm{rep}}[F(x_*)^2] < \infty E rep [ F ( x ∗ ) 2 ] < ∞ . For s ∈ { 1 , r } s \in\{1,r\} s ∈ { 1 , r } , let D s D_s D s follow the repeated-measurement sampling law and define f ^ r e p , s ( x ∗ ) = E r e p [ F ( x ∗ ) ∣ D s ] \hat{f}_{\mathrm{rep},s}(x_*) = \mathbb{E}_{\mathrm{rep}}[F(x_*) \mid D_s] f ^ rep , s ( x ∗ ) = E rep [ F ( x ∗ ) ∣ D s ] . Let f ^ I I D , s ( x ∗ ) \hat{f}_{\mathrm{IID},s}(x_*) f ^ IID , s ( x ∗ ) be the posterior mean under the IID protocol, assumed square-integrable under the repeated-measurement sampling law. Define the risk, protocol mismatch cost, and
measurement gain by
R r e p ( g ) = E r e p { ( g ( x ∗ ) − F ( x ∗ ) ) 2 } , R_{\mathrm{rep}}(g)=\mathbb{E}_{\mathrm{rep}}\left\{(g(x_*)-F(x_*))^2\right\}, R rep ( g ) = E rep { ( g ( x ∗ ) − F ( x ∗ ) ) 2 } ,
C s = E r e p { ( f ^ I I D , s ( x ∗ ) − f ^ r e p , s ( x ∗ ) ) 2 } , C_s=\mathbb{E}_{\mathrm{rep}}\left\{(\widehat{f}_{\mathrm{IID},s}(x_*)-\widehat{f}_{\mathrm{rep},s}(x_*))^2\right\}, C s = E rep { ( f IID , s ( x ∗ ) − f rep , s ( x ∗ ) ) 2 } ,
B r = R r e p ( f ^ r e p , 1 ) − R r e p ( f ^ r e p , r ) . B_r=R_{\mathrm{rep}}(\widehat{f}_{\mathrm{rep},1})-R_{\mathrm{rep}}(\widehat{f}_{\mathrm{rep},r}). B r = R rep ( f rep , 1 ) − R rep ( f rep , r ) .
Then
R r e p ( f ^ I I D , r ) − R r e p ( f ^ I I D , 1 ) = C r − C 1 ⏟ change in protocol mismatch cost − B r ⏟ measurement gain . R_{\mathrm{rep}}(\widehat{f}_{\mathrm{IID},r})-R_{\mathrm{rep}}(\widehat{f}_{\mathrm{IID},1})
=
\underbrace{C_r-C_1}_{\text{change in protocol mismatch cost}}
-
\underbrace{B_r}_{\text{measurement gain}}. R rep ( f IID , r ) − R rep ( f IID , 1 ) = change in protocol mismatch cost C r − C 1 − measurement gain B r .
The proof is deferred to Appendix § 9 .§ 3 , where we also show that B r ≥ 0 B_r \ge0 B r ≥ 0 .
Coupling permits a positive protocol mismatch cost. Suppose θ = ( θ X , θ Y ) \theta=(\theta_X,\theta_Y) θ = ( θ X , θ Y ) , with p θ ( x ) = p θ X ( x ) p_\theta(x)=p_{\theta_X}(x) p θ ( x ) = p θ X ( x ) , p θ ( y ∣ x ) = p θ Y ( y ∣ x ) p_\theta(y\mid x)=p_{\theta_Y}(y\mid x) p θ ( y ∣ x ) = p θ Y ( y ∣ x ) and independent priors on the two indices. The covariate likelihood then cancels when computing Bayes’ rule, giving C r = 0 C_r=0 C r = 0 . On the other hand, most PFNs utilize structural causal model (SCM) priors, with responses generated from a randomly selected target node. This makes the prediction rule anticausal, which can couple the randomness in θ X \theta_X θ X and θ Y \theta_Y θ Y ([22 , 16 , 39 ] ). Extra covariate evidence can then shift posterior weights between models p θ p_\theta p θ and p θ ′ p_{\theta'} p θ ′ that agree at the measured sites but predict differently elsewhere. Under the repeated-measurement law, C r > 0 C_r>0 C r > 0 precisely when the IID rule and the correct repeated-measurement rule give different posterior means for the query target with positive probability.
A construction exhibiting repetition harm. A construction in the appendix makes the tradeoff explicit. The response at a new query combines a component determined by the function values at the measured sites with a separate binary task component. Additional readings improve estimation of the first component. The covariates provide noisy information about the second: the correct posterior accounts for that noise, whereas the IID rule increasingly overweights the same evidence, making its prediction too sensitive to chance fluctuations. This increases its average squared error relative to the correct posterior mean. When reading noise is small and the covariates are only weakly informative about the binary component, an approximation shows that measurement gain is proportional to 1 − 1 / r 1-1/r 1 − 1/ r , while mismatch cost is proportional to ( r − 1 ) 2 (r-1)^2 ( r − 1 ) 2 , for fixed repetition counts. Changing the relative strengths of reading noise and covariate information changes when mismatch cost overtakes measurement gain, allowing harm from the second reading, initial improvement followed by harm, or improvement throughout the tested range. These possibilities qualitatively match the different responses to repetition observed across models and tasks in § 3.1 . The appendix specifies the model, approximation, and resulting thresholds (Proposition 3 ; binary example and numerical checks in Appendix § 10 .§ 6 ).
Computational Mechanisms of Repetition Harm in TabPFN-v3
§ 4 shows that protocol mismatch can produce harm even under exact inference. Here we investigate how the internal computation in frozen TabPFN-v3 can produce harm, without assuming that it implements exact Bayesian inference.
Architecture and a count-dependence hypothesis. In the TabPFN-v3 regressor, count-dependent attention appears in three feature-distribution embedding modules and 24 in-context learning (ICL) layers. In the former, learned inducing queries attend over training rows of a column; in the latter, both training-row and test-query states attend over training rows. Query-aware scalable softmax (QASS) uses row count to scale attention queries ([31 , 16 ] ). With m m m sites and r r r readings per site, this count grows from m m m to m r mr m r without adding sites. We hypothesize that the resulting changes in attention computation contribute to repetition harm. To test this hypothesis, we apply a full count reset, which sets the count supplied to all 27 scaling modules to m m m , leaving all other dataset and model parameters unchanged.
Does count reset reverse harm? We first use noiseless readings, so repetition duplicates rows without adding information. For a linear target, copying each row 64 times flattens TabPFN-v3’s fit near measured sites and steepens it between them. Full count reset largely restores the linear shape and reduces MSE within the range of measured sites from 1.3 × 10 − 3 1.3 \times10^{-3} 1.3 × 1 0 − 3 to 6.5 × 10 − 5 6.5 \times10^{-5} 6.5 × 1 0 − 5 (twelve sites, six site draws, one ensemble member; Table 21 ). A combined control additionally matches row identifiers and variance normalization, recovering the one-reading predictions within a maximum difference of 4.4 × 10 − 5 4.4 \times10^{-5} 4.4 × 1 0 − 5 in all six cases (Appendix § 13 .8). Thus count reset reverses much of the distortion in these settings, while other implementation details account for the remaining difference.
Table 21. Linear exact-copy interventions on the same table and model weights. Twelve sites, 64 copies, six site seeds, one ensemble member; arithmetic means over six cells.
Locating the effect: attention weights and token representations. Changing the row count supplied to a QASS module has a direct effect: it changes the attention weights within that module. It also has indirect effects: the module’s changed output alters the token representations passed to later layers, potentially changing their queries, keys, values, and attention weights. We first examine the most visible change, in the attention weights with which test queries read the training rows, and then ask whether it accounts for the harm.
With noisy readings, repetition concentrates test-query attention on fewer sites. We quantify this by pooling the normalized attention weights over the readings at each site:
ω i ( x ) = ∑ j a i j ( x ) , n e f f ( x ) = 1 ∑ i ω i ( x ) 2 . (4) \omega_i(x) = \sum_j a_{ij}(x), \qquad n_{\mathrm{eff}}(x) = \frac{1}{\sum_i \omega_i(x)^2}. \tag*{(4)} ω i ( x ) = j ∑ a ij ( x ) , n eff ( x ) = ∑ i ω i ( x ) 2 1 . (4)
This effective number of attended sites equals m m m for uniform site weights and falls as attention concentrates ([21 ] ). At noise SD 0.05, the median n e f f n_{\mathrm{eff}} n eff in four late ICL layers falls from 4.7–6.8 with one reading to 2.3–3.8 with 64 readings. Full reset reverses this concentration and reduces fresh-input MSE from 0.051 to 0.010, compared with 0.017 for Single (120 cells: six functions × twenty seeds; Table 10 ); Figure 3 illustrates both changes.
Figure 3. Full count reset on a fixed table of readings: TabPFN-v3, quadratic target, 12 sites, 64 independent readings, SD 0.05, one ensemble member, 201 shared queries. (a) Prediction minus truth; zero means correct prediction and grey ticks mark sites. (b) Site-pooled n e f f n_{\mathrm{eff}} n eff minus Single , after the median over heads/ICL operations at each query; zero matches Single ’s concentration. Single ’s query median is 11.06 (uniform: 12). Full count reset sets all count inputs to 12.
Table 10. Site-pooled attention in TabPFN-v3 and fresh-input MSE.
These observations do not establish that attention concentration explains the harm: concentration occurs both when repetition helps and when it hurts. At noise SD 0.05, of the 112 cells where attention concentrates, 74 are harmed and 38 improved (Table 11 ). We therefore test whether restoring the one-reading attention pattern reduces error. In a separate probe (72 cells), we transplant the one-reading test-query-to-training-row attention weights into all 24 ICL layers, spreading each site’s weight uniformly over its readings and letting all other computation follow the pass with all readings. This matches the one-reading site weights in every ICL layer, but reduces error in only 18 of 40 harmed cells and closes at least half the gap in 11. It helps all twelve step-function cells but none of the sixteen quadratic cells (Appendix § 13 .10). Restoring query-attention weights is therefore insufficient in many cases. In a separate probe pooling noiseless and noisy readings, resetting only the counts in the three feature-distribution embedding modules lowers median quadratic error from 0.183 to 0.066. Together, these results support a contribution from computations that construct the representations read by test queries.
Table 11. Attention concentration and prediction error counts; the first two columns are for n e f f ↓ n_{\mathrm{eff}} \downarrow n eff ↓ and the last two for n e f f ↙ n_{\mathrm{eff}} \swarrow n eff ↙ .
Revisiting the irrelevant-feature effect. We apply full count reset to Section 3.2’s experiment, retaining all readings and features (m = 24 m = 24 m = 24 , r = 64 r = 64 r = 64 , SD 0.15). Median paired error ratios relative to Single fall from 1.60, 3.10, and 3.15 to 1.045, 1.051, and 1.151 at dimensions 2, 5, and 10, respectively (Table 5 ). Full count reset substantially attenuates the amplification with irrelevant features, although a residual dimension effect remains. Section 6 evaluates its practical limits: resetting the count can also reduce the benefit of additional noisy readings.
Table 5. TabPFN-v3 with irrelevant features: median paired fresh-input MSE ratios to Single , and cells in which full count reset beats Expanded . Each dimension has twenty seed cells; all arms share the sites, readings and queries within a cell.
Practical Responses and Their Limits
Count reset suppresses harm and useful gains. Full count reset retains Expanded ’s readings but fixes all count inputs to m m m . In TabPFN-v3’s standard eight-member ensemble (m = 12 m = 12 m = 12 , r = 64 r = 64 r = 64 ), it reduces low-noise harm but loses gains at higher noise: at SD 0.30 and 0.50, it is worse than Expanded (Table 1 ).
Table 1. Count reset against averaging, TabPFN-v3, r = 64 r = 64 r = 64 : median MSE at fresh inputs over the six one-dimensional functions and twenty seeds (m = 12 m = 12 m = 12 , eight ensemble members), and cells (of 120) in which Mean beats full count reset. At SD 0, Mean equals Single .
On real data, reset returns error near Single where Expanded hurts TabPFN-v3 (three datasets among the four lowest within-site SD ratios), but is worse than Expanded on most splits in all seven datasets where Expanded helps (Appendix Table 4). Averaging keeps m m m rows while more accurate site values carry the measurement gain.
Averaging retains precision gains with less bias. With balanced counts, Mean ’s marginal median MSE is below Single ’s for all six models on one-dimensional synthetic and semi-synthetic tasks at r = 4 , 64 r = 4, 64 r = 4 , 64 (m = 12 m = 12 m = 12 , default noise). Expanded beats Mean in six of twelve model–task-type medians at r = 4 r = 4 r = 4 , but only one at r = 64 r = 64 r = 64 : one-dimensional TabFM (Appendix Table 19).
Both representations reduce prediction variance across independent reading banks; their biases differ. With eight banks of 64 readings at fixed sites, Expanded ’s median squared bias exceeds Mean ’s for five of six models at both one-dimensional noise SDs (0.15, 0.50), and all six on semi-synthetic tasks. TabFM is the one-dimensional exception (Appendix Tables 6–7). In one dimension, Mean also lowers squared bias relative to Single for every model: the benefit extends beyond reduced sensitivity to reading noise.
On real data, Mean beats Expanded on most splits in 20/24 model–dataset pairs at the four lowest within-site SD ratios, versus 20/36 elsewhere (§ 3.3 ). Averaging supplies more accurate site values; explicit precision information could help learners exploit this gain.
What site means omit: counts and within-site variation. Mean omits counts and within-site variances. Under independent homoscedastic noise,
Var ( Y ˉ i ∣ X i ) = σ 2 r i . \operatorname{Var}(\bar{Y}_i \mid X_i) = \frac{\sigma^2}{r_i}. Var ( Y ˉ i ∣ X i ) = r i σ 2 .
A learner that overestimates this noise could oversmooth the means, underusing their precision. Under unequal counts, paired GP fits ([3 ] ) use identical means and pooled reading variance σ ^ 2 \hat{\sigma}^2 σ ^ 2 , estimating kernel parameters in each. Replacing common noise variance σ ^ 2 / r ˉ \hat{\sigma}^2/\bar{r} σ ^ 2 / r ˉ with σ ^ 2 / r i \hat{\sigma}^2/r_i σ ^ 2 / r i lowers median MSE from 0.068 to 0.023 at reading-noise SD 0.15; r ˉ \bar{r} r ˉ is the mean count (Appendix § 13 .§ 6 ).
Copying each mean r i r_i r i times encodes multiplicity; replacing copies with readings adds within-site variation. Copies raise error for TabPFN-v3, TabPFN-v3.5 and LimiX-2 in both task types but help TabFM in both and TabDPT on semi-synthetic tasks. Replacing copies with readings helps 4/6 models in one dimension under the random and clustered count schemes, but worsens 11/12 semi-synthetic model–scheme cases (Appendix Table 9).
Future readings carry noise variance σ 2 \sigma^2 σ 2 , versus σ 2 / r i \sigma^2/r_i σ 2 / r i for site means. Gaussian MeanRestored (MR) adds pooled reading variance to a Gaussian fit of Mean ’s quantiles:
F M R = N ( q 0.5 , [ q 0.95 − q 0.05 2 Φ − 1 ( 0.95 ) ] 2 + σ ^ 2 ) , (5) F_{\mathrm{MR}} = \mathcal{N}\left(q_{0.5}, \left[\frac{q_{0.95}-q_{0.05}}{2\Phi^{-1}(0.95)}\right]^2 + \hat{\sigma}^2\right), \tag*{(5)} F MR = N ( q 0.5 , [ 2 Φ − 1 ( 0.95 ) q 0.95 − q 0.05 ] 2 + σ ^ 2 ) , (5)
where q α q_{\alpha} q α is Mean ’s predictive α \alpha α -quantile at fresh x x x , and Φ \Phi Φ the standard normal CDF; MSE retains Mean ’s native point predictions (Appendix § 12 .§ 4 ). For four quantile-output models with Gaussian homoscedastic noise (r = 64 r = 64 r = 64 ), one-dimensional 90% coverage rises from 43–68% to 92–96%; median paired MR/Mean quantile-approximated CRPS ratios ([14 ] ) are 0.906–0.988. Semi-synthetic coverage starts at 84–93%, with ratios 0.990–1.005, including slight deterioration. Median paired MR/Expanded CRPS ratios are below one in all eight model–task-type comparisons (Table 8 ); restoration helps most where Mean undercovers strongly.
Table 8. Future-reading prediction at fresh inputs, r = 64 r = 64 r = 64 , under Gaussian, homoscedastic reading noise. Coverage entries are median probabilities for nominal 90% intervals; CRPS entries are median paired ratios of Gaussian MR to the named comparator, using the 19-quantile approximation (lower is better). Each model has 120 function–seed and 100 real-covariate dataset–seed pairs, with m = 12 m = 12 m = 12 sites, noise SD 0.15 (synthetic) or residual-SD multiplier 0.25 (semi-synthetic), and 400 or 300 fresh queries, respectively. MR is defined in Equation (5) ; Single uses r = 1 r = 1 r = 1 . Exp. denotes Expanded . LimiX-2 and TabFM return point predictions only.
Discussion
Interpretation. Repeated readings make site estimates more precise but change how predictors use them. Statistically, counting input evidence once per reading reweights functions that agree at the sites, a protocol mismatch cost that precise readings leave little measurement gain to offset, while denser coverage bounds the remaining disagreement. Computationally, TabPFN-v3’s row count alters site attention and internal encodings. Our reference concerns observation-protocol misspecification; response-model misspecification can likewise make Bayesian inference worse as data accumulate ([17 ] ).
Design implications. The count-reset tradeoff, the GP precision comparison and the copies-versus-readings contrast suggest giving TFMs site means, counts and within-site variances as separate inputs; variances would also inform future-reading uncertainty. We hypothesize that separating these inputs would retain measurement gains without using row count to convey precision. None of three exploratory TabPFN-v3 fine-tuning recipes improved Expanded without degrading Mean (Appendix Table 23). A kernel-weighted prediction layer like KernelICL’s ([29 ] ) is one route to such site-aware weighting.
Future directions. A direct test of this hypothesis would train these inputs under a prior that draws sites once and readings within sites, scoring latent-function error and future-reading coverage. Connecting the protocol mismatch cost to specific count and encoding interventions could help predict when additional readings are useful. Extending the prior to shared unit-specific effects would cover correlated readings. For sequential designs that choose between replicating a site and exploring a new one ([4 ] ), the choice would then also depend on how replicates are represented.
Acknowledgements
Qiong Zhang is supported by the National Key R&D Program of China Grant 2024YFA1015800. Yan Shuo Tan is supported by NUS Start-up Grant A-8000448-00-00 and MOE AcRF Tier 1 Grant A-8002498-00-00. Additionally, Bibhas Chakraborty and Yan Shuo Tan are supported by MOE AcRF Tier 1 Grant A-8004458-00-00. This work was conducted while Qiong Zhang was at the Institute of Statistics and Big Data, Renmin University of China. Qiong Zhang is now affiliated with Mohamed bin Zayed University of Artificial Intelligence.
We used generative AI tools to assist with literature review, theoretical development and proof writing, experimental design and implementation, result analysis, and manuscript drafting and editing. The authors take responsibility for the final content of the manuscript.
Proofs
We write ∑ i ∈ A \sum_{i\in A} ∑ i ∈ A for the sum over sites with X i ∈ A X_i \in A X i ∈ A , and n A : = ∑ i ∈ A r i n_A := \sum_{i\in A} r_i n A := ∑ i ∈ A r i .
Regional reduction
Statement. For a region A A A and a function g g g , write, in the notation of § 2 with φ = 1 A \varphi= \mathbf{1}_A φ = 1 A , L A ( g ) : = L 1 A ( g ; D , 1 ) = ∑ i ∈ A ∑ j ( Y i j − g ( X i ) ) 2 L_A(g) := L_{\mathbf{1}_A}(g; \mathcal{D}, \mathbf{1}) = \sum_{i\in A}\sum_j (Y_{ij} - g(X_i))^2 L A ( g ) := L 1 A ( g ; D , 1 ) = ∑ i ∈ A ∑ j ( Y ij − g ( X i ) ) 2 , L ˉ A ( g ) : = L 1 A ( g ; D ˉ , r ) = ∑ i ∈ A r i ( Y ˉ i − g ( X i ) ) 2 \bar{L}_A(g) := L_{\mathbf{1}_A}(g; \bar{\mathcal{D}}, r) = \sum_{i\in A} r_i(\bar{Y}_i - g(X_i))^2 L ˉ A ( g ) := L 1 A ( g ; D ˉ , r ) = ∑ i ∈ A r i ( Y ˉ i − g ( X i ) ) 2 and C A : = ∑ i ∈ A W i C_A := \sum_{i\in A} W_i C A := ∑ i ∈ A W i . Then
L A ( g ) = L ˉ A ( g ) + C A . (6) L_A(g) = \bar{L}_A(g) + C_A. \tag*{(6)} L A ( g ) = L ˉ A ( g ) + C A . (6)
(a) C A C_A C A does not depend on g g g ; hence L A ( g ) − L A ( g ′ ) = L ˉ A ( g ) − L ˉ A ( g ′ ) L_A(g) - L_A(g') = \bar{L}_A(g) - \bar{L}_A(g') L A ( g ) − L A ( g ′ ) = L ˉ A ( g ) − L ˉ A ( g ′ ) , and for any parametrisation β ↦ g β \beta\mapsto g_\beta β ↦ g β the derivatives of L A ( g β ) L_A(g_\beta) L A ( g β ) and L ˉ A ( g β ) \bar{L}_A(g_\beta) L ˉ A ( g β ) coincide wherever either exists. (b) If A 1 , … , A K A_1,\ldots,A_K A 1 , … , A K partition A A A , then ∑ k C A k = C A \sum_k C_{A_k} = C_A ∑ k C A k = C A ; hence for two partitions ( A k ) (A_k) ( A k ) , ( A l ′ ) (A'_l) ( A l ′ ) of A A A with predictors ( g k ) (g_k) ( g k ) , ( g l ′ ) (g'_l) ( g l ′ ) ,
∑ k L A k ( g k ) − ∑ l L A l ′ ( g l ′ ) = ∑ k L ˉ A k ( g k ) − ∑ l L ˉ A l ′ ( g l ′ ) . (7) \sum_k L_{A_k}(g_k) - \sum_l L_{A'_l}(g'_l) = \sum_k \bar{L}_{A_k}(g_k) - \sum_l \bar{L}_{A'_l}(g'_l). \tag*{(7)} k ∑ L A k ( g k ) − l ∑ L A l ′ ( g l ′ ) = k ∑ L ˉ A k ( g k ) − l ∑ L ˉ A l ′ ( g l ′ ) . (7)
No distributional assumption is made.
Proof. Fix a site i i i and put c = g ( X i ) c = g(X_i) c = g ( X i ) . Writing Y i j − c = ( Y i j − Y ˉ i ) + ( Y ˉ i − c ) Y_{ij} - c = (Y_{ij} - \bar{Y}_i) + (\bar{Y}_i - c) Y ij − c = ( Y ij − Y ˉ i ) + ( Y ˉ i − c ) ,
∑ j ( Y i j − c ) 2 = W i + 2 ( Y ˉ i − c ) ∑ j ( Y i j − Y ˉ i ) + r i ( Y ˉ i − c ) 2 = W i + r i ( Y ˉ i − c ) 2 , \begin{aligned}
\sum_j (Y_{ij} - c)^2 = W_i + 2(\bar{Y}_i - c)\sum_j (Y_{ij} - \bar{Y}_i) + r_i(\bar{Y}_i - c)^2 \\
&= W_i + r_i(\bar{Y}_i - c)^2,
\end{aligned} j ∑ ( Y ij − c ) 2 = W i + 2 ( Y ˉ i − c ) j ∑ ( Y ij − Y ˉ i ) + r i ( Y ˉ i − c ) 2 = W i + r i ( Y ˉ i − c ) 2 ,
since ∑ j ( Y i j − Y ˉ i ) = 0 \sum_j (Y_{ij} - \bar{Y}_i) = 0 ∑ j ( Y ij − Y ˉ i ) = 0 . Summing over i ∈ A i \in A i ∈ A gives (6) . (a) C A C_A C A involves the readings only, so it cancels in L A ( g ) − L A ( g ′ ) L_A(g) - L_A(g') L A ( g ) − L A ( g ′ ) , and L A ( g β ) − L ˉ A ( g β ) = C A L_A(g_\beta) - \bar{L}_A(g_\beta) = C_A L A ( g β ) − L ˉ A ( g β ) = C A is constant in β \beta β . (b) Each site of A A A lies in exactly one A k A_k A k , so ∑ k C A k = ∑ i ∈ A W i = C A \sum_k C_{A_k} = \sum_{i\in A} W_i = C_A ∑ k C A k = ∑ i ∈ A W i = C A . Applying (6) to each child gives ∑ k L A k ( g k ) = ∑ k L ˉ A k ( g k ) + C A \sum_k L_{A_k}(g_k) = \sum_k \bar{L}_{A_k}(g_k) + C_A ∑ k L A k ( g k ) = ∑ k L ˉ A k ( g k ) + C A , and likewise for ( A l ′ , g l ′ ) (A'_l,g'_l) ( A l ′ , g l ′ ) ; subtracting gives (7) . □
Localizing functions. The statement and proof hold with 1 A \mathbf{1}_A 1 A replaced by any φ ≥ 0 \varphi\ge0 φ ≥ 0 on the covariates. Since φ ( X i ) \varphi(X_i) φ ( X i ) is the same for all readings at site i i i , the per-site identity becomes ∑ j φ ( X i ) ( Y i j − c ) 2 = φ ( X i ) { W i + r i ( Y ˉ i − c ) 2 } \sum_j \varphi(X_i)(Y_{ij} - c)^2 = \varphi(X_i)\{W_i + r_i(\bar{Y}_i - c)^2\} ∑ j φ ( X i ) ( Y ij − c ) 2 = φ ( X i ) { W i + r i ( Y ˉ i − c ) 2 } , so L φ ( g ; D , 1 ) − L φ ( g ; D ˉ , r ) = ∑ i φ ( X i ) W i L_\varphi(g; \mathcal{D}, \mathbf{1}) - L_\varphi(g; \bar{\mathcal{D}}, r) = \sum_i \varphi(X_i)W_i L φ ( g ; D , 1 ) − L φ ( g ; D ˉ , r ) = ∑ i φ ( X i ) W i does not depend on g g g , and parts (a) and (b) follow as before. A Nadaraya–Watson or local polynomial fit at x x x with a fixed bandwidth minimizes L φ L_\varphi L φ with φ = K h ( x − ⋅ ) \varphi= K_h(x - \cdot) φ = K h ( x − ⋅ ) over constants or polynomials, a query of type (iv) below, so it returns the same predictor from ( D , 1 ) (\mathcal{D}, \mathbf{1}) ( D , 1 ) and ( D ˉ , r ) (\bar{\mathcal{D}}, r) ( D ˉ , r ) . The sections below write regions for concreteness.
Algorithmic invariance
Reading the conditions. The condition of Proposition 1 applies to every choice the algorithm makes: which differences it evaluates, which may depend on earlier answers, and its initialization, penalties, step sizes, stopping and tie-breaking. Split gains, comparisons between partitions, gradients and least-squares minimizers are all such differences. Comparing two partitions of A A A , with predictor g k g_k g k on cell A k A_k A k , is the difference L 1 A ( g ~ ; ⋅ ) − L 1 A ( g ~ ′ ; ⋅ ) L_{\mathbf{1}_A}(\tilde{g};\cdot) - L_{\mathbf{1}_A}(\tilde{g}';\cdot) L 1 A ( g ~ ; ⋅ ) − L 1 A ( g ~ ′ ; ⋅ ) between the piecewise predictors g ~ \tilde{g} g ~ and g ~ ′ \tilde{g}' g ~ ′ ; a derivative is a limit of differences; and a minimizer over a class is fixed by its pairwise differences. A choice that reads the number of rows in the dataset it is given fails the condition, since that number is n n n for ( D , 1 ) (\mathcal{D},\mathbf{1}) ( D , 1 ) and m m m for ( D ˉ , r ) (\bar{\mathcal{D}},r) ( D ˉ , r ) . The formulation below makes this precise as a sequence of response queries.
Precise formulation of Proposition 1. Let Ξ : = { ( X i , r i ) } i ≤ m \Xi:= \{(X_i,r_i)\}_{i\le m} Ξ := {( X i , r i ) } i ≤ m , the distinct covariate values with the total weight at each, which both inputs ( D , 1 ) (\mathcal{D},\mathbf{1}) ( D , 1 ) and ( D ˉ , r ) (\bar{\mathcal{D}},r) ( D ˉ , r ) determine, and let ω \omega ω be the random seed. A response query is one of: (i) a difference L A ( g ) − L A ( g ′ ) L_A(g) - L_A(g') L A ( g ) − L A ( g ′ ) ; (ii) a derivative of β ↦ L A ( g β ) \beta\mapsto L_A(g_\beta) β ↦ L A ( g β ) ; (iii) a difference of the form (7), which is a difference of type (i) between the piecewise predictors equal to g k g_k g k on A k A_k A k and to g l ′ g'_l g l ′ on A l ′ A'_l A l ′ ; (iv) the set arg min g ∈ G L A ( g ) \arg\min_{g\in\mathcal{G}} L_A(g) arg min g ∈ G L A ( g ) for a class G \mathcal{G} G . On the input ( D ‾ , r ) (\overline{D},r) ( D , r ) the same query is evaluated with L ‾ \overline{L} L in place of L L L . Consider an algorithm with states s 0 , s 1 , … s_0,s_1,\ldots s 0 , s 1 , … such that s 0 s_0 s 0 , each transition s t ↦ s t + 1 s_t\mapsto s_{t+1} s t ↦ s t + 1 , the stopping decision and the output are fixed functions of ( s t , Ξ , ω ) (s_t,\Xi,\omega) ( s t , Ξ , ω ) and of the answers to finitely many response queries, where the arguments of each query (regions, predictors, classes, parametrisations) are fixed functions of ( s t , Ξ , ω ) (s_t,\Xi,\omega) ( s t , Ξ , ω ) and of the answers to earlier queries. These functions, which include regularization and tie-breaking, are the same on both inputs. Then the algorithm passes through the same states, stops at the same step and returns the same predictor on both: A ( D , 1 , ω ) = A ( D ‾ , r , ω ) \mathcal{A}(D,1,\omega)=\mathcal{A}(\overline{D},r,\omega) A ( D , 1 , ω ) = A ( D , r , ω ) .
Proof. A query with given arguments has the same answer on both tables: (i) and (ii) by A.1(a), (iii) by A.1(b), and (iv) because L A L_A L A and L ‾ A \overline{L}_A L A differ by a constant on G \mathcal{G} G . We induct on t t t . Suppose the two runs share s t s_t s t (for s 0 s_0 s 0 , replace s t s_t s t by the empty state). The arguments of the first query depend only on ( s t , Ξ , ω ) (s_t,\Xi,\omega) ( s t , Ξ , ω ) and so agree; hence its answers agree. If the first k k k answers agree, so do the arguments of query k + 1 k+1 k + 1 and therefore its answer. Thus all answers in the step agree, and s t + 1 s_{t+1} s t + 1 , the stopping decision and the output agree.
Corollary (a): regression trees. Consider squared-error trees with weighted leaf means, candidate splits determined by the distinct covariate values, and feasibility constraints expressed through total weight n A n_A n A . Solving ∂ c L ‾ A ( c ) = − 2 ∑ i ∈ A r i ( Y ‾ i − c ) = 0 \partial_c\overline{L}_A(c)=-2\sum_{i\in A}r_i(\overline{Y}_i-c)=0 ∂ c L A ( c ) = − 2 ∑ i ∈ A r i ( Y i − c ) = 0 gives the constant minimiser c A = n A − 1 ∑ i ∈ A r i Y ‾ i c_A=n_A^{-1}\sum_{i\in A}r_i\overline{Y}_i c A = n A − 1 ∑ i ∈ A r i Y i , which is the row mean on the Expanded table and the count-weighted mean on ( D ‾ , r ) (\overline{D},r) ( D , r ) . For a split A = A 1 ∪ A 2 A=A_1\cup A_2 A = A 1 ∪ A 2 , the gain on the Expanded table is
L A ( c A ) − L A 1 ( c A 1 ) − L A 2 ( c A 2 ) = L ‾ A ( c A ) − L ‾ A 1 ( c A 1 ) − L ‾ A 2 ( c A 2 ) + C A − C A 1 − C A 2 , L_A(c_A)-L_{A_1}(c_{A_1})-L_{A_2}(c_{A_2})
=\overline{L}_A(c_A)-\overline{L}_{A_1}(c_{A_1})-\overline{L}_{A_2}(c_{A_2})+C_A-C_{A_1}-C_{A_2}, L A ( c A ) − L A 1 ( c A 1 ) − L A 2 ( c A 2 ) = L A ( c A ) − L A 1 ( c A 1 ) − L A 2 ( c A 2 ) + C A − C A 1 − C A 2 ,
and C A = C A 1 + C A 2 C_A=C_{A_1}+C_{A_2} C A = C A 1 + C A 2 by A.1(b), so it equals the weighted gain. Candidate splits and feasibility depend on ( Ξ , s t ) (\Xi,s_t) ( Ξ , s t ) only, where s t s_t s t is the current partition; leaf values are queries of type (iv) and gains of type (iii). The statement applies, and the two trees coincide.
Corollary (b): gradient boosting. Consider squared-error boosting with F 0 ≡ c A F_0\equiv c_A F 0 ≡ c A for A A A the whole table, learning rate η \eta η , a fixed number of rounds, no row subsampling, and a weak learner that itself satisfies the statement above (for instance the tree of Corollary (a)). Suppose F t F_t F t agrees on both tables. The row pseudo-residuals are R i j = Y i j − F t ( X i ) R_{ij}=Y_{ij}-F_t(X_i) R ij = Y ij − F t ( X i ) , with site mean R ‾ i = Y ‾ i − F t ( X i ) \overline{R}_i=\overline{Y}_i-F_t(X_i) R i = Y i − F t ( X i ) , which is the pseudo-residual of site i i i in ( D ‾ , r ) (\overline{D},r) ( D , r ) , carried with weight r i r_i r i . Since R i j − R ‾ i = Y i j − Y ‾ i R_{ij}-\overline{R}_i=Y_{ij}-\overline{Y}_i R ij − R i = Y ij − Y i , identity (6) applied to the readings R i j R_{ij} R ij gives, for every h h h ,
∑ i ∑ j ( R i j − h ( X i ) ) 2 = ∑ i r i ( R ‾ i − h ( X i ) ) 2 + ∑ i W i . \sum_i\sum_j(R_{ij}-h(X_i))^2=\sum_i r_i(\overline{R}_i-h(X_i))^2+\sum_i W_i. i ∑ j ∑ ( R ij − h ( X i ) ) 2 = i ∑ r i ( R i − h ( X i ) ) 2 + i ∑ W i .
The row-residual table is therefore the Expanded table of the weighted site-residual table, the weak learner returns the same h t h_t h t , and F t + 1 = F t + η h t F_{t+1}=F_t+\eta h_t F t + 1 = F t + η h t agrees. Induction over rounds completes the proof.
Remark 1. The conditions fail in practice under: bootstrap or subsampling of rows; minimum-leaf or minimum-split constraints counted in rows rather than in total weight; stopping rules that threshold the impurity L A ( c A ) L_A(c_A) L A ( c A ) itself, which differs from L ‾ A ( c A ) \overline{L}_A(c_A) L A ( c A ) by C A C_A C A ; stochastic-gradient training whose number of steps depends on n n n ; hyperparameters (for example a noise level) estimated from the table; and floating-point tie-breaking. In the balanced case r i = r r_i=r r i = r , L ‾ A ( g ) = r L A ( g ; D ‾ , 1 ) \overline{L}_A(g)=rL_A(g;\overline{D},1) L A ( g ) = r L A ( g ; D , 1 ) , r r r times the unweighted Mean loss, so L A ( g ) + λ P ( g ) L_A(g)+\lambda P(g) L A ( g ) + λ P ( g ) has the minimisers of the unweighted loss plus ( λ / r ) P ( g ) (\lambda/r)P(g) ( λ / r ) P ( g ) : the unweighted Mean gives the same minimiser if penalties and count-based settings are divided by r r r .
Precision gain at fixed sites. Fix the function, sites and query, with balanced independent zero-mean reading errors of variance σ 2 \sigma^2 σ 2 . For a tree partition fixed independently of these errors, let the query’s leaf A A A contain k A ≥ 1 k_A\ge1 k A ≥ 1 sites. Its mean prediction has conditional risk
E Y [ { f ^ r ( x ∗ ) − f ( x ∗ ) } 2 ] = { 1 k A ∑ i : X i ∈ A f ( X i ) − f ( x ∗ ) } 2 + σ 2 r k A . \mathbb{E}_Y\left[\{\widehat{f}_r(x_*)-f(x_*)\}^2\right]
=\left\{\frac{1}{k_A}\sum_{i:X_i\in A}f(X_i)-f(x_*)\right\}^2+\frac{\sigma^2}{rk_A}. E Y [ { f r ( x ∗ ) − f ( x ∗ ) } 2 ] = { k A 1 i : X i ∈ A ∑ f ( X i ) − f ( x ∗ ) } 2 + r k A σ 2 .
The partition bias is fixed and the noise term decreases with r r r . Expanding readings or weighting their means by r r r gives the same leaf prediction. With site-specific variances, the noise term is ∑ i : X i ∈ A σ i 2 / ( r k A 2 ) \sum_{i:X_i\in A}\sigma_i^2/(rk_A^2) ∑ i : X i ∈ A σ i 2 / ( r k A 2 ) , which has the same 1 / r 1/r 1/ r dependence.
For independent Gaussian readings with known σ i 2 > 0 \sigma_i^2>0 σ i 2 > 0 , the likelihood at site i i i is
p ( Y i 1 , … , Y i r i ∣ f ( X i ) ) ∝ exp [ − r i { Y ‾ i − f ( X i ) } 2 2 σ i 2 ] . p(Y_{i1},\ldots,Y_{ir_i}\mid f(X_i)) \propto\exp\left[-\frac{r_i\{\overline{Y}_i-f(X_i)\}^2}{2\sigma_i^2}\right]. p ( Y i 1 , … , Y i r i ∣ f ( X i )) ∝ exp [ − 2 σ i 2 r i { Y i − f ( X i ) } 2 ] .
where the omitted factor is independent of f ( X i ) f(X_i) f ( X i ) . This is the likelihood of the mean with variance σ i 2 / r i \sigma_i^2/r_i σ i 2 / r i , so a fixed GP prior gives the same latent posterior under either representation. With known zero noise, copies impose the same exact constraint.
Gain–cost identity
Proof of Proposition 2. For each s ∈ { 1 , r } s \in\{1,r\} s ∈ { 1 , r } , conditional-expectation orthogonality under the repeated-measurement law gives
R r e p ( f ^ I I D , s ) = R r e p ( f ^ r e p , s ) + C s . R_{\mathrm{rep}}(\widehat{f}_{\mathrm{IID},s})=R_{\mathrm{rep}}(\widehat{f}_{\mathrm{rep},s})+C_s. R rep ( f IID , s ) = R rep ( f rep , s ) + C s .
Subtracting the identities for s = r s=r s = r and s = 1 s=1 s = 1 proves the proposition with the main-text definition of B r B_r B r . No coupling or nesting of D 1 D_1 D 1 and D r D_r D r is required. The following additional identities use a nested coupling to express the gain as an expected squared difference of posterior means.
Statement. All expectations are under the joint law of task, sites, readings and query. Let F s : = σ ( X 1 , … , X m , x ∗ , Y i j : j ≤ s ) \mathcal{F}_s:=\sigma(X_1,\ldots,X_m,x_\ast,Y_{ij}:j\le s) F s := σ ( X 1 , … , X m , x ∗ , Y ij : j ≤ s ) , so F 1 ⊆ F r \mathcal{F}_1\subseteq\mathcal{F}_r F 1 ⊆ F r , and read “D s D_s D s -measurable” as F s \mathcal{F}_s F s -measurable. Let G = F ( x ∗ ) G=F(x_\ast) G = F ( x ∗ ) with E G 2 < ∞ \mathbb{E}G^2<\infty E G 2 < ∞ , z s : = E [ G ∣ F s ] z_s:=\mathbb{E}[G\mid\mathcal{F}_s] z s := E [ G ∣ F s ] and R ( g ) : = E ( g − G ) 2 R(g):=\mathbb{E}(g-G)^2 R ( g ) := E ( g − G ) 2 . For any square-integrable F r \mathcal{F}_r F r -measurable a r a_r a r ,
R ( a r ) − R ( z 1 ) = E ( a r − z r ) 2 − E ( z r − z 1 ) 2 . (8) R(a_r)-R(z_1)=\mathbb{E}(a_r-z_r)^2-\mathbb{E}(z_r-z_1)^2. \tag*{(8)} R ( a r ) − R ( z 1 ) = E ( a r − z r ) 2 − E ( z r − z 1 ) 2 . (8) Taking a r = z r a_r=z_r a r = z r gives B r = R ( z 1 ) − R ( z r ) = E ( z r − z 1 ) 2 ≥ 0 B_r=R(z_1)-R(z_r)=\mathbb{E}(z_r-z_1)^2\ge0 B r = R ( z 1 ) − R ( z r ) = E ( z r − z 1 ) 2 ≥ 0 . The nested coupling preserves the marginal laws of D 1 D_1 D 1 and D r D_r D r , so this is the measurement gain defined in Proposition 2. For square-integrable f ^ r \widehat{f}_r f r and f ^ 1 \widehat{f}_1 f 1 , measurable with respect to F r \mathcal{F}_r F r and F 1 \mathcal{F}_1 F 1 ,
R ( f ^ r ) − R ( f ^ 1 ) = − E ( z r − z 1 ) 2 + E ( f ^ r − z r ) 2 − E ( f ^ 1 − z 1 ) 2 . (9) R(\widehat{f}_r)-R(\widehat{f}_1)=-\mathbb{E}(z_r-z_1)^2+\mathbb{E}(\widehat{f}_r-z_r)^2-\mathbb{E}(\widehat{f}_1-z_1)^2. \tag*{(9)} R ( f r ) − R ( f 1 ) = − E ( z r − z 1 ) 2 + E ( f r − z r ) 2 − E ( f 1 − z 1 ) 2 . (9) If f ^ s \widehat{f}_s f s also uses internal randomness U s U_s U s , (9) holds provided U s U_s U s is conditionally independent of G G G given F s \mathcal{F}_s F s , for s = 1 s=1 s = 1 and s = r s=r s = r .
Proof. Let g g g be square-integrable and F s \mathcal{F}_s F s -measurable. Then
( g − G ) 2 = ( g − z s ) 2 + 2 ( g − z s ) ( z s − G ) + ( z s − G ) 2 . (g-G)^2=(g-z_s)^2+2(g-z_s)(z_s-G)+(z_s-G)^2. ( g − G ) 2 = ( g − z s ) 2 + 2 ( g − z s ) ( z s − G ) + ( z s − G ) 2 .
The cross term is integrable by the Cauchy–Schwarz inequality, and E [ ( g − z s ) ( z s − G ) ∣ F s ] = ( g − z s ) ( z s − E [ G ∣ F s ] ) = 0 \mathbb{E}[(g-z_s)(z_s-G)\mid\mathcal{F}_s]=(g-z_s)(z_s-\mathbb{E}[G\mid\mathcal{F}_s])=0 E [( g − z s ) ( z s − G ) ∣ F s ] = ( g − z s ) ( z s − E [ G ∣ F s ]) = 0 . Taking expectations,
R ( g ) = R ( z s ) + E ( g − z s ) 2 . (10) R(g)=R(z_s)+\mathbb{E}(g-z_s)^2. \tag*{(10)} R ( g ) = R ( z s ) + E ( g − z s ) 2 . (10)
Apply (10) with s = r s=r s = r to g = a r g=a_r g = a r and to g = z 1 g=z_1 g = z 1 , which is F r \mathcal{F}_r F r -measurable and square-integrable by Jensen’s inequality: R ( a r ) = R ( z r ) + E ( a r − z r ) 2 R(a_r)=R(z_r)+\mathbb{E}(a_r-z_r)^2 R ( a r ) = R ( z r ) + E ( a r − z r ) 2 and R ( z 1 ) = R ( z r ) + E ( z 1 − z r ) 2 R(z_1)=R(z_r)+\mathbb{E}(z_1-z_r)^2 R ( z 1 ) = R ( z r ) + E ( z 1 − z r ) 2 . Subtracting gives (8). For (9), (10) gives R ( f ^ r ) = R ( z r ) + E ( f ^ r − z r ) 2 R(\widehat{f}_r)=R(z_r)+\mathbb{E}(\widehat{f}_r-z_r)^2 R ( f r ) = R ( z r ) + E ( f r − z r ) 2 and R ( f ^ 1 ) = R ( z 1 ) + E ( f ^ 1 − z 1 ) 2 R(\widehat{f}_1)=R(z_1)+\mathbb{E}(\widehat{f}_1-z_1)^2 R ( f 1 ) = R ( z 1 ) + E ( f 1 − z 1 ) 2 ; subtract and insert R ( z r ) − R ( z 1 ) = − E ( z r − z 1 ) 2 R(z_r)-R(z_1)=-\mathbb{E}(z_r-z_1)^2 R ( z r ) − R ( z 1 ) = − E ( z r − z 1 ) 2 . With internal randomness, replace F s \mathcal{F}_s F s by F s ∨ σ ( U s ) \mathcal{F}_s\vee\sigma(U_s) F s ∨ σ ( U s ) in the derivation of (10); conditional independence gives E [ G ∣ F s , U s ] = z s \mathbb{E}[G\mid\mathcal{F}_s,U_s]=z_s E [ G ∣ F s , U s ] = z s , so (10) is unchanged. \hfill □ \square □
Remark 2. Both identities hold under the joint, prior-averaged law. They say nothing about the risk at a fixed f f f .
Fixed sites and an actual network. In protocol comparisons, a s = f ^ I I D , s ( x ∗ ) a_s=\widehat{f}_{\mathrm{IID},s}(x_\ast) a s = f IID , s ( x ∗ ) denotes the IID posterior mean, for s ∈ { 1 , r } s\in\{1,r\} s ∈ { 1 , r } . With z s z_s z s the conditional mean under the data-generating law as above, write C s = E ( a s − z s ) 2 C_s=\mathbb{E}(a_s-z_s)^2 C s = E ( a s − z s ) 2 and B r = R ( z 1 ) − R ( z r ) B_r=R(z_1)-R(z_r) B r = R ( z 1 ) − R ( z r ) under that same law. Under the repeated-measurement (sampled-once) law, z s = f ^ r e p , s ( x ∗ ) z_s=\widehat{f}_{\mathrm{rep},s}(x_\ast) z s = f rep , s ( x ∗ ) , recovering the quantities in Proposition 2. Under an externally fixed site protocol, z s z_s z s is the posterior mean and the IID rule can have a 1 ≠ z 1 a_1\ne z_1 a 1 = z 1 . Applying (10) at counts one and r r r gives R ( a r ) − R ( a 1 ) = C r − C 1 − B r R(a_r)-R(a_1)=C_r-C_1-B_r R ( a r ) − R ( a 1 ) = C r − C 1 − B r . For an actual predictor, write d r = a r − z r d_r=a_r-z_r d r = a r − z r and e r = f ^ r − a r e_r=\widehat{f}_r-a_r e r = f r − a r . Then
R ( f ^ r ) − R ( f ^ 1 ) = − B r + E ( f ^ r − z r ) 2 − E ( f ^ 1 − z 1 ) 2 , (11) \begin{aligned}
R(\widehat{f}_r)-R(\widehat{f}_1)
&=-B_r\\
&\quad+\mathbb{E}(\widehat{f}_r-z_r)^2-\mathbb{E}(\widehat{f}_1-z_1)^2, \tag*{(11)}
\end{aligned} R ( f r ) − R ( f 1 ) = − B r + E ( f r − z r ) 2 − E ( f 1 − z 1 ) 2 , (11)
and E ( f ^ r − z r ) 2 = E d r 2 + E e r 2 + 2 E ( d r e r ) \mathbb{E}(\widehat{f}_r-z_r)^2=\mathbb{E}d_r^2+\mathbb{E}e_r^2+2\mathbb{E}(d_re_r) E ( f r − z r ) 2 = E d r 2 + E e r 2 + 2 E ( d r e r ) . The cross term can reinforce or offset the reference shift. The fixed-function bias/variance estimates in Table 6 use a different expectation and do not identify these terms inside a TFM.
Table 6. What averaging removes. Squared bias and variance of the prediction at fresh inputs, estimated from eight independent banks of 64 readings at the same sites; median over 60 cells (six one-dimensional functions times ten site seeds, m = 12 m = 12 m = 12 , noise SD 0.15).
Posterior odds under the two protocols
Statement. Let the task family be finite or countable with prior mass function π \pi π (the prior Π \Pi Π of Section 4 restricted to such a family), write p θ ( x ) p_\theta(x) p θ ( x ) for the input density and p θ ( y ∣ x ) p_\theta(y \mid x) p θ ( y ∣ x ) for the response density of task θ \theta θ , and let L X ( θ ) : = ∏ i p θ ( X i ) L_X(\theta) := \prod_i p_\theta(X_i) L X ( θ ) := ∏ i p θ ( X i ) and L Y ( θ ) : = ∏ i ∏ j ≤ r p θ ( Y i j ∣ X i ) L_Y(\theta) := \prod_i \prod_{j \le r} p_\theta(Y_{ij} \mid X_i) L Y ( θ ) := ∏ i ∏ j ≤ r p θ ( Y ij ∣ X i ) . Treating the m r mr m r rows as independent draws from p θ ( x ) p θ ( y ∣ x ) p_\theta(x)p_\theta(y \mid x) p θ ( x ) p θ ( y ∣ x ) gives the likelihood ∏ i ∏ j ≤ r p θ ( X i ) p θ ( Y i j ∣ X i ) = L X ( θ ) r L Y ( θ ) \prod_i \prod_{j \le r} p_\theta(X_i)p_\theta(Y_{ij} \mid X_i) = L_X(\theta)^r L_Y(\theta) ∏ i ∏ j ≤ r p θ ( X i ) p θ ( Y ij ∣ X i ) = L X ( θ ) r L Y ( θ ) ; drawing each site once gives L X ( θ ) L Y ( θ ) L_X(\theta)L_Y(\theta) L X ( θ ) L Y ( θ ) ; fixing the sites externally gives L Y ( θ ) L_Y(\theta) L Y ( θ ) . By Bayes’ rule,
π I I D ∝ π L X r L Y , π r e p ∝ π L X L Y , π f i x ∝ π L Y , \pi_{\mathrm{IID}} \propto\pi L_X^r L_Y,\qquad
\pi_{\mathrm{rep}} \propto\pi L_X L_Y,\qquad
\pi_{\mathrm{fix}} \propto\pi L_Y, π IID ∝ π L X r L Y , π rep ∝ π L X L Y , π fix ∝ π L Y , assuming the normalising sums are finite and positive (the sum for π I I D \pi_{\mathrm{IID}} π IID is not automatically finite for a countable family). Write odds ∙ : = π ∙ ( θ 1 ∣ D r ) / π ∙ ( θ 0 ∣ D r ) \operatorname{odds}_{\bullet} := \pi_{\bullet}(\theta_1 \mid D_r)/\pi_{\bullet}(\theta_0 \mid D_r) odds ∙ := π ∙ ( θ 1 ∣ D r ) / π ∙ ( θ 0 ∣ D r ) and Λ : = L X ( θ 1 ) / L X ( θ 0 ) \Lambda:= L_X(\theta_1)/L_X(\theta_0) Λ := L X ( θ 1 ) / L X ( θ 0 ) , and assume π ( θ k ) L X ( θ k ) L Y ( θ k ) ∈ ( 0 , ∞ ) \pi(\theta_k)L_X(\theta_k)L_Y(\theta_k) \in(0,\infty) π ( θ k ) L X ( θ k ) L Y ( θ k ) ∈ ( 0 , ∞ ) for k = 0 , 1 k=0,1 k = 0 , 1 .
odds I I D odds r e p = Λ r − 1 . (12) \frac{\operatorname{odds}_{\mathrm{IID}}}{\operatorname{odds}_{\mathrm{rep}}} = \Lambda^{r-1}. \tag*{(12)} odds rep odds IID = Λ r − 1 . (12) (a) odds I I D / odds r e p = Λ r − 1 \operatorname{odds}_{\mathrm{IID}}/\operatorname{odds}_{\mathrm{rep}} = \Lambda^{r-1} odds IID / odds rep = Λ r − 1 and odds I I D / odds f i x = Λ r \operatorname{odds}_{\mathrm{IID}}/\operatorname{odds}_{\mathrm{fix}} = \Lambda^r odds IID / odds fix = Λ r . (b) Fix the sites and let the readings at site i i i be i.i.d. from p θ 0 ( ⋅ ∣ X i ) p_{\theta_0}(\cdot\mid X_i) p θ 0 ( ⋅ ∣ X i ) , independently or not across sites. Assume π ( θ 0 ) , π ( θ 1 ) > 0 \pi(\theta_0),\pi(\theta_1)>0 π ( θ 0 ) , π ( θ 1 ) > 0 , S X : = log Λ S_X := \log\Lambda S X := log Λ finite and D Y : = ∑ i KL ( p θ 0 ( ⋅ ∣ X i ) ∥ p θ 1 ( ⋅ ∣ X i ) ) < ∞ D_Y := \sum_i \operatorname{KL}(p_{\theta_0}(\cdot\mid X_i) \mathbin{\|} p_{\theta_1}(\cdot\mid X_i)) < \infty D Y := ∑ i KL ( p θ 0 ( ⋅ ∣ X i ) ∥ p θ 1 ( ⋅ ∣ X i )) < ∞ . Then, almost surely as r → ∞ r \to\infty r → ∞ , r − 1 log odds f i x → − D Y r^{-1}\log\operatorname{odds}_{\mathrm{fix}} \to-D_Y r − 1 log odds fix → − D Y , r − 1 log odds r e p → − D Y r^{-1}\log\operatorname{odds}_{\mathrm{rep}} \to-D_Y r − 1 log odds rep → − D Y and r − 1 log odds I I D → S X − D Y r^{-1}\log\operatorname{odds}_{\mathrm{IID}} \to S_X-D_Y r − 1 log odds IID → S X − D Y . No integrability condition beyond D Y < ∞ D_Y<\infty D Y < ∞ is needed. (c) If p θ p_\theta p θ does not depend on θ \theta θ and 0 < L X < ∞ 0<L_X<\infty 0 < L X < ∞ , the three posteriors coincide for every r r r .
Proof. (a) Normalising constants cancel in odds, so with ρ : = π ( θ 1 ) L Y ( θ 1 ) / { π ( θ 0 ) L Y ( θ 0 ) } \rho:= \pi(\theta_1)L_Y(\theta_1)/\{\pi(\theta_0)L_Y(\theta_0)\} ρ := π ( θ 1 ) L Y ( θ 1 ) / { π ( θ 0 ) L Y ( θ 0 )} we have odds I I D = ρ Λ r \operatorname{odds}_{\mathrm{IID}} = \rho\Lambda^r odds IID = ρ Λ r , odds r e p = ρ Λ \operatorname{odds}_{\mathrm{rep}} = \rho\Lambda odds rep = ρ Λ and odds f i x = ρ \operatorname{odds}_{\mathrm{fix}} = \rho odds fix = ρ ; divide.
(b) Let Z i j : = log { p θ 0 ( Y i j ∣ X i ) / p θ 1 ( Y i j ∣ X i ) } Z_{ij} := \log\{p_{\theta_0}(Y_{ij}\mid X_i)/p_{\theta_1}(Y_{ij}\mid X_i)\} Z ij := log { p θ 0 ( Y ij ∣ X i ) / p θ 1 ( Y ij ∣ X i )} , which takes values in ( − ∞ , ∞ ] (-\infty,\infty] ( − ∞ , ∞ ] almost surely because p θ 0 ( Y i j ∣ X i ) > 0 p_{\theta_0}(Y_{ij}\mid X_i)>0 p θ 0 ( Y ij ∣ X i ) > 0 almost surely. Using log + u ≤ u \log^+u\le u log + u ≤ u , the negative part satisfies
E Z i j − ≤ E [ p θ 1 ( Y i j ∣ X i ) p θ 0 ( Y i j ∣ X i ) ] = ∫ { p θ 0 > 0 } p θ 1 ( y ∣ X i ) d y ≤ 1 , \mathbb{E}Z_{ij}^{-}\le\mathbb{E}\left[\frac{p_{\theta_1}(Y_{ij}\mid X_i)}{p_{\theta_0}(Y_{ij}\mid X_i)}\right]
= \int_{\{p_{\theta_0}>0\}}p_{\theta_1}(y\mid X_i)\,dy\le1, E Z ij − ≤ E [ p θ 0 ( Y ij ∣ X i ) p θ 1 ( Y ij ∣ X i ) ] = ∫ { p θ 0 > 0 } p θ 1 ( y ∣ X i ) d y ≤ 1 ,
so E Z i j \mathbb{E}Z_{ij} E Z ij is well defined and equals the i i i th Kullback–Leibler term. These terms are non-negative with finite sum, so each is finite and E ∣ Z i j ∣ < ∞ \mathbb{E}|Z_{ij}|<\infty E ∣ Z ij ∣ < ∞ . For each i i i the Z i j Z_{ij} Z ij are i.i.d. in j j j , and the strong law gives r − 1 ∑ j ≤ r Z i j → E Z i 1 r^{-1}\sum_{j\le r}Z_{ij}\to\mathbb{E}Z_{i1} r − 1 ∑ j ≤ r Z ij → E Z i 1 almost surely; summing over the finitely many sites, r − 1 ∑ i ∑ j ≤ r Z i j → D Y r^{-1}\sum_i\sum_{j\le r}Z_{ij}\to D_Y r − 1 ∑ i ∑ j ≤ r Z ij → D Y . Now
log odds f i x = log π ( θ 1 ) π ( θ 0 ) − ∑ i ∑ j ≤ r Z i j , \log\operatorname{odds}_{\mathrm{fix}}=\log\frac{\pi(\theta_1)}{\pi(\theta_0)}-\sum_i\sum_{j\le r}Z_{ij}, log odds fix = log π ( θ 0 ) π ( θ 1 ) − i ∑ j ≤ r ∑ Z ij ,
and the first term does not depend on r r r , so r − 1 log odds f i x → − D Y r^{-1}\log\operatorname{odds}_{\mathrm{fix}}\to-D_Y r − 1 log odds fix → − D Y . By (a), log odds r e p = log odds f i x + S X \log\operatorname{odds}_{\mathrm{rep}}=\log\operatorname{odds}_{\mathrm{fix}}+S_X log odds rep = log odds fix + S X and log odds I I D = log odds f i x + r S X \log\operatorname{odds}_{\mathrm{IID}}=\log\operatorname{odds}_{\mathrm{fix}}+rS_X log odds IID = log odds fix + r S X ; dividing by r r r gives the limits − D Y -D_Y − D Y and S X − D Y S_X-D_Y S X − D Y . In particular, if S X > D Y S_X>D_Y S X > D Y the IID-rule odds in favour of the wrong task diverge.
(c) L X ( θ ) L_X(\theta) L X ( θ ) is then a constant in θ \theta θ , and so is L X ( θ ) r L_X(\theta)^r L X ( θ ) r ; both cancel on normalisation. □
Replication in attention
Statement. Let s i : = q ⊤ k i s_i:=q^\top k_i s i := q ⊤ k i and Att : = ∑ i e s i v i / ∑ i e s i \operatorname{Att}:=\sum_i e^{s_i}v_i/\sum_i e^{s_i} Att := ∑ i e s i v i / ∑ i e s i . If each pair ( k i , v i ) (k_i,v_i) ( k i , v i ) is replaced by r i ≥ 1 r_i\ge1 r i ≥ 1 identical copies, the output equals attention over the original pairs with logits s i + log r i s_i+\log r_i s i + log r i . If r i = r r_i=r r i = r for all i i i , the output equals Att \operatorname{Att} Att .
Proof. The r i r_i r i copies of pair i i i share the logit s i s_i s i and the value v i v_i v i , so the replicated output is
∑ i r i e s i v i ∑ i r i e s i = ∑ i e s i + log r i v i ∑ i e s i + log r i . (13) \frac{\sum_i r_i e^{s_i}v_i}{\sum_i r_i e^{s_i}}
=
\frac{\sum_i e^{s_i+\log r_i}v_i}{\sum_i e^{s_i+\log r_i}}. \tag*{(13)} ∑ i r i e s i ∑ i r i e s i v i = ∑ i e s i + l o g r i ∑ i e s i + l o g r i v i . (13)
If r i = r r_i=r r i = r , the factor r r r cancels between numerator and denominator, leaving Att \operatorname{Att} Att . □
Remark 3. Theorem 1 gives sufficient operator-level conditions for the uniform-copy identity to extend to an entire attention network .
Proofs for the statistical reference
This section develops the gain–cost bounds and repetition thresholds for the Bayesian reference of Section 4, extends the analysis to site coverage and a fixed variance prior, and proves the network-replication result used in Section 5. Here T = ( F ( X i ) ) i T=(F(X_i))_i T = ( F ( X i ) ) i denotes the vector of site values and G G G the query target; B r B_r B r and C r C_r C r are the measurement gain and protocol mismatch cost of Proposition 2, and X \mathcal{X} X collects common site and query information.
Joint likelihoods and a cancellation condition
All posterior formulas assume a dominating measure and finite, strictly positive normalizers. For independently selected parent sites, the likelihood contains one p θ ( X i ) p_\theta(X_i) p θ ( X i ) per parent. Conditional response independence gives the reading likelihood L Y L_Y L Y at count r r r . Treating each reading as an independent joint row replaces the input exponent 1 1 1 by r r r , proving Equations (3) , (2) and (12) . For unequal counts, the discrepancy is ∏ i p θ ( X i ) r i − 1 \prod_i p_\theta(X_i)^{r_i-1} ∏ i p θ ( X i ) r i − 1 . For externally fixed sites the correct input exponent is zero. A site-selection likelihood cannot be inferred solely from the final table: it is part of the declared observation protocol.
If a query is sampled conditionally on θ \theta θ with density q θ ( x ∗ ) q_\theta(x_*) q θ ( x ∗ ) , both posteriors additionally contain this factor once. If it is externally specified, neither does. An arbitrary dependence of query selection on the task or observations must likewise be modeled explicitly. The response distribution at the query is then integrated against the appropriate updated posterior.
A sufficient cancellation condition. Suppose Π = Π X ⊗ Π Y \Pi=\Pi_X\otimes\Pi_Y Π = Π X ⊗ Π Y , p θ ( x ) = p θ X ( x ) p_\theta(x)=p_{\theta_X}(x) p θ ( x ) = p θ X ( x ) , and p θ ( y ∣ x ) = p θ Y ( y ∣ x ) p_\theta(y\mid x)=p_{\theta_Y}(y\mid x) p θ ( y ∣ x ) = p θ Y ( y ∣ x ) for θ = ( θ X , θ Y ) \theta=(\theta_X,\theta_Y) θ = ( θ X , θ Y ) . If any informative query-input factor also depends only on θ X \theta_X θ X , integrating out θ X \theta_X θ X gives the same posterior for θ Y \theta_Y θ Y for every input exponent. This proves the factorized-prior claim in the body. More generally, for nuisance coordinates W X W_X W X assume
p θ ( z , w ) = p θ ( z ) q ( w ) , p θ ( y ∣ z , w ) = p θ ( y ∣ z ) , p_\theta(z,w)=p_\theta(z)q(w), \qquad p_\theta(y\mid z,w)=p_\theta(y\mid z), p θ ( z , w ) = p θ ( z ) q ( w ) , p θ ( y ∣ z , w ) = p θ ( y ∣ z ) ,
where q q q is task-independent, including independence from latent noise parameters. Then ∏ i q ( W X , i ) b \prod_i q(W_{X,i})^b ∏ i q ( W X , i ) b is constant in posterior variables for every exponent b b b and cancels. The same holds for a common query nuisance factor. This statement requires the factorization to be encoded in the model; it does not follow from a feature’s empirical lack of predictive importance.
Measurement gain with an unknown variance
For this measurement bound, let F F F be a random function, with realizations f f f as in Section 2, site values T i = F ( X i ) T_i=F(X_i) T i = F ( X i ) and query target G = F ( x ∗ ) G=F(x_*) G = F ( x ∗ ) . Condition first on common information X \mathcal{X} X . Readings follow Y i j = T i + S ϵ i j Y_{ij}=T_i+\sqrt{S}\,\epsilon_{ij} Y ij = T i + S ϵ ij , where the ϵ i j \epsilon_{ij} ϵ ij are IID standard Gaussian, independent of ( T , G , X , S ) (T,G,\mathcal{X},S) ( T , G , X , S ) , and the common reading-noise variance S S S is positive almost surely. Let T T T have differentiable density p p p on R m \mathbb{R}^m R m , finite Fisher information J = E ∥ ∇ log p ( T ) ∥ 2 J=\mathbb{E}\|\nabla\log p(T)\|^2 J = E ∥∇ log p ( T ) ∥ 2 , and the vanishing boundary terms needed for integration by parts. Let g ( t ) = E [ G ∣ T = t , X ] g(t)=\mathbb{E}[G\mid T=t,\mathcal{X}] g ( t ) = E [ G ∣ T = t , X ] have a twice continuously differentiable extension to R m \mathbb{R}^m R m with ∥ ∇ g ∥ ≤ L \|\nabla g\|\le L ∥∇ g ∥ ≤ L and ∥ ∇ 2 g ∥ o p ≤ H 2 \|\nabla^2g\|_{\mathrm{op}}\le H_2 ∥ ∇ 2 g ∥ op ≤ H 2 . Assume E G 2 < ∞ \mathbb{E}G^2<\infty E G 2 < ∞ , S ⊥ ( T , G , X ) S\perp(T,G,\mathcal{X}) S ⊥ ( T , G , X ) , and E S 2 < ∞ \mathbb{E}S^2<\infty E S 2 < ∞ . Define
M r = 1 r ∑ j = 1 r Y j , W r = ∑ i = 1 m ∑ j = 1 r ( Y i j − M r , i ) 2 , R 0 = E Var ( G ∣ T , X ) , M_r=\frac{1}{r}\sum_{j=1}^{r}Y_j,\qquad W_r=\sum_{i=1}^{m}\sum_{j=1}^{r}(Y_{ij}-M_{r,i})^2,\qquad R_0=\mathbb{E}\operatorname{Var}(G\mid T,\mathcal{X}), M r = r 1 j = 1 ∑ r Y j , W r = i = 1 ∑ m j = 1 ∑ r ( Y ij − M r , i ) 2 , R 0 = E Var ( G ∣ T , X ) ,
K = E ∥ ∇ g ( T ) ∥ 2 , Q m = m ( m + 2 ) , C r e m = L ν J + 1 2 H 2 Q m , K=\mathbb{E}\|\nabla g(T)\|^2,\qquad Q_m=m(m+2),\qquad C^{\mathrm{rem}}=L\nu\sqrt{J}+\frac{1}{2}H_2\sqrt{Q_m}, K = E ∥∇ g ( T ) ∥ 2 , Q m = m ( m + 2 ) , C rem = Lν J + 2 1 H 2 Q m ,
where M r , i = Y ˉ i M_{r,i}=\bar{Y}_i M r , i = Y ˉ i and W r = ∑ i W i W_r=\sum_i W_i W r = ∑ i W i at count r r r . Define
E r = L H 2 Q m E S 3 / 2 r 3 / 2 + ( H 2 2 Q m 4 + ( C r e m ) 2 ) E S 2 r 2 . (14) E_r=LH_2\sqrt{Q_m}\frac{\mathbb{E}S^{3/2}}{r^{3/2}}+\left(\frac{H_2^2Q_m}{4}+(C^{\mathrm{rem}})^2\right)\frac{\mathbb{E}S^2}{r^2}. \tag*{(14)} E r = L H 2 Q m r 3/2 E S 3/2 + ( 4 H 2 2 Q m + ( C rem ) 2 ) r 2 E S 2 . (14)
Lemma 1 (Finite measurement-gain bound). For the posterior mean z r = E [ G ∣ X , M r , W r ] z_r=\mathbb{E}[G\mid\mathcal{X},M_r,W_r] z r = E [ G ∣ X , M r , W r ] that integrates S S S ,
∣ R ( z r ) − R 0 − E S r K ∣ ≤ E r , ∣ B r − ( 1 − 1 r ) E [ S ] K ∣ ≤ E 1 + E r . (15) \left|R(z_r)-R_0-\frac{\mathbb{E}S}{r}K\right|\le E_r,\qquad\left|B_r-\left(1-\frac{1}{r}\right)\mathbb{E}[S]K\right|\le E_1+E_r. \tag*{(15)} R ( z r ) − R 0 − r E S K ≤ E r , B r − ( 1 − r 1 ) E [ S ] K ≤ E 1 + E r . (15) Conditional versions hold with conditional regularity constants and can be averaged whenever the displayed bounds are integrable.
Proof. First fix v > 0 v>0 v > 0 solely for a calculation. Set Y = T + v N Y=T+\sqrt{v}N Y = T + v N , with N ∼ N ( 0 , I m ) N\sim N(0,I_m) N ∼ N ( 0 , I m ) independent, and μ v ( Y ) = E [ g ( T ) ∣ Y ] \mu_v(Y)=\mathbb{E}[g(T)\mid Y] μ v ( Y ) = E [ g ( T ) ∣ Y ] . With ϕ v \phi_v ϕ v the N ( 0 , v I m ) N(0,vI_m) N ( 0 , v I m ) density, differentiating the convolution gives
E [ T − Y ∣ Y ] = v ∇ log ( p ∗ ϕ v ) ( Y ) . \mathbb{E}[T-Y\mid Y]=v\nabla\log(p\ast\phi_v)(Y). E [ T − Y ∣ Y ] = v ∇ log ( p ∗ ϕ v ) ( Y ) .
Integration by parts also expresses the latter score as E [ ∇ log p ( T ) ∣ Y ] \mathbb{E}[\nabla\log p(T)\mid Y] E [ ∇ log p ( T ) ∣ Y ] , so conditional Jensen gives J ( p ∗ ϕ v ) ≤ J J(p\ast\phi_v)\leq J J ( p ∗ ϕ v ) ≤ J . These are Gaussian score identities [10 ] . Taylor expansion about Y Y Y , the score bound, and E ∥ T − Y ∥ 4 = v 2 Q m \mathbb{E}\lVert T-Y\rVert^4=v^2Q_m E ∥ T − Y ∥ 4 = v 2 Q m give
∥ μ v ( Y ) − g ( Y ) ∥ 2 ≤ v L J + 1 2 v H 2 Q m = v C r e m . \lVert\mu_v(Y)-g(Y)\rVert_2\leq vL\sqrt{J}+\frac{1}{2}vH_2\sqrt{Q_m}=vC^{\mathrm{rem}}. ∥ μ v ( Y ) − g ( Y ) ∥ 2 ≤ v L J + 2 1 v H 2 Q m = v C rem .
The norm here and below is under the indicated joint experiment.
Given S S S , Gaussian orthogonal decomposition makes W r W_r W r independent of ( T , M r ) (T,M_r) ( T , M r ) , and G G G is conditionally independent of the reading errors given T T T . Consequently
z r = E [ μ S / r ( M r ) ∣ M r , W r , X ] , E { z r − g ( M r ) } 2 ≤ ( C r e m ) 2 E S 2 / r 2 . z_r=\mathbb{E}[\mu_{S/r}(M_r)\mid M_r,W_r,\mathcal{X}],\qquad\mathbb{E}\{z_r-g(M_r)\}^2\leq(C^{\mathrm{rem}})^2\mathbb{E}S^2/r^2. z r = E [ μ S / r ( M r ) ∣ M r , W r , X ] , E { z r − g ( M r ) } 2 ≤ ( C rem ) 2 E S 2 / r 2 .
Orthogonal projection then yields
R ( z r ) − R 0 = E { g ( T ) − g ( M r ) } 2 − E { z r − g ( M r ) } 2 . R(z_r)-R_0=\mathbb{E}\{g(T)-g(M_r)\}^2-\mathbb{E}\{z_r-g(M_r)\}^2. R ( z r ) − R 0 = E { g ( T ) − g ( M r ) } 2 − E { z r − g ( M r ) } 2 .
Taylor expansion about T T T has linear term S / r ∇ g ( T ) ⊤ N \sqrt{S/r}\nabla g(T)^\top N S / r ∇ g ( T ) ⊤ N , whose mean square is E [ S ] K / r \mathbb{E}[S]K/r E [ S ] K / r . Its remainder has squared expectation at most H 2 2 Q m E S 2 / ( 4 r 2 ) H_2^2Q_m\mathbb{E}S^2/(4r^2) H 2 2 Q m E S 2 / ( 4 r 2 ) . Cauchy–Schwarz bounds the absolute cross term by L H 2 Q m E S 3 / 2 / r 3 / 2 LH_2\sqrt{Q_m}\mathbb{E}S^{3/2}/r^{3/2} L H 2 Q m E S 3/2 / r 3/2 , by first conditioning on S S S . Combining these bounds proves the first inequality. Subtracting its versions at 1 1 1 and r r r proves the second.
If S = ν Z S=\nu Z S = ν Z with a fixed positive law and E Z 2 < ∞ \mathbb{E}Z^2<\infty E Z 2 < ∞ , then E r = O ( ν 3 / 2 + ν 2 ) E_r=O(\nu^{3/2}+\nu^2) E r = O ( ν 3/2 + ν 2 ) for each fixed r r r . The variance used inside the proof is an analytical conditioning variable. The evaluated z r z_r z r uses only the observations and the prior for S S S .
Joint law and regularity conditions. At fixed response sites, let ( T , G , H ) (T,G,H) ( T , G , H ) have a proper task law with ∣ G ∣ ≤ M |G|\leq M ∣ G ∣ ≤ M and ∣ H ∣ ≤ H 0 |H|\leq H_0 ∣ H ∣ ≤ H 0 . Common non-cue site/query information is denoted by X \mathcal{X} X . Let the cue noise N 0 ∼ N ( 0 , 1 ) N_0\sim N(0,1) N 0 ∼ N ( 0 , 1 ) , the standard Gaussian reading errors ϵ i j \epsilon_{ij} ϵ ij , and Z > 0 Z>0 Z > 0 be mutually independent and independent of the task, conditional on X \mathcal{X} X ; the law of Z Z Z is fixed, independent of X \mathcal{X} X , and has E Z 2 < ∞ \mathbb{E}Z^2<\infty E Z 2 < ∞ . Observe V = t H + N 0 V=tH+N_0 V = t H + N 0 once and readings with variance S = ν Z S=\nu Z S = ν Z . Write ρ ν \rho_\nu ρ ν for the law of S S S . Only the cue likelihood is powered; any other input information is conditioned on once in both rules. With T = ( F ( X i ) ) i T=(F(X_i))_i T = ( F ( X i ) ) i , their joint posterior family for ( F , H , S ) (F,H,S) ( F , H , S ) is
Π b ( d F , d H , d S ∣ X , V , M r , W r ) ∝ Π ( d F , d H ∣ X ) ρ ν ( d S ) e b ( t V H − t 2 H 2 / 2 ) S − m r / 2 × exp [ − W r + r ∥ M r − T ∥ 2 2 S ] , b = 1 , r . (16) \Pi_b(dF,dH,dS\mid\mathcal{X},V,M_r,W_r)\propto\Pi(dF,dH\mid\mathcal{X})\rho_\nu(dS)e^{b(tVH-t^2H^2/2)S^{-m r/2}}
\times\exp\left[-\frac{W_r+r\lVert M_r-T\rVert^2}{2S}\right],\qquad b=1,r. \tag*{(16)} Π b ( d F , d H , d S ∣ X , V , M r , W r ) ∝ Π ( d F , d H ∣ X ) ρ ν ( d S ) e b ( t V H − t 2 H 2 /2 ) S − m r /2 × exp [ − 2 S W r + r ∥ M r − T ∥ 2 ] , b = 1 , r . (16)
Here a r a_r a r and z r z_r z r are the posterior means of G = F ( x ∗ ) G=F(x_\ast) G = F ( x ∗ ) under Π r \Pi_r Π r and Π 1 \Pi_1 Π 1 , respectively. Factors independent of the latent variables have been omitted. Sampling attributes U i = ( t / m ) H + ξ i U_i=(t/\sqrt{m})H+\xi_i U i = ( t / m ) H + ξ i gives this cue because their aggregate m − 1 / 2 ∑ i U i = V m^{-1/2}\sum_iU_i=V m − 1/2 ∑ i U i = V is sufficient for H H H ; the remaining components have task-independent likelihoods.
For each sufficiently small t t t and almost every ( V , X ) (V,\mathcal{X}) ( V , X ) , impose the density, differentiability, and boundary assumptions of Lemma 1 on the task law conditional on ( V , X ) (V,\mathcal{X}) ( V , X ) . Let its constants be L t , H 2 , t , J t L_t,H_{2,t},J_t L t , H 2 , t , J t and C t r e m = L t J t + 1 2 H 2 , t Q m C_t^{\mathrm{rem}}=L_t\sqrt{J_t}+\frac{1}{2}H_{2,t}\sqrt{Q_m} C t rem = L t J t + 2 1 H 2 , t Q m . Specifically require
sup ∣ t ∣ ≤ t 0 E t [ L t H 2 , t ] < ∞ , sup ∣ t ∣ ≤ t 0 E t [ H 2 , t 2 + ( C t r e m ) 2 ] < ∞ , \sup_{|t|\leq t_0}\mathbb{E}_t[L_tH_{2,t}]<\infty,\qquad
\sup_{|t|\leq t_0}\mathbb{E}_t[H_{2,t}^2+(C_t^{\mathrm{rem}})^2]<\infty, ∣ t ∣ ≤ t 0 sup E t [ L t H 2 , t ] < ∞ , ∣ t ∣ ≤ t 0 sup E t [ H 2 , t 2 + ( C t rem ) 2 ] < ∞ ,
and
K t = E t ∥ ∇ T E t [ G ∣ T , V , X ] ∥ 2 ⟶ K 0 . K_t=\mathbb{E}_t\left\lVert\nabla_T\mathbb{E}_t[G\mid T,V,\mathcal{X}]\right\rVert^2\longrightarrow K_0. K t = E t ∥ ∇ T E t [ G ∣ T , V , X ] ∥ 2 ⟶ K 0 .
These are sufficient uniformity assumptions, not consequences of bounded G , H G,H G , H alone. They ensure that the averaged measurement-gain remainder is o ( ν ) o(\nu) o ( ν ) along t = λ ν t=\lambda\sqrt{\nu} t = λ ν .
The zero-cue covariance constant is
C 0 2 = E 0 [ Cov ( G , H ∣ T , X ) 2 ] , C 0 ≥ 0 , C_0^2=\mathbb{E}_0\left[\operatorname{Cov}(G,H\mid T,\mathcal{X})^2\right],\qquad C_0\geq0, C 0 2 = E 0 [ Cov ( G , H ∣ T , X ) 2 ] , C 0 ≥ 0 ,
where E 0 \mathbb{E}_0 E 0 denotes expectation under the zero-cue task law.
Proposition 3 (Local repetition thresholds). For the model and regularity conditions above, with t = λ ν t=\lambda\sqrt{\nu} t = λ ν , as ν ↓ 0 \nu\downarrow0 ν ↓ 0 on a fixed finite count grid,
R r e p ( f ^ I I D , r ) − R r e p ( f ^ I I D , 1 ) = ν { c c o s t ( r − 1 ) 2 − c g a i n ( 1 − 1 / r ) } + o ( ν ) , (17) R_{\mathrm{rep}}(\widehat{f}_{\mathrm{IID},r})-R_{\mathrm{rep}}(\widehat{f}_{\mathrm{IID},1})
=\nu\{c_{\mathrm{cost}}(r-1)^2-c_{\mathrm{gain}}(1-1/r)\}+o(\nu), \tag*{(17)} R rep ( f IID , r ) − R rep ( f IID , 1 ) = ν { c cost ( r − 1 ) 2 − c gain ( 1 − 1/ r )} + o ( ν ) , (17) *where c g a i n = E [ Z ] K 0 c_{\mathrm{gain}}=\mathbb{E}[Z]K_0 c gain = E [ Z ] K 0 and c c o s t = λ 2 C 0 2 c_{\mathrm{cost}}=\lambda^2C_0^2 c cost = λ 2 C 0 2 are independent of ν \nu ν . If both are positive, put η = c g a i n / c c o s t \eta=c_{\mathrm{gain}}/c_{\mathrm{cost}} η = c gain / c cost . For sufficiently small ν \nu ν , r ≥ 2 r\ge2 r ≥ 2 readings beat one reading if r ( r − 1 ) < η r(r-1)<\eta r ( r − 1 ) < η ; adding reading r + 1 r+1 r + 1 helps if r ( r + 1 ) ( 2 r − 1 ) < η r(r+1)(2r-1)<\eta r ( r + 1 ) ( 2 r − 1 ) < η , with both counts on the grid. Strict reverse inequalities reverse the comparisons; equality is undetermined.
A finite bound for the cue cost. Let O r = ( M r , W r ) \mathcal{O}_r=(M_r,W_r) O r = ( M r , W r ) and, under the zero-cue task law, define
c r = Cov ( G , H ∣ O r , X ) , C r = ∥ c r ∥ 2 . c_r=\operatorname{Cov}(G,H\mid\mathcal{O}_r,\mathcal{X}),\qquad C_r=\lVert c_r\rVert_2. c r = Cov ( G , H ∣ O r , X ) , C r = ∥ c r ∥ 2 .
For ∣ t ∣ ≤ t 0 |t|\le t_0 ∣ t ∣ ≤ t 0 put
J r ∘ = M H 0 2 [ 2 r + 4 ( r 2 + 1 ) ( 3 1 / 4 + 2 t 0 H 0 ) 2 ] . J_r^\circ=MH_0^2\left[2r+4(r^2+1)(3^{1/4}+2t_0H_0)^2\right]. J r ∘ = M H 0 2 [ 2 r + 4 ( r 2 + 1 ) ( 3 1/4 + 2 t 0 H 0 ) 2 ] .
Then
( [ ( r − 1 ) ∣ t ∣ C r − J r ∘ t 2 ] + ) 1 / 2 ≤ C r ≤ ( [ ( r − 1 ) ∣ t ∣ C r + J r ∘ t 2 ] ) 1 / 2 , (18) \left([(r-1)|t|C_r-J_r^\circ t^2]_+\right)^{1/2}\le C_r\le\left([(r-1)|t|C_r+J_r^\circ t^2]\right)^{1/2}, \tag*{(18)} ( [( r − 1 ) ∣ t ∣ C r − J r ∘ t 2 ] + ) 1/2 ≤ C r ≤ ( [( r − 1 ) ∣ t ∣ C r + J r ∘ t 2 ] ) 1/2 , (18)
where [ u ] + = max ( u , 0 ) [u]_+=\max(u,0) [ u ] + = max ( u , 0 ) .
Proof. Conditional on ( O r , X ) (\mathcal{O}_r,\mathcal{X}) ( O r , X ) , let Ψ b ( t , v ) \Psi_b(t,v) Ψ b ( t , v ) be the mean of G G G after tilting the zero-cue conditional law by exp { b ( t v H − t 2 H 2 / 2 ) } \exp\{b(tvH-t^2H^2/2)\} exp { b ( t v H − t 2 H 2 /2 )} . Differentiating a normalized expectation gives ∂ t Ψ b ( 0 , v ) = b v c r \partial_t\Psi_b(0,v)=bv c_r ∂ t Ψ b ( 0 , v ) = b v c r . For a general t t t , set A = b ( v H − t H 2 ) A=b(vH-tH^2) A = b ( v H − t H 2 ) . The second derivative is
E b [ ( G − E b G ) ( A − E b A ) ] + Cov b ( G , − b H 2 ) . \mathbb{E}_b[(G-\mathbb{E}_bG)(A-\mathbb{E}_bA)]+\operatorname{Cov}_b(G,-bH^2). E b [( G − E b G ) ( A − E b A )] + Cov b ( G , − b H 2 ) .
Its absolute value is at most 8 M b 2 H 0 2 ( ∣ v ∣ + t 0 H 0 ) 2 + 2 M b H 0 2 8Mb^2H_0^2(|v|+t_0H_0)^2+2MbH_0^2 8 M b 2 H 0 2 ( ∣ v ∣ + t 0 H 0 ) 2 + 2 M b H 0 2 . Taylor’s theorem for b = r b=r b = r and b = 1 b=1 b = 1 therefore bounds the difference of their remainders. Under the actual experiment, V = N 0 + t H V=N_0+tH V = N 0 + t H and ∥ V ∥ 4 ≤ 3 1 / 4 + t 0 H 0 \lVert V\rVert_4\le3^{1/4}+t_0H_0 ∥ V ∥ 4 ≤ 3 1/4 + t 0 H 0 . Replacing V V V in the first-order difference by N 0 N_0 N 0 adds at most ( r − 1 ) M H 0 2 t 2 (r-1)MH_0^2t^2 ( r − 1 ) M H 0 2 t 2 , using ∣ c r ∣ ≤ M H 0 |c_r|\le MH_0 ∣ c r ∣ ≤ M H 0 . Combining terms gives
∥ a r − z r − ( r − 1 ) t N 0 c r ∥ 2 ≤ J r ∘ t 2 . \lVert a_r-z_r-(r-1)tN_0c_r\rVert_2\le J_r^\circ t^2. ∥ a r − z r − ( r − 1 ) t N 0 c r ∥ 2 ≤ J r ∘ t 2 .
The zero-cue conditional covariance is a function of O r , X \mathcal{O}_r,\mathcal{X} O r , X , and N 0 N_0 N 0 is independent of these variables. Thus ∥ N 0 c r ∥ 2 = C r \lVert N_0c_r\rVert_2=C_r ∥ N 0 c r ∥ 2 = C r . The direct and reverse triangle inequalities prove (18) . □
Proof of Proposition 3. For any bounded U ∈ { G , H , G H } U\in\{G,H,GH\} U ∈ { G , H , G H } , reading-noise independence gives
E [ U ∣ O r , X ] = E [ E ( U ∣ T , X ) ∣ O r , X ] . \mathbb{E}[U\mid\mathcal{O}_r,\mathcal{X}]
=\mathbb{E}[\mathbb{E}(U\mid T,\mathcal{X})\mid\mathcal{O}_r,\mathcal{X}]. E [ U ∣ O r , X ] = E [ E ( U ∣ T , X ) ∣ O r , X ] .
At fixed X \mathcal{X} X , approximate the bounded measurable function u ( T ) = E ( U ∣ T , X ) u(T)=\mathbb{E}(U\mid T,\mathcal{X}) u ( T ) = E ( U ∣ T , X ) in L 2 L^2 L 2 by bounded Lipschitz functions. Since E ∥ M r − T ∥ 2 = m ν E Z / r → 0 \mathbb{E}\lVert M_r-T\rVert^2=m\nu\mathbb{E}Z/r\to0 E ∥ M r − T ∥ 2 = m ν E Z / r → 0 , a Lipschitz function of M r M_r M r approximates the same function of T T T . The conditional expectation, being the best L 2 L^2 L 2 predictor from O r \mathcal{O}_r O r , has no larger error. The approximation and then the noise limit show E [ U ∣ O r , X ] → E [ U ∣ T , X ] \mathbb{E}[U\mid\mathcal{O}_r,\mathcal{X}]\to\mathbb{E}[U\mid T,\mathcal{X}] E [ U ∣ O r , X ] → E [ U ∣ T , X ] in L 2 L^2 L 2 . Boundedness permits averaging over X \mathcal{X} X . Applying the result to the three listed U U U proves C r → C 0 C_r\to C_0 C r → C 0 .
(18) with t = λ ν t=\lambda\sqrt{\nu} t = λ ν now gives
C r / ν ⟶ ( r − 1 ) 2 λ 2 C 0 2 . C_r/\nu\longrightarrow(r-1)^2\lambda^2C_0^2. C r / ν ⟶ ( r − 1 ) 2 λ 2 C 0 2 .
Lemma 1, conditional on ( V , X ) (V,\mathcal{X}) ( V , X ) and averaged using the stated uniformity assumptions, gives
B r / ν ⟶ ( 1 − 1 / r ) E [ Z ] K 0 . B_r/\nu\longrightarrow(1-1/r)\mathbb{E}[Z]K_0. B r / ν ⟶ ( 1 − 1/ r ) E [ Z ] K 0 .
There are only finitely many counts, so convergence is simultaneous on a fixed finite grid. Write the scaled leading terms in (17) as
A : = ν E [ Z ] K 0 , B : = t 2 C 0 2 = ν λ 2 C 0 2 . (19) A:=\nu\mathbb{E}[Z]K_0,\qquad B:=t^2C_0^2=\nu\lambda^2C_0^2. \tag*{(19)} A := ν E [ Z ] K 0 , B := t 2 C 0 2 = ν λ 2 C 0 2 . (19)
The main-text coefficients are c g a i n = E [ Z ] K 0 = A / ν c_{\mathrm{gain}}=\mathbb{E}[Z]K_0=A/\nu c gain = E [ Z ] K 0 = A / ν and c c o s t = λ 2 C 0 2 = B / ν c_{\mathrm{cost}}=\lambda^2C_0^2=B/\nu c cost = λ 2 C 0 2 = B / ν . Substituting the two limits in Proposition 2 gives that expansion, with A / B = E [ Z ] K 0 / ( λ 2 C 0 2 ) A/B=\mathbb{E}[Z]K_0/(\lambda^2C_0^2) A / B = E [ Z ] K 0 / ( λ 2 C 0 2 ) when B > 0 B>0 B > 0 .
Under K 0 C 0 > 0 K_0C_0>0 K 0 C 0 > 0 and B > 0 B>0 B > 0 (equivalently λ ≠ 0 \lambda\ne0 λ = 0 here), let η = E [ Z ] K 0 / ( λ 2 C 0 2 ) > 0 \eta=\mathbb{E}[Z]K_0/(\lambda^2C_0^2)>0 η = E [ Z ] K 0 / ( λ 2 C 0 2 ) > 0 . For r ≥ 2 r\ge2 r ≥ 2 , the leading contrast divided by ν \nu ν factors as
λ 2 C 0 2 r − 1 r { r ( r − 1 ) − η } . \lambda^2C_0^2\frac{r-1}{r}\{r(r-1)-\eta\}. λ 2 C 0 2 r r − 1 { r ( r − 1 ) − η } .
The adjacent-count difference divided by ν \nu ν tends to
( 2 r − 1 ) λ 2 C 0 2 − E [ Z ] K 0 r ( r + 1 ) . (2r-1)\lambda^2C_0^2-\frac{\mathbb{E}[Z]K_0}{r(r+1)}. ( 2 r − 1 ) λ 2 C 0 2 − r ( r + 1 ) E [ Z ] K 0 .
Its sign is that of r ( r + 1 ) ( 2 r − 1 ) − η r(r+1)(2r-1)-\eta r ( r + 1 ) ( 2 r − 1 ) − η . A strict nonzero limit bounds the remainder away from a sign change for sufficiently small ν \nu ν , proving the claims. At equality the leading expansion does not determine a sign.
Margins on a tested grid. For finitely many proposed comparisons, suppose the smallest absolute nonzero leading contrast after division by ν \nu ν is κ > 0 \kappa>0 κ > 0 . Uniform convergence gives a common ν 0 \nu_0 ν 0 for which every remainder in those comparisons has magnitude less than κ ν / 2 \kappa\nu/2 κ ν /2 . All their leading signs then hold for 0 < ν < ν 0 0<\nu<\nu_0 0 < ν < ν 0 . The value of ν 0 \nu_0 ν 0 requires a finite remainder calculation; the asymptotic theorem does not supply a universal numerical cutoff. For two tested counts s > r s>r s > r , the leading increment is
( s − r ) { B ( s + r − 2 ) − A r s } . (s-r)\left\{B(s+r-2)-\frac{A}{rs}\right\}. ( s − r ) { B ( s + r − 2 ) − r s A } .
For B > 0 B>0 B > 0 , this gives the corresponding grid condition r s ( r + s − 2 ) ⋛ A / B rs(r+s-2)\gtreqless A/B r s ( r + s − 2 ) ⋛ A / B . These formulas do not justify letting the largest count grow with 1 / ν 1/\nu 1/ ν .
Finite covariance approximation. If g ( T ) = E [ G ∣ T , X ] g(T)=\mathbb{E}[G\mid T,\mathcal{X}] g ( T ) = E [ G ∣ T , X ] , h ( T ) = E [ H ∣ T , X ] h(T)=\mathbb{E}[H\mid T,\mathcal{X}] h ( T ) = E [ H ∣ T , X ] , and c ( T ) = Cov ( G , H ∣ T , X ) c(T)=\operatorname{Cov}(G,H\mid T,\mathcal{X}) c ( T ) = Cov ( G , H ∣ T , X ) have uniform Lipschitz constants L g , L h , L c L_g,L_h,L_c L g , L h , L c , then
∣ C r − C 0 ∣ ≤ L c m E S / r + L g L h Q m E S 2 / r . (20) \lvert C_r-C_0\rvert\le L_c\sqrt{m\mathbb{E}S/r}+L_gL_h\sqrt{Q_m\mathbb{E}S^2/r}. \tag*{(20)} ∣ C r − C 0 ∣ ≤ L c m E S / r + L g L h Q m E S 2 / r . (20)
Indeed, total covariance gives c r = E [ c ( T ) ∣ O r , X ] + Cov ( g ( T ) , h ( T ) ∣ O r , X ) c_r=\mathbb{E}[c(T)\mid O_r,\mathcal{X}]+\operatorname{Cov}(g(T),h(T)\mid O_r,\mathcal{X}) c r = E [ c ( T ) ∣ O r , X ] + Cov ( g ( T ) , h ( T ) ∣ O r , X ) . Projection bounds the first term’s L 2 L^2 L 2 distance from c ( T ) c(T) c ( T ) by L c ∥ M r − T ∥ 2 L_c\lVert M_r-T\rVert_2 L c ∥ M r − T ∥ 2 . The independent-pair covariance identity bounds the absolute second term by L g L h tr Var ( T ∣ O r , X ) L_gL_h\operatorname{tr}\operatorname{Var}(T\mid O_r,\mathcal{X}) L g L h tr Var ( T ∣ O r , X ) , hence by L g L h E [ ∥ T − M r ∥ 2 ∣ O r , X ] L_gL_h\mathbb{E}[\lVert T-M_r\rVert^2\mid O_r,\mathcal{X}] L g L h E [∥ T − M r ∥ 2 ∣ O r , X ] . Conditional Jensen and the fourth Gaussian moment prove the displayed bound. Together with Equations (15) and (18) , this gives finite lower and upper intervals [ B L , B U ] [B_L,B_U] [ B L , B U ] and [ C L , C U ] [C_L,C_U] [ C L , C U ] . The inequalities C L > B U C_L>B_U C L > B U and C U < B L C_U<B_L C U < B L certify harm and benefit, respectively.
A common weak cue and varying population noise. Set t = δ t=\delta t = δ and ν = c δ 2 \nu=c\delta^2 ν = c δ 2 , keeping the zero-cue task law, the law of Z Z Z , and c > 0 c>0 c > 0 fixed. The proposition with λ = 1 / c \lambda=1/\sqrt{c} λ = 1/ c yields
R ( a r ) − R ( z 1 ) δ 2 ⟶ ( r − 1 ) 2 C 0 2 − c ( 1 − 1 / r ) E [ Z ] K 0 . \frac{R(a_r)-R(z_1)}{\delta^2}\longrightarrow(r-1)^2C_0^2-c(1-1/r)\mathbb{E}[Z]K_0. δ 2 R ( a r ) − R ( z 1 ) ⟶ ( r − 1 ) 2 C 0 2 − c ( 1 − 1/ r ) E [ Z ] K 0 .
Thus increasing c c c increases the leading benefit at fixed weak cue. This changes the variance prior used by each reference predictor. It is not the physical-noise comparison with one predictor prior below.
Coverage, unresolved values, and stable determination
A pointwise coverage envelope. For fixed sites and exact site values T T T , consider the fiber
F X ( T ) = { f : f ( X i ) = T i for all i } . \mathcal{F}_X(T)=\{f:f(X_i)=T_i\text{ for all }i\}. F X ( T ) = { f : f ( X i ) = T i for all i } .
Assume every function in the prior support satisfies ∣ f ( x ) − f ( x ′ ) ∣ ≤ L d ( x , x ′ ) α \lvert f(x)-f(x')\rvert\le Ld(x,x')^\alpha ∣ f ( x ) − f ( x ′ )∣ ≤ L d ( x , x ′ ) α , with 0 < α ≤ 1 0<\alpha\le1 0 < α ≤ 1 , in a specified metric. Let h = min i d X ( x , X i ) h=\min_i d_X(x,X_i) h = min i d X ( x , X i ) . Two functions in the fiber agree at a nearest site, so the triangle inequality gives ∣ f ( x ∗ ) − f ′ ( x ∗ ) ∣ ≤ 2 L h α \lvert f(x_*)-f'(x_*)\rvert\le2Lh^\alpha ∣ f ( x ∗ ) − f ′ ( x ∗ )∣ ≤ 2 L h α . Every posterior supported on the same fiber places its query mean in an interval of this length. In particular, if g 1 ( T , X ) g_1(T,\mathcal{X}) g 1 ( T , X ) and g r ( T , X ) g_r(T,\mathcal{X}) g r ( T , X ) are the means under the exact-value correct and powered-input posteriors,
b r 2 : = E { g r ( T , X ) − g 1 ( T , X ) } 2 ≤ 4 L 2 E h 2 α . (21) b_r^2:=\mathbb{E}\{g_r(T,\mathcal{X})-g_1(T,\mathcal{X})\}^2\le4L^2\mathbb{E}h^{2\alpha}. \tag*{(21)} b r 2 := E { g r ( T , X ) − g 1 ( T , X ) } 2 ≤ 4 L 2 E h 2 α . (21)
This is an exact-value bound for fixed r r r and a specified averaging law; it is not by itself a finite-noise risk bound. The same nearest-site value confines G G G to an interval of radius L h α Lh^\alpha L h α conditional on ( T , X ) (T,\mathcal{X}) ( T , X ) , and therefore Var ( G ∣ T , X ) ≤ L 2 h 2 α \operatorname{Var}(G\mid T,\mathcal{X})\le L^2h^{2\alpha} Var ( G ∣ T , X ) ≤ L 2 h 2 α . With ∣ H ∣ ≤ H 0 \lvert H\rvert\le H_0 ∣ H ∣ ≤ H 0 , conditional Cauchy–Schwarz gives
C 0 2 ≤ H 0 2 L 2 E h 2 α . (22) C_0^2\le H_0^2L^2\mathbb{E}h^{2\alpha}. \tag*{(22)} C 0 2 ≤ H 0 2 L 2 E h 2 α . (22)
The subscript 0 0 0 denotes the zero-cue law defining C 0 C_0 C 0 . Equation (21) can instead be averaged under the original cue-informed design law. Both inequalities allow correlations among function values.
A sampling rate requires conditional coverage. Suppose the domain has diameter D < ∞ D < \infty D < ∞ in d X d_X d X . The sites are i.i.d. exogenous draws, or conditionally i.i.d. given the task with a bound uniform over tasks. A random query is independent of those sites conditional on the same information. Assume, uniformly over possible queries and the conditioned information,
Pr { X i ∈ B ( x , τ ) } ≥ c τ d e f f , 0 < τ ≤ h 0 , \Pr\{X_i \in B(x,\tau)\} \ge c\tau^{d_{\mathrm{eff}}}, \qquad0 < \tau\le h_0, Pr { X i ∈ B ( x , τ )} ≥ c τ d eff , 0 < τ ≤ h 0 ,
with c , h 0 > 0 c,h_0 > 0 c , h 0 > 0 . Then Pr { h > τ } ≤ e − m c τ d e f f \Pr\{h > \tau\} \le e^{-mc\tau^{d_{\mathrm{eff}}}} Pr { h > τ } ≤ e − m c τ d eff for 0 < τ ≤ h 0 0 < \tau\le h_0 0 < τ ≤ h 0 . Integrating the tail of h 2 α h^{2\alpha} h 2 α yields
E h 2 α ≤ Γ ( 1 + 2 α / d e f f ) ( m c ) − 2 α / d e f f + D 2 α e − m c h 0 d e f f . (23) \mathbb{E}h^{2\alpha} \le\Gamma(1+2\alpha/d_{\mathrm{eff}})(mc)^{-2\alpha/d_{\mathrm{eff}}} + D^{2\alpha}e^{-mch_0^{d_{\mathrm{eff}}}}. \tag*{(23)} E h 2 α ≤ Γ ( 1 + 2 α / d eff ) ( m c ) − 2 α / d eff + D 2 α e − m c h 0 d eff . (23)
The last term may be omitted when the bound holds through the domain diameter. To see the integral, extend ∫ 0 h 0 2 α τ 2 α − 1 e − m c τ d e f f d τ \int_0^{h_0}2\alpha\tau^{2\alpha-1}e^{-mc\tau^{d_{\mathrm{eff}}}}\,d\tau ∫ 0 h 0 2 α τ 2 α − 1 e − m c τ d eff d τ to infinity and substitute v = m c τ d e f f v=mc\tau^{d_{\mathrm{eff}}} v = m c τ d eff . The remaining bounded-domain tail is at most the displayed exponential term. A marginal input-density bound without the relevant conditional independence is insufficient for the product bound.
The exponent d e f f d_{\mathrm{eff}} d eff describes neighborhood probabilities in a metric that controls function variation. It need not equal the number of columns or the number of active coordinates of a particular teacher. These upper envelopes do not order the difference C r − B r C_r-B_r C r − B r across dimensions; such an ordering would require control of both terms under a specified family.
A smooth region model with a positive protocol mismatch cost. Let K ≥ 2 K \ge2 K ≥ 2 disjoint plateau regions have equal probability for site selection and query selection. For independent equiprobable signs H 1 , … , H K H_1,\ldots,H_K H 1 , … , H K , set f H = u H j f_H=uH_j f H = u H j on region j j j , with u > 0 u>0 u > 0 , and join the plateaus smoothly outside the design support. This defines smooth functions for each fixed separated design support, with target variance u 2 u^2 u 2 . Each site has an independently sampled cue vector U i = ( t / m ) H + ξ i U_i=(t/\sqrt{m})H+\xi_i U i = ( t / m ) H + ξ i , ξ i ∼ N ( 0 , I K ) \xi_i\sim N(0,I_K) ξ i ∼ N ( 0 , I K ) , whose aggregate is V = t H + N V=tH+N V = t H + N . Responses depend on the region and H H H but not additionally on the realized cue coordinates. A proper positive variance prior is independent of all signs, cues, and region labels.
Let J J J be the query region. With probability p 0 = ( 1 − 1 / K ) m p_0=(1-1/K)^m p 0 = ( 1 − 1/ K ) m , no measured site lies in region J J J . On this event, no reading or residual statistic contains information about H J H_J H J . Its posterior odds from the cue are exp ( 2 t V J ) \exp(2tV_J) exp ( 2 t V J ) under the correct protocol and exp ( 2 r t V J ) \exp(2rtV_J) exp ( 2 r t V J ) under the IID rule. Hence
z 1 = z r = u tanh ( t V J ) , a r = u tanh ( r t V J ) . z_1=z_r=u\tanh(tV_J), \qquad a_r=u\tanh(rtV_J). z 1 = z r = u tanh ( t V J ) , a r = u tanh ( r t V J ) .
Put
δ r ( t ) = E { tanh ( r t V J ) − tanh ( t V J ) } 2 , V J = t H J + N J . \delta_r(t)=\mathbb{E}\{\tanh(rtV_J)-\tanh(tV_J)\}^2,\qquad V_J=tH_J+N_J. δ r ( t ) = E { tanh ( r t V J ) − tanh ( t V J ) } 2 , V J = t H J + N J .
For t > 0 t>0 t > 0 and r > 1 r>1 r > 1 , δ r ( t ) > 0 \delta_r(t)>0 δ r ( t ) > 0 ; it increases strictly with real r > 1 r>1 r > 1 because the absolute difference increases for every nonzero V J V_J V J .
Proposition 4 (Finite-noise and low-noise region comparisons). In this model, let p n o i s e = E Φ ( − u / S ) p_{\mathrm{noise}}=\mathbb{E}\Phi(-u/\sqrt{S}) p noise = E Φ ( − u / S ) . Then
R ( a r ) − R ( z 1 ) ≥ u 2 { p 0 δ r ( t ) − 4 ( 1 − p 0 ) p n o i s e } . (24) R(a_r)-R(z_1) \ge u^2\{p_0\delta_r(t)-4(1-p_0)p_{\mathrm{noise}}\}. \tag*{(24)} R ( a r ) − R ( z 1 ) ≥ u 2 { p 0 δ r ( t ) − 4 ( 1 − p 0 ) p noise } . (24) Thus p 0 > 4 p n o i s e / { δ r ( t ) + 4 p n o i s e } p_0>4p_{\mathrm{noise}}/\{\delta_r(t)+4p_{\mathrm{noise}}\} p 0 > 4 p noise / { δ r ( t ) + 4 p noise } suffices for harm. If S = v Z S=vZ S = v Z for any fixed proper law on Z > 0 Z>0 Z > 0 , and u , t , K , m , r u,t,K,m,r u , t , K , m , r are fixed, then
lim v ↓ 0 { R ( a r ) − R ( z 1 ) } = u 2 ( 1 − 1 / K ) m δ r ( t ) . (25) \lim_{v\downarrow0}\{R(a_r)-R(z_1)\}=u^2(1-1/K)^m\delta_r(t). \tag*{(25)} v ↓ 0 lim { R ( a r ) − R ( z 1 )} = u 2 ( 1 − 1/ K ) m δ r ( t ) . (25)
Proof. On the unobserved-region event, posterior orthogonality makes the excess risk exactly u 2 δ r ( t ) u^2\delta_r(t) u 2 δ r ( t ) . On its complement E E E , the sign of one reading in the query region is an available predictor with conditional risk 4 u 2 p n o i s e 4u^2p_{\mathrm{noise}} 4 u 2 p noise . Single’s Bayes risk is no larger, while a r a_r a r has nonnegative risk. Weighting the two events proves Equation (24) .
For the limit, dominated convergence gives p v = E Φ ( − u / v Z ) → 0 p_v=\mathbb{E}\Phi(-u/\sqrt{vZ})\to0 p v = E Φ ( − u / v Z ) → 0 . Hence R ( z 1 ; E ) ≤ 4 u 2 Pr ( E ) p v → 0 R(z_1;E)\le4u^2\Pr(E)p_v\to0 R ( z 1 ; E ) ≤ 4 u 2 Pr ( E ) p v → 0 , and nested projection gives R ( z r ; E ) ≤ R ( z 1 ; E ) R(z_r;E)\le R(z_1;E) R ( z r ; E ) ≤ R ( z 1 ; E ) . If q 1 q_1 q 1 denotes the correct posterior probability of the sign opposite the realized H J H_J H J , averaging also over the true sign gives E [ 1 E q 1 ] = R ( z r ; E ) / ( 2 u 2 ) → 0 \mathbb{E}[1_{E}q_1]=R(z_r;E)/(2u^2)\to0 E [ 1 E q 1 ] = R ( z r ; E ) / ( 2 u 2 ) → 0 .
The density ratio of the IID posterior to the correct posterior is at most C ( V ) = exp { 2 ( r − 1 ) t ∑ j ∣ V j ∣ } C(V)=\exp\{2(r-1)t\sum_j|V_j|\} C ( V ) = exp { 2 ( r − 1 ) t ∑ j ∣ V j ∣ } : the quadratic cue term is constant across sign vectors, and the range of the remaining log tilt is bounded by the displayed exponent. If q I I D q_{\mathrm{IID}} q IID is its probability of the wrong sign, then for every c > 0 c>0 c > 0 ,
E [ 1 E q I I D ] ≤ c E [ 1 E q 1 ] + Pr { C ( V ) > c } . \mathbb{E}[1_Eq_{\mathrm{IID}}]\le c\mathbb{E}[1_Eq_1]+\Pr\{C(V)>c\}. E [ 1 E q IID ] ≤ c E [ 1 E q 1 ] + Pr { C ( V ) > c } .
The law of V V V is independent of ν \nu ν , and C ( V ) < ∞ C(V)<\infty C ( V ) < ∞ almost surely. First take ν ↓ 0 \nu\downarrow0 ν ↓ 0 , then c ↑ ∞ c\uparrow\infty c ↑ ∞ . Since ( a r − G ) 2 ≤ 4 u 2 q I I D (a_r-G)^2\le4u^2q_{\mathrm{IID}} ( a r − G ) 2 ≤ 4 u 2 q IID , its observed-region risk also vanishes. Only the exact unobserved-region contribution remains.
At fixed signal amplitude and aggregate cue strength, this model’s limiting harm increases with K K K and r r r , and decreases with m m m . Comparisons over m m m keep t t t fixed by using the per-site cue strength t / m t/\sqrt{m} t / m . These are properties of this constructed family. Increasing its number of separated plateaus does not keep a global Hölder constant fixed on an arbitrary fixed domain, so it is not a universal dimension monotonicity theorem.
Stable determination yields a smaller finite-noise cost. Condition on the sampled inputs under their correct task law. Let ℓ = log L X \ell=\log L_X ℓ = log L X have finite essential oscillation Ω \Omega Ω , and assume for any two functions in the latent support
∣ G − G ′ ∣ ≤ L G ∥ T − T ′ ∥ , ∣ ℓ − ℓ ′ ∣ ≤ L ℓ ∥ T − T ′ ∥ . |G-G'|\le L_G\|T-T'\|,\qquad|\ell-\ell'|\le L_\ell\|T-T'\|. ∣ G − G ′ ∣ ≤ L G ∥ T − T ′ ∥ , ∣ ℓ − ℓ ′ ∣ ≤ L ℓ ∥ T − T ′ ∥.
In particular, both the query value and input evidence are determined by exact site values. For independent common variance S S S with E S 2 < ∞ \mathbb{E}S^2<\infty E S 2 < ∞ ,
C r ≤ L G 2 L ℓ 2 Q m E S 2 r 2 { e ( r − 1 ) Ω − 1 Ω } 2 ( Ω > 0 ) . (26) C_r\le\frac{L_G^2L_\ell^2Q_m\mathbb{E}S^2}{r^2}\left\{\frac{e^{(r-1)\Omega}-1}{\Omega}\right\}^2\qquad(\Omega>0). \tag*{(26)} C r ≤ r 2 L G 2 L ℓ 2 Q m E S 2 { Ω e ( r − 1 ) Ω − 1 } 2 ( Ω > 0 ) . (26)
To prove the bound, tilt the correct posterior by e v ℓ e^{v\ell} e v ℓ , 0 ≤ v ≤ r − 1 0\le v\le r-1 0 ≤ v ≤ r − 1 . The derivative of its query mean is Cov v ( G , ℓ ∣ D r ) \operatorname{Cov}_v(G,\ell\mid D_r) Cov v ( G , ℓ ∣ D r ) . The independent-pair identity Cov ( A , B ) = 1 2 E [ ( A − A ′ ) ( B − B ′ ) ] \operatorname{Cov}(A,B)=\frac{1}{2}\mathbb{E}[(A-A')(B-B')] Cov ( A , B ) = 2 1 E [( A − A ′ ) ( B − B ′ )] bounds its absolute value by L G L ℓ tr Var v ( T ∣ D r ) L_GL_\ell\operatorname{tr}\operatorname{Var}_v(T\mid D_r) L G L ℓ tr Var v ( T ∣ D r ) . The tilted density ratio is at most e v Ω e^{v\Omega} e v Ω , so this is at most
L G L ℓ e v Ω E [ ∥ T − M r ∥ 2 ∣ D r ] . L_GL_\ell e^{v\Omega}\mathbb{E}[\|T-M_r\|^2\mid D_r]. L G L ℓ e v Ω E [ ∥ T − M r ∥ 2 ∣ D r ] .
Integrate over v v v and use conditional Jensen with E ∥ T − M r ∥ 4 = Q m E S 2 / r 2 \mathbb{E}\|T-M_r\|^4=Q_m\mathbb{E}S^2/r^2 E ∥ T − M r ∥ 4 = Q m E S 2 / r 2 to prove the inequality. When Ω = 0 \Omega=0 Ω = 0 , the likelihood is constant and the actual cost is zero. Under S = ν Z S=\nu Z S = ν Z , a fixed r ≥ 2 r\ge2 r ≥ 2 , and Lemma 1 with E ∥ ∇ g ( T ) ∥ 2 > 0 \mathbb{E}\|\nabla g(T)\|^2>0 E ∥∇ g ( T ) ∥ 2 > 0 , the cost is O ( ν 2 ) O(\nu^2) O ( ν 2 ) and the measurement gain is positive of order ν \nu ν . Thus repetition helps for sufficiently small ν \nu ν under these stronger stability assumptions.
One fixed variance prior and varying physical noise
Changing ρ ν \rho_\nu ρ ν in a matched Bayes calculation and changing the physical variance with ρ \rho ρ fixed are different experiments. Here all predictions use one fixed proper variance prior. Conditional on sampled sites and any common input information, put P b ( d F ) ∝ Π ( d F ) L X ( F ) b P_b(dF)\propto\Pi(dF)L_X(F)^b P b ( d F ) ∝ Π ( d F ) L X ( F ) b , b = 1 , r b=1,r b = 1 , r , and let p b p_b p b be the density of T T T under P b P_b P b and g b ( t ) = E P b [ G ∣ T = t ] g_b(t)=\mathbb{E}_{P_b}[G\mid T=t] g b ( t ) = E P b [ G ∣ T = t ] . Assume ∣ G ∣ ≤ M |G|\le M ∣ G ∣ ≤ M , the p b p_b p b are bounded and continuous and positive at almost every true T T T , and g b g_b g b is continuous at those values. The variance is independent under the predictor prior and has density
ρ ( s ) = c s a − 1 ( 1 + o ( 1 ) ) ( s ↓ 0 ) , a , c > 0. \rho(s)=cs^{a-1}(1+o(1))\qquad(s\downarrow0),\qquad a,c>0. ρ ( s ) = c s a − 1 ( 1 + o ( 1 )) ( s ↓ 0 ) , a , c > 0.
The physical experiment draws the function under P 1 P_1 P 1 and independent readings with variance s 0 s_0 s 0 , which is used only for this analysis. Write R s 0 ( g ) R_{s_0}(g) R s 0 ( g ) for the squared-error risk under this physical law.
Proposition 5 (Fixed-prior low-physical-noise limit). Let r > 1 r>1 r > 1 be fixed and k = m ( r − 1 ) > 2 a k=m(r-1)>2a k = m ( r − 1 ) > 2 a . Under the coupling M r = T + s 0 / r N M_r=T+\sqrt{s_0/r}N M r = T + s 0 / r N and W r = s 0 X W_r=s_0X W r = s 0 X , N ∼ N ( 0 , I m ) N\sim N(0,I_m) N ∼ N ( 0 , I m ) , X ∼ χ k 2 X\sim\chi_k^2 X ∼ χ k 2 independent, each posterior with exponent b = 1 , r b=1,r b = 1 , r satisfies
L b ( S / W r ∣ M r , W r ) ⟶ InvGamma ( k / 2 − a , 1 / 2 ) \mathcal{L}_b(S/W_r\mid M_r,W_r)\longrightarrow\operatorname{InvGamma}(k/2-a,1/2) L b ( S / W r ∣ M r , W r ) ⟶ InvGamma ( k /2 − a , 1/2 ) in total variation almost surely as s 0 ↓ 0 s_0\downarrow0 s 0 ↓ 0 . Moreover a r → g r ( T ) a_r\to g_r(T) a r → g r ( T ) and z r → g 1 ( T ) z_r\to g_1(T) z r → g 1 ( T ) in L 2 L^2 L 2 , whereas S i n g l e S\!ingle S in g l e tends in L 2 L^2 L 2 to
μ 1 ( T ) , μ 1 ( y ) = ∫ 0 ∞ ρ ( s ) [ p 1 g 1 ∗ ϕ s ] ( y ) d s ∫ 0 ∞ ρ ( s ) [ p 1 ∗ ϕ s ] ( y ) d s . \mu_1(T),\qquad\mu_1(y)=\frac{\int_0^\infty\rho(s)[p_1g_1\ast\phi_s](y)\,ds}{\int_0^\infty\rho(s)[p_1\ast\phi_s](y)\,ds}. μ 1 ( T ) , μ 1 ( y ) = ∫ 0 ∞ ρ ( s ) [ p 1 ∗ ϕ s ] ( y ) d s ∫ 0 ∞ ρ ( s ) [ p 1 g 1 ∗ ϕ s ] ( y ) d s . Consequently,
lim s 0 ↓ 0 { R s 0 ( a r ) − R s 0 ( z 1 ) } = E P 1 { [ g r ( T ) − g 1 ( T ) ] 2 } − E P 1 { [ μ 1 ( T ) − g 1 ( T ) ] 2 } . (27) \lim_{s_0\downarrow0}\{R_{s_0}(a_r)-R_{s_0}(z_1)\}
=\mathbb{E}_{P_1}\{[g_r(T)-g_1(T)]^2\}-\mathbb{E}_{P_1}\{[\mu_1(T)-g_1(T)]^2\}. \tag*{(27)} s 0 ↓ 0 lim { R s 0 ( a r ) − R s 0 ( z 1 )} = E P 1 {[ g r ( T ) − g 1 ( T ) ] 2 } − E P 1 {[ μ 1 ( T ) − g 1 ( T ) ] 2 } . (27)
The inverse-gamma convention is a density proportional to z − γ − 1 e − β / z z^{-\gamma-1}e^{-\beta/z} z − γ − 1 e − β / z for shape γ \gamma γ and scale β \beta β . Proof. Integrating the function out of the reading likelihood gives a variance density proportional to
ρ ( s ) s − k / 2 e − W r / ( 2 s ) [ p b ∗ ϕ s / r ] ( M r ) . \rho(s)s^{-k/2}e^{-W_r/(2s)}[p_b * \phi_{s/r}](M_r). ρ ( s ) s − k /2 e − W r / ( 2 s ) [ p b ∗ ϕ s / r ] ( M r ) .
Fix a coupled realization with χ > 0 \chi>0 χ > 0 and a continuity point T T T where p b ( T ) > 0 p_b(T)>0 p b ( T ) > 0 . Put γ = k / 2 − a > 0 \gamma=k/2-a>0 γ = k /2 − a > 0 and substitute s = W r z s=W_rz s = W r z . Multiplying the unnormalized density in z z z by W r γ W_r^\gamma W r γ gives pointwise convergence to c p b ( T ) z − γ − 1 e − 1 / ( 2 z ) c\,p_b(T)z^{-\gamma-1}e^{-1/(2z)} c p b ( T ) z − γ − 1 e − 1/ ( 2 z ) . For s < δ s<\delta s < δ , the near-zero expansion bounds ρ ( s ) \rho(s) ρ ( s ) by a constant times s a − 1 s^{a-1} s a − 1 , and the convolution is at most ∥ p b ∥ ∞ \lVert p_b\rVert_\infty ∥ p b ∥ ∞ . This gives an integrable envelope in z z z . The normalized contribution from s ≥ δ s\ge\delta s ≥ δ is O ( W r γ ) O(W_r^\gamma) O ( W r γ ) , since s − k / 2 ≤ δ − k / 2 s^{-k/2}\le\delta^{-k/2} s − k /2 ≤ δ − k /2 and ρ \rho ρ is proper. Dominated convergence, followed by normalization, proves the total-variation limit.
The scaled posterior is tight and W r → 0 W_r\to0 W r → 0 , so the posterior for S S S concentrates at zero. Conditional on S = s S=s S = s , the query mean is [ ( p b g b ) ∗ ϕ s / r ] ( M r ) / [ p b ∗ ϕ s / r ] ( M r ) [(p_bg_b)*\phi_{s/r}](M_r)/[p_b*\phi_{s/r}](M_r) [( p b g b ) ∗ ϕ s / r ] ( M r ) / [ p b ∗ ϕ s / r ] ( M r ) . Continuity at T T T makes this tend to g b ( T ) g_b(T) g b ( T ) when s → 0 s\to0 s → 0 and M r → T M_r\to T M r → T . The posterior concentration and boundedness of G G G give almost sure and L 2 L^2 L 2 convergence of the mixed mean.
For Single , k = 0 k=0 k = 0 and there is no residual-variance factor. Its posterior mean is the fixed mixture μ 1 ( M 1 ) \mu_1(M_1) μ 1 ( M 1 ) . The convolutions are continuous for every s > 0 s>0 s > 0 , bounded by constants depending only on ∥ p 1 ∥ ∞ \lVert p_1\rVert_\infty ∥ p 1 ∥ ∞ , M M M , and integrated against a proper ρ \rho ρ . Its denominator is positive at the relevant T T T . Thus μ 1 ( M 1 ) → μ 1 ( T ) \mu_1(M_1)\to\mu_1(T) μ 1 ( M 1 ) → μ 1 ( T ) , again in L 2 L^2 L 2 . Finally, conditional on T T T under P 1 P_1 P 1 , the residual G − g 1 ( T ) G-g_1(T) G − g 1 ( T ) is orthogonal to either limiting prediction minus g 1 ( T ) g_1(T) g 1 ( T ) . Subtracting the resulting two risks proves Equation (27).
The degree condition is sufficient; this proposition does not classify the boundary k = 2 a k=2a k = 2 a . With compact upper variance support and k > 2 a + 2 k>2a+2 k > 2 a + 2 , the same integral argument weighted by z z z gives E [ S ∣ M r , W r ] ∼ W r / ( k − 2 a − 2 ) \mathbb{E}[S\mid M_r,W_r]\sim W_r/(k-2a-2) E [ S ∣ M r , W r ] ∼ W r / ( k − 2 a − 2 ) . The term e 1 2 e_1^2 e 1 2 measures Single ’s remaining point-prediction error from mixing over noise, rather than coverage of a predictive interval.
A finite comparison at a physical variance. For a general proper joint law, let E s \mathbb{E}_s E s denote expectation under its regular conditional law given S = s S=s S = s , and set R s ( g ) = E s [ ( g − G ) 2 ] R_s(g)=\mathbb{E}_s[(g-G)^2] R s ( g ) = E s [( g − G ) 2 ] . The evaluated predictors still integrate variance. For each count r ′ ∈ { 1 , r } r'\in\{1,r\} r ′ ∈ { 1 , r } , define the analytical conditional reference z r ′ s = E [ G ∣ D r ′ , S = s ] z_{r'}^s=\mathbb{E}[G\mid D_{r'},S=s] z r ′ s = E [ G ∣ D r ′ , S = s ] and
Q r ′ ( s ) 2 = E s ( z r ′ − z r ′ s ) 2 , Δ I I D ( s ) = E s ( a r − z r s ) 2 , B s = E s ( z r s − z 1 s ) 2 . Q_{r'}(s)^2=\mathbb{E}_s(z_{r'}-z_{r'}^s)^2,\qquad\Delta_{\mathrm{IID}}(s)=\mathbb{E}_s(a_r-z_r^s)^2,\qquad B_s=\mathbb{E}_s(z_r^s-z_1^s)^2. Q r ′ ( s ) 2 = E s ( z r ′ − z r ′ s ) 2 , Δ IID ( s ) = E s ( a r − z r s ) 2 , B s = E s ( z r s − z 1 s ) 2 .
Projection conditional on s s s gives the exact identity
R s ( a r ) − R s ( z 1 ) = Δ I I D ( s ) + 2 E s [ ( a r − z r ) ( z r − z r s ) ] + Q r ( s ) 2 − Q 1 ( s ) 2 − B s . (28) R_s(a_r)-R_s(z_1)=\Delta_{\mathrm{IID}}(s)+2\mathbb{E}_s[(a_r-z_r)(z_r-z_r^s)]
+Q_r(s)^2-Q_1(s)^2-B_s. \tag*{(28)} R s ( a r ) − R s ( z 1 ) = Δ IID ( s ) + 2 E s [( a r − z r ) ( z r − z r s )] + Q r ( s ) 2 − Q 1 ( s ) 2 − B s . (28)
Indeed it first equals E s ( a r − z r s ) 2 − Q 1 ( s ) 2 − B s \mathbb{E}_s(a_r-z_r^s)^2-Q_1(s)^2-B_s E s ( a r − z r s ) 2 − Q 1 ( s ) 2 − B s , and expansion gives the display. Direct and reverse triangle inequalities therefore yield
( Δ I I D ( s ) − Q r ( s ) ) 2 − Q 1 ( s ) 2 − B s ≤ R s ( a r ) − R s ( z 1 ) ≤ ( Δ I I D ( s ) + Q r ( s ) ) 2 − Q 1 ( s ) 2 − B s . (29) \begin{aligned}
\left(\sqrt{\Delta_{\mathrm{IID}}(s)}-Q_r(s)\right)^2-Q_1(s)^2-B_s
\le R_s(a_r)-R_s(z_1) \\
&\le\left(\sqrt{\Delta_{\mathrm{IID}}(s)}+Q_r(s)\right)^2-Q_1(s)^2-B_s. \tag*{(29)}
\end{aligned} ( Δ IID ( s ) − Q r ( s ) ) 2 − Q 1 ( s ) 2 − B s ≤ R s ( a r ) − R s ( z 1 ) ≤ ( Δ IID ( s ) + Q r ( s ) ) 2 − Q 1 ( s ) 2 − B s . (29)
These formulas show explicitly why matched-prior orthogonality does not decompose every term after conditioning on a physical noise value. Only the analytical reference z r s z_r^s z r s is given s s s ; no operational predictor or model-selection rule receives it.
Numerical verification inside the reference models
Numerical experiments in the specified Bayesian models with integrated unknown variance verify the approximations and illustrate their scope. The data-generating variance is used for simulation and independent scoring, while each predictor uses its measured sites, counts, means, residual sums of squares, and declared prior.
A nonlinear query and non-Gaussian site values. Draw T i = atanh ( U i ) T_i=\operatorname{atanh}(U_i) T i = atanh ( U i ) for independent U i U_i U i uniform on [ − 1 , 1 ] [-1,1] [ − 1 , 1 ] , and an independent equiprobable sign H H H . Define
G = 1 m ∑ i tanh ( T i ) + H 2 , V = t H + N 0 , S ∼ Uniform ( ν / 2 , 3 ν / 2 ) . G=\frac{1}{\sqrt{m}}\sum_i\tanh(T_i)+\frac{H}{2},\qquad V=tH+N_0,\qquad S\sim\operatorname{Uniform}(\nu/2,3\nu/2). G = m 1 i ∑ tanh ( T i ) + 2 H , V = t H + N 0 , S ∼ Uniform ( ν /2 , 3 ν /2 ) .
The query is nonlinear in the site values, whose density is logistic rather than Gaussian. The target variance is 1 / 3 + 1 / 4 1/3+1/4 1/3 + 1/4 . Direct differentiation and E U i 2 = 1 / 3 \mathbb{E}U_i^2=1/3 E U i 2 = 1/3 , E U i 4 = 1 / 5 \mathbb{E}U_i^4=1/5 E U i 4 = 1/5 give
K 0 = 8 15 , C 0 2 = 1 4 , L = 1 , H 2 = 4 3 3 m , J = 4 m 3 . K_0=\frac{8}{15},\qquad C_0^2=\frac{1}{4},\qquad L=1,\qquad H_2=\frac{4}{3\sqrt{3m}},\qquad J=\frac{4m}{3}. K 0 = 15 8 , C 0 2 = 4 1 , L = 1 , H 2 = 3 3 m 4 , J = 3 4 m .
For example, ∂ i g ( T ) = { 1 − tanh 2 ( T i ) } / m \partial_i g(T) = \{1 - \tanh^2(T_i)\}/\sqrt{m} ∂ i g ( T ) = { 1 − tanh 2 ( T i )} / m and the score of each T i T_i T i density is − 2 tanh ( T i ) -2\tanh(T_i) − 2 tanh ( T i ) , giving the displayed gradient energy and Fisher information. Finite site/query values can be embedded by smooth interpolation; the calculation does not require a linear function of covariates.
The count study crosses m = 2 m = 2 m = 2 , four population variances ν ∈ { .02 , .005 , .00125 , .0003125 } \nu\in\{.02, .005, .00125, .0003125\} ν ∈ { .02 , .005 , .00125 , .0003125 } , eight counts r ∈ { 1 , 2 , 3 , 4 , 6 , 8 , 12 , 16 } r \in\{1,2,3,4,6,8,12,16\} r ∈ { 1 , 2 , 3 , 4 , 6 , 8 , 12 , 16 } , and four leading ratios η = A / B ∈ { 3 , 12 , 56 , 240 } \eta= A/B \in\{3,12,56,240\} η = A / B ∈ { 3 , 12 , 56 , 240 } . At each ( ν , η ) (\nu,\eta) ( ν , η ) the cue strength is t = ν K 0 / ( η C 2 ) t = \sqrt{\nu K_0/(\eta C^2)} t = ν K 0 / ( η C 2 ) because E Z = 1 E Z = 1 E Z = 1 . Thus the ratios and variances are crossed, not paired in the listed order. There are 128 related conditions and 16,384 paired tasks per variance scale. Counts share their first reading; additional sufficient statistics are generated conditionally for each count. Variance integration uses Gauss–Legendre quadrature and site-value integration uses Gauss–Hermite quadrature.
At the smallest scale, all 25 nonboundary contrasts have the predicted sign: 13 improvements and 12 deteriorations. Bounds combining the finite measurement remainder with explicit upper and lower sums for the one-dimensional cue integral certify these same signs. Across all 112 nonbaseline conditions, 86 intervals certify a sign and 26 contain zero. An interval containing zero is an inconclusive certificate, not a zero-effect result.
In this factorized example the reading benefit is independent of cue strength. Figure 4 therefore combines the measurement-gain estimates with a deterministic cue-cost integral at the common value t = .02 t = .02 t = .02 . For population mean variances .0003125, .00125, .005, .02, the best tested counts are 1, 2, 3, 4 and the first harmful tested counts are 2, 4, 6, 12, respectively; the local leading curve gives the same grid choices. All variances remain hidden from the task-specific predictions. Different colors use different population priors and hence different reference predictors.
Figure 4. Count thresholds within a specified unknown-noise Bayesian model. Markers show the IID-posterior risk minus Single risk, computed from the integrated reading benefit and cue cost for the nonlinear query model with m = 2 m = 2 m = 2 and fixed cue strength t = .02 t = .02 t = .02 . Dashed curves show Equation (17) . Colors vary the population mean variance ν \nu ν and the corresponding prior used by the predictor. Error bars are pointwise 1.96 Monte Carlo standard errors of the estimated benefit; cue costs are integrated deterministically. The plot verifies this reference calculation and does not report TFM predictions.
Region coverage with inferred variance. The region study enumerates all 2 K 2^K 2 K sign functions for K ∈ { 2 , 4 , 8 } K \in\{2,4,8\} K ∈ { 2 , 4 , 8 } , m ∈ { 2 , 4 } m \in\{2,4\} m ∈ { 2 , 4 } , r ∈ { 4 , 16 } r \in\{4,16\} r ∈ { 4 , 16 } , and ν ∈ { .003 , .03 , .3 } \nu\in\{.003,.03,.3\} ν ∈ { .003 , .03 , .3 } , using 8,192 tasks per condition. Here u = 1 u = 1 u = 1 , t = .25 t = .25 t = .25 , and the proper variance prior is InvGamma ( 4 , 3 ν ) \operatorname{InvGamma}(4,3\nu) InvGamma ( 4 , 3 ν ) , whose mean is ν \nu ν . Figure 5 uses all twelve combinations at ν = .003 \nu= .003 ν = .003 and compares direct paired risks with Equation (25) . Unobserved-region prediction agrees with the exact tanh expression to within 1.5 × 10 − 14 1.5 \times10^{-14} 1.5 × 1 0 − 14 . The numerical evaluations of Equation (24) use uniform variance priors; the inverse-gamma posterior experiment above evaluates the low-noise region limit.
Figure 5. Coverage limit within the unknown-variance region model. Direct paired IID-minus-Single risks at population mean variance ν = .003 \nu= .003 ν = .003 are plotted against u 2 ( 1 − 1 / K ) m δ r ( t ) u^2(1 - 1/K)^m\delta_r(t) u 2 ( 1 − 1/ K ) m δ r ( t ) , with u = 1 u = 1 u = 1 and t = .25 t = .25 t = .25 . All combinations K = 2 , 4 , 8 K = 2, 4, 8 K = 2 , 4 , 8 , m = 2 , 4 m = 2, 4 m = 2 , 4 , and r = 4 , 16 r = 4, 16 r = 4 , 16 are included. The dashed line is equality; bars are pointwise 1.96 Monte Carlo standard errors over 8,192 tasks. Each predictor integrates the same InvGamma( 4 , 3 ν ) (4, 3\nu) ( 4 , 3 ν ) prior within its condition.
A fixed prior at decreasing physical variance. A separate study holds a Uniform ( 0 , 1 ) \operatorname{Uniform}(0,1) Uniform ( 0 , 1 ) variance prior fixed and uses m = 2 m = 2 m = 2 , r ∈ { 4 , 8 } r \in\{4,8\} r ∈ { 4 , 8 } , cue strengths .03, .2, and physical variances .03, .003, .0003, .00003, with 2,048 tasks in each of the 16 conditions. It includes both signs of b r 2 − e 1 2 b_r^2 - e_1^2 b r 2 − e 1 2 in Equation (27) . At physical variance .00003 and r = 8 r = 8 r = 8 , the two risk differences are approximately − .034563 -.034563 − .034563 and + .038098 +.038098 + .038098 , approaching limits − .034564 -.034564 − .034564 and + .038096 +.038096 + .038096 . Refining the Single quadrature changes predictions by less than 7.5 × 10 − 8 7.5 \times10^{-8} 7.5 × 1 0 − 8 . This fixed-prior experiment has a different interpretation from Figure 4 .
This subsection concerns exact copies of complete observed rows. Fresh noisy readings need not have identical encoded values and do not satisfy the premises.
Lemma 2 (A fixed-attention identity). For fixed query q q q , keys k i k_i k i , values v i v_i v i , and finite logits s i s_i s i , uniformly replacing every allowed key/value pair by r r r identical copies leaves normalized exponential attention unchanged. Here s i s_i s i may include a fixed score function of q q q , k i k_i k i and a fixed pairwise bias. Masked keys are omitted and the allowed pool is nonempty.
Proof. Apply Equation (13) to the allowed pool with r i = r r_i = r r i = r . Both numerator and denominator have the same positive factor r r r , which cancels.
Fixed logits are only a local condition: in a network, duplication can alter preprocessing, queries, keys, values, and the set of competing tokens. The following theorem gives sufficient conditions for every operator in a whole computation.
Theorem 1 (Whole-network uniform-replication invariance). Consider a finite attention-based computation graph with fixed parameters in exact arithmetic. Run it on a context and fixed queries, and on a second context in which every observed row is copied the same positive integer number of times. Assume the following correspondence is defined at every stage: each context-row state and its row-local feature/token states have identical copies, while query states and any global or inducing states have designated corresponding states. Require all of the following.
Preprocessing and initial states. Preprocessing commutes with this correspondence. In particular, data-derived centering, scaling, feature construction, target transformations, and any metadata used in computation have the same values on corresponding states. Initial copies receive the same embeddings, fingerprints, position or type encodings, and any auxiliary inputs as their originals. Fixed query and inducing states are initially unchanged.
Pointwise and row-local operators. Every affine map, activation, featurewise normalization, residual addition, gate, concatenation, and within-row feature operation uses the same parameters and the same corresponding arguments. A normalization over a row or feature embedding has the same coordinates and constants. Any operation aggregating over rows obeys condition 4 instead.
Attention pools, scores, and masks. For each corresponding target state and each head, the allowed source pool is either unchanged or obtained by replacing every original allowed source by the same number c ≥ 1 c \ge1 c ≥ 1 of copies. This number may depend on the attention operation, head, and target, but is common to all sources in that pool. Corresponding allowed source/target pairs have identical key, value, and query transformations, additive biases, temperatures, and other logit transformations. The masks preserve exactly those pairs and their stated multiplicities. Each output is normalized exponential attention over its allowed pool, followed only by the matched maps and head combinations in condition 2.
Other pooling and global statistics. Any remaining reduction is either over an unchanged corresponding collection or is invariant to uniform replication of its entire collection. Permitted examples are a mean with its matching normalization, a maximum, and functions of a normalized empirical measure. Unnormalized sums, cardinalities, sample variances with a Bessel correction, and pools that mix copied and uncopied items require a separate verification that their outputs are unchanged; they are not covered merely by permutation invariance.
Randomness and adaptive control. The computation is deterministic, or random variables are coupled so that corresponding originals and all their copies receive identical stochastic transformations and preserve conditions 1–4. Adaptive routing, retrieval, truncation, and stopping use the same corresponding decisions and maintain the permitted source pools. Independent dropout masks or row subsampling do not satisfy this condition in general.
Readout. The final prediction applies the same map to corresponding fixed query states and any invariant pooled states, followed by the same inverse target transformation. It does not introduce a new dependence on multiplicity.
Then every corresponding query and global state agrees throughout the computation, all copies of each context state agree with the original, and the final query predictions are identical.
Proof. At the initial stage the correspondence holds by condition 1. Order the finite computation graph topologically and suppose all inputs of the next operator satisfy it. Operators in condition 2 preserve equality because they apply identical functions to identical arguments. For an attention operation, condition 3 makes corresponding logits and values identical. If its source pool is unchanged, the result is immediate. Otherwise each original numerator contribution and each denominator contribution occurs exactly c c c times. Lemma 2 gives the same attention output for every corresponding target. This applies head by head, and condition 2 preserves equality after combining heads and residual paths. Condition 4 preserves every other pooled or global state, while condition 5 supplies the same realized transformations and control decisions when randomness or adaptation is present. Thus the induction advances through every node. Condition 6 then gives identical predictions.
What the conditions allow and exclude. An unchanged inducing query may attend all uniformly copied context rows and remain invariant; copied row queries may then attend the unchanged inducing pool. Likewise, a row-local feature aggregator can be repeated once per row without changing its output. In contrast, a softmax pool containing r r r copies of every context key but only one fixed special key has changed relative multiplicities and generally changes its output. A causal mask based on sequence position, newly sampled row fingerprints, count-dependent attention temperature, or a count-dependent preprocessing statistic can also invalidate the induction. Merely fixing a count input is sufficient only if all the other conditions hold.
For example, for m > 1 m > 1 m > 1 scalars copied r r r times, the unbiased sample variance is
s c o p i e d 2 = r ( m − 1 ) m r − 1 s o r i g i n a l 2 . s_{\mathrm{copied}}^{2} = \frac{r(m-1)}{mr-1}s_{\mathrm{original}}^{2}. s copied 2 = m r − 1 r ( m − 1 ) s original 2 .
This follows by replicating the centered sum of squares and using the two denominators. A scaler based on this quantity changes its scale despite identical empirical proportions; a population-variance scaler with denominator equal to the number of entries is invariant. This distinction explains why preprocessing is part of the theorem.
The theorem provides an architectural sufficient condition. Its fixed-attention lemma alone is not a theorem about a checkpoint. Whether a particular TFM satisfies the conditions, and which violated conditions matter for prediction, are empirical and implementation-specific questions addressed by the network interventions.
Experimental protocol
Code, experiment configurations, saved results and reproduction instructions are available at https://github.com/drizmiz/PFN-Repeated-Measurement-Supp.
Models and learners
Tabular foundation models. All six use their default configurations with the full-context settings below, without task-specific tuning or subsampling of rows; the largest table has 6,144 rows. TabPFN-v3: tabpfn 8.5.0, checkpoint tabpfn-v3-regressor-v3_default, eight ensemble members. TabPFN-v3.5: tabpfn 9.0.0. TabICLv2: tabicl 2.2.0, checkpoint tabicl-regressor-v2-20260212. TabDPT (Ma et al., 2025): tabdpt 1.3.1, eight ensemble members, retrieval context size set to cover the whole table. LimiX-2: the configuration without retrieval. TabFM: version 1.0.0 with its default 32 ensemble members and its row limit raised to 8,192. A fresh model object is built for every fit.
Conventional learners. Gaussian process: a constant times a Matérn-5/2 kernel plus white noise, kernel and noise level fitted by marginal likelihood from one starting point, targets normalised, fitted on the rows; on real covariates the inputs are standardised with the mean and SD of the sites. Gradient boosting: scikit-learn’s [35 ] GradientBoostingRegressor at its defaults. Random forest: 200 trees with bootstrap resampling of rows, with as many draws as input rows per tree. Under equal counts, a given site is absent with probability ( 1 − 1 / m ) m r (1 - 1/m)^{mr} ( 1 − 1/ m ) m r for Expanded and ( 1 − 1 / m ) m (1 - 1/m)^m ( 1 − 1/ m ) m for Single . MLP: two hidden layers of 64 units, at most 3,000 iterations.
Designs
Synthetic. Six one-dimensional functions on [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] : quadratic, absolute value, linear, hyperbolic tangent, step and sine, each standardised to unit variance over the query grid. Three multivariate families in d = 2 , 5 , 10 d = 2, 5, 10 d = 2 , 5 , 10 with twenty-four sites: additive; an interaction (Friedman) function; and one function of two coordinates with d − 2 d - 2 d − 2 added independent coordinates that it ignores, for which the two active coordinates, the readings and the truth are identical across d d d . Queries are 400 points (a grid in one dimension, fresh draws otherwise), the measured sites, and in one dimension the midpoints of the gaps between adjacent sites.
Semi-synthetic. The covariates of five real regression datasets: diabetes [11 ] , wine quality [7 ] , California housing [33 ] , concrete strength [43 ] and energy efficiency [40 ] , in 8 to 11 dimensions. A teacher that is not a TFM (gradient boosting, or a kernel ridge regression for energy efficiency) is fitted on 70% of the rows; the sites are drawn from those rows, the queries are up to 300 held-out rows, and independent Gaussian readings are generated around the standardised teacher with a noise SD equal to a multiplier times the teacher’s residual SD.
Axes. The default design has twelve sites, noise SD 0.15 (multiplier 0.25), one dimension, random sites and equal counts. One property is varied at a time: readings r ∈ { 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 } r \in\{1, 2, 4, 8, 16, 32, 64, 128, 256\} r ∈ { 1 , 2 , 4 , 8 , 16 , 32 , 64 , 128 , 256 } on the default design, and r ∈ { 1 , 4 , 64 } r \in\{1, 4, 64\} r ∈ { 1 , 4 , 64 } on every other axis; sites m ∈ { 6 , 12 , 24 , 48 , 96 } m \in\{6, 12, 24, 48, 96\} m ∈ { 6 , 12 , 24 , 48 , 96 } ; noise SD ∈ { 0 , 0.05 , 0.15 , 0.30 , 0.50 } \in\{0, 0.05, 0.15, 0.30, 0.50\} ∈ { 0 , 0.05 , 0.15 , 0.30 , 0.50 } or multipliers { 0 , 0.05 , 0.25 , 0.5 , 1 } \{0, 0.05, 0.25, 0.5, 1\} { 0 , 0.05 , 0.25 , 0.5 , 1 } ; random or evenly spaced sites; dimension d ∈ { 2 , 5 , 10 } d \in\{2, 5, 10\} d ∈ { 2 , 5 , 10 } . This gives 114 equal-count designs (60 one-dimensional, 45 on real covariates, 9 multivariate), each on twenty seeds. Counts are nested prefixes of one bank of readings per seed, and the sites and queries of a seed are the same at every count. A further axis draws unequal counts per site from { 1 , 4 , 16 , 64 } \{1, 4, 16, 64\} { 1 , 4 , 16 , 64 } , either at random or clustered by position, with a balanced control of the same total.
The illustrative quadratic design in Figure 1 uses noise SD 0.10, with the same grid of repetition counts.
Summaries. A design specifies a configuration; a cell is its realization at one seed (one dataset–split pair for real replicated data). A design is called harmed when the Expanded table has a larger error than Single in at least 11 of the 20 seeds. Shares in Figure 2 pool the seeds of the datasets on one axis value. All comparisons are paired within a seed. Designs along an axis share functions and seeds; these designs are not independent replications. A median paired ratio is medians s ( M S E E , s / M S E S , s ) \operatorname{medians}_{s}(\mathrm{MSE}_{E,s}/\mathrm{MSE}_{S,s}) medians s ( MSE E , s / MSE S , s ) over seeds or splits s s s ; medians of errors are computed separately.
Real replicated data
Computer experiments. The SGEMM data [34 ] give the running time of a parameterised OpenCL matrix-multiplication kernel (the kernel of CLTune, Nugteren and Codreanu [32 ] ) on one workstation GPU, measured four times for each feasible configuration; a site is one configuration (its 14 tuning parameters), a reading is the logarithm of one run time, and we use a fixed random subset of 3,000 configurations. The Kernel Tuner data are brute-force tuning caches from the benchmark hub of Willemsen et al. [42 ] , produced with Kernel Tuner (van Werkhoven [41 ] ) for the kernels of Lurati et al. [27 ] ; each configuration provides repeated launches, each recorded as the logarithm of one launch time. The analysed convolution input contains 31 launches after dropping the warm-up; dedispersion contains 32. The median across sites of lag-one Pearson correlation in source order is 0.19 and 0.36, respectively. The FCNet data (Klein and Hutter [26 ] ) record, for each configuration of a two-layer network (9 hyperparameters) on the slice-localisation task, the validation error after 100 epochs of four training runs with different random seeds on one fixed data split; a reading is the logarithm of one run’s validation error, and we use a fixed random subset of 3,000 configurations. The Bayes-factor surface (Franck and Gramacy [13 ] ) gives, for 80 settings of the two parameters of a Gamma prior, the logarithm of a Bayes factor estimated by five Monte Carlo replicates on the same data, distributed in the R package hetGP.
Physical and biological experiments. The Galium aparine bioassay (Cabanne et al. [6 ] ), distributed in the R package drc (Ritz et al. [38 ] ), records the dry matter per pot of plants sprayed with a herbicide alone or with an adjuvant; a site is one (dose, formulation) pair and a reading is one pot. The hydraulic data (Helwig et al. [20 ] ) come from a test rig that repeats constant load cycles while the conditions of its cooler, valve, pump and accumulator are set to 144 combinations; a site is one combination and a reading is the mean efficiency factor of one stable load cycle; each site holds a block of consecutive cycles. The superconductivity data of Hamidieh [19 ] list critical temperatures with 81 features computed from each material’s chemical formula; a site is one distinct feature vector with at least two different recorded temperatures, and a reading is the temperature of one sample, so the spread within a site includes differences between samples.
Surveys. The traffic data, distributed with Davison and Hinkley [8 ] , give the speeds of cars at pairs of road locations before and after a warning sign was erected; a site is one (location, sign, period) survey session and a reading is one car. The wage data are the 1988 Current Population Survey sample of Bierens and Ginther [2 ] ; a site is one combination of the six recorded covariates and a reading is the wage of one worker.
These ten datasets cover five computer experiments, three physical or biological experiments and two surveys, with separate runs, units or samples sharing the recorded covariates at a site. We retain sites with at least two finite responses and discard sites whose responses are all identical. Table 2 reports the retained sites; for SGEMM the filter leaves 2,994 of the 3,000 sampled configurations. Categorical covariates are ordinal-coded.
Table 2. Real datasets with repeated observations, after retaining sites with at least two finite, non-identical responses at one covariate vector. d d d counts covariates that vary; R R R is the largest count used; the context holds half of the sites that have at least R R R readings, at most 150.
Counts and site splits. Let r i a v a i l r_i^{\mathrm{avail}} r i avail be the available count at retained site i i i . We choose the largest power of two R R R for which at least min ( 24 , number of retained sites ) \min(24,\text{number of retained sites}) min ( 24 , number of retained sites ) sites have r i a v a i l ≥ R r_i^{\mathrm{avail}} \ge R r i avail ≥ R . For superconductivity we use R = 8 R = 8 R = 8 , giving 78 context sites from 156 eligible sites, compared with 22 from 44 at the rule’s R = 16 R = 16 R = 16 . For each of twenty seeded splits, the eligible group (r i a v a i l ≥ R r_i^{\mathrm{avail}} \ge R r i avail ≥ R ) and the lower-count group (2 ≤ r i a v a i l < R 2 \le r_i^{\mathrm{avail}} < R 2 ≤ r i avail < R ) are independently permuted and each divided in half, with an odd extra site assigned to test. The context is the first eligible half, capped at 150 sites. Test sites are sampled uniformly, capped at 150, from the pooled second halves of both groups; the first lower-count half is unused. A site thus never contributes to both context and test. The context and test sites are shared across counts, representations and learners within a split. The four lowest-ratio datasets use 150 context sites; the other six use 10–78. The controlled designs vary noise at fixed site count and site count at fixed noise (§ 3.2 ).
Readings, targets and scaling. At each context site, one seeded random ordering of its readings supplies nested prefixes of r ∈ { 1 , 2 , 4 , … , R } r \in\{1, 2, 4, \ldots, R\} r ∈ { 1 , 2 , 4 , … , R } . Single uses the first reading; Expanded and Mean use the same first r r r readings. All counts and representations, including Single , use a common response mean and sample SD (divisor m R − 1 mR - 1 m R − 1 ), computed from the context’s first R R R readings per site. Reported MSE is in units of this common variance. The test target is the mean of all available readings at that site, an empirical mean rather than an observed latent truth. The within-site SD ratio is the pooled within-site SD divided by the SD of all readings in the retained dataset. The twenty splits share sites and are not independent replications.
Representation and count-reset comparisons
These experiments isolate one comparison each on the designs, seeds and model configurations of the main grid (Appendix § 11 ); unless stated otherwise m = 12 m = 12 m = 12 , the noise SD is 0.15 (multiplier 0.25 on real covariates) and every model runs in its shipped configuration.
Rows against means for conventional learners
Table 3: Proposition 1 in practice. Fits (of 440: six one-dimensional functions and five real-covariate sets, twenty seeds, two count configurations) in which the prediction from the means equals the prediction from the rows to 10 − 6 10^{-6} 1 0 − 6 at every query, and in parentheses at the sites only. Equal counts are r = 4 r = 4 r = 4 and 64; unequal counts are the grid’s random and clustered schemes. Weighted: count-weighted means (D ˉ , r \bar{D}, r D ˉ , r ) (for the Gaussian processes, each mean’s noise variance divided by its count).
Table 3. Proposition 1 in practice.
The count-weighted tree-based learners agree everywhere in one dimension and at the sites on real covariates. Their between-site differences in eight to eleven dimensions are consistent with split ties: different covariates can partition the twelve sites into the same groups, allowing floating-point tie-breaking to select different continuations. The MLP agrees exactly at r = 4 r = 4 r = 4 , when its table fits in one batch, and not at r = 64 r = 64 r = 64 . With equal counts, the GP that estimates its noise level has a median maximum prediction difference of 10 − 4 10^{-4} 1 0 − 4 from the means-with-variances fit, against 0.02 from means alone. With unequal counts, these differences rise to 0.060 and 0.169, respectively.
Count reset on the main designs
Full count reset brings exact-copy error close to Single : at r = 64 r = 64 r = 64 the medians are 0.0084 and 0.0088, against Expanded ’s 0.053. Full count reset beats Single in 84 of 120 cells and loses in 36. At noise SD 0.15 its error stays
between 0.025 and 0.039 for counts from two to 256, while Mean falls from 0.034 to 0.010.
At noise SDs 0.30 and 0.50, embedding-only reset helps at r = 4 r = 4 r = 4 but reverses at r = 64 r = 64 r = 64 in the one-dimensional designs. It lowers error from 0.047 to 0.040 and from 0.084 to 0.076 at r = 4 r = 4 r = 4 , but raises it from 0.047 to 0.114 and from 0.052 to 0.382 at r = 64 r = 64 r = 64 . On real data it lowers error on G. aparine (0.199 to 0.159), SGEMM (0.161 to 0.136), the hydraulic rig (0.074 to 0.066) and Bayes factors (0.016 to 0.013). Its largest losses are on traffic (0.218 to 1.412), KT dedispersion (0.290 to 0.593) and CPS wages (0.675 to 0.903); it also raises FCNet error from 0.281 to 0.296 at r = 4 r = 4 r = 4 . Resetting only the embedding count therefore leaves substantial downstream responses to repetition. Full count reset also gives up useful gains: it is worse than Expanded on 13–20 of 20 splits in each of the seven datasets where the rows help TabPFN-v3 on most splits, and on at most 5 splits in the three where they hurt. On traffic, full count reset is worse than Expanded on all 20 splits.
Count reset with irrelevant features. For the family with irrelevant features (m = 24 m = 24 m = 24 , r = 64 r = 64 r = 64 , noise SD 0.15, twenty seeds per dimension), Table 5 compares arms within each cell before taking the median. Full count reset reduces most of the extra error at fixed signal dimension.
Across the three dimension families pooled, full count reset beats Expanded in 47, 51 and 52 of 60 cells at d = 2 d = 2 d = 2 , 5, 10; these counts pool additive and interaction targets with designs using irrelevant features, whereas Table 5 isolates the added irrelevant features.
Bias and variance over independent reading banks
Independent reading banks separate precision gain from changes in between-site prediction. For B = 8 B = 8 B = 8 banks at fixed sites and fresh queries q q q , write μ ^ q = B − 1 ∑ b f ^ b q \hat{\mu}_q = B^{-1}\sum_b \hat{f}_{bq} μ ^ q = B − 1 ∑ b f ^ b q and s q 2 = ( B − 1 ) − 1 ∑ b ( f ^ b q − μ ^ q ) 2 s_q^2 = (B - 1)^{-1}\sum_b(\hat{f}_{bq} - \hat{\mu}_q)^2 s q 2 = ( B − 1 ) − 1 ∑ b ( f ^ b q − μ ^ q ) 2 . With Q Q Q queries and truth f q f_q f q , the finite-bank estimates are
Bias 2 ^ = 1 Q ∑ q { ( μ ^ q − f q ) 2 − s q 2 B } , Var ^ = 1 Q ∑ q s q 2 . \widehat{\operatorname{Bias}^2} = \frac{1}{Q}\sum_q\left\{(\hat{\mu}_q - f_q)^2 - \frac{s_q^2}{B}\right\}, \qquad\widehat{\operatorname{Var}} = \frac{1}{Q}\sum_q s_q^2. Bias 2 = Q 1 q ∑ { ( μ ^ q − f q ) 2 − B s q 2 } , Var = Q 1 q ∑ s q 2 .
Their sum equals the mean MSE over banks within each design. The corrected squared-bias estimate can be negative; medians of the two components need not sum to the median total MSE.
Expanded captures much of the precision gain while increasing between-site bias. At one-dimensional noise SD 0.50, its variance medians are 0.0028–0.0073, compared with Mean ’s 0.0018–0.0046 and 13–41 times smaller than Single ’s. On the semi-synthetic designs its squared-bias median exceeds Single ’s for all six TFMs, by 0.03–0.17, whereas Mean ’s stays within about 0.013 of Single ’s (Table 7). Expanded has higher squared bias than Mean for five of six TFMs at one-dimensional noise SD 0.50 (TabFM is the exception), and for all six on the semi-synthetic designs. The one-dimensional designs at noise SD 0.15 are in Table 6 . At the measured sites every table’s bias is near zero with 64 readings and the variance is the noise of a site mean. On the semi-synthetic designs bias dominates every table: TabPFN-v3’s median total MSE over banks is 0.408 for Mean against 0.478 for Single , and nearly all of it is bias, the error of carrying the site values between sites.
Predictive coverage and the count encoding
Gaussian MeanRestored (Equation (5) ) and the unequal-count GP precision comparison use the pooled reading-variance estimate, for ∑ i = 1 m ( r i − 1 ) > 0 \sum_{i=1}^{m}(r_i-1)>0 ∑ i = 1 m ( r i − 1 ) > 0 ,
σ ^ 2 = ∑ i = 1 m ∑ j = 1 r i ( Y i j − Y ‾ i ) 2 ∑ i = 1 m ( r i − 1 ) (30) \widehat{\sigma}^{2} = \frac{\sum_{i=1}^{m}\sum_{j=1}^{r_i}(Y_{ij}-\overline{Y}_i)^2}{\sum_{i=1}^{m}(r_i-1)} \tag*{(30)} σ 2 = ∑ i = 1 m ( r i − 1 ) ∑ i = 1 m ∑ j = 1 r i ( Y ij − Y i ) 2 (30)
where Y ‾ i \overline{Y}_i Y i is the sample mean at site i i i . For balanced counts r i = r > 1 r_i=r>1 r i = r > 1 , the denominator is m ( r − 1 ) m(r-1) m ( r − 1 ) . MR postprocesses the frozen Mean output. The experiment retains the model’s original point prediction for MSE; MR changes the distributional output, with the predictive median as its center.
Table 8 evaluates future readings at fresh inputs under Gaussian, homoscedastic reading noise. For each model there are 120 synthetic cells (6 functions × \times × 20 seeds) and 100 semi-synthetic cells (5 real-covariate datasets × \times × 20 seeds). Each cell is one function–seed or dataset–seed pair. Each has m = 12 m=12 m = 12 sites; the synthetic noise SD is 0.15, and the semi-synthetic noise SD is 0.25 times the residual SD used to construct the task. Scores average over 400 synthetic or 300 semi-synthetic fresh queries. For each method, let Q α ( x ) Q_\alpha(x) Q α ( x ) denote its predictive quantile, including the quantiles of F M R F_{\mathrm{MR}} F MR for MR. At a query x x x with true mean f ( x ) f(x) f ( x ) and generating reading-noise SD σ \sigma σ , coverage is Φ ( ( Q 0.95 ( x ) − f ( x ) ) / σ ) − Φ ( ( Q 0.05 ( x ) − f ( x ) ) / σ ) \Phi((Q_{0.95}(x)-f(x))/\sigma)-\Phi((Q_{0.05}(x)-f(x))/\sigma) Φ (( Q 0.95 ( x ) − f ( x )) / σ ) − Φ (( Q 0.05 ( x ) − f ( x )) / σ ) , then averaged over queries within a cell. The generating σ \sigma σ is used for scoring; MR estimates its added variance from the context readings. CRPS is approximated by twice the mean pinball loss at the 19 quantile levels 0.05, 0.10, . . . , 0.95, averaged over queries and 64 generated future readings per query. The same future-reading bank is shared across methods and counts within a cell. Table entries are medians across cells; each CRPS ratio is formed within a cell before taking its median. MR/Mean compares the Gaussian approximation plus added variance with the original Mean distribution. MR/Expanded also changes the representation of the same readings; MR/Single additionally uses 64 readings per site instead of one. In model order TabPFN-v3, TabPFN-v3.5, TabICLv2, TabDPT, MR has strictly lower CRPS than Mean in 87, 70, 106, 65 of 120 synthetic cells and 47, 43, 55, 63 of 100 semi-synthetic cells.
Attention concentration on the main designs
Table 10 : Site-pooled attention in TabPFN-v3 (one ensemble member, r = 64 r = 64 r = 64 , six functions, twenty seeds): median n e f f n_{\mathrm{eff}} n eff over 120 cells (each the median over 400 fresh queries of the median jointly over heads and layers; uniform attention gives 12), cells in which it falls with the rows and rises under full count reset, and the error of the same fits. Full count reset’s n e f f n_{\mathrm{eff}} n eff exceeds Single ’s in 114/120 cells at SD 0.05 and 120/120 at SD 0.15.
Full count reset raises site-pooled n e f f n_{\mathrm{eff}} n eff above Expanded in 120/120 cells at each noise level, and above Single in 114/120 at SD 0.05 and 120/120 at SD 0.15. The indices are zero-based physical ICL blocks. The change is concentrated in layers 18, 19, 21 and 22, where the median falls from 6.3, 4.7, 6.8 and 5.5 with one reading to 3.0, 2.3, 3.8 and 2.7 with the rows at noise SD 0.05; full count reset restores 6.5, 4.9, 7.7 and 6.2. The step function is the exception at noise SD 0.15, where the rows lower n e f f n_{\mathrm{eff}} n eff in only 8 of 20 cells.
Table 11 : Attention concentration and prediction error in the same one-member fits as Table 10 : counts over 120 function–seed cells per noise level. A down-arrow denotes Expanded ’s site-pooled n e f f n_{\mathrm{eff}} n eff below Single ; harm denotes Expanded ’s fresh-input MSE above Single . Cells summarize 400 fresh queries each.
The resulting harm counts are 80/120 and 54/120; these are the same one-member fits as Table 10 , rather than the standard-ensemble risk grid. No query is counted as an independent replication.
Additional results
The design of Figure 1 for all six models
Table 12. Raw MSE at r = 1 r = 1 r = 1 and r = 256 r = 256 r = 256 on the design of Figure 1 (noise SD 0.10), for all ten learners: median over 20 seeds, with the number of seeds in which more readings made the error worse.
Where the error changes
Figure 7. Error at the measured sites (blue) and at fresh inputs (orange) with one reading and with 64 readings as rows; one line per synthetic function, m = 12 m = 12 m = 12 , σ = 0.15 \sigma= 0.15 σ = 0.15 , medians over twenty seeds. At the sites the error of every model falls by a factor of 35 or more.
Table 13 counts the harmed designs per learner, and Table 14 gives the comparison of § 3.2 under the three query laws.
Table 13. Designs in which Expanded at r = 64 r = 64 r = 64 is worse than Single at fresh inputs in at least 11 of 20 seeds. Parentheses give the number of tested designs in each family; designs sharing a function or seed are not independent replications.
Table 14. Query location. Function–seed pairs (of 120: six one-dimensional functions, twenty seeds, default design) in which Expanded at r = 64 r = 64 r = 64 is worse than Single , by where the prediction is scored.
Coverage and spacing
Table 15. Left: quadratic, r = 64 r = 64 r = 64 , seeds (of 20) in which Expanded is worse than Single , by the number of sites. Right: share of function–seed pairs harmed with evenly spaced and with random sites (m = 12 m = 12 m = 12 , six one-dimensional functions).
Irrelevant features, all models
Table 16. Irrelevant features (m = 24 m = 24 m = 24 , noise 0.15, r = 64 r = 64 r = 64 , twenty seeds): median error of Single , Expanded and Mean , median paired Expanded /Single ratio, and seeds in which Expanded is worse than Single .
The Gaussian process under three representations
“On the rows” is the fit used throughout the paper; its kernel and noise parameters are estimated by marginal likelihood. “Means with variances” uses the site means and fixes each mean’s noise variance to the pooled reading variance of the readings divided by r r r , estimating only kernel parameters by marginal likelihood. “Means only” gives the process Mean and lets it estimate one noise level from the means; without the within-site scatter this is a different estimator, and its designs exclude the noise-free ones, where Mean equals Single .
The median absolute difference between the first two fits’ fresh-input MSEs, relative to the MSE of the means-with-variances fit, is 0.07% across 3,120 paired one-dimensional fits pooled over the tested counts r > 1 r > 1 r > 1 . The three harmed multivariate designs use ten-dimensional inputs. In a diagnostic on the ten-dimensional additive target, trying five initial length-scales on three seeds reached higher marginal likelihoods and changed all three seed comparisons with Single from losses to gains. On real covariates, comparisons against Single yield 18 of 45 harmed designs for the GP given means and estimated variances and 19 for the row fit (Table 17). Deterioration thus persists with an aggregated representation that explicitly supplies the estimated precision of each mean.
Table 17. The Gaussian process: designs (of those fitted) in which the table at r = 64 r = 64 r = 64 is worse than Single in at least 11 of 20 seeds.
Table 18. GP aggregation on the four actual datasets with the lowest within-site SD ratios, at their largest count. The row fit estimates kernel and noise parameters from Expanded ; the means+variance fit uses site means with pooled empirical within-site variance divided by r r r , and estimates only kernel parameters. Harm counts compare each fit with the same Single GP on 20 paired splits. The last column is the median of ∣ M S E r o w s − M S E m e a n s + v a r . ∣ / M S E m e a n s + v a r . \lvert\mathrm{MSE}_{\mathrm{rows}}-\mathrm{MSE}_{\mathrm{means+var.}}\rvert/\mathrm{MSE}_{\mathrm{means+var.}} ∣ MSE rows − MSE means + var. ∣ / MSE means + var. .
The three tables
The positive-noise sweep contains 480 paired cells per model: six functions, four noise SDs (0.05, 0.15, 0.30, 0.50) and twenty seeds, with m = 12 m = 12 m = 12 random sites. At r = 64 r = 64 r = 64 , Mean beats Single in 430, 418, 426, 425, 422 and 376 cells (TabPFN-v3, TabPFN-v3.5, TabICLv2, TabDPT, LimiX-2, TabFM). At r = 4 r = 4 r = 4 , Expanded beats Mean in 243, 315, 214, 338, 128 and 354 of these same cells. Counts share sites and nested reading banks; cells sharing a seed across noise levels are dependent.
Response to noise in the site values. With noisy means (noise SD 0.5, four readings, so the noise variance of a mean is 0.0625) the squared error of Mean at the sites is 0.063 for TabFM and 0.049 to 0.059 for LimiX-2, which reproduce the noisy means, and 0.023 to 0.039 for TabPFN-v3, which shrinks them as a Gaussian process does (0.021 to 0.033). With nearly exact means (noise SD 0.05, 64 readings) LimiX-2 and TabFM are within 10 − 4 10^{-4} 1 0 − 4 of them, while TabDPT misses by 0.060 on the sine and TabPFN-v3.5 by 0.063.
Unequal counts. Mean is worse on the unequal designs than on the balanced controls with comparable reading budgets in 80 to 96 of 120 cells for every model (TabPFN-v3: 0.0130 to 0.0265); a Gaussian process fitted to the same means goes from 0.0141 to 0.0272. A paired GP reference uses the same means and pooled reading variance in two fits, with kernel parameters estimated in each. Giving every mean a common noise variance σ ^ 2 / r ˉ \hat{\sigma}^{2}/\bar{r} σ ^ 2 / r ˉ yields 0.0678 median MSE; giving site i i i variance σ ^ 2 / r i \hat{\sigma}^{2}/r_i σ ^ 2 / r i yields 0.0234. The ordinary learned-noise GP above is a separate comparison. Balanced controls round their per-site count to the nearest integer to match the total budget; the totals can differ by at most m / 2 m/2 m /2 readings.
The six-model count encoding is in Table 9 . A separate TabPFN-v3 probe with counts alternating between 64 and one reading also tried two sub-means per site, which changed little, and adding log r i \log r_i log r i to the attention logits, which raised the error to 0.08 and 0.75 for alternating and clustered counts, respectively.
Table 9. The count encoding under unequal counts (the grid’s random and clustered schemes): median error at fresh inputs of Mean , Mean with the row of site i i i copied r i r_i r i times, and Expanded , and cells (of 120 one-dimensional, 100 semi-synthetic) in which the copies are worse than Mean .
Real data, per model
Table 20. Three real datasets at the largest count: median error over twenty splits for Single , Expanded and Mean , and splits in which Expanded is worse than Single .
The Gaussian process fitted on the rows is worse than with one reading on 14, 19 and 17 of 20 splits on SGEMM and the two Kernel Tuner sets, and on 5 of 20 on the hydraulic rig. On the wage data two models do badly with the rows through a shift in the level of their predictions that we have not diagnosed (TabICLv2 0.930 to 2.888, worse on 16 of 20 splits; TabFM 1.011 to 1.280, 13 of 20).
Mechanism diagnostics on separate designs
Count-dependent attention scaling. Query-aware scalable softmax uses the following learned query transformation [31 , 16 ] (Qu et al. 2026):
q ~ n = q ⊙ b ( log n ) ⊙ [ 1 + tanh h ( q ) ] . (31) \tilde{q}_{n} = q \odot b(\log n) \odot[1 + \tanh h(q)]. \tag*{(31)} q ~ n = q ⊙ b ( log n ) ⊙ [ 1 + tanh h ( q )] . (31)
Here q q q is an attention-query vector, n n n the row count, b , h b,h b , h learned maps and ⊙ \odot ⊙ elementwise multiplication.
Separate diagnostic designs. These diagnostics use designs of their own, stated in each paragraph; they are separate from the main grid and from the representation and count-reset comparisons of Appendix § 12 . The linear exact-copy study uses twelve noiseless sites, 64 copies, six site seeds and one TabPFN-v3 ensemble member. Near/middle slopes average the outer/central fifths of each of eleven gaps; MSE is over the observed hull. Arithmetic means over the six cells are reported. With row fingerprints disabled, native slopes remain 0.695 / 1.343 0.695/1.343 0.695/1.343 , so flattening persists without that route.
Shared context keys and values carry embedding-only reset: replacing both reproduces that reset’s result, whereas query-only re-encoding raises MSE to 0.006453. With query/key states fixed, a numerical count change raises mean site-attention entropy from 2.147 to 2.305; this entropy is distinct from inverse-Simpson ν e f f \nu_{\mathrm{eff}} ν eff . For uniform copies, unbiased sample variance changes by the factor r ( m − 1 ) / ( m r − 1 ) r(m-1)/(mr-1) r ( m − 1 ) / ( m r − 1 ) . Jointly fixing numerical count, fingerprints and this scaling restores predictions to within 3.6 3.6 3.6 –4.4 × 10 − 5 4.4 \times10^{-5} 4.4 × 1 0 − 5 of Single across the six cells. The attention illustration under full count reset in Figure 3 uses independent readings, quadratic target, SD 0.05, seed 4102, one CPU ensemble member and 201 queries. Context attention is renormalized before site pooling; inverse-Simpson values are computed per captured head/ICL operation before their median. Capture indices in this illustration denote forward operations, rather than the zero-based physical block indices used with Table 10 . The separate window summaries use four functions and three shared site seeds; their medians are 11.01/10.13/11.06 for Single /Expanded /full reset at SD 0.05 and 10.98/10.59/11.45 at SD 0.5. Windows and functions sharing a seed are dependent. These statistics use a different batch and reduction from the 240-cell attention study below.
The single-query example in Figure 9 belongs to the primary quadratic design, not to the independent-reading attention illustration. It illustrates a change without identifying attention weights as the sole cause of that change. For the independent-reading surface in Figure 10 , local response is S r ( A , h ) = E x ∈ A , v [ f ^ r ( x + h v ) − f ^ r ( x ) ] 2 / E x ∈ A , v [ f ( x + h v ) − f ( x ) ] 2 S_r(A,h) = \mathbb{E}_{x\in A,v}[\hat{f}_r(x+hv)-\hat{f}_r(x)]^2/\mathbb{E}_{x\in A,v}[f(x+hv)-f(x)]^2 S r ( A , h ) = E x ∈ A , v [ f ^ r ( x + h v ) − f ^ r ( x ) ] 2 / E x ∈ A , v [ f ( x + h v ) − f ( x ) ] 2 , where v v v is a unit direction and h h h a step relative to local spacing. Constant-target directions use absolute prediction energy. Transition width is the shortest contiguous neighboring-site path fraction containing 80% of total prediction variation. In the displayed design, near-site response is 2.075/8.584/3.810 and width 0.631/0.822/0.863 for Expanded /Single /Mean ; all response ratios exceed one. Fresh MSE is 0.410/0.467/0.564. Expanded has less local variation than the other representations, not less than the target.
Figure 9. Inside the table of Figure 1 . The twelve sites of its left design (here at the grid’s default noise SD 0.15), drawn at their mean reading and coloured by the pooled attention weight one query (star) places on each. Left: one reading per site. Right: 64 readings. One site’s weight rises from 0.28 to 0.51 and the prediction at the query moves from −0.16 to −0.42 against a truth of −0.17.
Figure 10. Two-input prediction surfaces with independent readings. Additive target, 24 sites, noise SD 0.5, r = 64 r = 64 r = 64 ; Single uses the first reading. Height and colour share scales on a 61 × 61 61 \times61 61 × 61 grid; fresh errors use 512 separately drawn queries. S n e a r S_{\mathrm{near}} S near denotes S r ( A , h ) S_r(A,h) S r ( A , h ) on the near-site probes; W 80 W_{80} W 80 is the mean 80%-variation path fraction over eight neighboring-site paths. One design and one bank of readings, eight-member TabPFN-v3 (v3 checkpoint, tabpfn 9.0.0).
The high-dimensional exact-copy controls use additive and interaction targets, 48 sites, five or twenty active inputs, and r = 64 r = 64 r = 64 noiseless copies. Full count reset was fixed on six development designs before evaluation on twelve new designs. The TabDPT scale control uses a count of m + 64 m + 64 m + 64 : m m m site keys plus TabDPT’s 64 thinking rows. On twelve held-out five-dimensional designs (48 sites, r = 64 r = 64 r = 64 noiseless copies, eight ensemble members), full count reset in TabPFN-v3 raises the additive error from 0.599 to 0.764 and lowers the interaction error from 1.209 to 1.072; TabDPT’s scale control moves both the other way (0.712 to 0.565 and 1.230 to 1.381), and narrower transitions accompany lower additive and higher interaction error in both models. On the noisy designs of the main grid’s dimension axis, full count reset lowers the pooled median fresh-input MSE relative to Expanded at each tested dimension (Table 4 ). These interventions and the two-input illustration have different sampling units; neither is an independent confirmation cohort.
Table 4. Count reset in TabPFN-v3: median error at fresh inputs of Single , Expanded , Mean , full count reset (all 27 count arguments set to m m m ) and embedding-only reset (the three embedding modules), and cells in which Mean beats full count reset. One-dimensional synthetic: six functions, 120 cells per row; dimension axis: three families, m = 24 m = 24 m = 24 , 60 cells; semi-synthetic: five datasets, 100 cells; real data: twenty splits at the largest count.
Exact-copy contrasts on the main grid
At noise SD zero, Expanded supplies 64 identical latent values at each of twelve random sites. Table 22 pairs Expanded and Single within each function–seed cell, then takes the median of the twenty ratios. Both backends use their main-grid package configurations, including TabDPT’s default ensemble and full retrieved context and TabFM’s full context (Appendix C); these differ from the one-member attention probes and the high-dimensional scale intervention above.
Table 22. Main-grid exact copies: median paired fresh-input MSE ratio Expanded /Single , twelve sites, 64 copies, twenty seed cells per function.
Inside TabPFN-v3
Prior work links spectral capacity to context sample count in TabPFN 2 and 2.5 [45 ] and uses activation patching and head ablation to localize computation in TabPFN 2.5 [18 ] . Our TabPFN-v3 diagnostics hold input sites fixed while changing repetition or internal count inputs.
Figure 11. Effective number of attended sites and top pooled weight at a representative query as r r r grows, TabPFN-v3, Expanded table, m = 12 m = 12 m = 12 , σ = 0.15 \sigma= 0.15 σ = 0.15 ; mean and 95% interval over twenty seeds. Selective layers are 18, 19, 21, 22; the all-layer curves pool all 24 ICL layers.
Readout. With ω i ( x ) \omega_i(x) ω i ( x ) the pooled attention on site i i i and Y ˉ i \bar{Y}_i Y ˉ i its mean reading, the reconstruction ∑ i ω i ( x ) Y ˉ i \sum_i \omega_i(x)\bar{Y}_i ∑ i ω i ( x ) Y ˉ i is correlated with the model’s output over the query grid at 0.996 on the one-dimensional designs and at 0.974 to 0.983 on real covariates in eight to eleven dimensions, using every layer in which rows meet. Weights shuffled across sites, or taken from another query, reconstruct at ∣ ρ ∣ < 0.02 |\rho| < 0.02 ∣ ρ ∣ < 0.02 . The relation is affine and not exact: the slope of output on reconstruction is 2.0 with one reading and 1.27 with 64, because attention averages value vectors and not site means.
Concentration. The 240-cell summaries (three functions, eight noise levels, ten seeds, r = 64 r = 64 r = 64 ) are medians over cells using ICL layers 18, 19, 21, 22, selected for spatial selectivity under Single . The weight on the most attended site rises from 0.26 to 0.44 and n e f f n_{\mathrm{eff}} n eff falls from 6.6 to 4.1. On twenty seeds the fall is monotone in log r \log r log r (quadratic: 7.1 to 4.1; lower at r = 256 r = 256 r = 256 than at r = 1 r = 1 r = 1 in 77 of 80 function–seed pairs), and the largest step is the first (Figure 11). Under Mean the same query moves from 6.8 to 6.2.
Interventions on the attention. The transplant probe uses TabPFN-v3 (tabpfn 8.5.0, the default v3 regressor checkpoint), one ensemble member, fingerprints on and float32 inference. It compares r = 1 r = 1 r = 1 and r = 64 r = 64 r = 64 at m = 12 m = 12 m = 12 sites: four functions (quadratic, tanh, step, sine), noise SDs 0.05, 0.15, 0.30 and six seeds give 72 cells. MSE is averaged over 400 fresh query inputs against the true function. The all-layer intervention replaces the test-query attention at each of the 24 ICL layers with Single ’s per-head site weights, spread uniformly over each site’s 64 rows; the other computations use the Expanded pass. Transplanting each pass’s own weights changes predictions by at most 6.7 × 10 − 5 6.7 \times10^{-5} 6.7 × 1 0 − 5 over these cells.
Expanded is worse than Single in 40/72 cells. All-layer transplant improves 18 of those 40: 12/12 on step, 0/16 on quadratic, 2/4 on tanh and 4/8 on sine. Restricting transplant to layers 18, 19, 21, 22 improves 29/40, but closes at least half the error gap in only 2/40; all-layer transplant does so in 11/40. These layer indices are zero-based. A separate attention-temperature experiment that fully undoes concentration beats plain averaging in 5 of 20 cells.
Values and the embedding stage. Within one site the value vectors of the rows spread 1.6 times the spread between sites at the readout layers. The embedding stage does not create this: rows of one site enter it 0.05 apart, in units of the between-site spread, and leave it 0.003 apart; the in-context layers re-separate them, to 0.72 by the last layer (Figure 12 ). With identical rows, the three count modules of the embedding stage displace each site by 0.52 of the between-site spread. Under embedding-only reset, the in-context modules rebuild the displacement from 0.23 at the first layer to 0.95 at the last.
Figure 12. The embedding stage of TabPFN-v3 under repetition (m = 12 m = 12 m = 12 , r = 64 r = 64 r = 64 , four functions, six seeds, medians). Spread of one site’s rows relative to the spread between sites along the forward pass; displacement of a site between the r = 64 r = 64 r = 64 and r = 1 r = 1 r = 1 contexts under count overrides; and the resulting error relative to Single .
A separate risk probe pools 144 cells: four functions, noise SDs 0, 0.05 and 0.30, six seeds, with and without fingerprints. It uses one ensemble member and float32 inference, giving 576 fits across four arms. Embedding-only reset lowers error in 121/144 cells, with median paired MSE ratio 0.68 to Expanded . Function medians fall from 0.183 to 0.066 on quadratic and 0.011 to 0.003 on tanh, but rise from 0.280 to 0.283 on sine. Full count reset has median paired ratio 0.95 to Single and improves on Single in 84/144 cells. Table 4 evaluates these resets on the main designs.
Bias and variance. The decomposition over independent reading banks for all six models is in Table 6 and Table 7 .
Table 7. Squared bias and variance at fresh inputs over eight independent banks of 64 readings at the same sites, finite-bank corrected; median over cells (one-dimensional: six functions times ten site seeds, noise SD 0.50; semi-synthetic: five datasets times ten site seeds, noise multiplier 0.25).
Fine-tuning trials
The best fine-tuned Expanded result improves modestly while losing much of the model’s benefit from averaging. In the first trial Expanded MSE falls from 0.0648 to 0.0621, with gains in 23 of 36 cells, but Mean MSE rises from 0.0079 to 0.0481. Even this best trained Expanded median remains about eight times the shipped Mean baseline. The all-layer trial raises Expanded MSE to 0.0730 and Mean MSE to 0.0307; the values-only adapter raises Expanded MSE from its own shipped baseline of 0.0655 to 0.0727.
Training modules and budgets. The first trial trains in-context layers 18, 19, 21 and 22, all 27 SoftmaxScalingMLP count modules, and the output head (output_norm, output_projection): 15.08 million parameters, 8,000 tables, learning rate 5 × 10 − 6 5 \times10^{-6} 5 × 1 0 − 6 , 100 warm-up tables and weight decay 0.01. The second trains all 24 in-context layers, all count modules and the same head (57.04 million parameters), with a richer prior, low-noise anchor and curriculum: 12,000 tables, learning rate 10 − 6 10^{-6} 1 0 − 6 , 200 warm-up tables and weight decay 0.01. Both freeze other encoder parameters. The third trains a zero-initialised values-only adapter (1,176 parameters) on a frozen base for 10,000 tables. Each row from site i i i receives log r i \log r_i log r i . Its training configuration specifies AdamW with default learning rate 10 − 4 10^{-4} 1 0 − 4 , 200 warm-up tables and zero weight decay. Paired evaluation uses eight ensemble members in all trials, with float32 for the adapter and each earlier trial’s matched shipped inference settings.
Table 23. Three fine-tuning trials on TabPFN-v3, each with one training seed. Median fresh-input MSE over 36 paired cells: six one-dimensional functions times six evaluation seeds (0–5), m = 12 m = 12 m = 12 , r = 64 r = 64 r = 64 , noise SD 0.05. Each trial uses its own shipped baseline under the same inference settings; wins compare trained Expanded with shipped Expanded .
Validation and evaluation. Ordinary validation tables contain one noisy response per site (r = 1 r = 1 r = 1 ); Mean performance is evaluated separately using averages of 64 readings. Checkpoints are validated every 2,000 tables. The first trial uses 30 Expanded and 30 ordinary tables, selecting the lowest mean Expanded MSE subject to ordinary-table mean MSE at most 1.05 times shipped. The second uses 40 short-length-scale GP Expanded and 40 ordinary tables, with the same rule plus improved Expanded MSE. The adapter uses 40 Expanded and 40 ordinary tables, selecting the lowest mean Expanded MSE. The selected checkpoints are at 8,000, 12,000 and 10,000 tables, respectively; the 36 evaluation cells are separate from these banks. Each recipe uses one training seed.
The values-only adapter preserves one-reading predictions to 3 × 10 − 6 3 \times10^{-6} 3 × 1 0 − 6 . A logit-bias-only adapter was not trained because the fused-attention kernel failed at its first backward pass. The training target in all three is the latent mean, so a narrower predictive band after training does not indicate calibration for a future reading.
Table 19. Marginal median fresh-input MSE on the default designs of Figure 8 : six one-dimensional functions at noise SD 0.15 (120 cells) and five real covariate datasets at noise multiplier 0.25 (100 cells), twenty seeds each, m = 12 m = 12 m = 12 . Single , and Expanded and Mean at 4, 64 and 256 readings.
Figure 8. Single, Expanded and Mean against readings per site. Marginal median fresh-input MSE over six one-dimensional functions (top, noise SD 0.15, 120 cells) and five real covariate datasets (bottom, noise multiplier 0.25, 100 cells), twenty seeds each, m = 12 m = 12 m = 12 . Single is constant; curves start at its r = 1 r = 1 r = 1 value. Table 19 lists the r = 4 , 64 , 256 r = 4, 64, 256 r = 4 , 64 , 256 medians from the same fits.