arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.11511cs.CLcs.AIcs.LG
收藏

ComplexityNet:通过学习任务复杂度提升 LLM 推理效率

ComplexityNet: Increasing LLM Inference Efficiency by Learning Task Complexity

Harvard University(哈佛大学)

Henry Bae, Aghyad Deeb, Alex Fleury, Kehang Zhu

AI总结:

本文提出 ComplexityNet,通过微调小模型评估任务复杂度来路由大语言模型,在 MBPP 数据集上实现 79% 复杂度分类准确率,减少 90% 计算资源且保持 86.7% 代码生成准确率,有效平衡了准确性与效率。

摘要:

我们提出了 ComplexityNet,这是一个专为评估任务复杂度而设计的精简语言模型。该模型通过预测具有不同能力的各类语言模型输出准确结果的可能性。我们对 ComplexityNet 的初步应用涉及 Mostly Basic Python Problems (MBPP) 数据集。我们首创性地创建了第一组用于定义任务复杂度的标签。ComplexityNet 在确定任务复杂度方面达到了显著的 79% 准确率,相较于原始非微调模型的 34% 准确率有大幅提升。此外,与使用最高复杂度模型相比,ComplexityNet 有效减少了 90% 的计算资源使用,同时保持了 86.7% 的高代码生成准确率。本研究表明,对较小的模型进行微调以根据复杂度对任务进行分类,可以在大型语言模型的使用中实现准确性与效率之间更均衡的权衡。我们的发现为优化 LLM 应用指明了一个有前景的方向,尤其是在资源受限的环境中。

英文摘要:

We present ComplexityNet, a streamlined language model designed for assessing task complexity. This model predicts the likelihood of accurate output by various language models, each with different capabilities. Our initial application of ComplexityNet involves the Mostly Basic Python Problems (MBPP) dataset. We pioneered the creation of the first set of labels to define task complexity. ComplexityNet achieved a notable 79% accuracy in determining task complexity, a significant improvement over the 34% accuracy of the original, non fine-tuned model. Furthermore, ComplexityNet effectively reduces computational resource usage by 90% compared to using the highest complexity model, while maintaining a high code generation accuracy of 86.7%. This study demonstrates that fine-tuning smaller models to categorize tasks based on their complexity can lead to a more balanced trade-off between accuracy and efficiency in the use of Large Language Models. Our findings suggest a promising direction for optimizing LLM applications, especially in resource-constrained environments.

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

↑