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

走向不对称及更远:用于提升推理效率的序列到序列模型结构化剪枝

To Asymmetry and Beyond: Structured Pruning of Sequence to Sequence Models for Improved Inference Efficiency

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Neeva Inc.(Neeva公司)

Daniel Campos, ChengXiang Zhai

AI总结:

针对序列到序列语言模型规模大、难在延迟敏感场景部署的问题,本文通过结构化剪枝研究发现准确率与编码器、推理效率与解码器相关,采用不对称剪枝可近3倍提升推理速度且Rouge-2仅降约1点,该规律在不同模型规模和数据集下一致。

摘要:

序列到序列语言模型可生成连贯、相关且简洁的抽象式摘要。尽管如此,模型规模过大使其难以在对延迟敏感或网页级规模的部署场景中落地。本文研究了广泛使用的摘要数据集上,模型规模、结构化剪枝、推理效率与摘要准确率之间的关系。我们发现,模型准确率与编码器规模相关,而推理效率与解码器相关。采用不对称剪枝可使推理延迟提升近3倍,同时Rouge-2指标仅下降约1个点。此外,我们发现平均性能下降幅度以及不对称性的作用在不同模型规模和数据集变体中均保持一致。

英文摘要:

Sequence-to-sequence language models can be used to produce abstractive summaries which are coherent, relevant, and concise. Still, model sizes can make deployment in latency-sensitive or web-scale implementations difficult. This paper studies the relationship between model size, structured pruning, inference efficiency, and summarization accuracy on widely used summarization datasets. We show that model accuracy is tied to the encoder size while inference efficiency is connected to the decoder. Using asymmetric pruning can lead to nearly 3x improvement in inference latency with ~1 point loss in Rouge-2. Moreover, we find both the average degradation and the role of asymmetry to be consistent across model sizes and variations in datasets.

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

↑