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

利用小型语言模型集成改进上下文学习

Improving In-Context Learning with Small Language Model Ensembles

Oxford Internet Institute(牛津互联网研究所);University of Oxford(牛津大学);Mathematical Institute(数学研究所)

M. Mehdi Mojarradi, Lingyi Yang, Robert McCraith, Adam Mahdi

AI总结:

本文提出Ensemble SuperICL方法,通过集成多个微调的小型语言模型来增强上下文学习,在多个自然语言理解基准和医学标注任务上取得优异性能,为LLMs领域专业化提供低成本高效方案。

摘要:

大型语言模型(LLMs)在各种任务中展现了令人印象深刻的能力,但它们在特定领域任务上的性能仍然有限。虽然检索增强生成和微调等方法可以帮助解决这个问题,但它们需要大量资源。上下文学习(ICL)是一种廉价且高效的替代方案,但无法匹敌高级方法的准确率。我们提出了Ensemble SuperICL,这是一种通过利用多个微调的小型语言模型(SLMs)的专业知识来增强ICL的新方法。Ensemble SuperICL在多个自然语言理解基准测试上取得了最先进(SoTA)的结果。此外,我们在一个医学领域标注任务上对其进行了测试,并展示了其实用性,通过使用在通用语言任务上微调的现成SLMs,在大规模数据标注中实现了优于所有基线的准确率。最后,我们进行了消融研究和敏感性分析,以阐明Ensemble SuperICL的潜在机制。我们的研究满足了LLMs中对高效领域专业化方法日益增长的需求,为从业者提供了一种廉价且有效的方法。

英文摘要:

Large language models (LLMs) have shown impressive capabilities across various tasks, but their performance on domain-specific tasks remains limited. While methods like retrieval augmented generation and fine-tuning can help to address this, they require significant resources. In-context learning (ICL) is a cheap and efficient alternative but cannot match the accuracies of advanced methods. We present Ensemble SuperICL, a novel approach that enhances ICL by leveraging the expertise of multiple fine-tuned small language models (SLMs). Ensemble SuperICL achieves state of the art (SoTA) results on several natural language understanding benchmarks. Additionally, we test it on a medical-domain labelling task and showcase its practicality by using off-the-shelf SLMs fine-tuned on a general language task, achieving superior accuracy in large-scale data labelling compared to all baselines. Finally, we conduct an ablation study and sensitivity analyses to elucidate the underlying mechanism of Ensemble SuperICL. Our research contributes to the growing demand for efficient domain specialisation methods in LLMs, offering a cheap and effective method for practitioners.

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

↑