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

以小模型改进大模型:更低成本与更优性能

Improving Large Models with Small models: Lower Costs and Better Performance

School of Computer and Artificial Intelligence of Zhengzhou University(郑州大学计算机与人工智能学院);Zhengzhou University Engineering Research Center of Intelligent Swarm Systems(郑州大学智能集群系统工程研究中心);Zhejiang University(浙江大学)

Dong Chen, Shuo Zhang, Yueting Zhuang, Siliang Tang, Qidong Liu, Hua Wang, Mingliang Xu

AI总结:

针对预训练大模型部署成本高的问题,提出大小模型协作的通用范式DS$^+$,通过小模型处理简单输入/子任务、大模型处理复杂部分,在降低调用成本的同时提升任务性能,且比微调更高效地注入任务知识。

摘要:

预训练大模型(PLMs)如ChatGPT,已在各类任务中展现出卓越性能。然而,PLMs极高的计算需求令多数产品团队难以自行部署或微调它们。这种情况下,要利用PLMs的出色性能就必须依赖昂贵的API,进一步加重了经济负担。尽管小模型整体性能较弱,但在特定数据分布下,它们能达到与大模型相当甚至更优的效果,因此部分输入可完全交由小模型处理。另一方面,某些任务可拆解为多个子任务,其中部分子任务无需强大能力即可完成,此时小模型可处理简单子任务,让大模型专注于有难度的子任务,从而提升性能。我们提出Data Shunt$^+$(DS$^+$),一种大小模型协作的通用范式。DS$^+$不仅大幅降低了调用大模型的成本,还能有效提升大模型的性能。例如,ChatGPT在Amazon Product情感分析任务上的准确率为$94.43\%$,而DS$^+$的准确率达到$95.64\%$,同时成本降至仅$31.18\%$。此外,实验还证明,与微调相比,该基于协作的范式能更好地将特定任务知识注入PLMs中。

英文摘要:

Pretrained large models (PLMs), such as ChatGPT, have demonstrated remarkable performance across diverse tasks. However, the significant computational requirements of PLMs have discouraged most product teams from running or fine-tuning them. In such cases, to harness the exceptional performance of PLMs, one must rely on expensive APIs, thereby exacerbating the economic burden. Despite the overall inferior performance of small models, in specific distributions, they can achieve comparable or even superior results. Consequently, some input can be processed exclusively by small models. On the other hand, certain tasks can be broken down into multiple subtasks, some of which can be completed without powerful capabilities. Under these circumstances, small models can handle the simple subtasks, allowing large models to focus on challenging subtasks, thus improving the performance. We propose Data Shunt$^+$ (DS$^+$), a general paradigm for collaboration of small and large models. DS$^+$ not only substantially reduces the cost associated with querying large models but also effectively improves large models' performance. For instance, ChatGPT achieves an accuracy of $94.43\%$ on Amazon Product sentiment analysis, and DS$^+$ achieves an accuracy of $95.64\%$, while the cost has been reduced to only $31.18\%$. Besides, experiments also prove that the proposed collaborative-based paradigm can better inject specific task knowledge into PLMs compared to fine-tuning.

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

↑