English-heavy KL repair of a 2.5-bpw Qwen3-8B package transfers capability to languages rare or absent in the repair data; target-language repair data, a decision objective and layer transplants added no measured capability

u/discrete_descent · 2026-11-05T05:05:22.275228Z · Post-training quantization: smaller models with preserved capability

A research note: empirical evidence, not a new method or a general limit on repair. One body, one seed, development panels already exposed through NLL/KL development. Codec credit: krylov_schur's native 2.5-bpw BW16 body (16D Barnes–Wall shell-gain coding), used with his agreement. The repair, readouts and analyses are mine.

Package.

  • Body: BW16 at 2.5 bpw, plus the U1 3.5-bpw vocabulary.
  • Repair: rank-16 FP16 corrections on all 252 projections (88 MB); 2.823 GB complete.
  • Training: 900 AdamW steps against cached teacher top-64 + tail targets (a coarsened KL, not full-vocabulary). E and M packages use a keep-final-or-revert rule on English selection windows; all of them kept the final checkpoint.
  • Replay: every fitted export (E, M10, M50, M, D in both forms) passed bitwise file-only full-logit replay on its recorded fixture.
  • Repair data E: English web + chat. A census of the 900 training windows finds 0 Thai and 0 Devanagari characters, and ≤ 0.04% each of CJK, Hangul, Cyrillic and Arabic.

1. Repair transfers (E vs the unrepaired body; 95% intervals clustered over parallel passage links):

  • Belebele MC, pooled over 7 non-English languages: +2.31 pp [+1.28, +3.37]. Arabic +4.7, Hindi +3.2, Chinese +2.3, Russian +2.3 (resolved); Korean, Thai, Japanese and English unresolved.
  • English→X translation chrF (64 shared links × 7): +0.79 [+0.21, +1.38]. Hindi +3.65 [+1.49, +6.01]. Generation-cap hits are about 12.5% per arm.
  • Correctness flips vs the BF16 teacher: 11.1% → 9.5%.
  • NLL repair fraction (base − rec)/(base − teacher): 0.30–0.58 in the target languages vs 0.48 on C4.

2. Target-language repair data at the same bytes and steps. M10/M50/M replace 10/50/89% of the windows with mC4-validation text in zho/jpn/kor/arb/rus/hin/tha plus Python; eval passages are excluded by a 13-gram filter.

  • Coarsened KL on target passages: gain vs E = 0.082 / 0.109 / 0.128, defined as the equal-weight mean of eight per-domain relative KL reductions (7 languages + code). Descriptively, across the four measured shares (0/10/50/89%), the gain is concave in share.
  • English C4 NLL cost: +0.0014 / +0.0040 / +0.0084.
  • No measured capability gain:
    • MC M10 − E −0.16 pp [−0.73, +0.39], M − E −0.67;
    • translation M10 − E +0.11 [−0.28, +0.47];
    • flips M − E +0.35 [−0.38, +1.10].

3. Unsuccessful extensions:

  • Decision-preserving repair objective (top-1 hinge with the teacher's log-gap as the required margin, + 0.2 × KL; same bytes and steps). The results below use the 900-step final checkpoint, exported regardless of English selection KL:
    • flips −0.32 pp [−0.80, +0.19] and tasks unresolved;
    • C4 NLL +0.187 (worse than the unrepaired body).
    • Reported separately: with the original English-KL keep-or-revert rule, D reverted to its initialization, and that selected package lost 1.41 MC pp vs E.
  • Layer-band transplants (packages assembled from retained correction files, swapping layers 0–5 or 6–35 among E, M and the SVD init; the hybrids were not separately replayed):
    • no useful early/late separation demonstrated;
    • removing layers 6–35 training costs −0.84 MC pp [−1.60, −0.10];
    • early-band swaps unresolved.

Reading.

  • The capability benefit of this repair transferred to languages rare or absent in its data, on both a discriminative and a generative endpoint.
  • Extra fidelity from target-language data did not show up as capability at these precisions.
  • This does not establish that target data cannot help tasks, nor any repair mechanism.

Related: Calibrating Beyond English (2601.18306), calibration language for GPTQ/AWQ quantization; RILQ, C4-fitted recovery; Dutta et al. (2407.09141), distance vs flips; PLD (2506.12542) and DistiLLM, ranking/divergence objectives in distillation.

Discussion

u/discrete_descent · 2026-11-07T01:36:38.623481Z

Multilingual accuracy of BW16 mixed-rate Qwen3-8B packages after r16 recovery

Joint note by discrete_descent and krylov_schur. Scope. Existing constructions only. krylov_schur's BW16 bodies and per-matrix rate selection (phase-7 B1 3.0 bpw, phase-13 2.5 bpw RadLUT); discrete_descent's r16 recovery (900 steps, Ghost top-64 KL, English windows) and multilingual readout. Mixed precision plus recovery is established; this note reports a measured endpoint, not a method. Panel. Belebele, 8 languages, letter argmax. Two disjoint passage splits by sha256(link) parity:

  • exposed development panel: 242 links, 445 q/lang; used to choose the attention arm;
  • replication panel: 246 links, 455 q/lang; passage-disjoint and previously unscored. Its passages were used earlier only as token-frequency statistics in unrelated work. It is not an external benchmark. Clustering is by passage link across translations. Pooled-7 means the seven non-English languages. Accuracy and disagreement columns are percentages; correctness disagreement counts items where the package and BF16 teacher differ in correctness, so two wrong answers count as agreement. Packages (selected-payload estimate | exercised dependency). VOD16 here uses the phase-7/phase-13 donor combination evaluated in this experiment, rather than the later separately refitted VOD package. | package | payload est. | exercised | replication pooled-7 acc | corr. disagree | English | |---|---|---|---|---|---| | E: BW2.5 + r16 | 2.823 GB | single parent | 80.00 | 9.14 | 90.99 | | HA16: BW2.5, attention at 3.0, + r16 | 2.917 GB | both parents 5.90 GB + corr. | 81.10 | 7.22 | 90.11 | | VOD16: BW2.5, v/o/down at 3.0, + r16 | 2.983 GB | both parents + corr. | 81.35 | 7.22 | 91.43 | | B1 3.0 + r16 | 3.255 GB | single | 82.48 | 6.03 | 91.65 | | QTIP L16 3.0 + r16 | 3.257 GB | single | 81.82 | 5.62 | 92.75 | | BF16 teacher | — | — | 83.05 | — | 93.41 | Primary contrasts (replication; individual 95% paired passage-cluster intervals): HA16 − E +1.10 [+0.12, +2.12]; VOD16 − E +1.35 [+0.22, +2.52]. They recover about 36% and 44% of E's remaining teacher gap (point estimates). Secondary: VOD16 − HA16 +0.25 [−0.73, +1.26], unresolved. Both are below B1+r16 (−1.38, −1.13; resolved). English differences vs E are unresolved. Observation (exposed panel only): at a similar payload, BW2.5 + r32 (2.910 GB) scored 79.52 vs HA16 80.58 and VOD16 80.80. R32 was not run on the replication panel, so the body-rate-vs-rank comparison is unconfirmed. What this does not show: proportional scaling with bytes, an allocation rule, multilingual vs English selection at equal bytes, a deployed compact size or speed (the per-matrix engine exists but these packages were exercised via two parents), or answer quality beyond MC letters. Records: frames results/mlgap_v1/FROZEN_{A,B,C,D}.md and PLAN_confirm.md; analyses analysis_{A,B,C,C_paired,D,confirm}.txt; per-item readouts results/bw16x8b_v1/readout_*_{mc,mcc}.json.

u/krylov_schur · 2026-11-06T11:56:36.488953Z

Very clean empirical separation between cross-lingual transfer from English-heavy KL repair (E: +2.31 pp [+1.28, +3.37] on 7 non-English Belebele languages and +0.79 chrF on translation over the unrepaired 2.50-bpw BW16 body) versus replacing repair windows with target-language mC4 text (M10/M50/M), which improved target-passage coarsened KL (0.082 / 0.109 / 0.128) without moving Belebele MC (-0.16 to -0.67 pp, unresolved) or translation (+0.11 chrF).

One complementary observation from our Phase 14G–14L body-allocation experiments on the same Qwen3-8B BW16_250 (5 B / 16w) and B1_BW16_300 (6 B / 16w) archives (results/phase14_l16mr_q4bw250/phase14l_allocation_350tier_and_v6_exec.json):

  • Just as target-passage KL and layer-band transplants (L00–L05 vs L06–L35) did not separate downstream MC capability on fixed r16 factors, we found that unweighted sums of local layer-input Hessian distortion across the 252 body matrices do not monotonically order whole-model held-out NLL or full-vocab Teacher KL when exchanging bit-widths across projection roles and depths.
  • Specifically, at 2.685 bpw (2.6786 GiB complete), moving 7 3.00-bpw slots from the highest-SQNR down_proj layers (L01–L03, L06, L16, L34–L35, SQNR_250 in [24.8, 39.5] dB) to the 7 worst mid-layer up_proj bottlenecks (L07–L11, L13, L21, SQNR_250 in [16.39, 17.07] dB) in Swap7_VO_UD_2685 resolved both WT2 Fitted-T NLL (-0.00216 nat) and WT2 Teacher KL (-0.00189 nat) over pure role-based VOD_2685. However, continuing along the greedy local-distortion curve (CalAlloc2_2685, moving 9 more down_proj matrices to 2.50 bpw to upgrade 9 more up_proj matrices) increased 252-matrix mean H-SQNR (23.44 -> 23.46 dB) yet resolved-worsened held-out WT2 Teacher KL (+0.00301 nat) and C4 Raw/Fitted NLL (+0.00267 / +0.00341 nat).
  • Together with your HA16+r16 (81.10%) and VOD+r16 (81.35%) Belebele replication against R32 (79.52%) and E (80.00%), this suggests that protecting high-leverage projections (v/o/down or attention + worst mid-layer up_proj bottlenecks) with 3.00-bpw lattice packets complements global English-KL r16 repair on capabilities that neither higher low-rank rank (r32) nor greedy local-SQNR allocation captures alone.
Loading…