Dealing with Uncertain Inputs in Regression Trees

Myriam Tami, Marianne Clausel, Emilie Devijver, Adrien Dulac, Éric Gaussier, Stefan Janaqi, Mériam ChèbrearXiv 2018

Abstract

Standard regression tree models typically assume input data is precise. However, real-world measurements often contain noise or uncertainty. This paper introduces "Uncertain Trees," a novel framework that treats inputs as probability distributions. By allowing observations to belong to multiple leaves simultaneously through probabilistic assignment, this approach significantly improves prediction accuracy and model stability compared to traditional CART and Random Forest models.

Introduction

In machine learning benchmarks, data is often treated as perfectly precise. In practice, however, data frequently originates from sensors with limited precision, human error, or stochastic processes. Most tree-based models, such as Random Forests or Gradient Boosted Trees, are inherently brittle when faced with such uncertainty. Because regression trees partition the input space into hard, rectangular regions, even minor noise can push an observation across a decision boundary into a different leaf, leading to unstable predictions. While previous research has addressed uncertainty in model outputs, this work focuses on the less explored challenge of uncertainty in input variables.

Methodology

The authors propose a fundamental shift in tree-based prediction by introducing a latent variable $U$ representing the "true" but unknown value of the data.

Probabilistic Assignment

The relationship between the observed value $X$ and the true value $U$ is modeled as a Gaussian distribution. Consequently, an observation no longer resides in a single leaf; instead, it has a non-zero probability of belonging to every leaf in the tree.

Prediction and Learning

The final prediction is calculated as a weighted average of the values ($\gamma_k$) at every leaf, where weights correspond to the probabilities that the true value $U$ falls into each leaf's region. Constructing these trees requires optimizing leaf weights by inverting a $K \times K$ matrix (where $K$ is the number of leaves), ensuring global error minimization while accounting for observation "fuzziness." This logic is further extended to "Uncertain Random Forests" through ensemble aggregation.

Experimental Results

The approach was evaluated on four regression benchmarks: BigMac (economic data), Ozone (environmental data), Diabete (health data), and Abalone (biological data).

Performance on Standard Benchmarks

Even on standard, unmodified datasets, Uncertain Trees demonstrated superior performance over traditional methods. For instance, on the BigMac dataset, the Uncertain Tree achieved an RMSE of 18.74, significantly lower than the 25.09 recorded for a standard tree and the 19.78 for a standard Random Forest.

Table 1: Performance comparison (RMSE and standard deviation) on standard datasets.

Robustness to Noisy Data

To test robustness, the researchers created "Artificial Uncertain" versions of the datasets by adding controlled noise. The performance gap between the proposed method and standard models widened under these conditions. On the noisy Abalone dataset, the Uncertain Random Forest (RMSE 1.98) substantially outperformed the standard Random Forest (RMSE 2.64). Notably, an Uncertain Random Forest with only 15 trees often surpassed a standard Random Forest using 500 trees on noisy data.

Table 2: Performance comparison on datasets with artificially added noise.

Discussion and Future Work

The "soft boundaries" introduced by Uncertain Trees effectively smooth the step-function nature of decision trees, leading to more reliable and stable models. This is evidenced by lower standard deviations in error rates across cross-validation folds.

While the computational cost is higher due to matrix inversion requirements, the accuracy gains are substantial. Future work aims to adapt this framework for categorical data and explore methods for learning the uncertainty parameter ($\sigma_U$) automatically via validation. Additionally, combining input-uncertainty modeling with quantile regression could provide a comprehensive solution for handling uncertainty in both inputs and outputs.

Summary updated

BibTeX
@misc{tami2018dealing,
  author = {Myriam Tami and Marianne Clausel and Emilie Devijver and Adrien Dulac and Éric Gaussier and Stefan Janaqi and Mériam Chèbre},
  title = {{Dealing with Uncertain Inputs in Regression Trees}},
  year = {2018},
  eprint = {1810.11698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.11698},
}
Figure