arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.05528cs.CLcs.AI
收藏

模型级联:共同提高NLP系统的效率和精度

Model Cascading: Towards Jointly Improving Efficiency and Accuracy of NLP Systems

Arizona State University(亚利桑那州立大学)

Neeraj Varshney, Chitta Baral

摘要:

是否所有的实例都需要通过大模型进行推理才能得到正确的预测?也许不是;有些实例很容易,甚至可以通过小容量模型正确回答。这为提高系统的计算效率提供了机会。在这项工作中,我们提出了一个探索性的研究“模型预测”,一个简单的技术,利用不同的能力,准确而有效地输出预测模型的集合。通过在多个任务设置中进行全面的实验,这些任务设置在可用于级联的模型数量(K值)上不同,我们表明级联提高了计算效率和预测精度。例如,在K=3的设置中,级联节省了高达88.93%的计算成本,并始终如一地实现了高达2.18%的改进的卓越预测精度。我们还研究了在级联中引入额外模型的影响,并表明它进一步提高了效率。最后,我们希望我们的工作将促进高效NLP系统的开发,使其在现实世界中的应用成为可能。

英文摘要:

Do all instances need inference through the big models for a correct prediction? Perhaps not; some instances are easy and can be answered correctly by even small capacity models. This provides opportunities for improving the computational efficiency of systems. In this work, we present an explorative study on 'model cascading', a simple technique that utilizes a collection of models of varying capacities to accurately yet efficiently output predictions. Through comprehensive experiments in multiple task settings that differ in the number of models available for cascading (K value), we show that cascading improves both the computational efficiency and the prediction accuracy. For instance, in K=3 setting, cascading saves up to 88.93% computation cost and consistently achieves superior prediction accuracy with an improvement of up to 2.18%. We also study the impact of introducing additional models in the cascade and show that it further increases the efficiency improvements. Finally, we hope that our work will facilitate development of efficient NLP systems making their widespread adoption in real-world applications possible.

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

↑