Abstract
Deep Learning (DL) is considered the state-of-the-art in computer vision, speech recognition, and natural language processing. Until recently, it was also widely accepted that DL is irrelevant for learning tasks on tabular data, especially in the small sample regime where ensemble methods are acknowledged as the gold standard. We present a new end-to-end differentiable method to train a standard Feed-Forward Neural Network (FFNN). Our method, Muddling labels for Regularization (MLR), penalizes memorization through the generation of uninformative labels and the application of a differentiable closed-form regularization scheme on the last hidden layer during training. MLR outperforms classical neural networks and the gold standard (GBDT, RF) for regression and classification tasks on several datasets from the UCI database and Kaggle covering a large range of sample sizes and feature-to-sample ratios.
Introduction
While Deep Learning (DL) dominates fields with high spatial or sequential structure, such as computer vision and natural language processing, it has historically struggled with tabular datasets. In domains like medicine or material science, where datasets are often small ($n < 1000$), tree-based ensemble methods—such as Random Forests (RF) and Gradient Boosting Decision Trees (GBDT)—remain the undisputed champions.
The primary challenge is that standard Feed-Forward Neural Networks (FFNNs) are highly prone to memorization. Without the inherent inductive biases present in CNNs or Transformers, DL models often overfit by learning the specific noise of a small tabular dataset rather than its underlying patterns. To achieve competitive results, practitioners often resort to exhaustive hyperparameter tuning. MLR seeks to provide an "off-the-shelf" DL solution that can compete with tree-based models without the tuning overhead.
The MLR Framework
The authors propose MLR-FFNN, which replaces the standard output layer of a neural network with a sophisticated, end-to-end differentiable regularization scheme. The method relies on three essential technical components:
1. Closed-Form Ridge Regularization
Instead of learning the final weights through standard gradient descent, the model calculates them using a closed-form Ridge regression based on the activations of the last hidden layer. This provides a much stronger regularization effect than simple weight decay, ensuring that the final mapping from features to targets is mathematically stable.
2. Label "Muddling" (Random Permutations)
During training, the loss function incorporates "muddled" versions of the labels, where the targets have been randomly permuted. By comparing the model's performance on real labels versus these uninformative permuted labels, the loss function explicitly penalizes the model if it begins to fit the random associations in the permuted set. This serves as a direct check against memorization.
3. Structured Dithering
The authors apply a specific type of noise to the targets that adapts to the spectral structure of the hidden layer's projection matrix. This "muddles" the target by introducing higher variance noise along the directions where the model is least certain, further discouraging the network from fitting weak or noisy patterns.
Crucially, the entire process is differentiable. The earlier layers of the network learn via backpropagation, but their learning is guided by this rigorous final-layer constraint.
Experimental Setup
The MLR method was evaluated against a benchmark of 32 tabular datasets (16 for regression and 16 for classification) sourced from the UCI repository and Kaggle. These datasets cover a wide range of sample sizes (from $n=72$ to $n=65,532$) and varying feature-to-sample ratios.
- Regression Benchmarks: Included datasets such as Concrete Slump, Yacht Hydrodynamics, QSAR aquatic toxicity, and Seoul Bike Sharing Demand.
- Classification Benchmarks: Included Adult, Mushroom, Ionosphere, and Breast Cancer Coimbra.
Key Insights and Results
Breaking the Tabular Deadlock
The paper suggests that the reason DL fails on tabular data is not a lack of expressive power, but a lack of structural constraints. By forcing the last layer to be a Ridge solution, MLR imposes a mathematical structure that mimics the stability of tree-based methods. Furthermore, while computer vision relies on feature augmentation (flipping/rotating images), MLR introduces label augmentation. By creating a control set of labels that should be impossible to fit, the authors create a quantitative measure of overfitting that the model can minimize during training.
Performance Metrics
- Regression: The ensemble version of the model (Ens-MLR) outperformed all other methods, including GBDT and Random Forests. It achieved a Friedman Rank of 2.525, compared to 2.719 for GBDT.
- Classification: MLR proved to be a strong contender, ranking second to GBDT. While GBDT remains the leader in accuracy (Rank 1.769), MLR (Rank 2.913) significantly outperformed standard neural networks and remained competitive with Random Forests.
- Robustness: Ablation studies demonstrated that while standard wide FFNNs often yield negative $R^2$ scores on small datasets due to instant memorization, the MLR components allow the same architecture to achieve high competitive performance.
Conclusion and Future Work
MLR offers a robust alternative to tree-based models for tabular data. However, some challenges remain. The method requires a matrix inversion of the last hidden layer's activations, which is $O(n^3)$ on a CPU. While modern GPUs handle this efficiently for standard batch sizes, scaling to datasets with millions of rows may require further optimization.
Future research may focus on refining the Binary Cross-Entropy (BCE) version of the MLR loss to close the performance gap in classification tasks. Additionally, the authors suggest that this label-muddling approach could be extended to Convolutional Neural Networks (CNNs) to improve robustness in low-sample image classification tasks.
Summary updated