Do We Need the Largest LLMs for Every Clinical Decision?
Organizations: School of Computer Science and Engineering, Bangor University, Bangor, LL57 2DG, Gwynedd, United Kingdom. · University of Thi-Qar, Nasiriyah, 64001, Iraq.
Abstract
Large clinical language models often require multi-GPU infrastructure, limiting local deployment. We introduce CERTA, a decision-level statistical certificate that determines when a quantized model may substitute for its native BF16 reference and escalates decisions that cannot be certified to it. Across eleven instruction-tuned models, both general-purpose and domain-adapted, from three families (7-72B), we evaluated 2,500 clinical-verification decisions from de-identified patient contexts (2,484 patients), with patient-disjoint calibration and testing. In the higher-power operational analysis, round-to-nearest 8-bit quantization at BF16 storage served 99.8-100% of held-out decisions across all eleven models; formal finite-sample guarantees were assessed separately using the exact split-sample procedure. In the same operational analysis, the class-conditional 4-bit frontier reduced the amortized, BF16-equivalent deployment cost to 25.8% and 27.3% of the BF16 reference for Qwen2.5-72B and HuatuoGPT-o1-72B, respectively, with measured peak memory of 43.0 and 42.7 GB, below the nominal capacity of a single 48 GB accelerator. Deployment on that specific hardware was not directly tested. Under the exact split-sample certificate, which also accounts for configuration selection, these costs were 26.7% and 27.9%. On external disease named-entity benchmarks against human annotations, the frontier-selected NF4 configurations had a mean absolute F1 change of 0.045 on both datasets, with substantial model-specific variation. CERTA converts compression from a fixed precision choice into a risk-controlled deployment policy for this verification task.
Figures & tables
| Model | Fam. | Adapt. | Params. (B) | NF4 | (%) | (%) | Overall coverage (%) | Escalation (%) | Amortized size (% BF16) | BF16 VRAM (GB) | NF4 VRAM (GB) |
| 70–72B models | |||||||||||
| Qwen2.5-72B | Q | G | 72 | ✓ | 97.4 | 100.0 | 98.9 | 1.1 | 25.8 | 146.3 | 43.0 |
| HuatuoGPT-o1-72B | Q | D | 72 | ✓ | 92.7 | 100.0 | 96.9 | 3.1 | 27.3 | 146.1 | 42.7 |
| Med42-70B | L | D | 70 | ✓ | 97.7 | 88.2 | 94.2 | 5.8 | 29.4 | 141.9 | 41.2 |
| OpenBioLLM-70B | L | D | 70 | ✓ | 98.7 | 0.0 | 92.6 | 7.4 | 30.6 | 141.7 | 41.0 |
| Llama-3-70B | L | G | 70 | ✓ | 85.9 | 92.3 | 88.1 | 11.9 | 33.9 | 141.9 | 41.2 |
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
| a single decision input (a candidate clinical accept/reject decision) | |
| BF16 reference decision, or | |
| quantized-model decision on the same input | |
| predicted decision class of the class-conditional certificate, ; the two classes are abbreviated (accept) and (reject) in subscripts | |
| decision margin between the accept and reject answer-token logits at -bit precision | |
| disagreement indicator (where the indicator function flags disagreements: 1 means disagreement; 0 means agreement). |
| Model | Ref A | Ref R | NF4 A | NF4 R | Ref A NER/QA | NF4 A NER/QA |
| Qwen2.5-72B | 41.2 | 58.8 | 42.8 | 57.2 | 45.0/37.4 | 46.2/39.4 |
| HuatuoGPT-o1-72B | 40.5 | 59.5 | 41.9 | 58.1 | 42.8/38.2 | 43.6/40.2 |
| Med42-70B | 62.1 | 37.9 | 62.5 | 37.5 | 83.4/40.9 | 84.2/40.8 |
| OpenBioLLM-70B | 91.1 | 8.9 | 93.2 | 6.8 | 99.4/82.8 | 100.0/86.5 |
| MMed-Llama-3.1-70B | 86.8 | 13.2 | 89.0 | 11.0 | 100.0/73.6 | 100.0/77.9 |
| Llama-3.3-70B | 57.5 | 42.5 | 67.2 | 32.8 | 83.4/31.7 | 92.2/42.1 |
| Model | RTN-8 | RTN-6 | RTN-4 | INT8 | NF4 |
| Qwen2.5-72B | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] | 93.6 [92.1,94.9] | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] |
| HuatuoGPT-o1-72B | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] | 91.0 [89.5,92.6] | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] |
| Med42-70B | 99.8 [99.6,100.0] | 100.0 [100.0,100.0] | 56.3 [53.7,59.2] | 0.0 [0.0,0.0] | 97.5 [96.6,98.4] |
| OpenBioLLM-70B | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] | 84.7 [82.6,86.6] | 86.9 [85.0,88.9] | 98.1 [97.3,98.8] |
| MMed-Llama-3.1-70B | 100.0 [100.0,100.0] | 93.6 [92.2,95.0] | 72.1 [69.6,74.4] | 74.6 [72.1,77.1] | 96.9 [95.9,97.8] |
| Llama-3.3-70B | 100.0 [100.0,100.0] | 100.0 [100.0,100.0] | 51.9 [49.2,54.7] | 38.1 [35.4,40.8] | 82.2 [80.0,84.2] |
| Model | disag. | (%) | coverage (%) [95% CI] | ||
| Qwen2.5-72B | 1250 | 26 | 0.00 | 3.5 | 100.0 [100.0, 100.0] |
| HuatuoGPT-o1-72B | 1250 | 33 | 0.00 | 4.2 | 100.0 [100.0, 100.0] |
| Med42-70B | 1224 | 35 | 3.06 | 4.5 | 97.5 [96.6, 98.4] |
| OpenBioLLM-70B | 1224 | 37 | 0.31 | 4.7 | 98.1 [97.3, 98.8] |
| MMed-Llama-3.1-70B | 1223 | 29 | 0.12 | 3.9 | 96.9 [95.9, 97.8] |
| Llama-3.3-70B | 1048 | 32 | 8.25 | 4.9 | 82.2 [80.0, 84.2] |
| Accept ( ) | Reject ( ) | |||||||||
| Model | Cov (%) | (%) | Cov (%) | (%) | ||||||
| Qwen2.5-72B | 517 | 11 | 0.34 | 97.4 | 4.9 | 722 | 6 | 0.12 | 100.0 | 2.5 |
| HuatuoGPT-o1-72B | 480 | 10 | 0.54 | 92.7 | 5.0 | 738 | 8 | 0.12 | 100.0 | 2.8 |
| Med42-70B | 762 | 18 | 3.71 | 97.7 | 4.6 | 433 | 4 | 10.78 | 88.2 | 3.4 |
| OpenBioLLM-70B | 1140 | 29 | 0.38 | 98.7 | 4.3 | 0 | 0 | esc | – | |
| MMed-Llama-3.1-70B | 1078 | 21 | 0.12 | 96.5 | 3.6 | 0 | 0 | esc | – | |
| Model | (%) | (%) | min. (%) | mechanism | ||
| Qwen2.5-72B | 528 | 722 | 1.30 | 0.95 | 1.0 | certified |
| HuatuoGPT-o1-72B | 512 | 738 | 1.34 | 0.93 | 1.1 | certified |
| Med42-70B | 778 | 472 | 0.88 | 1.45 | 1.7 | certified |
| OpenBioLLM-70B | 1159 | 91 | 0.59 | 7.31 | 13.7 | resolution-limited |
| MMed-Llama-3.1-70B | 1105 | 145 | 0.62 | 4.65 | 8.4 | risk-limited |
| Llama-3.3-70B | 830 | 420 | 0.83 | 1.63 | 1.6 | certified |
| Model | Full-cal. (% BF16) | Exact (% BF16) | Diff. (pp) | Frontier config | Exact certified? |
| Qwen2.5-72B | 25.8 | 26.7 | +0.9 | NF4 | Yes |
| HuatuoGPT-o1-72B | 27.3 | 27.9 | +0.6 | NF4 | Yes |
| Med42-70B | 29.4 | 30.6 | +1.3 | NF4 | Yes |
| OpenBioLLM-70B | 30.6 | 31.5 | +1.0 | NF4 | Yes |
| MMed-Llama-3.1-70B | 35.2 | 35.2 | +0.0 | NF4 | Yes |
| Llama-3.3-70B | 39.1 | 41.4 | +2.3 | NF4 | Yes |
| Accept ( ) | Reject ( ) | |||||||||
| Model | Cov (%) | (%) | Cov (%) | (%) | ||||||
| Qwen2.5-72B | 406 | 6 | 0.51 | 96.3 | 4.6 | 565 | 3 | 0.50 | 98.7 | 2.4 |
| HuatuoGPT-o1-72B | 378 | 5 | 0.54 | 92.7 | 4.5 | 576 | 4 | 0.38 | 98.6 | 2.7 |
| Med42-70B | 591 | 9 | 8.32 | 94.1 | 4.0 | 345 | 4 | 9.39 | 89.7 | 4.5 |
| OpenBioLLM-70B | 895 | 11 | 0.70 | 97.4 | 3.0 | 0 | 0 | esc | – | |
| MMed-Llama-3.1-70B | 861 | 16 | 0.05 | 96.5 | 3.9 | 0 | 0 | esc | – | |
| Marginal | Class-conditional | |||||
| Model | (90%) | (95%) | (99%) | (90%) | (95%) | (99%) |
| Qwen2.5-72B | 25.0 | 25.0 | 25.0 | 25.8 | 26.2 | 26.2 |
| HuatuoGPT-o1-72B | 25.0 | 25.0 | 25.0 | 27.3 | 27.6 | 28.2 |
| Med42-70B | 26.9 | 26.9 | 26.9 | 29.4 | 29.4 | 30.6 |
| OpenBioLLM-70B | 26.4 | 26.4 | 27.6 | 30.6 | 30.6 | 30.6 |
| MMed-Llama-3.1-70B | 27.3 | 27.3 | 27.3 | 35.2 | 35.2 | 35.2 |
| min ( floor) | median | max (least compressible) | |
| 250 | 25.4 | 31.1 | 49.5 |
| 500 | 25.0 | 27.9 | 44.5 |
| 750 | 25.0 | 28.0 | 40.9 |
| 1000 | 25.0 | 28.2 | 40.3 |
| 1250 | 25.0 | 28.2 | 38.4 |
| min ( floor) | median | max (least compr.) | Qwen2.5 72B | Huatuo o1-72B | Llama 3.3-70B | |
| 25 | 25.0 | 29.4 | 38.4 | 25.0 | 25.0 | 38.4 |
| 50 | 25.0 | 28.2 | 38.4 | 25.0 | 25.0 | 38.4 |
| 100 | 25.0 | 28.2 | 39.1 | 25.0 | 25.0 | 39.1 |
| 200 | 25.0 | 28.2 | 39.1 | 25.0 | 25.0 | 39.1 |
| Model | median | IQR (25–75%) | min | max |
| Qwen2.5-72B | 25.0 | 25.0–25.0 | 25.0 | 25.0 |
| HuatuoGPT-o1-72B | 25.0 | 25.0–25.0 | 25.0 | 25.8 |
| Med42-70B | 27.8 | 26.8–28.3 | 25.0 | 29.3 |
| OpenBioLLM-70B | 27.2 | 26.6–27.6 | 25.7 | 27.9 |
| MMed-Llama-3.1-70B | 26.7 | 25.0–26.9 | 25.0 | 27.3 |
| Llama-3.3-70B | 38.4 | 36.8–39.0 | 35.8 | 40.7 |
| Model | size | esc. | size | esc. | size | esc. |
| Qwen2.5-72B | 59.2 | 45.6 | 25.8 | 1.1 | 25.0 | 0.0 |
| HuatuoGPT-o1-72B | 72.6 | 45.3 | 27.3 | 3.1 | 25.0 | 0.0 |
| Med42-70B | 100.0 | 100.0 | 29.4 | 5.8 | 25.3 | 0.4 |
| OpenBioLLM-70B | 40.2 | 20.3 | 30.6 | 7.4 | 29.7 | 6.2 |
| MMed-Llama-3.1-70B | 41.3 | 21.7 | 35.2 | 13.6 | 26.6 | 2.1 |
| Model | Policy | prevalence (%) | |||||
| 50 | 40 | 30 | 20 | 10 | 5 | ||
| Maximum over models | marginal | 9.5 | 8.0 | 6.6 | 5.7 | 6.3 | 6.6 |
| Mondrian | 2.7 | 2.8 | 3.1 | 3.5 | 3.8 | 3.9 | |
| Mean over models | marginal | 3.7 | 3.5 | 3.4 | 3.3 | 3.1 | 3.1 |
| Mondrian | 1.8 | 1.8 | 1.9 | 2.0 | 2.0 | 2.1 | |
| Qwen2.5-72B | marginal | 2.6 | 3.2 | 3.7 | 4.2 | 4.7 | 4.9 |
| Configuration | NER coverage | NER disag. | QA coverage | QA disag. |
| RTN-8 | 100.0 | 1.1 | 100.0 | 1.4 |
| RTN-6 | 99.7 | 2.0 | 94.7 | 2.6 |
| RTN-4 | 60.0 | 1.9 | 56.5 | 3.7 |
| INT8 | 74.5 | 1.3 | 68.7 | 3.0 |
| NF4 | 94.6 | 2.3 | 91.5 | 3.8 |
| Model | F1 BF16 | F1 RTN-8 | F1 RTN-6 | F1 RTN-4 | F1 NF4 | NF4 P/R |
| BC5CDR-Disease | ||||||
| Qwen2.5-72B | 0.720 | 0.720 | 0.735 | 0.669 | 0.713 | 0.956/0.568 |
| HuatuoGPT-o1-72B | 0.573 | 0.585 | 0.645 | 0.615 | 0.467 | 0.947/0.310 |
| Med42-70B | 0.852 | 0.853 | 0.852 | 0.694 | 0.829 | 0.895/0.773 |
| OpenBioLLM-70B | 0.705 | 0.705 | 0.710 | 0.684 | 0.573 | 0.925/0.415 |
| MMed-Llama-3.1-70B | 0.469 | 0.475 | 0.506 | 0.306 | 0.547 | 0.624/0.487 |
| Benchmark | Config | P | R | F1 | mean |
| BC5CDR-Disease | RTN-8 | ||||
| RTN-6 | |||||
| RTN-4 | |||||
| NF4 | |||||
| NCBI-Disease | RTN-8 | ||||
| RTN-6 |
| Benchmark | Config | Preserved covered | Newly covered | Lost coverage | Stayed missed | Net coverage | FP |
| BC5CDR-Disease | RTN-8 | 2964 | 55 | 34 | 1600 | ||
| RTN-6 | 2938 | 138 | 60 | 1517 | |||
| RTN-4 | 2564 | 363 | 434 | 1292 | |||
| NF4 | 2733 | 217 | 265 | 1438 | |||
| NCBI-Disease | RTN-8 | 2763 | 73 | 71 | 3000 | ||
| RTN-6 | 2727 | 123 | 107 | 2950 |
| Model | Family | Adapt. | Params (B) | HuggingFace checkpoint † | Compute dtype | BF16 (GB) | NF4 (GB) |
| Qwen2.5-72B | Qwen | G | 72 | Qwen/Qwen2.5-72B-Instruct | BF16 | 146.3 | 43.0 |
| HuatuoGPT-o1-72B | Qwen | D | 72 | FreedomIntelligence/HuatuoGPT-o1-72B | BF16 | 146.1 | 42.7 |
| Med42-70B | Llama | D | 70 | m42-health/Llama3-Med42-70B | BF16 | 141.9 | 41.2 |
| OpenBioLLM-70B | Llama | D | 70 | aaditya/Llama3-OpenBioLLM-70B | BF16 | 141.7 | 41.0 |
| Llama-3-70B | Llama | G | 70 | meta-llama/Meta-Llama-3-70B-Instruct | BF16 | 141.9 | 41.2 |
| MMed-Llama-3.1-70B | Llama | D | 70 | Henrychur/MMed-Llama3.1-70B | BF16 | 141.9 | 41.2 |
LLM Quantization
Large language model quantization reduces numerical precision to lower memory use and accelerate training or inference.
See all 381 papers