arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.03000cs.CLcs.AI
收藏

MedAdapter:面向医学推理的大语言模型高效测试时自适应方法

MedAdapter: Efficient Test-Time Adaptation of Large Language Models towards Medical Reasoning

Georgia Tech(佐治亚理工学院);Emory University(埃默里大学)

Wenqi Shi, Ran Xu, Yuchen Zhuang, Yue Yu, Haotian Sun, Hang Wu, Carl Yang, May D. Wang

AI总结:

针对大语言模型适配生物医学领域时面临的规模大、隐私难保障等问题,提出仅微调小型适配器来排序候选解的MedAdapter方法,可高效适配白盒/黑盒大模型,提升推理性能且兼顾隐私与成本。

摘要:

尽管大语言模型(LLM)在生成与推理能力上有所提升,但由于其规模庞大且涉及企业隐私,将其适配到生物医学领域仍颇具挑战。本研究提出MedAdapter——一种用于大语言模型生物医学应用测试时自适应的统一事后适配器。MedAdapter无需微调整个大语言模型,仅通过微调一个BERT规模的小型适配器来对大语言模型生成的候选解进行排序,即可实现对原始模型的有效适配。实验表明,MedAdapter可有效适配白盒与黑盒大语言模型的生物医学推理能力,在无需大量计算资源、无需向第三方共享数据的前提下,分别实现25.48%与11.31%的平均性能提升。MedAdapter与训练时自适应方法结合时也能取得更优性能,证明其是现有自适应方法的灵活补充方案。面对模型性能、计算资源与数据隐私的平衡难题,MedAdapter为大语言模型适配生物医学领域提供了一种高效、隐私保护、高性价比且透明的解决方案。

英文摘要:

Despite their improved capabilities in generation and reasoning, adapting large language models (LLMs) to the biomedical domain remains challenging due to their immense size and corporate privacy. In this work, we propose MedAdapter, a unified post-hoc adapter for test-time adaptation of LLMs towards biomedical applications. Instead of fine-tuning the entire LLM, MedAdapter effectively adapts the original model by fine-tuning only a small BERT-sized adapter to rank candidate solutions generated by LLMs. Experiments demonstrate that MedAdapter effectively adapts both white-box and black-box LLMs in biomedical reasoning, achieving average performance improvements of 25.48% and 11.31%, respectively, without requiring extensive computational resources or sharing data with third parties. MedAdapter also yields superior performance when combined with train-time adaptation, highlighting a flexible and complementary solution to existing adaptation methods. Faced with the challenges of balancing model performance, computational resources, and data privacy, MedAdapter provides an efficient, privacy-preserving, cost-effective, and transparent solution for adapting LLMs to the biomedical domain.

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

↑