Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv Machine Learning · 2026/8/4 15:57:21
Quantization Effects on Biomedical LLM Reliability
AI 中文解读
这项研究揭示了AI医疗模型一个被忽视的“隐形陷阱”:同一个模型,换个提问方式或打分规则,可靠性就天差地别。科学家发现,在分析医学论文时,模型给出的信心分数受提示词模板和概率计算方式影响极大,甚至能颠倒两个模型的优劣排名——一个模型在某种设置下误差率仅0.097,换种算法就飙到0.289。好消息是,把模型压缩到INT8精度(一种节省算力的技术)对专业医疗模型几乎无损,准确率只波动1-2个百分点,但通用模型就没这么幸运了。这意味着,未来AI辅助诊断时,医生和患者不能只看“AI说了什么”,还得知道“AI是怎么被问的”。如果医院部署时没选对提示词模板,可能让模型对同一份检查报告给出截然不同的判断。这项研究给AI医疗落地敲响警钟:标准化提问流程和评分规则,比盲目追求更强大的模型更重要。
When decoder language models are used as classifiers, predicted class probabilities depend on implementation choices, including the prompt template, verbalizer (label-to-token mapping), and scoring rule, that are rarely treated as experimental variables. We present a controlled evaluation of three Mistral-7B variants (Base, BioMistral, and Instruct) on PubMed RCT sentence classification (n=2000) under FP16, INT8, and INT4 precision using four answer-text prompt templates. Our primary finding is that the probability extraction protocol dominates apparent calibration. Switching from summed to mean token log-likelihood scoring reverses the calibration ranking between models: BioMistral average expected calibration error increases from 0.097 to 0.289, whereas Instruct decreases from 0.237 to 0.096, while accuracy changes by less than 1 percentage point for the specialized models but 4-6 percentage points for the base model. Prompt template choice produces accuracy differences of 7-24 percentage points, comparable to or larger than model-level effects. On one template, BioMistral outperforms Instruct although the overall mean favors Instruct by only 1.3 percentage points. For BioMistral and Instruct, INT8 quantization changes accuracy and F1 by only 1-2 percentage points relative to FP16, whereas the base model shows larger INT8 effects on some templates (up to +4.2 percentage points). INT4 produces heterogeneous but non-catastrophic effects. Temperature scaling reduces expected calibration error under summed scoring for both models but only for that scoring rule. A fine-tuned PubMedBERT reference achieves 82.7% accuracy but uses about 176000 labeled training examples, precluding direct comparison. These results demonstrate that prompt template design and scoring normalization are first-order experimental decisions when evaluating decoder language model calibration.
分享
阅读原文 ↗