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

蚂蚁集团大型多模态模型的高效剪枝与蒸馏压缩

Large Multimodal Model Compression via Efficient Pruning and Distillation at AntGroup

City University of Hong Kong(香港城市大学);AntGroup(蚂蚁集团);ByteDance Research(字节跳动研究院)

Maolin Wang, Yao Zhao, Jiajia Liu, Jingdong Chen, Chenyi Zhuang, Jinjie Gu, Ruocheng Guo, Xiangyu Zhao

AI总结:

针对大型多模态模型部署中的延迟和碳排放问题,提出多阶段剪枝与蒸馏压缩策略,在支付宝广告审核中实现延迟从700ms降至90ms,年节电约7500万kWh。

摘要:

在蚂蚁集团内部署大型多模态模型(LMMs)显著推进了支付、安全和广告领域的多模态任务,尤其提升了支付宝中的广告审核任务。然而,部署如此规模的模型也带来了挑战,特别是延迟增加和碳排放上升,这与绿色AI的理念背道而驰。本文针对我们自有的LLM——AntGMM,提出了一种新颖的多阶段压缩策略。我们的方法主要围绕三个方面:采用小规模训练样本量、通过多阶段剪枝解决多层次冗余,以及引入先进的蒸馏损失设计。在研究中,我们基于支付宝内的真实场景构建了一个数据集——多模态广告审核数据集(MAAD),并进行了实验以验证所提策略的可靠性。此外,该策略的有效性还体现在其自2023年9月起在支付宝真实多模态广告审核中成功运行三个月。值得注意的是,我们的方法实现了延迟的大幅降低,从700毫秒降至90毫秒,同时在线性能仅略有下降。此外,与直接部署AntGMM相比,我们的压缩模型预计每年可减少约7500万千瓦时的电力消耗,彰显了我们对绿色AI倡议的承诺。我们将在审核后公开发布我们的代码和MAAD数据集。

英文摘要:

The deployment of Large Multimodal Models (LMMs) within AntGroup has significantly advanced multimodal tasks in payment, security, and advertising, notably enhancing advertisement audition tasks in Alipay. However, the deployment of such sizable models introduces challenges, particularly in increased latency and carbon emissions, which are antithetical to the ideals of Green AI. This paper introduces a novel multi-stage compression strategy for our proprietary LLM, AntGMM. Our methodology pivots on three main aspects: employing small training sample sizes, addressing multi-level redundancy through multi-stage pruning, and introducing an advanced distillation loss design. In our research, we constructed a dataset, the Multimodal Advertisement Audition Dataset (MAAD), from real-world scenarios within Alipay, and conducted experiments to validate the reliability of our proposed strategy. Furthermore, the effectiveness of our strategy is evident in its operational success in Alipay's real-world multimodal advertisement audition for three months from September 2023. Notably, our approach achieved a substantial reduction in latency, decreasing it from 700ms to 90ms, while maintaining online performance with only a slight performance decrease. Moreover, our compressed model is estimated to reduce electricity consumption by approximately 75 million kWh annually compared to the direct deployment of AntGMM, demonstrating our commitment to green AI initiatives. We will publicly release our code and the MAAD dataset after some reviews\footnote{https://github.com/MorinW/AntGMM$\_$Pruning}.

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

↑