Abstract
Generalization is a central problem in Machine Learning. Indeed most prediction methods require careful calibration of hyperparameters usually carried out on a hold-out \textit{validation} dataset to achieve generalization. The main goal of this paper is to introduce a novel approach to achieve generalization without any data splitting, which is based on a new risk measure which directly quantifies a model's tendency to overfit. To fully understand the intuition and advantages of this new approach, we illustrate it in the simple linear regression model ($Y=X\beta+\xi$) where we develop a new criterion. We highlight how this criterion is a good proxy for the true generalization risk. Next, we derive different procedures which tackle several structures simultaneously (correlation, sparsity,...). Noticeably, these procedures \textbf{concomitantly} train the model and calibrate the hyperparameters. In addition, these procedures can be implemented via classical gradient descent methods when the criterion is differentiable w.r.t. the hyperparameters. Our numerical experiments reveal that our procedures are computationally feasible and compare favorably to the popular approach (Ridge, LASSO and Elastic-Net combined with grid-search cross-validation) in term of generalization. They also outperform the baseline on two additional tasks: estimation and support recovery of $\beta$. Moreover, our procedures do not require any expertise for the calibration of the initial parameters which remain the same for all the datasets we experimented on.
Introduction
In standard machine learning, the primary objective is generalization—the ability of a model to perform well on unseen data. Achieving this typically involves regularization techniques, such as Lasso or Ridge regression, to prevent overfitting. However, these methods introduce hyperparameters (e.g., $\lambda$) that require precise tuning. The industry standard for tuning is data splitting, where a portion of the dataset is reserved for validation. This approach is often data-inefficient, particularly in small-sample regimes, and computationally expensive due to methods like grid search or nested cross-validation.
This paper proposes a shift in perspective: instead of defining generalization as performance on new data, we define it as the ability to avoid finding patterns where none exist. We introduce the Label Muddling (MLR) criterion, which allows for simultaneous training and hyperparameter calibration without the need for a hold-out set.
Methodology
The core innovation is the MLR criterion, which consists of two antagonistic terms: the standard empirical risk (Fit Term) and the average fit on "muddled" data (Muddling Term). The muddled data uses the same input features $X$ but with randomly permuted labels $Y$.
$$MLR = (\text{Fit on real labels}) - (\text{Average fit on permuted labels})$$
A model that overfits will "successfully" find spurious patterns in the permuted labels. By subtracting this term, the MLR criterion penalizes excessive model flexibility, acting as a proxy for the true generalization risk.
We introduce several procedures based on this framework:
- R-MLR: Designed for correlated designs, analogous to Ridge regression.
- S-MLR: Designed for sparse models, utilizing a differentiable "quasi-sparsifying" sigmoid trick to enable gradient-based optimization.
- A-MLR: An aggregated version that handles both correlation and sparsity simultaneously.
Experimental Setup
The proposed methods were evaluated using synthetic data across three scenarios: Scenario A (correlated features), Scenario B (sparse settings), and Scenario C (a combination). These scenarios allow for direct comparison against an "oracle" model. Additionally, real-world datasets from the UCI Repository and high-dimensional data from Svmlib (news20) were used to test scalability and robustness.
Results and Discussion
Our numerical experiments demonstrate that the MLR criterion is a robust proxy for generalization. In scenarios with highly correlated features, MLR consistently outperformed standard Cross-Validation (CV) in terms of $R^2$ scores.
Key findings include:
- Superior Generalization: MLR-based procedures often achieve higher $R^2$ scores than CV, particularly in challenging data regimes where features are highly correlated.
- Support Recovery: S-MLR showed significant improvements in identifying true features in sparse datasets compared to LASSO with CV.
- Efficiency and Stability: The procedures scale linearly with the number of observations and features. Furthermore, the number of permutations $T$ required for stability is relatively small (typically 10-30), and initial parameters for gradient descent remained constant across diverse datasets, suggesting a "plug-and-play" capability.
Conclusion
The Label Muddling approach offers a promising alternative to traditional data-splitting methods for regularization. By estimating overfitting directly from randomized versions of the training data, it maximizes data efficiency and simplifies the hyperparameter tuning process. While this work focuses on linear regression, the methodology is potentially extensible to deep learning and classification tasks. Future research will explore high-dimensional regimes ($p \gg n$) and further refine automated parameter tuning.
Summary updated