Quantized large language models in biomedical natural language processing: evaluation and recommendation
Abstract Large language models have demonstrated strong capabilities in biomedical natural language processing, yet their rapid growth in size and computational requirements creates a barrier to local deployment in privacy-sensitive settings. In this study, we evaluated the impact of quantization on 12 general-purpose and biomedical large language models across eight benchmark datasets covering named entity recognition, relation extraction, multi-label classification, and question answering. Using Transformers with BitsAndBytes, we found that 4-bit and 8-bit weight quantization substantially reduced peak GPU memory while often preserving task performance, although latency generally increased and degradation was task- and model-dependent. We further evaluated deployment-oriented AWQ, GPTQ, and FP8 checkpoints with vLLM on representative biomedical tasks and model scales. We also quantified invalid-output rates, prompt overhead, and few-shot memory effects. These results provide a systematic benchmark of quantization trade-offs for biomedical NLP and show that weight-memory reduction can make otherwise difficult-to-host large models feasible for local deployment on GPUs with sufficient VRAM, including high-memory consumer GPUs.
Authors
- Jun Wang (ORCID: https://orcid.org/0000-0003-4173-6703)
- Rui Zhang (ORCID: https://orcid.org/0000-0001-8258-3585)
- Xiaoyi Chen (ORCID: https://orcid.org/0000-0002-7378-5158)
- Kai Yu (ORCID: https://orcid.org/0000-0002-9760-7751)
- Zaifu Zhan (ORCID: https://orcid.org/0009-0007-5973-2432)
- Yiran Song (ORCID: https://orcid.org/0000-0003-0872-4479)
- Shuang Zhou (ORCID: https://orcid.org/0000-0001-5535-7988)
- Min Zeng (ORCID: https://orcid.org/0009-0007-8289-6419)
- Yu Hou
- Meijia Song
Institutions
- University of Minnesota (US)
Publication Details
- Journal
- npj Health Systems
- Published
- 2026-11-04
- DOI
- https://doi.org/10.1038/s44401-026-00152-6
- Citations
- 1
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 2.30