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

通过跨孤岛知识迁移实现大型与小型语言模型的相互增强

Mutual Enhancement of Large and Small Language Models with Cross-Silo Knowledge Transfer

Tsinghua University(清华大学);Institute for AI Industry Research (AIR)(人工智能产业研究院(AIR))

Yongheng Deng, Ziqing Qiao, Ju Ren, Yang Liu, Yaoxue Zhang

AI总结:

针对私有任务数据难以集中用于微调 LLM 的问题,提出 CrossLM,通过 SLM 引导 LLM 生成高质量任务数据并反哺双方,实现云端 LLM 与客户端 SLM 的同步增强。

摘要:

尽管大型语言模型(LLM)具备广泛知识,但其在特定任务上的表现往往并不理想。这就需要使用特定任务数据对 LLM 进行微调,但由于隐私问题,此类数据可能无法获取。本文提出一种新方法,利用在各客户端上通过其私有特定任务数据训练的小型语言模型(SLM)来增强 LLM。为实现 LLM 与 SLM 之间的相互增强,作者提出 CrossLM:由 SLM 促进 LLM 生成特定任务的高质量数据,随后利用这些生成数据同时增强 LLM 和 SLM。作者在一系列基准任务上使用公开可用的语言模型评估 CrossLM。结果表明,CrossLM 能显著同时提升客户端上 SLM 与云服务器上 LLM 的特定任务性能,同时保持 LLM 的泛化能力。

英文摘要:

While large language models (LLMs) are empowered with broad knowledge, their task-specific performance is often suboptimal. It necessitates fine-tuning LLMs with task-specific data, but such data may be inaccessible due to privacy concerns. In this paper, we propose a novel approach to enhance LLMs with smaller language models (SLMs) that are trained on clients using their private task-specific data. To enable mutual enhancement between LLMs and SLMs, we propose CrossLM, where the SLMs promote the LLM to generate task-specific high-quality data, and both the LLM and SLMs are enhanced with the generated data. We evaluate CrossLM using publicly accessible language models across a range of benchmark tasks. The results demonstrate that CrossLM significantly enhances the task-specific performance of SLMs on clients and the LLM on the cloud server simultaneously while preserving the LLM's generalization capability.

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

↑