Fast decision tree learning solves hard coding-theoretic problems

Caleb Koch, Carmen Strassle, Li-Yang Tan · DOI

Introduction: A Decades-Old Stagnation

In the realm of machine learning, decision trees (DTs) remain a cornerstone of interpretable AI. Despite their ubiquity in practical applications—powering algorithms like XGBoost and Random Forests—a fundamental theoretical gap has persisted for over thirty years. Since 1989, the fastest known algorithm for properly learning decision trees, developed by Ehrenfeucht and Haussler, has required quasipolynomial time. This research establishes a surprising bridge between this stagnation in learning theory and a notoriously difficult problem in coding theory: the Nearest Codeword Problem ($k$-NCP).

The Core Challenge: DT-LEARN and $k$-NCP

The authors address two seemingly disparate problems. First is Properly PAC Learning Decision Trees (DT-LEARN), the task of finding a small, interpretable tree that fits a dataset. Despite the massive growth of the field, no truly efficient (polynomial-time) algorithm has been found. Second is the Parameterized Nearest Codeword Problem ($k$-NCP), which involves identifying a codeword in a linear code closest to a noisy message. This problem is known to be $W[1]$-hard, suggesting it is computationally intractable as parameters scale.

Bridging Learning and Coding Theory

The central insight of this work is that the lack of progress in decision tree learning is not due to a lack of effort, but rather an inherent computational hardness linked to coding theory. By developing a sophisticated mathematical reduction, the authors show that any significant improvement to the classic 1989 DT-learning algorithm would directly lead to a breakthrough in solving $k$-NCP.

Mapping the complexity of decision tree learning to the approximation complexity of the Nearest Codeword Problem.

This connection suggests that finding even a slightly accurate decision tree is likely intractable. It transforms the "stagnation" of the field into a formal complexity-theoretic statement: if we could learn decision trees quickly, we could solve problems that the coding theory community has long considered "hard."

Technical Innovations: Reductions and Gadgets

To build this bridge, the authors utilized several key technical components:

  • Dual Formulation: They translated the coding problem into "syndrome decoding," aligning it with the structure of learning parities.
  • Gap Amplification: A "boosting lemma" was employed to magnify small differences in codeword distance into significant differences in learnability.
  • Fourier Analysis: By examining the Fourier spectrum of Boolean functions, the authors proved that functions hard to approximate with low-degree polynomials are similarly hard for small decision trees.
  • The Parity Gadget: To ensure the reduction holds for any data distribution, they introduced a "parity substitution" technique. This gadget forces arbitrary distributions to behave like uniform ones, allowing their Fourier-analytic proofs to remain valid in general settings.

Key Results and Hardness Bounds

The primary result, Theorem 1, proves that an improved DT-LEARN algorithm would yield an $O(\log n)$-approximation for $k$-NCP—an exponential improvement over the current state-of-the-art $O(n / \log n)$ ratio. Furthermore, under the standard assumption that $W[1] \neq FPT$, the authors demonstrate that no polynomial-time algorithm exists for properly learning decision trees, even in the "weak learning" setting where the goal is simply to perform slightly better than random guessing.

Comparison of runtime lower bounds and hardness assumptions between this work and prior literature.

As shown in the table above, the work provides stronger lower bounds than previous literature, ruling out "sub-quasipolynomial" time algorithms under the Exponential Time Hypothesis (ETH).

Conclusion and Future Directions

This research provides a theoretical counterpoint to the popularity of decision trees, suggesting that the quest for the simplest interpretable model is fundamentally "hard." While it settles long-standing questions about worst-case distributions, several avenues remain open. Future work may explore whether these hardness results hold for uniform distributions—potentially linking DT learning to the "Learning Parities with Noise" (LPN) problem—or if "active" learners who can query specific data points might bypass these limitations.

Summary updated

BibTeX
@inproceedings{koch2024fast,
  author = {Caleb Koch and Carmen Strassle and Li-Yang Tan},
  title = {{Fast decision tree learning solves hard coding-theoretic problems}},
  booktitle = {FOCS},
  year = {2024},
  doi = {10.1109/focs61266.2024.00114},
}
Figure