Abstract
Deep learning ensembles are widely used to improve predictive accuracy and uncertainty quantification. However, for semi-structured models designed for interpretability, standard ensembling techniques—such as averaging probability distributions—often destroy the very structural properties that make the models transparent. This paper introduces transformation ensembles, a method for pooling predictions from Deep Transformation Models (DTMs) on the scale of their latent transformation functions. This approach preserves the interpretability of the ensemble members while achieving performance parity with state-of-the-art black-box ensembles.
Introduction
In high-stakes domains like healthcare, the "black-box" nature of deep learning is a significant barrier to adoption. Practitioners require models that are not only accurate but also provide a clear rationale for their predictions. Deep Transformation Models (DTMs) address this by combining neural networks with structured statistical frameworks, such as proportional odds or additive models. While ensembling multiple DTMs can reduce overfitting and improve robustness, standard aggregation methods (e.g., arithmetic mean of probabilities) result in a mixture that no longer adheres to the original model's structural constraints. For instance, an average of several proportional odds models is generally not a proportional odds model itself.
Methodology: Transformation Ensembling
The core innovation of this work is Transformation Ensembling. Instead of averaging the final cumulative distribution functions (CDFs), the ensemble pools predictions on the scale of the transformation functions ($h$).
A single DTM is defined by the relationship $F_Y(y|x) = F_Z(h(y|x))$, where $F_Z$ is a fixed reference distribution (e.g., standard normal or logistic) and $h$ is a monotonically increasing transformation function learned by a neural network.
The transformation ensemble is defined as: $$F_M^t(y|x) = F_Z\left(\sum_{m=1}^M w_m F_Z^{-1}(F_m(y|x))\right)$$ where $w_m$ are weights for each ensemble member. This "quasi-arithmetic pooling" ensures that if each member $F_m$ belongs to a specific model class (e.g., linear shift models), the resulting ensemble $F_M^t$ remains within that same class. This preservation of structure allows for the direct interpretation of pooled parameters, such as treatment effects or feature importance.
Experimental Evaluation
The method was evaluated across three distinct tasks to demonstrate its versatility:
- Melanoma (Binary): Predicting malignancy from skin lesion images and patient metadata. This task highlighted the method's ability to handle highly imbalanced data (1.77% malignancy rate).
- UTKFace (Ordinal): Categorizing age from facial images, testing the ensemble's performance on ordered discrete outcomes.
- MNIST (Nominal): Handwritten digit classification, showing that the approach can be extended to unordered outcomes by imposing an arbitrary order.
Key Insights and Results
- Performance and Calibration: Transformation ensembles (TRF-Ens) consistently performed on par with traditional linear and log-linear ensembles in terms of Negative Log-Likelihood (NLL), Brier Score, and Accuracy. Furthermore, ensembling significantly improved calibration compared to individual models.
- Structural Interpretability: In the Melanoma task, the transformation ensemble provided stable estimates for the log-odds of malignancy relative to age. Because the ensemble structure is preserved, researchers could derive confidence intervals for these effects directly from the ensemble's internal variance, offering a clear view of epistemic uncertainty.
- Theoretical Optimality: For binary outcomes, the authors proved that their pooling method is "minimax optimal," meaning it minimizes the maximum possible prediction error compared to simple probability averaging.
Conclusion
Transformation ensembling bridges the gap between the high performance of deep ensembles and the transparency of statistical modeling. By operating on the latent transformation scale, the method provides a "best of both worlds" solution: the robustness and accuracy of an ensemble without the loss of structural interpretability. Future work will explore the method's robustness to out-of-distribution data and extend the theoretical proofs of optimality to continuous and ordered outcome spaces.
Summary updated