← Ziding Zhang

Extreme entries and correlation traps

A simple entry count did not pass its held-out test, while removing those entries reduced the measured trap count.

November 6, 2026 · Research note


We tested whether a simple count of extreme weight entries could stand in for WeightWatcher’s correlation-trap count. It did not pass our frozen tests. Yet zeroing extreme entries removed about half of GPT-Neo-125M’s traps in two implementations. These results answer different questions: an intervention can reduce a diagnostic without supplying a reliable formula for its value.

The proposed simplification

Hari K. Prakash and Charles H. Martin’s Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory studies spectral outliers after shuffling a weight matrix’s entries. WeightWatcher fits a Marchenko–Pastur bulk to the shuffled spectrum and counts sufficiently large outliers as correlation traps.

Our proposed shortcut counted individual entries above a size threshold. The paper already cautions in Appendix B.5 that entry thresholds depend on scale and architecture. Sections B.5 and D.3 also discuss traps produced by several large or moderately large entries. The check below tests our simplification; it does not reproduce the paper’s grokking experiments or its tests of harmful versus benign traps.

The first threshold comparison was inconclusive under its predeclared rule. A revised formula, chosen after seeing GPT-2 and then frozen for held-out models, also failed to pass. On GPT-Neo at seed 0, it predicted 6 traps against 30 measured. The final frozen verdict stayed inconclusive because classifications differed across shuffle seeds.

Qwen2.5-0.5B and SmolLM2-135M had too few trap-carrying matrices to meet the predeclared minimum of eight. Their apparent agreement therefore did not rescue the held-out result.

What the result supports

Extreme entries contribute substantially to the trap count in these tested weights. A simple entry threshold still leaves a substantial GPT-Neo residual and fails as a general count predictor. Several near-threshold entries acting together are a plausible explanation, already discussed by the paper; these runs do not establish that mechanism for every residual trap.

We did not measure whether zeroing entries helps or harms model behavior. A lower trap count alone cannot establish better generalization.

The useful next test is a matched-protocol reproduction, particularly on the zeroed matrices where our counter comparison has not been run. A material change in the GPT-Neo reduction would challenge the current result. A predictor that handles the held-out residual would improve the proposed explanation. Confidence is moderate in the narrow “about half removed” GPT-Neo result and low in a universal threshold formula.

Part of my research notebook.

Agent context: sources, method and working notes

Removing extreme entries

The subsequent zeroing analysis was exploratory. It set entries above a threshold to zero, shuffled the resulting matrices and counted traps again. A separately written implementation repeated the GPT-Neo comparison and added GPT-2.

CalculationBeforeAfter zeroingRemoved / before
GPT-Neo, first pass813546 / 81 · 56.8%
GPT-Neo, independent implementation833746 / 83 · 55.4%
GPT-2, reviewer extension18727160 / 187 · 85.6%

Each row pools three shuffles of the same weights. These are not independently trained models or counts of distinct traps tracked across shuffles.

The two GPT-Neo calculations use different thresholds and random streams. The first uses the fitted bulk scale times (N*M)**0.25; the reviewer uses std(W)*(N*M)**0.25. Here N and M are the matrix dimensions. The first zeroes entries in 15 selected matrices, which contain its baseline traps; the reviewer processes all 72 block matrices. The agreement supports the approximate result, not an exact reproduction of one protocol.

The GPT-2 row uses 48 matrices. It is an extension made in the independent reviewer’s implementation: we found no corresponding first-pass GPT-2 zeroing run in the saved records. It should not be read as a twice-implemented ablation result.

What was checked against WeightWatcher

The original two implementations were written from source and initially did not execute WeightWatcher. A later check ran version 0.8.8. Giving the same eigenvalues to the original fit and WeightWatcher’s fit produced identical counts on 168 matrices. A further comparison between our two implementations matched counts on 120 identical shuffled matrices. Those matrices were unzeroed; this did not check the masking operation or the zeroed inputs.

The frozen end-to-end check failed on two of seven runs, both GPT-Neo. Later, ten additional shuffles per route gave mean totals of 28.0 and 29.3, with a descriptive standard error of 1.17 for the difference. That post hoc comparison does not establish equivalence or change the failed outcome. These later package checks were not separately independently recomputed.

The paper used WeightWatcher 0.7.5.5. Its trap mathematics was compared by reading source; that version was not executed in this check.

Inspect the calculation

The reproduction instructions link the saved tables, review output, code and hashes. The arithmetic script recomputes the displayed totals without model weights. The unchanged reviewer code can regenerate its own calculation from pinned public weights; no model computation was rerun for this note.

The review’s original results.json is absent from the committed record. Its saved stdout contains the relevant per-matrix counts and agrees with the reported totals. The download includes that stdout, not a reconstructed file presented as the original.

Original analysis, independent implementation and later package checks: Claude Opus 5.5, with the independent implementation in a separate context. Source reconciliation, arithmetic packaging and publication preparation: GPT-6 through Codex. I have not claimed a personal numerical check. Corrections are welcome.

Changes
  • November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.