# ICE 2.0: Format-Preserving Expert Repair After Error-Class Quantization **Gökhan Buz** Independent researcher, `gbuzhf` on Hugging Face Version 1.0, October 2026. Companion to [`ICE_Technical_Report.md`](ICE_Technical_Report.md) (ICE v1, August 2026). --- ## Abstract ICE v1 established *where* the bits go in a sparse Mixture-of-Experts checkpoint: freeze the 0.14% of tensors whose quantization error propagates beyond the current token, and spend the budget on the expert library. ICE 2.0 extends the method past the quantizer. After an ICE 1.6 file is built, its routed experts are repaired in place against the bf16 model on calibration activations, **with every tensor keeping its type and its byte size**. The output remains a standard GGUF that any `llama.cpp` build loads, at the same size as before. ICE 2.0 also differs from v1 in three further respects: a domain-matched calibration corpus (Sangreal), the ICE 1.6 recipes built on refined versions of Laws 3 and 4, and a five-tier ladder from 12G to 25G. In a paired, single-session comparison against its own ICE 1.6 parent files on MiniCPM-V-4.7-35B-A3B, ICE 2.0 lowers code KLD by **4.5–17.5%** and code @16K KLD by **4.1–18.6%** at every tier, with the strongest effect at 19G (−14% to −19% on all three columns, paired t below −7). On Ornith-1.5-35B-A3B, the checkpoint ICE v1 was developed on, KLD at equal size falls at each step from ICE 1.5 to ICE 1.6 to ICE 2.0. --- ## 1. From ICE v1 to ICE 2.0 | | ICE v1 (August 2026) | ICE 2.0 (October 2026) | |---|---|---| | **Principle** | freeze what propagates, spend everything else on the library | unchanged | | **Calibration** | generic importance matrix | **Sangreal**: a curated, domain-matched corpus (code in many languages, agentic and tool-use traces, technical and scientific text, several world languages); 10,000 to 36,000 chunks of 512 tokens | | **Recipes** | ICE v1 rules | **ICE 1.6**: the v1 rules with the refined placement and floor laws, built per model | | **Placement (Law 3)** | shallow-first, `g(t) ≈ exp(−t/9.95)` | per-checkpoint depth profile; the value trough is demoted first | | **Floor (Law 4)** | fit on the mean bit-width | fit on the per-block mean of `4^−b` (χ² 14.67 → 0.29) | | **After quantization** | none | **expert repair**, stages A and B (Section 2) | | **Ladder** | 19G / 21G / 23G / 25G | **12G / 15G / 19G / 23G / 25G** | | **Measurement** | wiki @2K | wiki @2K, code @2K, code @16K, each against the model's own bf16 logits, paired per chunk | The refined laws are described in the Version 1.1 updates of the v1 report. The error-propagation classes (DISCRETE, RECURRENT, CACHED, INSTANT) carry over unchanged and still define the frozen set. ## 2. The repair stage ### 2.1 Principle A quantized expert matrix consists of low-bit **codes** and the per-block **scales** that map them back to real values. A standard quantizer chooses both once, block by block, to minimise that block's own weighted error. ICE 2.0 revisits that choice for the routed experts, with the bf16 model as the target and MoE inputs collected from the Sangreal corpus as the data: * **Stage A, scale refit.** With every code fixed, the expert's super-block scales are refit so that the quantized expert reproduces the bf16 expert's output on calibration activations. Only legal values of the same scale fields are written. * **Stage B, code re-choice.** With every scale fixed, the codes are re-chosen with error feedback along the input dimension, in the spirit of GPTQ, so that rounding errors made early in a row are compensated by later choices. The i-quant tiers (12G, 15G, 19G) receive A then B; the k-quant tiers (23G, 25G) receive B on their ICE 1.6 files. Routers, the always-on path and every frozen tensor are left as ICE 1.6 set them. ### 2.2 A standard file Neither stage changes a tensor's type, block layout or byte size. A repaired file differs from its ICE 1.6 parent only inside the routed-expert tensors, and only in bytes those formats already define. No new operator, adapter or side file is needed at inference. ### 2.3 Model-level acceptance A tier is accepted on model-level KLD against the bf16 logits, compared per chunk with its ICE 1.6 parent in the same session. Per-layer error is a poor proxy: a routed MLP's held-out error falls 15–46% at 23G/25G, while the model-level KLD falls 3–4% in the same session, because 70–97% of a layer's deviation from bf16 is inherited from the layers above. The model-level gain is therefore close to *the experts' share of the KLD × the layer gain*, and that is the quantity this report measures. ## 3. Results Mean KL divergence against the model's own bf16 logits (lower is better). "wiki" and "code" are 64 chunks of 2,048 tokens; "code @16K" is 8 chunks of 16,384 tokens. Sizes in 3.1–3.2 exclude the one-layer MTP draft head (0.29 GB), as the rival files carry none; sizes in 3.3 are file sizes as published. The raw `llama-perplexity` output behind every number in this section is in [`appendix/ice-v1.1-ice2-evidence.tar.gz`](../appendix/ice-v1.1-ice2-evidence.tar.gz) (contents described in its `INDEX.md`). ### 3.1 ICE 2.0 against its ICE 1.6 parent (one session, paired) MiniCPM-V-4.7-35B-A3B Uncensored (Qwen3.6-35B-A3B architecture), 14 October 2026. Imatrix: Sangreal 10k, computed on a sibling Qwen3.6 fine-tune (Occamy-1.0). Raw logs: `ice2-3.1-3.2_minicpm-v47-35b-a3b_2026-10-14/`. | tier | wiki | code | code @16K | |---|---|---|---| | 12G | 0.1495 → 0.1574 (+5.3%) | 0.1064 → **0.1014 (−4.7%)** | 0.0847 → **0.0812 (−4.1%)** | | 15G | 0.0716 → 0.0717 (+0.2%, n.s.) | 0.0509 → **0.0486 (−4.5%)** | 0.0418 → **0.0381 (−8.8%, t −6.9)** | | 19G | 0.0295 → **0.0253 (−14.1%, t −10.5)** | 0.0189 → **0.0156 (−17.5%, t −7.8)** | 0.0151 → **0.0123 (−18.6%, t −7.4)** | | 23G | 0.0120 → 0.0121 (+0.3%, n.s.) | 0.0080 → **0.0076 (−5.0%)** | 0.0065 → **0.0061 (−6.7%)** | | 25G | 0.0081 → 0.0082 (+1.0%, n.s.) | 0.0053 → **0.0049 (−6.7%)** | 0.0042 → **0.0040 (−6.7%)** | Same-top-1 agreement improves together with KLD on code @16K at every tier and on code at 12G–23G. The repair concentrates its gain where the calibration target puts its weight, on code and long-context code; prose (wiki) is held level from 15G to 25G and traded for code at 12G. ### 3.2 Against Unsloth Dynamic 2.0 (same session) Same model and session as 3.1. Rival KLD is interpolated log-linearly to each ICE tier's size from the two neighbouring UD files. Negative means ICE 2.0 is lower. | tier (size) | code @2K | code @16K | wiki @2K | |---|---:|---:|---:| | **19G-ICEv2** (18.47 GB) | **−14.7%** | **−15.9%** | **−5.4%** | | **23G-ICEv2** (22.52 GB) | **−3.5%** | **−4.3%** | +4.1% | | **25G-ICEv2** (24.53 GB) | **−13.2%** | **−11.0%** | **−4.3%** | | 15G-ICEv2 (14.51 GB) | no size-matched UD file | | | | 12G-ICEv2 (11.90 GB) | no size-matched UD file | | | Paired at the actual neighbours: 19G-ICEv2 against `UD-IQ4_XS` (17.73 GB) −26.9% on code (64/64 chunks), and 25G-ICEv2 against `UD-Q4_K_XL` (22.36 GB) −39.3% (63/64). From 19G upward ICE 2.0 holds the lower curve on this checkpoint. UD's ladder has no file at the sizes of 12G and 15G: it ends at 12.29 GB (`UD-Q2_K_XL`) and steps from 13.21 GB (`UD-IQ3_XXS`) to 17.73 GB (`UD-IQ4_XS`), so these two tiers have no comparable counterpart. ### 3.3 The v1 checkpoint, stage by stage: Ornith-1.5-35B-A3B ICE v1 was developed on Ornith-1.5-35B-A3B; its abliterated derivative (huihui-ai) was rebuilt with ICE 1.5, ICE 1.6 and ICE 2.0. **ICE 1.5 → ICE 1.6, with Unsloth Dynamic 2.0, one session (25 September 2026).** Raw logs: `ice2-3.3_ornith15-huihui_ice15-ice16-ud_2026-09-25/`. | file | size | wiki | code | code @16K | |---|---:|---:|---:|---:| | `UD-IQ4_XS` | 18.12 GB | 0.0708 | 0.0442 | 0.0778 | | ICE 1.5 19G | 18.82 GB | 0.0604 | 0.0369 | 0.0632 | | **ICE 1.6 19G** | 18.76 GB | **0.0596** | **0.0348** | **0.0590** | | `UD-Q4_K_XL` | 22.75 GB | 0.0358 | 0.0197 | 0.0459 | | ICE 1.5 23G | 22.84 GB | 0.0336 | 0.0190 | 0.0451 | | **ICE 1.6 23G** | 22.81 GB | **0.0316** | **0.0185** | **0.0431** | | ICE 1.5 25G | 24.85 GB | 0.0290 | 0.0153 | 0.0414 | | **ICE 1.6 25G** | 24.82 GB | **0.0273** | **0.0146** | **0.0392** | | `UD-Q5_K_XL` | 26.98 GB | 0.0243 | 0.0120 | 0.0376 | ICE 1.6 lowers KLD over ICE 1.5 at every shipped tier (paired; at 15G by 4.4–4.9% on all three columns, t up to −6.4). At matched size ICE 1.6 23G is below `UD-Q4_K_XL` on every column (−11.8% wiki, −6.4% code), and ICE 1.6 19G is 21% below `UD-IQ4_XS` on code. `UD-Q5_K_XL` sits on the floor side of Law 4, 2.16 GB above 25G. **ICE 1.6 → ICE 2.0** (separate sessions; the bf16 reference PPL agrees within 0.4%). ICE 2.0 raw logs: `ice2-3.3_ornith15-huihui_ice20_2026-10-28/`. | tier | code | code @16K | wiki | |---|---|---|---| | 15G | 0.0838 → **0.0734 (−12.4%)** | 0.1074 → **0.1001 (−6.8%)** | 0.1204 → **0.1162 (−3.6%)** | | 19G | 0.0348 → **0.0298 (−14.4%)** | 0.0590 → **0.0548 (−7.1%)** | 0.0596 → **0.0511 (−14.2%)** | | 23G | 0.0185 → **0.0173 (−6.3%)** | 0.0431 → **0.0409 (−4.9%)** | 0.0316 → 0.0313 (−0.9%) | | 25G | 0.0146 → **0.0137 (−5.9%)** | 0.0392 → **0.0376 (−4.1%)** | 0.0273 → 0.0274 (+0.3%) | **Stage by stage at 23G, wiki @2K:** ICE v1 0.0361 (its own session) → ICE 1.6 0.0316 → ICE 2.0 0.0313. ## 4. Closed directions 1. **Repairing through the always-on path.** On one layer, a least-squares refit of the shared expert absorbed 0.65% of the routed-expert error, and a full linear map from the layer input to that error, the upper bound for any always-on fix, absorbed 1.9% (gate: 20%). Expert error is expert-specific, which is why ICE 2.0 works inside the experts. 2. **Per-layer acceptance.** Layer-level gains exceed model-level gains three- to fivefold (Section 2.3); ICE 2.0 accepts tiers on model-level KLD only. 3. **Downstream and unweighted targets.** Fitting each expert to the bf16 *downstream* output, or with an unweighted second-moment matrix, did not transfer on Q5_K. Weighting by the squared routing weight and targeting the expert's own bf16 output did. 4. **Repeated passes.** A second scale refit after the code re-choice added 0.1 percentage points on Q4_K. One pass of each stage, in order, is the method. ## 5. Scope * **Sparse MoE by design.** ICE's budget comes from the asymmetry between an always-on core and a large expert library (Law 1); a dense model has no expert library to spend it on. All results here are on `qwen35moe` (Qwen3.5/3.6-35B-A3B and fine-tunes: Ornith-1.5, MiniCPM-V-4.7, Nex-N2.5-mini, Sage-A1.5). * **KLD on raw text.** KLD is measured on WikiText-2 and source code. Within one model's ladder it orders the tiers; across models it also reflects how confident each bf16 model is on that text. * **Release.** The ICE 1.6 recipes for Ornith-1.5-35B-A3B are in [`appendix/recipes/ICE-1.6/`](../appendix/recipes/ICE-1.6/). The per-model Sangreal computation and the ICE 2.0 repair process are described here by what they do and what they measure; their implementation is not released. ## 6. Reproducing a measurement Every ICE 2.0 release carries its KLD logs in the model repository. To measure a file: ```bash llama-perplexity -m .gguf -f code.test.raw -c 2048 --chunks 64 \ --kl-divergence-base base_code.kld --kl-divergence ``` against a `base_code.kld` produced once from the model's bf16 file with the same corpus, context and chunk count. Compare two files on the same chunks with a paired test on the per-chunk values.