iskhare commited on
Commit
cb06c5d
·
verified ·
1 Parent(s): 68d0fe5

Add final information-metric audit

Browse files
evaluation/controlled_d10_100k_10k/2026-08-17/METRIC_AUDIT.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Post-evaluation information-metric audit
2
+
3
+ Date: 2026-08-17
4
+
5
+ ## Bottom line
6
+
7
+ The first four-tokenizer cohort does not support the intended claim that a
8
+ standard information-theoretic summary predicts controlled gFID. Conditional
9
+ rate, marginal entropy, position entropy, nominal capacity, entropy savings,
10
+ rate/utility efficiency, profile mismatch, and expected total corruption damage
11
+ all fail to recover the ordering
12
+
13
+ `VAR-4K < MSVR-8K < MSVR-16K < MSVR-4K`.
14
+
15
+ One exploratory tokenizer-only statistic does recover that ordering: the shape
16
+ of the uniform exactly-one-symbol sensitivity profile. The result repeats over
17
+ three perturbation seeds, but it is not invariant to the corruption policy and
18
+ was discovered after inspecting gFID. It is a candidate for an independent,
19
+ preregistered test—not evidence that the original entropy/rate direction works.
20
+
21
+ ## Outcome table
22
+
23
+ All values are lower-is-better except where noted. Published rFID is contextual
24
+ and was not recomputed in the controlled local pipeline.
25
+
26
+ | Tokenizer | Published rFID | Controlled 10k gFID | Probe bits/image | Pooled marginal entropy bits/image | Final LPIPS |
27
+ |---|---:|---:|---:|---:|---:|
28
+ | VAR-4K | 0.90 | **25.218** | 6,761.0 | 7,965.2 | **0.1807** |
29
+ | MSVR-4K | 0.80 | 30.761 | **5,477.8** | **6,801.0** | 0.2211 |
30
+ | MSVR-8K | 0.70 | **27.214** | 5,978.6 | 7,348.5 | 0.2069 |
31
+ | MSVR-16K | **0.67** | 28.512 | 6,163.7 | 7,858.5 | 0.2240 |
32
+
33
+ The conventional information quantities are especially unconvincing across
34
+ families. Probe bits/image has Pearson `r=-0.928` and Spearman `rho=-0.8` with
35
+ gFID: the best generator condition, VAR, has the greatest total conditional
36
+ burden. Pooled and position entropy are similarly inversely ordered. Final
37
+ LPIPS (`r=0.878`, `rho=0.8`) is more aligned with gFID than any scalar rate or
38
+ entropy quantity tested, but still swaps MSVR-4K and MSVR-16K.
39
+
40
+ ## Metrics audited
41
+
42
+ The audit reconstructed the complete per-scale profiles and tested the
43
+ following interpretable summaries without fitting a regression:
44
+
45
+ - total conditional probe bits/image and bits/symbol;
46
+ - nominal capacity and pooled/position marginal entropy per image;
47
+ - `marginal_entropy - conditional_rate` and normalized compression ratios;
48
+ - centers, normalized entropies, and coarse/late fractions of the rate and
49
+ entropy profiles;
50
+ - total LPIPS/MSE prefix gain and conditional bits per unit prefix gain;
51
+ - utility-weighted rate, Jensen-Shannon divergence, and Wasserstein distance
52
+ between scale-wise utility and rate allocation;
53
+ - total one-symbol and fixed-fraction damage under uniform and nearest-code
54
+ corruption;
55
+ - additive expected damage using held-out per-scale top-1 error rates.
56
+
57
+ None of these quantities exactly ranks all four conditions. Testing more
58
+ algebraic combinations on four observations would be metric fitting, not
59
+ scientific evidence.
60
+
61
+ ## Reproducible sensitivity-shape lead
62
+
63
+ Let `S_k` be mean reconstruction-MSE damage after replacing exactly one atomic
64
+ symbol at level `k` with a uniformly selected wrong symbol. Normalize damage
65
+ across the hierarchy:
66
+
67
+ ```text
68
+ q_k = S_k / sum_j S_j.
69
+ ```
70
+
71
+ Two related summaries were evaluated:
72
+
73
+ ```text
74
+ H_S = -sum_k q_k log2(q_k) / log2(K)
75
+ C_S = sum_k q_k * (r_k - r_min) / (r_max - r_min),
76
+ ```
77
+
78
+ where `r_k` is the spatial side length of level `k`. `H_S` is the normalized
79
+ entropy of damage allocation. `C_S` is a resolution-weighted center and avoids
80
+ treating MSVR's two separate 1x1 levels as two different spatial scales. Lower
81
+ values mean vulnerability is concentrated in fewer, coarser levels rather than
82
+ spread through the hierarchy.
83
+
84
+ The same class-balanced 2,000 images were evaluated with perturbation seeds
85
+ 1234, 4321, and 9876:
86
+
87
+ | Tokenizer | gFID | Mean `H_S` ± seed SD | Mean `C_S` ± seed SD |
88
+ |---|---:|---:|---:|
89
+ | VAR-4K | **25.218** | **0.3340 ± 0.0045** | **0.02821 ± 0.00056** |
90
+ | MSVR-4K | 30.761 | 0.5622 ± 0.0047 | 0.03585 ± 0.00052 |
91
+ | MSVR-8K | **27.214** | **0.5387 ± 0.0033** | **0.03157 ± 0.00077** |
92
+ | MSVR-16K | 28.512 | 0.5525 ± 0.0050 | 0.03421 ± 0.00068 |
93
+
94
+ Both metrics have Spearman `rho=1.0` with gFID for every perturbation seed.
95
+ Across the three seeds, Pearson correlation ranges from `0.822` to `0.831` for
96
+ `H_S` and from `0.972` to `0.985` for `C_S`.
97
+
98
+ This is substantially more robust than the previous mixed error-amplification
99
+ proxy because it is tokenizer-only, uses one prespecified corruption policy,
100
+ does not use generator error rates, and includes VAR. It also survives a fresh
101
+ corruption draw rather than relying on the original seed.
102
+
103
+ ## Why this is not yet a positive result
104
+
105
+ 1. There are only four outcomes, and this metric was selected after examining
106
+ them. Correlation significance is not meaningful after this search.
107
+ 2. All three perturbation seeds use the same 2,000 validation images. They test
108
+ corruption Monte Carlo noise, not dataset-sampling uncertainty.
109
+ 3. Uniform wrong-code corruption is not the generator's empirical error
110
+ distribution. Nearest-code sensitivity gets only `rho=0.8` and consistently
111
+ swaps MSVR-4K and MSVR-16K.
112
+ 4. Fixed-fraction corruption is supportive for entropy but not perfectly stable
113
+ for the resolution center.
114
+ 5. `H_S` is sensitive to how a tokenizer enumerates duplicate-resolution
115
+ levels. `C_S` reduces that problem but normalizes each hierarchy by its own
116
+ terminal resolution.
117
+ 6. VAR and MSVR still differ in hierarchy, tokenizer family, symbol count, and
118
+ generator FLOPs. The exact ordering could reflect those family differences.
119
+
120
+ Most importantly, `H_S` is an entropy of a robustness profile, not code entropy
121
+ or conditional source rate. If it generalizes, the scientific direction is
122
+ better described as **hierarchical error localization and propagation** than as
123
+ a generic information-theory predictor of generation quality.
124
+
125
+ ## Recommended decision gate
126
+
127
+ Treat the current study as a negative pilot for the original entropy/rate
128
+ hypothesis. Do not optimize a composite score or commission 50k FID runs yet.
129
+
130
+ Before selecting any additional results, preregister exactly:
131
+
132
+ 1. primary metric: uniform one-symbol normalized-resolution center `C_S`;
133
+ 2. secondary metric: normalized sensitivity entropy `H_S`;
134
+ 3. negative-control policy: nearest-code one-symbol sensitivity;
135
+ 4. target: rank controlled gFID on an independently selected cohort of at least
136
+ six additional hierarchical tokenizers;
137
+ 5. pass criterion chosen before training, including required rank correlation
138
+ and improvement over rFID/final LPIPS baselines.
139
+
140
+ If that independent test fails, close or substantially pivot this direction. If
141
+ it succeeds, rerun publication-grade 50k gFID and collect the generator's actual
142
+ wrong-code confusion distribution to test the error-propagation mechanism.
143
+
144
+ ## Artifacts
145
+
146
+ The original Day-1 profiles are under `outputs/info_theory/*_2k.json`. Repeated
147
+ raw profiles are under `outputs/info_theory/robustness/` and are archived at:
148
+
149
+ <https://huggingface.co/iskhare/info-theory/tree/main/evaluation/controlled_d10_100k_10k/2026-08-17/robustness_repeats>
150
+
151
+ The repeated files use the identical stratified subset (`subset_seed=1234`) and
152
+ perturbation seeds 4321 and 9876. The 4321 run includes uniform and nearest-code
153
+ policies; the 9876 run is uniform-only.
evaluation/controlled_d10_100k_10k/2026-08-17/REPORT.md CHANGED
@@ -9,25 +9,33 @@ Status: controlled 100k-step generator evaluation complete; publication-grade
9
 
10
  ## Executive finding
11
 
12
- The hypothesis receives **qualitative, partial support** in this first cohort.
13
- Reconstruction quality alone does not determine downstream generation quality.
 
 
 
 
 
 
 
 
 
14
  The official XQ-GAN model zoo reports monotonically improving MSVR rFID as the
15
  codebook grows (`0.80 -> 0.70 -> 0.67`), while the matched controlled VAR-d10
16
  screening gFID is non-monotonic:
17
 
18
  | Condition | Published rFID | Controlled gFID (10k) | Rank |
19
  |---|---:|---:|---:|
20
- | VAR-4K | reference only | **25.218** | 1 |
21
  | MSVR-4K | 0.80 | 30.761 | 4 |
22
  | MSVR-8K | 0.70 | **27.214** | 2 |
23
  | MSVR-16K | 0.67 | 28.512 | 3 |
24
 
25
  Within the controlled MSVR family, 8K is the best operating point. Moving from
26
- 4K to 8K appears to gain enough representation fidelity to outweigh the added
27
- prediction burden. Moving from 8K to 16K yields only a small published rFID gain
28
- but adds 185.1 probe bits/image and worsens screening gFID by 1.297. This is
29
- consistent with a fidelity-versus-modelability tradeoff, not with a claim that
30
- any single measured statistic is already a sufficient predictor.
31
 
32
  VAR-4K is best in this run, but it is a separate tokenizer family with 680
33
  atomic symbols/image rather than 572, substantially greater generator FLOPs,
@@ -129,11 +137,10 @@ The summed exactly-one-symbol sensitivity damage is:
129
 
130
  A rough additive uniform-error proxy,
131
  `sum_k L_k * (1 - top1_k) * S_k^(1)`, is U-shaped within MSVR
132
- (`0.0825, 0.0790, 0.0846`) and matches its gFID ordering. The corresponding
133
- nearest-code proxy does not. This is suggestive only: independence/additivity
134
- is not established, and top-1 error rate does not identify the generator's
135
- actual wrong-code distribution. It motivates measuring empirical confusion-
136
- weighted sensitivity rather than selecting a corruption policy post hoc.
137
 
138
  ## What the experiment supports
139
 
@@ -141,15 +148,17 @@ weighted sensitivity rather than selecting a corruption policy post hoc.
141
  rFID trend does not yield monotonic controlled gFID.
142
  2. **Conditional rate is also insufficient by itself.** MSVR-4K has the lowest
143
  probe bits/image but the worst gFID.
144
- 3. **An allocation tradeoff is plausible.** The MSVR-8K midpoint balances the
145
- observed representation and prediction burdens best in this experiment.
146
- 4. **Scale-local robustness may help explain amplification, but the perturbation
147
- distribution matters.** The uniform additive proxy agrees with gFID; the
148
- nearest-code proxy does not.
 
149
 
150
  This four-point cohort is too small to fit or validate a composite predictor.
151
- Doing so now would be post-hoc overfitting. The result supports continuing the
152
- hypothesis, not declaring it established.
 
153
 
154
  ## Limitations and next decisive runs
155
 
@@ -167,11 +176,13 @@ hypothesis, not declaring it established.
167
  environment and checkpoints loaded strictly, but the environment difference
168
  is recorded.
169
 
170
- The next priority is a 50k evaluation of all four conditions with exactly 50
171
- samples/class. Then record the generator's empirical scale-specific wrong-code
172
- confusions and evaluate `Pr(error type at k) * damage(error type at k)`. A
173
- matched local rFID rerun and an independently chosen follow-up tokenizer cohort
174
- would make the mechanism test substantially stronger.
 
 
175
 
176
  ## Reproduction and artifacts
177
 
 
9
 
10
  ## Executive finding
11
 
12
+ The original entropy/rate hypothesis is **not supported as a predictive result**
13
+ by this first cohort. Reconstruction quality alone does not determine downstream
14
+ generation quality, but neither conditional rate, marginal entropy, entropy
15
+ savings, rate/utility efficiency, nor expected total error damage explains the
16
+ four-tokenizer gFID ordering. A post-evaluation audit found one reproducible
17
+ tokenizer-only lead—the scale distribution of uniform one-symbol damage—but it
18
+ is corruption-policy dependent and was selected after observing the outcomes.
19
+ It should be treated as a preregistered follow-up candidate, not as confirmation.
20
+
21
+ The detailed metric audit is in `docs/info_theory_metric_audit.md`.
22
+
23
  The official XQ-GAN model zoo reports monotonically improving MSVR rFID as the
24
  codebook grows (`0.80 -> 0.70 -> 0.67`), while the matched controlled VAR-d10
25
  screening gFID is non-monotonic:
26
 
27
  | Condition | Published rFID | Controlled gFID (10k) | Rank |
28
  |---|---:|---:|---:|
29
+ | VAR-4K | 0.90 (XQ-GAN reference) | **25.218** | 1 |
30
  | MSVR-4K | 0.80 | 30.761 | 4 |
31
  | MSVR-8K | 0.70 | **27.214** | 2 |
32
  | MSVR-16K | 0.67 | 28.512 | 3 |
33
 
34
  Within the controlled MSVR family, 8K is the best operating point. Moving from
35
+ 8K to 16K adds 185.1 probe bits/image and worsens screening gFID by 1.297 despite
36
+ the small published rFID gain. This is compatible with a fidelity-versus-
37
+ modelability tradeoff, but the measured rate-distortion summaries do not predict
38
+ the complete ordering and therefore do not establish that mechanism.
 
39
 
40
  VAR-4K is best in this run, but it is a separate tokenizer family with 680
41
  atomic symbols/image rather than 572, substantially greater generator FLOPs,
 
137
 
138
  A rough additive uniform-error proxy,
139
  `sum_k L_k * (1 - top1_k) * S_k^(1)`, is U-shaped within MSVR
140
+ (`0.0825, 0.0790, 0.0846`) but swaps MSVR-4K and MSVR-16K relative to gFID and
141
+ fails badly on VAR. The corresponding nearest-code proxy also fails. Top-1
142
+ error rate does not identify the generator's actual wrong-code distribution,
143
+ so neither proxy is evidence for the proposed amplification mechanism.
 
144
 
145
  ## What the experiment supports
146
 
 
148
  rFID trend does not yield monotonic controlled gFID.
149
  2. **Conditional rate is also insufficient by itself.** MSVR-4K has the lowest
150
  probe bits/image but the worst gFID.
151
+ 3. **The tested rate-allocation summaries do not rescue the hypothesis.** Their
152
+ descriptive ordering is no better than the reconstruction diagnostics.
153
+ 4. **Hierarchical sensitivity shape is a lead, not a result.** Uniform
154
+ one-symbol damage concentration reproduces the four-way ordering across
155
+ three perturbation seeds, while nearest-code variants do not reproduce the
156
+ MSVR-4K/MSVR-16K ordering.
157
 
158
  This four-point cohort is too small to fit or validate a composite predictor.
159
+ Doing so now would be post-hoc overfitting. The appropriate conclusion is a
160
+ negative result for the original entropy/rate claim and, at most, one narrowly
161
+ defined robustness statistic worth testing on an independent cohort.
162
 
163
  ## Limitations and next decisive runs
164
 
 
176
  environment and checkpoints loaded strictly, but the environment difference
177
  is recorded.
178
 
179
+ Do not spend on a 50k evaluation merely to strengthen the current metric claim:
180
+ the two deterministic 5k halves already preserve the screening rank. First
181
+ preregister the sensitivity statistic and test it on an independently selected
182
+ hierarchical-tokenizer cohort. Only if that test succeeds should the four
183
+ conditions receive publication-grade 50k evaluation. Recording the generator's
184
+ empirical scale-specific wrong-code confusions remains the correct mechanistic
185
+ test of `Pr(error type at k) * damage(error type at k)`.
186
 
187
  ## Reproduction and artifacts
188