教大语言模型巴西医疗:注入官方临床指南的知识
Teaching LLMs Brazilian Healthcare: Injecting Knowledge from Official Clinical Guidelines
AI总结:
本文通过适配Qwen2.5-14B-Instruct模型,生成合成数据并采用持续预训练和GRPO方法,构建了HealthBench-BR和PCDT-QA基准,实现了在巴西医疗领域上的高准确率表现。
摘要:
巴西的统一卫生系统(SUS)依赖于官方临床指南,为2.08亿公民定义诊断标准、治疗方案、剂量和监测程序。然而,当前的大语言模型(LLMs)在该指南特定知识上表现不佳,且没有评估基于巴西葡萄牙语协议的临床回忆基准。我们通过将Qwen2.5-14B-Instruct适应到巴西临床领域来填补这一空白。从178个官方指南(约540万个标记)中,我们生成了约7000万个标记的合成数据,采用三种格式——改写、维基风格文章和问答对——使用四个生成器LLMs。然后我们应用持续预训练,随后进行组相对策略优化(GRPO)。我们引入了HealthBench-BR,包含1780个平衡的真假临床断言,以及PCDT-QA,包含890个开放性临床问题,由LLM判官评分。我们的最佳模型在HealthBench-BR上达到83.9%,在PCDT-QA上达到85.4%,优于GPT-5.2、Claude Sonnet 4.6、Gemini 3.1 Pro和Google AI Overview的网络基础RAG,尽管只有14B参数。消融研究显示,生成器多样性与强化学习对于这些增益至关重要。我们释放所有数据集、基准和模型权重,以支持可重复的巴西葡萄牙语临床NLP研究。代码、数据和模型权重可在https://github.com/hugoabonizio/clinical-protocols-br获取。
英文摘要:
Brazil's Unified Health System (SUS) relies on official clinical guidelines that define diagnostic criteria, treatments, dosages, and monitoring procedures for over 200 million citizens. Yet current LLMs perform poorly on this guideline-specific knowledge, and no benchmark evaluates clinical recall grounded in Brazilian Portuguese protocols. We address this gap by adapting Qwen2.5-14B-Instruct to the Brazilian clinical domain. From 178 official guidelines (~5.4M tokens), we generate ~70M tokens of synthetic data in three formats -- rephrases, wiki-style articles, and question-answer pairs -- using four generator LLMs. We then apply continual pre-training followed by Group Relative Policy Optimization (GRPO). We introduce HealthBench-BR, with 1,780 balanced true/false clinical assertions, and PCDT-QA, with 890 open-ended clinical questions scored by an LLM judge. Our best model achieves 83.9% on HealthBench-BR and 85.4% on PCDT-QA, outperforming GPT-5.2, Claude Sonnet 4.6, Gemini 3.1 Pro, and Google AI Overview's web-grounded RAG despite having only 14B parameters. Ablations show that generator diversity and reinforcement learning are critical to these gains. We release all datasets, benchmarks, and model weights to support reproducible clinical NLP research for Brazilian Portuguese. Code, data, and model weights are available at https://github.com/hugoabonizio/clinical-protocols-br
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。