AEUPH commited on
Commit
a8c9604
Β·
verified Β·
1 Parent(s): 57098cc

DMCRA Lab: elastic level-set quantisation over real GGUF weights, measured end to end

Browse files
Files changed (1) hide show
  1. README.md +48 -4
README.md CHANGED
@@ -1,10 +1,54 @@
1
  ---
2
- title: DMCRA LAB
3
- emoji: πŸ”₯
4
- colorFrom: red
5
  colorTo: blue
6
  sdk: static
 
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: DMCRA Elastic Centroid Lab
3
+ emoji: πŸ§ͺ
4
+ colorFrom: purple
5
  colorTo: blue
6
  sdk: static
7
+ app_file: index.html
8
  pinned: false
9
+ license: mit
10
+ short_description: Elastic per-block level-set quantization, measured
11
  ---
12
 
13
+ # DMCRA Lab β€” elastic per-block level sets, measured on real weights
14
+
15
+ A client-side lab for the **Dynamic Multi-Centroid Routing Architecture** idea: instead of a fixed
16
+ ternary grid `{-1,0,+1}` on every weight, let the *codebook itself* be chosen per block from a nested
17
+ family (`{+-1}` β†’ `{0,+-1}` β†’ `{0,+-1,+-2}` β†’ …) under a bit budget. It runs the real llama forward
18
+ pass over the real weight bytes of a real GGUF, in your browser, and reports what each choice costs.
19
+
20
+ No server, no GPU, no upload, no CDN, no build step. Every figure is measured on your machine.
21
+
22
+ ## What it measures
23
+
24
+ 1. **The level-set ladder** β€” `binary`, `quad`, `ternary`, `penta`, `hepta`, `oct`, `nona`, each run
25
+ through the real pass. Reported: the pass's own measured bits/weight, reconstruction RMSE, the mean
26
+ rank of the true next token, top-1, and Spearman rho of all 512 logits against the exact pass.
27
+ 2. **The multi-channel zero** β€” `{0}` vs the document's `{0/0/0}`, compared logit by logit for exact
28
+ equality. Reported whichever way it comes out.
29
+ 3. **Elastic allocation at equal bits** β€” a per-block plan that unclamps the most important blocks to
30
+ the 3-bit grid and clamps the least important to the 1-bit grid, held to exactly 2.0000 index bits
31
+ per weight, measured against uniform ternary at the same budget. The panel prints `UNDECIDED` when
32
+ the difference is smaller than the run can resolve.
33
+
34
+ ## Verdicts (Node suite, 89 scored positions)
35
+
36
+ | claim | measured |
37
+ |---|---|
38
+ | elastic unclamping beats uniform spending at equal bits | **not supported** β€” every keyed plan was worse (+46 to +147 rank positions, \|t\| 3.2-5.8) |
39
+ | the keys still matter | **supported** β€” keyed plans scored rho 0.52-0.55 against a key-free control's 0.06 |
40
+ | `{0/0/0}` is an information channel | **refuted exactly** β€” bit-identical logits, an extra index bit charged |
41
+ | the zero-free grid at equal bits (`quad`) | **supported** β€” rho 0.8659 vs ternary's 0.8359 at the same 2 index bits |
42
+ | per-block least-squares scales | **the largest effect found** β€” ternary rho 0.5248 β†’ 0.8359 |
43
+
44
+ Per-claim detail, including what a static page structurally cannot test (memristive, photonic and
45
+ in-DRAM claims): `reports/dmcra-verdicts.md`.
46
+
47
+ ## Verified
48
+
49
+ 25 quantiser assertions (including that this project's ternary reproduces the sibling project's
50
+ already-verified `toTernary` exactly), 21 end-to-end forward-pass assertions, and 22 assertions
51
+ driving this exact page through a stubbed DOM β€” refusing an over-ceiling model, refusing an empty
52
+ prompt, and reporting an under-powered comparison as undecided rather than as a result.
53
+
54
+ Part of the AEUPH studio.