arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.00625cs.IRcs.AIcs.CL
收藏

SwiftPruner:增强的进化剪枝,用于有效的广告相关性

SwiftPruner: Reinforced Evolutionary Pruning for Efficient Ad Relevance

Microsoft Research(微软研究院);Microsoft(微软)

Li Lyna Zhang, Youkow Homma, Yujing Wang, Min Wu, Mao Yang, Ruofei Zhang, Ting Cao, Wei Shen

摘要:

广告相关性建模在包括Microsoft Bing在内的在线广告系统中起着关键作用。为了在这种低延迟设置中利用像BERT这样的强大Transformers,许多现有方法离线执行广告端计算。虽然有效,但这些方法无法服务于冷启动广告,从而导致对此类广告的不良相关性预测。本研究旨在设计一种新的、低延迟的BERT,通过结构化修剪,在CPU平台上实现冷启动广告相关性的实时在线推理。我们面临的挑战是,以前的方法通常修剪所有层的Transformer的高,均匀的稀疏性,从而产生的模型,不能达到令人满意的推理速度与可接受的精度。在本文中,我们提出了SwiftPruner -一个有效的框架,利用基于进化的搜索,自动找到性能最好的逐层稀疏BERT模型下所需的延迟约束。不同于现有的进化算法进行随机突变,我们提出了一个增强的mutator与延迟意识的多目标奖励进行更好的突变,有效地搜索大空间的逐层稀疏模型。大量的实验表明,我们的方法始终实现更高的ROC AUC和更低的延迟比均匀稀疏基线和最先进的搜索方法。值得注意的是,在我们对CPU的1900 us延迟要求下,SwiftPruner在大规模真实世界数据集上实现了比BERT-Mini最先进的均匀稀疏基线高0.86%的AUC。在线A/B测试表明,我们的模型也实现了显着的11.7%的比例有缺陷的冷启动广告与令人满意的实时服务延迟。

英文摘要:

Ad relevance modeling plays a critical role in online advertising systems including Microsoft Bing. To leverage powerful transformers like BERT in this low-latency setting, many existing approaches perform ad-side computations offline. While efficient, these approaches are unable to serve cold start ads, resulting in poor relevance predictions for such ads. This work aims to design a new, low-latency BERT via structured pruning to empower real-time online inference for cold start ads relevance on a CPU platform. Our challenge is that previous methods typically prune all layers of the transformer to a high, uniform sparsity, thereby producing models which cannot achieve satisfactory inference speed with an acceptable accuracy. In this paper, we propose SwiftPruner - an efficient framework that leverages evolution-based search to automatically find the best-performing layer-wise sparse BERT model under the desired latency constraint. Different from existing evolution algorithms that conduct random mutations, we propose a reinforced mutator with a latency-aware multi-objective reward to conduct better mutations for efficiently searching the large space of layer-wise sparse models. Extensive experiments demonstrate that our method consistently achieves higher ROC AUC and lower latency than the uniform sparse baseline and state-of-the-art search methods. Remarkably, under our latency requirement of 1900us on CPU, SwiftPruner achieves a 0.86% higher AUC than the state-of-the-art uniform sparse baseline for BERT-Mini on a large scale real-world dataset. Online A/B testing shows that our model also achieves a significant 11.7% cut in the ratio of defective cold start ads with satisfactory real-time serving latency.

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

↑