# Extreme entries and correlation traps: saved calculations

Prepared by GPT-6 (OpenAI Codex; exact variant unavailable), November 6, 2026.
Original analysis, independent implementation and later package checks: Claude Opus 5.5; independent implementation in a separate context.

## Reproduce the displayed arithmetic

Download all files below into one directory. Run `python3 -I aggregate.py`. Python 3.9 or later and its standard library suffice; no model weights, network calls or external packages are used. The script checks hashes and aggregates saved counts. It does not provide a fresh model-level replication or a new independent review.

- [aggregate.py](aggregate.py): packaging script for the saved calculations.
- [manifest.json](manifest.json): file hashes, original source mapping and model pins.
- [first-pass-neo-layers.csv](first-pass-neo-layers.csv): original 72-matrix held-out counts, unchanged.
- [first-pass-neo-ablation.csv](first-pass-neo-ablation.csv): original exploratory zeroing results for 15 selected matrices, unchanged.
- [reviewer-output.txt](reviewer-output.txt): unchanged saved reviewer stdout, including per-matrix counts wherever traps or extreme entries are nonzero.
- [tier-a.json](tier-a.json): identical-eigenvalue package comparison, unchanged.
- [two-counters.json](two-counters.json): identical unzeroed-matrix comparison, unchanged.
- [package-comparison.json](package-comparison.json): saved end-to-end comparison and frozen pass flags, unchanged.
- [posthoc-shuffles.json](posthoc-shuffles.json): ten additional shuffles per route, unchanged.
- [reviewer-traps.py](reviewer-traps.py): independent trap/zeroing implementation, unchanged.
- [reviewer-analyze.py](reviewer-analyze.py): independent output summarizer, unchanged.

Expected arithmetic: first-pass GPT-Neo 81 to 35 traps, reviewer GPT-Neo 83 to 37, reviewer GPT-2 187 to 27. Removed fractions are 46/81, 46/83 and 160/187. These totals pool three shuffles of the same model weights. The first-pass GPT-Neo threshold uses fitted bulk scale; the reviewer uses standard deviation, so this is approximate agreement across differing protocols. GPT-2 zeroing has no matching first-pass run in the inspected record.

The original reviewer `results.json` is not available in the committed record. Its recorded SHA256 is c7d583b2d791dbcd2be2704d9d83507fc43b3bf6d8dbdfdcb8cd8b1277b9c77f. The saved stdout is an existing artifact, not a reconstruction of that JSON. The arithmetic check reads its explicit nonzero-or-extreme rows and checks the sums against its printed totals. It cannot inspect fields that the stdout did not preserve.

## Regenerate the reviewer's model-weight calculation

This is optional and substantially more work than checking the saved arithmetic. It was not rerun during publication preparation. The recorded environment used Python 3.11.6, NumPy 2.1.3 and SciPy 1.14.1. No complete environment lock or new cross-platform replay is claimed.

Obtain the two `model.safetensors` files from these pinned public revisions and verify their SHA256 values:

| Local name | Public source | SHA256 |
| --- | --- | --- |
| neo.safetensors | [EleutherAI/gpt-neo-125m, 21def0189f5705e2521767faed922f1f15e7d7db](https://huggingface.co/EleutherAI/gpt-neo-125m/tree/21def0189f5705e2521767faed922f1f15e7d7db) | 52738cbfb54e25a232598242f60ef19ee193d36090b98fe649b10c02724b3521 |
| gpt2.safetensors | [openai-community/gpt2, 607a30d783dfa663caf39e06633721c8d4cfcd7e](https://huggingface.co/openai-community/gpt2/tree/607a30d783dfa663caf39e06633721c8d4cfcd7e) | 248dfc3911869ec493c76e65bf2fcf7f615828b0254c12b473182f0f81d3a707 |

The files total about 1.07 GB; memory use exceeds their on-disk size. Run in a suitable isolated environment with finite CPU, memory and elapsed-time limits. Nothing in this capsule downloads weights or installs software automatically.

```sh
python3 -I reviewer-traps.py neo.safetensors gpt2.safetensors regenerated-results.json
python3 -I reviewer-analyze.py regenerated-results.json
```

The original run limited numerical libraries to two threads (`OMP_NUM_THREADS`, `OPENBLAS_NUM_THREADS`, `VECLIB_MAXIMUM_THREADS`). It used RandomState seeds 0, 1 and 2, paired before/after permutations within each implementation. Compare per-seed counts and aggregate fractions, not a byte hash of the regenerated JSON, which also records runtime. This command reproduces the reviewer implementation; it does not run WeightWatcher or the separate first-pass protocol.

## Interpretation limits

The two frozen simple-count tests remain inconclusive. The later package comparison passed its identical-input tier and failed its end-to-end tier. The ten extra shuffles were post hoc. The two-counter agreement covers unzeroed matrices only. No model behavior, generalization benefit or harmful-versus-benign trap distinction was tested. WeightWatcher 0.8.8 was executed; the paper's 0.7.5.5 was compared by reading source only.

Study: Prakash and Martin, [Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory](https://arxiv.org/html/2605.12394v2), especially B.5 and D.3. The code here is our own implementation and packaging, not a distribution of the WeightWatcher package or model weights.
