[Paper Review] Anytime Optimal Decision Tree Learning with Continuous Features
Introduces CA-ConTree, an anytime, complete algorithm for learning optimal decision trees on continuous features using limited discrepancy search to provide high-quality trees early and improve over time.
In recent years, significant progress has been made on algorithms for learning optimal decision trees, primarily in the context of binary features. Extending these methods to continuous features remains substantially more challenging due to the large number of potential splits for each feature. Recently, an elegant exact algorithm was proposed for learning optimal decision trees with continuous features; however, the rapidly increasing computational time limits its practical applicability to shallow depths (typically 3 or 4). It relies on a depth-first search optimization strategy that fully optimizes the left subtree of each split before exploring the corresponding right subtree. While effective in finding optimal solutions given sufficient time, this strategy can lead to poor anytime behavior: when interrupted early, the best-found tree is often highly unbalanced and suboptimal. In such cases, purely greedy methods such as C4.5 may, paradoxically, yield better solutions. To address this limitation, we propose an anytime, yet complete approach leveraging limited discrepancy search, distributing the computational effort more evenly across the entire tree structure, and thus ensuring that a high-quality decision tree is available at any interruption point. Experimental results show that our approach outperforms the existing one in terms of anytime performance.
Motivation & Objective
- Motivate the need for optimal decision trees (ODTs) with continuous features and the limitations of existing exact and greedy methods.
- Develop an anytime, complete algorithm that delivers good solutions early and improves over time for numeric features.
- Leverage limited discrepancy search to balance exploration across the tree and improve practical usability.
- Demonstrate that CA-ConTree outperforms prior exact methods in time-limited settings while preserving generalization.
Proposed method
- Formulate the ODT problem for continuous features and define candidate splits per feature as midpoints between consecutive unique values.
- Introduce CA-ConTree, combining limited discrepancy search (LDS) with a heuristic-based split ordering to achieve anytime completeness.
- Use feature and split discrepancy budgets to constrain exploration and prune unpromising branches.
- Incorporate a depth-two optimal subroutine (D2Split) and caching to accelerate subproblem solving and improve pruning.
- Adopt a diagonal budget-increase strategy to balance exploration over time and promote early high-quality solutions.
- Compare CA-ConTree against ConTree variants and C4.5 on multiple datasets using primal integral and test accuracy.
Experimental results
Research questions
- RQ1Can CA-ConTree provide provable optimality given sufficient time while delivering high-quality solutions early?
- RQ2Does LDS-based CA-ConTree improve the anytime performance over existing exact methods for depth 4–6 trees on continuous features?
- RQ3How does CA-ConTree generalize compared to greedy baselines (C4.5) and prior exact approaches under time constraints?
- RQ4What is the impact of feature/split discrepancy budgets and their increase strategy on search efficiency and solution quality?
Key findings
- CA-ConTree achieves the strongest anytime performance among evaluated methods, lowering the primal integral across time budgets for depths 4 and 5.
- CA-ConTree consistently outperforms ConTree variants and C4.5 in both early and later stages of the search under time limits.
- On a majority of datasets, CA-ConTree yields better or near-best test accuracy at depths 5 and 6, often surpassing greedy baselines within the same budget.
- Using a diagonal budget-increase strategy improves solution quality and robustness of the anytime behavior compared to linear or exponential schedules.
- The combination of LDS, heuristic split ordering, caching, and depth-two optimal subproblems enables faster discovery of high-quality trees while preserving optimality guarantees with more time.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.