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

最优决策树剪枝再探讨:算法与复杂度

Optimal Decision Tree Pruning Revisited: Algorithms and Complexity

Department of Computer Science(计算机科学系);University of Helsinki(赫尔辛基大学)

Juha Harviainen, Frank Sommer, Manuel Sorge, Stefan Szeider

AI总结:

本文全面分析了决策树剪枝操作的经典与参数化复杂度,发现子树替换的最优剪枝可在多项式时间内完成,而子树提升为NP完全问题,并确定了固定参数可解性与难解性的精确边界。

摘要:

我们对决策树剪枝操作进行了全面的经典复杂度与参数化复杂度分析,扩展了近期关于学习小决策树复杂度的研究。从而,我们为决策树简化的计算挑战提供了新见解,这是开发可解释且高效的机器学习模型的关键方面。我们关注启发式方法中使用的子树替换和子树提升等基本剪枝操作。令人惊讶的是,虽然子树替换的最优剪枝可以在多项式时间内完成,但子树提升的该问题是NP完全的。因此,我们识别了导致固定参数可解性或难解性的参数及其组合,在这些复杂度类之间确立了精确的边界。例如,尽管子树提升对于较小的域大小$D$或特征数量$d$是困难的,但它可以在$D^{2d} \cdot |I|^{O(1)}$时间内求解,其中$|I|$是输入大小。我们用初步的实验结果补充了理论发现,展示了我们分析的实际意义。

英文摘要:

We present a comprehensive classical and parameterized complexity analysis of decision tree pruning operations, extending recent research on the complexity of learning small decision trees. Thereby, we offer new insights into the computational challenges of decision tree simplification, a crucial aspect of developing interpretable and efficient machine learning models. We focus on fundamental pruning operations of subtree replacement and raising, which are used in heuristics. Surprisingly, while optimal pruning can be performed in polynomial time for subtree replacement, the problem is NP-complete for subtree raising. Therefore, we identify parameters and combinations thereof that lead to fixed-parameter tractability or hardness, establishing a precise borderline between these complexity classes. For example, while subtree raising is hard for small domain size $D$ or number $d$ of features, it can be solved in $D^{2d} \cdot |I|^{O(1)}$ time, where $|I|$ is the input size. We complement our theoretical findings with preliminary experimental results, demonstrating the practical implications of our analysis.

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

↑