# GatorTron

**GatorTron** 是由[佛罗里达大学](https://www.edgepedia.org/zh/university-of-florida)（University of Florida）和英伟达（NVIDIA）联合开发的一系列大型临床语言模型，从零开始预训练，使用了超过900亿词的文本，其中包括佛罗里达大学健康系统（UF Health）逾820亿词的去标识化临床笔记，旨在从非结构化的电子健康记录（EHR）中提取和使用患者信息。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> 这些模型在五项临床自然语言处理（NLP）任务上进行了评估，并在所有任务上均优于现有的生物医学和临床变换器模型，其中最复杂的任务上提升幅度最大。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

| 关键事实 | 详情 |
|---|---|
| 开发者 | 佛罗里达大学健康系统（UF Health）与英伟达；主要作者为佛罗里达大学健康结果与生物医学信息学系的杨希（Xi Yang）和吴永辉（Yonghui Wu）<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup> |
| 训练语料 | 超过900亿词：UF Health临床笔记（逾820亿）、PubMed（60亿）、维基百科（25亿）、MIMIC-III（5亿）<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> |
| 模型规模 | GatorTron-base（3.45亿参数）、GatorTron-medium（39亿）、GatorTron-large（89亿）<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> |
| 架构 | 在Megatron-LM中实现的BERT式编码器，从零开始训练，采用掩码语言建模和句子顺序预测<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> |
| 算力 | 佛罗里达大学HiperGator-AI集群上124个SuperPOD节点的992块英伟达DGX A100 GPU；大模型训练耗时约6天<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> |
| 头条结果 | 自然语言推理准确率0.9020（MedNLI），超过BioBERT 9.6%，超过ClinicalBERT 7.5%<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> |
| 可用性 | 通过英伟达NGC和Hugging Face在UFNLP组织下公开发布<sup>[3](https://huggingface.co/UFNLP/gatortron-base)</sup> |

## 动机

关于患者的许多具有临床价值的信息，如家族史、药物不良事件和健康的社会决定因素，仅以自由文本的形式存在于医生笔记和出院小结中，而非结构化的EHR数据。通过命名实体识别（NER）进行临床概念抽取，是将这些叙述性文本转化为下游模型可用的结构化数据的关键技术。<sup>[4](https://github.com/uf-hobi-informatics-lab/GatorTron)</sup>

在GatorTron之前，基于临床叙述训练的最大变换器模型是ClinicalBERT，其1.1亿参数在MIMIC-III重症监护数据集的5亿词上训练而成。临床领域此前很少有大规模、十亿参数级别的模型被探索，部分原因是临床叙述包含受保护健康信息（PHI），而大规模预训练需要巨大的算力。<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup>

## 训练数据与去标识化

主要数据来源是UF Health综合数据存储库，一个研究数据仓库。临床语料库包含2011年至2021年初采集的290,482,002份笔记，覆盖超过200万名患者和超过5000万次患者诊疗，总计逾820亿医学词。<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup> 经过去重和文本清洗后，与PubMed的60亿词、[维基百科](https://www.edgepedia.org/zh/wikipedia)的25亿词和MIMIC-III的5亿词合并，形成最终超过900亿词的语料库。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

训练前，所有临床文本均使用遵循HIPAA安全港方法的系统进行去标识化：检测《健康保险流通与责任法案》定义的18类受保护健康信息（如姓名和出生日期），并将其替换为虚拟字符串。<sup>[3](https://huggingface.co/UFNLP/gatortron-base)</sup>

## 模型配置与训练

GatorTron采用在英伟达Megatron-LM框架中实现的BERT架构，有三种配置：<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

- **GatorTron-base**：3.45亿参数，24层，1024隐藏单元，16个注意力头，深度与BERT-large相近。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>
- **GatorTron-medium**：39亿参数，48层，2560隐藏单元，40个注意力头，约为base规模的十倍。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>
- **GatorTron-large**：89亿参数，56层，3584隐藏单元，56个注意力头，与BioMegatron的83亿参数配置相当。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

模型从零开始训练，采用两个自监督目标：掩码语言建模（MLM）和句子顺序预测（SOP）。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> 训练在佛罗里达大学HiperGator-AI集群的124个SuperPOD节点、992块英伟达DGX A100 GPU上进行，同时使用数据级和模型级并行；大模型在992块A100 80GB GPU上耗时约6天。base模型在10轮训练后收敛，而medium和large模型在7轮训练后收敛，这与更大变换器更快的每样本收敛速度一致。<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

## 基准性能

模型经过微调，并在六个公开基准数据集的五项任务上与ClinicalBERT（1.1亿参数）、[BioBERT](https://www.edgepedia.org/zh/biobert)（3.45亿）和BioMegatron（12亿）进行了比较：临床概念抽取（CNER）、医学关系抽取（MRE）、语义文本相似度（STS）、自然语言推理（NLI）和医学问答（MQA）。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

**概念与关系抽取。** 三个GatorTron模型在2010 i2b2、2012 i2b2和2018 n2c2概念抽取基准上均优于现有模型。GatorTron-large在三个数据集上分别取得了最佳F1分数0.8996、0.8091和0.9000，并在识别药物引发不良事件的关系上取得了最佳F1分数0.9627。<sup>[2](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)</sup>

**句子级与文档级任务。** 在NLI（MedNLI）上，GatorTron-large达到0.9020的准确率，超过BioBERT 9.6%，超过ClinicalBERT 7.5%。在emrQA数据集的医学问答上，GatorTron-large在药物问题上取得0.3155的精确匹配分数，在关系问题上取得0.9301，分别超过BioBERT 6.8%和9.5%，超过ClinicalBERT 7.5%和7.77%。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> 在语义文本相似度（2019 n2c2）上，GatorTron-medium取得了最佳的皮尔逊相关系数0.8903，GatorTron-large以0.8896紧随其后。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

## 规模扩展带来了什么，又在哪里止步

核心实验发现是，规模对复杂任务的帮助大于简单任务。GatorTron在五项任务中的四项上表现出随模型规模增长的单调提升；例外是语义文本相似度，中等模型略优于大模型。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup> 作者将自然语言推理和问答——这些需要句子级推理或整篇文档理解的任务——上的大幅提升解释为证据，表明大型临床变换器对复杂NLP最有价值，而概念抽取等较简单的任务仅获得中等程度的提升。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

GatorTron还优于BioMegatron——这是同一团队仅在约85亿词的PubMed和维基百科文本上训练的规模相近的模型，表明临床语料本身而不仅仅是参数数量促成了这些提升。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)</sup>

## 可用性与衍生模型

GatorTron模型为仅编码器架构，面向语言理解任务，如NER、关系抽取和机器阅读理解；开发者指出它们不适合生成式任务。<sup>[4](https://github.com/uf-hobi-informatics-lab/GatorTron)</sup> GatorTron-base和GatorTron-medium在[Hugging Face](https://www.edgepedia.org/zh/hugging-face)的UFNLP组织下发布，3.45亿参数的模型可通过英伟达NGC目录获取。<sup>[3](https://huggingface.co/UFNLP/gatortron-base)</sup><sup> • </sup><sup>[4](https://github.com/uf-hobi-informatics-lab/GatorTron)</sup>

该项目产生了若干后续模型：

- **GatorTronGPT**，一个生成式临床大语言模型，使用GPT-3架构、最高200亿参数，在2770亿词上训练（来自约200万名UF Health患者、横跨126个临床科室的820亿临床词，加上1950亿词的一般英文文本）。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC10654385/)</sup> 在一项[图灵测试](https://www.edgepedia.org/zh/turing-test)中，两位UF Health医生无法可靠区分GatorTronGPT生成的笔记段落与真实段落，并给合成文本的可读性（6.57对6.93）和临床相关性（7.0对6.97）打了相当的评分。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC10654385/)</sup>
- **GatorTronS**，基于GatorTronGPT生成的临床文本训练的合成文本模型。至少需要50亿词的合成文本才能达到用820亿词真实临床文本训练的原始GatorTron的性能，而GatorTronS在若干基准上以超过1%的F1优于原始GatorTron。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC10654385/)</sup>
- **GatorTronLlama**，通过在超过1000亿词的UF Health临床文本上继续预训练，对Llama 3.1-8B架构进行适配，序列长度为8,192。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC13067140/)</sup>

此后，GatorTron已被用作临床NLP研究中的基线，包括从兽医记录中进行诊断编码、肿瘤学信息抽取和健康的社会决定因素抽取，一项2025年的ICU基准研究发现GatorTron-Base在休克预测上取得了最高的加权召回率（80.5%），不过小型和大型语言模型的整体性能相当。<sup>[7](https://pubmed.ncbi.nlm.nih.gov/41719356/)</sup><sup> • </sup><sup>[8](https://arxiv.org/abs/2512.20520)</sup>

## References

1. [Yang X, Chen A, PourNejatian N, et al. A large language model for electronic health records. npj Digital Medicine, 2022.](https://pmc.ncbi.nlm.nih.gov/articles/PMC9792464/)
2. [Yang X, et al. GatorTron: A Large Language Model for Clinical Natural Language Processing. medRxiv, 2022.](https://www.medrxiv.org/content/10.1101/2022.02.27.22271257v2.full)
3. [UFNLP/gatortron-base model card, Hugging Face.](https://huggingface.co/UFNLP/gatortron-base)
4. [uf-hobi-informatics-lab/GatorTron, GitHub repository.](https://github.com/uf-hobi-informatics-lab/GatorTron)
5. [Peng C, et al. A study of generative large language model for medical research and healthcare. npj Digital Medicine, 2023.](https://pmc.ncbi.nlm.nih.gov/articles/PMC10654385/)
6. [A Study of Large Language Models for Patient Information Extraction, PMC.](https://pmc.ncbi.nlm.nih.gov/articles/PMC13067140/)
7. [Fine-tuning foundational models to code diagnoses from veterinary health records, PubMed, 2025.](https://pubmed.ncbi.nlm.nih.gov/41719356/)
8. [Benchmarking LLMs for Predictive Applications in the Intensive Care Units, arXiv.](https://arxiv.org/abs/2512.20520)

---
*Initially written Oct 15, 2026 · Edited: Oct 21, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Large language model families › Open-weight model families

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/gatortron

English original: https://www.edgepedia.org/gatortron
