MedEIR:一种用于增强信息检索的专用医学嵌入模型
MedEIR: A Specialized Medical Embedding Model for Enhanced Information Retrieval
AI总结:
针对现有嵌入模型医学语义捕捉弱、长文档表现差、领域适配后通用能力下降等问题,提出联合优化的医学嵌入模型MedEIR,支持长上下文,在MTEB多个基准上超越Jina V2和MiniLM。
摘要:
嵌入模型已成为检索增强生成(RAG)任务、语义聚类和文本重排序的核心工具。但尽管应用日益广泛,这类模型仍存在显著局限:例如Jina无法捕捉医学文档的语义内容,MiniLM等模型在长文档上表现通常不佳;领域适配模型虽具专业性,但在通用任务上往往表现欠佳,降低了整体适用性;通用领域分词器常误解读医学词汇。当前嵌入模型在分词准确性、领域理解或长序列处理方面的局限,凸显了对更通用解决方案的需求。\n本文提出MedEIR——一种同时针对医学与通用NLP任务联合优化的新型嵌入模型及分词器,融入基于ALiBi的长上下文处理能力,支持最长8192个token的序列。MedEIR仅在60亿token上完成预训练(远少于Jina的预训练数据量),随后在300万句对上进行微调。在MTEB基准测试中,MedEIR的表现始终优于Jina V2和MiniLM,在ArguAna(55.24)、NFCorpus(38.44)、MedicalQARetrieval(74.25)、SciFact(72.04)和TRECCOVID(79.56)上均取得最高分。这些结果彰显了MedEIR作为高效嵌入模型的潜力,证明其在通用和特定领域任务上均表现强劲,且在多个基准上超越现有模型。
英文摘要:
Embedding models have become essential for retrieval-augmented generation (RAG) tasks, semantic clustering, and text re-ranking. But despite their growing use, many of these come with notable limitations. For example, Jina fails to capture the semantic content of medical documents, while models such as MiniLM often perform poorly on long-form documents. Domain-adapted models, while specialized, often underperform in general-purpose tasks, reducing their overall applicability. General-domain tokenizers often misinterpret medical vocabulary. The limitations of current embedding models, whether in tokenization accuracy, domain comprehension, or handling long sequences, highlight the need for more versatile solutions. In this work, we present MedEIR, a novel embedding model and tokenizer jointly optimized for both medical and general NLP tasks, incorporating ALiBi-based long-context processing to support sequences of up to 8,192 tokens. MedEIR was pre-trained on only 6 billion tokens, significantly fewer than Jina's, followed by fine-tuning on 3 million sentence pairs. MedEIR consistently outperforms Jina V2 and MiniLM across MTEB benchmarks, achieving top scores on ArguAna (55.24), NFCorpus (38.44), MedicalQARetrieval (74.25), SciFact (72.04), and TRECCOVID (79.56). These results highlight the potential of MedEIR as a highly effective embedding model, demonstrating strong performance across both general-purpose and domain-specific tasks and outperforming existing models on multiple benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。