arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.09774cs.CLcs.AIcs.LG
收藏

HuatuoGPT-II:面向大语言模型医学适配的单阶段训练

HuatuoGPT-II, One-stage Training for Medical Adaption of LLMs

Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Junying Chen, Xidong Wang, Ke Ji, Anningzhe Gao, Feng Jiang, Shunian Chen, Hongbo Zhang, Dingjie Song, Wenya Xie, Chuyi Kong, Jianquan Li, Xiang Wan, Haizhou Li, Benyou Wang

AI总结:

针对大语言模型领域适配中两阶段数据异质性问题,提出将异质数据统一为输入输出对的单阶段训练范式,开发的HuatuoGPT-II在中文医学尤其是中医基准测试中达SOTA,优于部分专有模型,泛化性良好。

摘要:

将语言模型适配到特定领域(即“领域适配”),是当通用语言模型(如Llama2)未涵盖医学等专业知识时的常用做法。该过程的挑战在于两个训练阶段的数据存在异质性,体现在语言、体裁或格式上的差异。为解决这一问题并简化训练流程,我们提出将预训练和监督阶段的异质数据统一转换为简单的输入-输出对格式。我们在ChatGPT等专有大语言模型表现相对薄弱的领域(如中医)验证了这一新训练范式的有效性。所开发的模型HuatuoGPT-II在多个中文医学领域基准测试(如医师资格考试)中取得了当前最优性能,在部分维度(尤其是中医领域)甚至优于ChatGPT和GPT-4等专有模型。专家人工评估进一步证实了HuatuoGPT-II相较于现有大语言模型的优势。值得注意的是,HuatuoGPT-II在最新的中国国家医师资格考试基准测试中取得了最佳成绩,既证明了其有效性,也展现了其泛化能力。

英文摘要:

Adapting a language model into a specific domain, a.k.a `domain adaption', is a common practice when specialized knowledge, e.g. medicine, is not encapsulated in a general language model like Llama2. The challenge lies in the heterogeneity of data across the two training stages, as it varies in languages, genres, or formats. To tackle this and simplify the learning protocol, we propose to transform heterogeneous data, from the both pre-training and supervised stages, into a unified, simple input-output pair format. We validate the new protocol in the domains where proprietary LLMs like ChatGPT perform relatively poorly, such as Traditional Chinese Medicine. The developed model, HuatuoGPT-II, has shown state-of-the-art performance in Chinese medicine domain on a number of benchmarks, e.g. medical licensing exams. It even outperforms proprietary models like ChatGPT and GPT-4 in some aspects, especially in Traditional Chinese Medicine. Expert manual evaluations further validate HuatuoGPT-II's advantages over existing LLMs. Notably, HuatuoGPT-II was benchmarked in a fresh Chinese National Medical Licensing Examination where it achieved the best performance, showcasing not only its effectiveness but also its generalization capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑