Abstract
Regression-via-Classification (RvC) is the process of converting a regression problem to a classification one. Current approaches for RvC use ad-hoc discretization strategies and are suboptimal. We propose a neural regression tree model for RvC. In this model, we employ a joint optimization framework where we learn optimal discretization thresholds while simultaneously optimizing the features for each node in the tree. We empirically show the validity of our model by testing it on two challenging regression tasks where we establish the state of the art.
Introduction
Regression—predicting a continuous value like age or price—is a fundamental machine learning task. However, standard linear or non-linear models often struggle when the relationship between features and the target variable changes across different "regimes" of the data. One common workaround is Regression-via-Classification (RvC), where the continuous target is discretized into categorical bins.
Traditional RvC methods typically rely on "ad-hoc" discretization, such as equal-width bins. These bins might be mathematically convenient but are often difficult for a classifier to distinguish or too coarse to provide a meaningful regression estimate. This paper introduces Neural Regression Trees (NRT) to bridge this gap by learning optimal partitions of the data while simultaneously training node-specific classifiers.
Methods
The Neural Regression Tree (NRT) is a hierarchical binary tree where every node acts as a decision point. Unlike standard decision trees that use simple heuristics like Gini impurity, NRTs utilize a joint optimization framework.
Architecture and Optimization
Each node in the tree contains a neural network classifier ($h_\theta$) and a learned threshold ($t$). When a data point arrives at a node, the classifier determines if the target value $y$ is likely above or below the threshold $t$. The model learns these discretization thresholds while fine-tuning the neural network's features for each specific split. To prevent the model from producing unbalanced trees (e.g., putting all data into one bin), an entropy-based triviality penalty is included in the objective function.
Soft Inference
During prediction, the model does not follow a single hard path to a leaf. Instead, it calculates the probability of the input belonging to each leaf and produces a final estimate by taking a weighted average of the mean values associated with those leaves. This "soft inference" approach allows for smoother regression estimates.
Experimental Results
The model was evaluated on two challenging speaker profiling tasks: age estimation using the Fisher English Corpus and height estimation using the NIST-SRE8 dataset. In both cases, i-vectors were used as input features.
Performance Metrics
NRT established a new state-of-the-art for these tasks, significantly outperforming standard baselines such as Support Vector Regression (SVR), Multilayer Perceptrons (MLP), and traditional Classification and Regression Trees (CART).
- Age Estimation: NRT achieved a Mean Absolute Error (MAE) of 7.20 years for males and 6.81 years for females, compared to 9.06 and 8.21 for a standard MLP.
- Height Estimation: NRT achieved an MAE of 5.43 cm for males and 4.27 cm for females, outperforming both SVR and MLP baselines.
Statistical analysis via pairwise t-tests confirmed these improvements were highly significant ($p < 2.2 \times 10^{-16}$).
Discussion and Conclusion
The primary innovation of NRT is the move from fixed to data-driven bins. By making thresholds learnable parameters, the model finds partitions that are naturally easier for neural networks to classify. Furthermore, the hierarchical structure allows the model to learn local features specific to certain data ranges—for instance, distinguishing vocal characteristics in youth versus middle age.
While NRT excels at tasks benefiting from partitioning, current limitations include a greedy tree-growth strategy and a potential mismatch between the classification-based node objective and the final regression error. Future work will explore global tree optimization and direct minimization of regression loss within the tree structure.
Summary updated