在京东广告搜索中通过多专家知识凝缩实现更好的查询分类
Towards Better Query Classification with Multi-Expert Knowledge Condensation in JD Ads Search
AI总结:
本文提出知识凝缩(KC)框架,利用离线BERT模型检索潜在相关数据并采用分布多样性多专家学习策略,在严格低延迟约束下有效提升了在线FastText模型的查询分类性能。
摘要:
搜索查询分类作为理解用户意图的有效方式,在现实在线广告系统中具有重要意义。为确保较低延迟,通常广泛使用浅层模型(如FastText)进行高效的在线推理。然而,FastText模型的表示能力不足,导致分类性能较差,特别是在一些低频查询和长尾类别上。使用更深层复杂的模型(如BERT)是一种有效解决方案,但这会导致更高的在线推理延迟和更昂贵的计算成本。因此,如何兼顾推理效率和分类性能显然具有重要的实际意义。为克服这一挑战,本文提出了知识凝缩(KC),这是一个简单而有效的知识蒸馏框架,旨在严格低延迟约束下提升在线FastText模型的分类性能。具体而言,我们提出训练一个离线BERT模型来检索更多潜在相关数据。得益于其强大的语义表示能力,历史数据中未暴露的更多相关标签将被加入训练集,以更好地训练FastText模型。此外,提出了一种新颖的分布多样性多专家学习策略,以进一步提升相关数据的挖掘能力。通过在不同数据分布上训练多个BERT模型,它能够分别在高频、中频和低频搜索查询上表现更佳。来自多分布的模型集成使其检索能力更加强大。我们已在京东搜索中部署了两个版本的框架,来自多个数据集的离线实验和在线A/B测试均验证了所提方法的有效性。
英文摘要:
Search query classification, as an effective way to understand user intents, is of great importance in real-world online ads systems. To ensure a lower latency, a shallow model (e.g. FastText) is widely used for efficient online inference. However, the representation ability of the FastText model is insufficient, resulting in poor classification performance, especially on some low-frequency queries and tailed categories. Using a deeper and more complex model (e.g. BERT) is an effective solution, but it will cause a higher online inference latency and more expensive computing costs. Thus, how to juggle both inference efficiency and classification performance is obviously of great practical importance. To overcome this challenge, in this paper, we propose knowledge condensation (KC), a simple yet effective knowledge distillation framework to boost the classification performance of the online FastText model under strict low latency constraints. Specifically, we propose to train an offline BERT model to retrieve more potentially relevant data. Benefiting from its powerful semantic representation, more relevant labels not exposed in the historical data will be added into the training set for better FastText model training. Moreover, a novel distribution-diverse multi-expert learning strategy is proposed to further improve the mining ability of relevant data. By training multiple BERT models from different data distributions, it can respectively perform better at high, middle, and low-frequency search queries. The model ensemble from multi-distribution makes its retrieval ability more powerful. We have deployed two versions of this framework in JD search, and both offline experiments and online A/B testing from multiple datasets have validated the effectiveness of the proposed approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。