Beyond Endpoint Gains: A Weight-Delta Audit of Medical Specialization
Organizations: Oracle Health AI · IIT Kanpur · MBZUAI
Abstract
Specialist language models are usually understood through endpoint gains: the generalist scores lower, the specialist scores higher, and the difference is treated as evidence of specialization. This leaves the released update itself largely unexamined. We propose a paired weight-delta path audit and apply it to two public, aligned generalist-to-medical-specialist checkpoint pairs: Gemma-3-4B-IT to MedGemma-4B-IT and Qwen2.5-7B-Instruct to HuatuoGPT-o1-7B. In both pairs, the full decoder-side update strongly reconstructs measured medical benchmark movement (0.974 and 1.183 endpoint-normalized retention), making each decoder delta an appropriate substrate for the audit. Yet the movement is not cleanly localized. MLP is the strongest broad component family in both pairs, but mixed off-domain movements, 10-seed matched controls, and endpoint-anchored rollbacks prevent a unique coarse-family explanation. The audit therefore separates update-level reconstruction from component-level explanation. Its claims concern text-only multiple-choice benchmark movement, not clinical validation, repair, or circuit-level mechanism.
Figures & tables
| View | Sources | Count |
|---|---|---|
| Medical composite | MedQA; MMLU Clinical Knowledge; MMLU Professional Medicine | 1,810 |
| Full non-clinical | GPQA Diamond; MMLU-Pro; CommonsenseQA; TruthfulQA MC1; Kaleidoscope text-only | 7,325 |
| Selected regressions | Endpoint drops with at least 80 examples and gap at least 0.02 | 2,469 |
| Selected gains | Endpoint gains with at least 80 examples and gap at least 0.02 | 2,606 |
| Endpoint comparison | 95% CI | |
|---|---|---|
| Medical composite | +0.085 | [ +0.062, +0.108 ] |
| Selected-regression slices | -0.035 | [ -0.058, -0.015 ] |
| Selected-gain slices | +0.063 | [ +0.032, +0.084 ] |
| Bucket | Best scale | Med. ret. | Reg. rec. |
|---|---|---|---|
| Attention | 0.70 | 0.438 | 0.767 |
| MLP | 0.80 | 0.797 | 0.628 |
| Attention+down | 0.70 | 0.601 | 0.744 |
| Full-down | 0.70 | 0.667 | 0.465 |
| Diagnostic | Point | Med. ret. | Reg. rec. |
|---|---|---|---|
| MLP scoped best | 0.797 | 0.628 | |
| MLP param. ctrl (10) | 0.814 0.067 | 0.236 0.175 | |
| MLP E ctrl (10) | 0.563 0.100 | 0.262 0.242 | |
| Attn+down scoped best | 0.601 | 0.744 | |
| Attn+down matrix ctrl (10) | 0.703 0.112 | 0.388 0.159 | |
| Attn+down param. ctrl (10) | 0.417 0.086 | 0.585 0.166 |
| Diagnostic | Gemma–MedGemma | Qwen–Huatuo |
|---|---|---|
| Medical endpoint gain | +0.0845 | +0.0453 |
| Full decoder retention | 0.974 | 1.183 |
| MLP retention at | 0.699 | 1.024 |
| MLP parameter control | 0.814 | 1.115 |
| MLP -energy control | 0.563 | 1.098 |
| Attention rollback: med./reg. | 0.699 / 0.279 | 0.756 / 0.387 |
Appendix figures & tables31 assets
Supplementary material from the paper’s appendix.
Appendix
| View | Sources / rule | Count |
|---|---|---|
| Medical composite | MedQA; MMLU Clinical Knowledge; MMLU Professional Medicine | 1,810 |
| Full non-clinical | GPQA Diamond; MMLU-Pro; CommonsenseQA; TruthfulQA MC1; Kaleidoscope text-only | 7,325 |
| Selected regressions | Endpoint drops with at least 80 examples and gap at least 0.02 | 2,469 |
| Selected gains | Endpoint gains with at least 80 examples and gap at least 0.02 | 2,606 |
| View | 95% CI | |
|---|---|---|
| Medical | +0.085 | [+0.062, +0.108] |
| Selected regressions | -0.035 | [-0.058, -0.015] |
| Selected gains | +0.063 | [+0.032, +0.084] |
| Source | Count | Gemma | MedGemma | 95% CI | |
|---|---|---|---|---|---|
| MedQA (USMLE 4-option) | 1,273 | 0.469 | 0.551 | +0.082 | [+0.053, +0.109] |
| MMLU Clinical Knowledge | 265 | 0.604 | 0.645 | +0.042 | [-0.019, +0.098] |
| MMLU Professional Medicine | 272 | 0.529 | 0.669 | +0.140 | [+0.081, +0.199] |
| Composite | 1,810 | 0.498 | 0.582 | +0.085 | [+0.062, +0.108] |
| View | Count | Gemma | MedGemma | 95% CI | |
|---|---|---|---|---|---|
| Full non-clinical | 7,325 | 0.410 | 0.418 | +0.009 | [-0.002, +0.020] |
| Med. acc. | Med. ret. | Reg. rec. | Gain acq. | |
|---|---|---|---|---|
| 0.10 | 0.5193 | 0.255 | 0.953 | 0.220 |
| 0.20 | 0.5293 | 0.373 | 0.965 | 0.354 |
| 0.25 | 0.5365 | 0.458 | 1.047 | 0.445 |
| 0.30 | 0.5448 | 0.556 | 0.895 | 0.506 |
| 0.40 | 0.5619 | 0.758 | 0.849 | 0.610 |
| 0.50 | 0.5707 | 0.863 | 0.744 | 0.665 |
| Bucket | Matrices | Param. % | energy % | Role |
|---|---|---|---|---|
| Full decoder | 238 | 100.0 | 100.0 | Reference |
| Attention family | 136 | 16.7 | 35.0 | Component |
| MLP family | 102 | 83.3 | 65.0 | Component |
| Attn+ down | 170 | 44.4 | 44.2 | Mixed |
| Full– down | 204 | 72.2 | 90.8 | Leave-one-out |
| Bucket | Scale | Med. ret. [CI] | Reg. rec. [CI] |
|---|---|---|---|
| Attention | 0.70 | 0.438 [0.205, 0.673] | 0.767 [-0.122, 1.276] |
| MLP | 0.80 | 0.797 [0.608, 1.029] | 0.628 [-0.154, 1.193] |
| Attention+down | 0.70 | 0.601 [0.374, 0.849] | 0.744 [0.020, 1.485] |
| Full-down | 0.70 | 0.667 [0.454, 0.892] | 0.465 [-0.286, 0.922] |
| Target | Control | Med. retention | Reg. recovery | Structured | |
|---|---|---|---|---|---|
| Attention+down | delta-energy | 10 | 0.416 0.151 | 0.431 0.136 | 0.510/0.570 |
| Attention+down | matrix-count | 10 | 0.703 0.112 | 0.388 0.159 | 0.510/0.570 |
| Attention+down | parameter-count | 10 | 0.417 0.086 | 0.585 0.166 | 0.510/0.570 |
| MLP | delta-energy | 10 | 0.563 0.100 | 0.262 0.242 | 0.699/0.279 |
| MLP | matrix-count | 10 | 0.437 0.077 | 0.513 0.224 | 0.699/0.279 |
| MLP | parameter-count | 10 | 0.814 0.067 | 0.236 0.175 | 0.699/0.279 |
| Rolled-back family | Med. ret. | Reg. rec. | |
|---|---|---|---|
| Attention | 0.00 | 0.699 | 0.279 |
| Attention | 0.25 | 0.784 | 0.419 |
| Attention | 0.50 | 0.902 | 0.314 |
| Attention | 0.75 | 0.993 | 0.256 |
| Attention | 1.00 | 0.974 | 0.070 |
| MLP | 0.00 | 0.359 | 0.593 |
| Endpoint view | Estimate | 95% CI | |
|---|---|---|---|
| Medical composite | +0.0453 | +0.0254 | +0.0641 |
| Selected regressions | -0.0617 | -0.0813 | -0.0417 |
| Selected gains | +0.0554 | +0.0387 | +0.0721 |
| Group | Matrices | Param. share | energy | Mean rank |
|---|---|---|---|---|
| Attention | 112 | 12.6% | 12.2% | 477.7 |
| MLP | 84 | 87.4% | 87.8% | 1522.3 |
| gate_proj | 28 | 29.1% | 30.6% | 1471 |
| up_proj | 28 | 29.1% | 29.0% | 1354 |
| down_proj | 28 | 29.1% | 28.2% | 1742 |
| Target | Match | Med. mean | Range | Reg. mean | Gain mean |
|---|---|---|---|---|---|
| Attn+down | energy | 0.660 | 0.573–0.780 | 0.744 | 0.674 |
| Attn+down | Matrices | 1.117 | 1.061–1.256 | 0.685 | 0.941 |
| Attn+down | Parameters | 0.667 | 0.476–0.817 | 0.799 | 0.707 |
| MLP | energy | 1.098 | 1.037–1.159 | 0.548 | 1.102 |
| MLP | Matrices | 0.680 | 0.427–0.902 | 0.837 | 0.713 |
| MLP | Parameters | 1.115 | 1.024–1.195 | 0.527 | 1.082 |
| Module-only path | Med. retention |
|---|---|
| down_proj | 0.512 |
| up_proj | 0.439 |
| gate_proj | 0.366 |
| o_proj | 0.183 |
| v_proj | 0.061 |
| q_proj | 0.012 |
| Full rollback | Med. retention | Reg. recovery | Gain acquisition |
|---|---|---|---|
| Attention | 0.756 [0.494, 1.000] | 0.387 [0.212, 0.600] | 0.882 [0.723, 1.084] |
| MLP | 0.293 [0.011, 0.541] | 0.986 [0.800, 1.234] | 0.471 [0.297, 0.677] |
| Attn+down | 0.549 [0.295, 0.841] | 0.570 [0.342, 0.789] | 1.000 [0.790, 1.296] |
| Full-minus-down | 0.317 [0.085, 0.557] | 0.866 [0.671, 1.083] | 0.559 [0.394, 0.774] |
| Ranking comparison | Top-100 | Top-1k | Top-5k |
|---|---|---|---|
| Medical imp. vs medical drift | 0.212 | 0.255 | 0.275 |
| Medical imp. vs regression drift | 0.250 | 0.277 | 0.283 |
| Medical imp. vs regression imp. | 0.786 | 0.619 | 0.603 |
| Medical drift vs regression drift | 0.515 | 0.514 | 0.520 |
| Regression imp. vs regression drift | 0.266 | 0.278 | 0.317 |
| Medical imp. vs gain imp. | 0.802 | 0.630 | 0.618 |
| Module | Family | All | All rel. | All top-32 | All eff. rank | Dec. rel. | Dec. top-32 |
|---|---|---|---|---|---|---|---|
| q_proj | attention | 61 | 2.486 | 0.178 | 786.8 | 0.368 | 0.137 |
| v_proj | attention | 61 | 2.121 | 0.136 | 668.4 | 0.338 | 0.104 |
| k_proj | attention | 61 | 1.941 | 0.174 | 611.8 | 0.373 | 0.142 |
| down_proj | MLP | 34 | 0.370 | 0.039 | 2171.0 | 0.370 | 0.039 |
| o_proj | attention | 34 | 0.337 | 0.122 | 1086.6 | 0.337 | 0.122 |
| gate_proj | MLP | 34 | 0.261 | 0.033 | 2175.5 | 0.261 | 0.033 |
| Layer | Rel. change | RMS | Attn rel. | MLP rel. | Attn/MLP | Eff. rank | Max module |
|---|---|---|---|---|---|---|---|
| 19 | 1.286 | 0.0222 | 2.649 | 0.248 | 5.81 | 1208.2 | v_proj |
| 26 | 1.283 | 0.0215 | 2.463 | 0.247 | 5.97 | 1173.2 | v_proj |
| 2 | 1.254 | 0.0219 | 2.375 | 0.255 | 5.67 | 1049.2 | q_proj |
| 20 | 1.241 | 0.0216 | 2.193 | 0.262 | 5.62 | 1196.8 | v_proj |
| 18 | 1.239 | 0.0219 | 2.510 | 0.248 | 5.62 | 1212.1 | v_proj |
| 17 | 1.239 | 0.0214 | 2.438 | 0.256 | 5.50 | 1160.1 | v_proj |
| Layer | Module | Rel. change | RMS | Top-32 energy | Eff. rank | |
|---|---|---|---|---|---|---|
| 27 | k_proj | 0.854 | 0.0173 | 0.165 | 665.4 | 476 |
| 7 | k_proj | 0.843 | 0.0176 | 0.152 | 673.8 | 455 |
| 27 | v_proj | 0.837 | 0.0170 | 0.084 | 822.9 | 548 |
| 11 | down_proj | 0.830 | 0.0044 | 0.053 | 2070.3 | 1441 |
| 19 | o_proj | 0.825 | 0.0083 | 0.114 | 1073.8 | 734 |
| 7 | v_proj | 0.814 | 0.0170 | 0.099 | 771.4 | 508 |
LLM Auditing
Large language model auditing tests models and deployed systems for bias, safety, privacy, reliability, and provenance using behavioral and internal evidence.
See all 639 papers