arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13511cs.CL
收藏

开源LLM能否与商业模型竞争?探索当前GPT模型在生物医学任务中的少样本性能

Can Open-Source LLMs Compete with Commercial Models? Exploring the Few-Shot Performance of Current GPT Models in Biomedical Tasks

BioASQ Lab at CLEF(CLEF的BioASQ实验室)

Samy Ateia, Udo Kruschwitz

AI总结:

本研究通过BioASQ挑战探索了商业与开源LLM在生物医学RAG任务中的性能,发现性能差距主要在零样本场景,少样本示例可弥合差距。

摘要:

商业大型语言模型(LLM),如驱动ChatGPT的OpenAI GPT-4和Anthropic的Claude 3 Opus,已在不同领域的自然语言处理(NLP)基准测试中占据主导地位。新的竞争性开源替代品,如Mixtral 8x7B或Llama 3,已经出现,似乎正在缩小差距,同时通常提供更高的吞吐量且使用成本更低。开源LLM还可以自行托管,这使得它们对企业及临床用例具有吸引力,在这些场景中,敏感数据不应由第三方处理。我们参加了第12届BioASQ挑战赛,这是一个检索增强生成(RAG)设置,并探索了当前GPT模型Claude 3 Opus、GPT-3.5-turbo和Mixtral 8x7b在上下文学习(零样本、少样本)和QLoRa微调下的性能。我们还探索了将维基百科中额外相关知识添加到LLM的上下文窗口中是否可能提升其性能。Mixtral 8x7b在10样本设置中具有竞争力,无论是否进行微调,但在零样本设置中未能产生可用结果。QLoRa微调和维基百科上下文并未带来可衡量的性能提升。我们的结果表明,在RAG设置中,商业与开源模型之间的性能差距主要存在于零样本设置中,并且可以通过为特定领域用例收集少样本示例来弥合。用于重新运行这些实验的代码可通过GitHub获取。

英文摘要:

Commercial large language models (LLMs), like OpenAI's GPT-4 powering ChatGPT and Anthropic's Claude 3 Opus, have dominated natural language processing (NLP) benchmarks across different domains. New competing Open-Source alternatives like Mixtral 8x7B or Llama 3 have emerged and seem to be closing the gap while often offering higher throughput and being less costly to use. Open-Source LLMs can also be self-hosted, which makes them interesting for enterprise and clinical use cases where sensitive data should not be processed by third parties. We participated in the 12th BioASQ challenge, which is a retrieval augmented generation (RAG) setting, and explored the performance of current GPT models Claude 3 Opus, GPT-3.5-turbo and Mixtral 8x7b with in-context learning (zero-shot, few-shot) and QLoRa fine-tuning. We also explored how additional relevant knowledge from Wikipedia added to the context-window of the LLM might improve their performance. Mixtral 8x7b was competitive in the 10-shot setting, both with and without fine-tuning, but failed to produce usable results in the zero-shot setting. QLoRa fine-tuning and Wikipedia context did not lead to measurable performance gains. Our results indicate that the performance gap between commercial and open-source models in RAG setups exists mainly in the zero-shot setting and can be closed by simply collecting few-shot examples for domain-specific use cases. The code needed to rerun these experiments is available through GitHub.

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

↑