arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00730cs.LGcs.DS
收藏

在极端分类中实现标签树的效率-精度权衡

Enabling Efficiency-Precision Trade-offs for Label Trees in Extreme Classification

Stanford University(斯坦福大学);Amazon(亚马逊);University of Washington(华盛顿大学);University of Texas at Austin(得克萨斯大学奥斯汀分校)

Tavor Z. Baharav, Daniel L. Jiang, Kedarnath Kolluri, Sujay Sanghavi, Inderjit S. Dhillon

摘要:

极端多标签分类(XMC)旨在学习一种模型,该模型可以从一个非常大的标签集中使用相关标签的子集来标记数据点。现实世界中的电子商务应用,如个性化推荐和产品广告,可以被公式化为XMC问题,其目标是为用户预测数百万产品目录中的一小部分产品。对于这样的应用程序,一种常见的方法是将这些标签组织成一棵树,使训练和推理时间在标签数量上是对数的。虽然在标签树可用时训练模型已经得到了很好的研究,但设计树的结构是一项困难的任务,尚未得到很好的理解,并且可能会显着影响模型延迟和统计性能。现有的树构建方法处于极端点,要么专门针对统计性能进行优化,要么针对延迟进行优化。我们提出了一个有效的信息论启发的算法来构建中间操作点,两者的利益之间的权衡。我们的算法可以在这些目标之间进行插值,这在以前是不可能的。我们用数值结果证实了我们的理论分析,表明在Wiki-500 K基准数据集上,我们的方法可以将预期延迟的代理减少高达28%,同时保持与Parabel相同的准确性。在来自电子商务客户日志的几个数据集上,我们修改后的标签树能够将此预期延迟度量提高高达20%,同时保持相同的准确性。最后,我们讨论了在部署的模型中实现这些延迟改进的挑战。

英文摘要:

Extreme multi-label classification (XMC) aims to learn a model that can tag data points with a subset of relevant labels from an extremely large label set. Real world e-commerce applications like personalized recommendations and product advertising can be formulated as XMC problems, where the objective is to predict for a user a small subset of items from a catalog of several million products. For such applications, a common approach is to organize these labels into a tree, enabling training and inference times that are logarithmic in the number of labels. While training a model once a label tree is available is well studied, designing the structure of the tree is a difficult task that is not yet well understood, and can dramatically impact both model latency and statistical performance. Existing approaches to tree construction fall at an extreme point, either optimizing exclusively for statistical performance, or for latency. We propose an efficient information theory inspired algorithm to construct intermediary operating points that trade off between the benefits of both. Our algorithm enables interpolation between these objectives, which was not previously possible. We corroborate our theoretical analysis with numerical results, showing that on the Wiki-500K benchmark dataset our method can reduce a proxy for expected latency by up to 28% while maintaining the same accuracy as Parabel. On several datasets derived from e-commerce customer logs, our modified label tree is able to improve this expected latency metric by up to 20% while maintaining the same accuracy. Finally, we discuss challenges in realizing these latency improvements in deployed models.

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

↑