arXiv:2610.20402stat.MLOct 2026

Manuscript Offprint

arXiv:2610.20402

Posterior Frequencies and the Cost of Not Fitting: A Correction to a Memorization Lower Bound

Zhenisbek Assylbekov, Rustem Takhanov

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

Abstract

Feldman's memorization lower bound assigns a frequency coefficient based on how often a point appears in the training sample. We give an exact three-point counterexample to its conditional and averaged forms, using independent fair labels and a permutation-equivariant learner. A sequence of sampling priors makes the ratio of the proposed penalty to actual excess risk grow exponentially, ruling out a universal positive constant-factor repair. The priors vary with sample size, the offending profiles become rare, and both quantities vanish. Retaining the original model, we obtain an exact replacement using full-sample posterior probabilities. Under exchangeability, these depend on multiplicity and the complete frequency profile. We characterize the largest multiplicity-only coefficients valid for unrestricted learners. The original coefficient has the posterior-mean form of Good's exact frequency formula and is an occupancy-weighted average of the corrected coefficients.

Keywords: memorization, posterior prediction, Good–Turing, exchangeability, frequency profile

1. Introduction

If a learner misclassifies an observed noiseless label, it incurs population error whenever the corresponding input is encountered again. In a model with an unknown sampling distribution, the conditional cost is therefore the input's posterior probability given the training sample. Feldman (2021) uses this observation to relate fitting rare examples to generalization. His Theorem 2.3 assigns the same coefficient to every point observed ℓ\ell times in a sample of size nn:

τn,ℓ=E[Qℓ+1(1−Q)n−ℓ]E[Qℓ(1−Q)n−ℓ],(1)\tau_{n,\ell}=\frac{\mathbb{E}[Q^{\ell+1}(1-Q)^{n-\ell}]}{\mathbb{E}[Q^{\ell}(1-Q)^{n-\ell}]}, \tag{1}

where Q is the random probability of a fixed domain point. This is the posterior mean of Q, conditional only on the number of times the fixed point appears in the sample. It has the same functional form as Good (1953, formula (13), with m = 1).

The learner, however, observes all sample counts. These may reveal additional information about Q. In Feldman's model, raw weights are drawn independently and then normalized; independence before normalization does not justify ignoring the other counts.

Feldman's work provides an influential theoretical account of why learning from long-tailed distributions can require memorizing rare examples. Theorem 2.3 is a central step in that account: it connects errors on observed examples to excess population risk through frequency-dependent coefficients. Establishing the precise validity of this connection is therefore important beyond the particular conditioning identity used in its proof. We identify the failed conditioning step, give an exact counterexample to the theorem itself, and recover a valid lower bound within the original model.

The contributions are threefold. First, Section 3 gives an exact three-point counterexample, with independent fair labels and a permutation-equivariant learner. Second, Section 4 shows that the failure can be exponentially large in relative terms: along even sample sizes n, a sequence of three-entry frequency lists gives

proposedaveragedpenaltyactualexcessrisk∼215(43)n.\frac{proposed averaged penalty}{actual excess risk}\sim\frac{2}{15}\left(\frac{4}{3}\right)^{n}.

Thus no universal positive constant multiple of the original penalty is valid. The prior changes with n, the learner errs on an increasingly rare count profile, and both the penalty and excess risk tend to zero. This is a worst-case multiplicative obstruction, not a fixed-prior asymptotic result or a nonvanishing additive gap.

Third, Sections 5–6 give the exact replacement and its sharp multiplicity-only relaxation. Under a permutation-invariant prior, the full-sample posterior depends only on the point’s multiplicity and the frequency profile: the numbers of domain points appearing zero times, once, twice, and so forth. A multiplicity-only coefficient is valid for all learners exactly when it does not exceed the smallest feasible profile coefficient. Feldman’s τn,ℓ\tau_{n,\ell} instead averages these coefficients with occupancy weights, allowing learners to select errors on profiles where the average is too large.

Related work and scope. The posterior decomposition and exchangeability arguments are standard; their role here is to identify the exact correction. The main contributions are the counterexample, its exponential relative amplification, and the sharp criterion for universal learner-dependent bounds. Count-only prediction is closely related to Johnson's sufficientness postulate: under suitable assumptions across sample sizes, it leads to classical Dirichlet characterizations (Zabell, 1982). Our criterion concerns one fixed sample size and observed categories; it is not a characterization of Dirichlet priors. Section 6.3 makes this distinction precise. Lee et al. (2013) characterize when predictive rules based on species counts are compatible with an exchangeable sampling model. Our question is different: given a sampling model, which posterior probabilities yield valid lower bounds on a learner's excess risk? Appendix C gives a finite-dimensional Gamma-integral calculation related to posterior analysis of normalized random measures (James et al., 2009); it is a computational aid, not a new posterior method.

We correct Theorem 2.3 of arXiv:1906.05271v4, dated January 10, 2021, while retaining its normalized-weight model. Section 7 identifies specific downstream dependencies and separates them from calculations that do not use the failed conditioning identity. Fixed-prior and typical-profile approximations, including long-tail guarantees, require additional analysis.