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

Cappy:以小型评分器超越并提升大型多任务语言模型

Cappy: Outperforming and Boosting Large Multi-Task LMs with a Small Scorer

Carnegie Mellon University(卡内基梅隆大学);Google Research(谷歌研究院);Petuum Inc.(Petuum公司);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);UC San Diego(加州大学圣迭戈分校)

Bowen Tan, Yun Zhu, Lijuan Liu, Eric Xing, Zhiting Hu, Jindong Chen

AI总结:

针对大型多任务语言模型计算成本高、难以适配且部分不可用的问题,本文提出仅3.6亿参数的预训练小型评分器Cappy,可独立用于分类或辅助LLM,在11个语言理解任务上超越更大模型,并在45个BIG-Bench任务上显著提升FLAN-T5性能。

摘要:

大型语言模型(LLM),如T0、FLAN和OPT-IML,在统一的指令遵循范式下擅长多任务处理,同时还展现出对未见任务的显著泛化能力。尽管性能令人印象深刻,但这些参数规模从数十亿到数千亿不等的LLM需要大量的计算资源,使得其训练和推理成本高昂且效率低下。此外,将这些模型适配到下游应用(尤其是复杂任务)通常不可行,因为微调需要大量的硬件资源,即使采用诸如提示调优等参数高效方法也是如此。另外,最强大的多任务LLM(如OPT-IML-175B和FLAN-PaLM-540B)并不公开可用,严重限制了其定制潜力。为应对这些挑战,我们引入了一个预训练的小型评分器Cappy,旨在提升多任务LLM的性能和效率。Cappy仅有3.6亿参数,既可在分类任务上独立运行,也可作为LLM的辅助组件来提升其性能。此外,Cappy能够在不微调LLM或访问其参数的情况下,高效地整合下游监督信息。我们的实验表明,在PromptSource的11个语言理解任务上独立工作时,Cappy的性能超越了参数规模大数个数量级的LLM。此外,在BIG-Bench的45个复杂任务上,Cappy大幅提升了先进多任务LLM FLAN-T5的性能。更进一步,Cappy可灵活地与LLM的其他适配方法(包括微调和上下文学习)协作,提供额外的性能提升。

英文摘要:

Large language models (LLMs) such as T0, FLAN, and OPT-IML, excel in multi-tasking under a unified instruction-following paradigm, where they also exhibit remarkable generalization abilities to unseen tasks. Despite their impressive performance, these LLMs, with sizes ranging from several billion to hundreds of billions of parameters, demand substantial computational resources, making their training and inference expensive and inefficient. Furthermore, adapting these models to downstream applications, particularly complex tasks, is often unfeasible due to the extensive hardware requirements for finetuning, even when utilizing parameter-efficient approaches such as prompt tuning. Additionally, the most powerful multi-task LLMs, such as OPT-IML-175B and FLAN-PaLM-540B, are not publicly accessible, severely limiting their customization potential. To address these challenges, we introduce a pretrained small scorer, Cappy, designed to enhance the performance and efficiency of multi-task LLMs. With merely 360 million parameters, Cappy functions either independently on classification tasks or serve as an auxiliary component for LLMs, boosting their performance. Moreover, Cappy enables efficiently integrating downstream supervision without requiring LLM finetuning nor the access to their parameters. Our experiments demonstrate that, when working independently on 11 language understanding tasks from PromptSource, Cappy outperforms LLMs that are several orders of magnitude larger. Besides, on 45 complex tasks from BIG-Bench, Cappy boosts the performance of the advanced multi-task LLM, FLAN-T5, by a large margin. Furthermore, Cappy is flexible to cooperate with other LLM adaptations, including finetuning and in-context learning, offering additional performance enhancement.

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

↑