[论文解读] MurTree: Optimal Classification Trees via Dynamic Programming and Search
MurTree 是一种新颖的算法,结合动态规划与搜索,可构建全局最优决策树,且在准确率和规模上具有可证明的最优性。该算法相较当前最先进方法实现了数量级的加速,使在包含数万个样本的数据集上实现实际部署成为可能,同时支持对树深度和节点数的约束。
Decision tree learning is a widely used approach in machine learning, favoured in applications that require concise and interpretable models. Heuristic methods are traditionally used to quickly produce models with reasonably high accuracy. A commonly criticised point, however, is that the resulting trees may not necessarily be the best representation of the data in terms of accuracy and size. In recent years, this motivated the development of optimal classification tree algorithms that globally optimise the decision tree in contrast to heuristic methods that perform a sequence of locally optimal decisions. We follow this line of work and provide a novel algorithm for learning optimal classification trees based on dynamic programming and search. Our algorithm supports constraints on the depth of the tree and number of nodes. The success of our approach is attributed to a series of specialised techniques that exploit properties unique to classification trees. Whereas algorithms for optimal classification trees have traditionally been plagued by high runtimes and limited scalability, we show in a detailed experimental study that our approach uses only a fraction of the time required by the state-of-the-art and can handle datasets with tens of thousands of instances, providing several orders of magnitude improvements and notably contributing towards the practical realisation of optimal decision trees.
研究动机与目标
- 开发一种实用且可扩展的算法,用于学习全局最优决策树,其在准确率与可解释性方面优于启发式方法。
- 解决最优决策树学习中长期存在的运行时间高与可扩展性差的挑战。
- 支持用户自定义的树深度与节点数约束,实现模型复杂度的定制化控制。
- 为启发式方法提供数学上严谨的替代方案,精确优化指定的目标函数。
- 使最优决策树能够在对高准确率、可解释性与公平性有要求的实际应用中得以使用。
提出的方法
- 该算法结合动态规划与分支限界搜索,高效探索可能的决策树空间。
- 利用分类树独有的结构特性,如分裂的层次性与类别分布的可分性。
- 采用新型数据结构与剪枝技术,紧凑地表示并更新搜索过程中的部分树。
- 支持对最大深度与节点数的约束,使用户能够控制模型复杂度。
- 采用自底向上的动态规划方法,预先计算所有可能特征与类别子集的最优子树。
- 搜索阶段利用预计算结果指导完整最优树的构建,避免冗余计算。
实验结果
研究问题
- RQ1能否高效构建最优决策树,使其足以应用于包含数万个样本的真实世界数据集?
- RQ2在测试准确率与模型规模方面,最优树相较于 CART 等启发式方法表现如何?
- RQ3对深度与节点数的约束在多大程度上影响最优树学习的准确率与可扩展性?
- RQ4能否有效结合动态规划与搜索技术,显著提升现有最优树算法的运行速度?
- RQ5在泛化能力方面,最优树相较于随机森林等更复杂模型的表现如何?
主要发现
- MurTree 相较于当前最先进最优决策树算法,实现了多个数量级的加速,将大多数数据集上的运行时间从数小时缩短至数秒或数分钟。
- 在 84 个基准数据集上,MurTree 生成的最优树在样本外准确率上优于 CART,尤其在深度与节点数受限时表现更优。
- 在一半的数据集中,最优树的泛化性能达到或超过随机森林,展现出强大的泛化能力。
- 该算法可成功扩展至包含 1800 余个样本的数据集,即使数据集规模增长,运行时间也仅适度增加。
- 动态规划与搜索技术的结合实现了精确最优性,同时保持了实用的运行时间,使最优树适用于离线应用场景。
- 基于数据集特性的缓存技术进一步提升了性能,该建议来自审稿人反馈。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。