高效大语言模型:零样本可调加速
Efficient Large Language Models with Zero-Shot Adjustable Acceleration
AI总结:
本文提出零样本可调加速方法,无需额外微调即可在推理时动态调整硬件利用率,在分类和文本生成任务上实现高达11倍加速。
摘要:
在现实应用中部署大语言模型(LLMs)面临重大挑战,尤其是在平衡计算效率与模型性能方面。在微调后及推理过程中优化加速,对于构建高效架构至关重要。本文提出了一种新颖的训练与推理方法——零样本可调加速,该方法无需额外微调,即可在推理过程中动态调整硬件利用率。所提方法应用于近期的大语言模型,并在多个分类和文本生成任务上进行了评估。实验结果表明,该方法支持广泛的零样本加速,与基线相比实现了高达11倍的加速比。
英文摘要:
Using Large Language Models (LLMs) in real-world applications presents significant challenges, particularly in balancing computational efficiency with model performance. Optimizing acceleration after fine-tuning and during inference is critical for building efficient architectures. This paper introduces Zero-Shot Adjustable Acceleration, a novel training and inference method that dynamically adjusts hardware utilization during inference without requiring additional fine-tuning. The proposed approach is applied to recent LLMs and evaluated across multiple classification and text generation tasks. Experimental results demonstrate that the method supports a wide range of zero-shot acceleration and achieves up to 11x speedup compared to the baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。