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

MedOdyssey:面向最长200K Token的长上下文评估医学领域基准

MedOdyssey: A Medical Domain Benchmark for Long Context Evaluation Up to 200K Tokens

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shanghai Jiao Tong University(上海交通大学)

Yongqi Fan, Hongli Sun, Kui Xue, Xiaofan Zhang, Shaoting Zhang, Tong Ruan

AI总结:

针对医学领域长上下文LLM评估基准稀缺的问题,提出首个覆盖4K-200K tokens的医学长上下文基准MedOdyssey,含两类任务共10个数据集,设计公平评估原则并验证了现有LLM仍存挑战。

摘要:

目前众多先进大语言模型(LLM)已支持最长128K的上下文长度,部分甚至扩展至200K。通用领域已有部分基准跟进评估长上下文能力。在医学领域,由于场景语境独特且需要领域专业知识,任务具有特殊性,亟需开展进一步评估。然而,尽管医学场景中长文本频繁出现,该领域针对LLM长上下文能力的评估基准仍十分稀缺。本文提出MedOdyssey,这是首个医学长上下文基准,涵盖从4K到200K tokens的7个长度级别。MedOdyssey包含两大核心组件:医学语境下的“大海捞针”任务和一系列医学应用专属任务,共涵盖10个数据集。第一个组件设置了反直觉推理、新颖(未知)事实注入等挑战,以缓解LLM的知识泄漏和数据污染问题。第二个组件则直面需要专业医学知识的挑战。特别地,我们设计了“最大相同上下文”原则,通过保证不同LLM观测到尽可能多的相同上下文来提升评估公平性。我们的实验对适配长上下文处理的先进专有及开源LLM进行了评估,并给出了详细的性能分析。结果凸显出LLM在该领域仍面临挑战,有待进一步研究。我们的代码和数据已在代码库发布:https://github.com/JOHNNY-fans/MedOdyssey。

英文摘要:

Numerous advanced Large Language Models (LLMs) now support context lengths up to 128K, and some extend to 200K. Some benchmarks in the generic domain have also followed up on evaluating long-context capabilities. In the medical domain, tasks are distinctive due to the unique contexts and need for domain expertise, necessitating further evaluation. However, despite the frequent presence of long texts in medical scenarios, evaluation benchmarks of long-context capabilities for LLMs in this field are still rare. In this paper, we propose MedOdyssey, the first medical long-context benchmark with seven length levels ranging from 4K to 200K tokens. MedOdyssey consists of two primary components: the medical-context "needles in a haystack" task and a series of tasks specific to medical applications, together comprising 10 datasets. The first component includes challenges such as counter-intuitive reasoning and novel (unknown) facts injection to mitigate knowledge leakage and data contamination of LLMs. The second component confronts the challenge of requiring professional medical expertise. Especially, we design the ``Maximum Identical Context'' principle to improve fairness by guaranteeing that different LLMs observe as many identical contexts as possible. Our experiment evaluates advanced proprietary and open-source LLMs tailored for processing long contexts and presents detailed performance analyses. This highlights that LLMs still face challenges and need for further research in this area. Our code and data are released in the repository: \url{https://github.com/JOHNNY-fans/MedOdyssey.}

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

↑