Repository navigation
HTR v0.3.0 — Precision MoE Trellis Quantization & Multi-Scale BF16 Calibration Schema
HTR v0.3.0 — Precision MoE Trellis Quantization & Multi-Scale BF16 Self-Gen Calibration Schema
HTR v0.3.0 pairs five ablation-verified encoder/solver upgrades, cross-vendor CUDA + RDNA 3.5 cooperative Viterbi, and our full Multi-Scale True-BF16 Self-Gen Calibration Schema while keeping the HTR-W1 wire format and rdna24 decoders 100% unchanged and backward-compatible.
Highlights & Measured Gains (OLMoE-1B-7B K3 13-Arm Controlled Ablation, 98,244 tokens)
| Upgrade | Measured Impact | Location |
|---|---|---|
| Multi-Scale BF16 Self-Gen Calibration Schema |
2,883,584 total tokens (1,024x2048 + 128x4096 + 32x8192), 81,624 unique tokens, 44-52% assistant fraction at every scale, 768 deterministic self-gen prompts (1,089,266 verified BF16 tokens via teacher_cert, 0 failed / 0 looped), 297 distinct wikitext-2 train articles |
docs/CALIBRATION_SCHEMA.md · calibration/v0.3.0/
|
| CurveTQ intra-block curvature weighting | -1.96% combined KL, -4.02% assistant KL, -3.07% GSM8K KL, -1.89% long-4K KL at zero wall-time overhead |
htr/encode.py (intra_block_curv=True) |
softp_sq_blend MoE Hessians + EBSS audit |
-21.83% mean K3 proxy error, -12.66% tail-expert MSE, -5.60% assistant KL, -2.27% long-4K KL vs v0.2.0 softp
|
htr/moe_encode.py (hess_mode="softp_sq_blend", ebss_coverage_report()) |
| MaCa trace-normalized multi-scale Hessians | -3.99% MBPP code KL, -2.54% WikiTest KL, -2.83% assistant KL |
htr/moe_encode.py (combine_multiscale_hessians()) |
Combined v0.3.0 locked MoE recipe (CurveTQ + MaCa + softp_sq_blend) |
-21.43% mean K3 proxy, -12.49% tail-expert MSE, -7.22% GSM8K KL (best of 13 arms), -4.19% MBPP KL, -3.21% assistant KL at identical wire bytes | docs/EVIDENCE.md |
| NVIDIA CUDA cooperative Viterbi | Extends wave-cooperative DP + single-launch GPU backtracking to sm_80/sm_86/sm_89/sm_90 with 100% bit-identity to k_group
|
htr/vit_v2.py |
| Chunked single-layer sensitivity screener | Memory-bounded BF16-swap K3 -> K4 selector |
htr/k_screen.py |
See docs/EVIDENCE.md for the full 13-arm ablation table (including rejected arms: GPTAQ, QEP, and asst_alpha=1.0) and docs/METHODOLOGY.md for mathematical details.
Flagship Full-Scale Proof of Concept: ERNIE-5.5-Flash-Preview-HTR v3
- 558.4 GiB BF16 -> 101.87 GiB All-K3 (
5.48xcompression) (Hugging Facev3, raw exact BF16 artifact:evidence/ernie55-v3-verified.json) - Held-out Assistant KL:
0.01430(2K,94.97%top-1 /96.24%factual) and0.02179at full 8K DSA context (91.33%top-1) - Legacy
eval_2048(131Ktok):0.16935KL,90.64%top-1 (95.73%STEM reasoning),delta_nll +0.01488 - Legacy
eval_4096(32.8Ktok):delta_nll -0.00743(code_4k0.05257KL /94.25%top-1, recoveringv2's regression) - Mean target K3 proxy:
0.00654across all 42 MoE layers (21,504routed experts);lm_headK5 proxy0.00003