提升推理效率:释放参数共享预训练语言模型的潜力
Boosting Inference Efficiency: Unleashing the Power of Parameter-Shared Pre-trained Language Models
AI总结:
针对参数共享预训练语言模型推理计算负担重的问题,基于神经常微分方程提出提升推理效率的技术及预训练技术,实现更大推理加速并在自回归和自编码模型上验证有效。
摘要:
参数共享预训练语言模型(PLMs)在资源受限环境中成为一种成功的方法,能够在不显著降低性能的情况下大幅减少模型存储和内存成本。然而,值得注意的是,参数共享并不能减轻与推理相关的计算负担,从而阻碍了其在具有严格延迟要求或计算资源受限情况下的实用性。基于神经常微分方程(ODEs),我们引入了一种简单直接的技术来提升参数共享PLMs的推理效率。此外,我们提出了一种简单的预训练技术,使得完全或部分共享的模型能够实现更大的推理加速。实验结果证明了我们的方法在自回归和自编码PLMs上的有效性,为在资源受限环境中更高效地利用参数共享模型提供了新见解。
英文摘要:
Parameter-shared pre-trained language models (PLMs) have emerged as a successful approach in resource-constrained environments, enabling substantial reductions in model storage and memory costs without significant performance compromise. However, it is important to note that parameter sharing does not alleviate computational burdens associated with inference, thus impeding its practicality in situations characterized by limited stringent latency requirements or computational resources. Building upon neural ordinary differential equations (ODEs), we introduce a straightforward technique to enhance the inference efficiency of parameter-shared PLMs. Additionally, we propose a simple pre-training technique that leads to fully or partially shared models capable of achieving even greater inference acceleration. The experimental results demonstrate the effectiveness of our methods on both autoregressive and autoencoding PLMs, providing novel insights into more efficient utilization of parameter-shared models in resource-constrained settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。