arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.15570cs.CLcs.AIcs.LG
收藏

堆叠小型语言模型以实现泛化能力

Stacking Small Language Models for Generalizability

McGill University(麦吉尔大学)

Laurence Liang

AI总结:

本文提出 FSLM 方法,通过堆叠并微调多个小型语言模型来替代大型语言模型,在降低训练和推理成本的同时提升可解释性,并在自然语言基准上取得有前景的泛化结果。

摘要:

近期进展表明,大型语言模型(LLMs)在不同自然语言基准上展现出强大的泛化性能。然而,LLMs 的庞大规模使得训练和推理成本高昂,难以在资源受限环境中实际运行。本文提出一种新方法,称为语言模型堆叠微调(FSLM),该方法将小型语言模型(SLM)堆叠起来,作为 LLMs 的替代方案。通过微调每个 SLM 来执行特定任务,该方法将高层推理分解为多个由特定 SLM 负责的低层步骤。因此,FSLM 能够降低训练和推理成本,同时提升模型可解释性,因为每个 SLM 通过自然语言与后续模型进行通信。本文在常见自然语言基准上对 FSLM 进行评估,展示了以 FSLM 作为 LLMs 低成本替代方案实现泛化性能的早期有前景结果。

英文摘要:

Recent advances show that large language models (LLMs) generalize strong performance across different natural language benchmarks. However, the large size of LLMs makes training and inference expensive and impractical to run in resource-limited settings. This paper introduces a new approach called fine-tuning stacks of language models (FSLM), which involves stacking small language models (SLM) as an alternative to LLMs. By fine-tuning each SLM to perform a specific task, this approach breaks down high level reasoning into multiple lower-level steps that specific SLMs are responsible for. As a result, FSLM allows for lower training and inference costs, and also improves model interpretability as each SLM communicates with the subsequent one through natural language. By evaluating FSLM on common natural language benchmarks, this paper highlights promising early results toward generalizable performance using FSLM as a cost-effective alternative to LLMs.

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

↑