Exploring Loss Design Techniques For Decision Tree Robustness To Label Noise

Lukasz Sztukiewicz, Jack Henry Good, Artur Dubrawski

Introduction

In the real world, data is rarely perfect. Recent studies suggest that even "clean" research datasets can have up to 10% label corruption. While the deep learning community has spent years developing robust loss functions to ignore this "noise," interpretable models like decision trees have been largely ignored.

Most existing research on tree robustness focuses on ensembles (like Random Forests or Gradient Boosting), but the fundamental building block—the individual decision tree—remains vulnerable. The authors ask a simple but vital question: Can we take the "loss design" lessons learned from neural networks and apply them to make decision trees more robust to label noise?

Ultimately, this paper proves—both theoretically and empirically—that standard deep learning approaches like loss correction and symmetric losses fail to improve decision tree robustness, suggesting that we need entirely different strategies for tree-based models.

Methods: Borrowing from Deep Learning

The researchers investigated three primary techniques commonly used in deep learning to handle noisy labels:

  1. Forward Loss Correction: This method uses a "noise transition matrix" (which describes how likely one class is to be mistaken for another) to adjust the loss function during training.
  2. Backward Loss Correction: Instead of changing the loss function, this technique essentially "corrects" the labels themselves by multiplying them by the inverse of the noise transition matrix before training.
  3. Symmetric Loss Functions: These are special loss functions (like Mean Absolute Error) that are theoretically proven to be "noise-tolerant" because they treat all classes equally, preventing the model from over-fitting to outliers.

The authors provided mathematical proofs to show how these techniques interact with the recursive splitting logic of decision trees, specifically focusing on Gini impurity and Information Gain.

Datasets and Experimental Setup

The study evaluated these methods using six benchmark datasets from the OpenML repository, covering a range of classification tasks from handwritten digits to breast cancer diagnosis.

Dataset properties

To test robustness, the researchers introduced Noise Completely At Random (NCAR), where labels were flipped to a different class with a probability ($\eta$) ranging from 0% to 40%.

Key Insights: Why Deep Learning Tricks Fail for Trees

The paper’s most significant contribution is explaining why these popular deep learning tricks fail when applied to decision trees:

  • The Invariance Trap: The authors prove that for any loss function where the optimal leaf value is the weighted mean (like MSE or Cross-Entropy), the tree's structure is invariant to forward loss correction. In other words, the math changes, but the tree ends up picking the exact same splits.
  • The "Plurality" Problem: Symmetric losses, which work wonders in neural networks, are a disaster for tree growth. The authors show that with symmetric losses, the optimal value for a leaf is always just a "plurality indicator" (the most frequent class). This often results in "zero gain" during a split—if both potential child nodes would predict the same majority class, the algorithm sees no reason to split at all, leading to stunted, under-performing trees.
  • Ensembles Aren't a Silver Bullet: Even when using Random Forests or ExtraTrees, the lack of improvement at the individual tree level meant the overall ensemble didn't gain much robustness from these loss-correction techniques.

Key Results

The empirical results, measured by the weighted F1 score, confirmed the theoretical "bad news."

Performance of different models across noise ratios
  • No Significant Gain: Across all datasets and noise levels up to 40%, there was a consistent lack of evidence that forward or backward loss correction improved performance over a standard, uncorrected decision tree.
  • Consistent Decay: As noise increased, the performance of all models (corrected and uncorrected) dropped at roughly the same rate.
  • Confirmation of Theory: The experimental curves for "No Correction" and "Forward Correction" were often nearly identical, validating the proof that the tree structure remains unchanged by the correction.

Limitations and Future Work

The primary limitation is that this study focused strictly on loss design. It did not explore other avenues of robustness, such as:

  • Robust Splitting Criteria: Developing entirely new impurity measures specifically designed for noise.
  • Pruning Strategies: Investigating if different post-processing or pruning techniques could better handle label errors.
  • Noise Estimation: The study assumed the noise transition matrix was known; in real-world scenarios, estimating this matrix is a challenge in itself.

The authors conclude that because decision trees rely on discrete, recursive partitioning rather than continuous gradient descent, they require a bespoke "robustness toolkit" rather than hand-me-downs from the deep learning world.

Summary updated

BibTeX
@inproceedings{sztukiewicz2024exploring,
  author = {Lukasz Sztukiewicz and Jack Henry Good and Artur Dubrawski},
  title = {{Exploring Loss Design Techniques For Decision Tree Robustness To Label Noise}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=B8H7pqlj3N},
}
Figure