Commit 82afed5
S3: layer-adaptive analysis — RHT makes it unnecessary (negative result)
Measured per-layer post-RHT distributions on Llama 3.2 3B (28 layers):
Pre-RHT kurtosis: 4.13 – 20.62 (wildly different)
Post-RHT kurtosis: 2.64 – 3.81 (near-uniform)
Theoretical maximum benefit of optimal per-layer bit allocation:
~1.8% MSE reduction → ~0.9% PPL improvement. Below noise.
CONCLUSION: RHT already normalizes layer distributions, making per-layer
adaptation unnecessary. This is an architectural advantage: simpler code
(single bit allocation) achieves near-optimal per-layer performance.
Key insight for the paper: the information bottleneck in KV quantization
is TEMPORAL (which tokens need more bits — S1 finding) not SPATIAL
(which layers). RHT solves the spatial dimension; progressive compression
solves the temporal.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d07e809 commit 82afed5
1 file changed
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments