Skip to main content
QUICK REVIEW

[论文解读] On the computational complexity of the probabilistic label tree algorithms

Róbert Busa‐Fekete, Krzysztof Dembczyński|arXiv (Cornell University)|Jun 1, 2019
Text and Document Classification TechnologiesComputer Science参考文献 14被引用 3
一句话总结

本文研究了为概率标签树(PLTs)优化树结构的计算复杂度,这是一种在大规模标签集下实现高效多分类和多标签学习的方法。证明了最小化训练成本是NP完全问题,但提供了线性时间内的O(log m)近似解,并针对特殊情况给出了精确解,同时建立了预测成本与训练成本及分类器误差之间的理论边界。

ABSTRACT

Label tree-based algorithms are widely used to tackle multi-class and multi-label problems with a large number of labels. We focus on a particular subclass of these algorithms that use probabilistic classifiers in the tree nodes. Examples of such algorithms are hierarchical softmax (HSM), designed for multi-class classification, and probabilistic label trees (PLTs) that generalize HSM to multi-label problems. If the tree structure is given, learning of PLT can be solved with provable regret guaranties [Wydmuch et.al. 2018]. However, to find a tree structure that results in a PLT with a low training and prediction computational costs as well as low statistical error seems to be a very challenging problem, not well-understood yet. In this paper, we address the problem of finding a tree structure that has low computational cost. First, we show that finding a tree with optimal training cost is NP-complete, nevertheless there are some tractable special cases with either perfect approximation or exact solution that can be obtained in linear time in terms of the number of labels $m$. For the general case, we obtain $O(\log m)$ approximation in linear time too. Moreover, we prove an upper bound on the expected prediction cost expressed in terms of the expected training cost. We also show that under additional assumptions the prediction cost of a PLT is $O(\log m)$.

研究动机与目标

  • 为解决在大规模多分类和多标签问题中寻找最优树结构以最小化训练成本和预测成本的挑战。
  • 理解在树结构未固定的情况下,最小化PLT中训练成本的计算复杂度。
  • 建立PLT模型中训练成本、预测成本与分类器误差之间的理论关系。
  • 识别可高效计算精确或近似最优解的可解特殊情况,且时间复杂度相对于标签数m为线性。
  • 基于训练成本和节点分类器的统计误差,建立预测成本的理论边界。

提出的方法

  • 将训练成本定义为单个实例训练过程中涉及的节点数量,以建模学习节点分类器的计算负担。
  • 通过从已知的NP完全问题进行归约,证明训练成本最小化问题的判定版本为NP完全。
  • 利用数据库中二叉合并问题的启发技术,为一般情况开发一种线性时间O(log m)近似算法。
  • 识别出两个可解的特殊情况:多分类问题(线性时间内常数因子近似)和具有嵌套标签的多标签问题(线性时间内精确解)。
  • 通过节点概率估计和误差项,推导出期望预测成本的上界。
  • 引入一个理论框架,通过每个节点的标签相关性概率和分类器误差,将预测成本与训练成本联系起来。

实验结果

研究问题

  • RQ1在概率标签树中寻找最小化训练成本的树结构是否在计算上是可行的?
  • RQ2对于一般多标签情况,能否在O(m)时间内实现对最优训练成本的良好近似?
  • RQ3在分类器误差存在的情况下,PLT中预测成本与训练成本之间是否存在理论关系?
  • RQ4是否存在特殊情形(如多分类、嵌套标签),使得最优树结构可被精确且高效地计算?
  • RQ5能否建立一个依赖于训练成本和分类器误差的预测成本紧上界?

主要发现

  • 在概率标签树中最小化训练成本的问题是NP完全的,这确立了最优树结构设计的根本计算困难。
  • 对于一般多标签情况,可在O(m)时间内计算出O(log m)近似算法,为大规模标签集提供了可扩展的解决方案。
  • 对于多分类问题,可在线性时间内计算出常数因子近似解,优于以往的启发式方法。
  • 对于具有嵌套标签的多标签问题,可在线性时间内计算出精确的最优树结构,为该结构约束下提供了可解方案。
  • 推导出期望预测成本的上界,表明其受训练成本和分类器误差项的线性函数所限制。
  • 理论边界是紧致的,通过构造一个示例证明:在分类器预测完全准确时,该边界可被达到。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。