OpenBA-V2:通过快速多阶段剪枝实现77.3%的高压缩率
OpenBA-V2: Reaching 77.3% High Compression Ratio with Fast Multi-Stage Pruning
AI总结:
本文提出OpenBA-V2,通过多阶段剪枝、持续预训练及数据与目标优化,将15B OpenBA压缩为3.4B模型,压缩率达77.3%且下游性能接近原模型。
摘要:
大型语言模型(LLM)凭借其强大能力已在众多领域发挥重要作用。然而,其海量参数导致较高的部署要求并产生显著的推理成本,从而阻碍了实际应用。训练更小的模型是解决这一问题的有效途径。因此,我们推出 OpenBA-V2,这是一个由原始15B OpenBA模型经过多阶段压缩和持续预训练得到的3.4B模型。OpenBA-V2使用更多数据、更灵活的训练目标,以及层剪枝、神经剪枝和词表剪枝等技术,在性能损失最小的情况下实现77.3%的压缩率。与其他相近规模的开源模型相比,OpenBA-V2表现出具有竞争力的性能,并在常识推理和命名实体识别(NER)等下游任务中取得接近或持平于15B OpenBA模型的结果。OpenBA-V2表明,通过采用先进的训练目标和数据策略,可以将LLM压缩为更小的模型且性能损失最小,这可能有助于在资源受限场景中部署LLM。
英文摘要:
Large Language Models (LLMs) have played an important role in many fields due to their powerful capabilities.However, their massive number of parameters leads to high deployment requirements and incurs significant inference costs, which impedes their practical applications. Training smaller models is an effective way to address this problem. Therefore, we introduce OpenBA-V2, a 3.4B model derived from multi-stage compression and continual pre-training from the original 15B OpenBA model. OpenBA-V2 utilizes more data, more flexible training objectives, and techniques such as layer pruning, neural pruning, and vocabulary pruning to achieve a compression rate of 77.3\% with minimal performance loss. OpenBA-V2 demonstrates competitive performance compared to other open-source models of similar size, achieving results close to or on par with the 15B OpenBA model in downstream tasks such as common sense reasoning and Named Entity Recognition (NER). OpenBA-V2 illustrates that LLMs can be compressed into smaller ones with minimal performance loss by employing advanced training objectives and data strategies, which may help deploy LLMs in resource-limited scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。